From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/cloudfw/2017-12-07/api-docs.php | 80012 ++++++++++++--------------- 1 file changed, 34593 insertions(+), 45419 deletions(-) (limited to 'data/en_us/cloudfw') diff --git a/data/en_us/cloudfw/2017-12-07/api-docs.php b/data/en_us/cloudfw/2017-12-07/api-docs.php index b868b20..104105a 100644 --- a/data/en_us/cloudfw/2017-12-07/api-docs.php +++ b/data/en_us/cloudfw/2017-12-07/api-docs.php @@ -1,15 +1,8 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Cloudfw', - 'version' => '2017-12-07', - ], + 'info' => ['style' => 'RPC', 'product' => 'Cloudfw', 'version' => '2017-12-07'], 'directories' => [ [ - 'id' => 362724, - 'title' => 'Overview', - 'type' => 'directory', 'children' => [ 'DescribeUserBuyVersion', 'DescribeSlrGrant', @@ -26,81 +19,35 @@ 'DescribeVpcFirewallDropTrafficTrend', 'DescribeOutgoingRiskDomainAndIpCount', [ - 'id' => 362739, - 'title' => 'Traffic Trend', + 'children' => ['DescribeNatFirewallDropTrafficTrend', 'DescribeInternetDropTrafficTrend', 'DescribeInvadeEcsTrend'], 'type' => 'directory', - 'children' => [ - 'DescribeNatFirewallDropTrafficTrend', - 'DescribeInternetDropTrafficTrend', - 'DescribeInvadeEcsTrend', - ], + 'title' => 'Traffic trend', ], [ - 'id' => 362743, - 'title' => 'Pay by volume', + 'children' => ['DescribePostpayEnabledProtection', 'DescribePostpayTrafficTotal', 'DescribePostpayTrafficDetail', 'DescribePostpayUserInternetStatus', 'DescribePostpayUserNatStatus', 'DescribePostpayUserVpcStatus', 'UpdatePostpayUserInternetStatus', 'UpdatePostpayUserNatStatus', 'UpdatePostpayUserVpcStatus'], 'type' => 'directory', - 'children' => [ - 'DescribePostpayEnabledProtection', - 'DescribePostpayTrafficTotal', - 'DescribePostpayTrafficDetail', - 'DescribePostpayUserInternetStatus', - 'DescribePostpayUserNatStatus', - 'DescribePostpayUserVpcStatus', - 'UpdatePostpayUserInternetStatus', - 'UpdatePostpayUserNatStatus', - 'UpdatePostpayUserVpcStatus', - ], + 'title' => 'Pay-as-you-go', ], ], + 'type' => 'directory', + 'title' => 'Overview', ], [ - 'id' => 362753, - 'title' => 'Firewall switch', - 'type' => 'directory', 'children' => [ 'DescribeRegionInfo', 'DescribeCtrlInstanceMemberAccounts', 'DescribeFirewallTask', [ - 'id' => 362757, - 'title' => 'Internet Border Firewall', + 'children' => ['DescribeResourceTypeAutoEnable', 'DescribeAssetStatistic', 'DescribeAssetRiskList', 'CreateInstanceSyncTask', 'ModifyResourceTypeAutoEnable', 'PutEnableFwSwitch', 'PutEnableAllFwSwitch', 'PutDisableFwSwitch', 'PutDisableAllFwSwitch'], 'type' => 'directory', - 'children' => [ - 'DescribeResourceTypeAutoEnable', - 'DescribeAssetList', - 'DescribeAssetStatistic', - 'DescribeAssetRiskList', - 'CreateInstanceSyncTask', - 'ModifyResourceTypeAutoEnable', - 'PutEnableFwSwitch', - 'PutEnableAllFwSwitch', - 'PutDisableFwSwitch', - 'PutDisableAllFwSwitch', - ], + 'title' => 'Internet firewall', ], [ - 'id' => 362768, - 'title' => 'NAT Border Firewall', - 'type' => 'directory', - 'children' => [ - 'DescribeNatFirewallQuota', - 'DescribeNatFirewallList', - 'DescribeFirewallVSwitch', - 'DescribeNatFirewallPrecheckDetail', - 'DescribeFirewallVswitchResources', - 'DescribeSecurityProxyResources', - 'CreateNatFirewallSyncTask', - 'CreateNatFirewallPreCheck', - 'CreateSecurityProxy', - 'SwitchSecurityProxy', - 'UpdateSecurityProxy', - 'DeleteSecurityProxy', - ], - ], - [ - 'id' => 362781, - 'title' => 'VPC perimeter firewall', + 'children' => ['DescribeNatFirewallQuota', 'DescribeNatFirewallList', 'DescribeFirewallVSwitch', 'DescribeNatFirewallPrecheckDetail', 'DescribeFirewallVswitchResources', 'DescribeSecurityProxyResources', 'CreateNatFirewallSyncTask', 'CreateNatFirewallPreCheck', 'CreateSecurityProxy', 'SwitchSecurityProxy', 'UpdateSecurityProxy', 'DeleteSecurityProxy'], 'type' => 'directory', + 'title' => 'NAT firewall', + ], + [ 'children' => [ 'DescribeVpcFirewallSummaryInfo', 'DescribeVpcFirewallAccessDetail', @@ -108,78 +55,36 @@ 'CreateVpcFirewallPrecheck', 'CreateVpcFirewallTask', [ - 'id' => 362787, - 'title' => 'Cloud Enterprise Network (Enterprise Edition)', + 'children' => ['DescribeTrFirewallsV2List', 'DescribeTrFirewallsV2Detail', 'DescribeTrFirewallsV2RouteList', 'DescribeTrFirewallV2RoutePolicyList', 'DescribeTrFirewallPolicyBackUpAssociationList', 'DescribeTransitRouterResourcesList', 'CreateTrFirewallV2', 'CreateTrFirewallV2RoutePolicy', 'ModifyTrFirewallV2Configuration', 'ModifyFirewallV2RoutePolicySwitch', 'ModifyTrFirewallV2RoutePolicyScope', 'DeleteTrFirewallV2', 'DeleteFirewallV2RoutePolicies'], 'type' => 'directory', - 'children' => [ - 'DescribeTrFirewallsV2List', - 'DescribeTrFirewallsV2Detail', - 'DescribeTrFirewallsV2RouteList', - 'DescribeTrFirewallV2RoutePolicyList', - 'DescribeTrFirewallPolicyBackUpAssociationList', - 'DescribeTransitRouterResourcesList', - 'CreateTrFirewallV2', - 'CreateTrFirewallV2RoutePolicy', - 'ModifyTrFirewallV2Configuration', - 'ModifyFirewallV2RoutePolicySwitch', - 'ModifyTrFirewallV2RoutePolicyScope', - 'DeleteTrFirewallV2', - 'DeleteFirewallV2RoutePolicies', - ], + 'title' => 'Cloud enterprise network (Enterprise edition)', ], [ - 'id' => 362801, - 'title' => 'Cloud Enterprise Network (Basic Edition)', + 'children' => ['DescribeVpcFirewallCenSummaryList', 'DescribeVpcFirewallCenList', 'DescribeVpcFirewallCenDetail', 'DescribeNetworkInstanceList', 'DescribeVpcZone', 'DescribeVpcFirewallZone', 'DescribeVpcFirewallManualVSwitchList', 'CreateVpcFirewallCenConfigure', 'ModifyVpcFirewallCenConfigure', 'ModifyVpcFirewallCenSwitchStatus', 'DeleteVpcFirewallCenConfigure'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallCenSummaryList', - 'DescribeVpcFirewallCenList', - 'DescribeVpcFirewallCenDetail', - 'DescribeNetworkInstanceList', - 'DescribeVpcZone', - 'DescribeVpcFirewallZone', - 'DescribeVpcFirewallManualVSwitchList', - 'CreateVpcFirewallCenConfigure', - 'ModifyVpcFirewallCenConfigure', - 'ModifyVpcFirewallCenSwitchStatus', - 'DeleteVpcFirewallCenConfigure', - ], + 'title' => 'Cloud enterprise network (Basic edition)', ], [ - 'id' => 362813, - 'title' => 'high-speed channel', + 'children' => ['DescribeVpcFirewallList', 'DescribeVpcFirewallDetail', 'CreateVpcFirewallConfigure', 'ModifyVpcFirewallConfigure', 'ModifyVpcFirewallSwitchStatus', 'DeleteVpcFirewallConfigure'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallList', - 'DescribeVpcFirewallDetail', - 'CreateVpcFirewallConfigure', - 'ModifyVpcFirewallConfigure', - 'ModifyVpcFirewallSwitchStatus', - 'DeleteVpcFirewallConfigure', - ], + 'title' => 'Express connect', ], ], + 'type' => 'directory', + 'title' => 'VPC firewall', ], ], + 'type' => 'directory', + 'title' => 'Firewall switches', ], [ - 'id' => 362820, - 'title' => 'flow analysis', - 'type' => 'directory', 'children' => [ [ - 'id' => 362821, - 'title' => 'Active outreach', - 'type' => 'directory', 'children' => [ [ - 'id' => 362822, - 'title' => 'Visual Analysis', + 'children' => ['DescribeInternetTimeTop', 'DescribeNatFirewallTimeTop'], 'type' => 'directory', - 'children' => [ - 'DescribeInternetTimeTop', - 'DescribeNatFirewallTimeTop', - ], + 'title' => 'Visualized analysis', ], 'DescribeNetworkTrafficTopRatio', 'DescribeOutgoingStatistic', @@ -194,198 +99,91 @@ 'DescribeOutgoingDestinationIP', 'DescribeOutgoingDestinationIPDetail', ], + 'type' => 'directory', + 'title' => 'Outbound connections', ], [ - 'id' => 362837, - 'title' => 'Public network exposure', + 'children' => ['DescribeInternetTrafficTop', 'DescribeInternetTrafficTrend', 'DescribeNatFirewallTrafficTrend', 'DescribeInternetServiceNameList', 'DescribeInternetOpenIp', 'DescribeInternetOpenPort', 'DescribeInternetOpenService', 'DescribeInternetOpenDetail', 'DescribeInternetSlb', 'DescribeOpenIpAccessSrcStat'], 'type' => 'directory', - 'children' => [ - 'DescribeInternetTrafficTop', - 'DescribeInternetTrafficTrend', - 'DescribeNatFirewallTrafficTrend', - 'DescribeInternetServiceNameList', - 'DescribeInternetOpenIp', - 'DescribeInternetOpenPort', - 'DescribeInternetOpenService', - 'DescribeInternetOpenDetail', - 'DescribeInternetSlb', - 'DescribeOpenIpAccessSrcStat', - ], + 'title' => 'Internet exposure', ], [ - 'id' => 362848, - 'title' => 'VPC exchange visits', + 'children' => ['DescribeNetworkInstanceRelationList', 'DescribeVpcFirewallAssetList'], 'type' => 'directory', - 'children' => [ - 'DescribeNetworkInstanceRelationList', - 'DescribeVpcFirewallAssetList', - ], + 'title' => 'VPC access', ], [ - 'id' => 362851, - 'title' => 'AI access traffic', + 'children' => ['DescribeAITrafficAnalysisStatus', 'DescribeVpcFirewallDomainList', 'DescribeVpcFirewallDomainRelationList', 'UpdateAITrafficAnalysisStatus', 'ModifyObjectGroupOperation'], 'type' => 'directory', - 'children' => [ - 'DescribeAITrafficAnalysisStatus', - 'DescribeVpcFirewallDomainList', - 'DescribeVpcFirewallDomainRelationList', - 'UpdateAITrafficAnalysisStatus', - 'ModifyObjectGroupOperation', - ], + 'title' => 'AI access traffic', ], ], + 'type' => 'directory', + 'title' => 'Traffic analysis', ], [ - 'id' => 362857, - 'title' => 'Detection Response', - 'type' => 'directory', 'children' => [ [ - 'id' => 362858, - 'title' => 'intrusion prevention', + 'children' => ['DescribeRiskEventTopAttackApp', 'DescribeRiskEventTopAttackType', 'DescribeRiskEventStatistic', 'DescribeRiskEventGroup'], 'type' => 'directory', - 'children' => [ - 'DescribeRiskEventTopAttackApp', - 'DescribeRiskEventTopAttackType', - 'DescribeRiskEventStatistic', - 'DescribeRiskEventPayload', - 'DescribeRiskEventGroup', - ], + 'title' => 'Intrusion prevention', ], [ - 'id' => 362864, - 'title' => 'Vulnerability Protection', + 'children' => ['DescribeVulnerabilityProtectedList', 'DescribeUnprotectedVulnTrend'], 'type' => 'directory', - 'children' => [ - 'DescribeVulnerabilityProtectedList', - 'DescribeUnprotectedVulnTrend', - ], + 'title' => 'Vulnerability prevention', ], [ - 'id' => 362867, - 'title' => 'Fall-down perception', + 'children' => ['DescribeInvadeEventList', 'DescribeInvadeEventNameList', 'DescribeInvadeEventStatistic', 'DescribeInvadeEventDetail'], 'type' => 'directory', - 'children' => [ - 'DescribeInvadeEventList', - 'DescribeInvadeEventNameList', - 'DescribeInvadeEventStatistic', - 'DescribeInvadeEventDetail', - ], + 'title' => 'Compromised host awareness', ], [ - 'id' => 362872, - 'title' => 'Data leakage', + 'children' => ['DescribeSdlEventList', 'DescribeSdlEventSdList', 'DescribeSdlEventDetail', 'DescribeSdlEventStatistic', 'DescribeSdlStatistic', 'DescribeSensitiveSwitch', 'ModifySensitiveSwitch', 'EnableSdlProtectedAsset', 'DisableSdlProtectedAsset'], 'type' => 'directory', - 'children' => [ - 'DescribeSdlEventList', - 'DescribeSdlEventSdList', - 'DescribeSdlEventDetail', - 'DescribeSdlEventStatistic', - 'DescribeSdlStatistic', - 'DescribeSensitiveSwitch', - 'ModifySensitiveSwitch', - 'EnableSdlProtectedAsset', - 'DisableSdlProtectedAsset', - ], + 'title' => 'Data leak detection', ], ], + 'type' => 'directory', + 'title' => 'Detection and response', ], [ - 'id' => 362882, - 'title' => 'Protection Configuration', - 'type' => 'directory', 'children' => [ [ - 'id' => 362883, - 'title' => 'Access Control', - 'type' => 'directory', 'children' => [ 'DescribeAclApps', 'DescribeAclWhitelist', [ - 'id' => 362886, - 'title' => 'Boundaries of the Internet', + 'children' => ['DescribeAclRuleCount', 'DescribeControlPolicy', 'DescribeACLProtectTrend', 'DescribePolicyAdvancedConfig', 'DescribePolicyPriorUsed', 'DescribeControlPolicyDomainResolve', 'AddControlPolicy', 'AddDomainResolveRealtimeTask', 'ModifyControlPolicy', 'ModifyControlPolicyPriority', 'ModifyPolicyAdvancedConfig', 'DeleteControlPolicy', 'DeleteControlPolicyTemplate', 'ResetRuleHitCount'], 'type' => 'directory', - 'children' => [ - 'DescribeAclRuleCount', - 'DescribeControlPolicy', - 'DescribeACLProtectTrend', - 'DescribePolicyAdvancedConfig', - 'DescribePolicyPriorUsed', - 'DescribeControlPolicyDomainResolve', - 'AddControlPolicy', - 'AddDomainResolveRealtimeTask', - 'ModifyControlPolicy', - 'ModifyControlPolicyPriority', - 'ModifyPolicyAdvancedConfig', - 'DeleteControlPolicy', - 'DeleteControlPolicyTemplate', - 'ResetRuleHitCount', - ], + 'title' => 'Internet border', ], [ - 'id' => 362901, - 'title' => 'NAT Border', + 'children' => ['DescribeNatAclPageStatus', 'DescribeNatFirewallAclGroupList', 'DescribeNatFirewallControlPolicy', 'DescribeNatFirewallPolicyPriorUsed', 'CreateNatFirewallControlPolicy', 'ModifyNatFirewallControlPolicy', 'ModifyNatFirewallControlPolicyPosition', 'ResetNatFirewallRuleHitCount', 'DeleteNatFirewallControlPolicy', 'DeleteNatFirewallControlPolicyBatch'], 'type' => 'directory', - 'children' => [ - 'DescribeNatAclPageStatus', - 'DescribeNatFirewallAclGroupList', - 'DescribeNatFirewallControlPolicy', - 'DescribeNatFirewallPolicyPriorUsed', - 'CreateNatFirewallControlPolicy', - 'ModifyNatFirewallControlPolicy', - 'ModifyNatFirewallControlPolicyPosition', - 'ResetNatFirewallRuleHitCount', - 'DeleteNatFirewallControlPolicy', - 'DeleteNatFirewallControlPolicyBatch', - ], + 'title' => 'NAT border', ], [ - 'id' => 362912, - 'title' => 'VPC Boundary', + 'children' => ['DescribeVpcFirewallAssetRegionList', 'DescribeVpcFirewallAclGroupList', 'DescribeVpcFirewallControlPolicy', 'DescribeVpcFirewallPolicyPriorUsed', 'CreateVpcFirewallControlPolicy', 'ModifyVpcFirewallControlPolicy', 'ModifyVpcFirewallControlPolicyPosition', 'ModifyVpcFirewallAclEngineMode', 'ResetVpcFirewallRuleHitCount', 'DeleteVpcFirewallControlPolicy', 'BatchDeleteVpcFirewallControlPolicy'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallAssetRegionList', - 'DescribeVpcFirewallAclGroupList', - 'DescribeVpcFirewallControlPolicy', - 'DescribeVpcFirewallPolicyPriorUsed', - 'CreateVpcFirewallControlPolicy', - 'ModifyVpcFirewallControlPolicy', - 'ModifyVpcFirewallControlPolicyPosition', - 'ModifyVpcFirewallAclEngineMode', - 'ResetVpcFirewallRuleHitCount', - 'DeleteVpcFirewallControlPolicy', - 'BatchDeleteVpcFirewallControlPolicy', - ], + 'title' => 'VPC border', ], [ - 'id' => 362924, - 'title' => 'DNS boundary', + 'children' => ['DescribeVpcListLite', 'DescribeDnsFirewallPolicy', 'AddDnsFirewallPolicy', 'ModifyDnsFirewallPolicy', 'DeleteDnsFirewallPolicy'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcListLite', - 'DescribeDnsFirewallPolicy', - 'DescribePrefixLists', - 'AddDnsFirewallPolicy', - 'ModifyDnsFirewallPolicy', - 'DeleteDnsFirewallPolicy', - ], + 'title' => 'DNS border', ], ], + 'type' => 'directory', + 'title' => 'Access control', ], [ - 'id' => 362931, - 'title' => 'IPS Protection', - 'type' => 'directory', 'children' => [ 'DescribeThreatIntelligenceSwitch', 'ModifyThreatIntelligenceSwitch', 'ModifyIpsRulesToDefault', 'DescribeSignatureLibVersion', [ - 'id' => 362936, - 'title' => 'Boundaries of the Internet', - 'type' => 'directory', 'children' => [ 'DescribeDefaultIPSConfig', 'DescribeUserIPSWhitelist', @@ -393,67 +191,39 @@ 'ModifyDefaultIPSConfig', 'ModifyUserIPSWhitelist', [ - 'id' => 362942, - 'title' => 'Private Network Traceability', + 'children' => ['DescribeIpsPrivateAssoc', 'CreateIpsPrivateAssoc', 'DeleteIpsPrivateAssoc'], 'type' => 'directory', - 'children' => [ - 'DescribeIpsPrivateAssoc', - 'CreateIpsPrivateAssoc', - 'DeleteIpsPrivateAssoc', - ], + 'title' => 'Private IP tracing', ], ], + 'type' => 'directory', + 'title' => 'Internet border', ], [ - 'id' => 362946, - 'title' => 'VPC Boundary', + 'children' => ['DescribeVfwIPSConfigList', 'DescribeVpcFirewallDefaultIPSConfig', 'DescribeVpcFirewallIPSWhitelist', 'ModifyVpcFirewallDefaultIPSConfig', 'ModifyVpcFirewallIPSWhitelist'], 'type' => 'directory', - 'children' => [ - 'DescribeVfwIPSConfigList', - 'DescribeVpcFirewallDefaultIPSConfig', - 'DescribeVpcFirewallIPSWhitelist', - 'ModifyVpcFirewallDefaultIPSConfig', - 'ModifyVpcFirewallIPSWhitelist', - ], + 'title' => 'VPC border', ], ], + 'type' => 'directory', + 'title' => 'IPS protection', ], [ - 'id' => 362952, - 'title' => 'TLS Check', + 'children' => ['ListTlsInspectCACertificates', 'GetTlsInspectCertificateDownloadUrl'], 'type' => 'directory', - 'children' => [ - 'ListTlsInspectCACertificates', - 'GetTlsInspectCertificateDownloadUrl', - ], + 'title' => 'TLS inspection', ], [ - 'id' => 362955, - 'title' => 'strategy analysis', + 'children' => ['DescribeAclCheckQuota', 'DescribeAclChecks', 'DescribeAclCheck', 'CreateAclCheck', 'UpdateAclCheckDetailStatus'], 'type' => 'directory', - 'children' => [ - 'DescribeAclCheckQuota', - 'DescribeAclChecks', - 'DescribeAclCheck', - 'CreateAclCheck', - 'UpdateAclCheckDetailStatus', - ], + 'title' => 'Policy analysis', ], [ - 'id' => 362961, - 'title' => 'Address Book', + 'children' => ['DescribeAddressBook', 'AddAddressBook', 'ModifyAddressBook', 'DeleteAddressBook'], 'type' => 'directory', - 'children' => [ - 'DescribeAddressBook', - 'AddAddressBook', - 'ModifyAddressBook', - 'DeleteAddressBook', - ], + 'title' => 'Address books', ], [ - 'id' => 362966, - 'title' => 'Synchronize nodes', - 'type' => 'directory', 'children' => [ 'DescribeAccessInstanceRegionList', 'DescribeAccessInstanceTask', @@ -461,160 +231,80 @@ 'DescribeAccessInstanceVSwitchList', 'DescribeAccessInstanceZoneList', [ - 'id' => 362972, - 'title' => 'ACK Cluster', + 'children' => ['DescribeAckClusters', 'DescribeAckClusterConnectors', 'DescribeAckClusterConnector', 'DescribeAckClusterNamespaces', 'DescribeAckClusterPodLabels', 'CreateAckClusterConnector', 'UpdateAckClusterConnector', 'DeleteAckClusterConnector'], 'type' => 'directory', - 'children' => [ - 'DescribeAckClusters', - 'DescribeAckClusterConnectors', - 'DescribeAckClusterConnector', - 'DescribeAckClusterNamespaces', - 'DescribeAckClusterPodLabels', - 'CreateAckClusterConnector', - 'UpdateAckClusterConnector', - 'DeleteAckClusterConnector', - ], + 'title' => 'ACK cluster', ], [ - 'id' => 362981, - 'title' => 'Private DNS', + 'children' => ['DescribePrivateDnsEndpointList', 'DescribePrivateDnsEndpointDetail', 'DescribePrivateDnsStatistics', 'CreatePrivateDnsEndpoint', 'ModifyPrivateDnsEndpoint', 'DeletePrivateDnsEndpoint', 'DescribePrivateDnsDomainNameList', 'AddPrivateDnsDomainName', 'DeletePrivateDnsDomainName', 'DeletePrivateDnsAllDomainName'], 'type' => 'directory', - 'children' => [ - 'DescribePrivateDnsEndpointList', - 'DescribePrivateDnsEndpointDetail', - 'DescribePrivateDnsStatistics', - 'CreatePrivateDnsEndpoint', - 'ModifyPrivateDnsEndpoint', - 'DeletePrivateDnsEndpoint', - 'DescribePrivateDnsDomainNameList', - 'AddPrivateDnsDomainName', - 'DeletePrivateDnsDomainName', - 'DeletePrivateDnsAllDomainName', - ], + 'title' => 'Private DNS', ], ], + 'type' => 'directory', + 'title' => 'Synchronization nodes', ], ], + 'type' => 'directory', + 'title' => 'Protection settings', ], [ - 'id' => 362992, - 'title' => 'Log Monitoring', + 'children' => ['DescribeLogStoreInfo', 'DescribeTrafficLog', 'DescribeSlsAnalyzeOpenStatus', 'DescribeClearAuthInfo', 'DescribeLocationInfo', 'DescribeIspInfo', 'DescribeCreatedNatFirewall', 'DescribeBatchSlsDispatchStatus', 'ModifySlsDispatchStatus', 'ModifyUserSlsLogStorageTime', 'ClearLogStoreStorage'], 'type' => 'directory', - 'children' => [ - 'DescribeLogStoreInfo', - 'DescribeTrafficLog', - 'DescribeSlsAnalyzeOpenStatus', - 'DescribeClearAuthInfo', - 'DescribeLocationInfo', - 'DescribeIspInfo', - 'DescribeCreatedNatFirewall', - 'DescribeBatchSlsDispatchStatus', - 'CreateSlsLogDispatch', - 'ModifySlsDispatchStatus', - 'ModifyUserSlsLogStorageTime', - 'ClearLogStoreStorage', - ], + 'title' => 'Log monitoring', ], [ - 'id' => 363005, - 'title' => 'System Settings', - 'type' => 'directory', 'children' => [ [ - 'id' => 363006, - 'title' => 'Alarm Notification', + 'children' => ['DescribeUserAlarmConfig', 'ModifyUserAlarmConfig'], 'type' => 'directory', - 'children' => [ - 'DescribeUserAlarmConfig', - 'ModifyUserAlarmConfig', - ], + 'title' => 'Alert notifications', ], [ - 'id' => 363009, - 'title' => 'Unified management of multiple accounts', + 'children' => ['DescribeInstanceRdAccounts', 'DescribeInstanceMembers', 'AddInstanceMembers', 'ModifyInstanceMemberAttributes', 'DeleteInstanceMembers'], 'type' => 'directory', - 'children' => [ - 'DescribeInstanceRdAccounts', - 'DescribeInstanceMembers', - 'AddInstanceMembers', - 'ModifyInstanceMemberAttributes', - 'DeleteInstanceMembers', - ], + 'title' => 'Multi-account management', ], [ - 'id' => 363015, - 'title' => 'Download Tasks', + 'children' => ['DescribeDownloadTask', 'DescribeDownloadTaskType', 'CreateDownloadTask', 'DeleteDownloadTask'], 'type' => 'directory', - 'children' => [ - 'DescribeDownloadTask', - 'DescribeDownloadTaskType', - 'CreateDownloadTask', - 'DeleteDownloadTask', - ], + 'title' => 'Download tasks', ], [ - 'id' => 363020, - 'title' => 'Toolbox', - 'type' => 'directory', 'children' => [ [ - 'id' => 363021, - 'title' => 'Policy Backup and Rollback', + 'children' => ['DescribeAclBackupList', 'AddAclBackupData', 'UseAclBackupData', 'DeleteAclBackupData'], 'type' => 'directory', - 'children' => [ - 'DescribeAclBackupList', - 'AddAclBackupData', - 'UseAclBackupData', - 'DeleteAclBackupData', - ], + 'title' => 'Back up and roll back access control policies', ], 'DescribeSecurityMode', ], + 'type' => 'directory', + 'title' => 'Toolbox', ], ], + 'type' => 'directory', + 'title' => 'System settings', ], [ - 'id' => 363027, - 'title' => 'Abandoned', + 'children' => ['DescribePageDocuments', 'DescribeDomainResolve', 'DescribeFirewallDropStatistics', 'DescribeUserAssetIPTrafficInfo', 'DescribeCfwRiskLevelSummary', 'DescribeRiskSecurityGroupDetail', 'DescribeSecurityProxy', 'CreateVpcFirewallCenManualConfigure', 'BatchCopyVpcFirewallControlPolicy', 'ModifyControlPolicyPosition'], 'type' => 'directory', - 'children' => [ - 'DescribePageDocuments', - 'DescribeDomainResolve', - 'DescribeFirewallDropStatistics', - 'DescribeUserAssetIPTrafficInfo', - 'DescribeCfwRiskLevelSummary', - 'DescribeRiskSecurityGroupDetail', - 'DescribeSecurityProxy', - 'CreateVpcFirewallCenManualConfigure', - 'BatchCopyVpcFirewallControlPolicy', - 'ModifyControlPolicyPosition', - ], + 'title' => 'Deprecated', ], [ - 'id' => 363038, - 'title' => 'Other', + 'children' => ['DescribeIPSRules', 'DescribeVpcFirewallTrafficAssetList', 'SetAutoProtectNewAssets', 'DescribeRegionResourceTypeAutoEnable', 'CreateSlsLogDispatch', 'DescribeAssetList', 'DescribeFirewallDropTrend', 'DescribeFirewallTrafficTrend', 'DescribePostpayBill', 'DescribePrefixLists', 'DescribePrepayBillTotal', 'DescribeRiskEventPayload', 'DescribeSdlLastPayload', 'DescribeVpcFirewallTrafficTrend'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallTrafficAssetList', - 'SetAutoProtectNewAssets', - 'DescribeRegionResourceTypeAutoEnable', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'DescribeUserBuyVersion' => [ - 'summary' => 'Queries the edition information about Cloud Firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddAclBackupData' => [ + 'summary' => 'Creates an access control backup.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -626,240 +316,86 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68399', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68092', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '115.194.124.XXX', 'title' => ''], + ], + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'Instance ID. If the Instance ID is provided, the query will be based on this ID. If not provided, the latest instance will be queried by default.', + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'cfw_elasticity_public_cn-*******', + 'example' => 'zh', + 'title' => '', ], ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the backup data.', 'type' => 'string', 'required' => false, 'example' => 'bj-001', 'title' => ''], + ], + [ + 'name' => 'BackUpTime', + 'in' => 'query', + 'schema' => ['description' => 'The backup time, specified as a Unix timestamp (the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970).', 'type' => 'string', 'required' => true, 'example' => '1743683400'."\n", 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AliUid' => [ - 'description' => 'The ID of the Alibaba Cloud account that is used to purchase Cloud Firewall.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '119898001566xxxx', - ], - 'InstanceId' => [ - 'description' => 'The instance ID of Cloud Firewall.'."\n" - ."\n" - .'> If you use a trial of Cloud Firewall, ignore this parameter.'."\n", - 'type' => 'string', - 'example' => 'vipcloudfw-cn-xxxxx', - ], - 'StartTime' => [ - 'description' => 'The time when Cloud Firewall was activated.'."\n" - ."\n" - .'> The value is a timestamp in milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1692504764000', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F71B03EE-xxxxx-91D79CC6AA1A', - ], - 'Version' => [ - 'description' => 'The edition of Cloud Firewall. Valid values:'."\n" - ."\n" - .'* **2**: Premium Edition.'."\n" - .'* **3**: Enterprise Edition.'."\n" - .'* **4**: Ultimate Edition.'."\n" - .'* **10**: Cloud Firewall that uses the pay-as-you-go billing method.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'UserStatus' => [ - 'description' => 'Indicates whether Cloud Firewall is valid. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Expire' => [ - 'description' => 'The time when Cloud Firewall expires.'."\n" - ."\n" - .'> The value is a timestamp in milliseconds.'."\n" - ."\n" - .'> If you use Cloud Firewall that uses the pay-as-you-go billing method, ignore this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1726934400000', - ], - 'LogStatus' => [ - 'description' => 'Indicates whether log delivery is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InstanceStatus' => [ - 'description' => 'The status of Cloud Firewall. Valid values:'."\n" - ."\n" - .'* **normal**: Cloud Firewall is running as expected.'."\n" - .'* **init**: Cloud Firewall is being initialized.'."\n" - .'* **deleting**: Cloud Firewall is being deleted.'."\n" - .'* **abnormal**: An exception occurs in Cloud Firewall.'."\n" - .'* **free**: Cloud Firewall is invalid.'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'MaxOverflow' => [ - 'description' => 'The status of the burstable protected traffic feature. Valid values:'."\n" - ."\n" - .'* **1000000**: enabled.'."\n" - .'* **0**: disabled.'."\n" - ."\n" - .'> This parameter takes effect only for Cloud Firewall that uses the subscription billing method.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'VpcNumber' => [ - 'description' => 'The number of virtual private clouds (VPCs) that can be protected.'."\n" - ."\n" - .'> This parameter takes effect only for Cloud Firewall that uses the subscription billing method.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - ], - 'IpNumber' => [ - 'description' => 'The number of public IP addresses that can be protected.'."\n" - ."\n" - .'> This parameter takes effect only for Cloud Firewall that uses the subscription billing method.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '63', - ], - 'LogStorage' => [ - 'description' => 'The log storage capacity.'."\n" - ."\n" - .'> This parameter takes effect only for Cloud Firewall that uses the subscription billing method.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'InternetBandwidth' => [ - 'description' => 'The peak Internet traffic that can be protected.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'VpcBandwidth' => [ - 'description' => 'The peak cross-VPC traffic that can be protected.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'NatBandwidth' => [ - 'description' => 'The peak traffic of NAT private network that can be protected.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'MajorVersion' => [ - 'title' => '主版本', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'DefaultBandwidth' => [ - 'title' => '版本默认带宽', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'ExtensionBandwidth' => [ - 'title' => '拓展带宽', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'TemporaryBandwidth' => [ - 'title' => '临时升级带宽', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'GeneralInstance' => [ - 'title' => '通用实例规格数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ThreatIntelligence' => [ - 'title' => '威胁情报开通状态', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Sdl' => [ - 'title' => '数据泄漏开通状态', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PrivateDnsConnectorQuota' => [ - 'title' => '私有DNS连接器配额', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'AckClusterConnectorQuota' => [ - 'title' => 'ACK集群连接器配额', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '244EA37C-D2AB-54A7-B6E3-7ED0E9A1****', 'title' => ''], ], - 'description' => '', + 'description' => 'The data returned.', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorBackupCountExceed', 'errorMessage' => 'The maximum number of backups is exceeded.', 'description' => 'The maximum number of backups is exceeded.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"vipcloudfw-cn-xxxxx\\",\\n \\"StartTime\\": 1692504764000,\\n \\"RequestId\\": \\"F71B03EE-xxxxx-91D79CC6AA1A\\",\\n \\"Version\\": 2,\\n \\"UserStatus\\": true,\\n \\"Expire\\": 1726934400000,\\n \\"LogStatus\\": true,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"MaxOverflow\\": 0,\\n \\"VpcNumber\\": 21,\\n \\"IpNumber\\": 63,\\n \\"LogStorage\\": 3000,\\n \\"InternetBandwidth\\": 3000,\\n \\"VpcBandwidth\\": 3000,\\n \\"NatBandwidth\\": 3000,\\n \\"MajorVersion\\": 1,\\n \\"DefaultBandwidth\\": 1000,\\n \\"ExtensionBandwidth\\": 1000,\\n \\"TemporaryBandwidth\\": 1000,\\n \\"GeneralInstance\\": 10,\\n \\"ThreatIntelligence\\": 1,\\n \\"Sdl\\": 1,\\n \\"PrivateDnsConnectorQuota\\": 5,\\n \\"AckClusterConnectorQuota\\": 5\\n}","type":"json"}]', - 'title' => 'DescribeUserBuyVersion', - 'description' => 'You can call this operation to query the edition information about Cloud Firewall.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'translator' => 'machine', - ], - 'DescribeSlrGrant' => [ - 'summary' => '获取用户SLR授权信息', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AddAclBackupData', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"244EA37C-D2AB-54A7-B6E3-7ED0E9A1****\\"\\n}","type":"json"}]', + ], + 'AddAddressBook' => [ + 'summary' => 'Creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -868,270 +404,432 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68366', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68093', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '113.225.22.XXX', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type of the address book description.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'AddressList', + 'in' => 'query', + 'schema' => ['description' => 'The addresses in the address book. Separate multiple addresses with commas (,). Use a space to separate an address from its description within a single address element.'."\n" + ."\n" + .'> This parameter is required when GroupType is set to `ip`, `port`, or `domain`.'."\n" + ."\n" + .'- When GroupType is set to `ip`, enter IP addresses in the address list. Example: 192.0.XX.XX/32 Development CIDR block,10.0.0.X/24,192.0.XX.XX/24 Test CIDR block.'."\n" + ."\n" + .'- When GroupType is set to `port`, enter ports or port ranges in the address list. Example: 80 HTTP port,100/200,3306 Database port.'."\n" + ."\n" + .'- When GroupType is set to `domain`, enter domain names in the address list. Example: example.com Test domain name,aliyundoc.com,www.aliyun.com Alibaba Cloud official website.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/32 ,192.0.XX.XX/24 ', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the address book.', 'type' => 'string', 'required' => true, 'maxLength' => 256, 'minLength' => 2, 'example' => 'sz-001', 'title' => ''], + ], + [ + 'name' => 'GroupName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the address book.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'sz-001', 'title' => ''], + ], + [ + 'name' => 'GroupType', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'UserType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'sub' => '', - 'customer' => '', - ], - 'example' => 'sub', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1BD3D277-AE2F-5609-893F-FF7A72A****', - ], - 'IsGranted' => [ - 'description' => '', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '', - 'false' => '', - ], - 'example' => 'true', - ], - ], + 'description' => 'The type of the address book.', + 'enumValueTitles' => ['tagPrivate' => 'ECS label-based private endpoint address book.', 'port' => 'port address book.', 'ackLabel' => 'ACK pod label address book.', 'ipv6' => 'IPv6 address book.', 'ip' => 'IPv4 address book.', 'domain' => 'domain name.', 'assetIpv6' => 'IPv6 public assets address book.', 'ackNamespace' => 'ACK namespace address book.', 'tag' => 'ECS tag-based public IP address book.', 'asset' => 'IPv4 public assets address book.'], + 'type' => 'string', + 'required' => true, + 'example' => 'ip', + 'title' => '', ], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UserType\\": \\"sub\\",\\n \\"RequestId\\": \\"1BD3D277-AE2F-5609-893F-FF7A72A****\\",\\n \\"IsGranted\\": true\\n}","type":"json"}]', - ], - 'DescribeMemberInfo' => [ - 'summary' => '免费版获取成员信息', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '92911', - 'abilityTreeNodes' => [ - 'FEATUREcfwATUJ57', + 'name' => 'AutoAddTagEcs', + 'in' => 'query', + 'schema' => [ + 'description' => 'Indicates whether to automatically add the public IP addresses of Elastic Compute Service (ECS) instances that match the specified tags to the address book.', + 'enumValueTitles' => ['Do not automatically add (default).', 'Automatically add.'], + 'type' => 'string', + 'required' => false, + 'example' => '1', + 'title' => '', + ], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'TagRelation', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The logical relationship among multiple ECS tags to match.', + 'enumValueTitles' => ['or' => 'OR. The public IP addresses of Elastic Compute Service (ECS) instances that match any of the specified labels are added to the address book.', 'and' => 'AND (default). The public IP addresses of Elastic Compute Service (ECS) instances are added to the address book only when the instances match all specified labels.'], 'type' => 'string', 'required' => false, - 'example' => '150795602499****', + 'example' => 'and', + 'title' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'TagList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F2665618-3C41-51A4-8DAF-586FB68****', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '128720273643****', - ], - 'AdminUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '164705101205****', - ], - 'AdminName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'IsMember' => [ - 'description' => '', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '', - 'false' => '', - ], - 'example' => 'true', + 'description' => 'The ECS tag list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ECS tag.', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'The value of the ECS tag.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'TagKey' => ['description' => 'The key of the ECS tag.', 'type' => 'string', 'required' => false, 'example' => 'TXY', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2665618-3C41-51A4-8DAF-586FB68****\\",\\n \\"MemberUid\\": \\"128720273643****\\",\\n \\"AdminUid\\": \\"164705101205****\\",\\n \\"AdminName\\": \\"田壮\\",\\n \\"IsMember\\": true\\n}","type":"json"}]', - ], - 'DescribeInstanceRiskLevels' => [ - 'summary' => 'Queries the risk levels of instances.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174508', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', + 'name' => 'AckClusterConnectorId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The ACK cluster connector ID. You can obtain the value from the following operation:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): Lists ACK cluster connectors.', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab1 ', 'required' => false], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AckNamespaces', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" + 'title' => '', + 'description' => 'The list of ACK cluster pod namespaces.'."\n" + .'> A maximum of 10 namespaces are supported.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The ACK cluster pod namespace. You can obtain the value from the following operation:'."\n" + .'- [DescribeAckClusterNamespaces](~~DescribeAckClusterNamespaces~~): Lists ACK cluster namespaces.'."\n" ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', + .'> This parameter is required when **GroupType** is set to **ackNamespace**.', 'type' => 'string', 'example' => 'kube-system', 'required' => false], 'required' => false, - 'example' => 'en', + 'example' => '', ], ], [ - 'name' => 'Instances', + 'name' => 'AckLabels', 'in' => 'query', 'style' => 'flat', 'schema' => [ - 'description' => 'The information about the instances.'."\n", + 'title' => '', + 'description' => 'The list of ACK cluster pod labels.'."\n" + ."\n" + .'> A maximum of 10 labels are supported.', 'type' => 'array', 'items' => [ - 'description' => '', + 'title' => '', + 'description' => 'The ACK cluster pod label. You can obtain the value from the following operation:'."\n" + .'- [DescribeAckClusterPodLabels](~~DescribeAckClusterPodLabels~~): Lists ACK cluster pod labels.'."\n" + ."\n" + .'> This parameter is required when **GroupType** is set to **ackLabel**.', 'type' => 'object', 'properties' => [ - 'Uuid' => [ - 'description' => 'The UUID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '181ad081-e4f2-4e3e-b925-03b67f648397', - ], - 'InstanceId' => [ - 'description' => 'The instance ID of your Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vipcloudfw-cn-7mz2fj8nm0u', - ], - 'IntranetIp' => [ - 'description' => 'The private IP address of the instance.'."\n", + 'Key' => ['title' => '', 'description' => 'The key of the ACK cluster pod label.', 'type' => 'string', 'example' => 'app', 'required' => false], + 'Value' => ['title' => '', 'description' => 'The value of the ACK cluster pod label.', 'type' => 'string', 'example' => 'storage-operator', 'required' => false], + ], + 'required' => false, + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'AssetMemberUids', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'The list of member accounts for the asset address book.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The list of member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '13580xxxxxx6271'], + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'AssetRegionResourceTypes', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'The list of regions and resource types for the asset address book.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The list of regions and resource types.', + 'type' => 'object', + 'properties' => [ + 'AssetRegionId' => [ + 'title' => '', + 'description' => 'The region ID of the asset.', + 'enumValueTitles' => ['all' => 'all regions.'], 'type' => 'string', 'required' => false, - 'example' => '172.17.XX.XX', + 'example' => 'all', ], - 'InternetIp' => [ - 'description' => 'The public IP addresses of instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The public IP address of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '60.205.XX.XX', + 'ResourceType' => [ + 'title' => '', + 'description' => 'The asset type.', + 'type' => 'object', + 'properties' => [ + 'Ipv4' => [ + 'title' => '', + 'description' => 'The IPv4 asset type.', + 'type' => 'object', + 'properties' => [ + 'SlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: SlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'NatPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: NatPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'BastionHostIngressIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostIngressIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EniEIP' => [ + 'title' => '', + 'description' => 'The asset type: EniEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'NlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: NlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'ApiGatewayEIP' => [ + 'title' => '', + 'description' => 'The asset type: ApigEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EcsPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: EcsPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'BastionHostIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'BastionHostEgressIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostEgressIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: AlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'GaEIP' => [ + 'title' => '', + 'description' => 'The asset type: GaEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AiGatewayEIP' => [ + 'title' => '', + 'description' => 'The asset type: AIGatewayEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EIP' => [ + 'title' => '', + 'description' => 'The asset type: EIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'NatEIP' => [ + 'title' => '', + 'description' => 'The asset type: NatEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'SlbPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: SlbPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EcsEIP' => [ + 'title' => '', + 'description' => 'The asset type: EcsEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'HAVIP' => [ + 'title' => '', + 'description' => 'The asset type: HAVIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + 'example' => '', + ], + 'Ipv6' => [ + 'title' => '', + 'description' => 'The IPv6 asset type.', + 'type' => 'object', + 'properties' => [ + 'SlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: SlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'NlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: NlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EniEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: EniEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: AlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'GaEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: GaEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AiGatewayEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: AIGatewayEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EcsIPv6' => [ + 'title' => '', + 'description' => 'The asset type: EcsIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'ApiGatewayEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: ApigEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + 'example' => '', + ], ], 'required' => false, - 'maxItems' => 100, + 'example' => '', ], ], 'required' => false, + 'example' => '', ], 'required' => false, - 'maxItems' => 100, + 'example' => '', ], ], ], @@ -1140,158 +838,593 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014', - ], - 'InstanceRisks' => [ - 'description' => 'The information about the instances.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'The instance ID of your Cloud Firewall.'."\n", - 'type' => 'string', - 'example' => 'vipcloudfw-cn-7mz2fj8nm0u', - ], - 'Level' => [ - 'description' => 'The risk levels. Valid values:'."\n" - ."\n" - .'* **medium**'."\n", - 'type' => 'string', - 'example' => 'medium', - ], - 'Details' => [ - 'description' => 'The risk levels of the Elastic Compute Service (ECS) instance.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Ip' => [ - 'description' => 'The IP addresses of servers.'."\n", - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Type' => [ - 'description' => 'The type.'."\n", - 'type' => 'string', - 'example' => 'ResourceNotProtected', - ], - 'Level' => [ - 'description' => 'The risk levels. Valid values:'."\n" - ."\n" - .'* **medium**'."\n", - 'type' => 'string', - 'example' => 'medium', - ], - ], - ], - ], - ], - ], - ], + 'GroupUuid' => ['description' => 'The unique ID of the address book returned after the address book is created.', 'type' => 'string', 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersGroupType', 'errorMessage' => 'The group type is invalid.', 'description' => 'The group type is invalid.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersGroupAddress', 'errorMessage' => 'The IP address of the address group is invalid.', 'description' => 'The IP address of the address group is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorAddressGroupExist', 'errorMessage' => 'The address group already exists.', 'description' => 'The address group already exists.'], + ['errorCode' => 'ErrorParamDomain', 'errorMessage' => 'The parameter Domain is invalid.', 'description' => 'The parameter Domain is invalid.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorAddressGroupCountExceed', 'errorMessage' => 'The maximum number of address group is exceeded.', 'description' => 'The maximum number of address group is exceeded.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorParametersTagKey', 'errorMessage' => 'The tag key is invalid.', 'description' => 'The TagKey parameter is invalid.'], + ['errorCode' => 'ErrorParametersTagList', 'errorMessage' => 'The tag list is invalid.', 'description' => 'The tag list is invalid.'], + ['errorCode' => 'ErrorTagCountExceed', 'errorMessage' => 'The maximum number of tag is exceeded.', 'description' => 'The maximum number of tag is exceeded.'], + ['errorCode' => 'ErrorParametersTagRelation', 'errorMessage' => 'The tag relation is invalid.', 'description' => 'The TagRelation parameter is invalid.'], + ['errorCode' => 'ErrorParametersGroupPort', 'errorMessage' => 'The group port is invalid.', 'description' => 'The group port is invalid.'], + ['errorCode' => 'ErrorPortCountExceed', 'errorMessage' => 'The maixmum number of port in the group is exceeded.', 'description' => 'The maixmum number of port in the group is exceeded.'], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'Request processing failed due to some unknown error.'], + ['errorCode' => 'ErrorAckClusterConnectorBusy', 'errorMessage' => 'The ACK cluster connector is operating.', 'description' => 'The ACK cluster connector is operating.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParametersMemberUidMismatch', 'errorMessage' => 'The memberUid mismatch the aliUid.', 'description' => 'The memberUid mismatch the aliUid.'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => 'The specified resource ACK cluster connector is not found.'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014\\",\\n \\"InstanceRisks\\": [\\n {\\n \\"InstanceId\\": \\"vipcloudfw-cn-7mz2fj8nm0u\\",\\n \\"Level\\": \\"medium\\",\\n \\"Details\\": [\\n {\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeInstanceRiskLevels', - ], - 'DescribeInternetOpenStatistic' => [ - 'summary' => '获取互联网开放统计', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\"\\n}","type":"json"}]', + 'title' => 'Create an address book', + 'description' => 'This operation creates an address book, including IPv4 address books, ECS tag-based address books, IPv6 address books, domain name address books, and ACK address books.'."\n" + ."\n" + .'## Rate limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.', + 'requestParamsDescription' => 'When you call this operation, you must include common request parameters in addition to the operation-specific request parameters described in this topic. For more information about common request parameters, see [Common parameters](~~94763~~). '."\n" + .'For the request format, see the request examples in the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAddressBook'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/*'], + ], + ], + ], ], + ], + 'AddControlPolicy' => [ + 'summary' => 'Adds an access control policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', + 'operationType' => 'create', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeCode' => '68280', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68094', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => 'The action that is set in the access control policy. Settings the method in which traffic passes through Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **accept**: allows the access.'."\n" + .'- **drop**: deny the access.'."\n" + .'- **log**: monitors the traffic.', 'type' => 'string', 'required' => true, 'example' => 'accept', 'title' => ''], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => ['description' => 'The application type supported by the access control policy. Valid values:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**: all application types'."\n" + ."\n" + .'> The valid values of ApplicationName depend on the value of the protocol type (Proto). If Proto is set to TCP, ApplicationName can be set to any of the preceding application types. If Proto is set to UDP, ICMP, or ANY, ApplicationName can be set only to ANY. You must specify either ApplicationNameList or ApplicationName. You cannot leave both of them empty.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ANY', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'required' => true, 'example' => 'Release flow', 'title' => ''], + ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port in the access control policy. Valid values:'."\n" + ."\n" + .'- If the protocol type is ICMP, the value of DestPort is empty.'."\n" + .' '."\n" + .'> If the protocol type is ICMP, access control on the destination port is not supported.'."\n" + ."\n" + .'- If the protocol type is TCP, UDP, or ANY, and the destination port type (DestPortType) is group, the value of DestPort is empty.'."\n" + ."\n" + .'> If the destination port type of the access control policy is set to group (port address book), you do not need to specify a destination port number. All ports that the access control policy manages are included in the port address book.'."\n" + ."\n" + .'- If the protocol type is TCP, UDP, or ANY, and the destination port type (DestPortType) is port, the value of DestPort is the destination port number.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + .'- If DestinationType is set to net, the value of Destination is a destination CIDR block.'."\n" + .' '."\n" + .' Example: 1.2.XX.XX/24'."\n" + ."\n" + .'- If DestinationType is set to group, the value of Destination is a destination address book name.'."\n" + ."\n" + .' Example: db_group'."\n" + ."\n" + .'- If DestinationType is set to domain, the value of Destination is a destination domain name.'."\n" + ."\n" + .' Example: *.aliyuncs.com'."\n" + ."\n" + .'- If DestinationType is set to location, the value of Destination is a destination region.'."\n" + ."\n" + .' Example: \\["BJ11", "ZB"\\]'."\n" + ."\n" + .'> If Destination is set to a destination region, for more information, see [Region codes](~~2854161~~).', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX/24', 'title' => ''], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + .'- **group**: destination address book'."\n" + .'- **domain**: destination domain name'."\n" + .'- **location**: destination region.', 'type' => 'string', 'required' => true, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The traffic direction of the access control policy. Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic'."\n" + .'- **out**: outbound traffic.', 'type' => 'string', 'required' => true, 'example' => 'in', 'title' => ''], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => 'The protocol type in the access control policy. Valid values:'."\n" + ."\n" + .'- **ANY**: any protocol'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + ."\n" + .'> If the traffic direction is outbound and the destination address is a threat intelligence address book or cloud service address book of the domain name type, only TCP is supported. The application type can be set to HTTP, HTTPS, SMTP, SMTPS, or SSL.', 'type' => 'string', 'required' => true, 'example' => 'ANY', 'title' => ''], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'The source address in the access control policy. Valid values:'."\n" + ."\n" + .'- If SourceType is set to net, the value of Source is a source CIDR block.'."\n" + ."\n" + .' Example: 1.1.XX.XX/24'."\n" + ."\n" + .'- If SourceType is set to group, the value of Source is a source address book name.'."\n" + ."\n" + .' Example: db_group'."\n" + ."\n" + .'- If SourceType is set to location, the value of Source is a source region.'."\n" + ."\n" + .' Example: \\["BJ11", "ZB"\\]'."\n" + ."\n" + .'> If Source is set to a source region, for more information, see [Region codes](~~2854161~~).', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX/24', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source address in the access control policy. Valid values:'."\n" + .'- **net**: source CIDR block'."\n" + .'- **group**: source address book'."\n" + .'- **location**: source region.', 'type' => 'string', 'required' => true, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'NewOrder', + 'in' => 'query', + 'schema' => ['description' => 'The priority of the access control policy. The priority value starts from 1. A smaller value indicates a higher priority.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination port in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **port**: port'."\n" + .'- **group**: port address book.', 'type' => 'string', 'required' => false, 'example' => 'port', 'title' => ''], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => 'The name of the destination port address book in the access control policy.'."\n" + ."\n\n" + .'> If DestPortType is set to group, you must specify the destination port address book name.', 'type' => 'string', 'required' => false, 'example' => 'my_port_group', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the access control policy. The policy is enabled by default after it is created. Valid values:'."\n" + .'- **true**: enables the access control policy.'."\n" + ."\n" + .'- **false**: disables the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => 'The IP address version supported.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **4**: IPv4'."\n" + ."\n" + .'- **6**: IPv6.', 'type' => 'string', 'required' => false, 'example' => '6', 'title' => ''], + ], + [ + 'name' => 'ApplicationNameList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The application types supported by the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The application type supported by the access control policy. Valid values:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**: all application types'."\n" + ."\n" + .'> The valid values of ApplicationNameList depend on the value of the protocol type (Proto). If Proto is set to TCP, ApplicationNameList can be set to any of the preceding application types, in the format of `["HTTP","HTTPS",……]`. If Proto is set to UDP, ICMP, or ANY, ApplicationNameList can be set only to ANY. You must specify either ApplicationNameList or ApplicationName. You cannot leave both of them empty. If both ApplicationNameList and ApplicationName are specified, the value of ApplicationNameList takes precedence.', 'type' => 'string', 'required' => false, 'example' => '["ANY"]', 'title' => ''], 'required' => false, - 'example' => '202.109.244.XX', + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The recurrence type of the policy validity period for the access control policy. Valid values:'."\n" + .'- **Permanent** (default): The policy is always valid.'."\n" + .'- **None**: The policy is valid for a specified single time period.'."\n" + .'- **Daily**: The policy is valid on a daily basis.'."\n" + .'- **Weekly**: The policy is valid on a weekly basis.'."\n" + .'- **Monthly**: The policy is valid on a monthly basis.', + 'enumValueTitles' => ['Daily' => 'daily.', 'Monthly' => 'monthly.', 'Permanent' => 'always.', 'Weekly' => 'weekly.', 'None' => 'specified single time period.'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + 'example' => 'Permanent', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'RepeatDays', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The days of the recurrence for the policy validity period of the access control policy.'."\n" + .'- If RepeatType is set to `Permanent`, `None`, or `Daily`, the value of RepeatDays is an empty array.'."\n" + .' Example: []'."\n" + .'- If RepeatType is set to Weekly, the value of RepeatDays must not be empty.'."\n" + .' Example: [0, 6]'."\n" + .'> If RepeatType is set to Weekly, the values in RepeatDays cannot be repeated.'."\n" + .'- If RepeatType is set to `Monthly`, the value of RepeatDays must not be empty.'."\n" + .' Example: [1, 31]'."\n" + .'> If RepeatType is set to Monthly, the values in RepeatDays cannot be repeated.', + 'type' => 'array', + 'items' => ['description' => 'The recurrence day of the policy validity period for the access control policy.'."\n" + .'> If RepeatType is set to Weekly, the valid values are 0 to 6. The week starts on Sunday.'."\n" + .'> If RepeatType is set to Monthly, the valid values are 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The recurrence start time of the policy validity period for the access control policy. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the recurrence end time.'."\n" + .'> If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter is required.'."\n" + .'> The time is in the HH:mm format (24-hour clock). Example: 08:00 or 23:30.', 'type' => 'string', 'required' => false, 'example' => '08:00', 'title' => ''], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The recurrence end time of the policy validity period for the access control policy. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the recurrence start time.'."\n" + .'> If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter is required.'."\n" + .'> The time is in the HH:mm format (24-hour clock). Example: 08:00 or 23:30.', 'type' => 'string', 'required' => false, 'example' => '23:30', 'title' => ''], + ], [ 'name' => 'StartTime', 'in' => 'query', + 'schema' => ['description' => 'The start time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" + .'> If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" + .'> If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter is required.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800', 'title' => ''], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" + ."\n" + .'* **FQDN**: FQDN-based resolution'."\n" + .'* **DNS**: DNS-based dynamic resolution'."\n" + .'* **FQDN_AND_DNS**: FQDN-based and DNS-based dynamic resolution.', 'type' => 'string', 'required' => false, 'example' => 'FQDN', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AclUuid' => ['description' => 'The unique identity ID of the access control policy for the Internet Border firewall.', 'type' => 'string', 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1734386501', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['errorCode' => 'ErrorParametersGroupPort', 'errorMessage' => 'The group port is invalid.', 'description' => 'The group port is invalid.'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => 'FTP application is not supported when the policy destination is a domain name'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => 'Exceeds the number of selected areas for one ACL. It is recommended to split it into multiple ACLs.'], + ['errorCode' => 'ErrorSrcMand', 'errorMessage' => 'Source is mandatory for this action.', 'description' => 'This operation requires the specified source.'], + ['errorCode' => 'ErrorEmptyDomainResolveType', 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', 'description' => 'Empty domain name resolution mode is not supported.'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => 'Specified parameter ApplicationNameList is not valid.'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => 'Specified parameter ApplicationName is not valid.'], + ['errorCode' => 'ErrorApplicationTemplateNotFound', 'errorMessage' => 'Application template not found.', 'description' => 'Application template does not exist'], + ['errorCode' => 'ErrorWebFilterTemplateNotFound', 'errorMessage' => 'Web filter template not found.', 'description' => 'Web filtering template does not exist'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + 'title' => 'Add an access control policy', + 'description' => 'You can call this operation to create a policy that allows, denies, or monitors traffic that passes through Cloud Firewall.'."\n" + ."\n" + .'## Rate limit'."\n" + .'The single-user queries per second (QPS) limit for this operation is 10. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Call this operation as needed.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddControlPolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/*'], + ], ], ], + ], + ], + 'AddDnsFirewallPolicy' => [ + 'summary' => 'Add a DNS firewall ACL', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68096', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '140.205.118.97', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:
-**zh**: Chinese
-**en**: English

', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => 'Specifies the action to take on traffic that matches the access control policy. Valid values:'."\n" + ."\n" + .'- **accept**: Allows the traffic.'."\n" + ."\n" + .'- **drop**: Denies the traffic.'."\n" + ."\n" + .'- **log**: Monitors the traffic.', 'type' => 'string', 'required' => true, 'example' => 'log', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address in the access control policy.'."\n" + ."\n" + .'- When **DestinationType** is `net`, this parameter specifies the destination CIDR block. Example: `1.2.3.4/24`.'."\n" + ."\n" + .'- When **DestinationType** is `group`, this parameter specifies the name of the destination address book. Example: `db_group`.'."\n" + ."\n" + .'- When **DestinationType** is `domain`, this parameter specifies the destination domain name. Example: `*.aliyuncs.com`.'."\n" + ."\n" + .'- When **DestinationType** is `location`, this parameter specifies the destination region. For more information about location codes, see the documentation. Example: `["BJ11", "ZB"]`.', 'type' => 'string', 'required' => true, 'example' => 'db_group', 'title' => ''], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name', 'type' => 'string', 'required' => true, 'example' => 'domain', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The traffic direction for the access control policy. Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'required' => false, 'example' => 'out', 'title' => ''], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'The source address in the access control policy.'."\n" + ."\n" + .'- When **SourceType** is `net`, this parameter specifies the source CIDR block. Example: `10.2.XX.XX/24`.'."\n" + ."\n" + .'- When **SourceType** is `group`, this parameter specifies the name of the source address book. Example: `db_group`.', 'type' => 'string', 'required' => true, 'example' => '192.168.0.223/32', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: source CIDR block'."\n" + ."\n" + .'- **group**: source address book', 'type' => 'string', 'required' => true, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => ['description' => 'The priority of the access control policy. A smaller value indicates a higher priority.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the access control policy. Valid values:'."\n" + ."\n" + .'- **true**: Enables the access control policy.'."\n" + ."\n" + .'- **false**: Disables the access control policy.', 'type' => 'string', 'required' => true, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The IP version supported by the policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **4**: IPv4'."\n" + ."\n" + .'- **6**: IPv6', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], 'type' => 'string', - 'required' => false, - 'example' => '1736386501', + 'required' => true, + 'enum' => ['4', '6'], + 'example' => '4', + 'title' => '', ], ], ], @@ -1300,298 +1433,305 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InternetIpNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'InternetPortNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '38', - ], - 'InternetUnprotectedPortNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'InternetRiskServiceNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6AB7822C-0D73-5D1D-81FD-45D4FB7C****', - ], - 'InternetRiskPortNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'InternetRiskIpNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'InternetSlbIpNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'InternetServiceNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'InternetSlbIpPortNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '16', - ], + 'AclUuid' => ['description' => 'The ID of the access control list.', 'type' => 'string', 'example' => 'f88dae6f-XXX-XXX-613de9ab2be8', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '71209DFE-XXX-XXX-52B4A4E9DA3B', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorAclRuleDuplicate', 'errorMessage' => 'acl rule duplicate.', 'description' => 'The same strategy exists.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AddDnsFirewallPolicy', + 'description' => 'Use this API to create a policy that allows, denies, or observes traffic passing through a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetIpNum\\": 9,\\n \\"InternetPortNum\\": 38,\\n \\"InternetUnprotectedPortNum\\": 6,\\n \\"InternetRiskServiceNum\\": 3,\\n \\"RequestId\\": \\"6AB7822C-0D73-5D1D-81FD-45D4FB7C****\\",\\n \\"InternetRiskPortNum\\": 5,\\n \\"InternetRiskIpNum\\": 8,\\n \\"InternetSlbIpNum\\": 10,\\n \\"InternetServiceNum\\": 15,\\n \\"InternetSlbIpPortNum\\": 16\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"f88dae6f-XXX-XXX-613de9ab2be8\\",\\n \\"RequestId\\": \\"71209DFE-XXX-XXX-52B4A4E9DA3B\\"\\n}","type":"json"}]', ], - 'ModifyCfwInstance' => [ - 'summary' => '更新用户版本信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'AddDomainResolveRealtimeTask' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68399', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '228230', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + ], + [ + 'name' => 'FirewallType', 'in' => 'query', - 'allowEmptyValue' => false, 'schema' => [ - 'description' => '', + 'description' => 'The Cloud Firewall type.', + 'enumValueTitles' => ['nat' => 'nat', 'vpc' => 'vpc', 'internet' => 'internet'], 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', + 'required' => false, + 'example' => 'internet', + 'title' => '', ], ], [ - 'name' => 'UpdateList', + 'name' => 'DomainName', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Sdl', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - 'required' => false, - ], - 'required' => true, - 'docRequired' => true, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The ID of the request.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorFirewallTypeDuplicates', 'errorMessage' => 'firewallType duplicates.', 'description' => 'Private DNS endpoint already exists for selected firewall boundary'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => 'The domain name is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => 'Region selection error, please re-enter.'."\n"], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - ], - 'ReleasePostInstance' => [ - 'summary' => 'Releases Cloud Firewall that uses the pay-as-you-go billing method.', - 'methods' => [ - 'post', + 'title' => 'Create a real-time domain name resolution task', + 'summary' => 'Creates a real-time domain name resolution task.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDomainResolveRealtimeTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', + ], + 'AddInstanceMembers' => [ + 'summary' => 'Adds member accounts to Cloud Firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '103471', - 'abilityTreeNodes' => [ - 'FEATUREcfwATUJ57', - ], + 'abilityTreeCode' => '68097', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Members', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The ID of the Cloud Firewall instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-xxx', + 'description' => 'The members that you want to add to Cloud Firewall.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of the members that you want to add.', + 'type' => 'object', + 'properties' => [ + 'MemberDesc' => ['description' => 'The remarks of the member. The remarks must be 1 to 256 characters in length. You can add up to 20 members at a time.', 'type' => 'string', 'required' => false, 'example' => 'renewal', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the member. You can add up to 20 members at a time.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '258039427902****', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'The HTTP status code.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => 'The request ID, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => 'EE316A19-xxxx-5043-9DF1-C04458ABC570', - ], - 'Success' => [ - 'description' => 'Indicates whether the request was successful.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ReleaseStatus' => [ - 'description' => 'Indicates whether the release was successful. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B40A54DF-C142-44F7-8441-B31C1EADB36E', 'title' => ''], ], + 'description' => 'The response parameters.', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrotMaxInstanceMemberNumExceed', 'errorMessage' => 'The maximum number of firewall instance members is exceeded.', 'description' => 'The maximum number of firewall instance members is exceeded.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorInstanceTooManyMembersOnce', 'errorMessage' => 'too many members once.', 'description' => 'The number of members to be added or deleted at a time exceeds the limit.'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], + ['errorCode' => 'ErrorInstanceMemberAlreadyExist', 'errorMessage' => 'instance member is already exist.', 'description' => 'The member is already added to Cloud Firewall.'], + ['errorCode' => 'ErrorInstanceMemberIsMaster', 'errorMessage' => 'instance member is master account.', 'description' => 'A firewall is enabled for an asset of the member.'], + ['errorCode' => 'ErrorInstanceAliuidNotDaMa', 'errorMessage' => 'instance aliuid not DA or MA.', 'description' => 'The Alibaba Cloud account to which Cloud Firewall belongs is not specified as a delegated administrator account or management account.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'internal error: sql insert.', 'description' => 'Request error, database insert failed'], + ['errorCode' => 'ErrorInstanceMemberNotBelongRd', 'errorMessage' => 'instance member not belong rd.', 'description' => 'The member to be added does not belong to the resource directory.'], + ['errorCode' => 'ErrorInstanceMemberNotStsGrant', 'errorMessage' => 'instance member is not sts grant.', 'description' => 'The member of the Cloud Firewall instance to be added is not authorized.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"EE316A19-xxxx-5043-9DF1-C04458ABC570\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": true\\n}","type":"json"}]', - 'title' => 'ReleasePostInstance', - ], - 'ReleaseExpiredInstance' => [ - 'summary' => '释放已过期的实例', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B40A54DF-C142-44F7-8441-B31C1EADB36E\\"\\n}","type":"json"}]', + 'title' => 'AddInstanceMembers', + 'description' => 'This operation is used to add member accounts to Cloud Firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. We recommend that you take note of the limit when you call this operation.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddInstanceMembers'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instancemember/*'], + ], + ], + ], ], + ], + 'AddPrivateDnsDomainName' => [ + 'summary' => 'Adds a private DNS domain name.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '139427', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '226307', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'AccessInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the private DNS resolution instance.', 'type' => 'string', 'required' => true, 'example' => 'cfw-xxx', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.'."\n" + ."\n" + .'> For more information about the regions supported by Cloud Firewall, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'DomainNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of private domain names to add.', + 'type' => 'array', + 'items' => ['description' => 'The list of private domain names to add.', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "internal.xxx.com",'."\n" + .' "api.xxx.com"'."\n" + .' ]', 'title' => ''], 'required' => true, - 'example' => 'cfw-y3gpqq705****', + 'maxItems' => 1000, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], @@ -1600,272 +1740,261 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9EC1DB0F-EE53-5D36-B5DA-71CB******', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ReleaseStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'true', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorPrivateDnsNotFound', 'errorMessage' => 'private dns not found.', 'description' => 'The specified private DNS does not exist'], + ['errorCode' => 'ErrorPrivateDnsDomainName', 'errorMessage' => 'private dns domain name error.', 'description' => 'Private DNS domain name error'], + ['errorCode' => 'ErrorPrivateDnsDomainNameMaxLimit', 'errorMessage' => 'the number of private DNS domain names exceeds the maximum limit.', 'description' => 'The number of private DNS domain names exceeds the maximum specification limit'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"9EC1DB0F-EE53-5D36-B5DA-71CB******\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": \\"true\\"\\n}","type":"json"}]', - ], - 'DescribeRiskEventTopAttackAsset' => [ - 'summary' => '获取Top风险事件资产', - 'methods' => [ - 'post', - 'get', + 'title' => 'Add a private DNS domain name', + 'description' => 'This operation is used to obtain DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS before you can obtain its resolution results.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddPrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'BatchCopyVpcFirewallControlPolicy' => [ + 'summary' => 'Copies all policies from a source virtual private cloud (VPC) firewall policy group to a destination VPC firewall policy group.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'readAndWrite', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', + 'operationType' => 'update', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeCode' => '68352', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '104390', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '125.33.253.XX', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'SourceVpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the access control policy group for the source virtual private cloud (VPC) firewall of this operation. Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects traffic between a network instance in a Cloud Enterprise Network (CEN) instance (network instances include VPCs, VBRs, and CCNs) and a specified VPC, the policy group ID is the CEN instance ID.'."\n" + ."\n" + .'- If the VPC firewall protects traffic between two VPCs that are connected through Express Connect, the policy group ID is the VPC firewall instance ID.'."\n" + ."\n" + .'> You can invoke the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'TargetVpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1754273436', - ], + 'schema' => ['description' => 'The ID of the access control policy group for the destination virtual private cloud (VPC) firewall of this operation. Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects traffic between a network instance in a Cloud Enterprise Network (CEN) instance (network instances include VPCs, VBRs, and CCNs) and a specified VPC, the policy group ID is the CEN instance ID.'."\n" + ."\n" + .'- If the VPC firewall protects traffic between two VPCs that are connected through Express Connect, the policy group ID is the VPC firewall instance ID.'."\n" + ."\n" + .'> You can invoke the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'vfw-e37d3a04cf79446a****', 'title' => ''], ], - [ - 'name' => 'EndTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1742955867', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3'], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParametersTarget', 'errorMessage' => 'Target VPC Firewall ID not exist.', 'description' => 'Target VPC Firewall ID not exist.'], + ['errorCode' => 'ErrorParametersSourceTarget', 'errorMessage' => 'Source and target firewall is same.', 'description' => 'Source and target firewall is same.'], + ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Copy all policies from a source VPC firewall policy group to a destination VPC firewall policy group (deprecated)', + 'description' => 'This operation is used to copy all policies from a source virtual private cloud (VPC) firewall policy group to a destination VPC firewall policy group.'."\n" + ."\n" + .'Before performing this operation, back up your policies. For more information, see [policy backup](~~170363~~).'."\n" + ."\n" + .'After this operation is complete, the policies in the destination VPC firewall policy group are completely replaced with the policies from the source VPC firewall policy group.'."\n" + ."\n" + .'The source VPC firewall policy group and the destination VPC firewall policy group must belong to the same Alibaba Cloud account.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Invoke this operation as appropriate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchCopyVpcFirewallControlPolicy'], + ], + ], + 'ramActions' => [ [ - 'name' => 'AttackType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchCopyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","type":"json"}]', + ], + 'BatchDeleteVpcFirewallControlPolicy' => [ + 'summary' => 'Batch deletes access control policies of a virtual private cloud (VPC) firewall.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195162', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'AttackApp', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "MySQL",'."\n" - .' "Redis",'."\n" - .' "MemCached"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], ], [ - 'name' => 'BuyVersion', + 'name' => 'AclUuidList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 2 => '', - '', - '', - 10 => '', - ], - 'example' => '10', + 'description' => 'The list of ACL UUIDs.', + 'type' => 'array', + 'items' => ['description' => 'The list of ACL UUIDs.', 'type' => 'string', 'required' => false, 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c', 'title' => ''], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B9BF7C33-9A23-5096-8568-A3DACAF0****', - ], - 'Assets' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ResourceInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test_resource', - ], - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EcsPublicIP', - ], - 'ResourceInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-8vbdrjrxzt78****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-chengdu', - ], - 'Ip' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.3.54.XXX', - ], - 'AttackCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'DropCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParamUuidOrOrderMiss', 'errorMessage' => 'Either uuid or oldOrder is invalid.', 'description' => 'Either uuid or oldOrder is invalid.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B9BF7C33-9A23-5096-8568-A3DACAF0****\\",\\n \\"Assets\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test_resource\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionNo\\": \\"cn-chengdu\\",\\n \\"Ip\\": \\"10.3.54.XXX\\",\\n \\"AttackCnt\\": 12,\\n \\"DropCnt\\": 8\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeAttackAppCategory' => [ - 'summary' => '获取敏感数据类别开关', - 'methods' => [ - 'get', - 'post', + 'title' => 'Batch delete VPC firewall access control policies', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteVpcFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchDeleteVpcFirewallControlPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', + ], + 'ClearLogStoreStorage' => [ + 'summary' => 'Clears firewall audit logs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1877,156 +2006,126 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68112', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'Site', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['title' => '', 'description' => 'The site name for which to clear logs. If only one logStore exists, you can leave this parameter empty. If two logStores exist, set this parameter to cn or intl.', 'type' => 'string', 'example' => 'cn', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558FE****', - ], - 'AppCategories' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AttackApps' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Nacos', - ], - ], - 'CategoryName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], + 'HttpStatusCode' => ['title' => '', 'description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '21C27710-2DB1-5F2A-8588-72D0541B****'], + 'Success' => ['title' => '', 'description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE****\\",\\n \\"AppCategories\\": [\\n {\\n \\"AttackApps\\": [\\n \\"Nacos\\"\\n ],\\n \\"CategoryName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOutgoingRiskTrend' => [ - 'summary' => '获取外联风险趋势图', - 'methods' => [ - 'post', - 'get', + 'title' => 'Clear firewall audit logs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ClearLogStoreStorage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"21C27710-2DB1-5F2A-8588-72D0541B****\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'CreateAckClusterConnector' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68330', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwC140SS', 'FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '219.145.94.XXX', - ], + 'schema' => ['description' => 'The Alibaba Cloud UID of the account to which the ACK cluster resource belongs.', 'type' => 'string', 'required' => false, 'example' => '135809047715****', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The region ID of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Lists the regions of synchronization nodes.'."\n" + ."\n" + .'> For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](~~2865120~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'ConnectorName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain letters, digits, Chinese characters, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'required' => true, 'example' => 'ack-cluster-connector-name', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1733882648', - ], + 'schema' => ['description' => 'The ACK cluster ID. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~): Lists ACK clusters.', 'type' => 'string', 'required' => true, 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'PrimaryVswitchId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1755051062', - ], + 'schema' => ['description' => 'The primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.', 'type' => 'string', 'required' => true, 'example' => 'vsw-2zerfbbje7dvnbii2****', 'title' => ''], + ], + [ + 'name' => 'PrimaryVswitchIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the primary vSwitch of the ACK cluster connector.', 'type' => 'string', 'required' => false, 'example' => '10.100.1.1', 'title' => ''], + ], + [ + 'name' => 'StandbyVswitchId', + 'in' => 'query', + 'schema' => ['description' => 'The standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.', 'type' => 'string', 'required' => false, 'example' => 'vsw-2ze2gtlfozrab01cfo****', 'title' => ''], + ], + [ + 'name' => 'StandbyVswitchIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the standby vSwitch of the ACK cluster connector.', 'type' => 'string', 'required' => false, 'example' => '10.100.2.1', 'title' => ''], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => 'The synchronization interval of the ACK cluster connector. Valid values: 2 to 60. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '30', 'title' => ''], ], ], 'responses' => [ @@ -2034,168 +2133,171 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalRiskDomain' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1CA8D98E-A71B-5856-A658-3E8B3152E****', - ], - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'TotalRiskIp' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'RiskIp' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RiskDomain' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'AckClusterConnector' => [ + 'description' => 'The ACK cluster connector information.', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'The unique ID of the ACK cluster connector.', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], + 'ConnectorName' => ['description' => 'The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain letters, digits, Chinese characters, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'example' => 'ack-cluster-connector-name', 'title' => ''], + 'MemberUid' => ['description' => 'The Alibaba Cloud UID of the account to which the ACK cluster resource belongs.', 'type' => 'string', 'example' => '135809047715****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Lists the regions of synchronization nodes.'."\n" + ."\n" + .'> For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](~~2865120~~).', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'ClusterId' => ['description' => 'The ACK cluster ID. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~): Lists ACK clusters.', 'type' => 'string', 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', 'title' => ''], + 'ClusterName' => ['description' => 'The name of the ACK cluster.', 'type' => 'string', 'example' => 'ack-cluster-name', 'title' => ''], + 'VpcId' => ['description' => 'The instance ID of the VPC-connected instance to which the ACK cluster belongs.', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****', 'title' => ''], + 'PrimaryVswitchId' => ['description' => 'The primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****', 'title' => ''], + 'PrimaryVswitchZoneId' => ['description' => 'The zone of the primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Lists the zones of vSwitches for synchronization nodes.', 'type' => 'string', 'example' => 'cn-hangzhou-g', 'title' => ''], + 'PrimaryVswitchIp' => ['description' => 'The IP address of the primary vSwitch of the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.1.1', 'title' => ''], + 'StandbyVswitchId' => ['description' => 'The standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists the vSwitches of synchronization nodes.', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****', 'title' => ''], + 'StandbyVswitchZoneId' => ['description' => 'The zone of the standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Lists the zones of vSwitches for synchronization nodes.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'StandbyVswitchIp' => ['description' => 'The IP address of the standby vSwitch of the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.2.1', 'title' => ''], + 'Ttl' => ['description' => 'The synchronization interval of the ACK cluster connector. Valid values: 2 to 60. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'ConnectorStatus' => [ + 'description' => 'The instance status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'initializing.', 'deleting' => 'deleting.', 'ready' => 'normal.'], + 'type' => 'string', + 'example' => 'ready', + 'title' => '', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'The health check status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'initializing.', 'healthy' => 'healthy.', 'unhealthy' => 'unhealthy.'], + 'type' => 'string', + 'example' => 'healthy', + 'title' => '', ], + 'AckClientHostIp' => ['description' => 'The entry point IP address used by the ACK cluster connector to access the ACK cluster over the internal network.', 'type' => 'string', 'example' => '10.40.32.240', 'title' => ''], + 'TaskId' => ['description' => 'The unique ID of the task for creating the ACK cluster connector.', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42', 'title' => ''], + 'CreateTime' => ['description' => 'The timestamp when the ACK cluster connector was created. Unit: seconds.', 'type' => 'string', 'example' => '1724982259', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0DC783F1-B3A7-578D-8A63-*****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ['errorCode' => 'ErrorVSwitchAndPrivateIpAddressMismatched', 'errorMessage' => 'The vSwitch and privateIpAddress are mismatched.', 'description' => 'The vSwitch and privateIpAddress are mismatched.'], + ['errorCode' => 'ErrorAckClusterNotFound', 'errorMessage' => 'The specified resource ACK cluster is not found.', 'description' => 'The specified resource ACK cluster is not found.'], + ['errorCode' => 'ErrorAckClusterConnectorReverseEndpointIpNotAllocated', 'errorMessage' => 'The IP is already allocated, failed to create reverse endpoint.', 'description' => 'The IP is already allocated, failed to create reverse endpoint.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => 'Region selection error, please re-enter.'."\n"], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorVswitchNoAvailableIP', 'errorMessage' => 'the vswitch has no available ip.', 'description' => 'No IP available for the specified switch'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'The vSwitch does not exist. Select another vSwitch.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorAckClusterNetworkOnlySupportTerway', 'errorMessage' => 'The ACK cluster network only support Terway.', 'description' => 'The ACK cluster network only support Terway.'], + ['errorCode' => 'ErrorAckVpcAndVSwitchVpcMismatched', 'errorMessage' => 'The ACK VPC and vSwitch VPC are mismatched.', 'description' => 'The ACK VPC and vSwitch VPC are mismatched.'], + ['errorCode' => 'ErrorPrimaryStandbyVswitchSameZone', 'errorMessage' => 'The primary and standby vSwitch are in the same availability zone.', 'description' => 'The primary and standby vSwitch are in the same availability zone.'], + ['errorCode' => 'ErrorAckClusterSpecOnlySupportAckPro', 'errorMessage' => 'The ACK cluster spec only support ack.pro.small.', 'description' => 'The ACK cluster spec only support ack.pro.small.'], + ['errorCode' => 'ErrorAckClusterConnectorQuotaExceeded', 'errorMessage' => 'ACK cluster connector resource exceeds the quota limit.', 'description' => 'ACK cluster connector resource exceeds the quota limit.'], + ['errorCode' => 'ErrorAckNotOpen', 'errorMessage' => 'ACK service is not open.', 'description' => 'ACK service is not open.'], + ['errorCode' => 'ErrorAckClusterConnectorExist', 'errorMessage' => 'The ACK cluster connector already exist.', 'description' => 'The ACK cluster connector already exist.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create an ACK cluster connector', + 'summary' => 'Creates an ACK cluster connector.', + 'description' => '## Rate limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the number of calls exceeds the limit, throttling is triggered, which may affect your business. Manage your calls properly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalRiskDomain\\": 7,\\n \\"RequestId\\": \\"1CA8D98E-A71B-5856-A658-3E8B3152E****\\",\\n \\"Interval\\": 60,\\n \\"TotalRiskIp\\": 6,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"RiskIp\\": 5,\\n \\"RiskDomain\\": 20\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-hangzhou-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-hangzhou-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"AckClientHostIp\\": \\"10.40.32.240\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', ], - 'DescribeUnprotectedPortTrend' => [ - 'summary' => '获取未保护的端口趋势', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateAclCheck' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68393', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '219356', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '61.155.60.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'AclType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The ACL check type.', + 'enumValueTitles' => ['NAT' => 'NAT boundary.', 'AddressBook' => 'address book.', 'VPC' => 'VPC boundary.', 'Internet' => 'Internet boundary.'], 'type' => 'string', - 'required' => false, - 'example' => '1655778046', + 'required' => true, + 'enum' => ['Internet', 'NAT', 'VPC', 'AddressBook'], + 'example' => 'Internet', + 'title' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'CheckNames', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of ACL check names.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ACL check name.', + 'enumValueTitles' => ['PolicyDuplicate' => 'Duplicate redundant policy.', 'PolicyConflict' => 'Business conflict policy.', 'AddressBookIpSeparated' => 'Duplicate, overlapping, or scattered IP address books.', 'DefaultPolicyNotDeny' => 'Default fallback policy is not a Deny All allowlist mechanism.', 'PolicySourceDestinationSame' => 'Invalid policy with identical source and destination.', 'PolicyPortHighRisk' => 'High-risk port allow policy.', 'PolicyTooLoose' => 'Overly permissive access control policy.', 'PolicyHitCountZero' => 'Policy with no traffic hits.', 'AddressBookPortSeparated' => 'Duplicate, overlapping, or scattered port address books.', 'AddressBookDomainValid' => 'Domain address book validity check.'], + 'type' => 'string', + 'enum' => ['PolicyHitCountZero', 'PolicySourceDestinationSame', 'PolicyDuplicate', 'PolicyConflict', 'DefaultPolicyNotDeny', 'PolicyPortHighRisk', 'PolicyTooLoose', 'AddressBookIpSeparated', 'AddressBookPortSeparated', 'AddressBookDomainValid'], + 'required' => false, + 'example' => 'PolicyHitCountZero', + 'title' => '', + ], 'required' => false, - 'example' => '1751210395', + 'maxItems' => 7, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], @@ -2204,614 +2306,634 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E599A84E-CD22-5E42-A2A9-01A254AC****', - ], - 'DataList' => [ - 'description' => '', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****'], + 'TaskIds' => [ + 'description' => 'The list of task IDs.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'Count' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], + 'items' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42'."\n", 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAclCheckQuotaUnavailable', 'errorMessage' => 'ACL check quota unavailable.', 'description' => 'The quota for access control configuration checks is insufficient.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorAclCheckBusy', 'errorMessage' => 'ACL check is busy.', 'description' => 'The access control configuration check is ongoing. Try again later.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Interval\\": 60,\\n \\"RequestId\\": \\"E599A84E-CD22-5E42-A2A9-01A254AC****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"Count\\": 1\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeVpcFirewallDropTrafficTrend' => [ - 'summary' => '概览页-vpc防火墙拦截趋势', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Create an ACL check', + 'summary' => 'Creates an ACL check.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\",\\n \\"TaskIds\\": [\\n \\"task-c92d4544ef7b6a42\\\\n\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateDownloadTask' => [ + 'summary' => 'Creates a file download task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '146117', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '174565', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '183.237.161.XXX', - ], + 'schema' => ['title' => '', 'description' => 'The language of the received messages.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh**: (default) Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'StartTime', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656664560', - ], + 'schema' => ['description' => 'The task type. For valid values, call the API operation that queries file download task types.', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewallAsset', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'TaskData', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1747792853', - ], + 'schema' => ['description' => 'The query conditions for the download task.', 'type' => 'string', 'required' => false, 'example' => '{\\"SearchItem\\":\\"\\",\\"UserType\\":\\"buy\\",\\"IpVersion\\":\\"4\\"}', 'title' => ''], ], [ - 'name' => 'TrafficTime', + 'name' => 'TimeZone', 'in' => 'query', + 'schema' => ['description' => 'The time zone for time information in the downloaded file. The value is an IANA time zone identifier. Default value: Asia/Shanghai (UTC+8).', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['description' => 'The task ID, which uniquely identifies the task.', 'type' => 'integer', 'format' => 'int64', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DEE923', 'title' => ''], + 'TaskName' => ['description' => 'The name of the file download task.', 'type' => 'string', 'title' => '', 'example' => 'test-IPv4'], + 'Status' => ['description' => 'The task status. Valid values:'."\n" + ."\n" + .'- finish: The task is complete. You can query the task to obtain the download URL of the task file.'."\n" + ."\n" + .'- start: The task has started.'."\n" + ."\n" + .'- error: The task failed.'."\n" + ."\n" + .'- expire: The task has expired. The task file is no longer valid and cannot be downloaded.', 'type' => 'string', 'example' => 'start', 'title' => ''], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1739337840', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Create a file download task', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDownloadTask'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'LastTime', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": 132,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DEE923\\",\\n \\"TaskName\\": \\"test-IPv4\\",\\n \\"Status\\": \\"start\\"\\n}","type":"json"}]', + ], + 'CreateInstanceSyncTask' => [ + 'summary' => 'Creates a synchronization task for Internet assets.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Order', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68123', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the access source.', 'type' => 'string', 'required' => false, 'example' => '60.182.79.XXX', 'title' => ''], + ], + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type. Valid values:'."\n" + .'- **en**: English.'."\n" + .'- **zh**: Chinese.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, - 'example' => 'desc', + 'example' => 'zh', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'DropSessionMax' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C87C1797-02E6-5EEB-A943-4416207D****', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'AclDrop' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'IpsDrop' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalSession' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '153188', - ], - 'DataTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2018-08-25 12:00:00', - ], - 'DropSession' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], + 'Module' => ['description' => 'The application module.', 'type' => 'string', 'example' => 'ips_server'."\n", 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 0,\\n \\"RequestId\\": \\"C87C1797-02E6-5EEB-A943-4416207D****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 153188,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOutgoingRiskDomainAndIpCount' => [ - 'summary' => '获取外联风险域名与IP数', - 'methods' => [ - 'get', + 'title' => 'Create an internet asset synchronization task', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateInstanceSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\"\\n}","type":"json"}]', + ], + 'CreateIpsPrivateAssoc' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '42917', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '240771', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The language of the request and response messages.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'type' => 'string', 'required' => false, - 'example' => '1749434787', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1751595213', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'ngw-c5vhmjdfp5t****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'EE258AC0-6EDD-5929-AB47-165E9B54****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'RiskDomainCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'RiskIpCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', 'title' => ''], ], + 'description' => 'The request ID.', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ERR_RESOURCE_NOT_SUPPORT', 'errorMessage' => 'This operation is not currently supported by the resource.Please try again later.', 'description' => 'This operation is not currently supported by the resource. Please try again later.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateIpsPrivateAssoc', + 'summary' => 'Creates an association for private IP traffic tracing with the Intrusion Prevention System (IPS).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE258AC0-6EDD-5929-AB47-165E9B54****\\",\\n \\"TotalCount\\": 6,\\n \\"RiskDomainCount\\": 6,\\n \\"RiskIpCount\\": 47\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', ], - 'DescribeNatFirewallDropTrafficTrend' => [ - 'summary' => '概览页-nat防火墙拦截趋势', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateNatFirewallControlPolicy' => [ + 'summary' => 'Add an access control policy to a NAT firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '203563', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '170916', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '122.190.56.XXX', - ], + 'schema' => ['description' => 'The language of the response messages.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh**: Chinese (default)'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1740968766', - ], + 'schema' => ['description' => 'The action that Cloud Firewall performs on traffic that matches the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **accept**: Allows the traffic.'."\n" + ."\n" + .'- **drop**: Drops the traffic.'."\n" + ."\n" + .'- **log**: Logs the traffic.', 'type' => 'string', 'required' => true, 'example' => 'log', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'ApplicationNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1758334822', + 'description' => 'The list of applications to which the access control policy applies.', + 'type' => 'array', + 'items' => ['description' => 'An application to which the access control policy applies.', 'type' => 'string', 'required' => false, 'example' => 'ANY', 'title' => ''], + 'required' => true, + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'DropSessionMax' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62436', - ], - 'DropSessionMaxTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1525662720', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'TotalSession' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '153188', - ], - 'DropSession' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], - ], - ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'required' => true, 'example' => '放行流量', 'title' => ''], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port for the traffic. The value of this parameter depends on the `Proto` and `DestPortType` parameters.'."\n" + ."\n" + .'- If `Proto` is `ICMP`, leave this parameter empty.'."\n" + ."\n" + .'> Access control cannot be configured based on the destination port for ICMP traffic.'."\n" + ."\n" + .'- If the destination port type (`DestPortType`) is `group`, leave this parameter empty.'."\n" + ."\n" + .'> If `DestPortType` is set to `group`, you do not need to specify a destination port because the required ports are defined in the selected port address book.'."\n" + ."\n" + .'- If the protocol is TCP, UDP, or ANY and the destination port type (`DestPortType`) is `port`, specify the destination port number.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 62436,\\n \\"DropSessionMaxTime\\": \\"1525662720\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"TotalSession\\": 153188,\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInternetDropTrafficTrend' => [ - 'summary' => '获取互联网方向删除会话趋势图', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address in the access control policy.'."\n" + ."\n" + .'The value of this parameter varies based on the value of `DestinationType`:'."\n" + ."\n" + .'- If `DestinationType` is `net`, set this parameter to the destination CIDR.'."\n" + ."\n" + .' Example: `1.2.XX.XX/24`'."\n" + ."\n" + .'- If `DestinationType` is `group`, set this parameter to the name of the destination address book.'."\n" + ."\n" + .' Example: `db_group`'."\n" + ."\n" + .'- If `DestinationType` is `domain`, set this parameter to the destination domain.'."\n" + ."\n" + .' Example: \\*.aliyuncs.com'."\n" + ."\n" + .'- If `DestinationType` is `location`, set this parameter to the destination location.'."\n" + ."\n" + .' Example: \\["BJ11", "ZB"]', 'type' => 'string', 'required' => true, 'example' => 'XX.XX.XX.XX/24', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68274', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **net**: Destination CIDR'."\n" + ."\n" + .'- **group**: Destination address book'."\n" + ."\n" + .'- **domain**: Destination domain', 'type' => 'string', 'required' => true, 'example' => 'net', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '120.136.21.XXX', - ], + 'schema' => ['description' => 'The instance ID of the NAT Gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-2vc2ustolqn6sr0******', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'Proto', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The protocol for the traffic in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- ANY: all protocols'."\n" + ."\n" + .'- TCP'."\n" + ."\n" + .'- UDP'."\n" + ."\n" + .'- ICMP'."\n" + ."\n" + .'> If the destination is a domain, a threat intelligence address book, or a cloud service address book, you can only set this parameter to `TCP`. The supported application types are HTTP, HTTPS, SMTP, SMTPS, and SSL.', + 'enumValueTitles' => [], 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + 'required' => true, + 'example' => 'ANY', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'The source address in the access control policy.'."\n" + ."\n" + .'The value of this parameter varies based on the value of `SourceType`:'."\n" + ."\n" + .'- If **SourceType** is `net`, set this parameter to the source CIDR.'."\n" + ."\n" + .' Example: 10.2.4.0/24'."\n" + ."\n" + .'- If **SourceType** is `group`, set this parameter to the name of the source address book.'."\n" + ."\n" + .' Example: db\\_group', 'type' => 'string', 'required' => true, 'example' => '192.168.0.25/32', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **net**: Source CIDR'."\n" + ."\n" + .'- **group**: Source address book', 'type' => 'string', 'required' => true, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'NewOrder', + 'in' => 'query', + 'schema' => ['description' => 'The priority of the access control policy. Values start from 1. A smaller value indicates a higher priority.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'DestPortType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of the destination port.'."\n" + ."\n" + .'- **port**: Port or port range'."\n" + ."\n" + .'- **group**: Port address book', + 'enumValueTitles' => [], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + 'example' => 'port', + 'title' => '', ], ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => 'The name of the destination port address book.'."\n" + ."\n" + .'> This parameter is required if `DestPortType` is set to `group`.', 'type' => 'string', 'required' => false, 'example' => 'my_port_group', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether the access control policy is enabled. By default, policies are enabled upon creation. Valid values:'."\n" + ."\n" + .'- **true**: Enables the policy.'."\n" + ."\n" + .'- **false**: Disables the policy.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => 'The domain name resolution method. Valid values:'."\n" + ."\n" + .'- **0**: FQDN-based resolution'."\n" + ."\n" + .'- **1**: Dynamic DNS-based resolution'."\n" + ."\n" + .'- **2**: FQDN-based and dynamic DNS-based resolution'."\n" + ."\n" + .'> If the resolution method includes FQDN, you can set the protocol only to TCP. The supported applications are HTTP, HTTPS, SMTP, SMTPS, and SSL.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => 'The IP version for the access control policy. Valid values:'."\n" + ."\n" + .'- **4** (default): IPv4', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], + ], [ 'name' => 'Direction', 'in' => 'query', + 'schema' => ['description' => 'The traffic direction for the access control policy. Valid values:'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'required' => true, 'example' => 'out', 'title' => ''], + ], + [ + 'name' => 'RepeatType', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The recurrence type for the policy validity period. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): The policy is always active.'."\n" + ."\n" + .'- **None**: The policy runs once for a specified duration.'."\n" + ."\n" + .'- **Daily**: The policy recurs daily.'."\n" + ."\n" + .'- **Weekly**: The policy recurs weekly within a specified time range.'."\n" + ."\n" + .'- **Monthly**: The policy recurs monthly within a specified time range.', + 'enumValueTitles' => ['Daily' => 'Daily', 'Monthly' => 'Monthly', 'Permanent' => 'Always', 'Weekly' => 'Weekly', 'None' => 'One-time'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'out', + 'example' => 'Permanent', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'RepeatDays', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749176793', + 'description' => 'The days of the week or month on which the policy recurs.'."\n" + ."\n" + .'- If `RepeatType` is set to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: `[]`'."\n" + ."\n" + .'- If `RepeatType` is `Weekly`, this parameter is required. Example: `[0, 6]`'."\n" + ."\n" + .'> If `RepeatType` is `Weekly`, the values in `RepeatDays` must be unique.'."\n" + ."\n" + .'- If `RepeatType` is `Monthly`, this parameter is required. Example: `[1, 31]`'."\n" + ."\n" + .'> If `RepeatType` is `Monthly`, the values in `RepeatDays` must be unique.', + 'type' => 'array', + 'items' => ['description' => 'The day of recurrence.'."\n" + ."\n" + .'> If `RepeatType` is `Weekly`, valid values range from 0 to 6. The week starts on Sunday.'."\n" + .'> If `RepeatType` is `Monthly`, valid values range from 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'RepeatStartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1756346821', - ], + 'schema' => ['description' => 'The start time of the recurrence. The time must be on the hour or half-hour, and must be at least 30 minutes earlier than the end time.'."\n" + ."\n" + .'> This parameter is required if `RepeatType` is set to `Daily`, `Weekly`, or `Monthly`. If `RepeatType` is `Permanent` or `None`, leave this parameter empty.'."\n" + .'> The time is in the HH:mm format (24-hour). For example, `08:00` or `23:30`.', 'type' => 'string', 'required' => false, 'example' => '08:00', 'title' => ''], ], [ - 'name' => 'SourceCode', + 'name' => 'RepeatEndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => 'The end time of the recurrence. The time must be on the hour or half-hour, and must be at least 30 minutes later than the start time.'."\n" + ."\n" + .'> This parameter is required if `RepeatType` is set to `Daily`, `Weekly`, or `Monthly`. If `RepeatType` is `Permanent` or `None`, leave this parameter empty.'."\n" + .'> The time is in the HH:mm format (24-hour). For example, `08:00` or `23:30`.', 'type' => 'string', 'required' => false, 'example' => '23:30', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the policy\'s validity period, specified as a Unix timestamp. The time must be on the hour or half-hour and be at least 30 minutes before the end time.'."\n" + ."\n" + .'> This parameter is required if `RepeatType` is `None`, `Daily`, `Weekly`, or `Monthly`. If `RepeatType` is `Permanent`, leave this parameter empty.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the policy\'s validity period, specified as a Unix timestamp. The time must be on the hour or half-hour and be at least 30 minutes after the start time.'."\n" + ."\n" + .'> This parameter is required if `RepeatType` is `None`, `Daily`, `Weekly`, or `Monthly`. If `RepeatType` is `Permanent`, leave this parameter empty.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800', 'title' => ''], ], ], 'responses' => [ @@ -2819,2107 +2941,1744 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DropSessionMax' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8090', - ], - 'RingRatioAverage' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.23', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'RatioAverage' => [ - 'description' => '', - 'type' => 'string', - 'example' => '12.34', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'AclDrop' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'DropRatio' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'RingDataTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2018-08-25 12:00:00', - ], - 'IpsDrop' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalSession' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'DataTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2018-08-25 12:00:00', - ], - 'DropSession' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'RingTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1724982259', - ], - 'DropRing' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'DropRingRatio' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], + 'AclUuid' => ['description' => 'The unique ID of the access control policy.'."\n" + ."\n" + .'> To modify an access control policy, you must provide its unique ID. You can call the `DescribeNatFirewallControlPolicy` operation to obtain this ID.', 'type' => 'string', 'example' => '6504d2fb-ab36-49c3-92a6-*****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0DC783F1-B3A7-578D-8A63-*****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => 'The request parameter NatGatewayId is invalid or does not exist.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => 'Exceeds the number of selected areas for one ACL. It is recommended to split it into multiple ACLs.'], + ['errorCode' => 'ErrorStartTimeOrEndTime', 'errorMessage' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', 'description' => 'The start time or end time is invalid. The time must be an hour or half an hour, and the start time must be 30 minutes earlier than the end time.'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => 'FTP application is not supported when the policy destination is a domain name'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => 'Specified parameter ApplicationNameList is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 8090,\\n \\"RingRatioAverage\\": \\"1.23\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"RatioAverage\\": \\"12.34\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"DropRatio\\": \\"1\\",\\n \\"RingDataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 10,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 12,\\n \\"RingTime\\": 1724982259,\\n \\"DropRing\\": 0,\\n \\"DropRingRatio\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInvadeEcsTrend' => [ - 'summary' => '获取ECS漏洞趋势', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"6504d2fb-ab36-49c3-92a6-*****\\",\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', + 'title' => 'CreateNatFirewallControlPolicy', + 'description' => 'This API creates a policy to allow, deny, or observe traffic through the NAT Firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNatFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:natfirewallcontrolpolicy/*'], + ], + ], + ], ], + ], + 'CreateNatFirewallPreCheck' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'readAndWrite', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68288', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], + 'abilityTreeCode' => '207105', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '120.230.45.XXX', - ], + 'schema' => ['description' => 'The language of the content within the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', - 'in' => 'query', + 'name' => 'RegionNo', + 'in' => 'formData', + 'schema' => ['description' => 'The region ID of the NAT gateway.'."\n" + ."\n" + .'> For more information about the regions supported by Cloud Firewall, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'formData', + 'schema' => ['description' => 'The instance ID of the VPC-connected instance.', 'type' => 'string', 'required' => true, 'example' => 'vpc-2zeiljdml8pble168****', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-uf69hlxv5c817iqrk****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'A426611F-04FA-5205-8D04-4F6DCF09****'], + 'PreCheckId' => ['description' => 'The dry run ID.', 'type' => 'string', 'example' => '2122', 'title' => ''], ], - 'example' => 'zh', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a NAT firewall dry run', + 'summary' => 'Creates a dry run for a NAT firewall.', + 'description' => 'Creates a policy that allows, denies, or monitors traffic that passes through a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'zh', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A426611F-04FA-5205-8D04-4F6DCF09****\\",\\n \\"PreCheckId\\": \\"2122\\"\\n}","type":"json"}]', + ], + 'CreateNatFirewallSyncTask' => [ + 'summary' => 'Creates an asset synchronization task for a NAT firewall.', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1736561456', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '237946', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'EndTime', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type of the response message.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, - 'example' => '1733796528', + 'example' => 'zh', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1736820365', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1742177725', - ], - 'InvadeEcsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F90E816D-BEE7-5BD6-95ED-474F54****', - ], - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EcsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '27', - ], - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '3E048D45-A563-5F81-9D97-536B4A84****'], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1736820365,\\n \\"StartTime\\": 1742177725,\\n \\"InvadeEcsCount\\": 2,\\n \\"RequestId\\": \\"F90E816D-BEE7-5BD6-95ED-474F54****\\",\\n \\"Interval\\": 60,\\n \\"DataList\\": [\\n {\\n \\"EcsCount\\": 27,\\n \\"Time\\": 1659405600\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribePostpayEnabledProtection' => [ - 'summary' => '按量付费是否开启过防护', - 'methods' => [ - 'get', + 'title' => 'Create a NAT firewall asset synchronization task', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3E048D45-A563-5F81-9D97-536B4A84****\\"\\n}","type":"json"}]', + ], + 'CreatePrivateDnsEndpoint' => [ + 'summary' => 'Create a private DNS endpoint', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '144147', - 'abilityTreeNodes' => [ - 'FEATUREcfwATUJ57', - ], + 'abilityTreeCode' => '226205', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The name of the private instance.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '95CA5E2B-E5FB-5838-BC50-6A2C763C****', - ], - 'IsEnabledProtection' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'IsOpenButDisabled' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'DisabledDays' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'DisabledType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nat', - ], - ], - ], + [ + 'name' => 'PrivateDnsType', + 'in' => 'query', + 'schema' => ['description' => 'The type of private DNS. Valid values:'."\n" + .'- **PrivateZone**'."\n" + .'- **Custom** (default)', 'type' => 'string', 'required' => true, 'example' => 'Custom', 'title' => ''], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], - [ - 'errorCode' => 'ErrorInstanceNotPostpay', - 'errorMessage' => 'instance is not postpay', - ], - [ - 'errorCode' => 'ErrorInstanceNotInDB', - 'errorMessage' => 'no instance for process in db', - ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"95CA5E2B-E5FB-5838-BC50-6A2C763C****\\",\\n \\"IsEnabledProtection\\": false,\\n \\"IsOpenButDisabled\\": false,\\n \\"DisabledDays\\": 6,\\n \\"DisabledType\\": \\"nat\\"\\n}","type":"json"}]', - ], - 'DescribePostpayTrafficTotal' => [ - 'summary' => 'Queries the total volume of traffic that is billed based on the pay-as-you-go billing method, including all firewalls within the current account.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The VPC instance ID.', 'type' => 'string', 'required' => true, 'example' => 'vpc-uf6b5lyul0x******', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '183500', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', + [ + 'name' => 'PrimaryVSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the primary vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6b0dkyryer8******'."\n", 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'StandbyVSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the standby vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'vsw-8vb6jk75wfcwn******'."\n", 'title' => ''], + ], + [ + 'name' => 'PrimaryVSwitchIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the primary vSwitch.', 'type' => 'string', 'required' => false, 'example' => '10.1.1.1'."\n", 'title' => ''], + ], + [ + 'name' => 'StandbyVSwitchIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the standby vSwitch.', 'type' => 'string', 'required' => false, 'example' => '10.2.2.2', 'title' => ''], + ], + [ + 'name' => 'IpProtocol', 'in' => 'query', + 'schema' => ['description' => 'The IP protocol. Valid values:'."\n" + .'- **TCP**'."\n" + .'- **UDP**', 'type' => 'string', 'required' => false, 'example' => 'UDP', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The port number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'FirewallType', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'description' => 'The type of cloud firewall. Valid values:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', + 'type' => 'array', + 'items' => ['description' => 'The type of cloud firewall. Valid values:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "internet",'."\n" + .' "vpc",'."\n" + .' "nat"'."\n" + .']', 'title' => ''], + 'required' => true, + 'maxItems' => 3, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'PrimaryDns', + 'in' => 'query', + 'schema' => ['description' => 'The primary DNS.', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', 'title' => ''], + ], + [ + 'name' => 'StandbyDns', + 'in' => 'query', + 'schema' => ['description' => 'The standby DNS.', 'type' => 'string', 'required' => false, 'example' => '1.1.1.2', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalAssets' => [ - 'title' => '总数', - 'description' => 'The total number of assets protected all types of firewalls.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '826B6280-9704-5643-97B1-6B47AC3F027A', - ], - 'TotalTraffic' => [ - 'description' => 'The total volume of traffic. If you use Cloud Firewall that uses the subscription billing method, this parameter indicates the total volume of burstable protected traffic. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalNatAssets' => [ - 'description' => 'The total number of assets protected by NAT firewalls.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalNatTraffic' => [ - 'description' => 'The total traffic for NAT firewalls. If you use Cloud Firewall that uses the subscription billing method, this parameter indicates the total volume of burstable protected traffic on the NAT boundary. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '560646279', - ], - 'TotalVpcAssets' => [ - 'description' => 'The total number of assets protected by virtual private cloud (VPC) firewalls.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'TotalVpcTraffic' => [ - 'description' => 'The total traffic for VPC firewalls. If you use Cloud Firewall that uses the subscription billing method, this parameter indicates the total volume of burstable protected traffic on the VPC boundary. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalInternetAssets' => [ - 'description' => 'The total number of assets protected by the Internet firewall.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '128', - ], - 'TotalInternetTraffic' => [ - 'description' => 'The total traffic for the Internet firewall. If you use Cloud Firewall that uses the subscription billing method, this parameter indicates the total volume of burstable protected traffic on the Internet boundary. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalBillTraffic' => [ - 'description' => 'The volume of burstable protected traffic for which fees are generated. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalSdlFreeTraffic' => [ - 'type' => 'integer', - 'format' => 'int64', - 'description' => 'Data Leak Detection Total free usage traffic.', - 'example' => '0', - ], - 'TotalSdlBillTraffic' => [ - 'type' => 'integer', - 'format' => 'int64', - 'description' => 'Data Leak Detection Total Fee Flow.', - 'example' => '22879916142', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '850A84D6************00090125EEB1'], + 'AccessInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'pd-12345', 'title' => ''], + 'TaskId' => ['description' => 'The task ID, which is the unique identifier of the task.', 'type' => 'string', 'example' => '132', 'title' => ''], ], - 'description' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorNotPostpayUser', - 'errorMessage' => 'not Postpay User.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorPrivateDnsType', 'errorMessage' => 'private dns type error.', 'description' => 'Private DNS type error'], + ['errorCode' => 'ErrorPrivateDnsPrivateZoneConfigure', 'errorMessage' => 'private dns parameter error.', 'description' => 'Private DNS configuration parameter error'], + ['errorCode' => 'ErrorVswitchId', 'errorMessage' => 'vswitch id error.', 'description' => 'Switch Error'], + ['errorCode' => 'ErrorVswitchIpAddress', 'errorMessage' => 'vswitch ip error.', 'description' => 'Switch IP Error'], + ['errorCode' => 'ErrorPrivateDnsIpAddress', 'errorMessage' => 'private dns ip address error.', 'description' => 'Private DNS IP Error'], + ['errorCode' => 'ErrorVswitchNoAvailableIP', 'errorMessage' => 'the vswitch has no available ip.', 'description' => 'No IP available for the specified switch'], + ['errorCode' => 'ErrorVfwVpcNoAvailable', 'errorMessage' => 'the vpc is cloud firewall vpc, please reselect vpc.', 'description' => 'The specified VPC is automatically created by Cloud Firewall. Select a new VPC.'], + ['errorCode' => 'ErrorProxyVswitchNoAvailable', 'errorMessage' => 'the vswitch is cloud firewall vswitch, please reselect vswitch.', 'description' => 'The specified switch is a switch automatically created by the NAT firewall, please reselect the switch'], + ['errorCode' => 'ErrorFirewallTypeDuplicates', 'errorMessage' => 'firewallType duplicates.', 'description' => 'Private DNS endpoint already exists for selected firewall boundary'], + ['errorCode' => 'ErrorPrivateDnsIpSame', 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', 'description' => 'The primary and secondary IP addresses of a private DNS cannot be the same.'], + ['errorCode' => 'ErrorPrivateDnsEndpointQuotaExceeded', 'errorMessage' => 'Private DNS endpoint resource exceeds the quota limit.', 'description' => 'The resources of the private network DNS synchronization node exceed the quota limit.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalAssets\\": 132,\\n \\"RequestId\\": \\"826B6280-9704-5643-97B1-6B47AC3F027A\\",\\n \\"TotalTraffic\\": 2320274874426,\\n \\"TotalNatAssets\\": 1,\\n \\"TotalNatTraffic\\": 560646279,\\n \\"TotalVpcAssets\\": 3,\\n \\"TotalVpcTraffic\\": 2320274874426,\\n \\"TotalInternetAssets\\": 128,\\n \\"TotalInternetTraffic\\": 2320274874426,\\n \\"TotalBillTraffic\\": 2320274874426,\\n \\"TotalSdlFreeTraffic\\": 0,\\n \\"TotalSdlBillTraffic\\": 0\\n}","type":"json"}]', - 'title' => 'DescribePostpayTrafficTotal', - 'description' => 'You can call this operation to query statistics of the current Cloud Firewall from the date of purchase.'."\n", - ], - 'DescribePostpayTrafficDetail' => [ - 'summary' => 'Queries the details of traffic billed based on the pay-as-you-go billing method.', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreatePrivateDnsEndpoint', + 'description' => 'Creates a private DNS endpoint for traffic that passes through the NAT Firewall to allow, deny, or monitor the traffic.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreatePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"TaskId\\": \\"132\\"\\n}","type":"json"}]', + ], + 'CreateSecurityProxy' => [ + 'summary' => 'Creates a NAT firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '183328', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68127', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Default value: 10. Maximum value: 50.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The language of the content within the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'ProxyName', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The name of the NAT firewall. The name can contain uppercase and lowercase letters, Chinese characters, digits, and underscores (_). The name must be 4 to 50 characters in length and cannot start with an underscore.', 'type' => 'string', 'required' => true, 'example' => 'nat-firewall', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'title' => '任务类型', - 'description' => 'The beginning of the time range to query. Specify a value in the YYYYMMDD format.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '20230101', - ], + 'schema' => ['description' => 'The region ID of the VPC.'."\n" + ."\n" + .'> For more information about the regions supported by Cloud Firewall, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. Specify a value in the YYYYMMDD format.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '20230130', - ], + 'schema' => ['description' => 'The VPC-connected instance ID.', 'type' => 'string', 'required' => true, 'example' => 'vpc-uf6b5lyul0x******', 'title' => ''], ], [ - 'name' => 'SearchItem', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID or the IP address of the asset.', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-bp1okz6k7******', 'title' => ''], ], [ - 'name' => 'TrafficType', + 'name' => 'VswitchAuto', 'in' => 'query', - 'schema' => [ - 'description' => 'The traffic type. This parameter is required. Valid values:'."\n" - ."\n" - .'* **EIP_TRAFFIC**: traffic for the Internet firewall.'."\n" - .'* **NatGateway_TRAFFIC**: traffic for NAT firewalls.'."\n" - .'* **VPC_TRAFFIC**: traffic for virtual private cloud (VPC) firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'EIP_TRAFFIC', - ], + 'schema' => ['description' => 'Specifies whether to use the automatic vSwitch mode. Valid values:'."\n" + .'- **true**: automatic mode'."\n" + .'- **false**: manual mode.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'Order', + 'name' => 'VswitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'The field based on which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* **resourceId**'."\n" - .'* **trafficDay**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'resourceId', - ], + 'schema' => ['description' => 'The vSwitch ID. This parameter is required when the vSwitch is in manual mode.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1sqg9w******', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'NatRouteEntryList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '0525EADE-C112-5702-A5BC-0E2F6F94DB23', - ], - 'TrafficList' => [ - 'description' => 'The statistics on traffic.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TrafficDay' => [ - 'description' => 'The date on which the statistics are collected.'."\n", - 'type' => 'string', - 'example' => '20231001', - ], - 'TrafficType' => [ - 'description' => 'The traffic type. Valid values:'."\n" - ."\n" - .'* **EIP_TRAFFIC**: traffic for the Internet firewall'."\n" - .'* **NatGateway_TRAFFIC**: traffic for NAT firewalls'."\n" - .'* **VPC_TRAFFIC**: traffic for VPC firewalls'."\n", - 'type' => 'string', - 'example' => 'EIP_TRAFFIC', - ], - 'InstanceId' => [ - 'description' => 'The instance ID of the asset.'."\n", - 'type' => 'string', - 'example' => 'i-8vb2d7c9mtn0bo9qcraq', - ], - 'ResourceId' => [ - 'description' => 'The resource ID. The resource ID for the Internet firewall is the public IP address that is protected the Internet firewall, and the resource ID for a NAT firewall is the instance ID of the NAT firewall.'."\n", - 'type' => 'string', - 'example' => '39.106.146.214', - ], - 'InstanceType' => [ - 'description' => 'The asset type. This value takes effect only for the Internet firewall.'."\n", - 'type' => 'string', - 'example' => 'EcsPublicIP', - ], - 'TotalBytes' => [ - 'description' => 'The total inbound and outbound network throughput, which indicates the total number of bytes that are received and sent. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1215096939', - ], - 'InBytes' => [ - 'description' => 'The inbound network throughput, which indicates the total number of bytes that are received Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1115096939', - ], - 'OutBytes' => [ - 'description' => 'The outbound network throughput, which indicates the total number of bytes that are sent. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000000', - ], - 'ProtectionDuration' => [ - 'description' => 'Protection duration. Unit: hours.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'RegionNo' => [ - 'description' => 'The region ID.', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], + 'description' => 'The list of routes to be switched for the NAT gateway.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of destination addresses for security protection.', + 'type' => 'object', + 'properties' => [ + 'NextHopId' => ['description' => 'The next hop address of the original NAT gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-bp1okz6******', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the default route.', 'type' => 'string', 'required' => true, 'example' => '0.0.0.0/0', 'title' => ''], + 'NextHopType' => ['description' => 'The network type of the next hop. Valid values: NatGateway.', 'type' => 'string', 'required' => true, 'example' => 'NatGateway', 'title' => ''], + 'RouteTableId' => ['description' => 'The route table that contains the default route of the NAT gateway.', 'type' => 'string', 'required' => true, 'example' => 'vtb-2ze1******', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorNotPostpayUser', - 'errorMessage' => 'not Postpay User.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'required' => true, + 'maxItems' => 10000, + 'title' => '', + 'example' => '', ], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"0525EADE-C112-5702-A5BC-0E2F6F94DB23\\",\\n \\"TrafficList\\": [\\n {\\n \\"TrafficDay\\": \\"20231001\\",\\n \\"TrafficType\\": \\"EIP_TRAFFIC\\",\\n \\"InstanceId\\": \\"i-8vb2d7c9mtn0bo9qcraq\\",\\n \\"ResourceId\\": \\"39.106.146.214\\",\\n \\"InstanceType\\": \\"EcsPublicIP\\",\\n \\"TotalBytes\\": 1215096939,\\n \\"InBytes\\": 1115096939,\\n \\"OutBytes\\": 100000000,\\n \\"ProtectionDuration\\": 20,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribePostpayTrafficDetail', - 'description' => 'If you use Cloud Firewall that uses the pay-as-you-go billing method, you can call this operation to query traffic details accurate to the granularity of specific resource instances. If you use Cloud Firewall that uses the subscription billing method, you can call this operation to query the overall traffic details.'."\n", - ], - 'DescribePostpayUserInternetStatus' => [ - 'summary' => 'Queries the status of the Internet Firewall feature in Cloud Firewall that uses the pay-as-you-go billing method.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'FirewallSwitch', + 'in' => 'query', + 'schema' => ['description' => 'The security protection switch. Valid values:'."\n" + .'- **open**: enabled'."\n" + .'- **close**: disabled.', 'type' => 'string', 'required' => false, 'example' => 'close', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '205830', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - 'FEATUREcfwATUJ57', + [ + 'name' => 'StrictMode', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable strict mode.'."\n" + ."\n" + .'- 1: Enable strict mode.'."\n" + .'- 0: Disable strict mode.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'VswitchCidr', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', - ], + 'schema' => ['description' => 'The CIDR block of the vSwitch. This parameter is required when the vSwitch is in automatic mode.', 'type' => 'string', 'required' => false, 'example' => '0.0.0.0/0', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'FwVswitchZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['title' => '', 'description' => 'The zone of the firewall vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing-b'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-*****', - ], - 'Status' => [ - 'description' => 'The status of the Internet Firewall feature. Valid values:'."\n" - ."\n" - .'* **open**: enabled'."\n" - .'* **init**: being enabled'."\n" - .'* **closed**: disabled'."\n", - 'type' => 'string', - 'example' => 'open', - ], - 'UnprotectedDate' => [ - 'description' => 'The number of days during which no asset is added to the Internet Firewall feature for protection. This parameter is valid only when the value of Status is open.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'ProxyId' => ['description' => 'The NAT firewall ID.', 'type' => 'string', 'example' => 'proxy-nat97a******', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParamProxyNameError', 'errorMessage' => 'proxy name invalid.', 'description' => 'Invalid NAT firewall name.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => 'The specified region is invalid. Enter another value.'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'The VPC is incorrectly selected. Select another VPC.'], + ['errorCode' => 'ErrorDnatNotSupport', 'errorMessage' => 'Secure proxy does not support DNAT entries.', 'description' => 'NAT firewall does not support DNAT.'], + ['errorCode' => 'ErrorProxySnatIpEmpty', 'errorMessage' => 'SNAT entry is empty.', 'description' => 'SNAT entry is empty.'], + ['errorCode' => 'ErrorSnatIpQuotaExceed', 'errorMessage' => 'The number of SNAT IP exceeds the specification.', 'description' => 'The number of NAT Gateway EIPs exceeds the specifications supported by a single NAT firewall.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDefaultRouteConflicts', 'errorMessage' => 'Default route conflicts.', 'description' => 'A default route already exists in the routing table bound to the selected switch.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => 'Failed to call the VPC API.'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'The vSwitch does not exist. Select another vSwitch.'], + ['errorCode' => 'ErrorProxyRouteEntryConflicts', 'errorMessage' => 'Proxy custom route table Nat Gateway and Attachment route entry conflict.', 'description' => 'The custom route table of the NAT gateway has a route entry with the next hop of NatGateway and Attachment.'], + ['errorCode' => 'ErrorVswitchNoAvailableCidr', 'errorMessage' => 'No available CIDR to create a vswitch.', 'description' => 'There is no free CIDR block in the VPC to create a VSwitch.'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Network segment CIDR format error, please select again', 'description' => 'The format of the specified CIDR block is invalid. Enter another value.'], + ['errorCode' => 'ErrorInternal', 'errorMessage' => 'internal error', 'description' => 'An internal error occurred.'], + ['errorCode' => 'ErrorVswitchCidrNotInVpc', 'errorMessage' => 'Vswitch CIDR address not in vpc.', 'description' => 'The CIDR block address of the switch does not belong to the current VPC.'], + ['errorCode' => 'ErrorVswitchRouteConflict', 'errorMessage' => 'vswitch route conflict.', 'description' => 'The entered VSwitch CIDR block conflicts with the existing VSwitch CIDR block.'], + ['errorCode' => 'ErrorVswitchCidrIpNumNotEnough', 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', 'description' => 'The firewall switch does not have enough private IP addresses.'], + ['errorCode' => 'ErrorRouteEntryNotFound', 'errorMessage' => 'route entry not found.', 'description' => 'The route entry does not exist.'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => 'The user does not exist.'], + ['errorCode' => 'ErrorProxyVpcNotSupportAdvFeature', 'errorMessage' => 'This vpc advanced feature is not supported.', 'description' => 'The VPC contains ECS instances that do not support advanced features of VPC.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorProxyNumQuotaTop', 'errorMessage' => 'Proxy num reaches maximum.', 'description' => 'Insufficient quota.'], + ['errorCode' => 'ErrorProxyClusterNotAvailable', 'errorMessage' => 'Can not find available cluster for nat firewall.', 'description' => 'Failed to assign cluster for nat firewall.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => 'Cloud Firewall instance specifications are full.'], + ['errorCode' => 'ErrorNatVpnRouteEntryQuotaLimit', 'errorMessage' => 'The number of VPN routes has reached the quota.', 'description' => 'VPN route arrival specification limit'], + ['errorCode' => 'ErrorVpcRouteTableQuotaLimit', 'errorMessage' => 'The number of VPC routing tables has reached the specification limit.', 'description' => 'The number of VPC route tables reaches the maximum specification'], + ['errorCode' => 'ErrorNatCustomRouteEntryDifferent', 'errorMessage' => 'The custom route entries in the routing tables are inconsistent.', 'description' => 'The custom route entries in the routing tables are inconsistent.'], + ['errorCode' => 'ErrorSnatEntryQuotaExceed', 'errorMessage' => 'SNAT entry quota exceeded.', 'description' => 'The number of SNAT entries reaches the specification limit'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProxyId\\": \\"proxy-nat97a******\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\"\\n}","type":"json"}]', + 'title' => 'Create a NAT firewall', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSecurityProxy'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', - 'title' => 'DescribePostpayUserInternetStatus', ], - 'DescribePostpayUserNatStatus' => [ - 'summary' => 'Queries the status of the NAT Firewall feature in Cloud Firewall that use the pay-as-you-go billing method.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateSlsLogDispatch' => [ + 'summary' => 'Creates a log delivery configuration for Cloud Firewall to Simple Log Service (SLS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '200722', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - 'FEATUREcfwATUJ57', - ], + 'abilityTreeCode' => '214748', + 'abilityTreeNodes' => ['FEATUREcfwG8G31D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', - ], + 'name' => 'SlsRegionId', + 'in' => 'formData', + 'schema' => ['description' => 'The SLS region ID.', 'type' => 'string', 'required' => false, 'example' => 'ap-southeast-1', 'title' => ''], ], [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'name' => 'Ttl', + 'in' => 'formData', + 'schema' => ['description' => 'The storage duration of logs. Unit: days.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '6B780BD6-282C-51A9-A8E6-59F636******', - ], - 'Status' => [ - 'description' => 'The status of the NAT Firewall feature. Valid values:'."\n" - ."\n" - .'* **open**: enabled'."\n" - .'* **init**: being enabled'."\n" - .'* **closed**: disabled'."\n", - 'type' => 'string', - 'example' => 'open', - ], - 'UnprotectedDate' => [ - 'description' => 'The number of days during which no asset is added to the NAT Firewall feature for protection. This parameter is valid only when the value of Status is open.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '850A84D6************00090125EEB1'], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', - 'title' => 'DescribePostpayUserNatStatus', - ], - 'DescribePostpayUserVpcStatus' => [ - 'summary' => 'Queries the status of the virtual private cloud (VPC) Firewall feature in Cloud Firewall that uses the pay-as-you-go billing method.', - 'methods' => [ - 'get', + 'title' => 'Create Cloud firewall SLS log delivery', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlsLogDispatch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSlsLogDispatch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\"\\n}","type":"json"}]', + ], + 'CreateTrFirewallV2' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '224805', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '142851', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-************', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'FirewallName', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The name of the firewall.', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-test', 'title' => ''], ], - ], + [ + 'name' => 'RouteMode', + 'in' => 'query', + 'schema' => ['description' => 'The routing mode. Valid values:'."\n" + ."\n" + .'- **managed**: automatic mode'."\n" + ."\n" + .'- **manual**: manual mode', 'type' => 'string', 'required' => false, 'example' => 'managed', 'title' => ''], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the transit router instance.', 'type' => 'string', 'required' => false, 'example' => 'tr-m5etmb2q7e0mxcur****', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the transit router instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'FirewallVpcCidr', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block of the firewall VPC in automatic mode.', 'type' => 'string', 'required' => false, 'example' => '10.0.0.0/16', 'title' => ''], + ], + [ + 'name' => 'FirewallSubnetCidr', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block of the vSwitch in the firewall VPC that hosts the firewall\'s elastic network interface (ENI). This parameter applies only in automatic mode.', 'type' => 'string', 'required' => false, 'example' => '10.0.1.0/24', 'title' => ''], + ], + [ + 'name' => 'TrAttachmentSlaveCidr', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block of the secondary vSwitch used to connect to the transit router. This parameter applies only in automatic mode.', 'type' => 'string', 'required' => false, 'example' => '10.0.0.16/28', 'title' => ''], + ], + [ + 'name' => 'TrAttachmentMasterCidr', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block of the primary vSwitch used to connect to the transit router. This parameter applies only in automatic mode.', 'type' => 'string', 'required' => false, 'example' => '10.0.3.0/24', 'title' => ''], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Cloud Enterprise Network (CEN) instance.', 'type' => 'string', 'required' => false, 'example' => 'cen-4xbjup276au29r****', 'title' => ''], + ], + [ + 'name' => 'FirewallDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the firewall.', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-description', 'title' => ''], + ], + [ + 'name' => 'FirewallVpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC where the firewall ENI is created. This parameter applies only in manual mode.', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9r5qvryn0lg3atb****', 'title' => ''], + ], + [ + 'name' => 'FirewallVswitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch where the firewall ENI is created. This parameter applies only in manual mode.', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6ydz3vqj77mr5l6****', 'title' => ''], + ], + [ + 'name' => 'TrAttachmentSlaveZone', + 'in' => 'query', + 'schema' => ['description' => 'The secondary zone for the vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu-b', 'title' => ''], + ], + [ + 'name' => 'TrAttachmentMasterZone', + 'in' => 'query', + 'schema' => ['description' => 'The primary zone for the vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu-a', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '7447795A-39AB-52CB-8F92-128DF******', - ], - 'Status' => [ - 'description' => 'The status of the VPC Firewall feature. Valid values:'."\n" - ."\n" - .'* **open**: enabled'."\n" - .'* **init**: being enabled'."\n" - .'* **closed**: disabled'."\n", - 'type' => 'string', - 'example' => 'open', - ], - 'UnprotectedDate' => [ - 'description' => 'The number of days during which no asset is added to the VPC Firewall feature for protection. This parameter is valid only when the value of Status is open.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'FirewallId' => ['description' => 'The ID of the VPC firewall instance.', 'type' => 'string', 'example' => 'vfw-tr-37e22bf0d9b34870****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '822B9125-6E1A-551C-8EAF-6E7AE7444B00', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorTrResourceNotReady', 'errorMessage' => 'Transit Router has not been detected by cloud firewall', 'description' => ''], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorUserCenTrNotEnabled', 'errorMessage' => 'This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team.', 'description' => 'This account does not support CEN Enterprise Edition Cloud Firewall for the time being. Please contact the Cloud Firewall service team to add white before operation.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorCenTRAssociationNotFound', 'errorMessage' => 'CEN-TR attachment association not found.', 'description' => 'CEN-TR attachment association not found.'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => 'The user does not exist.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'description' => 'VPC firewalls do not support the CEN-TR automatic mode.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => 'The firewall is already configured and cannot be configured repeatedly.'], + ['errorCode' => 'ErrorInvalidTrFirewallType', 'errorMessage' => 'Firewall type is invalid.', 'description' => 'The firewall type cannot be identified.'], + ['errorCode' => 'ErrorVpcDoNotSupportSubnetRouting', 'errorMessage' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.', 'description' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.'], + ['errorCode' => 'ErrorVpcAndTrNotInTheSameAccount', 'errorMessage' => 'Vpc and transit router should in the account when create cloud firewall manual mode.', 'description' => 'When creating a cloud firewall in the cloud enterprise network manual mode, the VPC and forwarding router configured for the firewall must be under the same account.'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Network segment CIDR format error, please select again', 'description' => 'The format of the specified CIDR block is invalid. Enter another value.'], + ['errorCode' => 'ErrorVswitchCidrIpNumNotEnough', 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', 'description' => 'The firewall switch does not have enough private IP addresses.'], + ['errorCode' => 'ErrorTrFwVswCidrConflict', 'errorMessage' => 'Illegal tr firewall cidr configuration.', 'description' => 'Tr firewall configuration network segment is invalid.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorVpcFirewallZoneId', 'errorMessage' => 'VPC firewall zone error.', 'description' => 'VPC firewall zone selection error'], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => 'The status of the member account is invalid. This operation is not supported.'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => 'Cloud Firewall instance specifications are full.'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'The quota for VPC firewalls is exceeded.', 'description' => 'The quota is insufficient. You cannot configure the VPC firewall. Increase the quota.'], + ['errorCode' => 'ErrorUserNotEnableTrService', 'errorMessage' => 'The user has not open transit router service.', 'description' => 'The forwarding router service is not enabled'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', - 'title' => 'DescribePostpayUserVpcStatus', - ], - 'UpdatePostpayUserInternetStatus' => [ - 'summary' => 'Updates the status of the NAT firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.', - 'methods' => [ - 'get', - 'post', + 'title' => 'CreateTrFirewallV2', + 'summary' => 'Creates a VPC firewall for a transit router.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallId\\": \\"vfw-tr-37e22bf0d9b34870****\\",\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE7444B00\\"\\n}","type":"json"}]', + ], + 'CreateTrFirewallV2RoutePolicy' => [ + 'summary' => 'Create a TR firewall routing rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205829', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '142852', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', - ], + 'schema' => ['description' => 'The language type for receiving messages. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Operate', + 'name' => 'PolicyType', + 'in' => 'query', + 'schema' => ['description' => 'The traffic redirection scenario type for the VPC border firewall with Cloud Enterprise Network Enterprise Edition. Valid values:'."\n" + ."\n" + .'- **fullmesh**: Multi-point interconnection'."\n" + ."\n" + .'- **one_to_one**: Point-to-point'."\n" + ."\n" + .'- **end_to_end**: Point-to-multipoint', 'type' => 'string', 'required' => false, 'example' => 'fullmesh', 'title' => ''], + ], + [ + 'name' => 'PolicyName', + 'in' => 'query', + 'schema' => ['description' => 'The traffic redirection name.', 'type' => 'string', 'required' => false, 'example' => 'Singapore Point to Multipoint', 'title' => ''], + ], + [ + 'name' => 'PolicyDescription', + 'in' => 'query', + 'schema' => ['description' => 'The traffic redirection description.', 'type' => 'string', 'required' => false, 'example' => 'Singapore Point to Multipoint', 'title' => ''], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The VPC border firewall instance ID.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-f8ce36689b224f77****', 'title' => ''], + ], + [ + 'name' => 'SrcCandidateList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The operation type.'."\n" - ."\n" - .'* Set the value to open.'."\n", - 'type' => 'string', + 'description' => 'The list of primary traffic redirection instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'The traffic redirection instance.', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => 'The ID of the traffic redirection instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4sha****', 'title' => ''], + 'CandidateType' => ['description' => 'The type of the traffic redirection instance.', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'open', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'DestCandidateList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', + 'description' => 'The list of secondary traffic redirection instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'The secondary traffic redirection instance.', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => 'The ID of the traffic redirection instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4sha****', 'title' => ''], + 'CandidateType' => ['description' => 'The type of the traffic redirection instance.', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'zh', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-000901******', - ], + 'TrFirewallRoutePolicyId' => ['description' => 'The firewall routing policy ID.', 'type' => 'string', 'example' => 'policy-8ebed27e13e14ce2****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID of the returned result.', 'type' => 'string', 'example' => 'C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorPolicySrcAndDestConflict', 'errorMessage' => 'Policy has same destination candidate as source candidtes.', 'description' => 'The main drainage instance conflicts with the sub-drainage instance in the drainage template.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorTrFirewallEndToEndTrToAll', 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', 'description' => 'Parameter error. In point-to-multipoint scenarios, the TR instance does not support ALL configuration.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorCandidateNoRouteTable', 'errorMessage' => 'Please attach candidate with transit router before create routing template.', 'description' => 'Before creating a drainage template, bind the drainage instance to a routing table of a forwarding router.'], + ['errorCode' => 'ErrorTrFirewallRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has route map conflict.', 'description' => 'The CEN routing table and the cloud firewall have routing policy conflicts.'], + ['errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', 'description' => 'if a routing policy of the old version of cen enterprise edition with a priority of 5000 exists, contact after-sales service to update the routing policy.'], + ['errorCode' => 'ErrorCandidateHasStaticRoute', 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', 'description' => 'There are custom routes in the routing table of the forwarding router bound to the drainage instance. Cloud Firewall does not support this type of drainage instance. Delete the corresponding route and try again.'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => 'The firewall cannot be operated. The firewall is in an updated state. Please check whether any drainage templates are being created, deleted, updated, opened or closed.'], + ['errorCode' => 'ErrorDuplicateTrFwPolicyName', 'errorMessage' => 'Duplicate firewall policy Name.', 'description' => 'Duplicate drainage scene name.'], + ['errorCode' => 'ErrorCandidateAlreadyInToALlPolicy', 'errorMessage' => 'Candidate already in to aLl policy.', 'description' => 'a drainage instance already exists in a drainage template with type all.'], + ['errorCode' => 'ErrorFirewallCandidateReference', 'errorMessage' => 'Firewall Candidate referrence count greater than one.', 'description' => 'Drainage instances exist in multiple drainage scenarios.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', 'description' => 'TR firewall cannot only contain both ECR and TR.'], + ['errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', 'errorMessage' => 'Cen TR firewall do not support prefix list.', 'description' => 'Cloud Firewall of CEN Enterprise Edition does not support prefix lists.'], + ['errorCode' => 'ErrorTrFirewallEcmpRoute', 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', 'description' => 'The next hop of the CEN medium-price route must be added to the cloud firewall drainage scenario at the same time.'], + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => ''], + ['errorCode' => 'ErrorCrossRegionCloudServiceStaticRoute', 'errorMessage' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.', 'description' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.'], + ['errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', 'errorMessage' => 'There are routes conflict in transit router route table. Please resolve route conflict before create route policy.', 'description' => 'There is a routing conflict in the routing table of the forwarding router. Resolve the routing conflict before creating a firewall drainage scenario.'], + ['errorCode' => 'ErrorCandidateHasIPv6Route', 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', 'description' => 'Cloud Enterprise Network TR Enterprise Firewall does not support Ipv6 routing'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-000901******\\"\\n}","type":"json"}]', - 'title' => 'UpdatePostpayUserInternetStatus', - ], - 'UpdatePostpayUserNatStatus' => [ - 'summary' => 'Updates the status of the NAT Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.', - 'methods' => [ - 'get', - 'post', + 'title' => 'Create TR firewall routing rule', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2RoutePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2RoutePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-8ebed27e13e14ce2****\\",\\n \\"RequestId\\": \\"C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D\\"\\n}","type":"json"}]', + ], + 'CreateVpcFirewallCenConfigure' => [ + 'summary' => 'Creates a virtual private cloud (VPC) firewall to protect traffic between network instances in a Cloud Enterprise Network (CEN) instance and a specified VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '200723', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68133', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-************', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Operate', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => 'The operation type.'."\n" - ."\n" - .'* Set the value to open.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => 'The instance name of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'required' => true, 'example' => 'vpc-firewall-test', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'NetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance ID of the VPC-connected instance for which you want to create a virtual private cloud (VPC) firewall.', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp10zlifxh6j0232w****', 'title' => ''], + ], + [ + 'name' => 'VpcRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the VPC for which you want to create a virtual private cloud (VPC) firewall.'."\n" + ."\n" + .'> For more information about the regions supported by Cloud Firewall, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'FirewallSwitch', + 'in' => 'query', + 'schema' => ['description' => 'Settings for the virtual private cloud (VPC) firewall switch status. Valid values:'."\n" + ."\n" + .'- **open** (default): The VPC firewall is automatically enabled after you create a VPC firewall.'."\n" + .'- **close**: The VPC firewall is not automatically enabled after you create a VPC firewall. You can invoke the [ModifyVpcFirewallCenSwitchStatus](~~345780~~) operation to enable the VPC firewall.', 'type' => 'string', 'required' => true, 'example' => 'open', 'title' => ''], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the CEN instance.', 'type' => 'string', 'required' => true, 'example' => 'cen-x5jayxou71ad73****', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account of the current Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch to which the Cloud Firewall interface belongs.', 'type' => 'string', 'required' => false, 'example' => 'vsw-qzeaol304m***', 'title' => ''], + ], + [ + 'name' => 'FirewallVpcCidrBlock', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block of the VPC used by the firewall. Specify a CIDR block with a subnet mask of no more than 28 bits. This CIDR block is allocated to the VPC that is created during the procedure to create a VPC firewall (Cloud_Firewall_VPC) for automatic creation of the firewall security VPC for traffic redirection.'."\n" + ."\n" + .'If you leave this parameter empty, the default CIDR block 10.0.0.0/8 is automatically assigned.'."\n" + ."\n" + .'> This parameter takes effect only when a VPC firewall is created for the first time in the local region of the CEN instance.', 'type' => 'string', 'required' => false, 'example' => '10.0.0.0/8', 'title' => ''], + ], + [ + 'name' => 'FirewallVpcZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the primary zone of the firewall. If your business is latency-sensitive, set this parameter to the same zone as the vSwitch of the business VPC to reduce latency.'."\n" + ."\n" + .'If you leave this parameter empty, a default active zone is automatically allocated.'."\n" + ."\n\n" + ."\n" + .'> This parameter takes effect only when you create a VPC firewall for the first time in the local region of the CEN instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-a', 'title' => ''], + ], + [ + 'name' => 'FirewallVSwitchCidrBlock', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block of the vSwitch used by the firewall. Specify a CIDR block with a subnet mask of no more than 29 bits that does not conflict with your network planning. This CIDR block is allocated to the vSwitch during the procedure for automatic creation of the firewall security VPC (Cloud_Firewall_VSWITCH) for traffic redirection. The vSwitch CIDR block must be a subnet of the firewall VPC CIDR block.'."\n" + ."\n" + .'If you leave this parameter empty, the default CIDR block 10.219.219.216/29 is automatically assigned.'."\n" + ."\n" + .'> This parameter takes effect only when you create a VPC firewall for the first time in the local region of the CEN instance.', 'type' => 'string', 'required' => false, 'example' => '10.0.*.*/28', 'title' => ''], + ], + [ + 'name' => 'FirewallVpcStandbyZoneId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the secondary zone of the firewall. The firewall performs an automatic switchover to the secondary zone to continue running only when the primary zone becomes unavailable.'."\n" + ."\n" + .'If you leave this parameter empty, a default active secondary zone is automatically allocated.'."\n" + ."\n\n" + ."\n" + .'> This parameter takes effect only when you create a VPC firewall for the first time in the local region of the CEN instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-b', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090******', - ], + 'VpcFirewallId' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', 'description' => 'The firewall is configured and cannot be repeatedly created.'], + ['errorCode' => 'ErrorVpcId', 'errorMessage' => 'The VPC ID is invalid.', 'description' => 'The VPC ID is invalid.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'The region is invalid.', 'description' => 'The region is invalid.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', 'description' => 'The specified VPC firewall does not exist. Enter another value.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorCenVbrNotSupport', 'errorMessage' => '云企业网vbr不支持开防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenNotSupportCCN', 'errorMessage' => 'VPC防火墙云企业网CCN实例, 不支持开启VPC防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenNotSupportMultipleAccounts', 'errorMessage' => 'The current version of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect Cloud Enterprise Network. Upgrade the specifications and try again.', 'description' => 'The current edition of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect CEN. Upgrade the specifications and try again.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => 'The status of the firewall is invalid. Try again later.'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'quota is not enough, unable to configure VPC firewall, please increase quota first.', 'description' => ''], + ['errorCode' => 'ErrorHubvpcCannotCreate', 'errorMessage' => 'HUB VPC不允许创建防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenVpcEcConflict', 'errorMessage' => 'The VPC of the cloud enterprise network conflicts with the VPC of the high-speed channel, and the firewall cannot be opened. Please select again', 'description' => 'Conflicts occur between the VPC of CEN and the VPC of Express Connect. You cannot enable the firewall. Specify another value.'], + ['errorCode' => 'ErrorRegionNoDisable', 'errorMessage' => 'There are unsupported regions, please reselect', 'description' => 'Some regions are not supported. Specify supported regions.'], + ['errorCode' => 'ErrorCenFirewallVpcNumInvalid', 'errorMessage' => '云企业网vpc数量不足, 无法开启VPC边界防火墙', 'description' => ''], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', 'description' => 'The specified destination CIDR block is invalid. Enter another value.'], + ['errorCode' => 'ErrorVpcCustomRouteTableWithVswitch', 'errorMessage' => 'VPC存在自定义路由表且关联了vswitch, 不允许创建VPC防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'description' => 'VPC firewalls do not support the CEN-TR automatic mode.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => 'Firewall name error, please re-enter.'], + ['errorCode' => 'ErrorFirewallSwitch', 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', 'description' => 'The specified switch of the firewall is invalid. Enter another value.'], + ['errorCode' => 'ErrorNetworkInstanceIdError', 'errorMessage' => 'Network InstanceId ID is invalid', 'description' => 'The ID of the network instance is invalid.'], + ['errorCode' => 'ErrorCenId', 'errorMessage' => 'CEN ID is error', 'description' => 'The ID of the CEN instance is invalid.'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Cidr ip format error.', 'description' => 'CIDR format error, please re-select'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => 'The destination CIDR block is not specified. The firewall cannot be created.'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => 'The account is incorrect, please re-enter.'], + ['errorCode' => 'ErrorCenManualFirewallExist', 'errorMessage' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall in automatic mode.', 'description' => 'This CEN already has a VPC firewall in manual mode. You cannot create a VPC firewall in automatic mode.'], + ['errorCode' => 'ErrorFirewallExistDeleting', 'errorMessage' => 'There is a VPC firewall that is being deleted, and it is not allowed to create.', 'description' => 'The VPC firewall being deleted is not allowed to be created.'], + ['errorCode' => 'ErrorSameCidrIp', 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'description' => 'The CIDR block is already in use. Specify another CIDR block.'], + ['errorCode' => 'ErrorCenRouteMapExist', 'errorMessage' => 'cen route map is exist.', 'description' => 'Creating a VPC perimeter firewall is not allowed RouteMap it already exists. Please contact the cloud firewall after-sales technical support.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorVpcFirewallVpcNumLimit', 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', 'description' => 'The VPC boundary firewall cannot be enabled because of the limited number of VPCs in this region.'], + ['errorCode' => 'ErrorCenExistPublicCidr', 'errorMessage' => 'cen domain route exist public route.', 'description' => 'There is a public network segment in the cloud enterprise network, and the VPC boundary firewall is not supported.'], + ['errorCode' => 'ErrorCenExistTrRoute', 'errorMessage' => 'Cen VPC route exist tr route.', 'description' => 'The VPC in the cloud enterprise network has a route whose next hop is TR, and the VPC boundary firewall is not supported.'], + ['errorCode' => 'ErrorCenTRAssociationCustomRouteTable', 'errorMessage' => 'CEN-TR association custom route table.', 'description' => 'The VPC boundary firewall does not support the custom route table associated with the CEN-TR network instance connection, and the VPC boundary firewall cannot be enabled.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorVpcFirewallZoneId', 'errorMessage' => 'VPC firewall zone error.', 'description' => 'VPC firewall zone selection error'], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => 'The status of the member account is invalid. This operation is not supported.'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => 'Cloud Firewall instance specifications are full.'], + ['errorCode' => 'ErrorFirewallVSwitchCidrConflict', 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', 'description' => 'Firewall switch network segment conflicts with business network segment'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090******\\"\\n}","type":"json"}]', - 'title' => 'UpdatePostpayUserNatStatus', - ], - 'UpdatePostpayUserVpcStatus' => [ - 'summary' => 'Updates the status of the virtual private cloud (VPC) Firewall feature for Cloud Firewall that uses the pay-as-you-go billing method.', - 'methods' => [ - 'get', - 'post', + 'title' => 'Create a VPC firewall', + 'description' => 'This operation is used to create a VPC firewall for VPC-connected instances in a CEN instance. The virtual private cloud (VPC) firewall protects traffic between network instances (including VPCs, virtual border routers (VBRs), and Cloud Connect Networks (CCNs)) in the CEN instance and a specified VPC. The VPC firewall does not protect traffic between VBRs, between CCNs, or between VBRs and CCNs. For more information, see [VPC firewall limits](~~172295~~).'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. Invoke this operation within the limit.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallCenConfigure'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","type":"json"}]', + ], + 'CreateVpcFirewallCenManualConfigure' => [ + 'summary' => 'Manually creates a VPC border firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'write', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '224794', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68134', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-************', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Operate', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => 'The operation type.'."\n" - ."\n" - .'* Set the value to open.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => 'The name of the VPC border firewall.', 'type' => 'string', 'required' => true, 'example' => 'vpc-firewall-test', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the CEN instance.', 'type' => 'string', 'required' => true, 'example' => 'cen-37nddhri7jf0d2****', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch that is used to create the elastic network interface (ENI) of the Cloud Firewall.', 'type' => 'string', 'required' => true, 'example' => 'vsw-qzeaol304m***', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account of Cloud Firewall.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request'."\n", - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8******', - ], + 'VpcFirewallId' => ['description' => 'The ID of the VPC border firewall.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'firewall name invalid', 'description' => 'The name of the firewall is invalid. Enter another value.'], + ['errorCode' => 'ErrorCenId', 'errorMessage' => 'CEN ID is error', 'description' => 'The ID of the CEN instance is invalid.'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'The VPC is incorrectly selected. Select another VPC.'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => 'The user does not exist.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist, please select again.', 'description' => 'The specified VPC firewall does not exist. Enter another value.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8******\\"\\n}","type":"json"}]', - 'title' => 'UpdatePostpayUserVpcStatus', - ], - 'DescribeRegionInfo' => [ - 'summary' => '获取地域信息', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateVpcFirewallCenManualConfigure', + 'description' => 'This operation creates a VPC border firewall for a VPC within a Cloud Enterprise Network (CEN) instance. The VPC border firewall protects traffic between the specified VPC and other network instances that are connected to the CEN instance. These network instances include virtual private clouds (VPCs), virtual border routers (VBRs), and Cloud Connect Network (CCN) instances. The VPC border firewall does not protect traffic between VBRs, between CCN instances, or between VBRs and CCN instances. For more information, see [VPC border firewall limits](~~172295~~).'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled. This can affect your business operations. We recommend that you adhere to this limit.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenManualConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', + ], + 'CreateVpcFirewallConfigure' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68346', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68135', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '59.82.59.XX', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance name of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'required' => true, 'example' => 'test-vpc-firewall', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'LocalVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance ID of the local VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], ], [ - 'name' => 'SourceCode', + 'name' => 'LocalVpcRegion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => 'The region ID of the local VPC.'."\n" + ."\n" + .'> For more information about the regions supported by Cloud Firewall, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '25E655B0-CAED-53D4-8054-F983126****', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - ], - ], - ], - ], - ], + [ + 'name' => 'PeerVpcId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the peer VPC.', 'type' => 'string', 'required' => true, 'example' => 'vpc-wb8vbo90rq0anm6t****', 'title' => ''], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorQueryEcsByUid', - 'errorMessage' => 'An error occurred while querying ECS.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + [ + 'name' => 'PeerVpcRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the peer VPC.'."\n" + .'> For more information about the regions supported by Cloud Firewall, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"DataList\\": [\\n {\\n \\"RegionName\\": \\"上海\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeCtrlInstanceMemberAccounts' => [ - 'summary' => '获取成员账号列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'FirewallSwitch', + 'in' => 'query', + 'schema' => ['description' => 'Settings for the enabling status of the virtual private cloud (VPC) firewall after it is created. Valid values:'."\n" + ."\n" + .'- **open** (default): Protection is automatically enabled after the VPC firewall is created.'."\n" + ."\n" + .'- **close**: Protection is not automatically enabled after the VPC firewall is created. You can invoke the [ModifyVpcFirewallSwitchStatus](~~342935~~) operation to enable protection.', 'type' => 'string', 'required' => true, 'example' => 'open', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68240', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', + [ + 'name' => 'LocalVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block list of the local VPC, in JSON format. This parameter contains the following fields:'."\n" + ."\n" + .'- **RouteTableId**: the route table ID of the local VPC.'."\n" + .'- **RouteEntryList**: specified in JSON format. This field contains DestinationCidr (the destination CIDR block of the local VPC) and NextHopInstanceId (the next hop instance ID of the local VPC).', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', 'title' => ''], + ], + [ + 'name' => 'PeerVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block list of the peer VPC, in JSON format. This parameter contains the following fields:'."\n" + .'- **RouteTableId**: the route table ID of the peer VPC.'."\n" + .'- **RouteEntryList**: specified in JSON format. This field contains DestinationCidr (the destination CIDR block of the peer VPC) and NextHopInstanceId (the next hop instance ID of the peer VPC).', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud member account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9CC69FDA-69F6-585B-9262-A306F425****', - ], - 'InstanceMemberCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'MaxInstanceMemberNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], + 'VpcFirewallId' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => 'Firewall name error, please re-enter.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => 'The firewall is already configured and cannot be configured repeatedly.'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'The VPC is incorrectly selected. Select another VPC.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region invalid.', 'description' => 'Region selection error, please re-enter.'], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The destination CIDR block is invalid.', 'description' => 'The specified destination CIDR block is invalid. Enter another value.'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => 'The destination CIDR block is not specified. The firewall cannot be created.'], + ['errorCode' => 'ErrorSameCidrIp', 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'description' => 'The CIDR block is already in use. Specify another CIDR block.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Cidr ip format error.', 'description' => 'CIDR format error, please re-select'], + ['errorCode' => 'ErrorCidrIpAddress', 'errorMessage' => 'cidr ip error.', 'description' => 'The destination network segment is incorrect, please select again.'], + ['errorCode' => 'ErrorCustomRouteEntryMax', 'errorMessage' => 'custom route exceeds maximum limit.', 'description' => 'The number of target CIDR blocks exceeds the maximum number. Reduce the number of CIDR blocks.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => 'The specified VPC firewall does not exist. Select another one.'], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => 'The status of the member account is invalid. This operation is not supported.'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => 'Cloud Firewall instance specifications are full.'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], + ['errorCode' => 'ErrorCenVpcEcConflict', 'errorMessage' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC.', 'description' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC and the firewall cannot be enabled. Please select'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'The quota for VPC firewalls is exceeded.', 'description' => 'The quota is insufficient. You cannot configure the VPC firewall. Increase the quota.'], + ['errorCode' => 'ErrorRouteTableIdNotFound', 'errorMessage' => 'Route table id not found.', 'description' => 'Routing table ID not found'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9CC69FDA-69F6-585B-9262-A306F425****\\",\\n \\"InstanceMemberCount\\": 3,\\n \\"MaxInstanceMemberNum\\": 1000\\n}","type":"json"}]', - ], - 'DescribeFirewallTask' => [ - 'summary' => '获取防火墙任务', - 'methods' => [ - 'post', - 'get', + 'title' => 'Create a VPC firewall', + 'summary' => 'Creates a virtual private cloud (VPC) firewall that protects traffic between two VPCs connected through Express Connect.', + 'description' => 'This operation is used to create a VPC firewall. This virtual private cloud (VPC) firewall protects traffic between two VPCs connected through Express Connect. This VPC firewall does not support protection for cross-region traffic, cross-account traffic, or traffic between a VPC and a virtual border router (VBR). For more information, see [VPC firewall limits](~~172295~~).'."\n" + ."\n" + .'### Rate limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API invocations are throttled, which may affect your business. Manage your invocations appropriately.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallConfigure'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","type":"json"}]', + ], + 'CreateVpcFirewallControlPolicy' => [ + 'summary' => 'Adds an access control policy to a specified VPC firewall policy group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '120840', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68136', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'ChildInstanceId', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-cd6000c588214403****', - ], + 'schema' => ['description' => 'The action that Cloud Firewall performs on the traffic in the virtual private cloud (VPC) firewall access control policy. Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + .'- **drop**: denies the traffic.'."\n" + .'- **log**: monitors the traffic.', 'type' => 'string', 'required' => true, 'example' => 'accept', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'ApplicationName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The application type supported by the virtual private cloud (VPC) firewall access control policy. Valid values:'."\n" + ."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **MySQL**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **RDP**'."\n" + .'- **VNC**'."\n" + .'- **SSH**'."\n" + .'- **Redis**'."\n" + .'- **MQTT**'."\n" + .'- **MongoDB**'."\n" + .'- **Memcache**'."\n" + .'- **SSL**'."\n" + .'- **ANY**: all application types.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'HTTP', 'title' => ''], ], [ - 'name' => 'TaskType', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], + 'schema' => ['description' => 'The description of the virtual private cloud (VPC) firewall access control policy.', 'type' => 'string', 'required' => true, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'DestPort', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '199431783', - ], + 'schema' => ['description' => 'The destination port of traffic in the virtual private cloud (VPC) firewall access control policy.'."\n" + ."\n" + .'> Set this parameter when **DestPortType** is set to `port`.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'IsFound' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'TaskStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'init', - ], - 'TaskWaitingTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '30', - ], - 'TaskSteps' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StepStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'init', - ], - 'StepName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Create Firewall', - ], - 'StepProgress' => [ - 'description' => '', - 'type' => 'string', - 'example' => '80', - ], - 'StepInfo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'abcd', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****', - ], - 'TaskName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'egressgw', - ], - 'TaskStartTimestamp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '17151361285', - ], - 'TaskFinishTimestamp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '17151381075', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '189997648', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"TaskStatus\\": \\"init\\",\\n \\"TaskWaitingTime\\": \\"30\\",\\n \\"TaskSteps\\": [\\n {\\n \\"StepStatus\\": \\"init\\",\\n \\"StepName\\": \\"Create Firewall\\",\\n \\"StepProgress\\": \\"80\\",\\n \\"StepInfo\\": \\"abcd\\"\\n }\\n ],\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"TaskName\\": \\"egressgw\\",\\n \\"TaskStartTimestamp\\": \\"17151361285\\",\\n \\"TaskFinishTimestamp\\": \\"17151381075\\",\\n \\"TaskId\\": 189997648\\n}","type":"json"}]', - ], - 'DescribeResourceTypeAutoEnable' => [ - 'summary' => '查询资产类型默认引流', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address of traffic in the virtual private cloud (VPC) firewall access control policy. Valid values:'."\n" + ."\n" + .'- If **DestinationType** is set to `net`, the value of **Destination** is a destination CIDR block.'."\n" + ."\n" + .'- If **DestinationType** is set to `group`, the value of **Destination** is a destination address book name.'."\n" + ."\n" + .'- If **DestinationType** is set to `domain`, the value of **Destination** is a destination domain name.', 'type' => 'string', 'required' => true, 'example' => '10.2.XX.XX/24', 'title' => ''], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'DestinationType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '7447795A-39AB-52CB-8F92-128DF******', - ], - 'ResourceTypeAutoEnable' => [ - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'boolean', - 'example' => '{"eip",true}'."\n", - 'description' => '', - ], - ], - ], - ], + 'schema' => ['description' => 'The type of the destination address in the virtual private cloud (VPC) firewall access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + .'- **group**: destination address book'."\n" + .'- **domain**: destination domain name.', 'type' => 'string', 'required' => true, 'example' => 'net', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"ResourceTypeAutoEnable\\": {\\n \\"key\\": true\\n }\\n}","type":"json"}]', - ], - 'DescribeAssetList' => [ - 'summary' => 'Queries the assets that are protected by Cloud Firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the virtual private cloud (VPC) firewall access control policy group.'."\n" + .'- If the VPC firewall protects traffic between two VPCs connected through CEN, the value of this parameter is the CEN instance ID.'."\n" + .' '."\n" + .'- If the VPC firewall protects traffic between two VPCs connected through Express Connect, the value of this parameter is the VPC firewall instance ID.'."\n" + ."\n" + .'> You can invoke the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => 'The security protocol type of traffic in the virtual private cloud (VPC) firewall access control policy. Valid values:'."\n" + ."\n" + .'- **ANY**: any protocol type. Set this value if the protocol type is uncertain.'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**.', 'type' => 'string', 'required' => true, 'example' => 'TCP', 'title' => ''], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The source address in the virtual private cloud (VPC) firewall access control policy.'."\n" + ."\n" + .'- If SourceType is set to `net`, the value of Source is a source CIDR block.'."\n" + .'- If SourceType is set to `group`, the value of Source is a source address book name.', 'type' => 'string', 'required' => true, 'example' => '10.2.XX.XX/24', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Valid values: 1 to 50.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The type of the source address in the virtual private cloud (VPC) firewall access control policy. Valid values:'."\n" + ."\n" + .'- **net**: source CIDR block'."\n" + ."\n" + .'- **group**: source address book.', 'type' => 'string', 'required' => true, 'example' => 'net', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'NewOrder', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Valid values: 1 to 50.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The priority of the virtual private cloud (VPC) firewall access control policy.'."\n" + ."\n" + .'The priority value starts from 1 and increases by increment. A smaller value indicates a higher priority.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'DestPortType', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of your Cloud Firewall.'."\n" - ."\n" - .'> For more information about the regions, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The type of the destination port of traffic in the virtual private cloud (VPC) firewall access control policy. Valid values:'."\n" + ."\n" + .'- **port**: port'."\n" + .'- **group**: port address book.', 'type' => 'string', 'required' => false, 'example' => 'port', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'DestPortGroup', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the firewall. Valid values:'."\n" - ."\n" - .'* **open**: The firewall is enabled.'."\n" - .'* **opening**: The firewall is being enabled.'."\n" - .'* **closed**: The firewall is disabled.'."\n" - .'* **closing**: The firewall is being disabled.'."\n" - ."\n" - .'> If you do not specify this parameter, the assets that are configured for firewalls in all states are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => 'The name of the destination port address book of traffic in the virtual private cloud (VPC) firewall access control policy.'."\n" + ."\n" + .'> Set this parameter when **DestPortType** is set to `group`.', 'type' => 'string', 'required' => false, 'example' => 'my_port_group', 'title' => ''], ], [ - 'name' => 'SearchItem', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID or IP address of the asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The UID of a member account of the current Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'Release', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'eip', - ], + 'schema' => ['description' => 'Specifies whether to enable the access control policy. The policy is enabled by default after it is created. Valid values:'."\n" + ."\n" + .'- **true**: enables the access control policy.'."\n" + .'- **false**: does not enable the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'ApplicationNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The type of the asset. Valid values:'."\n" + 'description' => 'The application types supported by the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The application type supported by the access control policy. Valid values:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**: all application types'."\n" ."\n" - .'* **BastionHostEgressIP**: the egress IP address of a bastion host'."\n" - .'* **BastionHostIngressIP**: the ingress IP address of a bastion host'."\n" - .'* **EcsEIP**: the elastic IP address (EIP) of an Elastic Compute Service (ECS) instance'."\n" - .'* **EcsPublicIP**: the public IP address of an ECS instance'."\n" - .'* **EIP**: the EIP'."\n" - .'* **EniEIP**: the EIP of an elastic network interface (ENI)'."\n" - .'* **NatEIP**: the EIP of a NAT gateway'."\n" - .'* **SlbEIP**: the EIP of a Server Load Balancer (SLB) instance or a Classic Load Balancer (CLB) instance'."\n" - .'* **SlbPublicIP**: the public IP address of an SLB instance or a CLB instance'."\n" - .'* **NatPublicIP**: the public IP address of a NAT gateway'."\n" - .'* **HAVIP**: the high-availability virtual IP address (HAVIP)'."\n", - 'type' => 'string', + .'> The supported application types depend on the value of the protocol type (Proto). If Proto is set to TCP, ApplicationNameList supports all the preceding application types and is expressed in the format of `["HTTP","HTTPS",……]`. If Proto is set to UDP, ICMP, or ANY, ApplicationNameList supports only ANY. You must specify either ApplicationNameList or ApplicationName. Both parameters cannot be empty at the same time. If both ApplicationNameList and ApplicationName are specified, ApplicationNameList takes precedence.', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "ANY"'."\n" + .']', 'title' => ''], 'required' => false, - 'example' => 'EIP', + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'SgStatus', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => 'The status of the security group policy. Valid values:'."\n" - ."\n" - .'* **pass**: delivered'."\n" - .'* **block**: undelivered'."\n" - .'* **unsupport**: unsupported'."\n" - ."\n" - .'> If you do not specify this parameter, the assets on which security group policies in all states take effect are queried.'."\n", + 'description' => 'The recurrence type of the policy validity period for the access control policy. Valid values:'."\n" + .'- **Permanent** (default): The policy is always valid.'."\n" + .'- **None**: The policy is valid for a specified single time period.'."\n" + .'- **Daily**: The policy is valid on a daily basis.'."\n" + .'- **Weekly**: The policy is valid on a weekly basis.'."\n" + .'- **Monthly**: The policy is valid on a monthly basis.', + 'enumValueTitles' => ['Daily' => 'daily.', 'Monthly' => 'monthly.', 'Permanent' => 'always.', 'Weekly' => 'weekly.', 'None' => 'specified single time period.'], 'type' => 'string', 'required' => false, - 'example' => 'pass', + 'example' => 'Permanent', + 'title' => '', ], ], [ - 'name' => 'IpVersion', + 'name' => 'RepeatDays', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The IP version of the asset that is protected by Cloud Firewall. Valid values:'."\n" - ."\n" - .'* **4**: IPv4 (default)'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'string', + 'description' => 'The days of the recurrence for the policy validity period of the access control policy.'."\n" + .'- If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty collection.'."\n" + .' Example: []'."\n" + .'- If RepeatType is set to Weekly, RepeatDays cannot be empty.'."\n" + .' Example: [0, 6]'."\n" + .'> If RepeatType is set to Weekly, the values in RepeatDays cannot be repeated.'."\n" + .'- If RepeatType is set to `Monthly`, RepeatDays cannot be empty.'."\n" + .' Example: [1, 31]'."\n" + .'> If RepeatType is set to Monthly, the values in RepeatDays cannot be repeated.', + 'type' => 'array', + 'items' => ['description' => 'The recurrence day of the policy validity period for the access control policy.'."\n" + .'> If RepeatType is set to Weekly, the valid values are 0 to 6. The week starts on Sunday.'."\n" + .'> If RepeatType is set to Monthly, the valid values are 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, - 'example' => '4', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'MemberUid', + 'name' => 'RepeatStartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is added to Cloud Firewall.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The recurrence start time of the policy validity period for the access control policy. Example: 08:00. The value must be on the hour or on the half hour and must be at least 30 minutes earlier than the recurrence end time.'."\n" + .'> If RepeatType is set to Permanent or None, RepeatStartTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatStartTime must be specified. The format is HH:MM (24-hour clock), such as 08:00.', 'type' => 'string', 'required' => false, 'example' => '08:00', 'title' => ''], ], [ - 'name' => 'UserType', + 'name' => 'RepeatEndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The edition of Cloud Firewall. Valid values:'."\n" - ."\n" - .'* **buy**: a paid edition (default)'."\n" - .'* **free**: Free Edition'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'buy', - ], + 'schema' => ['description' => 'The recurrence end time of the policy validity period for the access control policy. Example: 23:30. The value must be on the hour or on the half hour and must be at least 30 minutes later than the recurrence start time.'."\n" + .'> If RepeatType is set to Permanent or None, RepeatEndTime is empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime must be specified. The format is HH:MM (24-hour clock), such as 08:00.', 'type' => 'string', 'required' => false, 'example' => '23:30', 'title' => ''], ], [ - 'name' => 'NewResourceTag', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the asset was added. Valid values:'."\n" - ."\n" - .'* **discovered in 1 hour**: within one hour.'."\n" - .'* **discovered in 1 day**: within one day.'."\n" - .'* **discovered in 7 days**: within seven days.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'discovered in 1 hour', - ], + 'schema' => ['description' => 'The start time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or on the half hour and must be at least 30 minutes earlier than the end time.'."\n" + .'> If RepeatType is set to Permanent, StartTime is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, StartTime must be specified.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200', 'title' => ''], ], [ - 'name' => 'OutStatistic', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Whether to query external traffic information.', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The end time of the policy validity period for the access control policy. The value is a UNIX timestamp in seconds. The value must be on the hour or on the half hour and must be at least 30 minutes later than the start time.'."\n" + .'> If RepeatType is set to Permanent, EndTime is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, EndTime must be specified.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800', 'title' => ''], ], [ - 'name' => 'SensitiveStatus', + 'name' => 'DomainResolveType', 'in' => 'query', - 'schema' => [ - 'description' => 'Data leakage detection activation status.', - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" + ."\n" + .'* **FQDN**: FQDN-based resolution'."\n" + .'* **DNS**: DNS-based dynamic resolution'."\n" + .'* **FQDN_AND_DNS**: FQDN-based and DNS-based dynamic resolution.', 'type' => 'string', 'required' => false, 'example' => 'FQDN', 'title' => ''], ], ], 'responses' => [ @@ -4927,287 +4686,139 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of the assets that are protected by Cloud Firewall.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'Assets' => [ - 'description' => 'The assets that are protected by Cloud Firewall.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level of the asset. Valid values:'."\n" - ."\n" - .'* **low**: low'."\n" - .'* **middle**: medium'."\n" - .'* **hight**: high'."\n" - ."\n" - .'> The value of this parameter is returned only when the UserType parameter is set to free.'."\n", - 'type' => 'string', - 'example' => 'low', - ], - 'BindInstanceName' => [ - 'description' => 'The instance name of the asset.'."\n", - 'type' => 'string', - 'example' => 'instance01', - ], - 'Type' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => 'eip', - ], - 'SgStatusTime' => [ - 'description' => 'The time when the status of the security group was last checked. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1615082937', - ], - 'ResourceInstanceId' => [ - 'description' => 'The instance ID of the asset.'."\n", - 'type' => 'string', - 'example' => 'i-8vbdrjrxzt78****', - ], - 'MemberUid' => [ - 'description' => 'The UID of the member.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '258039427902****', - ], - 'IntranetAddress' => [ - 'description' => 'The internal IP address of the server.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'SyncStatus' => [ - 'description' => 'Indicates whether traffic redirection is supported for the asset. Valid values:'."\n" - ."\n" - .'* **enable**: yes'."\n" - .'* **disable**: no'."\n", - 'type' => 'string', - 'example' => 'enable', - ], - 'AliUid' => [ - 'description' => 'The UID of the Alibaba Cloud account.'."\n" - ."\n" - .'> The value of this parameter indicates the management account to which the member is added.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'ProtectStatus' => [ - 'description' => 'The status of the firewall. Valid values:'."\n" - ."\n" - .'* **open**: enabled.'."\n" - .'* **opening**: being enabled.'."\n" - .'* **closed**: disabled.'."\n" - .'* **closing**: being disabled.'."\n", - 'type' => 'string', - 'example' => 'open', - ], - 'InternetAddress' => [ - 'description' => 'The public IP address of the server.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'BindInstanceId' => [ - 'description' => 'The ID of the cloud resource with which the asset is associated.'."\n", - 'type' => 'string', - 'example' => 'i-8vbdrjrxzt78****', - ], - 'RegionID' => [ - 'description' => 'The ID of the region in which the asset resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'RegionStatus' => [ - 'description' => 'Indicates whether the firewall is supported in the region in which the asset resides. Valid values:'."\n" - ."\n" - .'* **enable**: yes'."\n" - .'* **disable**: no'."\n", - 'type' => 'string', - 'example' => 'enable', - ], - 'ResourceType' => [ - 'description' => 'The type of the asset. Valid values:'."\n" - ."\n" - .'* **BastionHostEgressIP**: the egress IP address of a bastion host'."\n" - .'* **BastionHostIngressIP**: the ingress IP address of a bastion host'."\n" - .'* **EcsEIP**: the elastic IP address (EIP) of an Elastic Compute Service (ECS) instance'."\n" - .'* **EcsPublicIP**: the public IP address of an ECS instance'."\n" - .'* **EIP**: the EIP'."\n" - .'* **EniEIP**: the EIP of an elastic network interface (ENI)'."\n" - .'* **NatEIP**: the EIP of a NAT gateway'."\n" - .'* **SlbEIP**: the EIP of a Server Load Balancer (SLB) instance'."\n" - .'* **SlbPublicIP**: the public IP address of an SLB instance'."\n" - .'* **NatPublicIP**: the public IP address of a NAT gateway'."\n" - .'* **HAVIP**: the high-availability virtual IP address (HAVIP)'."\n", - 'type' => 'string', - 'example' => 'EIP', - ], - 'IpVersion' => [ - 'description' => 'The IP version of the asset that is protected by Cloud Firewall.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **4**: IPv4'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'SgStatus' => [ - 'description' => 'The status of the security group policy. Valid values:'."\n" - ."\n" - .'* **pass**: applied'."\n" - .'* **block**: not applied'."\n" - .'* **unsupport**: unsupported'."\n", - 'type' => 'string', - 'example' => 'block', - ], - 'Note' => [ - 'description' => 'The remarks of the asset. Valid values:'."\n" - ."\n" - .'* **REGION_NOT_SUPPORT**: The region is not supported.'."\n" - .'* **NETWORK_NOT_SUPPORT**: The network is not supported.'."\n", - 'type' => 'string', - 'example' => 'REGION_NOT_SUPPORT', - ], - 'Name' => [ - 'description' => 'The instance name of the asset that is protected by Cloud Firewall.'."\n", - 'type' => 'string', - 'example' => 'instance01', - ], - 'CreateTimeStamp' => [ - 'description' => 'The timestamp when the asset is added to Cloud Firewall.'."\n", - 'type' => 'string', - 'example' => '2023-02-28 10:29:58', - ], - 'NewResourceTag' => [ - 'description' => 'The time when the asset was added. Valid values:'."\n" - ."\n" - .'* **discovered in 1 hour**: within one hour.'."\n" - .'* **discovered in 1 day**: within one day.'."\n" - .'* **discovered in 7 days**: within seven days.'."\n", - 'type' => 'string', - 'example' => 'discovered in 1 hour', - ], - 'SensitiveDataStatus' => [ - 'description' => 'Data leakage detection enabled status.', - 'type' => 'string', - 'example' => 'open', - ], - 'Last7DayOutTrafficBytes' => [ - 'description' => 'Outbound traffic in the last 7 days.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - 'description' => '', - ], - ], + 'AclUuid' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred. Try again later.', 'description' => 'An error occurred. Try again later.'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => 'FTP application is not supported when the policy destination is a domain name'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => 'Specified parameter ApplicationName is not valid.'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => 'Specified parameter ApplicationNameList is not valid.'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Assets\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"BindInstanceName\\": \\"instance01\\",\\n \\"Type\\": \\"eip\\",\\n \\"SgStatusTime\\": 1615082937,\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"MemberUid\\": 0,\\n \\"IntranetAddress\\": \\"192.168.XX.XX\\",\\n \\"SyncStatus\\": \\"enable\\",\\n \\"AliUid\\": 0,\\n \\"ProtectStatus\\": \\"open\\",\\n \\"InternetAddress\\": \\"192.0.XX.XX\\",\\n \\"BindInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionID\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResourceType\\": \\"EIP\\",\\n \\"IpVersion\\": 4,\\n \\"SgStatus\\": \\"block\\",\\n \\"Note\\": \\"REGION_NOT_SUPPORT\\",\\n \\"Name\\": \\"instance01\\",\\n \\"CreateTimeStamp\\": \\"2023-02-28 10:29:58\\",\\n \\"NewResourceTag\\": \\"discovered in 1 hour\\",\\n \\"SensitiveDataStatus\\": \\"open\\",\\n \\"Last7DayOutTrafficBytes\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 12\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n low\\n instance01\\n eip\\n 1615082937\\n i-8vbdrjrxzt78****\\n 192.168.XX.XX\\n enable\\n open\\n 192.0.XX.XX\\n i-8vbdrjrxzt78****\\n cn-hangzhou\\n enable\\n EIP\\n 4\\n block\\n REGION_NOT_SUPPORT\\n instance01\\n \\n","errorExample":""}]', - 'title' => 'DescribeAssetList', - 'description' => 'You can call the DescribeAssetList operation to query the assets that are protected by Cloud Firewall.'."\n" - ."\n" - .'## Limits'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + 'title' => 'Add an access control policy to a specified VPC firewall policy group', + 'description' => 'This operation is used to add an access control policy to a specified virtual private cloud (VPC) firewall policy group. Different access control policies are used when a VPC firewall protects traffic between two VPCs connected through Cloud Enterprise Network (CEN) or traffic between two VPCs connected through Express Connect.'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the number of calls exceeds the limit, throttling is triggered, which may affect your business. Invoke this operation properly.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAssetStatistic' => [ - 'summary' => 'Queries statistics on the assets that are protected by Cloud Firewall.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], + ], + ], + ], ], + ], + 'CreateVpcFirewallPrecheck' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68206', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], - 'autoTest' => true, + 'abilityTreeCode' => '120810', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '112.239.XX.XX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'NetworkInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'title' => '语言', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The type of the network instance. Valid values:'."\n" + ."\n" + .'- **cen\\_firewall**'."\n" + ."\n" + .'- **cen\\_tr\\_firewall**'."\n" + ."\n" + .'- **ec\\_firewall**', 'title' => '', 'example' => 'cen_tr_firewall'], ], [ - 'name' => 'Lang', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'title' => '语言', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the VPC instance.', 'title' => '', 'example' => 'vpc-bp132e2wpu9o6qth****'], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The region.', 'title' => '', 'example' => 'cn-chengdu'], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the Cloud Enterprise Network (CEN) instance.', 'title' => '', 'example' => 'cen-iv8m2lj2fqg1xt****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The UID of the member account of Cloud Firewall.', 'required' => false, 'title' => '', 'example' => '128599825273****'], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The ID of the transit router instance.', 'required' => false, 'title' => '', 'example' => 'tr-t4n16htuv1jalj9cq****'], ], ], 'responses' => [ @@ -5215,168 +4826,84 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '850A84******25g4d2', - ], - 'ResourceSpecStatistic' => [ - 'description' => 'The statistics on specifications.'."\n", - 'type' => 'object', - 'properties' => [ - 'IpNumUsed' => [ - 'description' => 'The number of public IP addresses that are protected.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => 'IP使用数量', - ], - 'IpNumSpec' => [ - 'description' => 'The number of public IP addresses that can be protected.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - 'title' => 'IP规格', - ], - 'SensitiveDataIpNumSpec' => [ - 'description' => 'The number of public IP addresses that can enable data leakage detection.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SensitiveDataIpNumUsed' => [ - 'description' => 'The number of public IP addresses that enabled data leakage detection.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - 'title' => '区域规格', - ], - 'GeneralInstanceSpecStatistic' => [ - 'title' => '售卖2.0通用实例规格', - 'type' => 'object', - 'properties' => [ - 'TotalGeneralInstanceUsedCnt' => [ - 'title' => '总规格', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCfwGeneralInstanceUsedCnt' => [ - 'title' => '互联网墙开启实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalVfwGeneralInstanceUsedCnt' => [ - 'title' => 'vpc墙开启实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalNatGeneralInstanceUsedCnt' => [ - 'title' => 'nat墙开启实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCfwGeneralInstanceCnt' => [ - 'title' => '互联网墙所有实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalNatGeneralInstanceCnt' => [ - 'title' => 'nat墙所有实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CfwGeneralInstanceRegionStatistic' => [ - 'title' => '互联网墙地域已使用规格统计', - 'type' => 'array', - 'items' => [ - 'title' => '互联网墙地域规格统计详情', - 'type' => 'object', - 'properties' => [ - 'RegionNo' => [ - 'title' => '地域信息', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'MemberList' => [ - 'title' => '地域成员列表', - 'type' => 'array', - 'items' => [ - 'title' => '地域成员', - 'type' => 'string', - 'example' => '123', - ], - ], - ], - ], - ], - 'CfwTotalGeneralInstanceRegionStatistic' => [ - 'title' => '互联网墙地域全量规格统计', - 'type' => 'array', - 'items' => [ - 'title' => '互联网墙地域规格统计详情', - 'type' => 'object', - 'properties' => [ - 'RegionNo' => [ - 'title' => '地域信息', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'MemberList' => [ - 'title' => '地域成员列表', - 'type' => 'array', - 'items' => [ - 'title' => '地域成员', - 'type' => 'string', - 'example' => '123', - ], - ], - ], - ], - ], - ], - ], + 'PrecheckId' => ['type' => 'string', 'description' => 'The ID of the precheck task.', 'title' => '', 'example' => '4197'], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****'], ], 'description' => '', - 'title' => '返回对象', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorNetworkInstanceIdError', 'errorMessage' => 'Network InstanceId ID is invalid', 'description' => 'The ID of the network instance is invalid.'], + ['errorCode' => 'ErrorCenId', 'errorMessage' => 'CEN ID is error', 'description' => 'The ID of the CEN instance is invalid.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region invalid.', 'description' => 'Region selection error, please re-enter.'], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', 'description' => 'The specified destination CIDR block is invalid. Enter another value.'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => 'The destination CIDR block is not specified. The firewall cannot be created.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => 'The specified VPC firewall does not exist. Select another one.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => 'The account is incorrect, please re-enter.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => 'The status of the firewall is invalid. Try again later.'], + ['errorCode' => 'ErrorHubvpcCannotCreate', 'errorMessage' => 'HUB VPC could not create vpc firewall', 'description' => 'You are not allowed to create a firewall for a HUB VPC.'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'The quota for VPC firewalls is exceeded.', 'description' => 'The quota is insufficient. You cannot configure the VPC firewall. Increase the quota.'], + ['errorCode' => 'ErrorCenVbrNotSupport', 'errorMessage' => 'The cloud enterprise network VBR does not support firewall', 'description' => 'The firewall cannot be enabled for VBRs that are attached to CEN instances.'], + ['errorCode' => 'ErrorCenNotSupportCCN', 'errorMessage' => 'vpc firewall CEN does not support ccn, cannot open vpc firewall.', 'description' => 'The VPC firewall cannot be enabled for a CCN instance.'], + ['errorCode' => 'ErrorOwnerIdUnauthorized', 'errorMessage' => 'owner id not authorized.', 'description' => 'The account is not authorized and Cloud Firewall has not been purchased.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorVpcFirewallVpcNumLimit', 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', 'description' => 'The VPC boundary firewall cannot be enabled because of the limited number of VPCs in this region.'], + ['errorCode' => 'ErrorCenExistPublicCidr', 'errorMessage' => 'cen domain route exist public route.', 'description' => 'There is a public network segment in the cloud enterprise network, and the VPC boundary firewall is not supported.'], + ['errorCode' => 'ErrorCenExistTrRoute', 'errorMessage' => 'Cen VPC route exist tr route.', 'description' => 'The VPC in the cloud enterprise network has a route whose next hop is TR, and the VPC boundary firewall is not supported.'], + ['errorCode' => 'ErrorCenNotSupportTREnterprise', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition protection in this region.', 'description' => 'The VPC border firewall does not support TR Enterprise Edition in this region, and the VPC border firewall cannot be enabled.'], + ['errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'description' => 'VPC firewalls do not support the CEN-TR automatic mode.'], + ['errorCode' => 'ErrorCenTRAssociationCustomRouteTable', 'errorMessage' => 'CEN-TR association custom route table.', 'description' => 'The VPC boundary firewall does not support the custom route table associated with the CEN-TR network instance connection, and the VPC boundary firewall cannot be enabled.'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => 'Failed to call the VPC API.'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'The vSwitch does not exist. Select another vSwitch.'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Network segment CIDR format error, please select again', 'description' => 'The format of the specified CIDR block is invalid. Enter another value.'], + ['errorCode' => 'ErrorRouteTableNotFound', 'errorMessage' => 'route table not found.', 'description' => 'Routing table does not exist'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'CreateVpcFirewallPrecheck', + 'summary' => 'Creates a precheck task before you create a VPC firewall.', + 'description' => 'This operation creates a policy to accept, deny, or monitor traffic that passes through a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallPrecheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84******25g4d2\\",\\n \\"ResourceSpecStatistic\\": {\\n \\"IpNumUsed\\": 10,\\n \\"IpNumSpec\\": 20,\\n \\"SensitiveDataIpNumSpec\\": 0,\\n \\"SensitiveDataIpNumUsed\\": 0\\n },\\n \\"GeneralInstanceSpecStatistic\\": {\\n \\"TotalGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalVfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalNatGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceCnt\\": 1,\\n \\"TotalNatGeneralInstanceCnt\\": 1,\\n \\"CfwGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ],\\n \\"CfwTotalGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'DescribeAssetStatistic', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PrecheckId\\": \\"4197\\",\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\"\\n}","type":"json"}]', ], - 'DescribeAssetRiskList' => [ - 'summary' => 'Queries the risk levels of assets.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateVpcFirewallTask' => [ + 'summary' => 'Creates a sync task for VPC firewall assets.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5385,88 +4912,37 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68205', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68137', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'TaskAction', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The name of the task.', 'type' => 'string', 'required' => true, 'example' => 'sync', 'title' => ''], ], [ - 'name' => 'IpVersion', + 'name' => 'Priority', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP version of the asset that is protected by Cloud Firewall.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **4** (default): IPv4'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['description' => 'The priority of the rule.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'IpAddrList', + 'name' => 'Content', 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => 'The IP addresses to query. Separate the IP addresses with commas (,). You can specify up to 20 IP addresses at a time.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* Example IPv4 address: 47.97.XX.XX.'."\n" - ."\n" - .'* Example IPv6 address: 2001:db8:ffff:ffff:ffff:XXXX:ffff.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address to query.'."\n" - ."\n" - .'> '."\n" - ."\n" - .'* Example IPv4 address: 47.97.XX.XX.'."\n" - ."\n" - .'* Example IPv6 address: 2001:db8:ffff:ffff:ffff:XXXX:ffff.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '47.97.XX.XX', - ], - 'required' => false, - 'docRequired' => true, - 'maxItems' => 200, - ], + 'schema' => ['description' => 'The content of the task.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ @@ -5474,126 +4950,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '443C5781-1C03-5FCD-8EC5-FB9C0B9AC396', - ], - 'AssetList' => [ - 'description' => 'The details of the assets.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the asset.'."\n", - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level. Valid values:'."\n" - ."\n" - .'* **low**'."\n" - .'* **middle**'."\n" - .'* **high**'."\n", - 'type' => 'string', - 'example' => 'low', - ], - 'Ip' => [ - 'description' => 'The IP address of the server.'."\n", - 'type' => 'string', - 'example' => '39.108.XX.XX', - ], - 'IpVersion' => [ - 'description' => 'The IP version of the asset that is protected by Cloud Firewall.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **4**: IPv4'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'Reason' => [ - 'description' => 'The reason for the risk.'."\n", - 'type' => 'string', - 'example' => 'other', - ], - ], - ], - ], + 'Module' => ['description' => 'The application module.', 'type' => 'string', 'example' => 'ips_server'."\n", 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '53252B14-BF7C-5A2D-9750-56F827EB****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"443C5781-1C03-5FCD-8EC5-FB9C0B9AC396\\",\\n \\"AssetList\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"Ip\\": \\"39.108.XX.XX\\",\\n \\"IpVersion\\": 4,\\n \\"Reason\\": \\"other\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeAssetRiskList', - ], - 'CreateInstanceSyncTask' => [ - 'summary' => '创建实例资产同步任务', - 'methods' => [ - 'post', - 'get', + 'title' => 'CreateVpcFirewallTask', + 'description' => 'This operation creates a VPC firewall that protects traffic between two VPCs connected by an Express Connect circuit. The VPC firewall does not protect cross-region traffic, cross-account traffic, or traffic between a VPC and a Virtual Border Router (VBR). For more information, see [Limits on VPC firewalls](~~172295~~).'."\n" + ."\n" + .'### QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, your API calls will be throttled. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"53252B14-BF7C-5A2D-9750-56F827EB****\\"\\n}","type":"json"}]', + ], + 'DeleteAckClusterConnector' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68123', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '60.182.79.XXX', - ], - ], - [ - 'name' => 'Lang', + 'name' => 'ConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the ACK cluster connector.', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], ], ], 'responses' => [ @@ -5601,134 +5028,137 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ips_server'."\n", - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAckClusterConnectorAddressGroupReference', 'errorMessage' => 'The ACK cluster connector has address group, can not be deleted.', 'description' => 'The ACK cluster connector has address group, can not be deleted.'], + ['errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', 'errorMessage' => 'The ACK cluster connector status is not allow operate.', 'description' => 'The ACK cluster connector status is not allow operate.'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => 'The specified resource ACK cluster connector is not found.'], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\"\\n}","type":"json"}]', - ], - 'ModifyResourceTypeAutoEnable' => [ - 'summary' => '开启资产类型默认引流', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Delete an ACK cluster connector', + 'summary' => 'Deletes an ACK cluster connector.', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', + ], + 'DeleteAclBackupData' => [ + 'summary' => 'Deletes an ACL backup.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240055', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68138', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - 'title' => '接收消息的语言类型。', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'ResourceTypeAutoEnable', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"SlbEIP":true,"GaEIP":false,"EcsIPv6":true,"NatPublicIP":true,"SlbIPv6":false,"BastionHostIngressIP":false,"EIP":true,"NatEIP":true,"SlbPublicIP":true,"EcsEIP":true,"EniEIP":true,"HAVIP":true,"NlbEIP":true,"NlbIPv6":false,"EniEIPv6":false,"EcsPublicIP":true,"AlbIPv6":true,"BastionHostIP":false,"BastionHostEgressIP":true,"GaEIPV6":false,"AlbEIP":false}', - 'title' => '资源类型开启自动保护。', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'BackUpTime', 'in' => 'query', - 'schema' => [ - 'title' => '地区编号', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The time of the backup, specified as a UNIX timestamp (the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970).', 'type' => 'string', 'required' => true, 'example' => '1743683400'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '75E60025-43C5-5635-B7B7-272C5246****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', - ], - 'PutEnableFwSwitch' => [ - 'summary' => 'Enables firewalls for specific assets.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DeleteAclBackupData', + 'description' => 'This operation deletes a backup of an access control address book.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'This operation is limited to 10 queries per second (QPS) per user. Calls that exceed this limit are throttled, which may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75E60025-43C5-5635-B7B7-272C5246****\\"\\n}","type":"json"}]', + ], + 'DeleteAddressBook' => [ + 'summary' => 'Deletes an address book.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5737,154 +5167,40 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68512', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68139', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.X.X', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response.'."\n" + 'description' => 'The language type. Valid values:'."\n" ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", + .'- **en**: English'."\n" + .'- **zh**: Chinese (default).', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default).'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'IpaddrList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IP addresses.'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address.'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], - 'required' => false, - 'example' => '["192.0.X.X","192.0.X.X"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'RegionList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The regions.'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The region.'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou,cn-shanghai', - ], - 'required' => false, - 'example' => '["cn-hangzhou","cn-shanghai"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'ResourceTypeList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The types of the assets.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* BastionHostIP: the egress IP address of a bastion host'."\n" - .'* BastionHostIngressIP: the ingress IP address of a bastion host'."\n" - .'* EcsEIP: the elastic IP address (EIP) of an Elastic Compute Service (ECS) instance'."\n" - .'* EcsPublicIP: the public IP address of an ECS instance'."\n" - .'* EIP: the EIP'."\n" - .'* EniEIP: the EIP of an elastic network interface (ENI)'."\n" - .'* NatEIP: the EIP of a NAT gateway'."\n" - .'* SlbEIP: the EIP of a Server Load Balancer (SLB) instance'."\n" - .'* SlbPublicIP: the public IP address of an SLB instance'."\n" - .'* NatPublicIP: the public IP address of a NAT gateway'."\n" - .'* HAVIP: the high-availability virtual IP address (HAVIP)'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the asset.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* BastionHostIP: the egress IP address of a bastion host'."\n" - .'* BastionHostIngressIP: the ingress IP address of a bastion host'."\n" - .'* EcsEIP: the EIP of an ECS instance'."\n" - .'* EcsPublicIP: the public IP address of an ECS instance'."\n" - .'* EIP: the EIP'."\n" - .'* EniEIP: the EIP of an ENI'."\n" - .'* NatEIP: the EIP of a NAT gateway'."\n" - .'* SlbEIP: the EIP of an SLB instance'."\n" - .'* SlbPublicIP: the public IP address of an SLB instance'."\n" - .'* NatPublicIP: the public IP address of a NAT gateway'."\n" - .'* HAVIP: the HAVIP'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'EcsPublicIp,NatEip', - ], - 'required' => false, - 'example' => '["EcsPublicIp","NatEip"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'title' => '成员唯一标识符', - 'type' => 'string', - 'example' => '1234', - ], - ], - [ - 'name' => 'IpVersion', + 'name' => 'GroupUuid', 'in' => 'query', - 'schema' => [ - 'title' => 'IP版本号', - 'type' => 'string', - 'example' => '4', - ], + 'schema' => ['description' => 'The unique ID of the address book.'."\n" + ."\n" + .'> You can call the [DescribeAddressBook](~~DescribeAddressBook~~) operation to query the ID.', 'type' => 'string', 'required' => true, 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****', 'title' => ''], ], ], 'responses' => [ @@ -5892,166 +5208,111 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'AbnormalResourceStatusList' => [ - 'description' => 'The status information of the asset when it is not synchronized to Cloud Firewall.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Resource' => [ - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'example' => '203.0.113.0', - ], - 'Status' => [ - 'description' => 'The status of the asset when it is not synchronized to Cloud Firewall. Valid values:'."\n" - ."\n" - .'* ip_not_sync: The asset is not synchronized.'."\n", - 'type' => 'string', - 'example' => 'ip_not_sync', - ], - 'Msg' => [ - 'description' => 'The message displayed when the asset is not synchronized to Cloud Firewall. Valid values:'."\n" - ."\n" - .'* cloudfirewall do not sync this ip address: This IP address is not synchronized to Cloud Firewall.'."\n", - 'type' => 'string', - 'example' => 'cloudfirewall do not sync this ip address', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorInstanceOpenIpNumExceed', - 'errorMessage' => 'The maximum number of protected assets has been reached.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', - 'errorMessage' => 'open ip region num exceed.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAddressGroupReference', 'errorMessage' => 'The address group is in use and cannot be deleted.', 'description' => 'The address group is in use and cannot be deleted.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], ], [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => 'An authentication error occurred.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"AbnormalResourceStatusList\\": [\\n {\\n \\"Resource\\": \\"203.0.113.0\\",\\n \\"Status\\": \\"ip_not_sync\\",\\n \\"Msg\\": \\"cloudfirewall do not sync this ip address\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', - 'title' => 'PutEnableFwSwitch', - 'description' => 'You can call this operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" + 'title' => 'Delete an address book', + 'description' => 'This operation is used to delete an address book from access control.'."\n" ."\n" - .'You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.', + 'requestParamsDescription' => 'In addition to the request parameters described in this topic, you must include the Alibaba Cloud API common request parameters when calling this operation. For more information about common parameters, see [Common parameters](~~94763~~). '."\n" + .'For the request format, see the request example in the **Examples** section of this topic.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'PutEnableAllFwSwitch' => [ - 'summary' => 'Enables a firewall for all public IP addresses within your Alibaba Cloud account.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAddressBook'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","type":"json"}]', + ], + 'DeleteControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'delete', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68511', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], + 'abilityTreeCode' => '68146', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The source IP address of the traffic.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of your Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-2ze8v2x5kd9qyvp2****', - 'default' => '0', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.'."\n" + ."\n" + .'To delete an access control policy, you must provide the unique ID of the policy. You can call the [DescribeControlPolicy](~~138866~~) operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The traffic direction controlled by the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic.'."\n" + .'- **out**: outbound traffic.', 'type' => 'string', 'required' => false, 'example' => 'in', 'title' => ''], ], ], 'responses' => [ @@ -6059,210 +5320,107 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorInstanceOpenIpNumExceed', - 'errorMessage' => 'The maximum number of protected assets has been reached.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', - 'errorMessage' => 'open ip region num exceed.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', - 'title' => 'PutEnableAllFwSwitch', - 'description' => 'You can call the PutEnableAllFwSwitch operation to enable a firewall for all public IP addresses within your Alibaba Cloud account. '."\n" - ."\n" - .'## Limits'."\n" + 'title' => 'Delete an access control policy', + 'summary' => 'Deletes an access control policy.', + 'description' => 'This operation is used to delete an access control policy whose traffic direction is inbound or outbound.'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~94763~~).', + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, throttling is triggered, which may affect your business. Call this operation appropriately.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'PutDisableFwSwitch' => [ - 'summary' => 'Disable a firewall for specific assets.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + ], + 'DeleteControlPolicyTemplate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68509', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], + 'abilityTreeCode' => '140699', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '61.178.12.52'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'IpaddrList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The IP addresses.'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.', - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address.', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], - 'required' => false, - 'example' => '["192.0.XX.XX","192.0.XX.XX"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'RegionList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The regions.'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.', - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the region.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'required' => false, - 'example' => '["cn-hangzhou","cn-shanghai"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'ResourceTypeList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The types of the assets.'."\n" - ."\n" - .'> You must specify at least one of the IpaddrList, RegionList, and ResourceTypeList parameters.', - 'type' => 'array', - 'items' => [ - 'description' => 'The type of the asset. Valid values:'."\n" - ."\n" - .'* BastionHostIP: the egress IP address of a bastion host'."\n" - .'* BastionHostIngressIP: the ingress IP address of a bastion host'."\n" - .'* EcsEIP: the elastic IP address (EIP) of an Elastic Compute Service (ECS) instance'."\n" - .'* EcsPublicIP: the public IP address of an ECS instance'."\n" - .'* EIP: the EIP'."\n" - .'* EniEIP: the EIP of an elastic network interface (ENI)'."\n" - .'* NatEIP: the EIP of a Network Address Translation (NAT) gateway'."\n" - .'* SlbEIP: the EIP of a Server Load Balancer (SLB) instance'."\n" - .'* SlbPublicIP: the public IP address of an SLB instance'."\n" - .'* NatPublicIP: the public IP address of a NAT gateway'."\n" - .'* HAVIP: the high-availability virtual IP address (HAVIP)', - 'type' => 'string', - 'required' => false, - 'example' => 'EcsPublicIP', - ], - 'required' => false, - 'example' => '["EcsPublicIp","NatEip"]', - 'maxItems' => 200, - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'en'], ], [ - 'name' => 'MemberUid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '成员唯一标识符', - 'type' => 'string', - 'example' => '1234', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'en'], ], [ - 'name' => 'IpVersion', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'title' => 'IP版本号', - 'type' => 'string', - 'example' => '4', - ], + 'schema' => ['description' => 'The ID of the access control policy template.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '719ce620-ae23-4e42-9f93-9191b4400b55'], ], ], 'responses' => [ @@ -6270,69 +5428,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', - 'title' => 'PutDisableFwSwitch', - 'description' => 'You can call the PutDisableFwSwitch operation to disable a firewall for specific assets. After you disable the firewall, traffic does not pass through Cloud Firewall. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~94763~~).', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'PutDisableAllFwSwitch' => [ - 'summary' => 'Turns off all firewall switches.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DeleteControlPolicyTemplate', + 'summary' => 'Deletes an access control policy template.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicyTemplate'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicyTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', + ], + 'DeleteDnsFirewallPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6341,50 +5484,28 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68508', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], + 'abilityTreeCode' => '68148', + 'abilityTreeNodes' => ['FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the request.', 'title' => '', 'example' => '140.210.39.***'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values: Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the request and response. Valid values: **zh** for Chinese and **en** for English.', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'InstanceId', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of your Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-2ze8v2x5kd9qyvp2****', - 'default' => '0', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The unique ID of the access control policy.', 'title' => '', 'example' => '498946f4-c98a-45c0-9038-635c******'], ], ], 'responses' => [ @@ -6392,337 +5513,267 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => '32314C1E-82CF-582C-853A-B1773F******'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nB2841452-CB8D-4F7D-B247-38E1CF7334F8\\r\\n","errorExample":""}]', - 'title' => 'PutDisableAllFwSwitch', - 'description' => 'You can call the PutDisableAllFwSwitch operation to turn off all firewall switches.'."\n" - ."\n" - .'## [](#qps-)QPS limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~94763~~). For more information about sample requests, see the **Examples** section of this topic.'."\n", - 'extraInfo' => ' ', - ], - 'DescribeNatFirewallQuota' => [ - 'summary' => '获取NAT防火墙配额', - 'methods' => [ - 'get', + 'title' => 'DeleteDnsFirewallPolicy', + 'summary' => 'Deletes a DNS firewall policy.', + 'description' => 'You can call this operation to delete a DNS firewall policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32314C1E-82CF-582C-853A-B1773F******\\"\\n}","type":"json"}]', + ], + 'DeleteDownloadTask' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '115963', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '174566', + 'abilityTreeNodes' => ['FEATUREcfwHCOW32'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '113.132.26.XXX', - ], + 'schema' => ['title' => '', 'description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The task ID of the file download task.', 'type' => 'string', 'required' => false, 'example' => '4376', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F98BAA59-5863-5B61-8FD4-C5E96813****', - ], - 'UsedCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'ExceptionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'UnprotectedCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '064022A8-F415-572C-B3C1-657152833F11', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBDeleteError', 'errorMessage' => 'A database delete error occurred.', 'description' => 'An error occurred while deleting the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F98BAA59-5863-5B61-8FD4-C5E96813****\\",\\n \\"UsedCount\\": 10,\\n \\"TotalCount\\": 6,\\n \\"ExceptionCount\\": 1,\\n \\"UnprotectedCount\\": 20\\n}","type":"json"}]', - ], - 'DescribeNatFirewallList' => [ - 'summary' => 'Queries details of NAT firewalls.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Delete a file download task', + 'summary' => 'Deletes a file download task.', + 'description' => 'Calling this operation immediately deletes the file download task and the downloaded file.'."\n" + .'>The delete operation deletes the corresponding task and file. **The file can no longer be downloaded by using the existing download link. This operation is irreversible. Proceed with caution.**>.', + 'responseParamsDescription' => 'A successful response indicates that the task has been deleted.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDownloadTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"064022A8-F415-572C-B3C1-657152833F11\\"\\n}","type":"json"}]', + ], + 'DeleteFirewallV2RoutePolicies' => [ + 'summary' => 'Deletes a routing policy for a VPC firewall for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '115925', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '142855', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - .'* **zh** (default)'."\n" - .'* **en**', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - .'* **zh** (default)'."\n" - .'* **en**', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n" - ."\n" - .'Default value: **10**.**** Maximum value: **50**.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The ID of the VPC firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-d5ba592ac6c84aff****', 'title' => ''], ], [ - 'name' => 'ProxyId', + 'name' => 'TrFirewallRoutePolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT firewall.', - 'type' => 'string', - 'required' => false, - 'example' => 'proxy-nat97a******'."\n", - ], + 'schema' => ['description' => 'The ID of the firewall routing policy.', 'type' => 'string', 'required' => false, 'example' => 'policy-2d06d3568fd74d60****', 'title' => ''], ], - [ - 'name' => 'ProxyName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The name of the NAT firewall. The name must be 4 to 50 characters in length, and can contain letters, digits, and underscores (_). The name cannot start with an underscore.', - 'type' => 'string', - 'required' => false, - 'example' => 'proxy-******', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '22B6B889-4E9F-56B3-AF3D-53749C477D1D', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the virtual private cloud (VPC).', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC.', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => 'The firewall cannot be operated. The firewall is in an updated state. Please check whether any drainage templates are being created, deleted, updated, opened or closed.'], + ['errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', 'errorMessage' => 'Can not update policy status.', 'description' => 'Unable to update routing template status, please check if routing template status is being updated'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorTrFwBackUpAssocationNotExist', 'errorMessage' => 'Tr firewall back up association not Exist.', 'description' => 'The routing table configuration before the drainage scenario is enabled cannot be obtained. The routing table before the drainage scenario is enabled may have been deleted.'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DeleteFirewallV2RoutePolicies', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFirewallV2RoutePolicies'], ], + ], + 'ramActions' => [ [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.', - 'type' => 'string', - 'required' => false, - 'example' => 'nat-bp123456g******', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteFirewallV2RoutePolicies', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"22B6B889-4E9F-56B3-AF3D-53749C477D1D\\"\\n}","type":"json"}]', + ], + 'DeleteInstanceMembers' => [ + 'summary' => 'Deletes Cloud Firewall member accounts.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the NAT firewall. Valid values:'."\n" - ."\n" - .'* configuring'."\n" - .'* deleting'."\n" - .'* normal'."\n" - .'* abnormal'."\n" - .'* opening'."\n" - .'* closing'."\n" - .'* closed'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68151', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'MemberUids', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '147783******', + 'description' => 'The UIDs of the member accounts.', + 'type' => 'array', + 'items' => ['description' => 'The UIDs of the Cloud Firewall member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****', 'title' => ''], + 'required' => true, + 'example' => '1234123412341234', + 'maxItems' => 200, + 'title' => '', ], ], ], @@ -6731,304 +5782,181 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of NAT firewalls.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n", - ], - 'NatFirewallList' => [ - 'description' => 'The NAT firewalls.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'MemberUid' => [ - 'description' => 'The UID of the member in Cloud Firewall.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19106481******', - ], - 'AliUid' => [ - 'description' => 'The UID of the Alibaba Cloud account.'."\n" - ."\n" - .'> The value of this parameter indicates the management account to which the member is added.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19106481******'."\n", - ], - 'ProxyId' => [ - 'description' => 'The ID of the NAT firewall.'."\n", - 'type' => 'string', - 'example' => 'proxy-nat30******', - ], - 'ProxyName' => [ - 'description' => 'The name of the NAT firewall.'."\n", - 'type' => 'string', - 'example' => 'proxy-******', - ], - 'ProxyStatus' => [ - 'description' => 'The status of the NAT firewall. Valid values:'."\n" - ."\n" - .'* configuring'."\n" - .'* deleting'."\n" - .'* normal'."\n" - .'* abnormal'."\n" - .'* opening'."\n" - .'* closing'."\n" - .'* closed'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'RegionId' => [ - 'description' => 'The region ID of your Cloud Firewall.'."\n" - ."\n" - .'> For more information about the supported regions of Cloud Firewall, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'NatGatewayId' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'example' => 'ngw-uf6tnblxip4qcxg******', - ], - 'NatGatewayName' => [ - 'description' => 'The name of the NAT gateway.'."\n", - 'type' => 'string', - 'example' => 'nat-******', - ], - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-2ze26ya******', - ], - 'VpcName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-******', - ], - 'ErrorDetail' => [ - 'description' => 'The cause of the error.'."\n", - 'type' => 'string', - 'example' => 'Create Failed.', - ], - 'StrictMode' => [ - 'description' => 'Indicates whether the strict mode is enabled. Valid values: 1, which specifies yes, and 0, which specifies no.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NatRouteEntryList' => [ - 'description' => 'The default route entries of the NAT gateway.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'The route table to which the default route of the NAT gateway belongs.'."\n", - 'type' => 'string', - 'example' => 'vtb-bp18o0gb******', - ], - 'NextHopId' => [ - 'description' => 'The next hop of the original NAT gateway.'."\n", - 'type' => 'string', - 'example' => 'ngw-2ze0s284r9atg5******', - ], - 'NextHopType' => [ - 'description' => 'The network type of the next hop. The value is fixed as NatGateway.'."\n", - 'type' => 'string', - 'example' => 'NatGateway', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the default route.'."\n", - 'type' => 'string', - 'example' => '0.0.0.0/0', - ], - ], - ], - ], - 'ProxyVSwitchId' => [ - 'type' => 'string', - ], - 'ProxyRouteTableId' => [ - 'type' => 'string', - ], - 'ProxyNetworkInterfaceId' => [ - 'type' => 'string', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '03E8AA70-0CC9-42EA-97AA-EA68377930B4', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorNatGatewayNotAvailable', - 'errorMessage' => 'Nat gateway not available.', - ], - [ - 'errorCode' => 'ErrorDnatNotSupport', - 'errorMessage' => 'NAT firewall does not support DAT entries.', - ], - [ - 'errorCode' => 'ErrorProxySnatIpEmpty', - 'errorMessage' => 'SNAT entry is empty.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorInstanceTooManyMembersOnce', 'errorMessage' => 'too many members once.', 'description' => 'The number of members to be added or deleted at a time exceeds the limit.'], + ['errorCode' => 'ErrorInstanceMemberHasFirewall', 'errorMessage' => 'instance member has firewall resource.', 'description' => 'A forward proxy, a DNS firewall, or a VPC firewall whose Routing Mode is Manual is created for the member.'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => 'An authentication error occurred.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\",\\n \\"NatFirewallList\\": [\\n {\\n \\"MemberUid\\": 0,\\n \\"AliUid\\": 0,\\n \\"ProxyId\\": \\"proxy-nat30******\\",\\n \\"ProxyName\\": \\"nat-防火墙测试\\\\n\\",\\n \\"ProxyStatus\\": \\"normal\\",\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6tnblxip4qcxg******\\",\\n \\"NatGatewayName\\": \\"NAT网关测试\\\\n\\",\\n \\"VpcId\\": \\"vpc-2ze26ya******\\",\\n \\"VpcName\\": \\"vpc-测试实例\\",\\n \\"ErrorDetail\\": \\"防火墙创建失败\\",\\n \\"StrictMode\\": 0,\\n \\"NatRouteEntryList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-bp18o0gb******\\",\\n \\"NextHopId\\": \\"ngw-2ze0s284r9atg5******\\",\\n \\"NextHopType\\": \\"NatGateway\\",\\n \\"DestinationCidr\\": \\"0.0.0.0/0\\"\\n }\\n ],\\n \\"ProxyVSwitchId\\": \\"vsw-bp1amn3t1ktjjy8******\\",\\n \\"ProxyRouteTableId\\": \\"vtb-bp1pmyga7p4j10a******\\",\\n \\"ProxyNetworkInterfaceId\\": \\"eni-bp127llmo4v5qju******\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeNatFirewallList', - ], - 'DescribeFirewallVSwitch' => [ - 'summary' => '获取防火墙创建的交换机', - 'methods' => [ - 'post', - 'get', + 'title' => 'DeleteInstanceMembers', + 'description' => 'You can delete up to 20 Cloud Firewall member accounts in a single call. Separate the UIDs of multiple member accounts with commas (,). After a member account is deleted, Cloud Firewall can no longer access the cloud resources of that account. Use this operation with caution. Before deleting member accounts, call the [DescribeInstanceMembers](~~271704~~) operation to retrieve information about the member accounts.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed the limit, API calls are throttled. This can affect your business operations. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstanceMembers'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"03E8AA70-0CC9-42EA-97AA-EA68377930B4\\"\\n}","type":"json"}]', + ], + 'DeleteIpsPrivateAssoc' => [ + 'summary' => 'Creates a private network association for an IPS.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68260', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '240774', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response messages. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'ngw-c5vhmjdfp5t****', 'title' => ''], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '133173B9-8010-5DF5*****', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ERR_RESOURCE_NOT_SUPPORT', 'errorMessage' => 'This operation is not currently supported by the resource.Please try again later.', 'description' => 'This operation is not currently supported by the resource. Please try again later.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeleteIpsPrivateAssoc', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6b5lyul0x******', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5*****\\"\\n}","type":"json"}]', + ], + 'DeleteNatFirewallControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'VswitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1sqg9w******', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '171413', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'FirewallId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-5b202e7f0be64611****', - ], + 'schema' => ['description' => 'The language type of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '102910763545****', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.'."\n" + ."\n" + .'To delete a security access control policy, you must provide the unique ID of the policy. You can call the DescribeNatFirewallControlPolicy operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'b6c8f905-2eb6-442a-ba35-9416e9dbb2c5', 'title' => ''], ], [ - 'name' => 'PageNo', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The direction of traffic that the access control policy controls.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **out**: outbound traffic.', 'type' => 'string', 'required' => true, 'example' => 'out', 'title' => ''], ], ], 'responses' => [ @@ -7036,161 +5964,120 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A1562A68-99FA-5D6B-BD5B-2F959F25****', - ], - 'VswitchList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2zeez7gymz5r4pi****am', - ], - 'CidrBlock' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.XX/16', - ], - 'VswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-bp10qla9mgi42eo****', - ], - 'AvailableIpCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'VswitchName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-test', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '184480249330****', - ], - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai-b', - ], - 'FirewallCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'FirewallList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'FirewallName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test-Firewall', - ], - 'FirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-tr-37145c8f5ede45e9****', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '31306819-C4BC-56F3-BBE6-*****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => 'The request parameter NatGatewayId is invalid or does not exist.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"A1562A68-99FA-5D6B-BD5B-2F959F25****\\",\\n \\"VswitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zeez7gymz5r4pi****am\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberUid\\": \\"184480249330****\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"FirewallCount\\": \\"10\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeNatFirewallPrecheckDetail' => [ - 'summary' => '查询NAT防火墙预检查结果', - 'methods' => [ - 'get', + 'title' => 'DeleteNatFirewallControlPolicy', + 'summary' => 'Deletes a NAT firewall access control policy.', + 'description' => 'This operation is used to delete an access control policy for outbound traffic of a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\"\\n}","type":"json"}]', + ], + 'DeleteNatFirewallControlPolicyBatch' => [ + 'summary' => 'Deletes a batch of NAT firewall policies.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '204316', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '173710', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'AclUuidList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'description' => 'A list of access control list (ACL) UUIDs.', + 'type' => 'array', + 'items' => ['description' => 'The UUID of the ACL.', 'type' => 'string', 'required' => true, 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c', 'title' => ''], + 'required' => true, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-bp1okz6k7dge****', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-uf6j0426ap74vd6vrb676', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The traffic direction for the access control policy. Valid value:'."\n" + ."\n" + .'- **out**: outbound traffic.', 'type' => 'string', 'required' => false, 'example' => 'out', 'title' => ''], ], ], 'responses' => [ @@ -7198,422 +6085,320 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IsFound' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'PrecheckDetail' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-m5emh0w6v2e15****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'FirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-tr-7a9c8901ed394****', - ], - 'PrecheckTimestamp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1715136000', - ], - 'PrecheckStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'failed', - ], - 'PrecheckEntityGroups' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'PrecheckEntities' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Precheck test', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'passed', - ], - 'Info' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Suggestion' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'PrecheckEntityGroupStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'running', - ], - 'FailedCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorPreCheckDoing', - 'errorMessage' => 'Pre-check in progress, please try again later.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParamUuidOrOrderMiss', 'errorMessage' => 'Either uuid or oldOrder is invalid.', 'description' => 'Either uuid or oldOrder is invalid.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC防火墙配额已满\\",\\n \\"Suggestion\\": \\"VPC防火墙配额已满,建议您提高防火墙配额\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 9\\n }\\n ]\\n },\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', - ], - 'DescribeFirewallVswitchResources' => [ - 'summary' => '获取防火墙交换机资源', - 'methods' => [ - 'post', - 'get', + 'title' => 'DeleteNatFirewallControlPolicyBatch', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicyBatch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicyBatch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\"\\n}","type":"json"}]', + ], + 'DeletePrivateDnsAllDomainName' => [ + 'summary' => 'Deletes all private DNS domain names.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68261', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '226320', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The instance ID.', 'title' => '', 'example' => 'pd-12345'], + ], + [ + 'name' => 'RegionNo', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The region ID of the instance.', 'title' => '', 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF****'], ], - 'example' => 'zh', + 'title' => '', + 'description' => 'The schema of the response.', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DeletePrivateDnsAllDomainName', + 'description' => 'This API call is used to delete all private domain names.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'Each user is limited to 10 queries per second (QPS) for this API call. If you exceed this limit, API calls are throttled, which may impact your business. We recommend that you plan your API calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsAllDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], - 'example' => 'zh', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF****\\"\\n}","type":"json"}]', + ], + 'DeletePrivateDnsDomainName' => [ + 'summary' => 'Delete private DNS domain names', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226315', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'RegionNo', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'pd-12345', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-2ze36yb348axtnf****', - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ - 'name' => 'FirewallType', + 'name' => 'DomainNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of domain names.', + 'type' => 'array', + 'items' => ['description' => 'The list of domain names.', 'type' => 'string', 'required' => false, 'example' => '[\\"example.com\\"]', 'title' => ''], 'required' => true, - 'enumValueTitles' => [], - 'example' => 'internet', + 'maxItems' => 100, + 'minItems' => 1, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A81E99DF-07CF-5EE4-966A-9FF9F2F****', - ], - 'VswitchList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'open', - ], - 'CidrBlock' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.XX/16', - ], - 'VswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-bp10qla9mgi42eo****', - ], - 'AvailableIpCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'VswitchName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-test', - ], - 'RouteTableType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Custom', - ], - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai-b', - ], - 'RouteTableId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vtb-uf6ml7rgw5gzzdr****', - ], - 'Detail' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[]', - ], - 'FirewallList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'FirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-tr-37145c8f5ede45e9****', - ], - 'FirewallName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test-Firewall', - ], - 'FirewallType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NatFirewall', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-0009012****'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'vpc id invalid', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ['errorCode' => 'ErrorPrivateDnsDomainName', 'errorMessage' => 'private dns domain name error.', 'description' => 'Private DNS domain name error'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DeletePrivateDnsDomainName', + 'description' => 'Deletes domain names that require private DNS resolution.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', + ], + 'DeletePrivateDnsEndpoint' => [ + 'summary' => 'Deletes a private DNS endpoint.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226262', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'AccessInstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The instance ID.', 'title' => '', 'example' => 'pd-12345'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The region ID of the instance.', 'title' => '', 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '822B9125-6E1A-551C-8EAF-6E7****'], + ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorPrivateDnsOperationDenied', 'errorMessage' => 'private dns operation is not allowed.', 'description' => 'Operation not allowed'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"A81E99DF-07CF-5EE4-966A-9FF9F2F****\\",\\n \\"VswitchList\\": [\\n {\\n \\"Status\\": \\"open\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RouteTableType\\": \\"Custom\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"RouteTableId\\": \\"vtb-uf6ml7rgw5gzzdr****\\",\\n \\"Detail\\": \\"[]\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\",\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallType\\": \\"NatFirewall\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeSecurityProxyResources' => [ - 'summary' => '获取正向代理资源', - 'methods' => [ - 'post', - 'get', + 'title' => 'DeletePrivateDnsEndpoint', + 'description' => 'You can use this operation to create a policy that allows, denies, or monitors traffic that passes through a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7****\\"\\n}","type":"json"}]', + ], + 'DeleteSecurityProxy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68361', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68156', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-uf6y16l23fm8hq0****', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'MemberUid', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '136481150091****', - ], + 'schema' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'proxy-nat00ab******'], ], ], 'responses' => [ @@ -7621,483 +6406,416 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A8E8D50E-9F45-5662-B116-A1D0807F****', - ], - 'ResourceList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'VpcList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-8vbuzirdl3w1r7exw****', - ], - 'VpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-wz94a4q37rgl7g****', - ], - 'CidrBlock' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '157862808111****', - ], - 'NatGateways' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Available', - ], - 'Detail' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Available', - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-bp1bm0k2t8i6ooxu****', - ], - 'NatGatewayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'NatRouteEntryList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NextHopId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-2zey0w2u02u1x584m****', - ], - 'DestinationCidr' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.0.70.XX/24', - ], - 'RouteTableId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vtb-2ze409pp09d994a****', - ], - 'NextHopType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NatGateway', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '7447795A-39AB-52CB-8F92-128DF******'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E8D50E-9F45-5662-B116-A1D0807F****\\",\\n \\"ResourceList\\": [\\n {\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"VpcName\\": \\"vpc-wz94a4q37rgl7g****\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"MemberUid\\": \\"157862808111****\\",\\n \\"NatGateways\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"Detail\\": \\"Available\\",\\n \\"NatGatewayId\\": \\"ngw-bp1bm0k2t8i6ooxu****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatRouteEntryList\\": [\\n {\\n \\"NextHopId\\": \\"ngw-2zey0w2u02u1x584m****\\",\\n \\"DestinationCidr\\": \\"10.0.70.XX/24\\",\\n \\"RouteTableId\\": \\"vtb-2ze409pp09d994a****\\",\\n \\"NextHopType\\": \\"NatGateway\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateNatFirewallSyncTask' => [ - 'summary' => '创建NAT防火墙资产同步任务', - 'methods' => [ - 'post', + 'title' => 'DeleteSecurityProxy', + 'summary' => 'Deletes the specified NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSecurityProxy'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\"\\n}","type":"json"}]', + ], + 'DeleteTrFirewallV2' => [ + 'summary' => 'Deletes a VPC firewall for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '237946', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '142850', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC firewall for the transit router.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-99bc4f0fc88b4d00****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '3E048D45-A563-5F81-9D97-536B4A84****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A774E66E-B170-59FC-9AAF-3068B15E991F', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], + 400 => [ + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => ''], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorTrFirewallNotEmpty', 'errorMessage' => 'Can not delete firewall since firewall still attached to a firewall policy.', 'description' => 'The firewall cannot be deleted. There are still firewall drainage scenarios in the firewall.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorCenTRAssociationNotFound', 'errorMessage' => 'CEN-TR attachment association not found.', 'description' => 'CEN-TR attachment association not found.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorTrFirewallRouteTableInUse', 'errorMessage' => 'Can not delete firewall. There\'s a firewall route table still associate with network instance.', 'description' => 'The firewall cannot be removed, and the firewall routing table is still bound to some network instances.'], + ['errorCode' => 'ErrorIllegalFwStatusUpdate', 'errorMessage' => 'Can not set firewall status.', 'description' => 'Unable to update firewall state.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3E048D45-A563-5F81-9D97-536B4A84****\\"\\n}","type":"json"}]', - ], - 'CreateNatFirewallPreCheck' => [ - 'summary' => '创建NAT防火墙预检查', - 'methods' => [ - 'post', + 'title' => 'DeleteTrFirewallV2', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTrFirewallV2'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A774E66E-B170-59FC-9AAF-3068B15E991F\\"\\n}","type":"json"}]', + ], + 'DeleteVpcFirewallCenConfigure' => [ + 'summary' => 'Deletes a VPC firewall that protects traffic between network instances in a Cloud Enterprise Network (CEN) and a specified VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '207105', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68163', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'VpcId', - 'in' => 'formData', + 'name' => 'VpcFirewallIdList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The instance IDs of VPC firewalls.', + 'type' => 'array', + 'items' => ['description' => 'The instance ID of the VPC firewall.'."\n" + ."\n" + .'> Call [DescribeVpcFirewallCenList](~~345777~~) to query the instance ID of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], 'required' => true, - 'example' => 'vpc-2zeiljdml8pble168****', + 'maxItems' => 200, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'NatGatewayId', - 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-uf69hlxv5c817iqrk****', - ], + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account of the current Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'A426611F-04FA-5205-8D04-4F6DCF09****', - ], - 'PreCheckId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2122', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => 'The VPC firewall ID is invalid.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => 'The specified VPC firewall does not exist. Select another one.'], + ['errorCode' => 'ErrorFirewallStatusCannotModify', 'errorMessage' => 'Current firewall status, configuration not allowed', 'description' => 'You cannot configure the firewall because the status of the firewall is invalid.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A426611F-04FA-5205-8D04-4F6DCF09****\\",\\n \\"PreCheckId\\": \\"2122\\"\\n}","type":"json"}]', - ], - 'CreateSecurityProxy' => [ - 'summary' => 'Creates a NAT firewall.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Delete a VPC firewall for Cloud Enterprise Network', + 'description' => 'This operation deletes a VPC firewall. The VPC firewall protects traffic between network instances (including VPCs, virtual border routers (VBRs), and Cloud Connect Networks (CCNs)) in a Cloud Enterprise Network (CEN) and a specified VPC.'."\n" + .'Before calling this operation, call [CreateVpcFirewallCenConfigure](~~345772~~) to create a VPC firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallCenConfigure'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","type":"json"}]', + ], + 'DeleteVpcFirewallConfigure' => [ + 'summary' => 'Deletes a virtual private cloud (VPC) firewall that protects traffic between two VPCs connected through Express Connect.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68127', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68165', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'ProxyName', + 'name' => 'VpcFirewallIdList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The name of the NAT firewall. The name must be 4 to 50 characters in length, and can contain letters, digits, and underscores (\\_). However, it cannot start with an underscore.'."\n", - 'type' => 'string', + 'description' => 'The list of instance IDs of the virtual private cloud (VPC) firewalls to delete.', + 'type' => 'array', + 'items' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.'."\n" + ."\n" + .'> You can invoke the [DescribeVpcFirewallList](~~342932~~) operation to query the instance ID of a VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], 'required' => true, - 'example' => 'nat-idmp-fir', + 'maxItems' => 200, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'RegionNo', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the virtual private cloud (VPC).'."\n" - ."\n" - .'> For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-uf6b5lyul0xfgv74i01ph', - ], + 'schema' => ['description' => 'The UID of one of the member accounts of the current Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-bp1okz6k7s4n4mnk5f1g3', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'VswitchAuto', - 'in' => 'query', - 'schema' => [ - 'description' => 'The mode of the vSwitch that you want to use. Valid values:'."\n" - ."\n" - .'* **true**: automatic'."\n" - .'* **false**: manual'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', 'description' => 'The specified VPC firewall does not exist. Enter another value.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => 'The ID of the firewall is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => 'The status of the firewall is invalid. Try again later.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Delete a VPC firewall', + 'description' => 'This operation is used to delete a virtual private cloud (VPC) firewall that protects traffic between two VPCs connected through Express Connect.'."\n" + .'Before you invoke this operation, you must have already created a VPC firewall by invoking the [CreateVpcFirewallConfigure](~~342893~~) operation.'."\n" + ."\n" + .'## Rate limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallConfigure'], ], + ], + 'ramActions' => [ [ - 'name' => 'VswitchId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch. This parameter is required if you set the VswitchAuto parameter to true.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1sqg9wms9w9y1uxcs1x', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","type":"json"}]', + ], + 'DeleteVpcFirewallControlPolicy' => [ + 'summary' => 'Deletes an access control policy from a specified VPC firewall policy group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NatRouteEntryList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The routes to be switched to the NAT gateway.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NextHopId' => [ - 'description' => 'The next hop of the original NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-bp1okz6k7s4n4mnk5f1g3', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the default route.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '0.0.0.0/0', - ], - 'NextHopType' => [ - 'description' => 'The network type of the next hop. Set the value to NatGateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'NatGateway', - ], - 'RouteTableId' => [ - 'description' => 'The route table to which the default route of the NAT gateway belongs.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vtb-2ze13wrgz7wsu9yiqeffg', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 10000, - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68166', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'FirewallSwitch', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the NAT firewall. Valid values:'."\n" - ."\n" - .'* **open**: enabled'."\n" - .'* **close**: disabled'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'close', - ], + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'- **zh**: Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'StrictMode', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the strict mode. Valid values:'."\n" - ."\n" - .'* 1: yes'."\n" - .'* 0: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The unique ID of the access control policy for the virtual private cloud (VPC) firewall.'."\n" + ."\n" + .'To delete an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df2214****', 'title' => ''], ], [ - 'name' => 'VswitchCidr', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The CIDR block of the vSwitch.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0.0.0.0/0', - ], + 'schema' => ['description' => 'The ID of the access control policy group for the virtual private cloud (VPC) firewall. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to obtain the ID.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects a CEN instance, the value is the instance ID of the CEN instance.'."\n" + ."\n" + .' Example: cen-ervw0g12b5jbw\\*\\*\\*'."\n" + ."\n" + .'- If the VPC firewall protects an Express Connect circuit, the value is the instance ID of the VPC firewall.'."\n" + .' '."\n" + .' Example: vfw-a42bbb7b887148c9\\*\\*\\*.', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c91****', 'title' => ''], ], ], 'responses' => [ @@ -8105,226 +6823,138 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ProxyId' => [ - 'description' => 'The ID of the NAT firewall.'."\n", - 'type' => 'string', - 'example' => 'proxy-nat97ac4d7cc3834a5daf40', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3DC3CAB', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParamProxyNameError', - 'errorMessage' => 'proxy name invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', - ], - [ - 'errorCode' => 'ErrorDnatNotSupport', - 'errorMessage' => 'Secure proxy does not support DNAT entries.', - ], - [ - 'errorCode' => 'ErrorProxySnatIpEmpty', - 'errorMessage' => 'SNAT entry is empty.', - ], - [ - 'errorCode' => 'ErrorSnatIpQuotaExceed', - 'errorMessage' => 'The number of SNAT IP exceeds the specification.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDefaultRouteConflicts', - 'errorMessage' => 'Default route conflicts.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorProxyRouteEntryConflicts', - 'errorMessage' => 'Proxy custom route table Nat Gateway and Attachment route entry conflict.', - ], - [ - 'errorCode' => 'ErrorVswitchNoAvailableCidr', - 'errorMessage' => 'No available CIDR to create a vswitch.', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Network segment CIDR format error, please select again', - ], - [ - 'errorCode' => 'ErrorInternal', - 'errorMessage' => 'internal error', - ], - [ - 'errorCode' => 'ErrorVswitchCidrNotInVpc', - 'errorMessage' => 'Vswitch CIDR address not in vpc.', - ], - [ - 'errorCode' => 'ErrorVswitchRouteConflict', - 'errorMessage' => 'vswitch route conflict.', - ], - [ - 'errorCode' => 'ErrorVswitchCidrIpNumNotEnough', - 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', - ], - [ - 'errorCode' => 'ErrorRouteEntryNotFound', - 'errorMessage' => 'route entry not found.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorProxyVpcNotSupportAdvFeature', - 'errorMessage' => 'This vpc advanced feature is not supported.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorProxyNumQuotaTop', - 'errorMessage' => 'Proxy num reaches maximum.', - ], - [ - 'errorCode' => 'ErrorProxyClusterNotAvailable', - 'errorMessage' => 'Can not find available cluster for nat firewall.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorNatVpnRouteEntryQuotaLimit', - 'errorMessage' => 'The number of VPN routes has reached the quota.', - ], - [ - 'errorCode' => 'ErrorVpcRouteTableQuotaLimit', - 'errorMessage' => 'The number of VPC routing tables has reached the specification limit.', - ], - [ - 'errorCode' => 'ErrorNatCustomRouteEntryDifferent', - 'errorMessage' => 'The custom route entries in the routing tables are inconsistent.', - ], - [ - 'errorCode' => 'ErrorSnatEntryQuotaExceed', - 'errorMessage' => 'SNAT entry quota exceeded.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Delete an access control policy from a VPC firewall policy group', + 'description' => 'This operation is used to delete an access control policy from a specified VPC firewall policy group. The VPC firewall instances that protect Cloud Enterprise Network (CEN) instances and the VPC firewall instances that protect Express Connect circuits use different access control policies.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the number of calls exceeds the limit, throttling is triggered, which may affect your business. Call this operation as appropriate.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallControlPolicy'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProxyId\\": \\"proxy-nat97a******\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\"\\n}","type":"json"}]', - 'title' => 'CreateSecurityProxy', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', ], - 'SwitchSecurityProxy' => [ - 'summary' => 'Enables or disables a NAT firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeACLProtectTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68530', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68171', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '223.95.87.130', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'ProxyId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT firewall.', - 'type' => 'string', - 'required' => true, - 'example' => 'proxy-natbfd2fafbb77042308d1b', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Switch', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the NAT firewall. Valid values:'."\n" - ."\n" - .'* open: yes'."\n" - .'* close: no'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'open', - ], + 'schema' => ['description' => 'The start time of the query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1677050306', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1670397599', 'title' => ''], + ], + [ + 'name' => 'FirewallType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the firewall border. Valid values:'."\n" + .'- **internet** (default): Internet Border firewall, which monitors traffic between the Internet and your assets.'."\n" + .'- **vpc**: virtual private cloud (VPC) firewalls, which monitor traffic between VPCs.'."\n" + .'- **nat**: NAT firewalls, which monitor traffic from internal-facing assets to the Internet.', 'type' => 'string', 'required' => false, 'example' => 'vpc', 'title' => ''], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The time aggregation granularity for trend data, in seconds. Valid values:'."\n" + .'- **60**: 1-minute granularity (uses the minute-level detail table).'."\n" + .'- **1800**: 30-minute granularity.'."\n" + .'- **3600**: 1-hour granularity.'."\n" + .'- **86400** (default): 1-day granularity.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], ], ], 'responses' => [ @@ -8332,250 +6962,277 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.', - 'type' => 'string', - 'example' => 'F1E55690-3ABA-58FA-90E3-593EF05B73ED', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9063AB86-6FFA-5B2D-A16D-697C966DECA3', 'title' => ''], + 'Interval' => ['description' => 'The step size of the returned data, in seconds. This indicates the interval between consecutive data points.', 'type' => 'integer', 'format' => 'int32', 'example' => '86400', 'title' => ''], + 'TotalProtectCnt' => ['description' => 'The total number of Internet access control interceptions.', 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'title' => ''], + 'InProtectCnt' => ['description' => 'The number of inbound interceptions by Internet access control.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'InterVPCProtectCnt' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int64', 'deprecated' => true, 'example' => '0', 'title' => ''], + 'OutProtectCnt' => ['description' => 'The number of outbound interceptions by Internet access control.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''], + 'TrendList' => [ + 'description' => 'The list of Internet access control interception trend data.', + 'type' => 'array', + 'items' => [ + 'description' => 'The Internet access control interception trend data.', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => 'The timestamp of 00:00 of each day, in seconds. This indicates the date.', 'type' => 'integer', 'format' => 'int64', 'example' => '1697299200', 'title' => ''], + 'ProtectCnt' => ['description' => 'The number of Internet access control interceptions on the day.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'PassCnt' => ['description' => 'The total number of sessions that matched an ACL policy and were allowed during the time interval.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'AlertCnt' => ['description' => 'The total number of sessions that matched an ACL policy and triggered the monitor (alert) action during the time interval.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalAlertCnt' => ['description' => 'The cumulative sum of AlertCnt across all time points within the query time range. This represents the total number of sessions that matched an ACL policy and triggered the monitor (alert) action during the entire time period.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'TotalPassCnt' => ['description' => 'The cumulative sum of PassCnt across all time points within the query time range. This represents the total number of sessions that matched an ACL policy and were allowed during the entire time period.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParamProxyNameError', - 'errorMessage' => 'proxy name invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorProxyStatusNotNormal', - 'errorMessage' => 'proxy status is not normal.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1E55690-3ABA-58FA-90E3-593EF******\\"\\n}","type":"json"}]', - 'title' => 'SwitchSecurityProxy', - ], - 'UpdateSecurityProxy' => [ - 'summary' => '更新安全正向代理', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query internet access control intercept trend', + 'summary' => 'Queries the trend chart of Internet access control interceptions.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeACLProtectTrend'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeACLProtectTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966DECA3\\",\\n \\"Interval\\": 86400,\\n \\"TotalProtectCnt\\": 300,\\n \\"InProtectCnt\\": 100,\\n \\"InterVPCProtectCnt\\": 0,\\n \\"OutProtectCnt\\": 200,\\n \\"TrendList\\": [\\n {\\n \\"Time\\": 1697299200,\\n \\"ProtectCnt\\": 100,\\n \\"PassCnt\\": 10,\\n \\"AlertCnt\\": 20\\n }\\n ],\\n \\"TotalAlertCnt\\": 100,\\n \\"TotalPassCnt\\": 100\\n}","type":"json"}]', + ], + 'DescribeAITrafficAnalysisStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68536', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '4E7F94C7-781F-5192-86CF-DB085****'], + 'Status' => ['type' => 'string', 'description' => 'The enabling status. Valid values:'."\n" + ."\n" + .'- **open**'."\n" + ."\n" + .'- **close**', 'title' => '', 'example' => 'open'], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAITrafficAnalysisStatus', + 'summary' => 'Queries the enabling status of AI-powered traffic analysis.', + 'description' => 'The statistics apply to the current Cloud Firewall instance and include all data from the date of purchase.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ProxyId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'proxy-natfdc73073e031****8e0d', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085****\\",\\n \\"Status\\": \\"open\\"\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceRegionList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '235038', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'ProxyName', + 'name' => 'AccessInstanceStatus', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'proxy_auto_heyuan', - ], + 'schema' => ['description' => 'The status of the synchronization node.', 'type' => 'string', 'required' => false, 'example' => 'ready', 'title' => ''], ], [ - 'name' => 'StrictMode', + 'name' => 'AccessInstanceType', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The type of the synchronization node. Valid values:'."\n" + ."\n" + .'- **PrivateDns**: Private DNS resolution.'."\n" + ."\n" + .'- **AckClusterConnector**: ACK cluster connector.', + 'enumValueTitles' => ['AckClusterConnector' => 'ACK cluster connector.', 'PrivateDns' => 'Private DNS resolution.'], + 'type' => 'string', 'required' => false, - 'example' => '1', + 'example' => 'AckClusterConnector', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ips_server', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9E2CCAB4-E789-5BC9-88DC-5CE0358E****', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], + 'RegionNoList' => [ + 'description' => 'The list of regions that support the current synchronization node type.', + 'type' => 'array', + 'items' => ['description' => 'The region that supports the current synchronization node type.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParamProxyNameError', - 'errorMessage' => 'proxy name invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorProxyStatusNotNormal', - 'errorMessage' => 'proxy status is not normal.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\",\\n \\"RequestId\\": \\"9E2CCAB4-E789-5BC9-88DC-5CE0358E****\\"\\n}","type":"json"}]', - ], - 'DeleteSecurityProxy' => [ - 'summary' => 'Deletes a NAT firewall.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query synchronization node region list', + 'summary' => 'Queries the list of regions for synchronization nodes.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionNoList\\": [\\n \\"cn-beijing\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceTask' => [ + 'summary' => 'Queries the progress of a synchronization task on a node.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68156', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '226332', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'AccessInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the synchronization node.', 'type' => 'string', 'required' => false, 'example' => 'pdi-3bc2f91695ee48bd9377', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English', + 'description' => 'The language of the response messages.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'ProxyId', + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => false, 'example' => 'task-c92d4544ef7b6a42', 'title' => ''], + ], + [ + 'name' => 'AccessInstanceType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the NAT firewall.'."\n", + 'description' => 'The type of the synchronization node.', + 'enumValueTitles' => ['AckClusterConnector' => 'ACK cluster connector', 'PrivateDNS' => 'Private DNS'], 'type' => 'string', - 'required' => true, - 'example' => 'proxy-nat00ab412ef93d4275a6b5', + 'required' => false, + 'example' => 'AckClusterConnector', + 'title' => '', ], ], ], @@ -8584,66 +7241,66 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7447795A-39AB-52CB-8F92-128DF4898F36', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], + 'IsFound' => ['description' => 'Indicates whether the task exists.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'TaskStatus' => ['description' => 'The task status.', 'type' => 'string', 'example' => 'running', 'title' => ''], + 'TaskName' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'Create an ACK cluster connector', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '3c9d576f-fce0-4caa-9116-15033509bdb6', 'title' => ''], + 'TaskStartTimestamp' => ['description' => 'The time when the task was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '17151361285', 'title' => ''], + 'TaskFinishTimestamp' => ['description' => 'The time when the task was completed.', 'type' => 'integer', 'format' => 'int64', 'example' => '17151381075', 'title' => ''], + 'TaskSteps' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StepName' => ['description' => 'The name of the step.', 'type' => 'string', 'example' => 'Obtain ACK cluster information', 'title' => ''], + 'StepStatus' => ['description' => 'The status of the step.', 'type' => 'string', 'example' => 'finished', 'title' => ''], + 'StepProgress' => ['description' => 'The progress of the step.', 'type' => 'string', 'example' => '100%', 'title' => ''], + ], + 'description' => 'The steps of the task.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The steps of the task.', + 'title' => '', + 'example' => '', ], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\"\\n}","type":"json"}]', - 'title' => 'DeleteSecurityProxy', - ], - 'DescribeVpcFirewallSummaryInfo' => [ - 'summary' => '获取VPC防火墙总结信息', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeAccessInstanceTask', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"IsFound\\": true,\\n \\"TaskStatus\\": \\"running\\",\\n \\"TaskName\\": \\"Create an ACK cluster connector\\",\\n \\"TaskId\\": \\"3c9d576f-fce0-4caa-9116-15033509bdb6\\",\\n \\"TaskStartTimestamp\\": 17151361285,\\n \\"TaskFinishTimestamp\\": 17151381075,\\n \\"TaskSteps\\": [\\n {\\n \\"StepName\\": \\"Obtain ACK cluster information\\",\\n \\"StepStatus\\": \\"finished\\",\\n \\"StepProgress\\": \\"100%\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceVSwitchList' => [ + 'summary' => 'Queries the vSwitches for synchronization nodes.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8652,45 +7309,47 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68427', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '235044', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6b5lyul0x******', 'title' => ''], ], [ - 'name' => 'UserType', + 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'buy', - ], + 'schema' => ['description' => 'The zone ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i', 'title' => ''], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'required' => false, 'example' => 'vsw-qzeaol304m***', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud account to which the resource belongs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '135809047715****', 'title' => ''], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -8698,274 +7357,77 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AvailableVpcFirewallQuota' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'CenExpressConnectVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'CenFirewallVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CenTrVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '13', - ], - 'ClosedCenFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ClosedExpressConnectFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ClosedVpcFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ConfiguredCenFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ConfiguredCenFirewallRegionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredCenFirewallVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', - ], - 'ConfiguredCenTrFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredExpressConnectFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredExpressConnectVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredVpcFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ConfiguredVpcFirewallVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ExpressConnectVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'NotConfiguredCenFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NotConfiguredCenTrFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'NotConfiguredExpressConnectFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'NotConfiguredVpcFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'OpenedCenExpressConnectVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OpenedCenFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'OpenedCenFirewallVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'OpenedCenTrFirewallVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'OpenedEcrCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'OpenedExpressConnectFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'OpenedExpressConnectVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'OpenedPeerTrCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'OpenedVbrCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'OpenedVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '17', - ], - 'OpenedVpcFirewallCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'OpenedVpnCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '8AABEF64-7ABF-52CB-BA6C-0598E3DB****', - ], - 'TotalEcrCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalPeerTrCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'TotalVbrCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TotalVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalVpcFirewallQuota' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TotalVpnCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Zones' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], + 'VSwitchList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The ID of the VPC to which the vSwitch belongs.', 'type' => 'string', 'example' => 'vpc-uf6b5lyul0x******', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'example' => 'vsw-qzeaol304m***', 'title' => ''], + 'VSwitchName' => ['description' => 'The name of the vSwitch.', 'type' => 'string', 'example' => 'ManagedVSW', 'title' => ''], + 'CidrBlock' => ['description' => 'The IPv4 CIDR block of the vSwitch.', 'type' => 'string', 'example' => '192.168.0.0/16', 'title' => ''], + 'AvailableIpAddressCount' => ['description' => 'The number of available IP addresses in the vSwitch.', 'type' => 'integer', 'format' => 'int64', 'example' => '254', 'title' => ''], + 'FirewallVSwitch' => ['description' => 'Indicates whether the vSwitch is in a VPC that is managed by Cloud Firewall.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'description' => 'A vSwitch.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of vSwitches.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'A zone.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of zones.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAccessInstanceVSwitchList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AvailableVpcFirewallQuota\\": 4,\\n \\"CenExpressConnectVpcCount\\": 7,\\n \\"CenFirewallVpcCount\\": 10,\\n \\"CenTrVpcCount\\": 13,\\n \\"ClosedCenFirewallCount\\": 1,\\n \\"ClosedExpressConnectFirewallCount\\": 10,\\n \\"ClosedVpcFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallRegionCount\\": 2,\\n \\"ConfiguredCenFirewallVpcCount\\": 18,\\n \\"ConfiguredCenTrFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectVpcCount\\": 2,\\n \\"ConfiguredVpcFirewallCount\\": 5,\\n \\"ConfiguredVpcFirewallVpcCount\\": 1,\\n \\"ExpressConnectVpcCount\\": 2,\\n \\"NotConfiguredCenFirewallCount\\": 0,\\n \\"NotConfiguredCenTrFirewallCount\\": 6,\\n \\"NotConfiguredExpressConnectFirewallCount\\": 7,\\n \\"NotConfiguredVpcFirewallCount\\": 12,\\n \\"OpenedCenExpressConnectVpcCount\\": 10,\\n \\"OpenedCenFirewallCount\\": 4,\\n \\"OpenedCenFirewallVpcCount\\": 0,\\n \\"OpenedCenTrFirewallVpcCount\\": 4,\\n \\"OpenedEcrCount\\": 0,\\n \\"OpenedExpressConnectFirewallCount\\": 15,\\n \\"OpenedExpressConnectVpcCount\\": 2,\\n \\"OpenedPeerTrCount\\": 3,\\n \\"OpenedVbrCount\\": 0,\\n \\"OpenedVpcCount\\": 17,\\n \\"OpenedVpcFirewallCount\\": 9,\\n \\"OpenedVpnCount\\": 6,\\n \\"RequestId\\": \\"8AABEF64-7ABF-52CB-BA6C-0598E3DB****\\",\\n \\"TotalEcrCount\\": 2,\\n \\"TotalPeerTrCount\\": 6,\\n \\"TotalVbrCount\\": 5,\\n \\"TotalVpcCount\\": 2,\\n \\"TotalVpcFirewallQuota\\": 5,\\n \\"TotalVpnCount\\": 1\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 1,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Zones\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VSwitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"VSwitchId\\": \\"vsw-qzeaol304m***\\",\\n \\"VSwitchName\\": \\"ManagedVSW\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"AvailableIpAddressCount\\": 254,\\n \\"FirewallVSwitch\\": false\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeVpcFirewallAccessDetail' => [ - 'summary' => '获取VPC防火墙通过详情', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAccessInstanceVpcList' => [ + 'summary' => 'Queries the VPCs associated with synchronization nodes.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8974,194 +7436,241 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68411', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '235040', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-hangzhou'], ], [ - 'name' => 'StartTime', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1655778046', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the VPC instance.', 'title' => '', 'example' => 'vpc-j6cvhdscntzuvr0x****'], ], [ - 'name' => 'EndTime', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1729042555', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The UID of the Alibaba Cloud account that owns the resource.', 'required' => false, 'title' => '', 'example' => '135809047715****'], ], [ - 'name' => 'VpcId', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-2ze4xj5kmb5udb****', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The page number.', 'required' => false, 'title' => '', 'example' => '1'], ], [ - 'name' => 'Port', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries per page.', 'required' => false, 'title' => '', 'example' => '10'], ], - [ - 'name' => 'Direction', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'in', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of entries.', 'title' => '', 'example' => '10'], + 'PageNo' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The page number.', 'title' => '', 'example' => '1'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries per page.', 'title' => '', 'example' => '10'], + 'VpcList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['type' => 'string', 'description' => 'The ID of the VPC instance.', 'title' => '', 'example' => 'vpc-2ze1t4irqj0fljlbb****'."\n"], + 'VpcName' => ['type' => 'string', 'description' => 'The name of the VPC instance.', 'title' => '', 'example' => 'Cloud_Firewall_VPC'], + 'FirewallVpc' => ['type' => 'boolean', 'description' => 'Indicates whether the VPC is managed by Cloud Firewall.', 'title' => '', 'example' => 'false'], + ], + 'description' => 'The list of VPCs.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of VPCs.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAccessInstanceVpcList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'IPProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVpcList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2ze1t4irqj0fljlbb****\\\\n\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"FirewallVpc\\": false\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceZoneList' => [ + 'summary' => 'Returns a list of available zones for access instances.', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'RiskLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '235042', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'PeerVpcId', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-90rq0anm6t8vbwbo****', - ], + 'schema' => ['description' => 'The region of the access instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'PeerAssetIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, - 'example' => '10.125.1.XX', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'PeerAssetInstanceId', + 'name' => 'AccessInstanceType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of the access instance.', + 'enumValueTitles' => ['AckClusterConnector' => 'ACK cluster connector', 'PrivateDNS' => 'private DNS'], 'type' => 'string', 'required' => false, - 'example' => 'i-123451'."\n", + 'example' => 'AckClusterConnector', + 'title' => '', ], ], - [ - 'name' => 'PeerAssetInstanceName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ecs22'."\n", + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '31306819-C4BC-56F3-BBE6-*****'], + 'ZoneList' => [ + 'type' => 'array', + 'items' => ['description' => 'A zone.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''], + 'description' => 'The list of zones.', + 'title' => '', + 'example' => '', + ], + 'Zones' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocalName' => ['description' => 'The name of the zone in the local language.', 'type' => 'string', 'example' => 'Beijing Area G', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''], + ], + 'description' => 'A zone.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of zones.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], - [ - 'name' => 'AssetIP', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => 'Region selection error, please re-enter.'."\n"], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAccessInstanceZoneList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'InBytes', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceZoneList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\",\\n \\"ZoneList\\": [\\n \\"cn-beijing-g\\"\\n ],\\n \\"Zones\\": [\\n {\\n \\"LocalName\\": \\"Beijing Area G\\",\\n \\"ZoneId\\": \\"cn-beijing-g\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAckClusterConnector' => [ + 'summary' => 'Queries the details of a specified ACK cluster connector.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'CurrentPage', + 'name' => 'ConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the ACK cluster connector. You can obtain the value from:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): Lists ACK cluster connectors.', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language in which the health status error reason of the ACK cluster connector is displayed.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default).'], 'type' => 'string', 'required' => false, - 'example' => '10', + 'example' => 'zh', + 'title' => '', ], ], ], @@ -9170,432 +7679,294 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '8EAC2347-E85A-5DFF-9F49-B8E1BAFB****', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'PeerAssetInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-123451', - ], - 'PeerAssetIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.125.1.XX', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '17845821669.0', - ], - 'peerVpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'PeerVpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-123411'."\n", - ], - 'PeerAssetInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], + 'AckClusterConnector' => [ + 'description' => 'The ACK cluster connector.', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'The ID of the ACK cluster connector. You can obtain the value from:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): Lists ACK cluster connectors.', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], + 'ConnectorName' => ['description' => 'The name of the ACK cluster connector. The name is 1 to 64 characters in length and can contain Chinese characters, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'example' => 'ack-cluster-connector-name', 'title' => ''], + 'MemberUid' => ['description' => 'The Alibaba Cloud UID of the account to which the ACK cluster resource belongs.', 'type' => 'string', 'example' => '135809047715****'."\n", 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the ACK cluster connector. You can obtain the value from:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of synchronization node regions.'."\n" + ."\n" + .'> For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](~~2865120~~).', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'ClusterId' => ['description' => 'The ID of the ACK cluster. You can obtain the value from:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~): Lists ACK clusters.', 'type' => 'string', 'example' => 'c857d908016794125883a9ee8196cba17', 'title' => ''], + 'ClusterName' => ['description' => 'The name of the ACK cluster.', 'type' => 'string', 'example' => 'ack-cluster-name', 'title' => ''], + 'VpcId' => ['description' => 'The instance ID of the VPC-connected instance to which the ACK cluster belongs.', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****', 'title' => ''], + 'Ttl' => ['description' => 'The synchronization interval of the ACK cluster connector. Valid values: 2 to 60. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'PrimaryVswitchId' => ['description' => 'The primary vSwitch of the ACK cluster connector. You can obtain the value from:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists vSwitches of synchronization nodes.', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****', 'title' => ''], + 'PrimaryVswitchZoneId' => ['description' => 'The zone of the primary vSwitch of the ACK cluster connector. You can obtain the value from:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Lists zones of synchronization node vSwitches.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''], + 'PrimaryVswitchIp' => ['description' => 'The IP address of the primary vSwitch of the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.1.1', 'title' => ''], + 'StandbyVswitchId' => ['description' => 'The standby vSwitch of the ACK cluster connector. You can obtain the value from:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Lists vSwitches of synchronization nodes.', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****', 'title' => ''], + 'StandbyVswitchZoneId' => ['description' => 'The zone of the standby vSwitch of the ACK cluster connector. You can obtain the value from:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Lists zones of synchronization node vSwitches.', 'type' => 'string', 'example' => 'cn-beijing-h', 'title' => ''], + 'StandbyVswitchIp' => ['description' => 'The IP address of the standby vSwitch of the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.2.1', 'title' => ''], + 'ConnectorStatus' => [ + 'description' => 'The instance status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'initializing.', 'deleting' => 'deleting.', 'ready' => 'normal.'], + 'type' => 'string', + 'example' => 'ready', + 'title' => '', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'The health check status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'initializing.', 'healthy' => 'healthy.', 'unhealthy' => 'unhealthy.'], + 'type' => 'string', + 'example' => 'healthy', + 'title' => '', ], + 'UnhealthyReason' => ['description' => 'The reason why the ACK cluster connector is unhealthy.', 'type' => 'string', 'example' => 'The ACK cluster status is unavailable.', 'title' => ''], + 'CreateTime' => ['description' => 'The timestamp when the ACK cluster connector was created. Unit: seconds.', 'type' => 'string', 'example' => '1724982259', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '45E2E720-D2B4-506F-B682-1FCBE971****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => 'The specified resource ACK cluster connector is not found.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 9,\\n \\"RequestId\\": \\"8EAC2347-E85A-5DFF-9F49-B8E1BAFB****\\",\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"PeerAssetInstanceId\\": \\"i-123451\\",\\n \\"PeerAssetIP\\": \\"10.125.1.XX\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutBytes\\": 1123,\\n \\"InBytes\\": 17845821669,\\n \\"peerVpcName\\": \\"vpc-test\\",\\n \\"PeerVpcId\\": \\"vpc-123411\\\\n\\",\\n \\"PeerAssetInstanceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeVpcFirewallPrecheckDetail' => [ - 'summary' => '获取VPC防火墙预检查详情', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query ACK cluster connector details', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c857d908016794125883a9ee8196cba17\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"Ttl\\": 30,\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"The ACK cluster status is unavailable.\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"45E2E720-D2B4-506F-B682-1FCBE971****\\"\\n}","type":"json"}]', + ], + 'DescribeAckClusterConnectors' => [ + 'summary' => 'Queries a list of ACK cluster connectors in batches.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '120839', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwC140SS', 'FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'NetworkInstanceType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cen_firewall', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zev8s8rxao33xt****', - ], + 'schema' => ['description' => 'The Alibaba Cloud UID of the account to which the ACK cluster resource belongs.', 'type' => 'string', 'required' => false, 'example' => '135809047715****', 'title' => ''], ], [ - 'name' => 'Region', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region ID of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of synchronization node regions.'."\n" + ."\n" + .'> For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](~~2865120~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', 'title' => ''], ], [ - 'name' => 'CenId', + 'name' => 'ConnectorName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-hxsqf2bv6di1a****', - ], + 'schema' => ['description' => 'The name of the ACK cluster connector.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance ID of the VPC-connected instance to which the ACK cluster belongs.', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6b5lyul0x******', 'title' => ''], ], [ - 'name' => 'TransitRouterId', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-2vcn4u2g86tm72****', - ], + 'schema' => ['description' => 'The ACK cluster ID.', 'type' => 'string', 'required' => false, 'example' => '0E0C30C977463****', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language in which the unhealthy reason of the ACK cluster connector health status is displayed.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default).'], 'type' => 'string', 'required' => false, - 'example' => '134388541648****', + 'example' => 'zh', + 'title' => '', ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'IsFound' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'PrecheckDetail' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-m5emh0w6v2e15****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'FirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-tr-7a9c8901ed394****', - ], - 'PrecheckTimestamp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1715136000', - ], - 'PrecheckStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'failed', - ], - 'PrecheckEntityGroups' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'PrecheckEntities' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Precheck test', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'passed', - ], - 'Info' => [ - 'type' => 'string', - ], - 'Suggestion' => [ - 'type' => 'string', - ], - ], - ], - ], - 'PrecheckEntityGroupStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'running', - ], - 'FailedCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - ], - ], + 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'AckClusterConnectors' => [ + 'description' => 'The list of ACK cluster connectors.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ACK cluster connector.', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'The ID of the ACK cluster connector.', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], + 'ConnectorName' => ['description' => 'The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, uppercase and lowercase letters, digits, periods (.), underscores (_), and hyphens (-).', 'type' => 'string', 'example' => 'ack-cluster-connector-name', 'title' => ''], + 'MemberUid' => ['description' => 'The Alibaba Cloud UID of the account to which the ACK cluster resource belongs.', 'type' => 'string', 'example' => '159663371500****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of synchronization node regions.'."\n" + ."\n" + .'> For more information about the regions supported by ACK cluster connectors in Cloud Firewall, see [ACK cluster synchronization nodes](~~2865120~~).', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'ClusterId' => ['description' => 'The ACK cluster ID. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~): Queries a list of ACK clusters in batches.', 'type' => 'string', 'example' => 'f9b9815a5280****', 'title' => ''], + 'ClusterName' => ['description' => 'The name of the ACK cluster.', 'type' => 'string', 'example' => 'TestClusterA', 'title' => ''], + 'VpcId' => ['description' => 'The instance ID of the VPC-connected instance to which the ACK cluster belongs.', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****', 'title' => ''], + 'PrimaryVswitchId' => ['description' => 'The primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches in batches.', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****', 'title' => ''], + 'PrimaryVswitchZoneId' => ['description' => 'The zone of the primary vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Queries the list of synchronization node vSwitch zones in batches.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''], + 'PrimaryVswitchIp' => ['description' => 'The IP address of the primary vSwitch of the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.2.XXX', 'title' => ''], + 'StandbyVswitchId' => ['description' => 'The standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries the list of synchronization node vSwitches in batches.', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****', 'title' => ''], + 'StandbyVswitchZoneId' => ['description' => 'The zone of the standby vSwitch of the ACK cluster connector. You can call the following operation to obtain the value:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Queries the list of synchronization node vSwitch zones in batches.', 'type' => 'string', 'example' => 'cn-beijing-h', 'title' => ''], + 'StandbyVswitchIp' => ['description' => 'The IP address of the standby vSwitch of the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.1.XXX'."\n", 'title' => ''], + 'Ttl' => ['description' => 'The container synchronization cycle of the ACK cluster connector.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'ConnectorStatus' => [ + 'description' => 'The instance status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'Initializing.', 'deleting' => 'Deleting.', 'ready' => 'Normal.'], + 'type' => 'string', + 'example' => 'ready', + 'title' => '', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'The health check status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'Initializing.', 'healthy' => 'Healthy.', 'unhealthy' => 'Unhealthy.'], + 'type' => 'string', + 'example' => 'healthy', + 'title' => '', + ], + 'UnhealthyReason' => ['description' => 'The reason why the ACK cluster connector is unhealthy.', 'type' => 'string', 'example' => 'The ACK cluster status is unavailable.', 'title' => ''], + 'GroupUuids' => [ + 'description' => 'The list of address book UUIDs created on the ACK cluster connector.', + 'type' => 'array', + 'items' => ['description' => 'The UUID of the address book created on the ACK cluster connector.', 'type' => 'string', 'example' => '["b84dec36-c4fc-458e-98b8-f1b5dd23****","8015d9eb-8382-4388-b965-b92d806d****"]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'CreateTime' => ['description' => 'The timestamp when the ACK cluster connector was created. Unit: seconds.', 'type' => 'string', 'example' => '1760493347', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****', - ], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DE****'], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPreCheckDoing', - 'errorMessage' => 'Pre-check in progress, please try again later.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => 'Region selection error, please re-enter.'."\n"], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query ACK cluster connectors in batches', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Manage your calls properly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnectors', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC防火墙配额已满\\",\\n \\"Suggestion\\": \\"VPC防火墙配额已满,建议您提高防火墙配额\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 3\\n }\\n ]\\n },\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"AckClusterConnectors\\": [\\n {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"159663371500****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"f9b9815a5280****\\",\\n \\"ClusterName\\": \\"TestClusterA\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.2.XXX\\",\\n \\"StandbyVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.1.XXX\\\\n\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"The ACK cluster status is unavailable.\\",\\n \\"GroupUuids\\": [\\n \\"[\\\\\\"b84dec36-c4fc-458e-98b8-f1b5dd23****\\\\\\",\\\\\\"8015d9eb-8382-4388-b965-b92d806d****\\\\\\"]\\"\\n ],\\n \\"CreateTime\\": \\"1760493347\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DE****\\",\\n \\"TotalCount\\": 20\\n}","type":"json"}]', ], - 'CreateVpcFirewallPrecheck' => [ - 'summary' => '创建VPC防火墙开墙前置任务', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAckClusterNamespaces' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '120810', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'NetworkInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cen_tr_firewall', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp132e2wpu9o6qth****', - ], - ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-chengdu', - ], - ], - [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-iv8m2lj2fqg1xt****', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '128599825273****', - ], - ], - [ - 'name' => 'TransitRouterId', + 'name' => 'ConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-t4n16htuv1jalj9cq****', - ], + 'schema' => ['description' => 'The ID of the ACK cluster connector. To obtain this ID, call the [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~) operation.'."\n" + ."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): Queries a list of ACK cluster connectors.', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], ], ], 'responses' => [ @@ -9603,173 +7974,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PrecheckId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4197', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****', + 'AckNamespaces' => [ + 'type' => 'array', + 'items' => ['description' => 'The ACK cluster namespace.', 'type' => 'string', 'example' => 'default', 'title' => ''], + 'description' => 'The list of ACK cluster namespaces.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '133173B9-8010-5DF5-8B93-********'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdError', - 'errorMessage' => 'Network InstanceId ID is invalid', - ], - [ - 'errorCode' => 'ErrorCenId', - 'errorMessage' => 'CEN ID is error', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], - [ - 'errorCode' => 'ErrorHubvpcCannotCreate', - 'errorMessage' => 'HUB VPC could not create vpc firewall', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'The quota for VPC firewalls is exceeded.', - ], - [ - 'errorCode' => 'ErrorCenVbrNotSupport', - 'errorMessage' => 'The cloud enterprise network VBR does not support firewall', - ], - [ - 'errorCode' => 'ErrorCenNotSupportCCN', - 'errorMessage' => 'vpc firewall CEN does not support ccn, cannot open vpc firewall.', - ], - [ - 'errorCode' => 'ErrorOwnerIdUnauthorized', - 'errorMessage' => 'owner id not authorized.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallVpcNumLimit', - 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', - ], - [ - 'errorCode' => 'ErrorCenExistPublicCidr', - 'errorMessage' => 'cen domain route exist public route.', - ], - [ - 'errorCode' => 'ErrorCenExistTrRoute', - 'errorMessage' => 'Cen VPC route exist tr route.', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterprise', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition protection in this region.', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationCustomRouteTable', - 'errorMessage' => 'CEN-TR association custom route table.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Network segment CIDR format error, please select again', - ], - [ - 'errorCode' => 'ErrorRouteTableNotFound', - 'errorMessage' => 'route table not found.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAckClusterQueryClusterNamespace', 'errorMessage' => 'Failed to query cluster namespaces.', 'description' => 'Failed to query cluster namespaces.'], + ['errorCode' => 'ErrorAckClusterNotFound', 'errorMessage' => 'The specified resource ACK cluster is not found.', 'description' => 'The specified resource ACK cluster is not found.'], + ['errorCode' => 'ErrorAckNotOpen', 'errorMessage' => 'ACK service is not open.', 'description' => 'ACK service is not open.'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => 'The specified resource ACK cluster connector is not found.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAckClusterNamespaces', + 'summary' => 'Queries the namespaces in an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PrecheckId\\": \\"4197\\",\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', ], - 'CreateVpcFirewallTask' => [ - 'summary' => '创建VPC防火墙资产同步任务', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAckClusterPodLabels' => [ + 'summary' => 'Queries the labels within an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9778,55 +8036,20 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68137', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'TaskAction', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'sync', - ], - ], - [ - 'name' => 'Priority', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Content', + 'name' => 'ConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the ACK cluster connector. You can obtain the ID by calling the following operation:'."\n" + ."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): queries a list of ACK cluster connectors.', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], ], ], 'responses' => [ @@ -9834,57 +8057,65 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ips_server'."\n", - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '53252B14-BF7C-5A2D-9750-56F827EB****', + 'AckLabels' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'app', 'title' => ''], + 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'storage-operator', 'title' => ''], + ], + 'description' => 'An ACK label.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of ACK labels.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => 'The specified resource ACK cluster connector is not found.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAckClusterPodLabels', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterPodLabels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"53252B14-BF7C-5A2D-9750-56F827EB****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', ], - 'DescribeTrFirewallsV2List' => [ - 'summary' => 'Queries the virtual private cloud (VPC) firewalls that are created for transit routers.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAckClusters' => [ + 'summary' => 'Queries for Container Service for Kubernetes (ACK) clusters based on specified conditions, such as cluster type and specifications.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9896,135 +8127,57 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142848', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwC140SS', 'FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], [ 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the transit router.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'FirewallSwitchStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not created.'."\n" - .'* **configured**: The VPC firewall is created but is not enabled.'."\n" - .'* **creating**: The VPC firewall is being created.'."\n" - .'* **opening**: The VPC firewall is being enabled.'."\n" - .'* **deleting**: The VPC firewall is being deleted.'."\n" - ."\n" - .'> If you do not specify this parameter, VPC firewalls in all states are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'opened', - ], + 'schema' => ['description' => 'The region ID of the ACK cluster.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The Alibaba Cloud UID of the account to which the ACK cluster resources belong.', 'type' => 'string', 'required' => false, 'example' => '135809047715****', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Default value: 10.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], [ - 'name' => 'FirewallId', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-f1799baa9e254651****', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FirewallName', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the ACK cluster.', 'type' => 'string', 'required' => false, 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', 'title' => ''], ], [ - 'name' => 'RouteMode', + 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'description' => 'The routing mode of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **managed**: automatic mode'."\n" - .'* **manual**: manual mode'."\n" - ."\n" - .'> If you do not specify this parameter, VPC firewalls in all routing modes are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'managed', - ], + 'schema' => ['description' => 'The name of the ACK cluster.', 'type' => 'string', 'required' => false, 'example' => 'ack-cluster-name', 'title' => ''], ], [ - 'name' => 'CenId', + 'name' => 'ClusterSpec', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the Cloud Enterprise Network (CEN) instance.'."\n", + 'description' => 'The specification of the ACK cluster.', + 'enumValueTitles' => ['ack.pro.small' => 'ACK Pro Edition cluster'], 'type' => 'string', 'required' => false, - 'example' => 'cen-rig0t5zi96crkl****', + 'example' => 'ack.pro.small', + 'title' => '', ], ], [ - 'name' => 'TransitRouterId', + 'name' => 'ConnectorStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the transit router.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tr-uf6egtvyaedvt20xl****', - ], + 'schema' => ['description' => 'The status of the ACK cluster connector.', 'type' => 'string', 'required' => false, 'example' => 'ready', 'title' => ''], ], ], 'responses' => [ @@ -10032,354 +8185,116 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'string', - 'example' => '6', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '1471E2EC-F706-5F11-A79B-BD583ACB8297', - ], - 'VpcTrFirewalls' => [ - 'description' => 'The VPC firewalls.'."\n", + 'Clusters' => [ 'type' => 'array', 'items' => [ - 'description' => 'The VPC firewall.'."\n", 'type' => 'object', 'properties' => [ - 'CenId' => [ - 'description' => 'The ID of the CEN instance.'."\n", - 'type' => 'string', - 'example' => 'cen-03f8s0z052ka3v****', - ], - 'CenName' => [ - 'description' => 'The name of the CEN instance.'."\n", - 'type' => 'string', - 'example' => 'cen_swas', - ], - 'CloudFirewallVpcOrderType' => [ - 'description' => 'The party responsible for the TR fees generated by the VPC firewall. Values:'."\n" - ."\n" - .'- **PayByCloudFirewall**: Fees are borne by the Cloud Firewall.'."\n" - .'- **PayByCenOwner**: Fees are borne by the account to which the CEN instance belongs.', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'PayByCenOwner', - ], - 'FirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-tr-99bc4f0fc88b4d00****', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not created.'."\n" - .'* **configured**: The VPC firewall is created but is not enabled.'."\n" - .'* **creating**: The VPC firewall is being created.'."\n" - .'* **opening**: The VPC firewall is being enabled.'."\n" - .'* **deleting**: The VPC firewall is being deleted.'."\n" + 'MemberUid' => ['description' => 'The Alibaba Cloud UID of the account to which the ACK cluster resources belong.', 'type' => 'string', 'example' => '135809047715****', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the ACK cluster.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ClusterId' => ['description' => 'The ID of the ACK cluster.', 'type' => 'string', 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', 'title' => ''], + 'ClusterName' => ['description' => 'The name of the ACK cluster.', 'type' => 'string', 'example' => 'ack-cluster-name', 'title' => ''], + 'ClusterType' => [ + 'description' => 'The type of the ACK cluster. For more information about the valid values, see [DescribeClustersV1](~~DescribeClustersV1~~).'."\n" ."\n" - .'> If you do not specify this parameter, VPC firewalls in all states are queried.'."\n", + .'- [DescribeClustersV1](~~DescribeClustersV1~~): Returns a list of ACK clusters in your account that meet specific criteria, such as the cluster type and specifications.', + 'enumValueTitles' => ['ExternalKubernetes' => 'A registered cluster.', 'ManagedKubernetes' => 'An ACK managed cluster. This includes ACK managed clusters (Pro and Basic editions), ACK Serverless clusters (Pro and Basic editions), ACK Edge clusters (Pro and Basic editions), and LINGJUN Clusters (Pro Edition).', 'Kubernetes' => 'An ACK dedicated cluster.'], 'type' => 'string', - 'example' => 'opened', - ], - 'IpsConfig' => [ - 'description' => 'The intrusion prevention system (IPS) configurations.'."\n", - 'type' => 'object', - 'properties' => [ - 'BasicRules' => [ - 'description' => 'Indicates whether basic protection is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EnableAllPatch' => [ - 'description' => 'Indicates whether virtual patching is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RuleClass' => [ - 'description' => 'The level of the rule group for the IPS. Valid values:'."\n" - ."\n" - .'* **1**: loose.'."\n" - .'* **2**: medium.'."\n" - .'* **3**: strict.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RunMode' => [ - 'description' => 'The mode of the IPS. Valid values:'."\n" - ."\n" - .'* **1**: block mode'."\n" - .'* **0**: monitor mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'OwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '171761785151****', + 'example' => 'ManagedKubernetes', + 'title' => '', ], - 'PrecheckStatus' => [ - 'description' => 'Indicates whether the VPC firewall can be automatically enabled. Valid values:'."\n" + 'Profile' => [ + 'description' => 'The subtype of the cluster. This parameter is available only when `ClusterType` is set to `ManagedKubernetes`. For more information about the valid values, see [DescribeClustersV1](~~DescribeClustersV1~~).'."\n" ."\n" - .'* **passed**: yes'."\n" - .'* **failed**: no'."\n" - .'* **unknown**'."\n", - 'type' => 'string', - 'example' => 'passed', - ], - 'ProtectedResource' => [ - 'description' => 'The protected resources.'."\n", - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => 'The number of protected resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EcrList' => [ - 'description' => 'The protected express connect routers.', - 'type' => 'array', - 'items' => [ - 'description' => 'The protected express connect router.', - 'type' => 'string', - 'example' => '['."\n" - .' "ecr-d6yi3kl5qxmvkz****"'."\n" - .']', - ], - ], - 'PeerTrList' => [ - 'description' => 'The protected peer transit routers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The protected peer transit router.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "tr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VbrList' => [ - 'description' => 'The protected virtual border routers (VBRs).'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The protected VBR.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "vbr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VpcList' => [ - 'description' => 'The protected VPCs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The protected VPC.'."\n", - 'type' => 'string', - 'example' => '["vpc-2zegxdvs5f2je81ph****"]', - ], - ], - 'VpnList' => [ - 'description' => 'The protected VPN gateways.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The protected VPN gateway.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "vpn-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - ], - ], - 'RegionNo' => [ - 'description' => 'The region ID of the transit router.'."\n", + .'- [DescribeClustersV1](~~DescribeClustersV1~~): Lists ACK clusters in your account that meet specified conditions, such as cluster type and specifications.', + 'enumValueTitles' => ['Lingjun' => 'A LINGJUN Cluster, which is available in Pro Edition.', 'Serverless' => 'An ACK Serverless cluster. This includes ACK Serverless Pro Edition and ACK Serverless Basic Edition clusters.', 'Default' => 'An ACK managed cluster. This includes ACK Pro Edition and ACK Basic Edition clusters.', 'Edge' => 'An ACK Edge cluster. This includes ACK Edge Pro Edition and ACK Edge Basic Edition clusters.'], 'type' => 'string', - 'example' => 'cn-hangzhou', + 'example' => 'Default', + 'title' => '', ], - 'RegionStatus' => [ - 'description' => 'Indicates whether you can create a VPC firewall in a specified region. Valid values:'."\n" + 'VpcId' => ['description' => 'The ID of the VPC where the ACK cluster is deployed.', 'type' => 'string', 'example' => 'vpc-2vcg932hsxsxuqbgl****', 'title' => ''], + 'Network' => [ + 'description' => 'The network plugin of the ACK cluster. For more information about the valid values, see [DescribeClustersV1](~~DescribeClustersV1~~).'."\n" ."\n" - .'* **enable**: yes'."\n" - .'* **disable**: no'."\n", + .'- [DescribeClustersV1](~~DescribeClustersV1~~): Lists the ACK clusters in your account that meet specified conditions, such as cluster type and specifications.', + 'enumValueTitles' => ['terway-eniip' => 'Terway-eniip', 'Flannel' => 'Flannel'], 'type' => 'string', - 'example' => 'enable', + 'example' => 'terway-eniip', + 'title' => '', ], - 'ResultCode' => [ - 'description' => 'The result code of the operation that creates the VPC firewall. Valid values:'."\n" - ."\n" - .'* **RegionDisable**: VPC Firewall is not supported in the region of the network instance. You cannot create a VPC firewall for the network instance.'."\n" - .'* **Empty string**: You can create a VPC firewall for the network instance.'."\n", + 'ClusterSpec' => [ + 'description' => 'The specification of the ACK cluster.', + 'enumValueTitles' => ['ack.pro.small' => 'ACK Pro Edition cluster'], 'type' => 'string', - 'example' => ' RegionDisable', + 'example' => 'ack.pro.small', + 'title' => '', ], - 'RouteMode' => [ - 'description' => 'The routing mode of the VPC firewall. Valid values:'."\n" + 'State' => [ + 'description' => 'The running status of the ACK cluster. For more information about the valid values, see [DescribeClustersV1](~~DescribeClustersV1~~).'."\n" ."\n" - .'* **managed**: automatic mode'."\n" - .'* **manual**: manual mode'."\n", - 'type' => 'string', - 'example' => 'managed', - ], - 'TransitRouterId' => [ - 'description' => 'The ID of the transit router.'."\n", - 'type' => 'string', - 'example' => 'tr-2vcmhjs88nil55fvu****', - ], - 'UnprotectedResource' => [ - 'description' => 'The unprotected resources.'."\n", - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => 'The number of unprotected resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EcrList' => [ - 'description' => 'The unprotected express connect routers.', - 'type' => 'array', - 'items' => [ - 'description' => 'The unprotected express connect router.', - 'type' => 'string', - 'example' => '['."\n" - .' "ecr-d6yi3kl5qxmvkz****"'."\n" - .']', - ], - ], - 'PeerTrList' => [ - 'description' => 'The unprotected peer transit routers.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The unprotected peer transit router.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "tr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VbrList' => [ - 'description' => 'The unprotected VBRs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The unprotected VBR.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "vbr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VpcList' => [ - 'description' => 'The unprotected VPCs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The unprotected VPC.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "vpc-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VpnList' => [ - 'description' => 'The unprotected VPN gateways.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The unprotected VPN gateway.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "vpn-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], + .'- [DescribeClustersV1](~~DescribeClustersV1~~): Retrieves a list of ACK clusters in your account that meet specified conditions, such as cluster type and specifications.', + 'enumValueTitles' => [ + 'running' => 'The cluster is running.', 'scaling' => 'The cluster is being scaled.', 'stopped' => 'The cluster is stopped.', 'upgrading' => 'The cluster is being upgraded.', 'updating' => 'The cluster configuration is being updated.', 'deleting' => 'The cluster is being deleted.', 'deleted' => 'The cluster is deleted.', 'initial' => 'The cluster is being created.', 'draining' => 'A node is being drained.', 'delete_failed' => 'The cluster failed to be deleted.', + 'failed' => 'The cluster failed to be created.', 'removing' => 'A node is being removed.', ], - ], - 'VpcFirewallName' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", 'type' => 'string', - 'example' => 'test', - ], - 'AclConfig' => [ - 'description' => 'ACL engine mode.', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => 'Whether to enable strict mode'."\n" - .'- 1: Enable strict mode'."\n" - .'- 0: Disable strict mode', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], + 'example' => 'running', + 'title' => '', ], ], + 'description' => 'An ACK cluster.', + 'title' => '', + 'example' => '', ], + 'description' => 'A list of ACK clusters.', + 'title' => '', + 'example' => '', ], + 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => 'Region selection error, please re-enter.'."\n"], + ['errorCode' => 'ErrorAckNotOpen', 'errorMessage' => 'ACK service is not open.', 'description' => 'ACK service is not open.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"6\\",\\n \\"RequestId\\": \\"1471E2EC-F706-5F11-A79B-BD583ACB8297\\",\\n \\"VpcTrFirewalls\\": [\\n {\\n \\"CenId\\": \\"cen-03f8s0z052ka3v****\\",\\n \\"CenName\\": \\"cen_swas\\",\\n \\"CloudFirewallVpcOrderType\\": \\"PayByCenOwner\\",\\n \\"FirewallId\\": \\"vfw-tr-99bc4f0fc88b4d00****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RuleClass\\": 3,\\n \\"RunMode\\": 1\\n },\\n \\"OwnerId\\": 0,\\n \\"PrecheckStatus\\": \\"passed\\",\\n \\"ProtectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResultCode\\": \\" RegionDisable\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"TransitRouterId\\": \\"tr-2vcmhjs88nil55fvu****\\",\\n \\"UnprotectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\n \\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"VpcFirewallName\\": \\"VPC边界防火墙\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeTrFirewallsV2List', - 'translator' => 'machine', - ], - 'DescribeTrFirewallsV2Detail' => [ - 'summary' => 'Queries the details of the virtual private cloud (VPC) firewalls that are created for transit routers.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAckClusters', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Clusters\\": [\\n {\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"ClusterType\\": \\"ManagedKubernetes\\",\\n \\"Profile\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-2vcg932hsxsxuqbgl****\\",\\n \\"Network\\": \\"terway-eniip\\",\\n \\"ClusterSpec\\": \\"ack.pro.small\\",\\n \\"State\\": \\"running\\"\\n }\\n ],\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + ], + 'DescribeAclApps' => [ + 'summary' => 'Queries multiple ACL applications.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10391,226 +8306,195 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142863', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'FirewallId', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-a5a6b89f46764928****', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], - ], - 'responses' => [ + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'AclType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ACL type. Valid values:'."\n" + ."\n" + .'- **Internet**'."\n" + ."\n" + .'- **NAT**'."\n" + ."\n" + .'- **VPC**'."\n" + ."\n" + .'- **All**', + 'enumValueTitles' => ['NAT' => 'NAT firewall policy', 'All' => 'All policy types', 'VPC' => 'VPC firewall policy', 'Internet' => 'internet firewall policy'], + 'type' => 'string', + 'required' => true, + 'enum' => ['Internet', 'NAT', 'VPC', 'All'], + 'example' => 'VPC', + 'title' => '', + ], + ], + [ + 'name' => 'Popular', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether the application is common. Valid values:'."\n" + ."\n" + .'- **1**: common'."\n" + ."\n" + .'- **0**: not common'."\n" + ."\n" + .'- If you omit this parameter (the default), all applications are returned.', + 'enumValueTitles' => [1 => '1'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enum' => ['1'], + 'example' => '1', + 'title' => '', + ], + ], + [ + 'name' => 'Protocols', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'A protocol type. Valid values:'."\n" + ."\n" + .'- **TCP**: Transmission Control Protocol'."\n" + ."\n" + .'- **UDP**: User Datagram Protocol', + 'enumValueTitles' => ['TCP' => 'Transmission Control Protocol', 'UDP' => 'User Datagram Protocol'], + 'type' => 'string', + 'enum' => ['TCP', 'UDP'], + 'required' => false, + 'example' => '['."\n" + .' "TCP",'."\n" + .' "UDP"'."\n" + .']', + 'title' => '', + ], + 'description' => 'The list of protocol types.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FirewallName' => [ - 'description' => 'The name of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'cloudfirewall-manual', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B', - ], - 'FirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-tr-9c7c711abdfa4d80****', - ], - 'FirewallStatus' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* Creating'."\n" - .'* Deleting'."\n" - .'* Ready'."\n", - 'type' => 'string', - 'example' => 'Ready', - ], - 'CenId' => [ - 'description' => 'The ID of the Cloud Enterprise Network (CEN) instance.'."\n", - 'type' => 'string', - 'example' => 'cen-37nddhri7jf0d2****', - ], - 'TransitRouterId' => [ - 'description' => 'The ID of the transit router.'."\n", - 'type' => 'string', - 'example' => 'tr-wz9y8sgug8b1xb416****', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the transit router.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'FirewallEniId' => [ - 'description' => 'The ID of the Elastic Network Interface (ENI) with which the VPC firewall is associated.'."\n", - 'type' => 'string', - 'example' => 'eni-uf621u00nafypeex****', - ], - 'FirewallEniVpcId' => [ - 'description' => 'The ID of the VPC to which the ENI is attached.'."\n", - 'type' => 'string', - 'example' => 'vpc-2zeppcci782zeh2bk****', - ], - 'FirewallEniVswitchId' => [ - 'description' => 'The ID of the vSwitch with which the ENI is associated.'."\n", - 'type' => 'string', - 'example' => 'vsw-uf6ptq1kl1c1d9pw9****', - ], - 'FirewallDescription' => [ - 'description' => 'The description of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'VPC Firewall', - ], - 'RouteMode' => [ - 'description' => 'The routing mode of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **managed**: automatic mode'."\n" - .'* **manual**: manual mode'."\n", - 'type' => 'string', - 'example' => 'managed', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not created.'."\n" - .'* **configured**: The VPC firewall is created but is not enabled.'."\n" - .'* **creating**: The VPC firewall is being created.'."\n" - .'* **opening**: The VPC firewall is being enabled.'."\n" - .'* **deleting**: The VPC firewall is being deleted.'."\n" - ."\n" - .'> If you do not specify this parameter, VPC firewalls in all states are queried.'."\n", - 'type' => 'string', - 'example' => 'opened', - ], - 'FirewallVpcCidr' => [ - 'description' => 'The CIDR block that is allocated to the VPC created for the VPC firewall in automatic mode.'."\n", - 'type' => 'string', - 'example' => '10.0.0.0/16', - ], - 'FirewallSubnetCidr' => [ - 'description' => 'The subnet CIDR block of the VPC in which the ENI of the firewall is stored in automatic mode.'."\n", - 'type' => 'string', - 'example' => '10.0.1.0/24', - ], - 'TrAttachmentMasterCidr' => [ - 'description' => 'The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.'."\n", - 'type' => 'string', - 'example' => '10.0.2.0/24', - ], - 'TrAttachmentSlaveZone' => [ - 'description' => 'In automatic mode, the backup availability zone for the subnet used to connect TR in the firewall VPC.', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'TrAttachmentSlaveCidr' => [ - 'description' => 'The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.'."\n", - 'type' => 'string', - 'example' => '10.0.3.0/24', - ], - 'TrAttachmentMasterZone' => [ - 'description' => 'In automatic mode, the primary availability zone of the subnet in the firewall VPC used for connecting to TR.', - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'TrAttachmentId' => [ - 'type' => 'string', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '9063AB86-6FFA-5B2D-A16D-697C966D****'], + 'AclApps' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => 'The application ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '1.0', 'title' => ''], + 'AppName' => ['description' => 'The application name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level. Valid values:'."\n" + ."\n" + .'- **1**: Low'."\n" + ."\n" + .'- **2**: Medium'."\n" + ."\n" + .'- **3**: High', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Popular' => ['description' => 'Indicates whether the application is common. Valid values:'."\n" + ."\n" + .'- **1**: common'."\n" + ."\n" + .'- **0**: not common'."\n" + ."\n" + .'-', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Protocols' => [ + 'type' => 'array', + 'items' => ['description' => 'A protocol type. Valid values:'."\n" + ."\n" + .'- **TCP**: Transmission Control Protocol'."\n" + ."\n" + .'- **UDP**: User Datagram Protocol', 'type' => 'string', 'example' => '['."\n" + .' "TCP",'."\n" + .' "UDP"'."\n" + .']', 'title' => ''], + 'description' => 'The protocols supported by the application.', + 'title' => '', + 'example' => '', + ], + 'SupportFqdn' => ['description' => 'Indicates whether the application supports `FQDN`. Valid values:'."\n" + ."\n" + .'- **0**: No'."\n" + ."\n" + .'- **1**: Yes', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'description' => 'An access control application.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of ACL applications.', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallName\\": \\"cloudfirewall-manual\\",\\n \\"RequestId\\": \\"7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B\\",\\n \\"FirewallId\\": \\"vfw-tr-9c7c711abdfa4d80****\\",\\n \\"FirewallStatus\\": \\"Ready\\",\\n \\"CenId\\": \\"cen-37nddhri7jf0d2****\\",\\n \\"TransitRouterId\\": \\"tr-wz9y8sgug8b1xb416****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallEniId\\": \\"eni-uf621u00nafypeex****\\",\\n \\"FirewallEniVpcId\\": \\"vpc-2zeppcci782zeh2bk****\\",\\n \\"FirewallEniVswitchId\\": \\"vsw-uf6ptq1kl1c1d9pw9****\\",\\n \\"FirewallDescription\\": \\"VPC边界防火墙\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"FirewallVpcCidr\\": \\"10.0.0.0/16\\",\\n \\"FirewallSubnetCidr\\": \\"10.0.1.0/24\\",\\n \\"TrAttachmentMasterCidr\\": \\"10.0.2.0/24\\",\\n \\"TrAttachmentSlaveZone\\": \\"cn-hangzhou-i\\",\\n \\"TrAttachmentSlaveCidr\\": \\"10.0.3.0/24\\",\\n \\"TrAttachmentMasterZone\\": \\"cn-hangzhou-h\\",\\n \\"TrAttachmentId\\": \\"tr-attach-r1llaxxeha71jsm36v\\"\\n}","type":"json"}]', - 'title' => 'DescribeTrFirewallsV2Detail', - 'translator' => 'machine', - ], - 'DescribeTrFirewallsV2RouteList' => [ - 'summary' => 'Queries the route tables of the VPC firewalls that are created for transit routers.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeAclApps', + 'description' => '## QPS limit'."\n" + ."\n" + .'The single-user QPS limit for this operation is 10 requests per second. Calls that exceed this limit are throttled, which may impact your business.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966D****\\",\\n \\"AclApps\\": [\\n {\\n \\"AppId\\": 1,\\n \\"AppName\\": \\"test\\",\\n \\"RiskLevel\\": 1,\\n \\"Popular\\": 1,\\n \\"Protocols\\": [\\n \\"[\\\\n \\\\\\"TCP\\\\\\",\\\\n \\\\\\"UDP\\\\\\"\\\\n]\\"\\n ],\\n \\"SupportFqdn\\": 1\\n }\\n ],\\n \\"TotalCount\\": 20\\n}","type":"json"}]', + ], + 'DescribeAclBackupList' => [ + 'summary' => 'Queries a list of ACL backups.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10622,65 +8506,37 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142865', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68169', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'FirewallId', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the virtual private cloud (VPC) firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-8bcfa0f2f12d411e****', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '110.191.179.XXX', 'title' => ''], ], [ - 'name' => 'TrFirewallRoutePolicyId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the routing policy.'."\n", + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'policy-7d5c672e37ee4175****', + 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The current page number.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Default value: 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -10688,98 +8544,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FirewallRouteDetailList' => [ - 'description' => 'The route tables of Cloud Firewall.'."\n", + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6C9105F2-9F31-5A62-8D52-FA65A3E5****', 'title' => ''], + 'Backups' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicyId' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'example' => 'policy-04ecbbc6720d4f90****', - ], - 'TrFirewallRouteTableId' => [ - 'description' => 'The ID of the route table to which the route entry belongs.'."\n", - 'type' => 'string', - 'example' => 'vtb-2zeockxxxorv0mnhz****', - ], - 'TrFirewallRouteDestination' => [ - 'description' => 'The destination address of the route.'."\n", - 'type' => 'string', - 'example' => '192.168.10.0/25', - ], - 'TrFirewallRouteNexthop' => [ - 'description' => 'The ID of the next hop for the route.'."\n", - 'type' => 'string', - 'example' => 'tr-attach-hnxab1y0pxn16p****', - ], + 'BackUpTime' => ['description' => 'The time when the backup was created. This value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'example' => '1743683400', 'title' => ''], + 'AclCount' => ['description' => 'The number of access control policies in the backup.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Description' => ['description' => 'The description of the backup.', 'type' => 'string', 'example' => 'description', 'title' => ''], ], + 'description' => 'The backup records.', + 'title' => '', + 'example' => '', ], - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'ABF190A2-B4D0-53F6-995A-5690A721F91C', + 'description' => 'The backup records.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallRouteDetailList\\": [\\n {\\n \\"TrFirewallRoutePolicyId\\": \\"policy-04ecbbc6720d4f90****\\",\\n \\"TrFirewallRouteTableId\\": \\"vtb-2zeockxxxorv0mnhz****\\",\\n \\"TrFirewallRouteDestination\\": \\"192.168.10.0/25\\",\\n \\"TrFirewallRouteNexthop\\": \\"tr-attach-hnxab1y0pxn16p****\\"\\n }\\n ],\\n \\"RequestId\\": \\"ABF190A2-B4D0-53F6-995A-5690A721F91C\\"\\n}","type":"json"}]', - 'title' => 'DescribeTrFirewallsV2RouteList', - ], - 'DescribeTrFirewallV2RoutePolicyList' => [ - 'summary' => 'Queries the routing policies of a virtual private cloud (VPC) firewall that is created for a transit router.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeAclBackupList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclBackupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 32,\\n \\"RequestId\\": \\"6C9105F2-9F31-5A62-8D52-FA65A3E5****\\",\\n \\"Backups\\": [\\n {\\n \\"BackUpTime\\": 1743683400,\\n \\"AclCount\\": 10,\\n \\"Description\\": \\"description\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAclCheck' => [ + 'summary' => 'Queries the details of an Access Control List (ACL) check.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10791,10 +8618,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142849', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '219336', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -10802,57 +8627,28 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-d5ba592ac6c84aff****', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Default value: 10.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => '132', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Default value: 1.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'PolicyId', + 'name' => 'PageSize', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy-7b66257c14e141fb****', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -10860,148 +8656,505 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicies' => [ - 'description' => 'The routing policies.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PolicyType' => [ - 'description' => 'The type of the traffic redirection scenario of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **fullmesh**: interconnected instances'."\n" - .'* **one_to_one**: instance to instance'."\n" - .'* **end_to_end**: instance to instances'."\n", - 'type' => 'string', - 'example' => 'fullmesh', - ], - 'PolicyName' => [ - 'description' => 'The name of the routing policy.'."\n", - 'type' => 'string', - 'example' => 'TEST_VPC_FW', - ], - 'PolicyDescription' => [ - 'description' => 'The description of the routing policy.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'SrcCandidateList' => [ - 'description' => 'The primary traffic redirection instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => 'The ID of the primary traffic redirection instance.'."\n", - 'type' => 'string', - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => 'The type of the primary traffic redirection instance.'."\n", - 'type' => 'string', - 'example' => 'VPC', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '25E655B0-CAED-53D4-8054-F983126****'], + 'CheckRecord' => [ + 'type' => 'object', + 'properties' => [ + 'AclTotalCount' => ['description' => 'The total number of access control policies at the time of the check.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'RecordAssessmentDetail' => ['description' => 'The assessment details of the ACL check.', 'type' => 'string', 'example' => 'It is recommended to remove the invalid policy, while helping to save the specification.'."\n", 'title' => ''], + 'CheckName' => ['description' => 'The name of the ACL check.', 'type' => 'string', 'example' => 'PolicyHitCountZero', 'title' => ''], + 'Description' => ['description' => 'The description of the ACL check item.', 'type' => 'string', 'example' => 'Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.'."\n", 'title' => ''], + 'LastCheckTime' => ['description' => 'The time of the last check, provided as a UNIX timestamp in seconds.', 'type' => 'string', 'example' => '1724982259', 'title' => ''], + 'Level' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'High', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42', 'title' => ''], + 'Acls' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Acl' => [ + 'type' => 'object', + 'properties' => [ + 'Direction' => ['description' => 'The direction of internet traffic. Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'example' => 'out', 'title' => ''], + 'Order' => ['description' => 'The priority of the access control policy.'."\n" + ."\n" + .'The priority starts from 1. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SourceType' => ['description' => 'The type of the source address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: a source CIDR block'."\n" + ."\n" + .'- **group**: a source address book'."\n" + ."\n" + .'- **location**: a source region', 'type' => 'string', 'example' => 'group', 'title' => ''], + 'ApplicationName' => ['description' => 'The application type supported by the access control policy for the VPC firewall. We recommend that you use the ApplicationNameList parameter instead. Valid values:'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **ANY**: All application types.', 'type' => 'string', 'example' => 'ANY', 'title' => ''], + 'HitTimes' => ['description' => 'The hit count of the access control policy.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Description' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'example' => 'test_policy', 'title' => ''], + 'SourceGroupType' => ['description' => 'The type of the source address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: An address book that contains one or more IP addresses or CIDR blocks.'."\n" + ."\n" + .'- **tag**: An address book that contains the public IP addresses of ECS instances with specific tags.'."\n" + ."\n" + .'- **domain**: A domain name address book, which contains one or more domain names.'."\n" + ."\n" + .'- **threat**: a threat intelligence address book, which contains one or more malicious IP addresses or domain names.'."\n" + ."\n" + .'- **backsrc**: a back-to-source address book, which contains the back-to-source IP addresses of one or more Anti-DDoS or WAF instances.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'DnsResultTime' => ['description' => 'The time of the DNS resolution, provided as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DnsResult' => ['description' => 'The result of the DNS resolution.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'Proto' => ['description' => 'The protocol type of the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**'."\n" + ."\n" + .'- **ANY**: All protocol types'."\n" + ."\n" + .'>', 'type' => 'string', 'example' => 'TCP', 'title' => ''], + 'DestinationGroupType' => ['description' => 'The type of the destination address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: an IP address book, which contains one or more CIDR blocks.'."\n" + ."\n" + .'- **tag**: an ECS tag-based address book, which contains the public IP addresses of ECS instances that have specific tags.'."\n" + ."\n" + .'- **domain**: a domain name address book, which contains one or more domain names.'."\n" + ."\n" + .'- **threat**: a threat intelligence address book, which contains one or more malicious IP addresses or domain names.'."\n" + ."\n" + .'- **backsrc**: a back-to-source address book, which contains the back-to-source IP addresses of one or more Anti-DDoS or WAF instances.', 'type' => 'string', 'example' => 'domain', 'title' => ''], + 'Destination' => ['description' => 'The destination address in the access control policy. The value of this parameter varies based on the value of DestinationType.'."\n" + ."\n" + .'- If the value of DestinationType is`net`, the value of this parameter is a CIDR block. Example: 10.0.3.0/24.'."\n" + ."\n" + .'- If the value of DestinationType is`domain`, the value of this parameter is a domain name. Example: aliyun.'."\n" + ."\n" + .'- If the value of DestinationType is`group`, the value of this parameter is the name of an address book. Example: db\\_group.'."\n" + ."\n" + .'- If the value of DestinationType is`location`, the value of this parameter is a location. For more information about the location codes, see AddControlPolicy. Example: \\["BJ11", "ZB"].'."\n" + ."\n" + .'> If this parameter is omitted, all types of destination addresses are retrieved.', 'type' => 'string', 'example' => 'kms.cn-shanghai.aliyuncs.com', 'title' => ''], + 'HitLastTime' => ['description' => 'The time when the policy was last hit, provided as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DestPortGroup' => ['description' => 'The name of the destination port address book.'."\n" + ."\n" + .'- **port**: Port'."\n" + ."\n" + .'- **group**: Port address book', 'type' => 'string', 'example' => 'my_port_group'."\n", 'title' => ''], + 'AclUuid' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'example' => '997b38e0-01fa-4db7-8d30-02ebf6fdb747', 'title' => ''], + 'DestPortType' => ['description' => 'The type of the destination port in the access control policy. Valid values:'."\n" + ."\n" + .'- **port**: port'."\n" + ."\n" + .'- **group**: port address book', 'type' => 'string', 'example' => 'port', 'title' => ''], + 'Source' => ['description' => 'The source address in the access control policy. The value of this parameter varies based on the value of SourceType.'."\n" + ."\n" + .'- If **SourceType** is set to`net`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If **SourceType** is set to`group`, the value of this parameter is the name of a source address book. Example: db\\_group.'."\n" + ."\n" + .'- If **SourceType** is set to`location`, the value of this parameter is a location. For more information, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].', 'type' => 'string', 'example' => '172.28.7.167', 'title' => ''], + 'DestinationType' => ['description' => 'The type of the destination address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name'."\n" + ."\n" + .'- **location**: destination region', 'type' => 'string', 'example' => 'domain', 'title' => ''], + 'DestPort' => ['description' => 'The destination port that is used in the access control policy.', 'type' => 'string', 'example' => '80/80', 'title' => ''], + 'IpVersion' => ['description' => 'The IP version. Valid values:'."\n" + ."\n" + .'- **4**: IPv4'."\n" + ."\n" + .'- **6**: IPv6', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'AclAction' => ['description' => 'The action performed on traffic that matches the access control policy. Valid values:'."\n" + ."\n" + .'- **accept**: allow'."\n" + ."\n" + .'- **drop**: deny'."\n" + ."\n" + .'- **log**: monitor', 'type' => 'string', 'example' => 'log', 'title' => ''], + 'Release' => ['description' => 'The status of the access control policy. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ApplicationId' => ['description' => 'The ID of the application that is used in the access control policy.', 'type' => 'string', 'example' => 'plugin_idp4_ciam', 'title' => ''], + 'DestinationGroupCidrs' => [ + 'type' => 'array', + 'items' => ['description' => 'The CIDR block in the destination address book.', 'type' => 'string', 'example' => '192.0.XX.XX/32', 'title' => ''], + 'description' => 'The CIDR blocks in the destination address book.', + 'title' => '', + 'example' => '', + ], + 'DestPortGroupPorts' => [ + 'type' => 'array', + 'items' => ['description' => 'The port in the destination port address book.', 'type' => 'string', 'example' => '80/80', 'title' => ''], + 'description' => 'The ports in the destination port address book.', + 'title' => '', + 'example' => '', + ], + 'SourceGroupCidrs' => [ + 'type' => 'array', + 'items' => ['description' => 'The CIDR block in the source address book.', 'type' => 'string', 'example' => '111.48.54.39/32', 'title' => ''], + 'description' => 'The CIDR blocks in the source address book.', + 'title' => '', + 'example' => '', + ], + 'ApplicationNameList' => [ + 'type' => 'array', + 'items' => ['description' => 'The application type supported by the access control policy for the VPC firewall. Valid values:'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **ANY** (indicates all application types)', 'type' => 'string', 'example' => 'ANY', 'title' => ''], + 'description' => 'The application types that are supported by the access control policy. Valid values:'."\n" + ."\n" + .'- **FTP**'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'- **ANY** (indicates all application types)', + 'title' => '', + 'example' => '', + ], + 'SpreadCnt' => ['description' => 'The number of specification units that the policy consumes. The value is calculated by using the following formula: Number of source addresses × Number of destination addresses × Number of port ranges × Number of applications.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the policy was created, provided as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'ModifyTime' => ['description' => 'The time when the policy was last modified, provided as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'RepeatType' => ['description' => 'The recurrence type of the policy. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): The policy is always valid.'."\n" + ."\n" + .'- **None**: The policy is valid only once.'."\n" + ."\n" + .'- **Daily**: The policy recurs daily.'."\n" + ."\n" + .'- **Weekly**: The policy recurs weekly.'."\n" + ."\n" + .'- **Monthly**: The policy recurs monthly.', 'type' => 'string', 'example' => 'Permanent', 'title' => ''], + 'RepeatDays' => [ + 'type' => 'array', + 'items' => ['description' => 'The day of a week or month on which the policy recurs.'."\n" + ."\n" + .'> If RepeatType is set to Weekly, the valid values are 0 to 6. The week starts on Sunday.'."\n" + .'> If RepeatType is set to Monthly, the valid values are 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], + 'description' => 'The days of a week or month on which the policy recurs.'."\n" + ."\n" + .'> If RepeatType is set to Weekly, the valid values are 0 to 6. The week starts on Sunday.'."\n" + .'> If RepeatType is set to Monthly, the valid values are 1 to 31.', + 'title' => '', + 'example' => '', + ], + 'RepeatStartTime' => ['description' => 'The time when the policy starts to take effect. Example: 08:00. The time must be on the hour or half-hour and must be at least 30 minutes earlier than the recurrence end time.'."\n" + ."\n" + .'> This parameter is returned empty if RepeatType is set to Permanent or None. This parameter is required if RepeatType is set to Daily, Weekly, or Monthly. The time is in the HH:mm format. Examples: 08:00 and 23:30.', 'type' => 'string', 'example' => '08:00'."\n", 'title' => ''], + 'RepeatEndTime' => ['description' => 'The time when the policy stops to take effect. Example: 23:30. The time must be on the hour or half-hour and must be at least 30 minutes later than the recurrence start time.'."\n" + ."\n" + .'> This parameter is returned empty if RepeatType is set to Permanent or None. This parameter is required if RepeatType is set to Daily, Weekly, or Monthly. The time is in the HH:mm format. Examples: 08:00 and 23:30.', 'type' => 'string', 'example' => '23:30', 'title' => ''], + 'StartTime' => ['description' => 'The start of the policy\'s validity period, provided as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1730318400', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the policy validity period. This is a UNIX timestamp, accurate to the second. The time must be on the hour or half-hour and must be at least 30 minutes later than the start time.'."\n" + ."\n" + .'> This parameter is empty if RepeatType is set to Permanent. It is required if RepeatType is set to None, Daily, Weekly, or Monthly.', 'type' => 'integer', 'format' => 'int64', 'example' => '1758334822', 'title' => ''], + 'AddressListCount' => ['description' => 'The number of addresses in the address book.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'GroupUuid' => ['description' => 'The unique ID of the address book.'."\n" + ."\n" + .'This ID is required for other operations, such as deleting the address book. You can obtain the ID by calling the [DescribeAddressBook](~~138869~~) operation.', 'type' => 'string', 'example' => 'b91d86c3-2b52-4534-aae9-8d0339b12a48', 'title' => ''], + 'AutoAddTagEcs' => ['description' => 'Indicates whether to automatically add the public IP addresses of new ECS instances that match the tags to the address book. New ECS instances include newly purchased instances with the specified tags and existing instances whose tags are modified to match.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'GroupName' => ['description' => 'The name of the address book.', 'type' => 'string', 'example' => 'Zhong Kui Open White List', 'title' => ''], + 'ReferenceCount' => ['description' => 'The number of policies that reference this address book.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'GroupType' => ['description' => 'The type of the address book. Valid values:'."\n" + ."\n" + .'- **ip**: IP address book'."\n" + ."\n" + .'- **domain**: domain address book'."\n" + ."\n" + .'- **port**: port address book'."\n" + ."\n" + .'- **tag**: ECS tag-based address book'."\n" + ."\n" + .'- **allCloud**: cloud service address book'."\n" + ."\n" + .'- **threat**: threat intelligence address book', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'TagRelation' => ['description' => 'The logical relationship among multiple ECS tags. Valid values:'."\n" + ."\n" + .'- **and**: An ECS instance must have all the specified tags.'."\n" + ."\n" + .'- **or**: An ECS instance must have one of the specified tags.', 'type' => 'string', 'example' => 'or', 'title' => ''], + 'TagList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'The value of the ECS tag.', 'type' => 'string', 'example' => 'tfTestAcc0', 'title' => ''], + 'TagKey' => ['description' => 'The key of the ECS tag.', 'type' => 'string', 'example' => 'ss', 'title' => ''], + ], + 'description' => 'The ECS tag.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The ECS tags.', + 'title' => '', + 'example' => '', + ], + 'AddressList' => [ + 'type' => 'array', + 'items' => ['description' => 'The address in the address book.', 'type' => 'string', 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32', 'title' => ''], + 'description' => 'The addresses in the address book.', + 'title' => '', + 'example' => '', + ], + 'NatGatewayId' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'example' => 'ngw-2ze4w62zbdkwjmoqeokgl', 'title' => ''], + 'DomainResolveType' => ['description' => 'The DNS resolution method of the domain name in the access control policy. Valid values:'."\n" + ."\n" + .'- **0**: FQDN-based resolution'."\n" + ."\n" + .'- **1**: DNS-based dynamic resolution'."\n" + ."\n" + .'- **2**: FQDN-based and DNS-based dynamic resolution', 'type' => 'integer', 'format' => 'int32', 'example' => 'FQDN', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'example' => 'vfw-925514970c2c4bcab222', 'title' => ''], + 'Addresses' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Address' => ['description' => 'The address in the address book.', 'type' => 'string', 'example' => '192.0.XX.XX/32', 'title' => ''], + 'Note' => ['description' => 'The remarks.', 'type' => 'string', 'example' => 'Reviewed', 'title' => ''], + ], + 'description' => 'The address and its remarks.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The addresses and their remarks.', + 'title' => '', + 'example' => '', + ], ], + 'description' => 'The ACL check result.', + 'title' => '', + 'example' => '', ], - ], - ], - 'DestCandidateList' => [ - 'description' => 'The secondary traffic redirection instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => 'The ID of the secondary traffic redirection instance.'."\n", - 'type' => 'string', - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => 'The type of the secondary traffic redirection instance.'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], + 'AclStatus' => [ + 'description' => 'The status of the ACL check.', + 'enumValueTitles' => ['Pending' => 'The policy is awaiting processing.', 'Ignored' => 'The policy is ignored.', 'Processed' => 'The policy is processed.'], + 'type' => 'string', + 'example' => 'Pending', + 'title' => '', ], + 'AclAssessmentDetail' => ['description' => 'The assessment details of the access control policy.', 'type' => 'string', 'example' => 'No traffic hit policy.', 'title' => ''], ], + 'description' => 'An ACL check result.', + 'title' => '', + 'example' => '', ], - 'TrFirewallRoutePolicyId' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'example' => 'policy-7b66257c14e141fb****', - ], - 'PolicyStatus' => [ - 'description' => 'The status of the routing policy. Valid values:'."\n" - ."\n" - .'* creating: The policy is being created.'."\n" - .'* deleting: The policy is being deleted.'."\n" - .'* opening: The policy is being enabled.'."\n" - .'* opened: The policy is enabled.'."\n" - .'* closing: The policy is being disabled.'."\n" - .'* closed: The policy is disabled.'."\n", - 'type' => 'string', - 'example' => 'opened', - ], + 'description' => 'The ACL check results.', + 'title' => '', + 'example' => '', ], ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '95EB5F3A-67FE-5780-92BD-5ECBA772AB7E', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'string', - 'example' => '1', + 'description' => 'The check record.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ['errorCode' => 'ErrorAclCheckNotExist', 'errorMessage' => 'ACL check not exist.', 'description' => 'The access control configuration check does not exist.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAclCheck', + 'description' => '## QPS limit'."\n" + ."\n" + .'This API is limited to 10 queries per second (QPS) per user. Calls exceeding this limit are throttled.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"CheckRecord\\": {\\n \\"AclTotalCount\\": 10,\\n \\"RecordAssessmentDetail\\": \\"It is recommended to remove the invalid policy, while helping to save the specification.\\\\n\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.\\\\n\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"out\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"group\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\\\n\\",\\n \\"AclUuid\\": \\"997b38e0-01fa-4db7-8d30-02ebf6fdb747\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"172.28.7.167\\",\\n \\"DestinationType\\": \\"domain\\",\\n \\"DestPort\\": \\"80/80\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"plugin_idp4_ciam\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"111.48.54.39/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"ANY\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 6\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\\\n\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1730318400,\\n \\"EndTime\\": 1758334822,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"b91d86c3-2b52-4534-aae9-8d0339b12a48\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"Zhong Kui Open White List\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"or\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"ss\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-2ze4w62zbdkwjmoqeokgl\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"vfw-925514970c2c4bcab222\\",\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.0.XX.XX/32\\",\\n \\"Note\\": \\"Reviewed\\"\\n }\\n ]\\n },\\n \\"AclStatus\\": \\"Pending\\",\\n \\"AclAssessmentDetail\\": \\"No traffic hit policy.\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeAclCheckQuota' => [ + 'summary' => 'Queries the quota for access control list (ACL) checks.', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '219328', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****'], + 'Quota' => [ + 'type' => 'object', + 'properties' => [ + 'AvailableQuota' => ['description' => 'The available quota.', 'type' => 'integer', 'format' => 'int64', 'example' => '500', 'title' => ''], + 'ConsumedQuota' => ['description' => 'The consumed quota.', 'type' => 'integer', 'format' => 'int64', 'example' => '1500', 'title' => ''], + 'TotalQuota' => ['description' => 'The total quota.', 'type' => 'integer', 'format' => 'int64', 'example' => '2000', 'title' => ''], + 'UpdateTime' => ['description' => 'The time when the quota was last updated. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'example' => '1724982259', 'title' => ''], + ], + 'description' => 'The quota.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicies\\": [\\n {\\n \\"PolicyType\\": \\"fullmesh\\",\\n \\"PolicyName\\": \\"新加坡点到多点\\",\\n \\"PolicyDescription\\": \\"点到多点\\",\\n \\"SrcCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"DestCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"TrFirewallRoutePolicyId\\": \\"policy-7b66257c14e141fb****\\",\\n \\"PolicyStatus\\": \\"opened\\"\\n }\\n ],\\n \\"RequestId\\": \\"95EB5F3A-67FE-5780-92BD-5ECBA772AB7E\\",\\n \\"TotalCount\\": \\"1\\"\\n}","type":"json"}]', - 'title' => 'DescribeTrFirewallV2RoutePolicyList', - ], - 'DescribeTrFirewallPolicyBackUpAssociationList' => [ - 'summary' => 'Queries information about the transit routers that are associated with a virtual private cloud (VPC) firewall created for a transit router.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeAclCheckQuota', + 'description' => '## QPS limits'."\n" + ."\n" + .'Each user can make up to 10 queries per second (QPS). If you exceed this limit, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheckQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"Quota\\": {\\n \\"AvailableQuota\\": 500,\\n \\"ConsumedQuota\\": 1500,\\n \\"TotalQuota\\": 2000,\\n \\"UpdateTime\\": \\"1724982259\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeAclChecks' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11013,10 +9166,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '150101', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '219331', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -11024,166 +9175,218 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", 'type' => 'string', 'required' => false, + 'description' => 'The language.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], [ - 'name' => 'FirewallId', + 'name' => 'AclType', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-8b268ce1b26e4c68****', + 'required' => true, + 'enum' => ['Internet', 'NAT', 'VPC', 'AddressBook'], + 'description' => 'The type of ACL check.', + 'title' => '', + 'enumValueTitles' => ['NAT' => 'NAT Border', 'AddressBook' => 'Address book', 'VPC' => 'VPC Border', 'Internet' => 'Internet Border'], + 'example' => 'VPC', ], ], - [ - 'name' => 'TrFirewallRoutePolicyId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy-5dcafb12ff794a56****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3D****'], + 'CheckRecords' => [ + 'type' => 'object', + 'properties' => [ + 'AclType' => [ + 'type' => 'string', + 'description' => 'The type of ACL check.', + 'enumValueTitles' => ['NAT' => 'NAT Border', 'AddressBook' => 'Address book', 'VPC' => 'VPC Border', 'Internet' => 'Internet Border'], + 'title' => '', + 'example' => 'Internet', + ], + 'Records' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CheckName' => [ + 'type' => 'string', + 'description' => 'The name of the ACL check.', + 'enumValueTitles' => ['PolicyDuplicate' => 'Duplicate or redundant policy', 'PolicyConflict' => 'Policy that conflicts with business', 'AddressBookIpSeparated' => 'Duplicate, overlapping, or scattered IP address books', 'DefaultPolicyNotDeny' => 'The default policy is not a Deny All whitelist mechanism', 'PolicySourceDestinationSame' => 'Invalid policy where the source and destination are the same', 'PolicyPortHighRisk' => 'Risky policy that allows traffic on high-risk ports', 'PolicyTooLoose' => 'The control policy is too loose', 'PolicyHitCountZero' => 'Policy with no traffic hits', 'AddressBookPortSeparated' => 'Duplicate, overlapping, or scattered port address books', 'AddressBookDomainValid' => 'Validity check for domain name address books'], + 'title' => '', + 'example' => 'AddressBookDomainValid', + ], + 'CheckStatus' => [ + 'type' => 'string', + 'description' => 'The status of the ACL check item.', + 'enumValueTitles' => ['Checked' => 'The item has been checked.', 'Unchecked' => 'The item is waiting to be checked.', 'Checking' => 'The item is being checked.'], + 'title' => '', + 'example' => 'Checked', + ], + 'CheckType' => [ + 'type' => 'string', + 'description' => 'The type of ACL check.', + 'enumValueTitles' => ['InvalidPolicy' => 'Invalid policy', 'AddressBookGather' => 'Address book aggregation', 'HighRisk' => 'Threat reduction'], + 'title' => '', + 'example' => 'AddressBookGather', + ], + 'LastCheckTime' => ['type' => 'string', 'description' => 'The UNIX timestamp of the last check, in seconds.', 'title' => '', 'example' => '1724982259'], + 'Level' => [ + 'type' => 'string', + 'description' => 'The risk level.', + 'enumValueTitles' => ['High' => 'High', 'Low' => 'Low', 'Medium' => 'Medium'], + 'title' => '', + 'example' => 'Medium', + ], + 'AclPendingCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of pending ACL check tasks.', 'title' => '', 'example' => '1'], + 'AclTotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of ACL checks.', 'title' => '', 'example' => '10'], + 'TaskId' => ['type' => 'string', 'description' => 'The ID of the ACL check task.', 'title' => '', 'example' => 'task-c92d4544ef7b6a42'], + ], + 'description' => 'The ACL check record.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of ACL check records.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of ACL check records.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeAclChecks', + 'summary' => 'Queries Access Control List (ACL) checks in batches.', + 'description' => '## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If this limit is exceeded, your API calls are throttled. This may affect your business. We recommend that you plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'CandidateList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The traffic redirection instances.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => 'The ID of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9grb8ng3y7h7lf2****'."\n", - ], - 'CandidateType' => [ - 'description' => 'The type of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclChecks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3D****\\",\\n \\"CheckRecords\\": {\\n \\"AclType\\": \\"Internet\\",\\n \\"Records\\": [\\n {\\n \\"CheckName\\": \\"AddressBookDomainValid\\",\\n \\"CheckStatus\\": \\"Checked\\",\\n \\"CheckType\\": \\"AddressBookGather\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"Medium\\",\\n \\"AclPendingCount\\": 1,\\n \\"AclTotalCount\\": 10,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeAclRuleCount' => [ + 'summary' => 'Retrieves the total number of access control policy configurations.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68172', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '27.151.85.XX', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language type. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PolicyAssociationBackupConfigs' => [ - 'description' => 'The route tables.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CandidateType' => [ - 'description' => 'The type of the traffic redirection instance.'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], - 'CandidateId' => [ - 'description' => 'The ID of the traffic redirection instance.'."\n", - 'type' => 'string', - 'example' => 'vpc-wz9grb8ng3y7h7lf2****', - ], - 'OriginalRouteTableId' => [ - 'description' => 'The ID of the route table.'."\n", - 'type' => 'string', - 'example' => 'vtb-wz9slp3s7m4qrzvnq****', - ], - 'CurrentRouteTableId' => [ - 'description' => 'The route table that is used after traffic redirection.'."\n", - 'type' => 'string', - 'example' => 'vtb-wz9898grickmh5j09****', - ], - 'CandidateName' => [ - 'description' => 'The name of the traffic redirection instance.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C264A756-9B48-57E3-B312-716941E146C6', - ], + 'InternetInAclCount' => ['description' => 'The number of inbound access control policies for the Internet firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'TotalAclCount' => ['description' => 'The total number of access control policies.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****', 'title' => ''], + 'InternetOutAclCount' => ['description' => 'The number of outbound access control policies that are created for the Internet firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'VpcAclCount' => ['description' => 'The number of access control policies for VPC firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'NatInAclCount' => ['description' => 'The number of inbound access control policies for the NAT firewall.>This field is deprecated.>', 'type' => 'integer', 'format' => 'int32', 'deprecated' => true, 'example' => '0', 'title' => ''], + 'NatOutAclCount' => ['description' => 'The number of internal-to-external access control policies for the NAT firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorTrFwBackUpAssocationNotExist', - 'errorMessage' => 'Tr firewall back up association not Exist.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PolicyAssociationBackupConfigs\\": [\\n {\\n \\"CandidateType\\": \\"VPC\\",\\n \\"CandidateId\\": \\"vpc-wz9grb8ng3y7h7lf2****\\",\\n \\"OriginalRouteTableId\\": \\"vtb-wz9slp3s7m4qrzvnq****\\",\\n \\"CurrentRouteTableId\\": \\"vtb-wz9898grickmh5j09****\\",\\n \\"CandidateName\\": \\"VPC引流实例\\"\\n }\\n ],\\n \\"RequestId\\": \\"C264A756-9B48-57E3-B312-716941E146C6\\"\\n}","type":"json"}]', - 'title' => 'DescribeTrFirewallPolicyBackUpAssociationList', - ], - 'DescribeTransitRouterResourcesList' => [ - 'summary' => '获取TR交换机资源列表', - 'methods' => [ - 'post', - 'get', + 'title' => 'Retrieve total ACL configuration count', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclRuleCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetInAclCount\\": 2,\\n \\"TotalAclCount\\": 8,\\n \\"RequestId\\": \\"27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****\\",\\n \\"InternetOutAclCount\\": 3,\\n \\"VpcAclCount\\": 3,\\n \\"NatInAclCount\\": 0,\\n \\"NatOutAclCount\\": 2\\n}","type":"json"}]', + ], + 'DescribeAclWhitelist' => [ + 'summary' => 'Retrieves the ACL whitelist.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11192,93 +9395,174 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '143494', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68174', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '101.36.65.XX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the messages to receive. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'DomainGroupUseDns' => ['description' => 'Indicates whether the whitelist is enabled. Valid values:'."\n" + .'- **true**: Enabled.'."\n" + .'- **false**: Not enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SupportMessageType' => ['description' => 'Indicates whether the message type is supported. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7D45133B-DBC0-506B-9DF9-AB0735D3****', 'title' => ''], + 'NatDomainGroupUseDns' => ['description' => 'Indicates whether domain name DNS is supported in NAT scenarios. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'VpcDomainGroupUseDns' => ['description' => 'Indicates whether domain name DNS is supported in VPC scenarios. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => 'Retrieve ACL whitelist', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'zh', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainGroupUseDns\\": true,\\n \\"SupportMessageType\\": true,\\n \\"RequestId\\": \\"7D45133B-DBC0-506B-9DF9-AB0735D3****\\",\\n \\"NatDomainGroupUseDns\\": false,\\n \\"VpcDomainGroupUseDns\\": false\\n}","type":"json"}]', + ], + 'DescribeAddressBook' => [ + 'summary' => 'Queries address books in batches.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CenId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68175', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type for the address book description. Valid values:'."\n" + .'- **en**: English.'."\n" + .'- **zh**: Chinese (default).', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, - 'example' => 'cen-djz1i6p8shzioz****', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'TransitRouterId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-2zefgvkcl2qcexbb7****', - ], + 'schema' => ['description' => 'The page number in a paged query.'."\n" + ."\n" + .'Default value: 1, which indicates that the first page of data is returned.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], + 'schema' => ['description' => 'The number of address books on each page in a paged query.'."\n" + ."\n" + .'Default value: 10, which indicates that each page contains 10 results. Maximum value: 50.', 'type' => 'string', 'required' => false, 'docRequired' => false, 'default' => '10', 'example' => '10', 'title' => ''], ], [ - 'name' => 'FirewallId', + 'name' => 'Query', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-741de4c8956341****', - ], + 'schema' => ['description' => 'The search condition. Enter the address book information that you want to query.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'GroupType', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, + 'description' => 'The type of the address book.'."\n" + ."\n" + .'> If you do not set this parameter, IP address books and ECS tag-based address books are queried.', 'enumValueTitles' => [ - 'VBR' => 'VBR', - 'VPC' => 'VPC', - 'TR' => 'TR', - 'CCN' => 'CCN', + 'tagPrivate' => 'ECS label-based private endpoint address book.', 'backsrcIpv6' => 'IPv6 back-to-origin address book.', 'ackLabel' => 'ACK pod label address book.', 'ip' => 'IPv4 address book.', 'cloud' => 'cloud address book.', 'cloudServiceDomain' => 'cloud service domain name address book.', 'backsrc' => 'IPv4 back-to-origin address book.', 'cloudDomain' => 'cloud domain name address book.', 'port' => 'port address book.', 'ipv6' => 'IPv6 address book.', + 'domain' => 'domain name address book.', 'assetIpv6' => 'IPv6 public assets address book.', 'ackNamespace' => 'ACK namespace address book.', 'tag' => 'ECS tag-based public network address book.', 'threat' => 'threat intelligence address book.', 'asset' => 'IPv4 public assets address book.', ], - 'example' => 'TR', + 'type' => 'string', + 'required' => false, + 'example' => 'ip', + 'title' => '', ], ], [ - 'name' => 'VpcId', + 'name' => 'ContainPort', 'in' => 'query', + 'schema' => ['description' => 'Queries address books that contain the specified port. This parameter takes effect only when the **GroupType** parameter is set to **port**.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'GroupUuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the address book.', 'type' => 'string', 'required' => false, 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', 'title' => ''], + ], + [ + 'name' => 'AssetMemberUids', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'title' => '', + 'description' => 'The list of member accounts for the asset address book.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The list of member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '13580xxxxxx6271'], 'required' => false, - 'example' => 'vpc-wz9lllsbftdm0svpj****', + 'example' => '', ], ], ], @@ -11287,271 +9571,533 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A61A2516-0A22-5B3F-986B-3D4BF2A****', - ], - 'TransitRouterAttachedResources' => [ - 'description' => '', + 'PageNo' => ['description' => 'The page number of the current page.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of address books on each page.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B36F150A-1E27-43AA-B72C-D2AC712F09DA', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of address books.', 'type' => 'string', 'example' => '100', 'title' => ''], + 'Acls' => [ + 'description' => 'The list of address books.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The address book information.', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eas-r-8k1a6jjofkp0cq****', + 'AddressListCount' => ['description' => 'The number of addresses in the address book.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'GroupUuid' => ['description' => 'The unique ID of the address book.', 'type' => 'string', 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', 'title' => ''], + 'AutoAddTagEcs' => [ + 'description' => 'Indicates whether the public IP addresses of ECS instances that match new tags are automatically added to the address book. Valid values:'."\n" + .'- **0**: The public IP addresses are not automatically added.'."\n" + .'- **1**: The public IP addresses are automatically added.', + 'enumValueTitles' => ['Not automatically added.', 'Automatically added.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', ], - 'ResourceType' => [ - 'description' => '', + 'Description' => ['description' => 'The description of the address book.', 'type' => 'string', 'example' => 'DEMO', 'title' => ''], + 'GroupName' => ['description' => 'The name of the address book.', 'type' => 'string', 'example' => 'demo_address_book', 'title' => ''], + 'ReferenceCount' => ['description' => 'The number of times the address book is referenced.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'GroupType' => [ + 'description' => 'The type of the address book.', + 'enumValueTitles' => [ + 'tagPrivate' => 'ECS label-based private endpoint address book.', 'backsrcIpv6' => 'IPv6 back-to-origin address book.', 'ackLabel' => 'ACK pod label address book.', 'ip' => 'IPv4 address book.', 'cloudServiceDomain' => 'cloud service domain name address book.', 'cloud' => 'cloud address book.', 'backsrc' => 'IPv4 back-to-origin address book.', 'cloudDomain' => 'cloud domain name address book.', 'port' => 'port address book.', 'ipv6' => 'IPv6 address book.', + 'domain' => 'domain name address book.', 'assetIpv6' => 'IPv6 public assets address book.', 'ackNamespace' => 'ACK namespace address book.', 'tag' => 'ECS tag-based public network address book.', 'threat' => 'threat intelligence address book.', 'asset' => 'IPv4 public assets address book.', + ], 'type' => 'string', - 'example' => 'VPC', + 'example' => 'ip', + 'title' => '', ], - 'ResourceName' => [ - 'description' => '', + 'TagRelation' => [ + 'description' => 'The relationship between multiple ECS tags. Valid values:'."\n" + .'- **or**: The relationship between multiple tags is OR. The public IP address of an ECS instance that matches any tag is added to the address book.'."\n" + .'- **and**: The relationship between multiple tags is AND. The public IP address of an ECS instance that matches all tags is added to the address book.', + 'enumValueTitles' => ['or' => 'The relationship between multiple labels is OR. The public IP addresses of Elastic Compute Service (ECS) instances that match any label are added to the address book.', 'and' => 'The relationship between multiple labels is AND. Only the public IP addresses of Elastic Compute Service (ECS) instances that match all labels are added to the address book.'], 'type' => 'string', - 'example' => 'test', + 'example' => 'and', + 'title' => '', + ], + 'TagList' => [ + 'description' => 'The list of ECS tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ECS tag.', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'The value of the ECS tag.', 'type' => 'string', 'example' => 'ALL VALUE', 'title' => ''], + 'TagKey' => ['description' => 'The key of the ECS tag.', 'type' => 'string', 'example' => 'company', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'AddressList' => [ + 'description' => 'The address list of the address book.', + 'type' => 'array', + 'items' => ['description' => 'The address information of the address book.', 'type' => 'string', 'example' => '[ "192.168.XX.XX/32", "192.168.XX.XX/32" ]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Addresses' => [ + 'description' => 'The address list of the address book that includes descriptions for individual addresses.', + 'type' => 'array', + 'items' => [ + 'description' => 'The address with a description in the address book.', + 'type' => 'object', + 'properties' => [ + 'Address' => ['description' => 'The address information of the address book.', 'type' => 'string', 'example' => '192.168.0.1/32', 'title' => ''], + 'Note' => ['description' => 'The description of the individual address.', 'type' => 'string', 'example' => 'Single Address Description', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'AckClusterConnectorId' => ['title' => '', 'description' => 'The ID of the ACK cluster connector.', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab'], + 'AckClusterConnectorName' => ['title' => '', 'description' => 'The name of the ACK cluster connector.', 'type' => 'string', 'example' => 'ack-cluster-connector-name'], + 'AckLabels' => [ + 'title' => '', + 'description' => 'The list of pod labels in the ACK cluster.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The pod label in the ACK cluster.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '', 'description' => 'The key of the pod label in the ACK cluster.', 'type' => 'string', 'example' => 'app'], + 'Value' => ['title' => '', 'description' => 'The value of the pod label in the ACK cluster.', 'type' => 'string', 'example' => 'storage-operator'], + ], + 'example' => '', + ], + 'example' => '', + ], + 'AckNamespaces' => [ + 'title' => '', + 'description' => 'The list of pod namespaces in the ACK cluster.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The pod namespace in the ACK cluster.', 'type' => 'string', 'example' => 'default'], + 'example' => '', + ], + 'RegionNo' => ['title' => '', 'description' => 'The region of the ACK cluster connector to which the address book belongs when GroupType is an ACK address book.', 'type' => 'string', 'example' => 'cn-beijing'], + 'AssetMemberUids' => [ + 'title' => '', + 'description' => 'The list of member accounts for the asset address book.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The list of member accounts.', 'type' => 'integer', 'format' => 'int64', 'example' => '13580xxxxxx6271'], + 'example' => '', + ], + 'AssetRegionResourceTypes' => [ + 'title' => '', + 'description' => 'The list of regions and resource types for the asset address book.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The region and resource type list.', + 'type' => 'object', + 'properties' => [ + 'AssetRegionId' => [ + 'title' => '', + 'description' => 'The region ID of the asset.', + 'enumValueTitles' => ['all' => 'All regions.'], + 'type' => 'string', + 'example' => 'all', + ], + 'ResourceType' => [ + 'title' => '', + 'description' => 'The asset type.', + 'type' => 'object', + 'properties' => [ + 'Ipv4' => [ + 'title' => '', + 'description' => 'The IPv4 asset type.', + 'type' => 'object', + 'properties' => [ + 'SlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: SlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'true', + ], + 'NatPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: NatPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'BastionHostIngressIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostIngressIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'EniEIP' => [ + 'title' => '', + 'description' => 'The asset type: EniEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'NlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: NlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'ApiGatewayEIP' => [ + 'title' => '', + 'description' => 'The asset type: ApigEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'EcsPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: EcsPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'BastionHostIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'BastionHostEgressIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostEgressIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'AlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: AlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'GaEIP' => [ + 'title' => '', + 'description' => 'The asset type: GaEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'AiGatewayEIP' => [ + 'title' => '', + 'description' => 'The asset type: AIGatewayEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'EIP' => [ + 'title' => '', + 'description' => 'The asset type: EIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'NatEIP' => [ + 'title' => '', + 'description' => 'The asset type: NatEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'SlbPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: SlbPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'EcsEIP' => [ + 'title' => '', + 'description' => 'The asset type: EcsEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'HAVIP' => [ + 'title' => '', + 'description' => 'The asset type: HAVIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + ], + 'example' => '', + ], + 'Ipv6' => [ + 'title' => '', + 'description' => 'The IPv6 asset type.', + 'type' => 'object', + 'properties' => [ + 'SlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: SlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'NlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: NlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'EniEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: EniEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'AlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: AlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'GaEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: GaEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'AiGatewayEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: AIGatewayEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'EcsIPv6' => [ + 'title' => '', + 'description' => 'The asset type: EcsIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + 'ApiGatewayEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: ApigEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'example' => 'false', + ], + ], + 'example' => '', + ], + ], + 'example' => '', + ], + ], + 'example' => '', + ], + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorTrResourceNotReady', - 'errorMessage' => 'Transit Router has not been detected by cloud firewall', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorAssetSynchronizationNotCompleted', - 'errorMessage' => 'VPC firewall asset synchronization is not completed.', - ], + ['errorCode' => 'ErrorParametersGroupType', 'errorMessage' => 'The group type is invalid.', 'description' => 'The group type is invalid.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A61A2516-0A22-5B3F-986B-3D4BF2A****\\",\\n \\"TransitRouterAttachedResources\\": [\\n {\\n \\"ResourceId\\": \\"eas-r-8k1a6jjofkp0cq****\\",\\n \\"ResourceType\\": \\"VPC\\",\\n \\"ResourceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateTrFirewallV2' => [ - 'summary' => 'Creates a virtual private cloud (VPC) firewall for a transit router.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"B36F150A-1E27-43AA-B72C-D2AC712F09DA\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Acls\\": [\\n {\\n \\"AddressListCount\\": 2,\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AutoAddTagEcs\\": 1,\\n \\"Description\\": \\"DEMO\\",\\n \\"GroupName\\": \\"demo_address_book\\",\\n \\"ReferenceCount\\": 3,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"ALL VALUE\\",\\n \\"TagKey\\": \\"company\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"[ \\\\\\"192.168.XX.XX/32\\\\\\", \\\\\\"192.168.XX.XX/32\\\\\\" ]\\"\\n ],\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.168.0.1/32\\",\\n \\"Note\\": \\"Single Address Description\\"\\n }\\n ],\\n \\"AckClusterConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"AckClusterConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"AssetMemberUids\\": [\\n 0\\n ],\\n \\"AssetRegionResourceTypes\\": [\\n {\\n \\"AssetRegionId\\": \\"all\\",\\n \\"ResourceType\\": {\\n \\"Ipv4\\": {\\n \\"SlbEIP\\": true,\\n \\"NatPublicIP\\": false,\\n \\"BastionHostIngressIP\\": false,\\n \\"EniEIP\\": false,\\n \\"NlbEIP\\": false,\\n \\"ApiGatewayEIP\\": false,\\n \\"EcsPublicIP\\": false,\\n \\"BastionHostIP\\": false,\\n \\"BastionHostEgressIP\\": false,\\n \\"AlbEIP\\": false,\\n \\"GaEIP\\": false,\\n \\"AiGatewayEIP\\": false,\\n \\"EIP\\": false,\\n \\"NatEIP\\": false,\\n \\"SlbPublicIP\\": false,\\n \\"EcsEIP\\": false,\\n \\"HAVIP\\": false\\n },\\n \\"Ipv6\\": {\\n \\"SlbIPv6\\": false,\\n \\"NlbIPv6\\": false,\\n \\"EniEIPv6\\": false,\\n \\"AlbIPv6\\": false,\\n \\"GaEIPv6\\": false,\\n \\"AiGatewayEIPv6\\": false,\\n \\"EcsIPv6\\": false,\\n \\"ApiGatewayEIPv6\\": false\\n }\\n }\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query address books in batches', + 'description' => 'This operation is used to query the details of access control policy address books.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAddressBook'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], + ], + ], ], + ], + 'DescribeAssetList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142851', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language type of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'FirewallName', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_test2', - ], + 'schema' => ['description' => 'The page number of the current page in a paginated query.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'RouteMode', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The routing mode of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **managed**: automatic mode'."\n" - .'* **manual**: manual mode'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'managed', - ], + 'schema' => ['description' => 'The number of Cloud Firewall-protected assets to display on each page in a paginated query.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], [ - 'name' => 'TransitRouterId', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the transit router.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tr-m5etmb2q7e0mxcur****', - ], + 'schema' => ['description' => 'The region ID of the Cloud Firewall.'."\n" + ."\n" + .'> For more information about regions supported by Cloud Firewall, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the route router.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The Cloud Firewall status. Valid values:'."\n" + ."\n" + .'- **open**: Protected.'."\n" + .'- **opening**: Protection enabling.'."\n" + .'- **closed**: Not protected.'."\n" + .'- **closing**: Protection disabling.'."\n" + ."\n" + .'> If this parameter is not set, all firewall statuses are queried.', 'type' => 'string', 'required' => false, 'example' => 'open', 'title' => ''], ], [ - 'name' => 'FirewallVpcCidr', + 'name' => 'SearchItem', 'in' => 'query', - 'schema' => [ - 'description' => 'The CIDR block that is allocated to the VPC created for the VPC firewall in automatic mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.0.0/16', - ], + 'schema' => ['description' => 'The IP address or instance ID of the asset.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'FirewallSubnetCidr', + 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'description' => 'The subnet CIDR block of the VPC in which the ENI of the firewall is stored in automatic mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.1.0/24', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'eip', 'title' => ''], ], [ - 'name' => 'TrAttachmentSlaveCidr', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The secondary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.0.16/28', - ], + 'schema' => ['description' => 'The asset type. Valid values:'."\n" + ."\n" + .'- **BastionHostEgressIP**: Bastion host egress IP.'."\n" + .'- **BastionHostIngressIP**: Bastion host ingress IP.'."\n" + .'- **EcsEIP**: ECS EIP.'."\n" + .'- **EcsPublicIP**: ECS public IP.'."\n" + .'- **EIP**: Elastic IP address.'."\n" + .'- **EniEIP**: Elastic network interface EIP.'."\n" + .'- **NatEIP**: NAT EIP.'."\n" + .'- **SlbEIP**: SLB EIP (CLB EIP).'."\n" + .'- **SlbPublicIP**: SLB public IP (CLB public IP).'."\n" + .'- **NatPublicIP**: NAT public IP.'."\n" + .'- **HAVIP**: High-availability virtual IP.'."\n" + .'- **NlbEIP**: NLB EIP.'."\n" + .'- **ApiGatewayEIP**: API Gateway public IP.'."\n" + .'- **AlbEIP**: ALB EIP.'."\n" + .'- **AiGatewayEIP**: AI Gateway public IP.'."\n" + .'- **GaEIP**: GA EIP.'."\n" + .'- **SwasEIP**: Simple Application Server public IP.'."\n" + .'- **EcdEIP**: Elastic Desktop Service public IP.'."\n" + .'- **BastionHostIP**: Bastion host IP.', 'type' => 'string', 'required' => false, 'example' => 'EIP', 'title' => ''], ], [ - 'name' => 'TrAttachmentMasterCidr', + 'name' => 'SgStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The primary subnet CIDR block that the VPC uses to connect to the transit router in automatic mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.3.0/24', - ], + 'schema' => ['description' => 'The security group policy status. Valid values:'."\n" + ."\n" + .'- **pass**: Delivered.'."\n" + .'- **block**: Not delivered.'."\n" + .'- **unsupport**: Not supported.'."\n" + .'> If this parameter is not set, all security group policy statuses are queried.', 'type' => 'string', 'required' => false, 'example' => 'pass', 'title' => ''], ], [ - 'name' => 'CenId', + 'name' => 'IpVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the Cloud Enterprise Network (CEN) instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cen-4xbjup276au29r****', - ], + 'schema' => ['description' => 'The IP version of the assets protected by Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **4** (default): IPv4.'."\n" + .'- **6**: IPv6.', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], ], [ - 'name' => 'FirewallDescription', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-sz', - ], + 'schema' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], [ - 'name' => 'FirewallVpcId', + 'name' => 'UserType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC in which the ENI associated with the VPC firewall is created in manual mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9r5qvryn0lg3atb****', - ], + 'schema' => ['description' => 'The user type. Valid values:'."\n" + ."\n" + .'- **buy** (default): Paid user.'."\n" + .'- **free**: Free user.', 'type' => 'string', 'required' => false, 'example' => 'buy', 'title' => ''], ], [ - 'name' => 'FirewallVswitchId', + 'name' => 'NewResourceTag', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch that is used to create the ENI in manual mode.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-uf6ydz3vqj77mr5l6****', - ], + 'schema' => ['description' => 'The time when the asset was discovered. Valid values:'."\n" + .'- **discovered in 1 hour**: The asset was discovered within 1 hour.'."\n" + .'- **discovered in 1 day**: The asset was discovered within 1 day.'."\n" + .'- **discovered in 7 days**: The asset was discovered within 7 days.', 'type' => 'string', 'required' => false, 'example' => 'discovered in 1 hour', 'title' => ''], ], [ - 'name' => 'TrAttachmentSlaveZone', + 'name' => 'OutStatistic', 'in' => 'query', - 'schema' => [ - 'description' => 'The secondary zone for the vSwitch.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-chengdu-b', - ], + 'schema' => ['description' => 'Specifies whether to query outbound traffic information.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'TrAttachmentMasterZone', + 'name' => 'SensitiveStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The primary zone for the vSwitch.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-chengdu-a', - ], + 'schema' => ['description' => 'The status of data leakage detection.', 'type' => 'string', 'required' => false, 'example' => 'open', 'title' => ''], ], ], 'responses' => [ @@ -11559,275 +10105,212 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-tr-37e22bf0d9b34870****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '822B9125-6E1A-551C-8EAF-6E7AE7444B00', - ], - ], - 'description' => '', + 'TotalCount' => ['description' => 'The total number of assets protected by Cloud Firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], + 'Assets' => [ + 'description' => 'The information about assets protected by Cloud Firewall.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => 'The risk level of the asset. Valid values:'."\n" + ."\n" + .'- **low**: Low risk.'."\n" + ."\n" + .'- **middle**: Medium risk.'."\n" + ."\n" + .'- **hight**: High risk.'."\n" + ."\n" + .'> This parameter is returned only when the value of UserType is free.', 'type' => 'string', 'example' => 'low', 'title' => ''], + 'BindInstanceName' => ['description' => 'The name of the bound asset instance.', 'type' => 'string', 'example' => 'instance01', 'title' => ''], + 'Type' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'deprecated' => true, 'example' => 'eip', 'title' => ''], + 'SgStatusTime' => ['description' => 'The last security group status detection time, in timestamp format. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1615082937', 'title' => ''], + 'ResourceInstanceId' => ['description' => 'The asset instance ID.', 'type' => 'string', 'example' => 'i-8vbdrjrxzt78****', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '258039427902****', 'title' => ''], + 'IntranetAddress' => ['description' => 'The private IP address of the server.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'SyncStatus' => ['description' => 'The traffic diversion support status of the asset. Valid values:'."\n" + ."\n" + .'- **enable**: Traffic diversion supported.'."\n" + .'- **disable**: Traffic diversion not supported.'."\n", 'type' => 'string', 'example' => 'enable', 'title' => ''], + 'AliUid' => ['description' => 'The UID of the Alibaba Cloud account.'."\n" + ."\n" + .'> The primary account of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****', 'title' => ''], + 'ProtectStatus' => ['description' => 'The firewall status. Valid values:'."\n" + ."\n" + .'- **open**: Protected.'."\n" + .'- **opening**: Protection enabling.'."\n" + .'- **closed**: Not protected.'."\n" + .'- **closing**: Protection disabling.'."\n", 'type' => 'string', 'example' => 'open', 'title' => ''], + 'InternetAddress' => ['description' => 'The public IP address of the server.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'BindInstanceId' => ['description' => 'The ID of the bound asset instance.', 'type' => 'string', 'example' => 'i-8vbdrjrxzt78****', 'title' => ''], + 'RegionID' => ['description' => 'The region ID of the asset.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'RegionStatus' => ['description' => 'Indicates whether the region of the asset supports enabling Cloud Firewall protection. Valid values:'."\n" + ."\n" + .'- **enable**: Supported.'."\n" + .'- **disable**: Not supported.'."\n", 'type' => 'string', 'example' => 'enable', 'title' => ''], + 'ResourceType' => ['description' => 'The asset type. Valid values:'."\n" + ."\n" + .'- **BastionHostEgressIP**: Bastion host egress IP.'."\n" + .'- **BastionHostIngressIP**: Bastion host ingress IP.'."\n" + .'- **EcsEIP**: ECS EIP.'."\n" + .'- **EcsPublicIP**: ECS public IP.'."\n" + .'- **EIP**: Elastic IP address.'."\n" + .'- **EniEIP**: Elastic network interface EIP.'."\n" + .'- **NatEIP**: NAT EIP.'."\n" + .'- **SlbEIP**: SLB EIP (CLB EIP).'."\n" + .'- **SlbPublicIP**: SLB public IP (CLB public IP).'."\n" + .'- **NatPublicIP**: NAT public IP.'."\n" + .'- **HAVIP**: High-availability virtual IP.'."\n" + .'- **NlbEIP**: NLB EIP.'."\n" + .'- **ApiGatewayEIP**: API Gateway public IP.'."\n" + .'- **AlbEIP**: ALB EIP.'."\n" + .'- **AiGatewayEIP**: AI Gateway public IP.'."\n" + .'- **GaEIP**: GA EIP.'."\n" + .'- **SwasEIP**: Simple Application Server public IP.'."\n" + .'- **EcdEIP**: Elastic Desktop Service public IP.'."\n" + .'- **BastionHostIP**: Bastion host IP.', 'type' => 'string', 'example' => 'EIP', 'title' => ''], + 'IpVersion' => ['description' => 'The IP address version of the asset protected by Cloud Firewall.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **4**: Indicates an IPv4 address.'."\n" + ."\n" + .'- **6**: Indicates an IPv6 address.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'SgStatus' => ['description' => 'The security group policy. Valid values:'."\n" + ."\n" + .'- **pass**: Delivered.'."\n" + .'- **block**: Not delivered.'."\n" + .'- **unsupport**: Not supported.', 'type' => 'string', 'example' => 'block', 'title' => ''], + 'Note' => ['description' => 'The remarks of the asset. Valid values:'."\n" + ."\n" + .'- **REGION\\_NOT\\_SUPPORT**: Region not supported.'."\n" + .'- **NETWORK\\_NOT\\_SUPPORT**: Network not supported.', 'type' => 'string', 'example' => 'REGION_NOT_SUPPORT', 'title' => ''], + 'Name' => ['description' => 'The instance name of the asset protected by Cloud Firewall.', 'type' => 'string', 'example' => 'instance01', 'title' => ''], + 'CreateTimeStamp' => ['description' => 'The time when Cloud Firewall discovered the asset. Time format: YYYY-MM-DD HH:mm:ss.', 'type' => 'string', 'example' => '2023-02-28 10:29:58', 'title' => ''], + 'NewResourceTag' => ['description' => 'The time when the asset was discovered. Valid values:'."\n" + .'- **discovered in 1 hour**: The asset was discovered within 1 hour.'."\n" + .'- **discovered in 1 day**: The asset was discovered within 1 day.'."\n" + .'- **discovered in 7 days**: The asset was discovered within 7 days.', 'type' => 'string', 'example' => 'discovered in 1 hour', 'title' => ''], + 'SensitiveDataStatus' => ['description' => 'The status of data leakage detection.', 'type' => 'string', 'example' => 'open', 'title' => ''], + 'Last7DayOutTrafficBytes' => ['description' => 'The outbound traffic in the last 7 days.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorTrResourceNotReady', - 'errorMessage' => 'Transit Router has not been detected by cloud firewall', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorUserCenTrNotEnabled', - 'errorMessage' => 'This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationNotFound', - 'errorMessage' => 'CEN-TR attachment association not found.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorInvalidTrFirewallType', - 'errorMessage' => 'Firewall type is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcDoNotSupportSubnetRouting', - 'errorMessage' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.', - ], - [ - 'errorCode' => 'ErrorVpcAndTrNotInTheSameAccount', - 'errorMessage' => 'Vpc and transit router should in the account when create cloud firewall manual mode.', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Network segment CIDR format error, please select again', - ], - [ - 'errorCode' => 'ErrorVswitchCidrIpNumNotEnough', - 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', - ], - [ - 'errorCode' => 'ErrorTrFwVswCidrConflict', - 'errorMessage' => 'Illegal tr firewall cidr configuration.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallZoneId', - 'errorMessage' => 'VPC firewall zone error.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'The quota for VPC firewalls is exceeded.', - ], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query information about assets protected by Cloud Firewall', + 'summary' => 'Queries information about assets protected by Cloud Firewall.', + 'description' => 'This API is generally used to query information about assets protected by Cloud Firewall with pagination.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Please make calls appropriately.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetList'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Asset', 'arn' => 'acs:cloudfirewall::{#accountId}:asset/{#Type}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallId\\": \\"vfw-tr-37e22bf0d9b34870****\\",\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE7444B00\\"\\n}","type":"json"}]', - 'title' => 'CreateTrFirewallV2', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Assets\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"BindInstanceName\\": \\"instance01\\",\\n \\"Type\\": \\"eip\\",\\n \\"SgStatusTime\\": 1615082937,\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"MemberUid\\": 0,\\n \\"IntranetAddress\\": \\"192.168.XX.XX\\",\\n \\"SyncStatus\\": \\"enable\\",\\n \\"AliUid\\": 0,\\n \\"ProtectStatus\\": \\"open\\",\\n \\"InternetAddress\\": \\"192.0.XX.XX\\",\\n \\"BindInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionID\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResourceType\\": \\"EIP\\",\\n \\"IpVersion\\": 4,\\n \\"SgStatus\\": \\"block\\",\\n \\"Note\\": \\"REGION_NOT_SUPPORT\\",\\n \\"Name\\": \\"instance01\\",\\n \\"CreateTimeStamp\\": \\"2023-02-28 10:29:58\\",\\n \\"NewResourceTag\\": \\"discovered in 1 hour\\",\\n \\"SensitiveDataStatus\\": \\"open\\",\\n \\"Last7DayOutTrafficBytes\\": 0\\n }\\n ]\\n}","type":"json"}]', ], - 'CreateTrFirewallV2RoutePolicy' => [ - 'summary' => 'Creates a routing policy for a VPC firewall of a transit router.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAssetRiskList' => [ + 'summary' => 'Retrieves a list of asset risk levels.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142852', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68205', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PolicyType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the traffic redirection scenario of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **fullmesh**: interconnected instances'."\n" - .'* **one_to_one**: instance to instance'."\n" - .'* **end_to_end**: instance to instances'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'fullmesh', - ], - ], - [ - 'name' => 'PolicyName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TEST_VPC_FW'."\n", - ], - ], - [ - 'name' => 'PolicyDescription', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test'."\n", - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '47.100.XX.XX'], ], [ - 'name' => 'FirewallId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-f8ce36689b224f77****', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'SrcCandidateList', + 'name' => 'IpVersion', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The primary traffic redirection instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => 'The ID of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => 'The type of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => 'The IP version of the asset that is protected by Cloud Firewall.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **4** (default): IPv4'."\n" + ."\n" + .'- **6**: IPv6', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'title' => '', 'example' => '4'], ], [ - 'name' => 'DestCandidateList', + 'name' => 'IpAddrList', 'in' => 'query', - 'style' => 'json', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => 'The secondary traffic redirection instances.'."\n", + 'description' => 'The IP addresses to query. Separate multiple IP addresses with commas (,). You can query a maximum of 20 IP addresses at a time.'."\n" + ."\n" + .'> - Example of an IPv4 address: 47.97.XX.XX.'."\n" + .'>'."\n" + .'> - Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:XXXX:ffff.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => 'The ID of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => 'The type of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, - ], + 'items' => ['description' => 'The IP addresses to query. Separate multiple IP addresses with commas (,). You can query a maximum of 20 IP addresses at a time.'."\n" + ."\n" + .'> - Example of an IPv4 address: 47.97.XX.XX.'."\n" + .'>'."\n" + .'> - Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:XXXX:ffff.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '47.97.XX.XX'], 'required' => false, + 'docRequired' => true, + 'maxItems' => 200, + 'title' => '', + 'example' => '', ], ], ], @@ -11836,357 +10319,355 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicyId' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'example' => 'policy-8ebed27e13e14ce2****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '12'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '443C5781-1C03-5FCD-8EC5-FB9C0B9AC396'], + 'AssetList' => [ + 'description' => 'The details of the assets.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of an asset.', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => 'The risk level. Valid values:'."\n" + ."\n" + .'- **low**: low risk'."\n" + ."\n" + .'- **middle**: medium risk'."\n" + ."\n" + .'- **high**: high risk', 'type' => 'string', 'title' => '', 'example' => 'low'], + 'Ip' => ['description' => 'The IP address of the server.', 'type' => 'string', 'title' => '', 'example' => '39.108.XX.XX'], + 'IpVersion' => ['description' => 'The IP version of the asset that is protected by Cloud Firewall.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **4**: IPv4 address'."\n" + ."\n" + .'- **6**: IPv6 address', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4'], + 'Reason' => ['description' => 'The reason for the risk.', 'type' => 'string', 'title' => '', 'example' => 'other'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPolicySrcAndDestConflict', - 'errorMessage' => 'Policy has same destination candidate as source candidtes.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEndToEndTrToAll', - 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorCandidateNoRouteTable', - 'errorMessage' => 'Please attach candidate with transit router before create routing template.', - ], - [ - 'errorCode' => 'ErrorTrFirewallRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has route map conflict.', - ], - [ - 'errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', - ], - [ - 'errorCode' => 'ErrorCandidateHasStaticRoute', - 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorDuplicateTrFwPolicyName', - 'errorMessage' => 'Duplicate firewall policy Name.', - ], - [ - 'errorCode' => 'ErrorCandidateAlreadyInToALlPolicy', - 'errorMessage' => 'Candidate already in to aLl policy.', - ], - [ - 'errorCode' => 'ErrorFirewallCandidateReference', - 'errorMessage' => 'Firewall Candidate referrence count greater than one.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', - 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', - ], - [ - 'errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', - 'errorMessage' => 'Cen TR firewall do not support prefix list.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEcmpRoute', - 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', - ], - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', - ], - [ - 'errorCode' => 'ErrorCrossRegionCloudServiceStaticRoute', - 'errorMessage' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.', - ], - [ - 'errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', - 'errorMessage' => 'There are routes conflict in transit router route table. Please resolve route conflict before create route policy.', - ], - [ - 'errorCode' => 'ErrorCandidateHasIPv6Route', - 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-8ebed27e13e14ce2****\\",\\n \\"RequestId\\": \\"C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D\\"\\n}","type":"json"}]', - 'title' => 'CreateTrFirewallV2RoutePolicy', - ], - 'ModifyTrFirewallV2Configuration' => [ - 'summary' => 'Modifies the configuration of a virtual private cloud (VPC) firewall that is created for a transit router.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeAssetRiskList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetRiskList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetRiskList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"443C5781-1C03-5FCD-8EC5-FB9C0B9AC396\\",\\n \\"AssetList\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"Ip\\": \\"39.108.XX.XX\\",\\n \\"IpVersion\\": 4,\\n \\"Reason\\": \\"other\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAssetStatistic' => [ + 'summary' => 'Queries the statistics information of assets protected by Cloud Firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '143829', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68206', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '112.239.XX.XX', 'title' => ''], ], [ - 'name' => 'FirewallId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-bcdf89d405ce4bd2****', - ], + 'schema' => ['title' => '', 'description' => 'The language of the request and response. Valid values:- **zh**: Chinese- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'FirewallName', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Test instance'."\n", - ], + 'schema' => ['title' => '', 'description' => 'The language of the request and response. Valid values:- **zh**: Chinese- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9', + 'AutoResourceEnable' => ['description' => 'Indicates whether automatic traffic redirection is enabled. Valid values:- **true**: Enabled.- **false**: Disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84******25g4d2', 'title' => ''], + 'ResourceSpecStatistic' => [ + 'title' => '', + 'description' => 'The quota usage statistics information.', + 'type' => 'object', + 'properties' => [ + 'IpNumUsed' => ['title' => '', 'description' => 'The number of public IP addresses with protection enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'IpNumSpec' => ['title' => '', 'description' => 'The quota for protected public IP addresses.', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'SensitiveDataIpNumSpec' => ['description' => 'The quota for IP addresses with sensitive data protection.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'SensitiveDataIpNumUsed' => ['description' => 'The number of IP addresses with sensitive data protection enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'example' => '', + ], + 'GeneralInstanceSpecStatistic' => [ + 'title' => '', + 'description' => 'The general instance specifications for the 2.0 billing model.', + 'type' => 'object', + 'properties' => [ + 'TotalGeneralInstanceUsedCnt' => ['title' => '', 'description' => 'The total quota of general instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCfwGeneralInstanceUsedCnt' => ['title' => '', 'description' => 'The number of instances with the Internet firewall enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalVfwGeneralInstanceUsedCnt' => ['title' => '', 'description' => 'The number of instances with the VPC firewall enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalNatGeneralInstanceUsedCnt' => ['title' => '', 'description' => 'The number of instances with the NAT firewall enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCfwGeneralInstanceCnt' => ['title' => '', 'description' => 'The total number of instances for the Internet firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalNatGeneralInstanceCnt' => ['title' => '', 'description' => 'The total number of instances for the NAT firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CfwGeneralInstanceRegionStatistic' => [ + 'title' => '', + 'description' => 'The region-specific statistics of Internet firewall instances.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The details of region-specific statistics for Internet firewall instances.', + 'type' => 'object', + 'properties' => [ + 'RegionNo' => ['title' => '', 'description' => 'The region information.', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'MemberList' => [ + 'title' => '', + 'description' => 'The list of members in the region.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The region member.', 'type' => 'string', 'example' => '123'], + 'example' => '', + ], + ], + 'example' => '', + ], + 'example' => '', + ], + 'CfwTotalGeneralInstanceRegionStatistic' => [ + 'title' => '', + 'description' => 'The full region-specific statistics of Internet firewall instances.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The details of region-specific statistics for Internet firewall instances.', + 'type' => 'object', + 'properties' => [ + 'RegionNo' => ['title' => '', 'description' => 'The region information.', 'type' => 'string', 'example' => 'cn-shanghai'], + 'MemberList' => [ + 'title' => '', + 'description' => 'The list of members in the region.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The region member.', 'type' => 'string', 'example' => '123'], + 'example' => '', + ], + ], + 'example' => '', + ], + 'example' => '', + ], + ], + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve asset statistics information', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetStatistic'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9\\"\\n}","type":"json"}]', - 'title' => 'ModifyTrFirewallV2Configuration', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AutoResourceEnable\\": true,\\n \\"RequestId\\": \\"850A84******25g4d2\\",\\n \\"ResourceSpecStatistic\\": {\\n \\"IpNumUsed\\": 10,\\n \\"IpNumSpec\\": 20,\\n \\"SensitiveDataIpNumSpec\\": 0,\\n \\"SensitiveDataIpNumUsed\\": 0\\n },\\n \\"GeneralInstanceSpecStatistic\\": {\\n \\"TotalGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalVfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalNatGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceCnt\\": 1,\\n \\"TotalNatGeneralInstanceCnt\\": 1,\\n \\"CfwGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ],\\n \\"CfwTotalGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', ], - 'ModifyFirewallV2RoutePolicySwitch' => [ - 'summary' => 'Modifies the status of a routing policy.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAttackAppCategory' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142877', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'title' => '', + 'description' => 'The request ID of the returned result.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID of the returned result.', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558FE****'], + 'AppCategories' => [ + 'description' => 'The list of attack application categories.', + 'type' => 'array', + 'items' => [ + 'description' => 'The attack application category.', + 'type' => 'object', + 'properties' => [ + 'AttackApps' => [ + 'description' => 'The list of attack applications.', + 'type' => 'array', + 'items' => ['description' => 'The attack application.', 'type' => 'string', 'example' => 'Nacos', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'CategoryName' => ['description' => 'The name of the attack application category.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query attack category list', + 'summary' => 'Queries the list of attack categories.', + 'description' => 'This operation is generally used for paging query of information about assets protected by Cloud Firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation at an appropriate frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the virtual private cloud (VPC) firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-5b202e7f0be64611****', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAttackAppCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE****\\",\\n \\"AppCategories\\": [\\n {\\n \\"AttackApps\\": [\\n \\"Nacos\\"\\n ],\\n \\"CategoryName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeBatchSlsDispatchStatus' => [ + 'summary' => 'Queries the status of log delivery.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TrFirewallRoutePolicyId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'policy-93684cc5caa44b2e****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68214', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'TrFirewallRoutePolicySwitchStatus', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The status of the routing policy. Valid values:'."\n" - ."\n" - .'* open: enabled'."\n" - .'* close: disabled'."\n", + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'open', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'ShouldRecover', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to restore the traffic redirection configurations. Valid values:'."\n" - ."\n" - .'* true: roll back'."\n" - .'* false: withdraw'."\n", + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'false', + 'example' => 'zh', + 'title' => '', ], ], ], @@ -12195,208 +10676,182 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '1F6D4A8D-EC01-5996-A61A-AA3B56490C00', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7036EBAB-F85F-5AAE-976F-C75AEE59****', 'title' => ''], + 'LogstoreName' => ['description' => 'The name of the Logstore in Simple Log Service.', 'type' => 'string', 'example' => 'rs-stats', 'title' => ''], + 'ProjectName' => ['description' => 'The name of the project in Simple Log Service.', 'type' => 'string', 'example' => 'cloudfirewallnew-project-199053910542****-cn-hangzhou', 'title' => ''], + 'ItemList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DispatchName' => ['description' => 'The name of the log delivery.', 'type' => 'string', 'example' => 'internet-traffic-log', 'title' => ''], + 'DispatchValue' => ['description' => 'The value of the log to be delivered.', 'type' => 'string', 'example' => 'internet_log', 'title' => ''], + 'SearchName' => ['description' => 'The name of the search type.', 'type' => 'string', 'example' => 'log_type', 'title' => ''], + 'Enable' => ['description' => 'The delivery status.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ConfigStatus' => ['description' => 'The status of the delivery configuration.', 'type' => 'string', 'example' => 'success_finished', 'title' => ''], + 'FilterKeys' => [ + 'type' => 'array', + 'items' => [ + 'description' => 'The supported filter conditions.', + 'enumValueTitles' => ['other' => 'Other', 'attack' => 'Attack', 'acl' => 'ACL'], + 'type' => 'string', + 'example' => 'attack', + 'title' => '', + ], + 'description' => 'The supported filter conditions.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of log delivery configurations.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of Simple Log Service projects.', + 'title' => '', + 'example' => '', + ], + 'LogVersion' => ['description' => 'The log version. A value of 1 indicates that there is one Logstore. A value of 2 indicates that there are two Logstores.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'InfoList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LogstoreName' => ['description' => 'The name of the Logstore in Simple Log Service.', 'type' => 'string', 'example' => 'cloudfirewall-logstore', 'title' => ''], + 'ProjectName' => ['description' => 'The name of the project in Simple Log Service.', 'type' => 'string', 'example' => 'cloudfirewall-project-1204872307283650-cn-hangzhou', 'title' => ''], + 'ItemList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DispatchName' => ['description' => 'The name of the delivery type.', 'type' => 'string', 'example' => 'internet-traffic-log', 'title' => ''], + 'DispatchValue' => ['description' => 'The key for the log categorization. Valid values:'."\n" + ."\n" + .'**internet\\_log**'."\n" + ."\n" + .'**vpc\\_firewall\\_log**'."\n" + ."\n" + .'**nat\\_firewall\\_log**'."\n" + ."\n" + .'**ipv6\\_firewall\\_log**'."\n" + ."\n" + .'**dns\\_firewall\\_log**', 'type' => 'string', 'example' => 'ipv6_firewall_log', 'title' => ''], + 'SearchName' => ['description' => 'The value is fixed to log\\_type. You can ignore this parameter.', 'type' => 'string', 'example' => 'log_type', 'title' => ''], + 'Enable' => ['description' => 'Indicates whether this delivery type is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ConfigStatus' => ['description' => 'The configuration status.', 'type' => 'string', 'example' => 'success_finished', 'title' => ''], + 'FilterKeys' => [ + 'type' => 'array', + 'items' => ['description' => 'The specific field name. \\`attack\\` indicates attack event logs. \\`acl\\` indicates access control logs. \\`other\\` indicates all other types of logs.', 'type' => 'string', 'example' => 'attack,other', 'title' => ''], + 'description' => 'The detailed delivery configurations for the Internet and VPCs.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The details of the log delivery configuration.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The details of the log delivery configuration.', + 'title' => '', + 'example' => '', + ], + 'Site' => ['description' => '\\`cn\\` indicates the Chinese mainland. \\`intl\\` indicates regions outside the Chinese mainland. \\`global\\` indicates global.', 'type' => 'string', 'example' => 'cn', 'title' => ''], + ], + 'description' => 'The list of information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of detailed information about the Logstores.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', - 'errorMessage' => 'Can not update policy status.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorTrFwBackUpAssocationNotExist', - 'errorMessage' => 'Tr firewall back up association not Exist.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], + ['errorCode' => 'InvokeError', 'errorMessage' => 'Invoke rosttea\'s api failed.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1F6D4A8D-EC01-5996-A61A-AA3B56490C00\\"\\n}","type":"json"}]', - 'title' => 'ModifyFirewallV2RoutePolicySwitch', - ], - 'ModifyTrFirewallV2RoutePolicyScope' => [ - 'summary' => 'Modifies the effective scope of the routing policy created for the VPC firewall for a transit router.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeBatchSlsDispatchStatus', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeBatchSlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7036EBAB-F85F-5AAE-976F-C75AEE59****\\",\\n \\"LogstoreName\\": \\"rs-stats\\",\\n \\"ProjectName\\": \\"cloudfirewallnew-project-199053910542****-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"internet-traffic-log\\",\\n \\"DispatchValue\\": \\"internet_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack\\"\\n ]\\n }\\n ],\\n \\"LogVersion\\": \\"1\\",\\n \\"InfoList\\": [\\n {\\n \\"LogstoreName\\": \\"cloudfirewall-logstore\\",\\n \\"ProjectName\\": \\"cloudfirewall-project-1204872307283650-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"internet-traffic-log\\",\\n \\"DispatchValue\\": \\"ipv6_firewall_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack,other\\"\\n ]\\n }\\n ],\\n \\"Site\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCfwRiskLevelSummary' => [ + 'summary' => 'Queries a summary of threat levels for Cloud Firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142854', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '174512', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'TrFirewallRoutePolicyId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'policy-4d724d0139df48f18091', - ], + 'schema' => ['description' => 'The ID of the region where Cloud Firewall is deployed.'."\n" + ."\n" + .'> For more information about the regions where Cloud Firewall is available, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ - 'name' => 'FirewallId', + 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID of the virtual private cloud (VPC) firewall.'."\n", + 'description' => 'The instance type. Valid value:'."\n" + ."\n" + .'- **ecs**', + 'enumValueTitles' => [], 'type' => 'string', - 'required' => true, - 'example' => 'vfw-tr-6520de0253bc4669bbd9', - ], - ], - [ - 'name' => 'SrcCandidateList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The primary traffic redirection instances.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => 'The ID of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4shajuzi'."\n", - ], - 'CandidateType' => [ - 'description' => 'The type of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC'."\n", - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - [ - 'name' => 'DestCandidateList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The secondary traffic redirection instances.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => 'The ID of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4shajuzi'."\n", - ], - 'CandidateType' => [ - 'description' => 'The type of the traffic redirection instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - [ - 'name' => 'ShouldRecover', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to restore the traffic redirection configurations. Valid values:'."\n" - ."\n" - .'* true: roll back'."\n" - .'* false: withdraw'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', + 'required' => false, + 'example' => 'EcsEIP', + 'title' => '', ], ], ], @@ -12405,448 +10860,301 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicyId' => [ - 'description' => 'The ID of the routing policy.'."\n", - 'type' => 'string', - 'example' => 'policy-4d724d0139df48f18091', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E7D4D635-0C70-5CEB-A609-851E94D51FBB', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F1F30435-FA0A-52DA-A5DE-C16FD6C171DA', 'title' => ''], + 'RiskList' => [ + 'description' => 'The list of threats.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of threats.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type.', 'type' => 'string', 'example' => 'ResourceNotProtected', 'title' => ''], + 'Num' => ['description' => 'The number of ECS instances at risk.', 'type' => 'string', 'example' => '50', 'title' => ''], + 'Level' => ['description' => 'The threat level. Valid value:'."\n" + ."\n" + .'- **medium**: medium', 'type' => 'string', 'example' => 'medium', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPolicySrcAndDestConflict', - 'errorMessage' => 'Policy has same destination candidate as source candidtes.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEndToEndTrToAll', - 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', - ], - [ - 'errorCode' => 'ErrorCannotEditRoutePolicyWhenClose', - 'errorMessage' => 'Can not edit route policy when policy closed.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorIllegalRoutePolicyScopeUpdate', - 'errorMessage' => 'Can not update policy scope.', - ], - [ - 'errorCode' => 'ErrorCannotEditToAllPolicy', - 'errorMessage' => 'Can not modify policy scope for policy contains All type candidate.', - ], - [ - 'errorCode' => 'ErrorCandidateNoRouteTable', - 'errorMessage' => 'Please attach candidate with transit router before create routing template.', - ], - [ - 'errorCode' => 'ErrorTrFirewallRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has route map conflict.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', - 'errorMessage' => 'Cen TR firewall do not support prefix list.', - ], - [ - 'errorCode' => 'ErrorCandidateHasStaticRoute', - 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', - ], - [ - 'errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', - 'errorMessage' => 'There are routes conflict in transit router route table.Please resolve route conflict before create route policy.', - ], - [ - 'errorCode' => 'ErrorTrFwVswCidrConflict', - 'errorMessage' => 'Illegal tr firewall cidr configuration.', - ], - [ - 'errorCode' => 'ErrorFirewallCandidateReference', - 'errorMessage' => 'Firewall Candidate referrence count greater than one.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', - 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEcmpRoute', - 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', - ], - [ - 'errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', - ], - [ - 'errorCode' => 'ErrorCandidateHasIPv6Route', - 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-4d724d0139df48f1****\\",\\n \\"RequestId\\": \\"E7D4D635-0C70-5CEB-A609-851E94D51FBB\\"\\n}","type":"json"}]', - 'title' => 'ModifyTrFirewallV2RoutePolicyScope', - ], - 'DeleteTrFirewallV2' => [ - 'summary' => 'Deletes a virtual private cloud (VPC) firewall that is created for a transit router.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeCfwRiskLevelSummary', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCfwRiskLevelSummary'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCfwRiskLevelSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1F30435-FA0A-52DA-A5DE-C16FD6C171DA\\",\\n \\"RiskList\\": [\\n {\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Num\\": \\"50\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeClearAuthInfo' => [ + 'summary' => 'Retrieves information about cleared authorizations.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142850', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68232', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-99bc4f0fc88b4d00****', - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A774E66E-B170-59FC-9AAF-3068B15E991F', - ], + 'EndTime' => ['description' => 'The UNIX timestamp when the authorization expires.', 'type' => 'integer', 'format' => 'int32', 'example' => '1755964800', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8DDEE254-5639-5548-82D1-AAAC7347****', 'title' => ''], + 'LeftTimes' => ['description' => 'The number of remaining clears.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorTrFirewallNotEmpty', - 'errorMessage' => 'Can not delete firewall since firewall still attached to a firewall policy.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationNotFound', - 'errorMessage' => 'CEN-TR attachment association not found.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallRouteTableInUse', - 'errorMessage' => 'Can not delete firewall. There\'s a firewall route table still associate with network instance.', - ], - [ - 'errorCode' => 'ErrorIllegalFwStatusUpdate', - 'errorMessage' => 'Can not set firewall status.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A774E66E-B170-59FC-9AAF-3068B15E991F\\"\\n}","type":"json"}]', - 'title' => 'DeleteTrFirewallV2', - ], - 'DeleteFirewallV2RoutePolicies' => [ - 'summary' => 'Deletes routing policies for a virtual private cloud (VPC) firewall of a transit router.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeClearAuthInfo', + 'description' => '### QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this API is 10 per user. Exceeding this limit triggers throttling, which may impact your business. Call this API at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeClearAuthInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1755964800,\\n \\"RequestId\\": \\"8DDEE254-5639-5548-82D1-AAAC7347****\\",\\n \\"LeftTimes\\": 20\\n}","type":"json"}]', + ], + 'DescribeConfiguredDestinationIP' => [ + 'summary' => 'Queries outbound IPs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142855', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68235', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '123.113.99.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'FirewallId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'vfw-tr-d5ba592ac6c84aff****', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'TrFirewallRoutePolicyId', + 'name' => 'DestinationIP', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'."\n", 'title' => ''], + ], + [ + 'name' => 'DestinationRegion', + 'in' => 'query', + 'schema' => ['description' => 'The destination region.', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'DestinationISP', + 'in' => 'query', + 'schema' => ['description' => 'The destination ISP.', 'type' => 'string', 'required' => false, 'example' => 'telecom', 'title' => ''], + ], + [ + 'name' => 'GroupName', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the routing policy.'."\n", + 'description' => 'The group name.', + 'enumValueTitles' => ['subscribe' => 'subscribe', 'ignore' => 'ignore'], 'type' => 'string', - 'required' => false, - 'example' => 'policy-2d06d3568fd74d60****', + 'required' => true, + 'example' => 'ignore', + 'title' => '', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number of the returned page.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => [ + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'Inbound traffic access control', 'out' => 'Outbound traffic access control'], + 'type' => 'string', + 'required' => true, + 'example' => 'out', + 'title' => '', ], ], + [ + 'name' => 'SourceCode', + 'in' => 'query', + 'schema' => ['description' => 'The trace code.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '22B6B889-4E9F-56B3-AF3D-53749C477D1D', + 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0AE91F8-E6C5-50D4-983F-FC53672****', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], + 'Destinations' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DestinationIP' => ['description' => 'The destination IP address.', 'type' => 'string', 'example' => '1.1.1.1', 'title' => ''], + 'DestinationRegion' => ['description' => 'The destination region.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + 'OperationTime' => ['description' => 'The time of the operation. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408189', 'title' => ''], + 'DestinationISP' => ['description' => 'The ISP of the destination.', 'type' => 'string', 'example' => 'telecom', 'title' => ''], + 'Comment' => ['description' => 'The remarks.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => 'The list of destinations.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of destinations.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', - 'errorMessage' => 'Can not update policy status.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFwBackUpAssocationNotExist', - 'errorMessage' => 'Tr firewall back up association not Exist.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => 'The objectOperation is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"22B6B889-4E9F-56B3-AF3D-53749C477D1D\\"\\n}","type":"json"}]', - 'title' => 'DeleteFirewallV2RoutePolicies', - ], - 'DescribeVpcFirewallCenSummaryList' => [ - 'summary' => '获取VPC的CEN列表', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeConfiguredDestinationIP', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"RequestId\\": \\"F0AE91F8-E6C5-50D4-983F-FC53672****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 32,\\n \\"Destinations\\": [\\n {\\n \\"DestinationIP\\": \\"1.1.1.1\\",\\n \\"DestinationRegion\\": \\"cn-shenzhen\\",\\n \\"OperationTime\\": 1534408189,\\n \\"DestinationISP\\": \\"telecom\\",\\n \\"Comment\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeConfiguredDomainNames' => [ + 'summary' => 'Lists the active outbound domain names.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12858,162 +11166,146 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68416', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68237', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '1.202.149.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'GroupName', + 'in' => 'query', + 'schema' => ['description' => 'The group name.', 'type' => 'string', 'required' => true, 'example' => 'ignore', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'TransitRouterType', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'inbound', 'out' => 'outbound'], 'type' => 'string', - 'required' => false, - 'example' => 'Basic', + 'required' => true, + 'example' => 'out', + 'title' => '', ], ], + [ + 'name' => 'SourceCode', + 'in' => 'query', + 'schema' => ['description' => 'The trace code.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '432D6CCA-5186-5B91-A2B8-10C8994B****', - ], - 'CenList' => [ - 'description' => '', + 'Module' => ['description' => 'The application module.', 'type' => 'string', 'example' => 'sg_server', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '09A2D6F1-EA1B-56D9-977D-74878405****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], + 'DomainNames' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'CenName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'CenId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cen-maqfw3abcmjy56****', - ], - 'RegionNoList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "cn-hangzhou",'."\n" - .' "cn-beijing"'."\n" - .']', - ], - ], - ], + 'IsMalicious' => ['description' => 'Indicates whether the domain name is malicious. Valid values: `0` (not malicious) and `1` (malicious).', 'type' => 'boolean', 'example' => '0', 'title' => ''], + 'OperationTime' => ['description' => 'The time of the operation, specified as a Unix timestamp in seconds. Example: `1672502400`.', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408189', 'title' => ''], + 'DomainName' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], + 'Comment' => ['description' => 'The comment.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => 'The details of a domain name.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of domain names.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => 'The objectOperation is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"432D6CCA-5186-5B91-A2B8-10C8994B****\\",\\n \\"CenList\\": [\\n {\\n \\"CenName\\": \\"test\\",\\n \\"CenId\\": \\"cen-maqfw3abcmjy56****\\",\\n \\"RegionNoList\\": [\\n \\"[\\\\n \\\\\\"cn-hangzhou\\\\\\",\\\\n \\\\\\"cn-beijing\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeVpcFirewallCenList' => [ - 'summary' => 'Queries virtual private cloud (VPC) firewalls. Each VPC firewall protects mutual access traffic between a specified VPC and a network instance that is attached to a Cloud Enterprise Network (CEN) instance.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeConfiguredDomainNames', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDomainNames', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"09A2D6F1-EA1B-56D9-977D-74878405****\\",\\n \\"TotalCount\\": 16,\\n \\"DomainNames\\": [\\n {\\n \\"IsMalicious\\": true,\\n \\"OperationTime\\": 1534408189,\\n \\"DomainName\\": \\"example.com\\",\\n \\"Comment\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeControlPolicy' => [ + 'summary' => 'Retrieves information about all access control policies.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13025,167 +11317,174 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68415', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68239', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'Direction', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => 'The region ID of the VPC.'."\n" + 'description' => 'The traffic direction that the access control policy controls. Valid values:'."\n" + ."\n" + .'- **in**: Inbound traffic from an external source to an internal destination.'."\n" ."\n" - .'> For more information about the regions, see [Supported regions](~~195657~~).'."\n", + .'- **out**: Outbound traffic from an internal source to an external destination.', + 'enumValueTitles' => ['in' => 'Inbound traffic from an external source to an internal destination.', 'out' => 'Outbound traffic from an internal source to an external destination.'], 'type' => 'string', 'required' => false, - 'example' => 'cn-hangzhou', + 'enum' => ['out', 'in'], + 'example' => 'in', + 'title' => '', ], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the network instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['description' => 'The number of the page to return.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FirewallSwitchStatus', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not configured.'."\n" - .'* **configured**: The VPC firewall is configured but is not enabled.'."\n" - ."\n" - .'> If you do not specify this parameter, VPC firewalls in all states are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'opened', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => 'The source address in the access control policy. Fuzzy queries are supported. The value of this parameter varies based on the value of the \\`SourceType\\` parameter.'."\n" + ."\n" + .'- If \\`SourceType\\` is \\`net\\`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If \\`SourceType\\` is \\`group\\`, the value of this parameter is the name of a source address book. Example: \\`db\\_group\\`. If you leave this parameter empty, all source addresses are queried.'."\n" + ."\n" + .'- If \\`SourceType\\` is \\`location\\`, the value of this parameter is a source region. Example: \\`Beijing\\` or \\`beijing\\`. You can use either the Chinese name or the English name for the query.'."\n" + ."\n" + .'> If you do not set this parameter, all types of source addresses are queried.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'Destination', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Test firewall'."\n", - ], + 'schema' => ['description' => 'The destination address in the access control policy. Fuzzy queries are supported. The value of this parameter varies based on the value of the \\`DestinationType\\` parameter.'."\n" + ."\n" + .'- If \\`DestinationType\\` is \\`net\\`, the value of this parameter is a CIDR block. Example: 10.0.3.0/24.'."\n" + ."\n" + .'- If \\`DestinationType\\` is \\`domain\\`, the value of this parameter is a domain name. Example: aliyun.'."\n" + ."\n" + .'- If \\`DestinationType\\` is \\`group\\`, the value of this parameter is the name of an address book. Example: db\\_group.'."\n" + ."\n" + .'- If \\`DestinationType\\` is \\`location\\`, the value of this parameter is a region name. For more information about region codes, see AddControlPolicy. Example: \\`\\["BJ11", "ZB"]\\`.'."\n" + ."\n" + .'> If you do not set this parameter, all types of destination addresses are queried.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'CenId', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the CEN instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cen-x5jayxou71ad73****', - ], + 'schema' => ['description' => 'The description of the access control policy. Fuzzy queries are supported.'."\n" + ."\n" + .'> If you do not set this parameter, the descriptions of all policies are queried.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'Proto', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'Pages start from page 1. Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The protocol type of the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**'."\n" + ."\n" + .'- **ANY** (all protocol types)'."\n" + ."\n" + .'> If you do not set this parameter, all protocol types are queried.', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Default value: 10. Maximum value: 50.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" + ."\n" + .'- **accept**: Allow'."\n" + ."\n" + .'- **drop**: Deny'."\n" + ."\n" + .'- **log**: Monitor'."\n" + ."\n" + .'> If you do not set this parameter, all action types are queried.', 'type' => 'string', 'required' => false, 'example' => 'accept', 'title' => ''], ], [ - 'name' => 'RouteMode', + 'name' => 'Release', 'in' => 'query', - 'schema' => [ - 'description' => 'The routing mode of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **auto**: automatic mode'."\n" - .'* **manual**: manual mode'."\n" - ."\n" - .'> If you do not specify this parameter, VPC firewalls in all routing modes are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'auto', - ], + 'schema' => ['description' => 'The status of the access control policy. Valid values:'."\n" + ."\n" + .'- **true**: The access control policy is enabled.'."\n" + ."\n" + .'- **false**: The access control policy is disabled.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'required' => false, 'example' => '00281255-d220-4db1-8f4f-c4df221a****', 'title' => ''], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account. The member is also an Alibaba Cloud account.'."\n", + 'description' => 'The IP version supported. Valid values:'."\n" + ."\n" + .'- **4** (default): IPv4 address'."\n" + ."\n" + .'- **6**: IPv6 address', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'enum' => ['4', '6'], + 'example' => '6', + 'title' => '', ], ], [ - 'name' => 'TransitRouterType', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the transit router. Valid values:'."\n" + 'description' => 'The recurrence type for the policy validity period of the access control policy. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): Always'."\n" + ."\n" + .'- **None**: One-time'."\n" + ."\n" + .'- **Daily**: Daily'."\n" ."\n" - .'* **Basic**: Basic Edition transit router'."\n" - .'* **Enterprise**: Enterprise Edition transit router'."\n", + .'- **Weekly**: Weekly'."\n" + ."\n" + .'- **Monthly**: Monthly', + 'enumValueTitles' => ['Daily' => 'Daily', 'Monthly' => 'Monthly', 'Permanent' => 'Always', 'Weekly' => 'Weekly', 'None' => 'One-time'], 'type' => 'string', 'required' => false, - 'example' => 'Basic', + 'example' => 'Permanent', + 'title' => '', ], ], ], @@ -13194,335 +11493,344 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of VPC firewalls.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2', - ], - 'VpcFirewalls' => [ - 'description' => 'The information about the VPC firewalls.'."\n", + 'PageNo' => ['description' => 'The page number of the returned page.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of access control policies.', 'type' => 'string', 'example' => '100', 'title' => ''], + 'Policys' => [ + 'description' => 'The information about the access control policies.', 'type' => 'array', 'items' => [ + 'description' => 'The details of the access control policy.', 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => 'The connection type of the VPC firewall. The value is fixed as cen, which indicates a CEN instance.'."\n", - 'type' => 'string', - 'example' => 'cen', - ], - 'VpcFirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RegionStatus' => [ - 'description' => 'Indicates whether you can create a VPC firewall in a specified region. Valid values:'."\n" - ."\n" - .'* **enable**: yes'."\n" - .'* **disable**: no'."\n", - 'type' => 'string', - 'example' => 'enable', - ], - 'CenId' => [ - 'description' => 'The ID of the CEN instance.'."\n", - 'type' => 'string', - 'example' => 'cen-x5jayxou71ad73****', - ], - 'VpcFirewallName' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'Test firewall'."\n", - ], - 'ResultCode' => [ - 'description' => 'The result code of the operation that creates the VPC firewall. Valid values:'."\n" - ."\n" - .'* **Unauthorized**: Cloud Firewall is not authorized to access the VPC for which the VPC firewall is created, and the VPC firewall cannot be created.'."\n" - .'* **RegionDisable**: VPC Firewall is not supported in the region of the VPC for which the VPC firewall is created, and the VPC firewall cannot be created.'."\n" - .'* **OpsDisable**: You are not allowed to create the VPC firewall.'."\n" - .'* **VbrNotSupport**: The VPC firewall cannot be created for a VBR that is attached to the CEN instance.'."\n" - .'* Empty string: You can create a VPC firewall for the network instance.'."\n", - 'type' => 'string', - 'example' => 'Unauthorized', - ], - 'CenName' => [ - 'description' => 'The name of the CEN instance.'."\n", - 'type' => 'string', - 'example' => 'Test CEN instance'."\n", - ], - 'FirewallSwitchStatus' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not configured.'."\n", - 'type' => 'string', - 'example' => 'opened', - ], - 'LocalVpc' => [ - 'description' => 'The details about the VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'TransitRouterType' => [ - 'description' => 'The edition of the CEN transit router. Valid values:'."\n" - ."\n" - .'* **Basic**: Basic Edition transit router'."\n" - .'* **Enterprise**: Enterprise Edition transit router'."\n", - 'type' => 'string', - 'example' => 'Basic', - ], - 'NetworkInstanceId' => [ - 'description' => 'The ID of the network instance.'."\n", - 'type' => 'string', - 'example' => 'vpc-2zefk9fbn8j7v585g****', - ], - 'RouteMode' => [ - 'description' => 'The routing mode of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **auto**: automatic mode'."\n" - .'* **manual**: manual mode'."\n", - 'type' => 'string', - 'example' => 'auto', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'AuthorizationStatus' => [ - 'description' => 'Indicates whether the VPC is granted the required permissions. The value is fixed as **authorized**, which indicates that the VPC is granted the required permissions.'."\n", - 'type' => 'string', - 'example' => 'authorized', - ], - 'ManualVSwitchId' => [ - 'description' => 'The ID of the specified vSwitch when the routing mode is manual.'."\n", - 'type' => 'string', - 'example' => 'vsw-zeq4o875u****', - ], - 'OwnerId' => [ - 'description' => 'The ID of the Alibaba Cloud account to which the VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'NetworkInstanceType' => [ - 'description' => 'The type of the network instance. Valid values:'."\n" - ."\n" - .'* **VPC**'."\n" - .'* **VBR**'."\n" - .'* **CCN**'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], - 'VpcName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'Test instance'."\n", - ], - 'SupportManualMode' => [ - 'description' => 'Indicates whether the manual routing mode is supported. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'NetworkInstanceName' => [ - 'description' => 'The name of the network instance.'."\n", - 'type' => 'string', - 'example' => 'Test VPC'."\n", - ], - 'VpcCidrTableList' => [ - 'description' => 'An array that consists of the CIDR blocks of the VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block of the VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'The route table ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => 'An array that consists of the route entries for the VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The route entry for the VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'The instance ID of the next hop for the VPC.'."\n", - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - 'DefendCidrList' => [ - 'description' => 'An array consisting of the CIDR blocks that are protected by the VPC firewall.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block that is protected by the VPC firewall.'."\n", - 'type' => 'string', - 'example' => '10.0.XX.XX/24', - ], - ], - ], + 'Direction' => ['description' => 'The traffic direction of the access control policy. Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'example' => 'in', 'title' => ''], + 'Order' => ['description' => 'The priority of the access control policy.'."\n" + ."\n" + .'The priority value starts from 1 and increases sequentially. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SourceType' => ['description' => 'The source address type in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: source CIDR block'."\n" + ."\n" + .'- **group**: source address book'."\n" + ."\n" + .'- **location**: source region', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'ApplicationName' => ['description' => 'The application type supported by the access control policy. Use \\`ApplicationNameList\\` instead. Valid values:'."\n" + ."\n" + .'- **FTP**'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'- **ANY** (all application types)', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'HitTimes' => ['description' => 'The number of hits for the access control policy.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Description' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'SourceGroupType' => ['description' => 'The type of the source address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: An IP address book that contains one or more CIDR blocks.'."\n" + ."\n" + .'- **tag**: An ECS tag-based address book that contains the IP addresses of the ECS instances with one or more tags.'."\n" + ."\n" + .'- **domain**: A domain name address book that contains one or more domain names.'."\n" + ."\n" + .'- **threat**: A threat intelligence address book that contains one or more malicious IP addresses or domain names.'."\n" + ."\n" + .'- **backsrc**: An origin URL address book that contains the origin URLs of one or more Anti-DDoS or WAF instances.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'DnsResultTime' => ['description' => 'The timestamp of the DNS resolution. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DnsResult' => ['description' => 'The result of the DNS resolution.', 'type' => 'string', 'deprecated' => true, 'example' => '192.0.XX.XX,192.0.XX.XX', 'title' => ''], + 'Proto' => ['description' => 'The protocol type of the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **ANY**'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**', 'type' => 'string', 'example' => 'TCP', 'title' => ''], + 'DestinationGroupType' => ['description' => 'The type of the destination address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: An IP address book that contains one or more CIDR blocks.'."\n" + ."\n" + .'- **tag**: An ECS tag-based address book that contains the IP addresses of the ECS instances with one or more tags.'."\n" + ."\n" + .'- **domain**: A domain name address book that contains one or more domain names.'."\n" + ."\n" + .'- **threat**: A threat intelligence address book that contains one or more malicious IP addresses or domain names.'."\n" + ."\n" + .'- **backsrc**: An origin URL address book that contains the origin URLs of one or more Anti-DDoS or WAF instances.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'Destination' => ['description' => 'The destination address in the access control policy. The value of this parameter varies based on the value of the \\`DestinationType\\` parameter. Valid values:'."\n" + ."\n" + .'- If **DestinationType** is **net**, the destination address is a CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If **DestinationType** is **domain**, the destination address is a domain name. Example: aliyuncs.com.'."\n" + ."\n" + .'- If **DestinationType** is **group**, the destination address is the name of an address book. Example: db\\_group.'."\n" + ."\n" + .'- If **DestinationType** is **location**, the destination address is a region name. For more information about region codes, see AddControlPolicy. Example: \\["BJ11", "ZB"].', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'HitLastTime' => ['description' => 'The timestamp of the last hit. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DestPortGroup' => ['description' => 'The name of the destination port address book for the traffic in the access control policy.', 'type' => 'string', 'example' => 'my_port_group', 'title' => ''], + 'AclUuid' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'example' => '00281255-d220-4db1-8f4f-c4df221a****', 'title' => ''], + 'DestPortType' => ['description' => 'The destination port type for the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **port**: port'."\n" + ."\n" + .'- **group**: port address book', 'type' => 'string', 'example' => 'port', 'title' => ''], + 'Source' => ['description' => 'The source address in the access control policy. Valid values:'."\n" + ."\n" + .'- If **SourceType** is `net`, the source address is a CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If **SourceType** is `group`, the source address is the name of a source address book. Example: db\\_group.'."\n" + ."\n" + .'- If **SourceType** is `location`, the source address is a region. For more information about region codes, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'DestinationType' => ['description' => 'The destination address type in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name'."\n" + ."\n" + .'- **location**: destination region', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'DestPort' => ['description' => 'The destination port for the traffic in the access control policy.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'IpVersion' => ['description' => 'The IP version supported. Valid values:'."\n" + ."\n" + .'- **4**: IPv4 address'."\n" + ."\n" + .'- **6**: IPv6 address', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'AclAction' => ['description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" + ."\n" + .'- **accept**: Allow'."\n" + ."\n" + .'- **drop**: Deny'."\n" + ."\n" + .'- **log**: Monitor', 'type' => 'string', 'example' => 'accept', 'title' => ''], + 'Release' => ['description' => 'The status of the access control policy. The policy is enabled by default after it is created. Valid values:'."\n" + ."\n" + .'- **true**: The access control policy is enabled.'."\n" + ."\n" + .'- **false**: The access control policy is disabled.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ApplicationId' => ['description' => 'The application ID for the traffic in the access control policy.', 'type' => 'string', 'example' => '10***', 'title' => ''], + 'DestinationGroupCidrs' => [ + 'description' => 'The list of CIDR blocks in the destination address book of the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The CIDR block in the destination address book of the access control policy.', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'IpsConfig' => [ - 'description' => 'The intrusion prevention system (IPS) configurations.'."\n", - 'type' => 'object', - 'properties' => [ - 'BasicRules' => [ - 'description' => 'Indicates whether basic protection is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EnableAllPatch' => [ - 'description' => 'Indicates whether virtual patching is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RunMode' => [ - 'description' => 'The mode of the IPS. Valid values:'."\n" - ."\n" - .'* **1**: block mode'."\n" - .'* **0**: monitor mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RuleClass' => [ - 'description' => 'The level of the rule group for the IPS. Valid values:'."\n" - ."\n" - .'* **1**: loose.'."\n" - .'* **2**: medium.'."\n" - .'* **3**: strict.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], + 'DestPortGroupPorts' => [ + 'description' => 'The list of ports in the destination port address book.', + 'type' => 'array', + 'items' => ['description' => 'The port in the destination port address book.', 'type' => 'string', 'example' => '80/80', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'MemberUid' => [ - 'description' => 'The UID of the member that is manged by your Alibaba Cloud account. The member is also an Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '258039427902****', + 'SourceGroupCidrs' => [ + 'description' => 'The list of CIDR blocks in the source address book of the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The CIDR block in the source address book of the access control policy.', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'ApplicationNameList' => [ + 'description' => 'The list of application names.', + 'type' => 'array', + 'items' => ['description' => 'The list of application types supported by the access control policy. Valid values:'."\n" + ."\n" + .'- **FTP**'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'- **ANY** (all application types)', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'PrecheckStatus' => [ - 'description' => 'Indicates whether the VPC firewall can be automatically enabled to protect VPC traffic based on route learning. Valid values:'."\n" + 'SpreadCnt' => ['description' => 'The number of specification entries that the access control policy consumes. This is the sum of entries consumed by each policy.'."\n" + .'The number of entries for a single policy is calculated as: Number of source addresses (CIDR blocks or regions) × Number of destination addresses (CIDR blocks, regions, or domain names) × Number of port ranges × Number of applications.', 'type' => 'integer', 'format' => 'int32', 'example' => '10000', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the policy was created. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'ModifyTime' => ['description' => 'The time when the policy was last modified. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'RepeatType' => [ + 'description' => 'The recurrence type for the policy validity period of the access control policy. Valid values:'."\n" ."\n" - .'* **passed**: The VPC firewall can be automatically enabled.'."\n" - .'* **failed**: The VPC firewall cannot be automatically enabled.'."\n" - .'* **unknown**: The VPC firewall is in an unknown state.'."\n", + .'- **Permanent** (default): Always'."\n" + ."\n" + .'- **None**: One-time'."\n" + ."\n" + .'- **Daily**: Daily'."\n" + ."\n" + .'- **Weekly**: Weekly'."\n" + ."\n" + .'- **Monthly**: Monthly', + 'enumValueTitles' => ['Daily' => 'Daily', 'Monthly' => 'Monthly', 'Permanent' => 'Always', 'Weekly' => 'Weekly', 'None' => 'One-time'], 'type' => 'string', - 'example' => 'failed', + 'example' => 'Permanent', + 'title' => '', ], - 'AclConfig' => [ - 'description' => 'ACL engine mode.', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => 'Specifies whether to enable the strict mode. Valid values:'."\n" - ."\n" - .'* 1: yes'."\n" - .'* 0: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], + 'RepeatDays' => [ + 'description' => 'The collection of recurring dates for the policy validity period of the access control policy.'."\n" + ."\n" + .'- If \\`RepeatType\\` is \\`Permanent\\`, \\`None\\`, or \\`Daily\\`, \\`RepeatDays\\` is an empty collection.'."\n" + .' Example: \\[]'."\n" + ."\n" + .'- If \\`RepeatType\\` is \\`Weekly\\`, \\`RepeatDays\\` cannot be empty.'."\n" + .' Example: \\[0, 6]'."\n" + ."\n" + .'> If \\`RepeatType\\` is set to \\`Weekly\\`, \\`RepeatDays\\` cannot contain duplicate values.'."\n" + ."\n" + .'- If \\`RepeatType\\` is \\`Monthly\\`, \\`RepeatDays\\` cannot be empty.'."\n" + .' Example: \\[1, 31]'."\n" + ."\n" + .'> If \\`RepeatType\\` is set to \\`Monthly\\`, \\`RepeatDays\\` cannot contain duplicate values.', + 'type' => 'array', + 'items' => ['description' => 'The recurring date for the policy validity period of the access control policy.'."\n" + ."\n" + .'> If \\`RepeatType\\` is set to \\`Weekly\\`, the value range is 0 to 6. The week starts on Sunday.'."\n" + .'> If \\`RepeatType\\` is set to \\`Monthly\\`, the value range is 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'RepeatStartTime' => ['description' => 'The recurring start time for the policy validity period of the access control policy. Example: \\`08:00\\`. The time must be on the hour or half-hour, and at least 30 minutes earlier than the recurring end time.'."\n" + ."\n" + .'> If \\`RepeatType\\` is \\`Permanent\\` or \\`None\\`, \\`RepeatStartTime\\` is empty. If \\`RepeatType\\` is \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.'."\n" + .'> The time is in the HH:mm format (24-hour). Examples: \\`08:00\\` and \\`23:30\\`.', 'type' => 'string', 'example' => '08:00', 'title' => ''], + 'RepeatEndTime' => ['description' => 'The recurring end time for the policy validity period of the access control policy. Example: \\`23:30\\`. The time must be on the hour or half-hour, and at least 30 minutes later than the recurring start time.'."\n" + ."\n" + .'> If \\`RepeatType\\` is \\`Permanent\\` or \\`None\\`, \\`RepeatEndTime\\` is empty. If \\`RepeatType\\` is \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.'."\n" + .'> The time is in the HH:mm format (24-hour). Examples: \\`08:00\\` and \\`23:30\\`.', 'type' => 'string', 'example' => '23:30', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the policy validity period for the access control policy. The value is a UNIX timestamp. The time must be on the hour or half-hour, and at least 30 minutes earlier than the end time.'."\n" + ."\n" + .'> If \\`RepeatType\\` is \\`Permanent\\`, \\`StartTime\\` is empty. If \\`RepeatType\\` is \\`None\\`, \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.', 'type' => 'integer', 'format' => 'int64', 'example' => '1694761200', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the policy validity period for the access control policy. The value is a UNIX timestamp. The time must be on the hour or half-hour, and at least 30 minutes later than the start time.'."\n" + ."\n" + .'> If \\`RepeatType\\` is \\`Permanent\\`, \\`EndTime\\` is empty. If \\`RepeatType\\` is \\`None\\`, \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, this parameter is required.', 'type' => 'integer', 'format' => 'int64', 'example' => '1694764800', 'title' => ''], + 'DomainResolveType' => ['description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" + ."\n" + .'- **FQDN**: FQDN-based'."\n" + ."\n" + .'- **DNS**: DNS-based dynamic resolution'."\n" + ."\n" + .'- **FQDN\\_AND\\_DNS**: FQDN- and DNS-based dynamic resolution', 'type' => 'string', 'example' => 'FQDN', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'firewall status error.', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"CenId\\": \\"cen-x5jayxou71ad73****\\",\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"CenName\\": \\"测试云企业网\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": 0,\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"NetworkInstanceName\\": \\"测试业务VPC\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 10\\n 850A84D6-0DE4-4797-A1E8-00090125k8g2\\n \\n cen\\n vfw-m5e7dbc4y****\\n enable\\n cen-x5jayxou71ad73****\\n 测试防火墙\\n Unauthorized\\n 测试云企业网\\n opened\\n \\n vpc-8vbwbo90rq0anm6t****\\n Basic\\n vpc-2zefk9fbn8j7v585g****\\n auto\\n cn-hangzhou\\n authorized\\n vsw-zeq4o875u****\\n VPC\\n 测试用实例\\n 0\\n 测试业务VPC\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n 10.0.XX.XX/24\\n \\n \\n 1\\n 1\\n 0\\n \\n 258039427902****\\n failed\\n \\n","errorExample":""}]', - 'title' => 'DescribeVpcFirewallCenList', - 'description' => 'You can call the DescribeVpcFirewallCenList operation to query VPC firewalls. A VPC firewall protects mutual access traffic between a specified VPC and a network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.'."\n" + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"HitTimes\\": 100,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX,192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"DestPort\\": \\"80\\",\\n \\"IpVersion\\": 6,\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"10***\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SpreadCnt\\": 10000,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeControlPolicy', + 'description' => 'This operation performs a paged query for information about access control policies.'."\n" ."\n" - .'## Limits'."\n" + .'## QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'translator' => 'machine', - ], - 'DescribeVpcFirewallCenDetail' => [ - 'summary' => 'Queries the details about a virtual private cloud (VPC) firewall. The VPC firewall protects access traffic between a VPC and a network instance that is attached to a Cloud Enterprise Network (CEN) instance.', - 'methods' => [ - 'post', - 'get', + .'The queries per second (QPS) limit for this operation is 10 for a single user. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}/controlpolicyorder/{#Direction}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], + ], ], + ], + 'DescribeControlPolicyDomainResolve' => [ + 'summary' => 'Queries the domain name resolution results of an access control policy.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13534,10 +11842,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68414', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '221221', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -13545,48 +11851,50 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language type. Valid values:'."\n" + .'- **en**: English'."\n" + .'- **zh**: Chinese.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', + 'description' => 'The supported IP address version.', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'type' => 'integer', + 'format' => 'int32', + 'enum' => ['4', '6'], + 'required' => false, + 'example' => '4', + 'title' => '', ], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the VPC for which the VPC firewall is created.'."\n", + 'description' => 'The Cloud Firewall type.', + 'enumValueTitles' => ['nat' => 'nat', 'vpc' => 'vpc', 'internet' => 'internet'], 'type' => 'string', 'required' => false, - 'example' => 'vpc-2zefk9fbn8j7v585g****', + 'example' => 'internet', + 'title' => '', ], ], ], @@ -13595,315 +11903,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => 'The connection type of the VPC firewall. The value is fixed as **cen**, which indicates CEN instances.'."\n", - 'type' => 'string', - 'example' => 'cen', - ], - 'VpcFirewallName' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'Test firewall'."\n", - ], - 'VpcFirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: enabled'."\n" - .'* **closed**: disabled'."\n" - .'* **notconfigured**: not configured'."\n", - 'type' => 'string', - 'example' => 'opened', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2', - ], - 'LocalVpc' => [ - 'description' => 'The details about the VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'TransitRouterType' => [ - 'description' => 'The edition of the CEN transit router. Valid values:'."\n" - ."\n" - .'* **Basic**: Basic Edition'."\n" - .'* **Enterprise**: Enterprise Edition'."\n", - 'type' => 'string', - 'example' => 'Basic', - ], - 'RouteMode' => [ - 'description' => 'The routing mode. Valid values:'."\n" - ."\n" - .'* auto: automatic mode'."\n" - .'* manual: manual mode'."\n", - 'type' => 'string', - 'example' => 'auto', - ], - 'NetworkInstanceId' => [ - 'description' => 'The ID of the VPC for which the VPC firewall is created.'."\n", - 'type' => 'string', - 'example' => 'vpc-2zefk9fbn8j7v585g****', - ], - 'RegionNo' => [ - 'description' => 'The ID of the region in which the VPC resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ManualVSwitchId' => [ - 'description' => 'The ID of the specified vSwitch when the routing mode is manual.'."\n", - 'type' => 'string', - 'example' => 'vsw-zeq4o875u****', - ], - 'OwnerId' => [ - 'description' => 'The UID of the Alibaba Cloud account to which the VPC belongs.'."\n", - 'type' => 'string', - 'example' => '158039427902****', - ], - 'NetworkInstanceType' => [ - 'description' => 'The type of the network instance. The value is fixed as **VPC**.'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], - 'VpcName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'Test instance'."\n", - ], - 'SupportManualMode' => [ - 'description' => 'Indicates whether the manual routing mode is supported. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'TransitRouterId' => [ - 'description' => 'The instance ID of the CEN transit router.'."\n", - 'type' => 'string', - 'example' => 'tr-2zetwxskej633l3u1****', - ], - 'AttachmentId' => [ - 'description' => 'The ID of the connection between two network instances.'."\n", - 'type' => 'string', - 'example' => 'tr-attach-sxig7bye51fid5****', - ], - 'NetworkInstanceName' => [ - 'description' => 'The name of the network instance.'."\n", - 'type' => 'string', - 'example' => 'Test VPC'."\n", - ], - 'AttachmentName' => [ - 'description' => 'The name of the connection between two network instances.'."\n", - 'type' => 'string', - 'example' => 'Local test'."\n", - ], - 'VpcCidrTableList' => [ - 'description' => 'An array that consists of the CIDR blocks of the VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'The route table ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => 'The route entries for the VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'The instance ID of the next hop for the VPC.'."\n", - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - 'EniList' => [ - 'description' => 'The Elastic Network Interfaces (ENIs).'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EniId' => [ - 'description' => 'The ID of the ENI that belongs to the VPC.'."\n", - 'type' => 'string', - 'example' => 'eni-8vbhfosfqv2rff42****', - ], - 'EniPrivateIpAddress' => [ - 'description' => 'The private IP address of the ENI that belongs to the VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'EniVSwitchId' => [ - 'description' => 'The ID of the vSwitch to which the ENI is connected.'."\n", - 'type' => 'string', - 'example' => 'vsw-wz9viido7j436b0n1****', - ], - ], + 'ResolveResult' => [ + 'description' => 'The domain name resolution results.', + 'type' => 'array', + 'items' => [ + 'description' => 'The domain name resolution results.', + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], + 'UpdateTime' => ['description' => 'The update time. The value is a UNIX timestamp in seconds, which represents the number of seconds that have elapsed since January 1, 1970 (UTC).', 'type' => 'integer', 'format' => 'int64', 'example' => '1579091739', 'title' => ''], + 'IpVersion' => [ + 'description' => 'The supported IP address version.', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + 'title' => '', ], - ], - 'DefendCidrList' => [ - 'description' => 'An array consisting of the CIDR blocks that are protected by the VPC firewall.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block that is protected by the VPC firewall.'."\n", - 'type' => 'string', - 'example' => '10.0.XX.XX/24', + 'IpAddrList' => [ + 'description' => 'The IP address list.', + 'type' => 'array', + 'items' => ['description' => 'The IP address.', 'type' => 'string', 'example' => '['."\n" + .' "10.10.10.1"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'FirewallVpc' => [ - 'description' => 'The firewall VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The VPC ID.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp1245k5oagy2bp74****', - ], - 'VpcCidr' => [ - 'description' => 'The CIDR block of the VPC.'."\n", - 'type' => 'string', - 'example' => '10.0.0.0/8', - ], - 'VswitchId' => [ - 'description' => 'The vSwitch ID.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1sqg9wms9wxcs1****', - ], - 'VswitchCidr' => [ - 'description' => 'The CIDR block of the vSwitch.'."\n", - 'type' => 'string', - 'example' => '10.0.0.1/24', - ], - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'AllowConfiguration' => [ - 'description' => 'Indicates whether you can specify a CIDR block when you create a VPC firewall for a Basic Edition transit router of a CEN instance. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'VswitchZoneId' => [ - 'description' => 'The availability zone ID of the virtual switch.', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'StandbyZoneId' => [ - 'description' => 'Firewall backup availability zone ID.', - 'type' => 'string', - 'example' => 'cn-hangzhou-k', - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorVpcIdPara', - 'errorMessage' => 'vpc id and firewall id parameter not exist.', - ], - [ - 'errorCode' => 'ErrorFirewallNotFound', - 'errorMessage' => 'Firewall not found', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - ], - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": \\"158039427902****\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"TransitRouterId\\": \\"tr-2zetwxskej633l3u1****\\",\\n \\"AttachmentId\\": \\"tr-attach-sxig7bye51fid5****\\",\\n \\"NetworkInstanceName\\": \\"测试业务vpc\\",\\n \\"AttachmentName\\": \\"本地测试\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"EniList\\": [\\n {\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"EniVSwitchId\\": \\"vsw-wz9viido7j436b0n1****\\"\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"FirewallVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1245k5oagy2bp74****\\",\\n \\"VpcCidr\\": \\"10.0.0.0/8\\",\\n \\"VswitchId\\": \\"vsw-bp1sqg9wms9wxcs1****\\",\\n \\"VswitchCidr\\": \\"10.0.0.1/24\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"AllowConfiguration\\": 0,\\n \\"VswitchZoneId\\": \\"cn-hangzhou-i\\",\\n \\"StandbyZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n cen\\n 测试防火墙\\n vfw-m5e7dbc4y****\\n opened\\n 850A84D6-0DE4-4797-A1E8-00090125g4d2\\n \\n vpc-8vbwbo90rq0anm6t****\\n Basic\\n auto\\n vpc-2zefk9fbn8j7v585g****\\n cn-hangzhou\\n vsw-zeq4o875u****\\n 158039427902****\\n VPC\\n 测试用实例\\n 0\\n tr-2zetwxskej633l3u1****\\n tr-attach-sxig7bye51fid5****\\n 测试业务vpc\\n 本地测试\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n eni-8vbhfosfqv2rff42****\\n 192.168.XX.XX\\n \\n 10.0.XX.XX/24\\n \\n","errorExample":""}]', - 'title' => 'DescribeVpcFirewallCenDetail', - 'description' => 'You can call the DescribeVpcFirewallCenDetail operation to query the details about a VPC firewall. The VPC firewall protects access traffic between a specified VPC and a network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeNetworkInstanceList' => [ - 'summary' => '获取网络实例列表', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query domain name resolution results of an access control policy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicyDomainResolve', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResolveResult\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"UpdateTime\\": 1579091739,\\n \\"IpVersion\\": 4,\\n \\"IpAddrList\\": [\\n \\"[\\\\n \\\\\\"10.10.10.1\\\\\\"\\\\n]\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'DescribeCreatedNatFirewall' => [ + 'summary' => 'Retrieves a list of created NAT firewalls.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13915,159 +11984,92 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68310', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '116773', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the requester.', 'title' => '', 'example' => '121.225.255.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], - [ - 'name' => 'ConnectType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'expressconnect' => '', - 'cen' => '', - ], - 'example' => 'expressconnect', - ], - ], - [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-x5jayxou71ad73****', - ], - ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '21', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D2373503-3921-59F2-93A6-3DA7FB7****', - ], - 'NetworkInstanceList' => [ - 'description' => '', + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '072B5287-8A85-529E-BD47-F8AC2DB1****'], + 'CreatedNatFirewalls' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-m5ewlqkuf7or****', - ], - 'NetworkInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'NetworkInstanceType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'vbr' => 'vbr', - 'vpc' => 'vpc', - ], - 'example' => 'vpc', - ], + 'NatFirewallId' => ['type' => 'string', 'description' => 'The ID of the NAT firewall.', 'title' => '', 'example' => 'cfw-adk2ad45sf4t8****'], + 'NatGatewayId' => ['type' => 'string', 'description' => 'The ID of the NAT Gateway.', 'title' => '', 'example' => 'ngw-uf6i0zkjtz4t2sttf****'], + 'NatGatewayName' => ['type' => 'string', 'description' => 'The name of the NAT Gateway.', 'title' => '', 'example' => 'ngw-text'], ], + 'description' => 'The details of a created NAT firewall.', + 'title' => '', + 'example' => '', ], + 'description' => 'A list of the created NAT firewalls.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'The request ID.', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorConnectType', - 'errorMessage' => 'Connect type invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 21,\\n \\"RequestId\\": \\"D2373503-3921-59F2-93A6-3DA7FB7****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-m5ewlqkuf7or****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"vpc\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeVpcZone' => [ - 'summary' => 'Queries virtual private cloud (VPC) zones.', - 'methods' => [ - 'get', - 'post', + 'title' => 'DescribeCreatedNatFirewall', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCreatedNatFirewall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"072B5287-8A85-529E-BD47-F8AC2DB1****\\",\\n \\"CreatedNatFirewalls\\": [\\n {\\n \\"NatFirewallId\\": \\"cfw-adk2ad45sf4t8****\\",\\n \\"NatGatewayId\\": \\"ngw-uf6i0zkjtz4t2sttf****\\",\\n \\"NatGatewayName\\": \\"ngw-text\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCtrlInstanceMemberAccounts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14076,152 +12078,169 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179270', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68240', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], + 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => '9CC69FDA-69F6-585B-9262-A306F425****'], + 'InstanceMemberCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of Cloud Firewall member accounts.', 'title' => '', 'example' => '3'], + 'MaxInstanceMemberNum' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The maximum number of member accounts supported by Cloud Firewall.', 'title' => '', 'example' => '1000'], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeCtrlInstanceMemberAccounts', + 'summary' => 'Queries a list of member accounts.', + 'description' => 'This operation queries information about the member accounts of Cloud Firewall.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'This operation is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled. Throttling may affect your business. We recommend that you call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member in Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1415189284827022', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCtrlInstanceMemberAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9CC69FDA-69F6-585B-9262-A306F425****\\",\\n \\"InstanceMemberCount\\": 3,\\n \\"MaxInstanceMemberNum\\": 1000\\n}","type":"json"}]', + ], + 'DescribeDefaultIPSConfig' => [ + 'summary' => 'Provides Intrusion Prevention System (IPS) protection for internet traffic.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68241', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Environment', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The environment. Valid values:'."\n" - ."\n" - .'* **VPC**'."\n" - .'* **TransitRouter**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese. This is the default value.'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '694DFBF3-C060-529F-92D0-7FC7E0DA1E21', - ], - 'ZoneList' => [ - 'description' => 'The zones.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'description' => 'The zone ID.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'LocalName' => [ - 'description' => 'The name of the zone.'."\n", - 'type' => 'string', - 'example' => 'Hangzhou Zone B', - ], - 'ZoneType' => [ - 'description' => 'The zone type. Default value: AvailabilityZone. This value indicates Alibaba Cloud zones.'."\n", - 'type' => 'string', - 'example' => 'AvailabilityZone', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '133173B9-8010-5DF5-8B93-********'], + 'RuleClass' => ['description' => 'The strictness level of the intrusion prevention system (IPS) rules. Valid values:'."\n" + ."\n" + .'- **1**: Loose'."\n" + ."\n" + .'- **2**: Medium'."\n" + ."\n" + .'- **3**: Strict', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '3'], + 'CtiRules' => ['description' => 'The status of the threat intelligence feature. Valid values:'."\n" + ."\n" + .'- **1**: enabled'."\n" + ."\n" + .'- **0**: disabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'PatchRules' => ['description' => 'The status of the virtual patching feature. Valid values:'."\n" + ."\n" + .'- **1**: enabled'."\n" + ."\n" + .'- **0**: disabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'RunMode' => ['description' => 'The mode of the IPS. Valid values:'."\n" + ."\n" + .'- **1**: Block Mode'."\n" + ."\n" + .'- **0**: Monitor Mode', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'BasicRules' => ['description' => 'The status of the basic policies feature. Valid values:'."\n" + ."\n" + .'- **1**: enabled'."\n" + ."\n" + .'- **0**: disabled', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'MaxSdl' => ['description' => 'The maximum daily traffic that can be scanned for sensitive data.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'user credentials failed', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationNotFound', - 'errorMessage' => 'CEN-TR attachment association not found.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeDefaultIPSConfig', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefaultIPSConfig'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"694DFBF3-C060-529F-92D0-7FC7E0DA1E21\\",\\n \\"ZoneList\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"LocalName\\": \\"华东 1 可用区 B\\",\\n \\"ZoneType\\": \\"AvailabilityZone\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeVpcZone', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"RuleClass\\": 3,\\n \\"CtiRules\\": 0,\\n \\"PatchRules\\": 0,\\n \\"RunMode\\": 0,\\n \\"BasicRules\\": 0,\\n \\"MaxSdl\\": 10\\n}","type":"json"}]', ], - 'DescribeVpcFirewallZone' => [ - 'summary' => '查询VPC防火墙资源可用区', - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DescribeDnsFirewallPolicy' => [ + 'summary' => 'Queries the list of access control lists (ACLs) for the DNS firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14230,244 +12249,315 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68243', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '140.205.118.XXX', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The language of the response messages. Valid values: **zh** (Chinese) and **en** (English).', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response messages. Valid values: **zh** (Chinese) and **en** (English).', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Environment', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'TransitRouter' => '', - 'VPC' => '', - ], - 'example' => 'TransitRouter', - ], + 'schema' => ['description' => 'The page number to return. Default value: 1.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'CenId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-4xbjup276au29r****', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], [ - 'name' => 'TransitRouterId', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-m5etmb2q7e0mxcur****', - ], + 'schema' => ['description' => 'The source address in the DNS firewall policy. Fuzzy match is supported.'."\n" + ."\n" + .'> The value of Source can be a CIDR block or an address book.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24', 'title' => ''], ], [ - 'name' => 'SourceIp', + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address in the DNS firewall policy. Fuzzy match is supported.'."\n" + ."\n" + .'> The value of Destination can be a CIDR block, a domain name, or an address book.', 'type' => 'string', 'required' => false, 'example' => '10.2.XX.XX/24', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the DNS firewall policy.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => 'The action that is performed on traffic that hits the DNS firewall policy. Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + ."\n" + .'- **drop**: denies the traffic.'."\n" + ."\n" + .'- **log**: monitors the traffic.'."\n" + ."\n" + .'> If you do not specify this parameter, policies of all action types are queried.', 'type' => 'string', 'required' => false, 'example' => 'accept', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'The status of the access control policy. The policy is enabled by default after it is created. Valid values:'."\n" + ."\n" + .'- **true**: enables the access control policy.'."\n" + ."\n" + .'- **false**: disables the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the firewall rule.', 'type' => 'string', 'required' => false, 'example' => 'b6c8f905-2eb6-442a-ba35-9416e****', 'title' => ''], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => '', + 'description' => 'The IP version that is supported. Valid values:'."\n" + ."\n" + .'- **4**: IPv4'."\n" + ."\n" + .'- **6**: IPv6', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], 'type' => 'string', 'required' => false, - 'example' => '222.212.86.7XXX', + 'enum' => ['4', '6'], + 'example' => '4', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', - ], - 'ZoneList' => [ - 'description' => '', + 'PageNo' => ['description' => 'The page number.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '0A4ACDE9-9F9F-56C1-B3B7-60971BA1****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'Policys' => [ 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-c', - ], - 'LocalName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], + 'type' => 'object', + 'properties' => [ + 'Direction' => ['description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'example' => 'in', 'title' => ''], + 'DestinationGroupType' => ['description' => 'The type of the destination address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: an IP address book'."\n" + ."\n" + .'- **domain**: a domain address book', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'HitLastTime' => ['description' => 'The last time the policy was hit. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'Destination' => ['description' => 'The destination address in the access control policy. Valid values:'."\n" + ."\n" + .'- If **DestinationType** is `net`, the value of this parameter is a destination CIDR block.'."\n" + ."\n" + .'- If **DestinationType** is `domain`, the value of this parameter is a destination domain.'."\n" + ."\n" + .'- If **DestinationType** is `group`, the value of this parameter is the name of a destination address book.', 'type' => 'string', 'example' => 'x.x.x.x/32', 'title' => ''], + 'SourceType' => ['description' => 'The type of the source address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: a source CIDR block'."\n" + ."\n" + .'- **group**: a source address book', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'AclUuid' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'example' => '01281255-d220-4db1-8f4f-c4df221a****', 'title' => ''], + 'Priority' => ['description' => 'The priority of the access control policy. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '110', 'title' => ''], + 'Source' => ['description' => 'The source address in the access control policy. Valid values:'."\n" + ."\n" + .'- If **SourceType** is `net`, the value of this parameter is a source CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If **SourceType** is `group`, the value of this parameter is the name of a source address book. Example: db\\_group.'."\n" + ."\n" + .'- If **SourceType** is `location`, the value of this parameter is a location. For more information about the valid values of this parameter, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'DestinationType' => ['description' => 'The type of the destination address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain'."\n" + ."\n" + .'- **location**: destination location', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'HitTimes' => ['description' => 'The number of hits for the access control policy.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'IpVersion' => ['description' => 'The IP version supported by the access control policy. Valid values:'."\n" + ."\n" + .'- **4**: IPv4'."\n" + ."\n" + .'- **6**: IPv6', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'Description' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'SourceGroupType' => ['description' => 'The type of the source address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: an IP address book'."\n" + ."\n" + .'- **tag**: a tag address book'."\n" + ."\n" + .'- **domain**: a domain address book'."\n" + ."\n" + .'- **threat**: a threat intelligence address book'."\n" + ."\n" + .'- **backsrc**: a back-to-origin address book', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'AclAction' => ['description' => 'The action that is performed on traffic that matches the access control policy. Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + ."\n" + .'- **drop**: denies the traffic.'."\n" + ."\n" + .'- **log**: monitors the traffic.', 'type' => 'string', 'example' => 'accept', 'title' => ''], + 'Release' => ['description' => 'Indicates whether the access control policy is enabled. After a policy is created, it is enabled by default. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'DestinationAddrs' => [ + 'type' => 'array', + 'items' => ['description' => 'The destination addresses in the address book.', 'type' => 'string', 'example' => '192.0.XX.XX/24'."\n", 'title' => ''], + 'description' => 'The destination addresses in the address book.', + 'title' => '', + 'example' => '', + ], + 'SourceAddrs' => [ + 'type' => 'array', + 'items' => ['description' => 'The source address.', 'type' => 'string', 'example' => '10.2.XX.XX/24'."\n", 'title' => ''], + 'description' => 'The source addresses.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The DNS firewall access control policy.', + 'title' => '', + 'example' => '', ], + 'description' => 'The DNS firewall access control policies.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeDnsFirewallPolicy', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"ZoneList\\": [\\n [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-c\\",\\n \\"LocalName\\": \\"杭州 可用区C\\"\\n }\\n ]\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"0A4ACDE9-9F9F-56C1-B3B7-60971BA1****\\",\\n \\"TotalCount\\": \\"10\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"SourceType\\": \\"net\\",\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"Priority\\": 110,\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"IpVersion\\": 6,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"DestinationAddrs\\": [\\n \\"192.0.XX.XX/24\\\\n\\"\\n ],\\n \\"SourceAddrs\\": [\\n \\"10.2.XX.XX/24\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeVpcFirewallManualVSwitchList' => [ - 'summary' => '获取防火墙手动交换机列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeDomainResolve' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68422', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68245', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-qingdao', - ], + 'schema' => ['description' => 'The language of the response message.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'VpcId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-m5ewlqkuf7orclr1****', - ], + 'schema' => ['description' => 'The domain name to resolve.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'www.aliyundoc.com'], ], [ - 'name' => 'MemberUid', + 'name' => 'IpVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '18820897691****', - ], + 'schema' => ['description' => 'The IP version of the asset that is protected by Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **4** (default): IPv4'."\n" + ."\n" + .'- **6**: IPv6', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '6'], ], ], 'responses' => [ @@ -14475,307 +12565,236 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6EED3674-74E7-54DC-8FD4-6A374133****', - ], - 'VSwitchList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Available', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-uf62kq7c364sil2z2****', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-bp10d0kcp907721z****', - ], - 'CidrBlock' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.0.31.0/24', - ], - 'AvailableIpAddressCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-a', - ], - 'AliUid' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122167357026****', - ], - 'RouteTableId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vtb-2zet3gyk01o07so****', - ], - 'OwnerId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '137578716100****', - ], - 'VSwitchName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-test', - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], + 'ResolveResult' => [ + 'description' => 'The result of the domain name resolution.', + 'type' => 'object', + 'properties' => [ + 'IpAddrs' => ['description' => 'The resolution result of the domain name. Multiple IP addresses are separated by commas (,).', 'type' => 'string', 'title' => '', 'example' => '11.1.X.X,12.1.X.X'], + 'UpdateTime' => ['description' => 'The timestamp of the resolution. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1579091739'], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid is invalid.', 'description' => 'The aliUid is invalid.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region invalid.', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => 'An error occurred while resolving the domain.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', 'returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"6EED3674-74E7-54DC-8FD4-6A374133****\\",\\n \\"VSwitchList\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"VpcId\\": \\"vpc-uf62kq7c364sil2z2****\\",\\n \\"VSwitchId\\": \\"vsw-bp10d0kcp907721z****\\",\\n \\"CidrBlock\\": \\"10.0.31.0/24\\",\\n \\"AvailableIpAddressCount\\": 10,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-hangzhou-a\\",\\n \\"AliUid\\": 0,\\n \\"RouteTableId\\": \\"vtb-2zet3gyk01o07so****\\",\\n \\"OwnerId\\": 0,\\n \\"VSwitchName\\": \\"vsw-test\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateVpcFirewallCenConfigure' => [ - 'summary' => 'Creates a virtual private cloud (VPC) firewall to protect traffic between a specified VPC and a network instance that is attached to a Cloud Enterprise Network (CEN) instance.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeDomainResolve', + 'summary' => 'Retrieves the Domain Name System (DNS) resolution results for a domain name.', + 'description' => 'This operation retrieves the DNS resolution result for a domain name. You can retrieve resolution results only for domain names that use Alibaba Cloud DNS.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second per user. If you exceed this limit, your API calls are throttled, which may impact your business. Call this operation at a reasonable rate to avoid throttling.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResolve'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDomainResolve', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Domain', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:domain/{#Domain}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"ResolveResult\\": {\\n \\"IpAddrs\\": \\"11.1.X.X,12.1.X.X\\",\\n \\"UpdateTime\\": 1579091739\\n }\\n}","type":"json"}]', + ], + 'DescribeDownloadTask' => [ + 'summary' => 'Queries the information and download URLs of file download tasks.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68133', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '174551', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Test instance'."\n", - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page for a paged query. The default value is 10. The maximum value is 50.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC for which you want to create the VPC firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-bp10zlifxh6j0232w****', - ], + 'schema' => ['description' => 'The page number for a paged query.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'VpcRegion', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region to which the VPC belongs.'."\n" - ."\n" - .'> For more information about the regions, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The type of the task. This is an enumeration. For a list of valid values, see the API for querying file download task types. If you do not set this parameter, tasks for all file types are queried.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'InternetFirewallAsset'], ], - [ - 'name' => 'FirewallSwitch', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to enable the VPC firewall. Valid values:'."\n" - ."\n" - .'* **open**: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value.'."\n" - .'* **close**: After you create the VPC firewall, the VPC firewall is disabled. You can call the [ModifyVpcFirewallCenSwitchStatus](~~345780~~) operation to manually enable the VPC firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'open', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total number of tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '3F2BED13-F3D0-5984-80D6-D5F298CFEA88', 'title' => ''], + 'Tasks' => [ + 'description' => 'The list of tasks.', + 'type' => 'array', + 'items' => [ + 'description' => 'The task information.', + 'type' => 'object', + 'properties' => [ + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'title' => '', 'example' => '1111'], + 'TaskName' => ['description' => 'The name of the task.', 'type' => 'string', 'title' => '', 'example' => 'Internet Border Firewall Assets-IPv4'], + 'Status' => ['description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'- **finish**: The task is complete.'."\n" + ."\n" + .'- **start**: The task has started.'."\n" + ."\n" + .'- **error**: The task failed.'."\n" + ."\n" + .'- **expire**: The task has expired. The task file is no longer valid and cannot be downloaded.', 'type' => 'string', 'title' => '', 'example' => 'finish'], + 'FileURL' => ['description' => 'The URL of the Object Storage Service (OSS) file.', 'type' => 'string', 'example' => 'https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D', 'title' => ''], + 'FileSize' => ['description' => 'The size of the file.', 'type' => 'string', 'title' => '', 'example' => '24.04KB'], + 'CreateTime' => ['description' => 'The time when the task was created. This is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1706595827', 'title' => ''], + 'ExpireTime' => ['description' => 'The time when the task expires. This is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1714371828', 'title' => ''], + 'TaskType' => ['description' => 'The type of the task.', 'type' => 'string', 'example' => 'InternetFirewallAsset', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the CEN instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cen-x5jayxou71ad73****', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"3F2BED13-F3D0-5984-80D6-D5F298CFEA88\\",\\n \\"Tasks\\": [\\n {\\n \\"TaskId\\": \\"1111\\",\\n \\"TaskName\\": \\"Internet Border Firewall Assets-IPv4\\",\\n \\"Status\\": \\"finish\\",\\n \\"FileURL\\": \\"https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D\\",\\n \\"FileSize\\": \\"24.04KB\\",\\n \\"CreateTime\\": 1706595827,\\n \\"ExpireTime\\": 1714371828,\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDownloadTask', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTask'], ], + ], + 'ramActions' => [ [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeDownloadTaskType' => [ + 'summary' => 'Queries the types of download tasks. The returned types correspond to the TaskType field in other download-related API operations.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the vSwitch that is used to associate with the elastic network interface (ENI) required by the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-qzeaol304m***', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '175450', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'FirewallVpcCidrBlock', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The CIDR block of the VPC that is automatically created for the VPC firewall. You must specify a CIDR block for the Cloud_Firewall_VPC VPC that is automatically created for the VPC firewall for traffic redirection. The subnet mask of the CIDR block must be less than or equal to 28 bits in length.'."\n" - ."\n" - .'If you do not specify a value, the CIDR block 10.0.0.0/8 is automatically allocated.'."\n" - ."\n" - .'> This parameter takes effect only when you create a VPC firewall for the first time in the current CEN instance and region.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.0.0/8', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'FirewallVpcZoneId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the zone to which the vSwitch belongs. If your service is latency-sensitive, you can specify the same zone for the vSwitch of the firewall and the vSwitch of your business VPC to minimize latency.'."\n" - ."\n" - .'If you do not specify a value, a zone is automatically assigned for the vSwitch.'."\n" - ."\n" - .'> This parameter takes effect only when you create a VPC firewall for the first time in the current CEN instance and region. For more information about zones that are supported by each region, see [Query zones](~~36064~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-a', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10. Maximum value: 50.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'FirewallVSwitchCidrBlock', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The CIDR block of the vSwitch that is automatically created for the VPC firewall. You must specify a CIDR block for the Cloud_Firewall_VSWITCH VPC that is automatically created for the VPC firewall for traffic redirection. The CIDR block does not conflict with your network plan. The subnet mask of the CIDR block must be less than or equal to 29 bits in length. The CIDR block of the vSwitch must be within the network segment of the VPC.'."\n" - ."\n" - .'If you do not specify a value, the CIDR block 10.219.219.216/29 is automatically allocated.'."\n" - ."\n" - .'> This parameter takes effect only when you create a VPC firewall for the first time in the current CEN instance and region.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.*.*/28', - ], + 'schema' => ['description' => 'The page number. The default value is **1**.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FirewallVpcStandbyZoneId', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the backup availability zone to which the firewall belongs. The firewall will automatically switch to the backup availability zone to continue running only if the primary availability zone service is unavailable.'."\n" - .'If this parameter is not filled, the backup availability zone for the firewall will be automatically assigned.'."\n" - .'> This parameter is only effective when creating a VPC firewall for the first time in this CEN region.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-b', - ], + 'schema' => ['description' => 'The type of the task.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'InternetFirewallAsset'], ], ], 'responses' => [ @@ -14783,292 +12802,170 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VpcFirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6', + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B835494C-D093-5524-BBDE-BD272077B40E', 'title' => ''], + 'TaskTypeArray' => [ + 'description' => 'The list of task types.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details about the task type.', + 'type' => 'object', + 'properties' => [ + 'TaskName' => ['description' => 'The name of the task type.', 'type' => 'string', 'title' => '', 'example' => 'Internet Border Firewall Assets'], + 'TaskType' => ['description' => 'The type of the task.', 'type' => 'string', 'example' => 'InternetFirewallAsset', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', - ], - [ - 'errorCode' => 'ErrorVpcId', - 'errorMessage' => 'The VPC ID is invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'The region is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorCenVbrNotSupport', - 'errorMessage' => '云企业网vbr不支持开防火墙', - ], - [ - 'errorCode' => 'ErrorCenNotSupportCCN', - 'errorMessage' => 'VPC防火墙云企业网CCN实例, 不支持开启VPC防火墙', - ], - [ - 'errorCode' => 'ErrorCenNotSupportMultipleAccounts', - 'errorMessage' => 'The current version of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect Cloud Enterprise Network. Upgrade the specifications and try again.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'quota is not enough, unable to configure VPC firewall, please increase quota first.', - ], - [ - 'errorCode' => 'ErrorHubvpcCannotCreate', - 'errorMessage' => 'HUB VPC不允许创建防火墙', - ], - [ - 'errorCode' => 'ErrorCenVpcEcConflict', - 'errorMessage' => 'The VPC of the cloud enterprise network conflicts with the VPC of the high-speed channel, and the firewall cannot be opened. Please select again', - ], - [ - 'errorCode' => 'ErrorRegionNoDisable', - 'errorMessage' => 'There are unsupported regions, please reselect', - ], - [ - 'errorCode' => 'ErrorCenFirewallVpcNumInvalid', - 'errorMessage' => '云企业网vpc数量不足, 无法开启VPC边界防火墙', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', - ], - [ - 'errorCode' => 'ErrorVpcCustomRouteTableWithVswitch', - 'errorMessage' => 'VPC存在自定义路由表且关联了vswitch, 不允许创建VPC防火墙', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallSwitch', - 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdError', - 'errorMessage' => 'Network InstanceId ID is invalid', - ], - [ - 'errorCode' => 'ErrorCenId', - 'errorMessage' => 'CEN ID is error', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Cidr ip format error.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorCenManualFirewallExist', - 'errorMessage' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall in automatic mode.', - ], - [ - 'errorCode' => 'ErrorFirewallExistDeleting', - 'errorMessage' => 'There is a VPC firewall that is being deleted, and it is not allowed to create.', - ], - [ - 'errorCode' => 'ErrorSameCidrIp', - 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', - ], - [ - 'errorCode' => 'ErrorCenRouteMapExist', - 'errorMessage' => 'cen route map is exist.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallVpcNumLimit', - 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', - ], - [ - 'errorCode' => 'ErrorCenExistPublicCidr', - 'errorMessage' => 'cen domain route exist public route.', - ], - [ - 'errorCode' => 'ErrorCenExistTrRoute', - 'errorMessage' => 'Cen VPC route exist tr route.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationCustomRouteTable', - 'errorMessage' => 'CEN-TR association custom route table.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallZoneId', - 'errorMessage' => 'VPC firewall zone error.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'Request processing failed due to some unknown error.'], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"B835494C-D093-5524-BBDE-BD272077B40E\\",\\n \\"TaskTypeArray\\": [\\n {\\n \\"TaskName\\": \\"Internet Border Firewall Assets\\",\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDownloadTaskType', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTaskType'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTaskType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'ErrorFirewallVSwitchCidrConflict', - 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', + ], + ], + ], + 'DescribeFirewallDropStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68258', + 'abilityTreeNodes' => ['FEATUREcfw9GLVIS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'IpsDropCnt' => ['description' => 'The number of packets blocked by the intrusion prevention system (IPS).', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'TotalDropCnt' => ['description' => 'The total number of blocked packets.', 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BEA1D173-D5DB-582E-9637-438D5CE3****', 'title' => ''], + 'VulnDropCnt' => ['description' => 'The number of packets blocked by the vulnerability prevention feature.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'AclDropCnt' => ['description' => 'The number of packets blocked by access control list (ACL) policies.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","errorExample":""},{"type":"xml","example":"\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125h4j6\\n","errorExample":""}]', - 'title' => 'CreateVpcFirewallCenConfigure', - 'description' => 'You can call the CreateVpcFirewallCenConfigure operation to create a VPC firewall. The VPC firewall protects mutual access traffic between a specified VPC and a network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. The VPC firewall cannot protect mutual access traffic between VBRs, between CCN instances, or between VBRs and CCN instances. For more information, see [VPC firewall limits](~~172295~~).'."\n" - ."\n" - .'## Limits'."\n" + 'title' => 'DescribeFirewallDropStatistics', + 'summary' => 'Retrieves statistics on packets dropped by the firewall.', + 'description' => '### QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'translator' => 'machine', - ], - 'ModifyVpcFirewallCenConfigure' => [ - 'summary' => 'Modifies the configurations of a virtual private cloud (VPC) firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance.', - 'methods' => [ - 'post', - 'get', + .'The queries per second (QPS) limit for this API is 10 per user. If you exceed this limit, your API calls are throttled. This may affect your business operations. We recommend that you make API calls at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallDropStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsDropCnt\\": 20,\\n \\"TotalDropCnt\\": 50,\\n \\"RequestId\\": \\"BEA1D173-D5DB-582E-9637-438D5CE3****\\",\\n \\"VulnDropCnt\\": 10,\\n \\"AclDropCnt\\": 20\\n}","type":"json"}]', + ], + 'DescribeFirewallDropTrend' => [ + 'summary' => 'Retrieves the overall firewall interception trend, including Internet, VPC, and NAT traffic.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68493', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68287', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Test instance'."\n", - ], + 'schema' => ['description' => 'The start time of the query. Specify the value as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758470400', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The end time of the query. Specify the value as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758474000', 'title' => ''], ], ], 'responses' => [ @@ -15076,171 +12973,114 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8', + 'MaxDropSession' => ['description' => 'The maximum number of total blocked sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'title' => ''], + 'MaxDropTime' => ['description' => 'The time when the maximum number of total blocked sessions occurred. The value is a UNIX timestamp in seconds, such as 1672502400.', 'type' => 'integer', 'format' => 'int64', 'example' => '1656837360', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '75E60025-43C5-5635-B7B7-272C5246****', 'title' => ''], + 'DataList' => [ + 'description' => 'The returned data list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The returned data list.', + 'type' => 'object', + 'properties' => [ + 'TotalDropSession' => ['description' => 'The total number of sessions blocked by the firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'title' => ''], + 'NatDropSession' => ['description' => 'The number of sessions blocked by the NAT firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'VpcDropSession' => ['description' => 'The number of sessions blocked by the VPC firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Time' => ['description' => 'The time when the traffic occurred. The value is a UNIX timestamp in seconds.'."\n" + ."\n" + .'If the data at this point in time has not been processed, the values of all other fields are -1.', 'type' => 'integer', 'format' => 'int64', 'example' => '1758474000', 'title' => ''], + 'InternetDropSession' => ['description' => 'The number of sessions blocked by the Internet firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallIdNotFound', - 'errorMessage' => 'The VPC firewall ID is not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'The region is invalid.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorFirewallStatusCannotModify', - 'errorMessage' => 'Current firewall status, configuration not allowed', - ], - [ - 'errorCode' => 'ErrorRegionNoDisable', - 'errorMessage' => 'There are unsupported regions, please reselect', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6f8\\n","errorExample":""}]', - 'title' => 'ModifyVpcFirewallCenConfigure', - 'description' => 'You can call the ModifyVpcFirewallCenConfigure operation to modify the configurations of a VPC firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. Before you call this operation, make sure that you have created a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'ModifyVpcFirewallCenSwitchStatus' => [ - 'summary' => 'Enables or disables a virtual private cloud (VPC) firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query firewall interception trends', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxDropSession\\": 300,\\n \\"MaxDropTime\\": 1656837360,\\n \\"RequestId\\": \\"75E60025-43C5-5635-B7B7-272C5246****\\",\\n \\"DataList\\": [\\n {\\n \\"TotalDropSession\\": 300,\\n \\"NatDropSession\\": 100,\\n \\"VpcDropSession\\": 100,\\n \\"Time\\": 1758474000,\\n \\"InternetDropSession\\": 100\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeFirewallTask' => [ + 'summary' => 'Retrieves the details of a firewall task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68494', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '120840', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'ChildInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the VPC instance.', 'title' => '', 'example' => 'vfw-tr-cd6000c588214403****'], ], [ - 'name' => 'FirewallSwitch', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the VPC firewall. Valid values:'."\n" - ."\n" - .'* **open**: yes'."\n" - .'* **close**: no'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'open', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'MemberUid', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['type' => 'string', 'description' => 'The type of the task. Valid values:'."\n" + ."\n" + .'- **NAT**: NAT border task'."\n" + ."\n" + .'- **VPC**: VPC border task', 'required' => false, 'title' => '', 'example' => 'VPC'], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The task ID.', 'required' => false, 'title' => '', 'example' => '199431783'], ], ], 'responses' => [ @@ -15248,173 +13088,127 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2', + 'IsFound' => ['type' => 'boolean', 'description' => 'Indicates whether the task exists.', 'title' => '', 'example' => 'false'], + 'TaskStatus' => ['type' => 'string', 'description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'- **init**'."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **finished**'."\n" + ."\n" + .'- **rollback**'."\n" + ."\n" + .'- **rollbackDone**', 'title' => '', 'example' => 'init'], + 'TaskWaitingTime' => ['type' => 'string', 'description' => 'The waiting time in minutes.', 'title' => '', 'example' => '30'], + 'TaskSteps' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StepStatus' => ['type' => 'string', 'description' => 'The status of the task step. Valid values:'."\n" + ."\n" + .'- **init**'."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **finished**'."\n" + ."\n" + .'- **failed**', 'title' => '', 'example' => 'init'], + 'StepName' => ['type' => 'string', 'description' => 'Creating the Cloud Firewall.', 'title' => '', 'example' => 'Create Firewall'], + 'StepProgress' => ['type' => 'string', 'description' => 'The progress of the task step.', 'title' => '', 'example' => '80'], + 'StepInfo' => ['type' => 'string', 'description' => 'The information about the task step.', 'title' => '', 'example' => 'abcd'], + ], + 'description' => 'The steps of the task.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The steps of the task.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****'], + 'TaskName' => ['type' => 'string', 'description' => 'The name of the task.', 'title' => '', 'example' => 'egressgw'], + 'TaskStartTimestamp' => ['type' => 'string', 'description' => 'The timestamp when the task started.', 'title' => '', 'example' => '17151361285'], + 'TaskFinishTimestamp' => ['type' => 'string', 'description' => 'The timestamp when the task was completed.', 'title' => '', 'example' => '17151381075'], + 'TaskId' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The ID of the task.', 'title' => '', 'example' => '189997648'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallSwitch', - 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorCenTRManualModifySwitchStatus', - 'errorMessage' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to close it, please delete the VPC firewall.', - ], - [ - 'errorCode' => 'ErrorCenRouteMapExist', - 'errorMessage' => 'cen route map is exist.', - ], - [ - 'errorCode' => 'ErrorFirewallNotConfig', - 'errorMessage' => 'Firewall not config', - ], - [ - 'errorCode' => 'ErrorFirewallStatusClosed', - 'errorMessage' => 'firewall is already closed.', - ], - [ - 'errorCode' => 'ErrorNetworkInterfaceNotFound', - 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorFirewallVSwitchCidrConflict', - 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125afj2\\n","errorExample":""}]', - 'title' => 'ModifyVpcFirewallCenSwitchStatus', - 'description' => 'You can call the ModifyVpcFirewallCenSwitchStatus operation to enable or disable a VPC firewall. A VPC firewall protects mutual access traffic between a specified VPC and a network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. After you enable the VPC firewall, the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance. After you disable the VPC firewall, the VPC firewall no longer protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance.'."\n" - ."\n" - .'Before you call this operation, make sure that you have created a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.'."\n" + 'title' => 'DescribeFirewallTask', + 'description' => '### QPS limit'."\n" ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - ], - 'DeleteVpcFirewallCenConfigure' => [ - 'summary' => 'Deletes a virtual private cloud (VPC) firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance.', - 'methods' => [ - 'post', - 'get', + .'You can make up to 10 queries per second (QPS). If you exceed this limit, API calls are throttled, which may impact your business. We recommend that you plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"TaskStatus\\": \\"init\\",\\n \\"TaskWaitingTime\\": \\"30\\",\\n \\"TaskSteps\\": [\\n {\\n \\"StepStatus\\": \\"init\\",\\n \\"StepName\\": \\"Create Firewall\\",\\n \\"StepProgress\\": \\"80\\",\\n \\"StepInfo\\": \\"abcd\\"\\n }\\n ],\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"TaskName\\": \\"egressgw\\",\\n \\"TaskStartTimestamp\\": \\"17151361285\\",\\n \\"TaskFinishTimestamp\\": \\"17151381075\\",\\n \\"TaskId\\": 189997648\\n}","type":"json"}]', + ], + 'DescribeFirewallTrafficTrend' => [ + 'summary' => 'Queries the traffic trend of a firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68163', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68287', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'VpcFirewallIdList', + 'name' => 'StartTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The instance IDs of VPC firewalls.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], - 'required' => true, - 'maxItems' => 200, - ], + 'schema' => ['description' => 'The start time of the query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758470400', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The end time of the query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758474000', 'title' => ''], ], ], 'responses' => [ @@ -15422,76 +13216,91 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', + 'MaxBandwidthTimeBps' => [ + 'description' => 'The traffic distribution at the time of peak total traffic.', + 'type' => 'object', + 'properties' => [ + 'TotalBps' => ['description' => 'The peak total traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'InternetBps' => ['description' => 'The Internet firewall traffic at the time of peak total traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'NatBps' => ['description' => 'The NAT firewall traffic at the time of peak total traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'VpcBps' => ['description' => 'The VPC firewall traffic at the time of peak total traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MaxBandwidthTime' => ['description' => 'The timestamp when the peak total traffic occurred. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1758470400', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4E7F94C7-781F-5192-86CF-DB085****', 'title' => ''], + 'DataList' => [ + 'description' => 'The returned data list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The returned data list.', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => 'The time when the traffic occurred. The value is a UNIX timestamp. Unit: seconds.'."\n" + ."\n" + .'If the data at this point in time has not been processed, the values of all other fields are -1.', 'type' => 'integer', 'format' => 'int64', 'example' => '1758470400', 'title' => ''], + 'InternetBps' => ['description' => 'The Internet firewall traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'NatBps' => ['description' => 'The NAT firewall traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'TotalBps' => ['description' => 'The total firewall traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '300', 'title' => ''], + 'VpcBps' => ['description' => 'The VPC firewall traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorFirewallStatusCannotModify', - 'errorMessage' => 'Current firewall status, configuration not allowed', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSrcDstIPError', 'errorMessage' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', 'description' => 'The source public IP address and destination public IP address cannot be specified at the same time.'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => 'The traffic type is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', - 'title' => 'DeleteVpcFirewallCenConfigure', - 'description' => 'You can call the DeleteVpcFirewallCenConfigure operation to delete a VPC firewall. The VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. Before you call this operation, make sure that you have created a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeVpcFirewallList' => [ - 'summary' => 'Queries the details about virtual private cloud (VPC) firewalls by page. Each VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query firewall traffic trend', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxBandwidthTimeBps\\": {\\n \\"TotalBps\\": 1000,\\n \\"InternetBps\\": 100,\\n \\"NatBps\\": 100,\\n \\"VpcBps\\": 100\\n },\\n \\"MaxBandwidthTime\\": 1758470400,\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1758470400,\\n \\"InternetBps\\": 100,\\n \\"NatBps\\": 100,\\n \\"TotalBps\\": 300,\\n \\"VpcBps\\": 100\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeFirewallVSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15503,490 +13312,301 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68420', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '68260', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response. Valid values:', 'title' => '', 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response. Valid values:', 'title' => '', 'example' => 'zh'], ], [ 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the VPC.'."\n" - ."\n" - .'> For more information about the regions, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-beijing'], ], [ 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the VPC instance.', 'title' => '', 'example' => 'vpc-uf6b5lyul0x******'], ], [ - 'name' => 'FirewallSwitchStatus', + 'name' => 'VswitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not configured.'."\n" - .'* **configured**: The VPC firewall is configured.'."\n" - ."\n" - .'> If you do not specify this parameter, VPC firewalls in all states are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'opened', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the vSwitch.', 'title' => '', 'example' => 'vsw-bp1sqg9w******'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The instance ID of the VPC border firewall.', 'title' => '', 'example' => 'vfw-tr-5b202e7f0be64611****'], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Test firewall'."\n", - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The UID of the member account.', 'title' => '', 'example' => '102910763545****'], ], [ - 'name' => 'CurrentPage', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'Pages start from page **1**. Default value: **1**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The page number.', 'title' => '', 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The number of the page to return.', 'title' => '', 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Default value: **10**. Maximum value: **50**.', - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '20'], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => 'A1562A68-99FA-5D6B-BD5B-2F959F25****'], + 'VswitchList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['type' => 'string', 'description' => 'The ID of the VPC instance.', 'title' => '', 'example' => 'vpc-2zeez7gymz5r4pi****am'], + 'CidrBlock' => ['type' => 'string', 'description' => 'The IPv4 CIDR block.', 'title' => '', 'example' => '192.168.0.XX/16'], + 'VswitchId' => ['type' => 'string', 'description' => 'The ID of the vSwitch.', 'title' => '', 'example' => 'vsw-bp10qla9mgi42eo****'], + 'AvailableIpCount' => ['type' => 'string', 'description' => 'The number of available IP addresses.', 'title' => '', 'example' => '10'], + 'VswitchName' => ['type' => 'string', 'description' => 'The name of the vSwitch.', 'title' => '', 'example' => 'vsw-test'], + 'RegionNo' => ['type' => 'string', 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-shanghai'], + 'MemberUid' => ['type' => 'string', 'description' => 'The UID of the member account.', 'title' => '', 'example' => '184480249330****'], + 'ZoneId' => ['type' => 'string', 'description' => 'The zone ID.', 'title' => '', 'example' => 'cn-shanghai-b'], + 'FirewallCount' => ['type' => 'string', 'description' => 'The number of intrusion prevention events.', 'title' => '', 'example' => '10'], + 'FirewallList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FirewallName' => ['type' => 'string', 'description' => 'The name of the Cloud Firewall.', 'title' => '', 'example' => 'test-Firewall'], + 'FirewallId' => ['type' => 'string', 'description' => 'The instance ID of the firewall.', 'title' => '', 'example' => 'vfw-tr-37145c8f5ede45e9****'], + ], + 'description' => 'The list of firewalls.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of firewalls.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of vSwitches.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of vSwitches.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeFirewallVSwitch', + 'summary' => 'Queries the vSwitches that are created by Cloud Firewall.', + 'description' => '### QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 per user. If you exceed the limit, API calls are throttled, which may affect your business. Therefore, call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'MemberUid', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"A1562A68-99FA-5D6B-BD5B-2F959F25****\\",\\n \\"VswitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zeez7gymz5r4pi****am\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberUid\\": \\"184480249330****\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"FirewallCount\\": \\"10\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeFirewallVswitchResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68261', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'ConnectSubType', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The sub-type of the connection. Valid values:'."\n" - ."\n" - .'* **vpc2vpc**: Express Connect connection'."\n" - .'* **vpcpeer**: peer connection'."\n", + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'vpcpeer', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'PeerUid', + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze36yb348axtnf****', 'title' => ''], + ], + [ + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => 'The UID of the Alibaba Cloud account to which the peer VPC belongs.'."\n", + 'description' => 'The type of the Cloud Firewall.', + 'enumValueTitles' => [], 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', + 'required' => true, + 'example' => 'internet', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The VPC firewalls.'."\n", 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of VPC firewalls.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2', - ], - 'VpcFirewalls' => [ - 'description' => 'The information about the VPC firewalls.'."\n", + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A81E99DF-07CF-5EE4-966A-9FF9F2F****', 'title' => ''], + 'VswitchList' => [ 'type' => 'array', 'items' => [ - 'description' => 'The information about the VPC firewall.'."\n", 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => 'The connection type of the VPC firewall. The value is fixed as **expressconnect**, which indicates an Express Connect connection.'."\n", - 'type' => 'string', - 'example' => 'expressconnect', - ], - 'VpcFirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RegionStatus' => [ - 'description' => 'Indicates whether you can create a VPC firewall in a specified region. Valid values:'."\n" - ."\n" - .'* **enable**: yes'."\n" - .'* **disable**: no'."\n", - 'type' => 'string', - 'example' => 'enable', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth of the Express Connect circuit. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'VpcFirewallName' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'Test firewall'."\n", - ], - 'FirewallSwitchStatus' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not configured.'."\n", - 'type' => 'string', - 'example' => 'opened', - ], - 'LocalVpc' => [ - 'description' => 'The details about the local VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcName' => [ - 'description' => 'The name of the local VPC.'."\n", - 'type' => 'string', - 'example' => 'Test instance'."\n", - ], - 'VpcId' => [ - 'description' => 'The ID of the local VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'AuthorizationStatus' => [ - 'description' => 'Indicates whether Cloud Firewall is authorized to access the local VPC. The value is fixed as authorized, which indicates that Cloud Firewall is authorized to access the local VPC.'."\n", - 'type' => 'string', - 'example' => 'authorized', - ], - 'OwnerId' => [ - 'description' => 'The UID of the Alibaba Cloud account to which the local VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the local VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'VpcCidrTableList' => [ - 'description' => 'An array that consists of the CIDR blocks of the local VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block of the local VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'The ID of the route table for the local VPC.'."\n", - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => 'An array that consists of the route entries of the local VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The route entry of the local VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'The instance ID of the next hop for the local VPC.'."\n", - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the local VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'PeerVpc' => [ - 'description' => 'The details about the peer VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcName' => [ - 'description' => 'The name of the peer VPC.'."\n", - 'type' => 'string', - 'example' => 'Test VPC 2'."\n", - ], - 'VpcId' => [ - 'description' => 'The ID of the peer VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'AuthorizationStatus' => [ - 'description' => 'Indicates whether Cloud Firewall is authorized to access the peer VPC. The value is fixed as **authorized**, which indicates that Cloud Firewall is authorized to access the peer VPC.'."\n", - 'type' => 'string', - 'example' => 'authorized', - ], - 'OwnerId' => [ - 'description' => 'The UID of the Alibaba Cloud account to which the peer VPC belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the peer VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'VpcCidrTableList' => [ - 'description' => 'An array that consists of the CIDR blocks of the peer VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block of the peer VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'The ID of the route table for the peer VPC.'."\n", - 'type' => 'string', - 'example' => 'vtb-1256', - ], - 'RouteEntryList' => [ - 'description' => 'An array that consists of the route entries of the peer VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The route entry of the peer VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'The instance ID of the next hop for the peer VPC.'."\n", - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the peer VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'IpsConfig' => [ - 'description' => 'The intrusion prevention system (IPS) configurations.'."\n", - 'type' => 'object', - 'properties' => [ - 'BasicRules' => [ - 'description' => 'Indicates whether basic protection is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EnableAllPatch' => [ - 'description' => 'Indicates whether virtual patching is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RunMode' => [ - 'description' => 'The mode of the IPS. Valid values:'."\n" - ."\n" - .'* **1**: block mode'."\n" - .'* **0**: monitor mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RuleClass' => [ - 'description' => 'The level of the rule group for the IPS. Valid values:'."\n" - ."\n" - .'* **1**: loose'."\n" - .'* **2**: medium'."\n" - .'* **3**: strict'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'MemberUid' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '258039427902****', - ], - 'ResultCode' => [ - 'description' => 'The result code of the operation that creates the VPC firewall. Valid values:'."\n" - ."\n" - .'* **Unauthorized**: Cloud Firewall is not authorized to access a VPC for which the VPC firewall is created, and the VPC firewall cannot be created.'."\n" - .'* **RegionDisable**: VPC Firewall is not supported in the region of a VPC for which the VPC firewall is created, and the VPC firewall cannot be created.'."\n" - .'* **Empty string**: You can create a VPC firewall for the network instance.'."\n", - 'type' => 'string', - 'example' => 'Unauthorized', - ], - 'ConnectSubType' => [ - 'description' => 'The sub-type of the connection. Valid values:'."\n" - ."\n" - .'* **vpc2vpc**: Express Connect connection'."\n" - .'* **vpcpeer**: peer connection'."\n", - 'type' => 'string', - 'example' => 'vpcpeer', - ], - 'AclConfig' => [ - 'description' => 'ACL engine mode.', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => 'Specifies whether to enable the strict mode. Valid values:'."\n" - ."\n" - .'* 1: yes'."\n" - .'* 0: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - 'default' => '0', + 'Status' => ['description' => 'The configuration status.', 'type' => 'string', 'example' => 'open', 'title' => ''], + 'CidrBlock' => ['description' => 'The IPv4 CIDR block.', 'type' => 'string', 'example' => '192.168.0.XX/16', 'title' => ''], + 'VswitchId' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'example' => 'vsw-bp10qla9mgi42eo****', 'title' => ''], + 'AvailableIpCount' => ['description' => 'The number of available IP addresses in the zone.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'VswitchName' => ['description' => 'The name of the vSwitch.', 'type' => 'string', 'example' => 'vsw-test', 'title' => ''], + 'RouteTableType' => ['description' => 'The type of the route table. Valid values:'."\n" + ."\n" + .'- **Custom**: a custom route table.'."\n" + ."\n" + .'- **System**: a system route table.', 'type' => 'string', 'example' => 'Custom', 'title' => ''], + 'ZoneId' => ['description' => 'The ID of the zone.', 'type' => 'string', 'example' => 'cn-shanghai-b', 'title' => ''], + 'RouteTableId' => ['description' => 'The ID of the route table.', 'type' => 'string', 'example' => 'vtb-uf6ml7rgw5gzzdr****', 'title' => ''], + 'Detail' => ['description' => 'The details of the event.', 'type' => 'string', 'example' => '[]', 'title' => ''], + 'FirewallList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FirewallId' => ['description' => 'The ID of the firewall instance.', 'type' => 'string', 'example' => 'vfw-tr-37145c8f5ede45e9****', 'title' => ''], + 'FirewallName' => ['description' => 'The name of the Cloud Firewall.', 'type' => 'string', 'example' => 'test-Firewall', 'title' => ''], + 'FirewallType' => ['description' => 'The type of the Cloud Firewall.', 'type' => 'string', 'example' => 'NatFirewall', 'title' => ''], ], + 'description' => 'The list of firewalls.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of firewalls.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The list of vSwitches.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of vSwitches.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'vpc id invalid', 'description' => 'The specified VPC is invalid. Specify another value.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'The vSwitch does not exist. Select another vSwitch.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcName\\": \\"测试vpc2\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"ConnectSubType\\": \\"vpcpeer\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 10\\n 850A84D6-0DE4-4797-A1E8-00090125k8g2\\n \\n expressconnect\\n vfw-m5e7dbc4y****\\n enable\\n 2\\n 测试防火墙\\n opened\\n \\n 测试用实例\\n vpc-8vbwbo90rq0anm6t****\\n authorized\\n cn-hangzhou\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n 测试vpc2\\n vpc-8vbwbo90rq0anm6t****\\n authorized\\n cn-hangzhou\\n \\n vtb-1256\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n 1\\n 1\\n 0\\n \\n 258039427902****\\n \\n","errorExample":""}]', - 'title' => 'DescribeVpcFirewallList', - 'description' => 'You can call the DescribeVpcFirewallList operation to query the details about VPC firewalls by page. Each VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit.'."\n" - ."\n" - .'### Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeVpcFirewallDetail' => [ - 'summary' => 'Queries the details about a virtual private cloud (VPC) firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeFirewallVswitchResources', + 'summary' => 'Queries the vSwitch resources for Cloud Firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVswitchResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"A81E99DF-07CF-5EE4-966A-9FF9F2F****\\",\\n \\"VswitchList\\": [\\n {\\n \\"Status\\": \\"open\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RouteTableType\\": \\"Custom\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"RouteTableId\\": \\"vtb-uf6ml7rgw5gzzdr****\\",\\n \\"Detail\\": \\"[]\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\",\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallType\\": \\"NatFirewall\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeIPSRules' => [ + 'summary' => 'Query IPS rules', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15998,451 +13618,206 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68419', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68300', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '8.139.222.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The natural language of the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The natural language of the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'RuleType', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.'."\n", + 'description' => 'The rule type.', + 'enumValueTitles' => ['patchRule' => 'Patch rule', 'basicRule' => 'Basic rule'], 'type' => 'string', 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', + 'example' => 'patchRule', + 'title' => '', ], ], [ - 'name' => 'LocalVpcId', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the local VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'PeerVpcId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the peer VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-90rq0anm6t8vbwbo****', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ConnectType' => [ - 'description' => 'The connection type of the VPC firewall. The value is fixed as **expressconnect**, which indicates Express Connect circuits.'."\n", - 'type' => 'string', - 'example' => 'expressconnect', - ], - 'VpcFirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2', - ], - 'Bandwidth' => [ - 'description' => 'The bandwidth of the Express Connect circuit. Unit: Mbit/s.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'VpcFirewallName' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'tf-test', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'The status of the VPC firewall. Valid values:'."\n" - ."\n" - .'* **opened**: The VPC firewall is enabled.'."\n" - .'* **closed**: The VPC firewall is disabled.'."\n" - .'* **notconfigured**: The VPC firewall is not configured.'."\n" - .'* **configured**: The VPC firewall is configured.'."\n", - 'type' => 'string', - 'example' => 'opened', - ], - 'LocalVpc' => [ - 'description' => 'The details about the local VPC.'."\n", - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the local VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'VpcName' => [ - 'description' => 'The name of the local VPC.'."\n", - 'type' => 'string', - 'example' => 'Vitasoy', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the local VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'EniPrivateIpAddress' => [ - 'description' => 'The private IP address of the elastic network interface (ENI) for the local VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'RouterInterfaceId' => [ - 'description' => 'The router interface ID of the local VPC.'."\n", - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'EniId' => [ - 'description' => 'The ID of the ENI for the local VPC.'."\n", - 'type' => 'string', - 'example' => 'eni-8vbhfosfqv2rff42****', - ], - 'VpcCidrTableList' => [ - 'description' => 'The CIDR blocks of the local VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'The ID of the route table for the local VPC.'."\n", - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => 'The route entries of the local VPC.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'The instance ID of the next hop for the local VPC.'."\n", - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the local VPC.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'PeerVpc' => [ - 'description' => 'The details about the peer VPC.', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the peer VPC.', - 'type' => 'string', - 'example' => 'vpc-90rq0anm6t8vbwbo****', - ], - 'VpcName' => [ - 'description' => 'The name of the peer VPC.', - 'type' => 'string', - 'example' => 'zcy_prod', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the peer VPC.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'EniPrivateIpAddress' => [ - 'description' => 'The private IP address of the ENI for the peer VPC.', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'RouterInterfaceId' => [ - 'description' => 'The router interface ID of the peer VPC.', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'EniId' => [ - 'description' => 'The ID of the ENI for the peer VPC.', - 'type' => 'string', - 'example' => 'eni-8vbhfosfqv2rff42****', - ], - 'VpcCidrTableList' => [ - 'description' => 'The CIDR blocks of the peer VPC.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'The ID of the route table for the peer VPC.', - 'type' => 'string', - 'example' => 'vtb-1256', - ], - 'RouteEntryList' => [ - 'description' => 'The route entries of the peer VPC.', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'The instance ID of the next hop for the peer VPC.', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'The destination CIDR block of the peer VPC.', - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'MemberUid' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '258039427902****', - ], - ], - ], + [ + 'name' => 'QueryModify', + 'in' => 'query', + 'schema' => ['description' => 'Indicates whether to retrieve only modified rules.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallNotFound', - 'errorMessage' => 'Firewall not found', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'firewall status error.', - ], - [ - 'errorCode' => 'ErrorVpcIdPara', - 'errorMessage' => 'vpc id and firewall id parameter not exist.', - ], - [ - 'errorCode' => 'ErrorLocalVpcIdPeerVpcIdError', - 'errorMessage' => 'local vpc id and peer vpc id cannot be empty at the same time.', + [ + 'name' => 'RuleLevel', + 'in' => 'query', + 'schema' => [ + 'description' => 'The rule level.', + 'enumValueTitles' => [1 => 'Strict', 'Medium', 'Low'], + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + 'title' => '', ], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcId\\": \\"vpc-90rq0anm6t8vbwbo****\\",\\n \\"VpcName\\": \\"测试vpc2\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"MemberUid\\": \\"258039427902****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n expressconnect\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125g4d2\\n 2\\n 测试防火墙\\n opened\\n \\n vpc-8vbwbo90rq0anm6t****\\n 测试用实例\\n cn-hangzhou\\n 192.168.XX.XX\\n vrt-m5eb5me6c3l5sezae****\\n eni-8vbhfosfqv2rff42****\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n vpc-90rq0anm6t8vbwbo****\\n 测试vpc2\\n cn-hangzhou\\n 192.168.XX.XX\\n vrt-m5eb5me6c3l5sezae****\\n eni-8vbhfosfqv2rff42****\\n \\n vtb-1256\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n 258039427902****\\n","errorExample":""}]', - 'title' => 'DescribeVpcFirewallDetail', - 'description' => 'You can call the DescribeVpcFirewallDetail operation to query the details about a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. '."\n" - ."\n" - .'Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](https://www.alibabacloud.com/help/en/cloud-firewall/latest/createvpcfirewallconfigure) operation. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - ], - 'CreateVpcFirewallConfigure' => [ - 'summary' => 'Creates a Virtual Private Cloud (VPC) firewall to protect traffic between two VPCs that are connected by using an Express Connect.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'AttackType', + 'in' => 'query', + 'schema' => ['description' => 'The attack type.', 'type' => 'string', 'example' => 'Web attack', 'required' => false, 'title' => ''], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68135', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', + [ + 'name' => 'AttackApp', + 'in' => 'query', + 'schema' => ['description' => 'The application targeted by the attack.', 'type' => 'string', 'required' => false, 'example' => 'SMB', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'RuleAction', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English.'."\n", + 'description' => 'The rule action.', + 'enumValueTitles' => ['drop' => 'Block', 'alert' => 'Monitor'], 'type' => 'string', 'required' => false, - 'example' => 'zh', + 'example' => 'alert', + 'title' => '', ], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'my-vpc-firewall', - ], + 'schema' => ['description' => 'The rule ID.', 'type' => 'string', 'required' => false, 'example' => 'f835533b-01ef-49f4-b172-85bbfd0e****', 'title' => ''], ], [ - 'name' => 'LocalVpcId', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the local VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'Nmap scan detection', 'required' => false, 'title' => ''], ], [ - 'name' => 'LocalVpcRegion', + 'name' => 'Cve', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the local VPC.'."\n" - ."\n" - .'> For more information about the regions in which Cloud Firewall is available, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The CVE ID.', 'type' => 'string', 'required' => false, 'example' => 'CVE-2026-25253', 'title' => ''], ], [ - 'name' => 'PeerVpcId', + 'name' => 'RuleClass', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the peer VPC.'."\n", + 'description' => 'The inspection mode.', + 'enumValueTitles' => ['alert' => 'Monitor', 'dropMiddle' => 'Block (Medium)', 'dropStrict' => 'Block (Strict)', 'dropLoose' => 'Block (Loose, Medium, and Strict)'], 'type' => 'string', - 'required' => true, - 'example' => 'vpc-wb8vbo90rq0anm6t****', + 'required' => false, + 'example' => 'dropStrict', + 'title' => '', ], ], [ - 'name' => 'PeerVpcRegion', + 'name' => 'DefaultAction', 'in' => 'query', 'schema' => [ - 'description' => 'The region ID of the peer VPC.'."\n" - ."\n" - .'> For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).'."\n", + 'description' => 'The status of the rule.', + 'enumValueTitles' => ['Disabled', 'Enabled'], 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', + 'required' => false, + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'FirewallSwitch', + 'name' => 'Sort', + 'in' => 'query', + 'schema' => ['description' => 'The field to sort by.', 'type' => 'string', 'required' => false, 'example' => 'UpdateTime', 'title' => ''], + ], + [ + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => 'The status of the VPC firewall after you create the firewall. Valid values:'."\n" - ."\n" - .'* **open**: After you create the VPC firewall, the VPC firewall is automatically enabled. This is the default value.'."\n" - .'* **close**: After you create the VPC firewall, the VPC firewall is disabled. To enable the firewall, you can call the [ModifyVpcFirewallSwitchStatus](~~342935~~) operation.'."\n", + 'description' => 'The sort order.', + 'enumValueTitles' => ['asc' => 'Ascending', 'desc' => 'Descending'], 'type' => 'string', - 'required' => true, - 'example' => 'open', + 'required' => false, + 'example' => 'desc', + 'title' => '', ], ], [ - 'name' => 'LocalVpcCidrTableList', + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => 'The CIDR blocks of the local VPC. The value is a JSON string that contains the following parameters:'."\n" - ."\n" - .'* **RouteTableId**: the ID of the route table for the local VPC.'."\n" - .'* **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the local VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the local VPC.'."\n", + 'description' => 'The type of firewall.', + 'enumValueTitles' => ['VpcFirewall' => 'VPC firewall', 'InternetFirewall' => 'internet firewall'], 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', + 'default' => 'InternetFirewall', + 'required' => false, + 'example' => 'VpcFirewall', + 'title' => '', ], ], [ - 'name' => 'PeerVpcCidrTableList', + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'cen-rnbkqx4a8er21a****', 'title' => ''], + ], + [ + 'name' => 'AttackApps', 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The CIDR blocks of the peer VPC. The value is a JSON string that contains the following parameters:'."\n" - ."\n" - .'* **RouteTableId**: the ID of the route table for the peer VPC.'."\n" - .'* **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the peer VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the peer VPC.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', + 'type' => 'array', + 'items' => ['description' => 'A targeted application.', 'type' => 'string', 'required' => false, 'example' => 'SSH', 'title' => ''], + 'maxItems' => 50, + 'minItems' => 0, + 'description' => 'The applications targeted by attacks.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'MemberUid', + 'name' => 'AttackAppCategory', 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', + 'type' => 'array', + 'items' => ['description' => 'An application category.', 'type' => 'string', 'required' => false, 'example' => 'AI Component', 'title' => ''], + 'maxItems' => 50, + 'minItems' => 0, + 'description' => 'The categories of applications targeted by attacks.', 'required' => false, - 'example' => '258039427902****', + 'title' => '', + 'example' => '', ], ], ], @@ -16451,222 +13826,152 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VpcFirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6', + 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6DF55258-1448-5386-B263-4771D081****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'Rules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CurrentMode' => [ + 'description' => 'The current action.', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'alert', + 'title' => '', + ], + 'UpdateTime' => ['description' => 'The UNIX timestamp for when the rule was last updated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1775101028', 'title' => ''], + 'AttackType' => ['description' => 'The attack type.', 'type' => 'string', 'example' => 'Exception connection', 'title' => ''], + 'RuleLevel' => [ + 'description' => 'The rule level.', + 'enumValueTitles' => [1 => 'Strict', 'Medium', 'Low'], + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + 'title' => '', + ], + 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => 'f532f59d-2026-436b-8209-e04d8ebc2****', 'title' => ''], + 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'Nmap扫描探测', 'title' => ''], + 'DefaultMode' => [ + 'description' => 'The default action.', + 'enumValueTitles' => ['drpo' => 'drop', 'alert' => 'alert'], + 'type' => 'string', + 'example' => 'alert', + 'title' => '', + ], + 'Description' => ['description' => 'A description of the rule.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'RuleClass' => [ + 'description' => 'The engine mode.'."\n" + ."\n" + .'This parameter takes effect only when `DefaultMode` is set to `drop`.', + 'enumValueTitles' => [1 => 'drop - Loose/Medium/Strict', 'drop - Loose/Medium', 'drop - Strict'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'Cve' => ['description' => 'The CVE ID.', 'type' => 'string', 'example' => 'cve-2024-38816', 'title' => ''], + 'AttackApp' => ['description' => 'The target application.', 'type' => 'string', 'example' => 'SMB', 'title' => ''], + 'RuleUuid' => ['description' => 'The rule UUID.', 'type' => 'string', 'example' => 'd401b0cb-dc64-4bbe-bba0-3e7c744****', 'title' => ''], + 'UserDefined' => ['description' => 'Specifies whether the rule is user-defined.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'UserStatus' => ['description' => 'The user-defined status of the rule.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'description' => 'The details of the rule.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of rules.', + 'title' => '', + 'example' => '', ], + 'OpenCount' => ['description' => 'The total number of enabled rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '1752', 'title' => ''], + 'HighRiskCount' => ['description' => 'The number of high-risk rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '518', 'title' => ''], + 'DropCount' => ['description' => 'The number of rules that have the `drop` action.', 'type' => 'integer', 'format' => 'int64', 'example' => '976', 'title' => ''], + 'UserDefineCount' => ['description' => 'The total number of user-defined rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '32', 'title' => ''], ], - 'description' => '', + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The destination CIDR block is invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorSameCidrIp', - 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Cidr ip format error.', - ], - [ - 'errorCode' => 'ErrorCidrIpAddress', - 'errorMessage' => 'cidr ip error.', - ], - [ - 'errorCode' => 'ErrorCustomRouteEntryMax', - 'errorMessage' => 'custom route exceeds maximum limit.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorCenVpcEcConflict', - 'errorMessage' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC.', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'The quota for VPC firewalls is exceeded.', - ], - [ - 'errorCode' => 'ErrorRouteTableIdNotFound', - 'errorMessage' => 'Route table id not found.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => 'Invalid Aliuid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => 'An error occurred. Try again later.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeIPSRules', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIPSRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","errorExample":""},{"type":"xml","example":"\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125h4j6\\n","errorExample":""}]', - 'title' => 'CreateVpcFirewallConfigure', - 'description' => 'You can call this operation to create a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. The VPC firewall does not control the mutual access traffic between VPCs that reside in different regions or belong to different Alibaba Cloud accounts. The firewall also does not control the mutual access traffic between VPCs and virtual border routers (VBRs). For more information, see [VPC firewall limits](~~172295~~).'."\n" - ."\n" - .'### [](#qps)QPS limit'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"6DF55258-1448-5386-B263-4771D081****\\",\\n \\"TotalCount\\": 20,\\n \\"Rules\\": [\\n {\\n \\"CurrentMode\\": \\"alert\\",\\n \\"UpdateTime\\": 1775101028,\\n \\"AttackType\\": \\"Exception connection\\",\\n \\"RuleLevel\\": 1,\\n \\"RuleId\\": \\"f532f59d-2026-436b-8209-e04d8ebc2****\\",\\n \\"RuleName\\": \\"Nmap扫描探测\\",\\n \\"DefaultMode\\": \\"alert\\",\\n \\"Description\\": \\"test\\",\\n \\"RuleClass\\": 1,\\n \\"Cve\\": \\"cve-2024-38816\\",\\n \\"AttackApp\\": \\"SMB\\",\\n \\"RuleUuid\\": \\"d401b0cb-dc64-4bbe-bba0-3e7c744****\\",\\n \\"UserDefined\\": \\"1\\",\\n \\"UserStatus\\": 1\\n }\\n ],\\n \\"OpenCount\\": 1752,\\n \\"HighRiskCount\\": 518,\\n \\"DropCount\\": 976,\\n \\"UserDefineCount\\": 32\\n}","type":"json"}]', ], - 'ModifyVpcFirewallConfigure' => [ - 'summary' => 'Modifies the configurations of a virtual private cloud (VPC) firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInstanceMembers' => [ + 'summary' => 'Retrieves information about the member accounts of Cloud Firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68495', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68269', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The page number. The default value is **1**.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => 'The number of entries per page.'."\n" + ."\n" + .'The default value is **20**.', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Test firewall'."\n", - ], + 'schema' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], [ - 'name' => 'LocalVpcCidrTableList', + 'name' => 'MemberDisplayName', 'in' => 'query', - 'schema' => [ - 'description' => 'The CIDR blocks of the local VPC. The value is a JSON string that contains the following parameters:'."\n" - ."\n" - .'* **RouteTableId**: the ID of the route table for the local VPC.'."\n" - .'* **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the local VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the local VPC.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR blocks of local VPCs for VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', - ], + 'schema' => ['description' => 'The name of the Cloud Firewall member account.', 'type' => 'string', 'required' => false, 'example' => 'cloudfirewall_2', 'title' => ''], ], [ - 'name' => 'PeerVpcCidrTableList', + 'name' => 'MemberDesc', 'in' => 'query', - 'schema' => [ - 'description' => 'The CIDR blocks of the peer VPC. The value is a JSON string that contains the following parameters:'."\n" - ."\n" - .'* **RouteTableId**: the ID of the route table for the peer VPC.'."\n" - .'* **RouteEntryList**: The value is a JSON string that contains the DestinationCidr and NextHopInstanceId parameters. The DestinationCidr parameter indicates the destination CIDR block of the peer VPC. The NextHopInstanceId parameter indicates the instance ID of the next hop for the peer VPC.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR blocks of peer VPCs for VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The description of the Cloud Firewall member account. The description must be 1 to 256 characters in length.', 'type' => 'string', 'required' => false, 'example' => 'renewal', 'title' => ''], ], ], 'responses' => [ @@ -16674,185 +13979,151 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A531AE1A-FBA2-48B6-BAB8-84D02BD409EE', 'title' => ''], + 'PageInfo' => [ + 'description' => 'The pagination information.', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of Cloud Firewall member accounts.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Members' => [ + 'description' => 'The information about the Cloud Firewall member accounts.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MemberDesc' => ['description' => 'The description of the Cloud Firewall member account.', 'type' => 'string', 'example' => 'renewal', 'title' => ''], + 'MemberDisplayName' => ['description' => 'The name of the Cloud Firewall member account.', 'type' => 'string', 'example' => 'cloudfirewall_2', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the member account was added to Cloud Firewall. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1615189819', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '258039427902****', 'title' => ''], + 'MemberStatus' => ['description' => 'The status of the Cloud Firewall member account. Valid values:'."\n" + ."\n" + .'- **normal**: Normal'."\n" + ."\n" + .'- **deleting**: Deleting', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'ModifyTime' => ['description' => 'The time when the member account was last modified. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1615189819', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The destination CIDR block is invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorFirewallStatusCannotModify', - 'errorMessage' => 'Current firewall status, configuration not allowed', - ], - [ - 'errorCode' => 'ErrorSameCidrIp', - 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', - ], - [ - 'errorCode' => 'ErrorCustomRouteEntryMax', - 'errorMessage' => 'The number of target network segments exceeds the maximum limit. Please reduce the number of network segments', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Cidr ip format error.', - ], - [ - 'errorCode' => 'ErrorCidrIpAddress', - 'errorMessage' => 'Target network segment error, please reselect', - ], - [ - 'errorCode' => 'ErrorRouteTableIdNotFound', - 'errorMessage' => 'Route table id not found.', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6f8\\n","errorExample":""}]', - 'title' => 'ModifyVpcFirewallConfigure', - 'description' => 'You can call the ModifyVpcFirewallConfigure operation to modify the configurations of a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.'."\n" + 'title' => 'DescribeInstanceMembers', + 'description' => 'You can call this operation to query information about the member accounts of Cloud Firewall.'."\n" ."\n" - .'## Limits'."\n" + .'## QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - ], - 'ModifyVpcFirewallSwitchStatus' => [ - 'summary' => 'Enables or disables a virtual private cloud (VPC) firewall. The VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit.', - 'methods' => [ - 'post', - 'get', + .'The queries per second (QPS) limit for this operation is 10 calls per second per user. If you exceed the limit, API calls are throttled. This may affect your business. Call this operation at a reasonable rate.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceMembers'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A531AE1A-FBA2-48B6-BAB8-84D02BD409EE\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 20\\n },\\n \\"Members\\": [\\n {\\n \\"MemberDesc\\": \\"renewal\\",\\n \\"MemberDisplayName\\": \\"cloudfirewall_2\\",\\n \\"CreateTime\\": 1615189819,\\n \\"MemberUid\\": 0,\\n \\"MemberStatus\\": \\"normal\\",\\n \\"ModifyTime\\": 1615189819\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInstanceRdAccounts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68499', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68270', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the requester.', 'type' => 'string', 'required' => false, 'example' => '47.100.170.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language type for the request and response messages.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => 'The page number of the current page.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FirewallSwitch', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the VPC firewall. Valid values:'."\n" - ."\n" - .'* **open**: yes'."\n" - .'* **close**: no'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'open', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The UID of the member accounts.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], + ], + [ + 'name' => 'MemberDisplayName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the Cloud Firewall member accounts.', 'type' => 'string', 'required' => false, 'example' => 'cloudfirewall_2', 'title' => ''], + ], + [ + 'name' => 'MemberDesc', + 'in' => 'query', + 'schema' => ['description' => 'The remarks of the Cloud Firewall member accounts.', 'type' => 'string', 'required' => false, 'example' => 'renewal', 'title' => ''], ], ], 'responses' => [ @@ -16860,146 +14131,124 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '06D1EC07-C9EB-58AC-A750-C87C9A0****', 'title' => ''], + 'Accounts' => [ + 'description' => 'The account information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The account information.', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => ['description' => 'The name of the member account.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'AccountId' => ['description' => 'The ID of the member accounts.', 'type' => 'string', 'example' => '171054237268****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorFirewallSwitch', - 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorNetworkInterfaceNotFound', - 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorNoInstanceInDb', 'errorMessage' => 'no instance for process in db.', 'description' => 'The specified instance does not exist.'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorInstanceAliuidNotDaMa', 'errorMessage' => 'instance aliuid not DA or MA.', 'description' => 'The Alibaba Cloud account to which Cloud Firewall belongs is not specified as a delegated administrator account or management account.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125afj2\\n","errorExample":""}]', - 'title' => 'ModifyVpcFirewallSwitchStatus', - 'description' => 'You can call the ModifyVpcFirewallSwitchStatus operation to enable or disable a VPC firewall. The VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit. After you enable the VPC firewall, the VPC firewall protects access traffic between two VPCs that are connected by using an Express Connect circuit. After you disable the VPC firewall, the VPC firewall no longer protects access traffic between two VPCs that are connected by using an Express Connect circuit.'."\n" - ."\n" - .'Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DeleteVpcFirewallConfigure' => [ - 'summary' => 'Deletes a virtual private cloud (VPC) firewall that controls traffic between two VPCs. The VPCs are connected by using an Express Connect circuit.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Retrieve instance account in a resource directory', + 'summary' => 'Retrieves the account in a resource directory for an instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRdAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06D1EC07-C9EB-58AC-A750-C87C9A0****\\",\\n \\"Accounts\\": [\\n {\\n \\"DisplayName\\": \\"test\\",\\n \\"AccountId\\": \\"171054237268****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInstanceRiskLevels' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68165', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '174508', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'en', 'title' => ''], ], [ - 'name' => 'VpcFirewallIdList', + 'name' => 'Instances', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ - 'description' => 'The instance IDs of VPC firewalls.'."\n", + 'description' => 'The list of instances.', 'type' => 'array', 'items' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', + 'description' => 'The list of instances.', + 'type' => 'object', + 'properties' => [ + 'Uuid' => ['description' => 'The UUID of the instance.', 'type' => 'string', 'required' => false, 'example' => '181ad081-e4f2-4e3e-b925-03b67f648397', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'vipcloudfw-cn-7mz2fj8nm0u', 'title' => ''], + 'IntranetIp' => ['description' => 'The private IP address of the instance.', 'type' => 'string', 'required' => false, 'example' => '172.17.XX.XX', 'title' => ''], + 'InternetIp' => [ + 'description' => 'The public IP address of the instance.', + 'type' => 'array', + 'items' => ['description' => 'The public IP address of the instance.', 'type' => 'string', 'required' => false, 'example' => '60.205.XX.XX', 'title' => ''], + 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', + ], + ], 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', + 'title' => '', + 'example' => '', ], - 'required' => true, - 'maxItems' => 200, - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -17008,80 +14257,83 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014', 'title' => ''], + 'InstanceRisks' => [ + 'description' => 'The list of instance threats.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'example' => 'vipcloudfw-cn-7mz2fj8nm0u', 'title' => ''], + 'Level' => ['description' => 'The threat level. Valid value:'."\n" + ."\n" + .'- **medium**: medium', 'type' => 'string', 'example' => 'medium', 'title' => ''], + 'Details' => [ + 'description' => 'The list of threats for the ECS instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of threats for the ECS instances.', + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => 'The IP address of the server.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'Type' => ['description' => 'The type.', 'type' => 'string', 'example' => 'ResourceNotProtected', 'title' => ''], + 'Level' => ['description' => 'The threat level. Valid value:'."\n" + ."\n" + .'- **medium**: medium', 'type' => 'string', 'example' => 'medium', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', - 'title' => 'DeleteVpcFirewallConfigure', - 'description' => 'You can call the DeleteVpcFirewallConfigure operation to delete a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - ], - 'DescribeInternetTimeTop' => [ - 'summary' => '获取互联网流量时间TOP', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeInstanceRiskLevels', + 'summary' => 'Queries the risk levels of instances.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceRiskLevels'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRiskLevels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014\\",\\n \\"InstanceRisks\\": [\\n {\\n \\"InstanceId\\": \\"vipcloudfw-cn-7mz2fj8nm0u\\",\\n \\"Level\\": \\"medium\\",\\n \\"Details\\": [\\n {\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetDropTrafficTrend' => [ + 'summary' => 'Internet security trends', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17093,198 +14345,315 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68283', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68274', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '60.179.179.XXX', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '120.136.21.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'inbound', 'out' => 'outbound'], 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], + 'required' => false, 'example' => 'out', + 'title' => '', ], ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time, specified as a timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1749176793', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query, specified as a timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1756346821', 'title' => ''], + ], [ 'name' => 'SourceCode', 'in' => 'query', + 'schema' => ['description' => 'The traceability code.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', + 'type' => 'object', + 'properties' => [ + 'DropSessionMax' => ['description' => 'The peak number of dropped sessions in the specified period.', 'type' => 'integer', 'format' => 'int64', 'example' => '8090', 'title' => ''], + 'RingRatioAverage' => ['description' => 'The average drop ratio from the previous cycle, expressed as a percentage.', 'type' => 'string', 'example' => '1.23', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], + 'RatioAverage' => ['description' => 'The average drop ratio for the entire query period, expressed as a percentage.', 'type' => 'string', 'example' => '12.34', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => 'The timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600', 'title' => ''], + 'AclDrop' => ['description' => 'The number of sessions dropped by access control list (ACL) rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'DropRatio' => ['description' => 'The ratio of dropped sessions to total sessions for this data point.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'RingDataTime' => ['description' => 'The corresponding time point in the previous cycle. The time is in the `YYYY-MM-DD HH:mm:ss` format.', 'type' => 'string', 'example' => '2018-08-25 12:00:00', 'title' => ''], + 'IpsDrop' => ['description' => 'The number of sessions dropped by the intrusion prevention system (IPS).', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'TotalSession' => ['description' => 'The total number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'DataTime' => ['description' => 'The current time point. The time is in the `YYYY-MM-DD HH:mm:ss` format.', 'type' => 'string', 'example' => '2018-08-25 12:00:00', 'title' => ''], + 'DropSession' => ['description' => 'The number of dropped sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'RingTime' => ['description' => 'The timestamp for the corresponding data point in the previous cycle. This value is a Unix timestamp that represents the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970.', 'type' => 'integer', 'format' => 'int64', 'example' => '1724982259', 'title' => ''], + 'DropRing' => ['description' => 'The number of dropped sessions for the corresponding data point in the previous cycle.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'DropRingRatio' => ['description' => 'The drop ratio for the corresponding data point in the previous cycle.', 'type' => 'string', 'example' => '1', 'title' => ''], + ], + 'description' => 'The details of a data entry.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The data list.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeInternetDropTrafficTrend', + 'description' => '## QPS limit'."\n" + ."\n" + .'This API is limited to 10 requests per second per user. Exceeding this limit triggers throttling, which can disrupt your service. Plan your API calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'out_pps' => 'out_pps', - 'in_bps' => 'in_bps', - 'out_bps' => 'out_bps', - 'in_pps' => 'in_pps', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'in_bps', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 8090,\\n \\"RingRatioAverage\\": \\"1.23\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"RatioAverage\\": \\"12.34\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"DropRatio\\": \\"1\\",\\n \\"RingDataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 10,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 12,\\n \\"RingTime\\": 1724982259,\\n \\"DropRing\\": 0,\\n \\"DropRingRatio\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetOpenDetail' => [ + 'summary' => 'You can obtain details about Internet access.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68276', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'TrafficTime', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1745222880', - ], + 'schema' => ['description' => 'The source IP address of the access request.', 'type' => 'string', 'required' => false, 'example' => '222.212.86.7XXX', 'title' => ''], ], [ - 'name' => 'Limit', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the content.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '5', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'SrcIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the content.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '8.153.18.XX', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'NatIP', + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the application for an exact match. If you leave this parameter empty, all applications are queried.', 'type' => 'string', 'required' => false, 'example' => 'SMB', 'title' => ''], + ], + [ + 'name' => 'ServiceNameFuzzy', + 'in' => 'query', + 'schema' => ['description' => 'The name of the application for a fuzzy match. If you leave this parameter empty, all applications are queried.', 'type' => 'string', 'required' => false, 'example' => 'SMB', 'title' => ''], + ], + [ + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The risk level. If you leave this parameter empty, all risk levels are queried.', + 'enumValueTitles' => ['No risk', 'Low', 'Medium', 'High', -1 => 'In assessment'], 'type' => 'string', 'required' => false, - 'example' => '47.97.66.XXX', + 'example' => '3', + 'title' => '', ], ], [ - 'name' => 'Order', + 'name' => 'SuggestLevel', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The recommended policy level.', + 'enumValueTitles' => ['Unknown', 10 => 'Allow', 20 => 'Observe', 30 => 'Deny', -1 => 'In assessment'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'asc' => '', - 'desc' => '', - ], - 'example' => 'desc', + 'example' => '10', + 'title' => '', ], ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The port for an exact match. The value must be an integer from 1 to 65535. If you leave this parameter empty, all ports are queried.', 'type' => 'string', 'required' => false, 'example' => '9100', 'title' => ''], + ], + [ + 'name' => 'AssetsInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the asset. Fuzzy search is supported.', 'type' => 'string', 'required' => false, 'example' => 'i-uf6faknmuby7ezht****', 'title' => ''], + ], + [ + 'name' => 'AssetsInstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the asset. Fuzzy search is supported.', 'type' => 'string', 'required' => false, 'example' => 'instance_test', 'title' => ''], + ], + [ + 'name' => 'PublicIp', + 'in' => 'query', + 'schema' => ['description' => 'The public IP address for an exact match. If you leave this parameter empty, all public IP addresses are queried.', 'type' => 'string', 'required' => false, 'example' => '203.0.13.XX', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + ], + [ + 'name' => 'AssetsType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the asset for an exact match. If you leave this parameter empty, all asset types are queried.', 'type' => 'string', 'required' => false, 'example' => 'EcsPublicIP', 'title' => ''], + ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1749434787', - ], + 'schema' => ['description' => 'The start of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => false, 'example' => '1656837360', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1733796528', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => false, 'example' => '1745251200', 'title' => ''], ], [ - 'name' => 'TrafficType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'EIP_TRAFFIC', - ], + 'schema' => ['description' => 'The page number of the returned page.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'IPType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Private' => '', - 'Public' => '', - ], - 'example' => 'Public', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'SortList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Dir' => [ + 'description' => 'The sort order.', + 'enumValueTitles' => ['asc' => 'Ascending', 'desc' => 'Descending'], + 'type' => 'string', + 'required' => false, + 'example' => 'asc', + 'title' => '', + ], + 'SortKey' => [ + 'description' => 'The sorting key.', + 'enumValueTitles' => ['ServiceName' => 'Sort by application.', 'PublicIp' => 'Sort by public IP address.', 'Port' => 'Sort by port.'], + 'type' => 'string', + 'required' => false, + 'example' => 'ServiceName', + 'title' => '', + ], + ], + 'description' => 'The sorting criteria.', + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '60', + 'maxItems' => 200, + 'description' => 'The sorting conditions.', + 'title' => '', + 'example' => '', ], ], ], @@ -17293,207 +14662,120 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TrafficTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1734399660', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7F2D5C04-731F-50B0-ADE1-01637B3C****', - ], - 'DataCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '19', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '3495E758-BB4B-5F5C-8AE0-897489F****', 'title' => ''], + 'PageInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + ], + 'description' => 'The pagination information.', + 'title' => '', + 'example' => '', ], 'DataList' => [ - 'description' => '', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'ResourceInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'InBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '187', - ], - 'ResourceInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'lb-bp14ue2rgktunncq****', - ], - 'NewConn' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'OutPps' => [ - 'description' => '', + 'RiskLevel' => [ + 'description' => 'The risk level.', + 'enumValueTitles' => ['None', 'Low', 'Medium', ' 3' => 'High', -1 => 'In assessment'], 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'IP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '183.60.164.XXX', + 'format' => 'int32', + 'example' => '3', + 'title' => '', ], - 'OutBps' => [ - 'description' => '', + 'ProbRiskDesc' => ['description' => 'The description of the security threat.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'TrafficPercent1Day' => ['description' => 'The percentage of traffic in the last 24 hours.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'SuggestLevel' => [ + 'description' => 'The recommended policy level.', + 'enumValueTitles' => ['Unknown', 10 => 'Allow', 20 => 'Observe', 30 => 'Deny', -1 => 'In assessment'], 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'PrivateIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.21.186.XXX', + 'format' => 'int32', + 'example' => '20', + 'title' => '', ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - ], - 'example' => 'EcsPublicIP', - ], - 'InPps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalPps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '88', - ], - 'TotalBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-wz9o0uzfjuj81fx7m****', - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-wz98eedr5l5hkb8****e7', - ], - 'NatGatewayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'NatIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.97.66.XXX', + 'Protocol' => ['description' => 'The protocol type.', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + 'AssetsName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'launch-advisor-2023****', 'title' => ''], + 'AssetsType' => ['description' => 'The asset type of the instance.', 'type' => 'string', 'example' => 'EcsEIP', 'title' => ''], + 'Port' => ['description' => 'The port that is exposed to the Internet.', 'type' => 'integer', 'format' => 'int32', 'example' => '3389', 'title' => ''], + 'TrafficPercent7Day' => ['description' => 'The percentage of traffic in the last 7 days.', 'type' => 'string', 'example' => '30', 'title' => ''], + 'TrafficPercent30Day' => ['description' => 'The percentage of traffic in the last 30 days.', 'type' => 'string', 'example' => '48', 'title' => ''], + 'ProbRisk' => ['description' => 'The security threat.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PublicIp' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '39.101.167.XX', 'title' => ''], + 'ServiceName' => ['description' => 'The application name.', 'type' => 'string', 'example' => 'Redis', 'title' => ''], + 'Id' => ['description' => 'The ID of the details.', 'type' => 'string', 'example' => '1123', 'title' => ''], + 'AssetsInstanceId' => ['description' => 'The ID of the asset instance.', 'type' => 'string', 'example' => 'i-bp1ix9w22kv6aew9****', 'title' => ''], + 'RiskReason' => ['description' => 'The cause of the risk.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'InBytes' => ['description' => 'The inbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], + 'OutBytes' => ['description' => 'The outbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'UnknownReason' => [ + 'type' => 'array', + 'items' => ['description' => 'The reason why the protocol is not detected when the protocol is identified as Unknown.', 'type' => 'string', 'example' => '['."\n" + .' "no_payload",'."\n" + .' "tcp_not_establish"'."\n" + .']', 'title' => ''], + 'description' => 'The reason why the protocol is not detected when the protocol is identified as Unknown.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorTrafficType', - 'errorMessage' => 'The traffic type is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorLimitFailed', - 'errorMessage' => 'The limit is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal Error'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrafficTime\\": 1734399660,\\n \\"RequestId\\": \\"7F2D5C04-731F-50B0-ADE1-01637B3C****\\",\\n \\"DataCount\\": 19,\\n \\"DataList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"InBps\\": 187,\\n \\"ResourceInstanceId\\": \\"lb-bp14ue2rgktunncq****\\",\\n \\"NewConn\\": 27,\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutPps\\": 2,\\n \\"IP\\": \\"183.60.164.XXX\\",\\n \\"OutBps\\": 45,\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"SessionCount\\": 27,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"InPps\\": 2,\\n \\"TotalPps\\": 88,\\n \\"TotalBps\\": 232,\\n \\"VpcId\\": \\"vpc-wz9o0uzfjuj81fx7m****\\",\\n \\"NatGatewayId\\": \\"ngw-wz98eedr5l5hkb8****e7\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatIP\\": \\"47.97.66.XXX\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeNatFirewallTimeTop' => [ - 'summary' => '查询NAT防火墙时间点流量详情列表', - 'methods' => [ - 'get', + 'title' => 'Obtain details about internet exposure', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3495E758-BB4B-5F5C-8AE0-897489F****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 5\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"SuggestLevel\\": 20,\\n \\"Protocol\\": \\"tcp\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"Port\\": 3389,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"PublicIp\\": \\"39.101.167.XX\\",\\n \\"ServiceName\\": \\"Redis\\",\\n \\"Id\\": \\"1123\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"InBytes\\": 0,\\n \\"OutBytes\\": 0,\\n \\"TotalBytes\\": 0,\\n \\"UnknownReason\\": [\\n \\"[\\\\n \\\\\\"no_payload\\\\\\",\\\\n \\\\\\"tcp_not_establish\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetOpenIp' => [ + 'summary' => 'Queries the details of an access control policy group in Cloud Firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17505,103 +14787,82 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '216506', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68277', + 'abilityTreeNodes' => ['FEATUREcfwVWCDEU'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the content within the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'SrcPublicIP', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.93.47.XXX', - ], + 'schema' => ['description' => 'The application name to query.', 'type' => 'string', 'required' => false, 'example' => 'SSH', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-uf62zzi7000bca7zn****', - ], + 'schema' => ['description' => 'The risk level. If this parameter is not specified, all risk levels are returned. Valid values:'."\n" + .'- **3**: high risk'."\n" + .'- **2**: medium risk'."\n" + .'- **1**: low risk'."\n" + .'- **0**: no risk.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'SrcPrivateIP', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.100.134.XXX', - ], + 'schema' => ['description' => 'The port number.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], ], [ - 'name' => 'Sort', + 'name' => 'AssetsInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'total_max_bps' => 'total_max_bps', - 'out_max_bps' => 'out_max_bps', - 'in_max_bps' => 'in_max_bps', - ], - 'example' => 'total_max_bps', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'i-uf6faknmuby7ezht****', 'title' => ''], ], [ - 'name' => 'Limit', + 'name' => 'AssetsInstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The instance name.', 'type' => 'string', 'required' => false, 'example' => 'launch-advisor-2023****', 'title' => ''], ], [ - 'name' => 'TrafficTime', + 'name' => 'PublicIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749693960', - ], + 'schema' => ['description' => 'The public IP address of the instance.', 'type' => 'string', 'required' => false, 'example' => '203.0.113.1', 'title' => ''], ], [ - 'name' => 'Interval', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + ], + [ + 'name' => 'AssetsType', + 'in' => 'query', + 'schema' => ['description' => 'The asset type of the instance.', 'type' => 'string', 'required' => false, 'example' => 'EcsEIP', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the public IP address exposure. Specify the value as a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1681957629', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the public IP address exposure. Specify the value as a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1663640336', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number for a paged query.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page for a paged query.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -17609,123 +14870,118 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'DataCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TrafficTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1656923760', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54', 'title' => ''], + 'PageInfo' => [ + 'description' => 'The paging information for the paged query.', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The current page number in the paged query.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries per page in the paged query.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '40', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], 'DataList' => [ - 'description' => '', + 'description' => 'The data list.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The data list.', 'type' => 'object', 'properties' => [ - 'Ip' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.66.231.XXX', - ], - 'InBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '187', - ], - 'OutBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'TotalBps' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232', - ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '27', - ], - 'NewConn' => [ - 'description' => '', - 'type' => 'string', - 'example' => '27', - ], - 'ResourceInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-bp130nn8h6157dir****', - ], - 'ResourceInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-uf6pnry5vpawb****', - ], - 'NatGatewayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-test', + 'RiskLevel' => ['description' => 'The risk level. Valid values:'."\n" + .'- **3**: high risk'."\n" + .'- **2**: medium risk'."\n" + .'- **1**: low risk'."\n" + .'- **0**: no risk.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'TrafficPercent1Day' => ['description' => 'For specific traffic information, refer to the TotalBytes field.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'AclRecommendDetail' => ['description' => 'The reason why no intelligent policies recommendation is available. Valid values:'."\n" + .'- No intelligent policies recommendation is available.'."\n" + .'- This feature is currently available only to selected users.'."\n" + .'- The policy configuration has been modified. No intelligent policies recommendation is available.'."\n" + .'- Intelligent policies have been configured. No new intelligent policies recommendation is available.', 'type' => 'string', 'example' => 'No recommended intelligent policies are available.', 'title' => ''], + 'AssetsName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'launch-advisor-2023****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + 'AssetsType' => ['description' => 'The asset type of the instance.', 'type' => 'string', 'example' => 'EcsEIP', 'title' => ''], + 'HasAclRecommend' => ['description' => 'Indicates whether a recommended ACL exists. Valid values:'."\n" + ."\n" + .'- **true**: A recommended ACL exists.'."\n" + .'- **false**: No recommended ACL exists.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DetailNum' => ['description' => 'The total number of port details.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'TrafficPercent7Day' => ['description' => 'For specific traffic information, refer to the TotalBytes field.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'TrafficPercent30Day' => ['description' => 'For specific traffic information, refer to the TotalBytes field.', 'type' => 'string', 'example' => ' 0', 'title' => ''], + 'PublicIp' => ['description' => 'The public IP address of the instance.', 'type' => 'string', 'example' => '203.0.113.1', 'title' => ''], + 'RiskReason' => ['description' => 'The risk reason.', 'type' => 'string', 'example' => 'Previous traffic is all malicious traffic.', 'title' => ''], + 'AssetsInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'i-bp1ix9w22kv6aew9****', 'title' => ''], + 'PortList' => [ + 'description' => 'The port list.', + 'type' => 'array', + 'items' => ['description' => 'The port list.', 'type' => 'string', 'example' => '["3000","5601","8886,"8887","8889"]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'NatFirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-tr-7a9c8901ed394****'."\n", + 'ServiceNameList' => [ + 'description' => 'The application list.', + 'type' => 'array', + 'items' => ['description' => 'The application list.', 'type' => 'string', 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'NatFirewallName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-test', + 'TotalReplyBytes' => ['description' => 'The total reply traffic over the last 7 days.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => ''], + 'SrcIpCnt' => ['description' => 'The number of source IP addresses.', 'type' => 'integer', 'format' => 'int64', 'example' => '22', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member account. For more information about member accounts, see multi-account management.', 'type' => 'integer', 'format' => 'int64', 'example' => '14151892****7022', 'title' => ''], + 'InBytes' => ['description' => 'The inbound network throughput (total bytes sent). Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '235', 'title' => ''], + 'OutBytes' => ['description' => 'The outbound network throughput (total bytes sent). Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1123', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '253023143', 'title' => ''], + 'UnknownReason' => [ + 'description' => 'The reason why the protocol could not be identified when the identified protocol is Unknown.', + 'type' => 'array', + 'items' => ['description' => 'The reason why the protocol could not be identified when the identified protocol is Unknown.', 'type' => 'string', 'example' => 'no_payload', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query public IP addresses of protected assets exposed to the internet', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetOpenIp'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataCount\\": 2,\\n \\"TrafficTime\\": \\"1656923760\\",\\n \\"DataList\\": [\\n {\\n \\"Ip\\": \\"10.66.231.XXX\\",\\n \\"InBps\\": 187,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232,\\n \\"SessionCount\\": \\"27\\",\\n \\"NewConn\\": \\"27\\",\\n \\"ResourceInstanceId\\": \\"i-bp130nn8h6157dir****\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"RegionNo\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6pnry5vpawb****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatFirewallId\\": \\"vfw-tr-7a9c8901ed394****\\\\n\\",\\n \\"NatFirewallName\\": \\"vfw-test\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"AclRecommendDetail\\": \\"No recommended intelligent policies are available.\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"HasAclRecommend\\": true,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"0\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"PublicIp\\": \\"203.0.113.1\\",\\n \\"RiskReason\\": \\"Previous traffic is all malicious traffic.\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"PortList\\": [\\n \\"[\\\\\\"3000\\\\\\",\\\\\\"5601\\\\\\",\\\\\\"8886,\\\\\\"8887\\\\\\",\\\\\\"8889\\\\\\"]\\"\\n ],\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"TotalReplyBytes\\": 100000,\\n \\"SrcIpCnt\\": 22,\\n \\"MemberUid\\": 0,\\n \\"InBytes\\": 235,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 253023143,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'machine', ], - 'DescribeNetworkTrafficTopRatio' => [ - 'summary' => '获取网络流量TOP环比', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInternetOpenPort' => [ + 'summary' => 'Queries the ports that are open to the Internet.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17737,34 +14993,25 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68316', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68278', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '60.12.220.XXX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address.', 'title' => '', 'example' => '114.242.33.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], + 'description' => 'The language of the content.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], @@ -17772,191 +15019,72 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], + 'description' => 'The language of the content.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - [ - 'name' => 'AppName', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The name of the application. This is an exact match. If you do not specify this parameter, all applications are queried.', 'title' => '', 'example' => 'SMB'], ], [ - 'name' => 'AssetIP', + 'name' => 'ServiceNameFuzzy', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The name of the application. This is a fuzzy match. If you do not specify this parameter, all applications are queried.', 'title' => '', 'example' => 'SMB'], ], [ - 'name' => 'AssetRegion', + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => 'cn-beijing', - ], - ], - [ - 'name' => 'DataType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in_src_location' => '', - 'in_src_ip' => '', - ], - 'example' => 'in_src_ip', + 'description' => 'The risk level.', + 'enumValueTitles' => [1 => 'Low', 'Medium', 'High', -1 => 'In assessment'], + 'title' => '', + 'example' => '3', ], ], [ - 'name' => 'Direction', + 'name' => 'SuggestLevel', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'in', + 'description' => 'The recommended policy level.', + 'enumValueTitles' => ['Unknown', 10 => 'Allow', 30 => 'Deny', -1 => 'In assessment', ' 20' => 'Alert'], + 'title' => '', + 'example' => '10', ], ], [ - 'name' => 'DstIP', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '39.144.124.XXX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The port number.', 'title' => '', 'example' => '80'], ], [ - 'name' => 'DstPort', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '8080', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The start of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'title' => '', 'example' => '1735264800'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1757433863', - ], - ], - [ - 'name' => 'IpProperty', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'proxy', - ], - ], - [ - 'name' => 'Isp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'Location', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'RuleResult', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'in_bytes' => 'in_bytes', - 'total_bytes' => 'total_bytes', - ], - 'example' => 'in_bytes', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'title' => '', 'example' => '1748358644'], ], [ - 'name' => 'SrcIP', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.169.XXX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The page number for a paged query.', 'title' => '', 'example' => '1'], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749176793', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The number of entries per page for a paged query.', 'title' => '', 'example' => '10'], ], ], 'responses' => [ @@ -17964,93 +15092,120 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DataType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'in_src_location' => '', - 'in_src_ip' => '', + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'F3637663-991B-547F-9163-1A5AC367****'], + 'PageInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The current page number.', 'title' => '', 'example' => '1'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries per page.', 'title' => '', 'example' => '10'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '39'], ], - 'example' => 'in_src_ip', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C05D58A1-28A9-563A-BB59-5F7D1867****', - ], - 'DataCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'description' => 'The pagination information.', + 'title' => '', + 'example' => '', ], 'DataList' => [ - 'description' => '', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'DataValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => '12', + 'RiskLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The risk level.', + 'enumValueTitles' => [1 => 'Low', 'Medium', 'High', -1 => 'In assessment'], + 'title' => '', + 'example' => '3', ], - 'DataName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', + 'ProbRiskDesc' => ['type' => 'string', 'description' => 'The description of the security threat.', 'title' => '', 'example' => 'desc'], + 'TrafficPercent1Day' => ['type' => 'string', 'description' => 'The percentage of traffic in the last 24 hours. Valid values: **1** to **100**.', 'title' => '', 'example' => '10'], + 'Protocol' => ['type' => 'string', 'description' => 'The protocol.', 'title' => '', 'example' => 'tcp'], + 'PublicIpNum' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of public IP addresses that have the port open.', 'title' => '', 'example' => '10'], + 'SuggestLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The recommended policy level.', + 'enumValueTitles' => ['Unknown', 10 => 'Allow', 20 => 'Alert', 30 => 'Deny', ' -1' => 'In assessment'], + 'title' => '', + 'example' => '20', + ], + 'DetailNum' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of details.', 'title' => '', 'example' => '5'], + 'Port' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The open port.', 'title' => '', 'example' => '80'], + 'TrafficPercent7Day' => ['type' => 'string', 'description' => 'The percentage of traffic in the last 7 days.', 'title' => '', 'example' => '30'], + 'TrafficPercent30Day' => ['type' => 'string', 'description' => 'The percentage of traffic in the last 30 days.', 'title' => '', 'example' => '48'], + 'ProbRisk' => ['type' => 'string', 'description' => 'The security threat.', 'title' => '', 'example' => 'test'], + 'RiskReason' => ['type' => 'string', 'description' => 'The description of the risk.', 'title' => '', 'example' => 'test'], + 'ServiceNameList' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The list of applications.', 'title' => '', 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']'], + 'description' => 'The list of applications.', + 'title' => '', + 'example' => '', + ], + 'InBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The inbound traffic.', 'title' => '', 'example' => '1456536639.0'], + 'OutBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The outbound traffic.', 'title' => '', 'example' => '117200.0'], + 'TotalBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total traffic. Unit: bytes.', 'title' => '', 'example' => '621404'], + 'UnknownReason' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The reason why the protocol is not identified when the protocol is detected as Unknown.', 'title' => '', 'example' => 'no_payload'], + 'description' => 'The reason why the protocol is not identified when the protocol is detected as Unknown.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"C05D58A1-28A9-563A-BB59-5F7D1867****\\",\\n \\"DataCount\\": 1,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"12\\",\\n \\"DataName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOutgoingStatistic' => [ - 'summary' => '获取外联统计', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeInternetOpenPort', + 'description' => '## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F3637663-991B-547F-9163-1A5AC367****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 39\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"desc\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 10,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"Port\\": 80,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"InBytes\\": 1456536639,\\n \\"OutBytes\\": 117200,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetOpenService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18062,30 +15217,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68331', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68279', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '117.32.136.XXX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the visitor.', 'title' => '', 'example' => '122.200.64.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], @@ -18093,197 +15242,202 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], [ - 'name' => 'StartTime', + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The name of the application for an exact match. If you do not specify this parameter, all applications are queried.', 'title' => '', 'example' => 'SMB'], + ], + [ + 'name' => 'ServiceNameFuzzy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The name of the application for a fuzzy match. If you do not specify this parameter, all applications are queried.', 'title' => '', 'example' => 'SMB'], + ], + [ + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', - 'required' => true, - 'example' => '1746554400', + 'required' => false, + 'description' => 'The risk level.', + 'enumValueTitles' => ['None', 'Low', 'Medium', 'High', -1 => 'In assessment'], + 'title' => '', + 'example' => '2', ], ], [ - 'name' => 'EndTime', + 'name' => 'SuggestLevel', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', - 'required' => true, - 'example' => '1734920543', + 'required' => false, + 'description' => 'The recommended policy level.', + 'enumValueTitles' => ['Unknown', 10 => 'Allow', 20 => 'Alert', 30 => 'Deny', ' -1' => 'In assessment'], + 'title' => '', + 'example' => '10', ], ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The port number.', 'title' => '', 'example' => '3389'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The start of the time range to query. The value is a UNIX timestamp in seconds.', 'title' => '', 'example' => '1755742107'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The end of the time range to query. The value is a UNIX timestamp in seconds.', 'title' => '', 'example' => '1753804800'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The page number.', 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The number of entries per page.', 'title' => '', 'example' => '10'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'UnknownProtocolRadio' => [ - 'description' => '', - 'type' => 'string', - 'example' => '20.13'."\n", - ], - 'SubscribeDstIPCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****'], + 'PageInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The page number.', 'title' => '', 'example' => '1'], + 'PageSize' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of entries per page.', 'title' => '', 'example' => '20'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '10'], + ], + 'description' => 'The paging information.', + 'title' => '', + 'example' => '', ], - 'TotalProtocolCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'UncoveredAclDstIP' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalDomainCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SubscribeDomainCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalAssetCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '13', - ], - 'TotalDstIPCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '107', - ], - 'IgnoreDstIPCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'E2BD70F4-48BF-5EFD-B103-F0763E27*****', - ], - 'IgnoreDomainCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'IgnoreAssetCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RiskDstIPCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RiskAssetCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'UncoveredAclDomain' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RiskDomainCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SubscribeAssetCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'PrivateTotalAssetCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'PrivateRiskAssetCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The risk level.', + 'enumValueTitles' => ['None', 'Low', 'Medium', 'High', ' -1' => 'In assessment'], + 'title' => '', + 'example' => '3', + ], + 'ProbRiskDesc' => ['type' => 'string', 'description' => 'The description of the security threat.', 'title' => '', 'example' => 'test'], + 'TrafficPercent1Day' => ['type' => 'string', 'description' => 'The traffic percentage over the last 24 hours.', 'title' => '', 'example' => '0'], + 'Protocol' => [ + 'type' => 'string', + 'description' => 'The protocol type.', + 'enumValueTitles' => ['tcp' => 'TCP', 'udp' => 'UDP'], + 'title' => '', + 'example' => 'tcp', + ], + 'PublicIpNum' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of exposed public IP addresses.', 'title' => '', 'example' => '3'], + 'SuggestLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + 'description' => 'The recommended policy level.', + 'enumValueTitles' => ['Unknown', 10 => 'Allow', 20 => 'Alert', 30 => 'Deny', -1 => 'In assessment'], + 'title' => '', + 'example' => '20', + ], + 'DetailNum' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of details.', 'title' => '', 'example' => '5'], + 'TrafficPercent7Day' => ['type' => 'string', 'description' => 'The traffic percentage over the last 7 days.', 'title' => '', 'example' => '77'], + 'TrafficPercent30Day' => ['type' => 'string', 'description' => 'The traffic percentage over the last 30 days.', 'title' => '', 'example' => ' 0'], + 'ProbRisk' => ['type' => 'string', 'description' => 'The security threat.', 'title' => '', 'example' => 'test'], + 'ServiceName' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The application name.', 'title' => '', 'example' => 'SMB'], + 'RiskReason' => ['type' => 'string', 'description' => 'The description of the risk.', 'title' => '', 'example' => 'test'], + 'PortList' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The list of open ports.', 'title' => '', 'example' => '['."\n" + .' 80,'."\n" + .' 8080,'."\n" + .' 80,'."\n" + .' 21'."\n" + .']'], + 'description' => 'The list of open ports.', + 'title' => '', + 'example' => '', + ], + 'InBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The inbound traffic.', 'title' => '', 'example' => '447458.0'], + 'OutBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The outbound traffic.', 'title' => '', 'example' => '1123'], + 'TotalBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total traffic.', 'title' => '', 'example' => '621404'], + 'UnknownReason' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The reason why the protocol is not identified if the detected protocol is \\`Unknown\\`.', 'title' => '', 'example' => 'no_payload'], + 'description' => 'The reason why the protocol is not identified if the detected protocol is \\`Unknown\\`.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of data.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeInternetOpenService', + 'summary' => 'Queries services exposed to the Internet.', + 'description' => '## QPS limits'."\n" + ."\n" + .'You can make up to 10 queries per second (QPS). If you exceed this limit, API calls are throttled. This may affect your business. We recommend that you make API calls at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UnknownProtocolRadio\\": \\"20.13\\\\n\\",\\n \\"SubscribeDstIPCount\\": 10,\\n \\"TotalProtocolCount\\": 10,\\n \\"UncoveredAclDstIP\\": 10,\\n \\"TotalDomainCount\\": 10,\\n \\"SubscribeDomainCount\\": 10,\\n \\"TotalAssetCount\\": 13,\\n \\"TotalDstIPCount\\": 107,\\n \\"IgnoreDstIPCount\\": 0,\\n \\"RequestId\\": \\"E2BD70F4-48BF-5EFD-B103-F0763E27*****\\",\\n \\"IgnoreDomainCount\\": 10,\\n \\"IgnoreAssetCount\\": 0,\\n \\"RiskDstIPCount\\": 1,\\n \\"RiskAssetCount\\": 0,\\n \\"UncoveredAclDomain\\": 0,\\n \\"RiskDomainCount\\": 1,\\n \\"SubscribeAssetCount\\": 0,\\n \\"PrivateTotalAssetCount\\": 0,\\n \\"PrivateRiskAssetCount\\": 0\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 10\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 3,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"77\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"ServiceName\\": 0,\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"InBytes\\": 447458,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeOutgoingAssetList' => [ - 'summary' => '获取外联资产列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInternetOpenStatistic' => [ + 'summary' => 'Retrieves statistics about assets exposed to the Internet.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18295,429 +15449,419 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68322', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], + 'abilityTreeCode' => '68280', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '202.109.244.XX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1743647114', - ], + 'schema' => ['description' => 'The start of the time range to query. This value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1734386501', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1736386501', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'InternetIpNum' => ['description' => 'The total number of public IP addresses exposed to the Internet.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + 'InternetPortNum' => ['description' => 'The total number of ports exposed to the Internet.', 'type' => 'integer', 'format' => 'int32', 'example' => '38', 'title' => ''], + 'InternetUnprotectedPortNum' => ['description' => 'The number of ports that are not protected by an access control list (ACL).', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'InternetRiskServiceNum' => ['description' => 'The number of risky applications.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6AB7822C-0D73-5D1D-81FD-45D4FB7C****', 'title' => ''], + 'InternetRiskPortNum' => ['description' => 'The number of risky ports.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'InternetRiskIpNum' => ['description' => 'The number of risky public IP addresses exposed to the Internet.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'InternetSlbIpNum' => ['description' => 'The number of public IP addresses of Server Load Balancer (SLB) instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'InternetServiceNum' => ['description' => 'The total number of applications exposed to the Internet.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], + 'InternetSlbIpPortNum' => ['description' => 'The number of public ports of SLB instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '16', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1736438400', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeInternetOpenStatistic', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetIpNum\\": 9,\\n \\"InternetPortNum\\": 38,\\n \\"InternetUnprotectedPortNum\\": 6,\\n \\"InternetRiskServiceNum\\": 3,\\n \\"RequestId\\": \\"6AB7822C-0D73-5D1D-81FD-45D4FB7C****\\",\\n \\"InternetRiskPortNum\\": 5,\\n \\"InternetRiskIpNum\\": 8,\\n \\"InternetSlbIpNum\\": 10,\\n \\"InternetServiceNum\\": 15,\\n \\"InternetSlbIpPortNum\\": 16\\n}","type":"json"}]', + ], + 'DescribeInternetServiceNameList' => [ + 'summary' => 'Retrieves a list of Internet service names.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68281', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + ], + 'parameters' => [ [ - 'name' => 'CurrentPage', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '140.240.17.XXX', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - ], - 'example' => 'NatEIP', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'AssetsRegion', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [], - 'example' => 'cn-beijing', + 'example' => 'zh', + 'title' => '', ], ], - [ - 'name' => 'GroupName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '91B01BCD-DFB0-5CA8-9191-5B38C62****', 'title' => ''], + 'ServiceNameList' => [ + 'type' => 'array', + 'items' => ['description' => 'A list of application names.', 'type' => 'string', 'example' => '['."\n" + .' "SMB",'."\n" + .' "MySQL"'."\n" + .']', 'title' => ''], + 'description' => 'A list of application names.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'subscribe' => 'subscribe', - 'ignore' => 'ignore', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeInternetServiceNameList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetServiceNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'subscribe', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"91B01BCD-DFB0-5CA8-9191-5B38C62****\\",\\n \\"ServiceNameList\\": [\\n \\"[\\\\n \\\\\\"SMB\\\\\\",\\\\n \\\\\\"MySQL\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetSlb' => [ + 'summary' => 'Retrieves the details of Internet-facing SLB instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PublicIP', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68282', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.116.70.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '112.64.233.XXX', 'title' => ''], ], [ - 'name' => 'PrivateIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '10.200.33.XXX', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'SecurityRisk', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'normal' => '', - 'risk' => '', - ], - 'example' => 'risk', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'Sort', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => '', - 'SessionCount' => '', - 'OutBytes' => '', - ], - 'example' => 'InBytes', - ], + 'schema' => ['description' => 'The region. If you do not specify this parameter, all regions are queried.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Order', + 'name' => 'PublicIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '', - 'desc' => '', - ], - 'example' => 'desc', - ], + 'schema' => ['description' => 'The public IP address. Fuzzy search is supported. If you do not specify this parameter, all public IP addresses are queried.', 'type' => 'string', 'required' => false, 'example' => '47.108.60.XXX', 'title' => ''], ], [ - 'name' => 'IPType', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'NatPrivate', - ], + 'schema' => ['description' => 'The ID of the SLB instance. Fuzzy search is supported.', 'type' => 'string', 'required' => false, 'example' => 'lb-2ze8v2x5kd9qyvp2****', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-bp123456g******', - ], + 'schema' => ['description' => 'The name of the SLB instance. Fuzzy search is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'NatGatewayName', + 'name' => 'Tag', + 'in' => 'query', + 'schema' => ['description' => 'The tag. If you do not specify this parameter, all tags are searched.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'IpProtocol', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The protocol type.', + 'enumValueTitles' => ['tcp' => 'TCP', 'udp' => 'UDP', 'http' => 'HTTP', 'https' => 'HTTPS'], 'type' => 'string', 'required' => false, - 'example' => 'ngw-test', + 'example' => 'tcp', + 'title' => '', ], ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The port.', 'type' => 'string', 'required' => false, 'example' => '63389', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7A515672-FAAE-584F-B51C-B2586E****', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '135BF83A-0416-5A11-96BB-FA7604D4****', 'title' => ''], + 'PageInfo' => [ + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], + 'description' => 'The pagination information.', + 'title' => '', + 'example' => '', ], - 'AssetList' => [ - 'description' => '', + 'DataList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - 'EIP' => 'EIP', - ], - 'example' => 'EcsPublicIP', - ], - 'AssetInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-8vbcmllue4d94nto****', - ], - 'GroupName' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'subscribe' => '', - 'ignore' => '', - ], - 'example' => 'subscribe', - ], - 'AssetsRegion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'SecurityRisk' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => '', - 'risk' => '', - ], - 'example' => 'risk', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '244438.0', - ], - 'PublicIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.96.181.XXX', - ], - 'AssetInstanceName' => [ - 'description' => '', + 'AclType' => [ + 'description' => 'The access control type.', + 'enumValueTitles' => ['white' => 'whitelist', 'black' => 'blacklist'], 'type' => 'string', - 'example' => 'test', + 'example' => 'white', + 'title' => '', ], - 'PrivateIP' => [ - 'description' => '', + 'AclId' => ['description' => 'The access control ID.', 'type' => 'string', 'example' => 'acl-uf66n6l9mf3fgq8xs****', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the SLB instance.', 'type' => 'string', 'example' => 'buyerpro1', 'title' => ''], + 'RegionNo' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'AclStatus' => [ + 'description' => 'The status of access control.', + 'enumValueTitles' => ['off' => 'Access control is disabled.', 'on' => 'Access control is enabled.'], 'type' => 'string', - 'example' => '10.21.242XXX', + 'example' => 'on', + 'title' => '', ], - 'NatGatewayId' => [ - 'description' => '', + 'PublicIp' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '39.108.57.XXX', 'title' => ''], + 'IpProtocol' => [ + 'description' => 'The protocol type.', + 'enumValueTitles' => ['tcp' => 'TCP', 'udp' => 'UDP', 'http' => 'HTTP', 'https' => 'HTTPS'], 'type' => 'string', - 'example' => 'ngw-bp1utx6wj4x9qu9tl****', + 'example' => 'tcp', + 'title' => '', ], - 'NatGatewayName' => [ - 'description' => '', + 'InstanceId' => ['description' => 'The ID of the SLB instance.', 'type' => 'string', 'example' => 'lb-2ze8v2x5kd9qyvp2****', 'title' => ''], + 'Port' => ['description' => 'The port number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1883', 'title' => ''], + 'HealthStatus' => [ + 'description' => 'The health check status.', + 'enumValueTitles' => ['normal' => 'The instance is healthy.', 'abnormal' => 'The instance is unhealthy.', 'unavailable' => 'The health check is not complete.', 'close ' => 'Health check is disabled.'], 'type' => 'string', - 'example' => 'ngw-test', - ], - 'OutgoingDomainCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'OutgoingDstIPCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12498767', + 'example' => 'normal', + 'title' => '', ], - 'PrivateIPList' => [ - 'description' => '', + 'Tags' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '["47.256.35.XXX"]', - ], - ], - 'IpsHitCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', + 'items' => ['description' => 'The list of tags.', 'type' => 'string', 'example' => '[]', 'title' => ''], + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The list of data.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of data.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecurityRisk', - 'errorMessage' => 'The security risk is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorSlbOpenApi', 'errorMessage' => 'An SLB OpenAPI error occurred.', 'description' => 'An SLB OpenAPI error occurred.'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal Error'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"7A515672-FAAE-584F-B51C-B2586E****\\",\\n \\"AssetList\\": [\\n {\\n \\"SessionCount\\": 2,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"AssetInstanceId\\": \\"i-8vbcmllue4d94nto****\\",\\n \\"GroupName\\": \\"subscribe\\",\\n \\"AssetsRegion\\": \\"cn-hangzhou\\",\\n \\"OutBytes\\": 100,\\n \\"SecurityRisk\\": \\"risk\\",\\n \\"InBytes\\": 244438,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"AssetInstanceName\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"OutgoingDomainCnt\\": 10,\\n \\"OutgoingDstIPCnt\\": 12,\\n \\"TotalBytes\\": 12498767,\\n \\"PrivateIPList\\": [\\n \\"[\\\\\\"47.256.35.XXX\\\\\\"]\\"\\n ],\\n \\"IpsHitCnt\\": 12\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeConfiguredDomainNames' => [ - 'summary' => '获取已配置的域名', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeInternetSlb', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"135BF83A-0416-5A11-96BB-FA7604D4****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 0\\n },\\n \\"DataList\\": [\\n {\\n \\"AclType\\": \\"white\\",\\n \\"AclId\\": \\"acl-uf66n6l9mf3fgq8xs****\\",\\n \\"InstanceName\\": \\"buyerpro1\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"AclStatus\\": \\"on\\",\\n \\"PublicIp\\": \\"39.108.57.XXX\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"lb-2ze8v2x5kd9qyvp2****\\",\\n \\"Port\\": 1883,\\n \\"HealthStatus\\": \\"normal\\",\\n \\"Tags\\": [\\n \\"[]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetTimeTop' => [ + 'summary' => 'This operation queries the Top-N internet traffic over time.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18729,215 +15873,231 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68237', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68283', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.202.149.XXX', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '60.179.179.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'DomainName', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The direction of the traffic.', + 'enumValueTitles' => ['in' => 'inbound', 'out' => 'outbound'], 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + 'required' => true, + 'example' => 'out', + 'title' => '', ], ], [ - 'name' => 'GroupName', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ignore', - ], + 'schema' => ['description' => 'The identifier for the trace source.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The metric by which to sort the results.', + 'enumValueTitles' => ['out_pps' => 'out\\_pps', 'in_bps' => 'in\\_bps', 'out_bps' => 'out\\_bps', 'in_pps' => 'in\\_pps'], 'type' => 'string', 'required' => false, - 'example' => '10', + 'example' => 'in_bps', + 'title' => '', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'TrafficTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The traffic timestamp to query, specified as a Unix timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1745222880', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'out', - ], + 'schema' => ['description' => 'The maximum number of entries to return. The value must be between 1 and 50. Default value: 50.', 'type' => 'string', 'required' => false, 'example' => '5', 'title' => ''], ], [ - 'name' => 'SourceCode', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '8.153.18.XX', 'title' => ''], ], - ], - 'responses' => [ + [ + 'name' => 'NatIP', + 'in' => 'query', + 'schema' => ['description' => 'The NAT public IP address. If omitted, traffic data for all assets is returned.', 'type' => 'string', 'required' => false, 'example' => '47.97.66.XXX', 'title' => ''], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'description' => 'The sort order.', + 'enumValueTitles' => ['asc' => 'ascending', 'desc' => 'descending'], + 'type' => 'string', + 'required' => false, + 'example' => 'desc', + 'title' => '', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start of the query time range, specified as a Unix timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1749434787', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the query time range, specified as a Unix timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1733796528', 'title' => ''], + ], + [ + 'name' => 'TrafficType', + 'in' => 'query', + 'schema' => ['description' => 'The traffic type.', 'type' => 'string', 'required' => false, 'example' => 'EIP_TRAFFIC', 'title' => ''], + ], + [ + 'name' => 'IPType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The network type of the IP address.', + 'enumValueTitles' => ['Private' => 'Virtual Private Cloud', 'Public' => 'public network'], + 'type' => 'string', + 'required' => false, + 'example' => 'Public', + 'title' => '', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The time interval in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], + ], + ], + 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg_server', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '09A2D6F1-EA1B-56D9-977D-74878405****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '16', - ], - 'DomainNames' => [ - 'description' => '', + 'TrafficTime' => ['description' => 'The timestamp of the traffic data. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1734399660', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7F2D5C04-731F-50B0-ADE1-01637B3C****', 'title' => ''], + 'DataCount' => ['description' => 'The number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '19', 'title' => ''], + 'DataList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'IsMalicious' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => '0', - ], - 'OperationTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1534408189', - ], - 'DomainName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.com', - ], - 'Comment' => [ - 'description' => '', + 'ResourceInstanceName' => ['description' => 'The name of the asset.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'InBps' => ['description' => 'The inbound bandwidth. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '187', 'title' => ''], + 'ResourceInstanceId' => ['description' => 'The ID of the asset instance.', 'type' => 'string', 'example' => 'lb-bp14ue2rgktunncq****', 'title' => ''], + 'NewConn' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '27', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + 'OutPps' => ['description' => 'The outbound packet forwarding rate. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'IP' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '183.60.164.XXX', 'title' => ''], + 'OutBps' => ['description' => 'The outbound traffic. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '45', 'title' => ''], + 'PrivateIP' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '10.21.186.XXX', 'title' => ''], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '27', 'title' => ''], + 'ResourceType' => [ + 'description' => 'The type of the public IP address.', + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP'], 'type' => 'string', - 'example' => 'test', + 'example' => 'EcsPublicIP', + 'title' => '', ], - ], + 'InPps' => ['description' => 'The inbound packet forwarding rate. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'TotalPps' => ['description' => 'The total number of packets.', 'type' => 'integer', 'format' => 'int64', 'example' => '88', 'title' => ''], + 'TotalBps' => ['description' => 'The total bandwidth. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '232', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC) instance.', 'type' => 'string', 'example' => 'vpc-wz9o0uzfjuj81fx7m****', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'example' => 'ngw-wz98eedr5l5hkb8****e7', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT gateway.', 'type' => 'string', 'example' => 'ngw-test', 'title' => ''], + 'NatIP' => ['description' => 'The public IP address of the NAT gateway.', 'type' => 'string', 'example' => '47.97.66.XXX', 'title' => ''], + ], + 'description' => 'The data entry.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of data entries.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => 'The traffic type is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorLimitFailed', 'errorMessage' => 'The limit is invalid.', 'description' => 'The limit count is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeInternetTimeTop', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"09A2D6F1-EA1B-56D9-977D-74878405****\\",\\n \\"TotalCount\\": 16,\\n \\"DomainNames\\": [\\n {\\n \\"IsMalicious\\": true,\\n \\"OperationTime\\": 1534408189,\\n \\"DomainName\\": \\"example.com\\",\\n \\"Comment\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrafficTime\\": 1734399660,\\n \\"RequestId\\": \\"7F2D5C04-731F-50B0-ADE1-01637B3C****\\",\\n \\"DataCount\\": 19,\\n \\"DataList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"InBps\\": 187,\\n \\"ResourceInstanceId\\": \\"lb-bp14ue2rgktunncq****\\",\\n \\"NewConn\\": 27,\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutPps\\": 2,\\n \\"IP\\": \\"183.60.164.XXX\\",\\n \\"OutBps\\": 45,\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"SessionCount\\": 27,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"InPps\\": 2,\\n \\"TotalPps\\": 88,\\n \\"TotalBps\\": 232,\\n \\"VpcId\\": \\"vpc-wz9o0uzfjuj81fx7m****\\",\\n \\"NatGatewayId\\": \\"ngw-wz98eedr5l5hkb8****e7\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatIP\\": \\"47.97.66.XXX\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeConfiguredDestinationIP' => [ - 'summary' => '获取已配置的目的IP', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInternetTrafficTop' => [ + 'summary' => 'Queries the top Internet traffic trends.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18949,138 +16109,124 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68235', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68285', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123.113.99.XXX', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '117.82.14.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'DestinationIP', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'Inbound traffic', 'out' => 'Outbound traffic'], 'type' => 'string', 'required' => false, - 'example' => '1.1.1.1'."\n", + 'example' => 'in', + 'title' => '', ], ], [ - 'name' => 'DestinationRegion', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], + 'schema' => ['description' => 'The start time. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1656664560', 'title' => ''], ], [ - 'name' => 'DestinationISP', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The end time. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1734055824', 'title' => ''], ], [ - 'name' => 'GroupName', + 'name' => 'SourceCode', + 'in' => 'query', + 'schema' => ['description' => 'The tracing code for the source.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], + ], + [ + 'name' => 'DataType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of traffic data.', + 'enumValueTitles' => ['in_src_location' => 'Source location', 'in_src_ip' => 'Source IP address'], 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'subscribe' => 'subscribe', - 'ignore' => 'ignore', - ], - 'example' => 'ignore', + 'example' => 'in_src_ip', + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'RuleResult', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The action of the rule.', + 'enumValueTitles' => ['Allow', 'Alert', 'Drop'], 'type' => 'string', 'required' => false, - 'example' => '20', + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'RuleSource', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The source of the rule.', + 'enumValueTitles' => [1 => 'Basic protection', 'Virtual patching', 'Basic ACL', 'Threat intelligence'], 'type' => 'string', 'required' => false, 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'Direction', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The sorting method.', + 'enumValueTitles' => ['in_bytes' => 'in\\_bytes', 'session_count' => 'session\\_count', 'out_bytes' => 'out\\_bytes', 'total_bytes' => 'total\\_bytes', 'out_packets' => 'out\\_packets', 'in_packets' => 'in\\_packets'], 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'out', + 'required' => false, + 'example' => 'in_bytes', + 'title' => '', ], ], [ - 'name' => 'SourceCode', + 'name' => 'ShowCountryName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => 'The name of the country to display.', 'type' => 'string', 'required' => false, 'example' => 'China', 'title' => ''], + ], + [ + 'name' => 'Limit', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of top entries to return. The default value is 50. Valid values: 1 to 50.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''], ], ], 'responses' => [ @@ -19088,116 +16234,88 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', + 'DataType' => [ + 'description' => 'The type of traffic data.', + 'enumValueTitles' => ['in_src_location' => 'Source location', 'in_src_ip' => 'Source IP address'], 'type' => 'string', - 'example' => 'F0AE91F8-E6C5-50D4-983F-FC53672****', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '32', + 'example' => 'in_src_ip', + 'title' => '', ], - 'Destinations' => [ - 'description' => '', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', 'title' => ''], + 'DataCount' => ['description' => 'The number of traffic data entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'DataList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'DestinationIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'DestinationRegion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'OperationTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1534408189', - ], - 'DestinationISP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Comment' => [ - 'description' => '', - 'type' => 'string', + 'DataValue' => ['description' => 'The inbound traffic percentage.', 'type' => 'string', 'example' => '47.12', 'title' => ''], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '27', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'DataName' => ['description' => 'The name of the country.', 'type' => 'string', 'example' => 'US', 'title' => ''], + 'IsSubscribed' => ['description' => 'Indicates whether the data is subscribed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'LabelList' => [ + 'type' => 'array', + 'items' => ['description' => 'A label.', 'type' => 'string', 'example' => 'NA', 'title' => ''], + 'description' => 'The list of labels.', + 'title' => '', 'example' => '', ], ], + 'description' => 'The list of traffic data.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of traffic data.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorRuleSourceError', 'errorMessage' => 'The rule source is invalid.', 'description' => 'The rule source is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorLimitCountFailed', 'errorMessage' => 'The limit count is invalid.', 'description' => 'The limit is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"RequestId\\": \\"F0AE91F8-E6C5-50D4-983F-FC53672****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 32,\\n \\"Destinations\\": [\\n {\\n \\"DestinationIP\\": \\"1.1.1.1\\",\\n \\"DestinationRegion\\": \\"cn-shenzhen\\",\\n \\"OperationTime\\": 1534408189,\\n \\"DestinationISP\\": \\"电信\\",\\n \\"Comment\\": \\"测试\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOutgoingDestinationCategory' => [ - 'summary' => '获取外联目的分类', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeInternetTrafficTop', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"DataCount\\": 10,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"47.12\\",\\n \\"SessionCount\\": 27,\\n \\"TotalBytes\\": 0,\\n \\"DataName\\": \\"US\\",\\n \\"IsSubscribed\\": false,\\n \\"LabelList\\": [\\n \\"NA\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetTrafficTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19209,228 +16327,179 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68325', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68287', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '59.82.45.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '101.80.171.196'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The direction of the Internet traffic. Valid values:'."\n" + ."\n" + .'- **in**: inbound'."\n" + ."\n" + .'- **out**: outbound', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'in'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749657600', - ], + 'schema' => ['description' => 'The start of the time range to query. This value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1670307484'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1750818370', - ], + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1674958929'], ], [ - 'name' => 'CategoryId', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '', - 'RiskDomain' => '', - 'AliYun' => '', - 'NotAliYun' => '', - ], - 'example' => 'All', - ], + 'schema' => ['description' => 'The source tracking code.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'yundun'], ], [ - 'name' => 'TypeId', + 'name' => 'SrcPublicIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '', - 'AliYun' => '', - 'NotAliYun' => '', - ], - 'example' => 'All', - ], + 'schema' => ['description' => 'The source public IP address.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '47.112.210.136'], ], [ - 'name' => 'DstType', + 'name' => 'SrcPrivateIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'DstIP' => '', - 'Domain' => '', - ], - 'example' => 'domain', - ], + 'schema' => ['description' => 'The source private IP address.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10.100.134.60'], + ], + [ + 'name' => 'TrafficType', + 'in' => 'query', + 'schema' => ['description' => 'The type of traffic to query. Valid values:'."\n" + ."\n" + .'- **max** (default): peak traffic'."\n" + ."\n" + .'- **avg**: average traffic', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'max'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C1ED80BC-FFC8-57DB-8151-705DC31****', - ], - 'TypeList' => [ - 'description' => '', + 'MaxTotalBps' => ['description' => 'The peak total network throughput for inbound and outbound traffic. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '89783147'], + 'MaxBandwidthTime' => ['description' => 'The UNIX timestamp when the peak bandwidth was reached. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1672736400'], + 'AvgInBps' => ['description' => 'The average inbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '6114152'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'C7E837BE-0379-565E-B7B4-DE595C8D337C'], + 'MaxInBps' => ['description' => 'The peak inbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10275643'], + 'MaxOutBps' => ['description' => 'The peak outbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '395188'], + 'AvgSession' => ['description' => 'The average number of requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '79013'], + 'MaxSession' => ['description' => 'The peak number of requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '931641'], + 'AvgTotalBps' => ['description' => 'The average total network throughput for inbound and outbound traffic. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2306'], + 'AvgOutBps' => ['description' => 'The average outbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '70148993'], + 'TotalInBytes' => ['description' => 'The total inbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '41536824243873'], + 'TotalOutBytes' => ['description' => 'The total outbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2660894567178'], + 'TotalBytes' => ['description' => 'The total inbound and outbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '963227674958'], + 'TotalSession' => ['description' => 'The total number of requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1061449'], + 'TotalExceedBytes' => ['description' => 'The total excess traffic.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4243873'], + 'MaxDayExceedBytes' => ['description' => 'The peak daily excess traffic.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '873'], + 'DataList' => [ + 'description' => 'A list of traffic statistics.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A list of traffic statistics.', 'type' => 'object', 'properties' => [ - 'TypeName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'TypeId' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'All' => '', - 'AliYun' => '', - 'NotAliYun' => '', - ], - 'example' => 'All', - ], - 'TypeDescribe' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CategoryList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CategoryId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AliYun', - ], - 'CategoryName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CategoryDescribe' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ClassId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Trusted', - ], - ], - ], - ], - ], + 'SessionCount' => ['description' => 'The number of requests.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '27'], + 'Time' => ['description' => 'The time when the traffic was recorded. This value is a UNIX timestamp in seconds.'."\n" + ."\n" + .'If data for this time point has not been processed, the values of other fields are -1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1659405600'], + 'InBps' => ['description' => 'The inbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '187'], + 'InPps' => ['description' => 'The inbound packet rate. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'], + 'NewConn' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '27'], + 'OutBytes' => ['description' => 'The outbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1123'], + 'OutPps' => ['description' => 'The outbound packet rate. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'], + 'InBytes' => ['description' => 'The inbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '235'], + 'OutBps' => ['description' => 'The outbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '45'], + 'TotalBps' => ['description' => 'The total inbound and outbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '232'], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDstType', - 'errorMessage' => 'The dst type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSrcDstIPError', 'errorMessage' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', 'description' => 'The source public IP address and destination public IP address cannot be specified at the same time.'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => 'The traffic type is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"C1ED80BC-FFC8-57DB-8151-705DC31****\\",\\n \\"TypeList\\": [\\n {\\n \\"TypeName\\": \\"阿里云云产品\\",\\n \\"TypeId\\": \\"All\\",\\n \\"TypeDescribe\\": \\"阿里云产品\\",\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"AliYun\\",\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"CategoryDescribe\\": \\"阿里云产品\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOutgoingTag' => [ - 'summary' => '获取外联标签', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeInternetTrafficTrend', + 'summary' => 'Queries Internet traffic trends.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetTrafficTrend'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxTotalBps\\": 89783147,\\n \\"MaxBandwidthTime\\": 1672736400,\\n \\"AvgInBps\\": 6114152,\\n \\"RequestId\\": \\"C7E837BE-0379-565E-B7B4-DE595C8D337C\\",\\n \\"MaxInBps\\": 10275643,\\n \\"MaxOutBps\\": 395188,\\n \\"AvgSession\\": 79013,\\n \\"MaxSession\\": 931641,\\n \\"AvgTotalBps\\": 2306,\\n \\"AvgOutBps\\": 70148993,\\n \\"TotalInBytes\\": 41536824243873,\\n \\"TotalOutBytes\\": 2660894567178,\\n \\"TotalBytes\\": 963227674958,\\n \\"TotalSession\\": 1061449,\\n \\"TotalExceedBytes\\": 4243873,\\n \\"MaxDayExceedBytes\\": 873,\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"Time\\": 1659405600,\\n \\"InBps\\": 187,\\n \\"InPps\\": 2,\\n \\"NewConn\\": 27,\\n \\"OutBytes\\": 1123,\\n \\"OutPps\\": 2,\\n \\"InBytes\\": 235,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEcsTrend' => [ + 'summary' => 'Queries the trend of vulnerabilities on ECS instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19442,82 +16511,49 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68332', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68288', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '60.179.226.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '120.230.45.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1743646544', - ], + 'schema' => ['description' => 'The start of the time range to query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => false, 'example' => '1736561456', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749003483', - ], - ], - [ - 'name' => 'DstType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Domain ', - ], - ], - [ - 'name' => 'TagId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '103208', - ], + 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => false, 'example' => '1733796528', 'title' => ''], ], ], 'responses' => [ @@ -19525,92 +16561,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B532203E-813B-5BEB-B75B-315E1D08****', - ], - 'TagList' => [ - 'description' => '', + 'EndTime' => ['description' => 'The end of the time range. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1736820365', 'title' => ''], + 'StartTime' => ['description' => 'The start of the time range. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1742177725', 'title' => ''], + 'InvadeEcsCount' => ['description' => 'The total number of compromised hosts.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F90E816D-BEE7-5BD6-95ED-474F54****', 'title' => ''], + 'Interval' => ['description' => 'The time interval.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'DataList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'TagName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test tag', - ], - 'TagId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tag-6833388d18cc****', - ], - 'TagDescribe' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test describe', - ], - 'ClassId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Trusted', - ], + 'EcsCount' => ['description' => 'The number of ECS instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '27', 'title' => ''], + 'Time' => ['description' => 'The timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600', 'title' => ''], ], + 'description' => 'The data list.', + 'title' => '', + 'example' => '', ], + 'description' => 'The data list.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B532203E-813B-5BEB-B75B-315E1D08****\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test tag\\",\\n \\"TagId\\": \\"tag-6833388d18cc****\\",\\n \\"TagDescribe\\": \\"test describe\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOutgoingDomain' => [ - 'summary' => 'Queries the information about the domain names in outbound connections.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeInvadeEcsTrend', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEcsTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1736820365,\\n \\"StartTime\\": 1742177725,\\n \\"InvadeEcsCount\\": 2,\\n \\"RequestId\\": \\"F90E816D-BEE7-5BD6-95ED-474F54****\\",\\n \\"Interval\\": 60,\\n \\"DataList\\": [\\n {\\n \\"EcsCount\\": 27,\\n \\"Time\\": 1659405600\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEventDetail' => [ + 'summary' => 'Retrieves the details of a threat detection event.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19622,226 +16635,350 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68289', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '218.76.30.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => 'The language of the content within the request. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language of the content within the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", + 'description' => 'The language of the content within the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', - 'required' => true, - 'example' => '1656664560', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'AssetsInstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', - ], + 'schema' => ['description' => 'The ID of the asset.', 'type' => 'string', 'required' => true, 'example' => 'i-bp135d2rmbwpt****', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'EventUuid', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Default value: 6. Maximum value: 100.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The UUID of the threat detection event.', 'type' => 'string', 'required' => true, 'example' => '92498578-7c42-4845-8c73-7e824782****', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'PublicIP', 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The public IP address.', 'type' => 'string', 'required' => false, 'example' => '182.92.103.XXX', 'title' => ''], ], - [ - 'name' => 'CategoryId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '分类, 枚举值.'."\n" - .'默认值: 空'."\n" - .'可选值: '."\n" - .'All (全部分类)'."\n" - .'RiskDomain (风险域名分类)'."\n" - .'RiskIP (风险IP分类)'."\n" - .'AliYun (云产品分类)'."\n" - .'NotAliYun (非云产品分类)', - 'description' => 'The type of the service. This parameter is empty by default. Valid values:'."\n" - ."\n" - .'* **All**: all services'."\n" - .'* **RiskDomain**: risky domain names'."\n" - .'* **RiskIP**: risky IP addresses'."\n" - .'* **AliYun**: Alibaba Cloud services'."\n" - .'* **NotAliYun**: third-party services'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'All', - ], - ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'title' => '域名', - 'description' => 'The domain name in outbound connections.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'www.aliyundoc.com', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => 'The risk level of the event.', + 'enumValueTitles' => [1 => 'Low', 'Medium', 'High'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'title' => '', + ], + 'EventKey' => ['description' => 'The key of the event.', 'type' => 'string', 'example' => 'C&CActivity', 'title' => ''], + 'EventName' => ['description' => 'The name of the event.', 'type' => 'string', 'example' => 'event_test', 'title' => ''], + 'EventDetail' => ['description' => 'The details of the event.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'EventUuid' => ['description' => 'The UUID of the threat detection event.', 'type' => 'string', 'example' => 'aa6e786c-5034-457a-8e05-1c63fab****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'FirstTime' => ['description' => 'The time when the event first occurred. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1735006706', 'title' => ''], + 'Reference' => ['description' => 'The reference information.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PrivateIP' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '10.21.186.XXX', 'title' => ''], + 'LastTime' => ['description' => 'The time when the event last occurred. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1740104108', 'title' => ''], + 'AssetsInstanceName' => ['description' => 'The name of the asset.', 'type' => 'string', 'example' => 'ECS_test', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8022D695-4A35-50BC-8697-EA9C233A****', 'title' => ''], + 'EventDesc' => ['description' => 'The description of the event.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'IsIgnore' => [ + 'description' => 'Indicates whether the event is ignored.', + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', + ], + 'PublicIP' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '106.15.185.XXX', 'title' => ''], + 'ProcessStatus' => [ + 'description' => 'The handling status of the event.', + 'enumValueTitles' => ['Unhandled', 10 => 'Defended', 20 => 'Handled'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'AssetsInstanceId' => ['description' => 'The instance ID of the asset.', 'type' => 'string', 'example' => 'i-8vb2nmm070m****', 'title' => ''], + 'OperationList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Operate' => ['description' => 'The operation.', 'type' => 'string', 'example' => 'RunMode', 'title' => ''], + 'Args' => ['description' => 'The parameters for the operation.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => 'The list of remediation operations.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of remediation operations.', + 'title' => '', + 'example' => '', + ], + 'UnhandleOperationList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Operate' => ['description' => 'The operation.', 'type' => 'string', 'example' => 'RunMode', 'title' => ''], + 'Args' => ['description' => 'The parameters for the operation.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => 'The list of unhandled operations.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of unhandled operations.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The data returned.', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeInvadeEventDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PublicIP', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => 'The public IP address of the Elastic Compute Service (ECS) instance that initiates outbound connections.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RiskLevel\\": 2,\\n \\"EventKey\\": \\"C&CActivity\\",\\n \\"EventName\\": \\"event_test\\",\\n \\"EventDetail\\": \\"test\\",\\n \\"EventUuid\\": \\"aa6e786c-5034-457a-8e05-1c63fab****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirstTime\\": 1735006706,\\n \\"Reference\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"LastTime\\": 1740104108,\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"RequestId\\": \\"8022D695-4A35-50BC-8697-EA9C233A****\\",\\n \\"EventDesc\\": \\"test\\",\\n \\"IsIgnore\\": false,\\n \\"PublicIP\\": \\"106.15.185.XXX\\",\\n \\"ProcessStatus\\": 1,\\n \\"AssetsInstanceId\\": \\"i-8vb2nmm070m****\\",\\n \\"OperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ],\\n \\"UnhandleOperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEventList' => [ + 'summary' => 'Queries Cloud Firewall threat detection events.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68290', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Sort', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => 'The field based on which you want to sort the query results. Valid values:'."\n" + 'description' => 'The language of the response. Valid values:'."\n" ."\n" - .'* **SessionCount** (default): the number of requests.'."\n" - .'* **TotalBytes**: the total volume of traffic.'."\n", + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'SessionCount', - 'enum' => [], + 'default' => 'zh', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'Order', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => 'The method that you want to use to sort the query results. Valid values:'."\n" - ."\n" - .'* **asc**'."\n" - .'* **desc** (default)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'enum' => [], - ], + 'schema' => ['description' => 'The source IP address that initiated the event.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'TagIdNew', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the tag. Valid values:'."\n" + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" ."\n" - .'* **AliYun**: Alibaba Cloud service'."\n" - .'* **RiskDomain**: risky domain name'."\n" - .'* **RiskIP**: risky IP address'."\n" - .'* **TrustedDomain**: trusted website'."\n" - .'* **AliPay**: Alipay'."\n" - .'* **DingDing**: DingTalk'."\n" - .'* **WeChat**: WeChat'."\n" - .'* **QQ**: Tencent QQ'."\n" - .'* **SecurityService**: security service'."\n" - .'* **Microsoft**: Microsoft'."\n" - .'* **Amazon**: Amazon Web Services (AWS)'."\n" - .'* **Pan**: cloud disk'."\n" - .'* **Map**: map'."\n" - .'* **Code**: code hosting'."\n" - .'* **SystemService**: system service'."\n" - .'* **Taobao**: Taobao'."\n" - .'* **Google**: Google'."\n" - .'* **ThirdPartyService**: third-party service'."\n" - .'* **FirstFlow**: the first time when an outbound connection is initiated'."\n" - .'* **Downloader**: malicious download'."\n" - .'* **Alexa Top1M**: popular website'."\n" - .'* **Miner**: mining pool'."\n" - .'* **Intelligence**: threat intelligence'."\n" - .'* **DDoS**: DDoS trojan'."\n" - .'* **Ransomware**: ransomware'."\n" - .'* **Spyware**: spyware'."\n" - .'* **Rogue**: rogue software'."\n" - .'* **Botnet**: botnet'."\n" - .'* **Suspicious**: suspicious website'."\n" - .'* **C\\&C**: command and control (C\\&C)'."\n" - .'* **Gang**: gang'."\n" - .'* **CVE**: Common Vulnerabilities and Exposures (CVE)'."\n" - .'* **Backdoor**: webshell'."\n" - .'* **Phishing**: phishing website'."\n" - .'* **APT**: advanced persistent threat (APT) attack'."\n" - .'* **Supply Chain Attack**: supply chain attack'."\n" - .'* **Malicious software**: malware'."\n", + .'- **en**: English.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'AliYun', + 'default' => 'zh', + 'example' => 'zh', + 'title' => '', + 'enum' => ['zh', 'en'], ], ], [ - 'name' => 'DataType', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start of the time range to query. This must be a UNIX timestamp in seconds. If you omit this parameter, the query defaults to the last 30 days.', 'type' => 'string', 'required' => false, 'example' => '1656750960', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. This must be a UNIX timestamp in seconds. If you omit this parameter, the query defaults to the current time.', 'type' => 'string', 'required' => false, 'example' => '1656837360', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.'."\n" + ."\n" + .'Default: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return per page.'."\n" + ."\n" + .'Default: 6. Maximum: 10.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'AssetsInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the affected instance.', 'type' => 'string', 'required' => false, 'example' => 'ins_1321_asedb_****', 'title' => ''], + ], + [ + 'name' => 'AssetsInstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the affected instance.', 'type' => 'string', 'required' => false, 'example' => 'ECS_test', 'title' => ''], + ], + [ + 'name' => 'IsIgnore', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to query for ignored breach awareness events. Valid values:'."\n" + ."\n" + .'- **true**: Ignored.'."\n" + ."\n" + .'- **false**: Not ignored.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'true'], + ], + [ + 'name' => 'AssetsIP', + 'in' => 'query', + 'schema' => ['description' => 'The IP address of the affected asset.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''], + ], + [ + 'name' => 'EventKey', + 'in' => 'query', + 'schema' => ['description' => 'A unique identifier for the breach awareness event.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '69d189e2-ec17-4676-a2fe-02969234****'], + ], + [ + 'name' => 'EventName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the breach awareness event.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'event_test'], + ], + [ + 'name' => 'EventUuid', + 'in' => 'query', + 'schema' => ['description' => 'The universally unique identifier (UUID) of the breach awareness event.', 'type' => 'string', 'required' => false, 'example' => 'fadd-dfdd-****', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '135809047715****', 'title' => ''], + ], + [ + 'name' => 'ProcessStatusList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The source of traffic for statistics. Valid values:'."\n" - ."\n" - .'* **internet** (default): the Internet firewall.'."\n" - .'* **nat**: NAT firewalls.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'An array of processing statuses to filter events by. Only events with a status specified in this array are returned.', + 'type' => 'array', + 'items' => [ + 'description' => 'The processing status of the breach awareness event. Valid values:'."\n" + ."\n" + .'- **0**: Unhandled.'."\n" + ."\n" + .'- **20**: Resolved.', + 'type' => 'integer', + 'format' => 'int32', + 'default' => '0', + 'enum' => [], + 'title' => '', + 'required' => false, + 'example' => '0', + ], 'required' => false, - 'example' => 'nat', + 'maxItems' => 10, + 'example' => '1358090477156271', ], ], [ - 'name' => 'IsAITraffic', + 'name' => 'RiskLevel', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Specifies whether to collect statistics only on AI service access traffic. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false** (default)'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'An array of risk levels to filter events by. Only events with a risk level specified in this array are returned.', + 'type' => 'array', + 'items' => [ + 'description' => 'The risk level of the breach awareness event. Valid values:'."\n" + ."\n" + .'- **1**: Low.'."\n" + ."\n" + .'- **2**: Medium.'."\n" + ."\n" + .'- **3**: High.', + 'type' => 'integer', + 'format' => 'int32', + 'enum' => [], + 'title' => '', + 'required' => false, + 'example' => '3', + ], 'required' => false, - 'example' => 'true', + 'maxItems' => 10, + 'example' => '', ], ], ], @@ -19850,339 +16987,166 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of the domain names in outbound connections.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', + 'LowLevelPercent' => ['description' => 'The percentage of low-risk events.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], + 'MiddleLevelPercent' => ['description' => 'The percentage of medium-risk events.', 'type' => 'integer', 'format' => 'int32', 'example' => '40', 'title' => ''], + 'HighLevelPercent' => ['description' => 'The percentage of high-risk events.', 'type' => 'integer', 'format' => 'int32', 'example' => '40', 'title' => ''], + 'PageInfo' => [ + 'title' => '', + 'description' => 'The pagination information.', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of breach detection events.', 'type' => 'integer', 'format' => 'int32', 'example' => '40', 'title' => ''], + ], + 'example' => '', ], - 'DomainList' => [ - 'description' => 'The domain names in outbound connections.'."\n", + 'EventList' => [ + 'title' => '', + 'description' => 'The list of breach detection events.', 'type' => 'array', 'items' => [ - 'description' => 'The domain name in the outbound connection.'."\n", 'type' => 'object', 'properties' => [ - 'AclCoverage' => [ - 'title' => 'ACL覆盖', - 'description' => 'Indicates whether an access control policy is configured. Valid values:'."\n" - ."\n" - .'* **Uncovered**: no'."\n" - .'* **FullCoverage**: yes'."\n", - 'type' => 'string', - 'example' => 'Uncovered', - ], - 'Domain' => [ - 'title' => '域名', - 'description' => 'The domain name in outbound connections.'."\n", - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'AclRecommendDetail' => [ - 'title' => 'ACL推荐内容', - 'description' => 'The suggestion in an access control policy.'."\n", - 'type' => 'string', - 'example' => 'Allows the traffic.'."\n", - ], - 'HasAclRecommend' => [ - 'title' => '是否有ACL推荐规则', - 'description' => 'Indicates whether an access control policy is recommended. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InBytes' => [ - 'title' => '入流量', - 'description' => 'The volume of inbound traffic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3214', - ], - 'CategoryName' => [ - 'title' => '分类名称', - 'description' => 'The type of the service to which the domain name belongs. Valid values:'."\n" - ."\n" - .'* **Alibaba Cloud services**'."\n" - .'* **Third-party services**'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud services'."\n", - ], - 'RuleName' => [ - 'title' => '规则名称', - 'description' => 'The name of the access control policy.'."\n", - 'type' => 'string', - 'example' => 'Default rule'."\n", - ], - 'RuleId' => [ - 'title' => 'ACL规则ID', - 'description' => 'The ID of the access control policy.'."\n", - 'type' => 'string', - 'example' => 'add-dfadf-f****', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => 'The number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'GroupName' => [ - 'title' => '规则中的组名称', - 'description' => 'The name of the group to which the access control policy belongs.'."\n", - 'type' => 'string', - 'example' => 'Group of addresses in outbound connections'."\n", - ], - 'SecuritySuggest' => [ - 'title' => '安全建议', - 'description' => 'The suggestion to handle the traffic of the domain name in outbound connections. Valid values:'."\n" - ."\n" - .'* **pass**: allow'."\n" - .'* **alert**: monitor'."\n" - .'* **drop**: deny'."\n", - 'type' => 'string', - 'example' => 'pass', - ], - 'OutBytes' => [ - 'title' => '出流量', - 'description' => 'The volume of outbound traffic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4582', - ], - 'AclStatus' => [ - 'title' => 'ACL状态', - 'description' => 'The state of the access control policy. Valid values:'."\n" - ."\n" - .'* **normal**: healthy'."\n" - .'* **abnormal**: unhealthy'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'IsMarkNormal' => [ - 'title' => '是否正常', - 'description' => 'Indicates whether the domain name is marked as normal. Valid values:'."\n" - ."\n" - .'* **true**: normal'."\n" - .'* **false**: abnormal'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CategoryId' => [ - 'title' => '分类ID', - 'description' => 'The type ID of the service to which the domain name belongs. Valid values:'."\n" + 'RiskLevel' => [ + 'description' => 'The risk level. Valid values:'."\n" ."\n" - .'* **Aliyun**: Alibaba Cloud services'."\n" - .'* **NotAliyun**: third-party services'."\n", - 'type' => 'string', - 'example' => 'Aliyun', - ], - 'AddressGroupUUID' => [ - 'title' => '地址簿UUID', - 'description' => 'The UUID of the address book.'."\n", - 'type' => 'string', - 'example' => 'fdad-fdafa-dafa-dfa****', - ], - 'AddressGroupName' => [ - 'title' => '地址簿名称', - 'description' => 'The name of the address book.'."\n", - 'type' => 'string', - 'example' => 'The address book for outbound connections'."\n", - ], - 'CategoryClassId' => [ - 'description' => 'The type of the tag. Valid values:'."\n" + .'- **1**: low'."\n" ."\n" - .'* **Suspicious**'."\n" - .'* **Malicious**'."\n" - .'* **Trusted**'."\n", - 'type' => 'string', - 'example' => 'Trusted', - ], - 'Business' => [ - 'description' => 'The website service.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud'."\n", - ], - 'HasAcl' => [ - 'description' => 'Indicates whether an `access control policy` is configured for the domain name. Valid values:'."\n" + .'- **2**: medium'."\n" ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'Organization' => [ - 'description' => 'The name of the organization.'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud Computing Co., Ltd.'."\n", - ], - 'SecurityReason' => [ - 'description' => 'The reason why the domain name is secure.'."\n", - 'type' => 'string', - 'example' => 'Intelligent policy: The destination domain name belongs to Alibaba Cloud Computing Co., Ltd. The domain name mainly provides services for Alibaba Cloud. No security risks are found, and you can add the domain name to the whitelist.'."\n", - ], - 'TotalBytes' => [ - 'description' => 'The total volume of traffic. Unit: bytes.'."\n", - 'type' => 'string', - 'example' => '800', - ], - 'TagList' => [ - 'description' => 'An array that consists of tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'Tag list object.', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'title' => '风险等级', - 'description' => 'The risk level. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TagName' => [ - 'title' => '标签名称', - 'description' => 'The name of the tag.'."\n", - 'type' => 'string', - 'example' => 'Tag indicating that the domain name is added to the whitelist'."\n", - ], - 'TagId' => [ - 'title' => '标签ID', - 'description' => 'The ID of the tag.'."\n", - 'type' => 'string', - 'example' => 'AliYun', - ], - 'TagDescribe' => [ - 'title' => '标签描述', - 'description' => 'The description of the tag.'."\n", - 'type' => 'string', - 'example' => 'Tag indicating that the domain name is added to the whitelist'."\n", - ], - 'ClassId' => [ - 'description' => 'The type of the tag. Valid values:'."\n" - ."\n" - .'* **Suspicious**'."\n" - .'* **Malicious**'."\n" - .'* **Trusted**'."\n", - 'type' => 'string', - 'example' => 'Trusted', - ], - ], - ], - ], - 'ApplicationNameList' => [ - 'description' => 'The application names.', - 'type' => 'array', - 'items' => [ - 'description' => 'The application names.'."\n", - 'type' => 'string', - 'example' => 'HTTP', - ], - ], - 'AssetCount' => [ - 'description' => 'The outbound asset count.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'PrivateAssetCount' => [ - 'description' => 'The outbound private asset count.', + .'- **3**: high', 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', + 'format' => 'int32', + 'example' => '1', + 'enum' => [], + 'title' => '', ], + 'EventName' => ['description' => 'The name of the breach detection event.', 'type' => 'string', 'example' => 'event_test', 'title' => ''], + 'EventKey' => ['description' => 'The ID of the breach detection event.', 'type' => 'string', 'example' => '69d189e2-ec17-4676-a2fe-02969234****', 'title' => ''], + 'EventUuid' => ['description' => 'The UUID of the breach detection event.', 'type' => 'string', 'example' => 'fadd-dfdd-****', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the member.', 'type' => 'string', 'example' => '135809047715****', 'title' => ''], + 'AssetsType' => ['description' => 'The type of the affected asset. Valid values:'."\n" + ."\n" + .'- **BastionHostIP**: the egress IP address of a bastion host.'."\n" + ."\n" + .'- **BastionHostIngressIP**: the ingress IP address of a bastion host.'."\n" + ."\n" + .'- **EcsEIP**: the EIP of an ECS instance.'."\n" + ."\n" + .'- **EcsPublicIP**: the public IP address of an ECS instance.'."\n" + ."\n" + .'- **EIP**: an EIP.'."\n" + ."\n" + .'- **EniEIP**: the EIP of an ENI.'."\n" + ."\n" + .'- **NatEIP**: the EIP of a NAT gateway.'."\n" + ."\n" + .'- **SlbEIP**: the EIP of a CLB instance.'."\n" + ."\n" + .'- **SlbPublicIP**: the public IP address of a CLB instance.'."\n" + ."\n" + .'- **NatPublicIP**: the public IP address of a NAT gateway.'."\n" + ."\n" + .'- **HAVIP**: an HAVIP.', 'type' => 'string', 'example' => 'EcsPublicIp', 'title' => ''], + 'FirstTime' => ['description' => 'The time when the breach detection event first occurred. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1656750960', 'title' => ''], + 'EventSrc' => ['description' => 'The source of the breach detection event. Valid values:'."\n" + ."\n" + .'- **IPS**: an intrusion prevention system event.'."\n" + ."\n" + .'- **offline**: an offline event.', 'type' => 'string', 'title' => '', 'example' => 'IPS'], + 'PrivateIP' => ['description' => 'The private IP address of the affected asset.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'AssetsInstanceName' => ['description' => 'The name of the affected asset.', 'type' => 'string', 'example' => 'ECS_test', 'title' => ''], + 'LastTime' => ['description' => 'The time when the breach detection event last occurred. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1656837360', 'title' => ''], + 'PublicIpType' => ['description' => 'The type of the affected asset. Valid values:'."\n" + ."\n" + .'- **BastionHostIP**: the egress IP address of a bastion host.'."\n" + ."\n" + .'- **BastionHostIngressIP**: the ingress IP address of a bastion host.'."\n" + ."\n" + .'- **EcsEIP**: the EIP of an ECS instance.'."\n" + ."\n" + .'- **EcsPublicIP**: the public IP address of an ECS instance.'."\n" + ."\n" + .'- **EIP**: an EIP.'."\n" + ."\n" + .'- **EniEIP**: the EIP of an ENI.'."\n" + ."\n" + .'- **NatEIP**: the EIP of a NAT gateway.'."\n" + ."\n" + .'- **SlbEIP**: the EIP of a CLB instance.'."\n" + ."\n" + .'- **SlbPublicIP**: the public IP address of a CLB instance.'."\n" + ."\n" + .'- **NatPublicIP**: the public IP address of a NAT gateway.'."\n" + ."\n" + .'- **HAVIP**: an HAVIP.', 'type' => 'string', 'title' => '', 'example' => 'EcsPublicIp'], + 'IsIgnore' => ['description' => 'Indicates whether the breach detection event is ignored. Valid values:'."\n" + ."\n" + .'- **true**: The event is ignored.'."\n" + ."\n" + .'- **false**: The event is not ignored.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'example' => 'true'], + 'PublicIP' => ['description' => 'The public IP address of the affected asset.', 'type' => 'string', 'example' => '198.51.XX.XX', 'title' => ''], + 'ProcessStatus' => ['description' => 'The handling status of the breach detection event. Valid values:'."\n" + ."\n" + .'- **0**: pending'."\n" + ."\n" + .'- **20**: handled', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'AssetsInstanceId' => ['description' => 'The instance ID of the affected asset.', 'type' => 'string', 'example' => 'i-ECS****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal Error'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DomainList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AclRecommendDetail\\": \\"建议放行\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 3214,\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"RuleName\\": \\"默认规则\\",\\n \\"RuleId\\": \\"add-dfadf-f****\\",\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"外量地址组\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 4582,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"AddressGroupUUID\\": \\"fdad-fdafa-dafa-dfa****\\",\\n \\"AddressGroupName\\": \\"外联地址簿\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"Business\\": \\"阿里云\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"SecurityReason\\": \\"智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TagName\\": \\"加白标签\\",\\n \\"TagId\\": \\"AliYun\\",\\n \\"TagDescribe\\": \\"加白标签\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 132\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n \\n Uncovered\\n www.aliyundoc.com\\n 建议放行\\n true\\n 3214\\n 阿里云产品\\n 默认规则\\n add-dfadf-f****\\n 12\\n 外量地址组\\n pass\\n 4582\\n Normal\\n true\\n Aliyun\\n fdad-fdafa-dafa-dfa****\\n 外联地址簿\\n Trusted\\n 阿里云\\n true\\n 阿里云计算有限公司\\n 智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\n 800\\n \\n 3\\n 加白标签\\n AliYun\\n 加白标签\\n Trusted\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeOutgoingDomain', - 'translator' => 'machine', - ], - 'DescribeOutgoingDomainDetail' => [ - 'summary' => '获取外联域名详情', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LowLevelPercent\\": 20,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"MiddleLevelPercent\\": 40,\\n \\"HighLevelPercent\\": 40,\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"EventList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"EventName\\": \\"event_test\\",\\n \\"EventKey\\": \\"69d189e2-ec17-4676-a2fe-02969234****\\",\\n \\"EventUuid\\": \\"fadd-dfdd-****\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"AssetsType\\": \\"EcsPublicIp\\",\\n \\"FirstTime\\": 1656750960,\\n \\"EventSrc\\": \\"IPS\\",\\n \\"PrivateIP\\": \\"192.168.XX.XX\\",\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"LastTime\\": 1656837360,\\n \\"PublicIpType\\": \\"EcsPublicIp\\",\\n \\"IsIgnore\\": true,\\n \\"PublicIP\\": \\"198.51.XX.XX\\",\\n \\"ProcessStatus\\": 20,\\n \\"AssetsInstanceId\\": \\"i-ECS****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeInvadeEventList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInvadeEventList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInvadeEventNameList' => [ + 'summary' => 'Retrieves a list of vulnerability names.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20194,216 +17158,286 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68329', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68291', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '121.15.137.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '36.112.73.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh(默认)' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh(默认)' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1753617600', - ], + 'schema' => ['description' => 'The start time. This is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1757620800', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1733450528', - ], + 'schema' => ['description' => 'The end time. This is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1738780437', 'title' => ''], ], - [ - 'name' => 'PageSize', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6ABAA264-E7B5-5D66-8FC3-9253100****', 'title' => ''], + 'NameList' => [ + 'type' => 'array', + 'items' => ['description' => 'A list of vulnerability names.', 'type' => 'string', 'example' => '[]', 'title' => ''], + 'description' => 'A list of vulnerability names.', + 'title' => '', + 'example' => '', + ], + 'EventNameList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EventKey' => ['description' => 'The unique identifier of the vulnerability event.', 'type' => 'string', 'example' => 'CActivity', 'title' => ''], + 'EventName' => ['description' => 'The name of the vulnerability event.', 'type' => 'string', 'example' => 'Suspicious central control communication', 'title' => ''], + ], + 'description' => 'A list of anomalous activity names.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of anomalous activity names.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeInvadeEventNameList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'TagId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'FirstFlow' => '', - 'Period' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'FirstFlow', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6ABAA264-E7B5-5D66-8FC3-9253100****\\",\\n \\"NameList\\": [\\n \\"[]\\"\\n ],\\n \\"EventNameList\\": [\\n {\\n \\"EventKey\\": \\"CActivity\\",\\n \\"EventName\\": \\"Suspicious central control communication\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEventStatistic' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AclCoverage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '', - 'FullCoverage' => '', - 'Uncovered' => '', - 'PartialCoverage' => '', - ], - 'example' => 'FullCoverage', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68293', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Domain', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com'."\n", - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the visitor.', 'title' => '', 'example' => '52.130.200.XXX'], ], [ - 'name' => 'PublicIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => '47.96.181.XXX', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', + 'example' => 'zh', ], ], [ - 'name' => 'PrivateIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => '10.210.0.XXX', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', + 'example' => 'zh', ], ], [ - 'name' => 'Sort', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => '', - 'SessionCount' => '', - 'OutBytes' => '', - ], - 'example' => 'OutBytes', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The start time. This is a UNIX timestamp that is accurate to the second.', 'title' => '', 'example' => '1746151757'], ], [ - 'name' => 'Order', + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The end time. This is a UNIX timestamp that is accurate to the second.', 'title' => '', 'example' => '1774713600'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'LowOpenEventCnt' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of open low-risk vulnerabilities.', 'title' => '', 'example' => '1'], + 'TotalOpenEventCnt' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of open vulnerabilities.', 'title' => '', 'example' => '2'], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '1530A01A-6901-5B72-AB88-28B6E96B****'], + 'MiddleOpenEventCnt' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of open medium-risk vulnerabilities.', 'title' => '', 'example' => '0'], + 'HighOpenEventCnt' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of open high-risk vulnerabilities.', 'title' => '', 'example' => '1'], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '', - 'desc' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeInvadeEventStatistic', + 'summary' => 'Queries statistics about intrusion events.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'desc', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LowOpenEventCnt\\": 1,\\n \\"TotalOpenEventCnt\\": 2,\\n \\"RequestId\\": \\"1530A01A-6901-5B72-AB88-28B6E96B****\\",\\n \\"MiddleOpenEventCnt\\": 0,\\n \\"HighOpenEventCnt\\": 1\\n}","type":"json"}]', + ], + 'DescribeIpsPrivateAssoc' => [ + 'summary' => 'Queries the list of IPS Private IP Tracing associations.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'IPType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '240655', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'NatPrivate', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-uf62zzi7000bca7zn****', - ], + 'schema' => ['description' => 'The ID of the resource.', 'type' => 'string', 'required' => false, 'example' => 'ngw-c5vhmjdfp5t****', 'title' => ''], ], [ - 'name' => 'DomainList', + 'name' => 'CurrentPage', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '[\'example.com\']'."\n", - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'PublicIp', + 'in' => 'query', + 'schema' => ['description' => 'The public IP address of the instance.', 'type' => 'string', 'required' => false, 'example' => '203.0.113.1', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The status of the asset.', 'type' => 'string', 'required' => false, 'example' => 'close', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud account ID of the resource owner.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], ], 'responses' => [ @@ -20411,272 +17445,83 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '98AF5888-9606-59CF-888F-032A9ED0****', - ], - 'ApplicationNameList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[\'HTTP\', \'HTTPS\']', - ], - ], - 'AssetList' => [ - 'description' => '', + 'IpsPrivateAssoc' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'AclCoverage' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'All' => '', - 'FullCoverage' => '', - 'Uncovered' => '', - 'PartialCoverage' => '', - ], - 'example' => 'FullCoverage', - ], - 'ResourceInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'ResourceInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-uf63wjhyoohc1g4z****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '244438.0', - ], - 'FirstTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1738548990', - ], - 'PrivateIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.21.242XXX', - ], - 'RuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '08a58465-ff4d-4c47-8782-eb008301****', - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'LastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1739326614', - ], - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - 'EIP' => 'EIP', - ], - 'example' => 'NatEIP', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'PublicIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.96.181.XXX', - ], - 'TagList' => [ - 'description' => '', + 'AssocInfoStatus' => ['description' => 'The status of private IP tracing.', 'type' => 'string', 'example' => 'close', 'title' => ''], + 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole', 'title' => ''], + 'ProtectedIpList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - '', - '', - ], - 'example' => '0', - ], - 'TagName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'TagId' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'FirstFlow' => '', - 'Period' => '', - ], - 'example' => 'FirstFlow', - ], - 'TagDescribe' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'ClassId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - ], - ], - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'string', - 'example' => '321120825843', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-9dp16jgwgyvn****', - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-bp1utx6wj4x9qu9tl****', - ], - 'NatGatewayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'IpsHitCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32', + 'items' => ['description' => 'A protected IP address.', 'type' => 'string', 'example' => '123.56.18.XX', 'title' => ''], + 'description' => 'A list of protected IP addresses.', + 'title' => '', + 'example' => '', ], - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.com', + 'ResourceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'cba48ec510bb640559c6f5161cde58014', 'title' => ''], + 'ResourceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'job-0000000061279FB000001BBB31F9D673', 'title' => ''], + 'Status' => ['description' => 'The status of the association.', 'type' => 'string', 'example' => 'closed', 'title' => ''], + 'UnprotectedIpList' => [ + 'type' => 'array', + 'items' => ['description' => 'An unprotected IP address.', 'type' => 'string', 'example' => '60.205.197.X', 'title' => ''], + 'description' => 'A list of unprotected IP addresses.', + 'title' => '', + 'example' => '', ], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-wz92dxepli2pgnut796tf', 'title' => ''], + 'VpcName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'example' => 'vpc-uf62vdtifj7kffpxrydqd', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'MemberUid' => ['description' => 'The Alibaba Cloud account ID of the resource owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '1507956024994407', 'title' => ''], ], + 'description' => 'A configuration for private IP tracing for the IPS.', + 'title' => '', + 'example' => '', ], + 'description' => 'A list of details about private IP tracing for the intrusion prevention system (IPS).', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], + 'TotalOpenCount' => ['description' => 'The total number of assets that have private IP tracing for the IPS enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeIpsPrivateAssoc', + 'description' => 'This operation queries information about assets that are protected by Cloud Firewall. The results are paginated.'."\n" + ."\n" + .'## Limits'."\n" + ."\n" + .'This operation is limited to 10 queries per second (QPS) per user. If you exceed the limit, API calls are throttled. This may affect your business. Call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"98AF5888-9606-59CF-888F-032A9ED0****\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"InBytes\\": 244438,\\n \\"FirstTime\\": 1738548990,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 10,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"NatEIP\\",\\n \\"OutBytes\\": 100,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"3\\"\\n }\\n ],\\n \\"TotalBytes\\": \\"321120825843\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IpsHitCnt\\": 32,\\n \\"Domain\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsPrivateAssoc\\": [\\n {\\n \\"AssocInfoStatus\\": \\"close\\",\\n \\"ErrorMsg\\": \\"aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole\\",\\n \\"ProtectedIpList\\": [\\n \\"123.56.18.XX\\"\\n ],\\n \\"ResourceId\\": \\"cba48ec510bb640559c6f5161cde58014\\",\\n \\"ResourceName\\": \\"job-0000000061279FB000001BBB31F9D673\\",\\n \\"Status\\": \\"closed\\",\\n \\"UnprotectedIpList\\": [\\n \\"60.205.197.X\\"\\n ],\\n \\"VpcId\\": \\"vpc-wz92dxepli2pgnut796tf\\",\\n \\"VpcName\\": \\"vpc-uf62vdtifj7kffpxrydqd\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"MemberUid\\": 1507956024994407\\n }\\n ],\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"TotalCount\\": 6,\\n \\"TotalOpenCount\\": 0\\n}","type":"json"}]', ], - 'DescribeOutgoingDestination' => [ - 'summary' => '获取外联目的', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeIspInfo' => [ + 'summary' => 'Retrieves information about ISPs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20688,436 +17533,376 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68324', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68302', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '106.3.198.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '39.91.37.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749657600', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749089441', - ], + 'schema' => ['description' => 'The source tracking code.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], ], - [ - 'name' => 'PageSize', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'IspId' => ['description' => 'The ID of the ISP.', 'type' => 'integer', 'format' => 'int32', 'example' => 'isp-dhyw2lxfpc****', 'title' => ''], + 'IspName' => ['description' => 'The name of the ISP.', 'type' => 'string', 'example' => 'telecom', 'title' => ''], + ], + 'description' => 'The list of ISPs.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of ISPs.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeIspInfo', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'RiskDomain' => '', - 'AliYun' => '', - 'NotAliYun' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIspInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'AliYun', - ], - ], - [ - 'name' => 'TagId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FirstFlow', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"IspId\\": 0,\\n \\"IspName\\": \\"telecom\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeLocationInfo' => [ + 'summary' => 'Retrieves information about geographic locations.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SecuritySuggest', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'drop' => '', - 'pass' => '', - 'alert' => '', - ], - 'example' => 'pass', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68303', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'AclCoverage', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'FullCoverage', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '180.169.141.XXX', 'title' => ''], ], [ - 'name' => 'DstIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '47.100.111XXX', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'PublicIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '47.96.74.XXX', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'PrivateIP', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.111.53XXX', - ], + 'schema' => ['description' => 'The source tracking code.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], ], - [ - 'name' => 'ApplicationName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ + 'headers' => [], 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CD3BE433-FAB0-55D8-918A-69B306****', 'title' => ''], + 'CnCount' => ['description' => 'The number of regions in China.', 'type' => 'integer', 'format' => 'int32', 'example' => '340', 'title' => ''], + 'OverseasCount' => ['description' => 'The number of regions outside China.', 'type' => 'integer', 'format' => 'int32', 'example' => '238', 'title' => ''], + 'OverseasList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'US', 'title' => ''], + 'LocName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => 'United States', 'title' => ''], + ], + 'description' => 'The list of regions outside China.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of regions outside China.', + 'title' => '', + 'example' => '', + ], + 'CnList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => '3301', 'title' => ''], + 'LocName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => 'Hangzhou City', 'title' => ''], + ], + 'description' => 'The list of regions in China.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of regions in China.', + 'title' => '', + 'example' => '', + ], + 'CnProvinceList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProvinceName' => ['description' => 'The name of the province.', 'type' => 'string', 'example' => 'Zhejiang', 'title' => ''], + 'Cities' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocId' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'LocName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => 'Hangzhou', 'title' => ''], + ], + 'description' => 'The list of city codes.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of city codes.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The information about provinces and cities in China.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The information about provinces and cities in China.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3306', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeLocationInfo', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => 'InBytes', - 'TotalBytes' => 'TotalBytes', - 'SessionCount' => 'SessionCount', - 'OutBytes' => 'OutBytes', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLocationInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'InBytes', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CD3BE433-FAB0-55D8-918A-69B306****\\",\\n \\"CnCount\\": 340,\\n \\"OverseasCount\\": 238,\\n \\"OverseasList\\": [\\n {\\n \\"LocId\\": \\"US\\",\\n \\"LocName\\": \\"United States\\"\\n }\\n ],\\n \\"CnList\\": [\\n {\\n \\"LocId\\": \\"3301\\",\\n \\"LocName\\": \\"Hangzhou City\\"\\n }\\n ],\\n \\"CnProvinceList\\": [\\n {\\n \\"ProvinceName\\": \\"Zhejiang\\",\\n \\"Cities\\": [\\n {\\n \\"LocId\\": \\"123\\",\\n \\"LocName\\": \\"Hangzhou\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeLogStoreInfo' => [ + 'summary' => 'Retrieves the details of the Logstore in Simple Log Service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IsAITraffic', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '', - 'false' => '', - ], - 'example' => 'true', - ], + 'AK' => [], ], ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68305', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '42', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A2845BA9-1642-5B27-9F04-8014DD94****', - ], - 'DstList' => [ - 'description' => '', + 'Ttl' => ['description' => 'The storage duration of logs, in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C6C3B72B********E95FB0A161', 'title' => ''], + 'Quota' => ['description' => 'The available log storage capacity, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '50000000', 'title' => ''], + 'ProjectName' => ['description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'example' => 'project-xxx-cn-hangzhou', 'title' => ''], + 'LogStoreName' => ['description' => 'The name of the SLS Logstore.', 'type' => 'string', 'example' => 'xxx-logstore', 'title' => ''], + 'Used' => ['description' => 'The used storage capacity, in bytes.'."\n" + ."\n" + .'> Statistics from Simple Log Service may be delayed by up to two hours.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region where logs are delivered.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'InfoList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'DstIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '101.6.15.XXX', - ], - 'AclRecommendDetail' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'HasAclRecommend' => [ - 'description' => '', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'false' => '', - 'true' => '', - ], - 'example' => 'false', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'DstType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'domain', - ], - 'CategoryName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'categor_test', - ], - 'DstDomain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.com', - ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'GroupName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'AclStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Normal' => '', - 'Abnormal' => '', - ], - 'example' => 'Normal', - ], - 'CategoryId' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'RiskDomain' => '', - 'AliYun' => '', - 'NotAliYun' => '', - ], - 'example' => 'AliYun', - ], - 'IsMarkNormal' => [ - 'description' => '', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '', - 'false' => '', - ], - 'example' => 'false', - ], - 'TagList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - '', - '', - ], - 'example' => '1', - ], - 'TagName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'verify', - ], - 'TagId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FirstFlow', - ], - 'TagDescribe' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'Business' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.com', - ], - ], + 'Ttl' => ['description' => 'The storage duration of logs, in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '180', 'title' => ''], + 'Quota' => ['description' => 'The storage capacity threshold, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '50000000', 'title' => ''], + 'ProjectName' => ['description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'example' => 'cloudfirewall-project-14151892848****-cn-hangzhou', 'title' => ''], + 'LogStoreName' => ['description' => 'The name of the SLS Logstore.', 'type' => 'string', 'example' => 'xxx-logstore', 'title' => ''], + 'Used' => ['description' => 'The amount of stored logs, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '21852955752', 'title' => ''], + 'MaxSplitShard' => ['description' => 'The maximum number of shards supported for scaling.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'Shard' => ['description' => 'The number of shards in use.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''], + 'Site' => ['description' => 'The location of the Logstore. Valid values: \\`cn\\` for the Chinese mainland and \\`intl\\` for regions outside the Chinese mainland.', 'type' => 'string', 'example' => 'cn', 'title' => ''], + ], + 'description' => 'The information list.', + 'title' => '', + 'example' => '', ], + 'description' => 'The information list.', + 'title' => '', + 'example' => '', ], + 'LogVersion' => ['description' => 'The log version. 1: indicates one Logstore. 2: indicates two Logstores.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'TotalQuota' => ['description' => 'The total purchased log storage capacity, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '50000000', 'title' => ''], + 'LogModifyQuota' => ['description' => 'The number of times the log storage mode can be changed.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '132', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], + 403 => [ + ['errorCode' => 'LogStoreNotExist', 'errorMessage' => 'The specified logstore does not exist. It may have been deleted manually. Please go to the SLS console to view detailed information.', 'description' => 'The specified LogStore does not exist. It may have been manually deleted. Please go to the SLS console to view detailed information.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 42,\\n \\"RequestId\\": \\"A2845BA9-1642-5B27-9F04-8014DD94****\\",\\n \\"DstList\\": [\\n {\\n \\"DstIP\\": \\"101.6.15.XXX\\",\\n \\"AclRecommendDetail\\": \\"test\\",\\n \\"HasAclRecommend\\": false,\\n \\"InBytes\\": 0,\\n \\"DstType\\": \\"domain\\",\\n \\"CategoryName\\": \\"categor_test\\",\\n \\"DstDomain\\": \\"example.com\\",\\n \\"SessionCount\\": 10,\\n \\"GroupName\\": \\"test\\",\\n \\"OutBytes\\": 0,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"CategoryId\\": \\"AliYun\\",\\n \\"IsMarkNormal\\": false,\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"verify\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\"\\n }\\n ],\\n \\"Business\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOutgoingDestinationIP' => [ - 'summary' => 'Get details of outgoing destination IPs', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ttl\\": 20,\\n \\"RequestId\\": \\"C6C3B72B********E95FB0A161\\",\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"project-xxx-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 0,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InfoList\\": [\\n {\\n \\"Ttl\\": 180,\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"cloudfirewall-project-14151892848****-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 21852955752,\\n \\"MaxSplitShard\\": 4,\\n \\"Shard\\": 2,\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"Site\\": \\"cn\\"\\n }\\n ],\\n \\"LogVersion\\": 2,\\n \\"TotalQuota\\": 50000000,\\n \\"LogModifyQuota\\": 2,\\n \\"TaskId\\": \\"132\\"\\n}","type":"json"}]', + 'title' => 'Get Log Service Information', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreInfo'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLogStoreInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeMemberInfo' => [ + 'summary' => 'Describes member information.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21129,254 +17914,184 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68326', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '92911', + 'abilityTreeNodes' => ['FEATUREcfwATUJ57'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言', - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'default' => 'zh', - 'enum' => [ - 'zh', - 'en', - ], - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1656837360', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'title' => '结束时间', - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1656923760', - ], + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'example' => '150795602499****', 'title' => ''], ], - [ - 'name' => 'PageSize', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '每页大小', - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Default value: 6. Maximum value: 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'F2665618-3C41-51A4-8DAF-586FB68****'], + 'MemberUid' => ['description' => 'The UID of the member account.', 'type' => 'string', 'example' => '128720273643****', 'title' => ''], + 'AdminUid' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'string', 'example' => '164705101205****', 'title' => ''], + 'AdminName' => ['description' => 'The name of the Alibaba Cloud account.', 'type' => 'string', 'example' => 'tianzhuang', 'title' => ''], + 'IsMember' => [ + 'description' => 'Indicates whether the account is a member account.', + 'enumValueTitles' => ['true' => 'Yes', 'false' => 'No'], + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], + 'title' => '', + 'description' => 'The request ID.', + 'example' => '', ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeMemberInfo', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'title' => '分类, 枚举值.'."\n" - .'默认值: 空'."\n" - .'可选值: '."\n" - .'All (全部分类)'."\n" - .'RiskDomain (风险域名分类)'."\n" - .'RiskIP (风险IP分类)'."\n" - .'AliYun (云产品分类)'."\n" - .'NotAliYun (非云产品分类)', - 'description' => 'The ID of the service to which the destination IP address belongs. This parameter is left empty by default. Valid values:'."\n" - ."\n" - .'* **All**: all services'."\n" - .'* **RiskDomain**: risky domain names'."\n" - .'* **RiskIP**: risky IP addresses'."\n" - .'* **AliYun**: Alibaba Cloud services'."\n" - .'* **NotAliYun**: third-party services'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'All', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeMemberInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2665618-3C41-51A4-8DAF-586FB68****\\",\\n \\"MemberUid\\": \\"128720273643****\\",\\n \\"AdminUid\\": \\"164705101205****\\",\\n \\"AdminName\\": \\"tianzhuang\\",\\n \\"IsMember\\": true\\n}","type":"json"}]', + ], + 'DescribeNatAclPageStatus' => [ + 'summary' => 'Queries the paging status of the NAT firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DstIP', - 'in' => 'query', - 'schema' => [ - 'title' => '目的IP', - 'description' => 'The destination IP address in the outbound connection that is initiated to access a domain name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.XX.XX', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '180434', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'PublicIP', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => 'The public IP address of the Elastic Compute Service (ECS) instance that initiates the outbound connection.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The language of the request and the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'en', 'title' => ''], ], - [ - 'name' => 'PrivateIP', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '私网IP', - 'description' => 'The private IP address of the ECS instance that initiates the outbound connection.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', + 'type' => 'object', + 'properties' => [ + 'NatAclPageEnable' => ['description' => 'Indicates whether a separate page is supported for NAT ACL.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8', 'title' => ''], + 'Detail' => ['description' => 'The details of the exception.', 'type' => 'string', 'example' => 'proxy_not_exist', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'title' => '端口号', - 'description' => 'The port number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], ], - [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => 'The field based on which you want to sort the query results. Valid values:'."\n" - ."\n" - .'* **SessionCount** (default): the number of requests.'."\n" - .'* **TotalBytes**: the total volume of traffic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SessionCount', - 'enum' => [], - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeNatAclPageStatus', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatAclPageStatus'], ], + ], + 'ramActions' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => 'The method that you want to use to sort the query results. Valid values:'."\n" - ."\n" - .'* **asc**'."\n" - .'* **desc** (default)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'enum' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatAclPageStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NatAclPageEnable\\": true,\\n \\"RequestId\\": \\"B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8\\",\\n \\"Detail\\": \\"proxy_not_exist\\"\\n}","type":"json"}]', + ], + 'DescribeNatFirewallAclGroupList' => [ + 'summary' => 'Queries the access control policy groups for NAT firewalls.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TagIdNew', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the tag. Valid values:'."\n" - ."\n" - .'* **AliYun**: Alibaba Cloud service'."\n" - .'* **RiskDomain**: risky domain name'."\n" - .'* **RiskIP**: risky IP address'."\n" - .'* **TrustedDomain**: trusted website'."\n" - .'* **AliPay**: Alipay'."\n" - .'* **DingDing**: DingTalk'."\n" - .'* **WeChat**: WeChat'."\n" - .'* **QQ**: Tencent QQ'."\n" - .'* **SecurityService**: security service'."\n" - .'* **Microsoft**: Microsoft'."\n" - .'* **Amazon**: Amazon Web Services (AWS)'."\n" - .'* **Pan**: cloud disk'."\n" - .'* **Map**: map'."\n" - .'* **Code**: code hosting'."\n" - .'* **SystemService**: system service'."\n" - .'* **Taobao**: Taobao'."\n" - .'* **Google**: Google'."\n" - .'* **ThirdPartyService**: third-party service'."\n" - .'* **FirstFlow**: the first time'."\n" - .'* **Downloader**: malicious download'."\n" - .'* **Alexa Top1M**: popular website'."\n" - .'* **Miner**: mining pool'."\n" - .'* **Intelligence**: threat intelligence'."\n" - .'* **DDoS**: DDoS trojan'."\n" - .'* **Ransomware**: ransomware'."\n" - .'* **Spyware**: spyware'."\n" - .'* **Rogue**: rogue software'."\n" - .'* **Botnet**: botnet'."\n" - .'* **Suspicious**: suspicious website'."\n" - .'* **C\\&C**: command and control (C\\&C)'."\n" - .'* **Gang**: gang'."\n" - .'* **CVE**: Common Vulnerabilities and Exposures (CVE)'."\n" - .'* **Backdoor**: webshell'."\n" - .'* **Phishing**: phishing website'."\n" - .'* **APT**: advanced persistent threat (APT) attack'."\n" - .'* **Supply Chain Attack**: supply chain attack'."\n" - .'* **Malicious software**: malware'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'AliYun', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201928', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ', 'FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'ApplicationName', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The application type in the access control policy. Valid values:'."\n" - ."\n" - .'* **FTP**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **Memcache**'."\n" - .'* **MongoDB**'."\n" - .'* **MQTT**'."\n" - .'* **MySQL**'."\n" - .'* **RDP**'."\n" - .'* **Redis**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **SSH**'."\n" - .'* **SSL_No_Cert**'."\n" - .'* **SSL**'."\n" - .'* **VNC**'."\n" - ."\n" - .'> The value of this parameter depends on the value of Proto. If you set Proto to TCP, you can set ApplicationNameList to any valid value. If you specify both ApplicationNameList and ApplicationName, only the value of ApplicationNameList is used.'."\n", + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'FTP', + 'example' => 'zh', + 'title' => '', ], ], ], @@ -21385,388 +18100,74 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of destination IP addresses in outbound connections.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'DstIPList' => [ - 'title' => '外联IP列表', - 'description' => 'The IP addresses in outbound connections.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****', 'title' => ''], + 'NatFirewalls' => [ 'type' => 'array', 'items' => [ - 'description' => 'The IP address.'."\n", 'type' => 'object', 'properties' => [ - 'AclCoverage' => [ - 'title' => 'ACL覆盖', - 'description' => 'Indicates whether an access control policy is configured. Valid values:'."\n" - ."\n" - .'* **Uncovered**: no'."\n" - .'* **FullCoverage**: yes'."\n", - 'type' => 'string', - 'example' => 'Uncovered', - ], - 'DstIP' => [ - 'title' => '目的IP', - 'description' => 'The destination IP addresses in outbound connections.'."\n", - 'type' => 'string', - 'example' => '10.0.XX.XX', - ], - 'AclRecommendDetail' => [ - 'title' => 'ACL推荐内容', - 'description' => 'The suggestion to configure an access control policy.'."\n", - 'type' => 'string', - 'example' => 'Allows the traffic.'."\n", - ], - 'HasAclRecommend' => [ - 'title' => '是否有推荐ACL', - 'description' => 'Indicates whether an access control policy is recommended. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InBytes' => [ - 'title' => '入方向流量', - 'description' => 'The inbound traffic. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '472', - ], - 'CategoryName' => [ - 'title' => '分类名称', - 'description' => 'The type of the service to which the destination IP address belongs. Valid values:'."\n" - ."\n" - .'* **Alibaba Cloud services**'."\n" - .'* **Third-party services**'."\n", - 'type' => 'string', - 'example' => 'Alibaba Cloud services'."\n", - ], - 'RuleName' => [ - 'title' => '规则名称', - 'description' => 'The name of the access control policy.'."\n", - 'type' => 'string', - 'example' => 'Default rule'."\n", - ], - 'RuleId' => [ - 'title' => '规则UUID', - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'example' => 'fadsfd-dfadf-df****', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => 'The number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'GroupName' => [ - 'title' => '规则中的组名称', - 'description' => 'The name of the group to which the access control policy belongs.'."\n", - 'type' => 'string', - 'example' => 'Rule_test'."\n", - ], - 'SecuritySuggest' => [ - 'title' => '安全建议', - 'description' => 'The suggestion to handle the traffic of the domain name in outbound connections. Valid values:'."\n" - ."\n" - .'* **pass**: allow'."\n" - .'* **alert**: deny'."\n" - .'* **drop**: monitor'."\n", - 'type' => 'string', - 'example' => 'pass', - ], - 'OutBytes' => [ - 'title' => '出流量', - 'description' => 'The outbound traffic. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '965', - ], - 'AclStatus' => [ - 'title' => 'ACL状态', - 'description' => 'The status of the access control policy. Valid values:'."\n" - ."\n" - .'* **normal**: healthy'."\n" - .'* **Abnormal**: unhealthy'."\n", - 'type' => 'string', - 'example' => 'Normal', - ], - 'IsMarkNormal' => [ - 'title' => '是否正常', - 'description' => 'Indicates whether the destination IP address is added to a whitelist. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", + 'NatGatewayId' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-2zed6z6qkd7ogc****', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-test', 'title' => ''], + 'IsDefault' => [ + 'description' => 'Indicates whether the NAT firewall is the default one.', + 'enumValueTitles' => ['true' => 'Yes', 'false' => 'No'], 'type' => 'boolean', 'example' => 'true', + 'title' => '', ], - 'CategoryId' => [ - 'title' => '分类ID', - 'description' => 'The ID of the service type. Valid values:'."\n" - ."\n" - .'* **Aliyun**: Alibaba Cloud services'."\n" - .'* **NotAliyun**: third-party services'."\n", - 'type' => 'string', - 'example' => 'Aliyun', - ], - 'TagList' => [ - 'title' => '标签列表', - 'description' => 'The tags.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The tag.'."\n", - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'title' => '风险等级', - 'description' => 'The risk level. Valid values:'."\n" - ."\n" - .'* **1**: low.'."\n" - .'* **2**: medium.'."\n" - .'* **3**: high.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'enum' => [], - ], - 'TagName' => [ - 'title' => '标签名', - 'description' => 'The name of the tag.'."\n", - 'type' => 'string', - 'example' => 'Tag that indicates traffic is allowed'."\n", - ], - 'TagId' => [ - 'title' => '标签ID', - 'description' => 'The ID of the tag.'."\n", - 'type' => 'string', - 'example' => 'AliYun', - ], - 'TagDescribe' => [ - 'title' => '标签描述', - 'description' => 'The description of the tag.'."\n", - 'type' => 'string', - 'example' => 'Tag that indicates traffic is allowed'."\n", - ], - 'ClassId' => [ - 'description' => 'The type of the tag. Valid values:'."\n" - ."\n" - .'* **Suspicious**'."\n" - .'* **Malicious**'."\n" - .'* **Trusted**'."\n", - 'type' => 'string', - 'example' => 'Trusted', - ], - ], - ], - ], - 'ApplicationPortList' => [ - 'description' => 'The application ports.'."\n" - ."\n" - .'> Only the first 100 application ports are displayed.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '端口列表', - 'description' => 'The ports.'."\n", - 'type' => 'object', - 'properties' => [ - 'Port' => [ - 'title' => '端口', - 'description' => 'The application port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'ApplicationName' => [ - 'title' => '应用名', - 'description' => 'The application type used in the access control policy. Valid values:'."\n" - ."\n" - .'* **FTP**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **Memcache**'."\n" - .'* **MongoDB**'."\n" - .'* **MQTT**'."\n" - .'* **MySQL**'."\n" - .'* **RDP**'."\n" - .'* **Redis**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **SSH**'."\n" - .'* **SSL_No_Cert**'."\n" - .'* **SSL**'."\n" - .'* **VNC**'."\n" - ."\n" - .'> The value of this parameter depends on the value of the Proto parameter. If you set Proto to TCP, you can set ApplicationNameList to any valid value. If you configure both ApplicationNameList and ApplicationName, only the value of ApplicationNameList is used.'."\n", - 'type' => 'string', - 'example' => 'HTTP', - ], - 'UnknownReason' => [ - 'description' => 'List of reasons for failing to analyze the protocol when it is identified as Unknown.', - 'type' => 'array', - 'items' => [ - 'description' => 'Reasons for protocol analysis failure.', - 'type' => 'string', - 'example' => 'tcp_not_establish', - ], - ], - ], - ], - ], - 'CategoryClassId' => [ - 'description' => 'The type of the tag. Valid values:'."\n" - ."\n" - .'* **Suspicious**'."\n" - .'* **Malicious**'."\n" - .'* **Trusted**'."\n", - 'type' => 'string', - 'example' => 'Trusted', - ], - 'SecurityReason' => [ - 'description' => 'The reason why the domain name is secure.'."\n", - 'type' => 'string', - 'example' => 'Intelligent policy: The destination domain name belongs to Alibaba Cloud Computing Co., Ltd. The domain name mainly provides services for Alibaba Cloud. No security risks are found, and you can add the domain name to the whitelist.'."\n", - ], - 'TotalBytes' => [ - 'description' => 'The total traffic. Unit: bytes'."\n", - 'type' => 'string', - 'example' => '800', - ], - 'HasAcl' => [ - 'description' => 'Indicates whether an access control policy is configured. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'AddressGroupList' => [ - 'description' => 'The information about the address book.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AddressGroupUUID' => [ - 'description' => 'The UUID of the address book.'."\n", - 'type' => 'string', - 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', - ], - 'AddressGroupName' => [ - 'description' => 'The name of the address book.'."\n", - 'type' => 'string', - 'example' => 'IP address book'."\n", - ], - ], - ], - ], - 'AssetCount' => [ - 'description' => 'The outbound asset count.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'PrivateAssetCount' => [ - 'description' => 'The outbound private asset count.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'LocationName' => [ - 'description' => 'Location name.', - 'type' => 'string', - 'example' => 'Qingdao, Shandong', - ], + 'AclRuleCount' => ['description' => 'The number of policies in the access control policy group of the NAT firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], ], + 'description' => 'The list of NAT firewalls.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of NAT firewalls.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPortError', - 'errorMessage' => 'The port is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 50,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DstIPList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"DstIP\\": \\"10.0.XX.XX\\",\\n \\"AclRecommendDetail\\": \\"建议放行\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 472,\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"RuleName\\": \\"默认规则\\",\\n \\"RuleId\\": \\"fadsfd-dfadf-df****\\",\\n \\"SessionCount\\": 4,\\n \\"GroupName\\": \\"规则_test\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 965,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"放行标签\\",\\n \\"TagId\\": \\"AliYun\\",\\n \\"TagDescribe\\": \\"放行标签\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationPortList\\": [\\n {\\n \\"Port\\": 80,\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"UnknownReason\\": [\\n \\"tcp_not_establish\\"\\n ]\\n }\\n ],\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"SecurityReason\\": \\"智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"AddressGroupList\\": [\\n {\\n \\"AddressGroupUUID\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AddressGroupName\\": \\"IP地址簿\\"\\n }\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20,\\n \\"LocationName\\": \\"山东省青岛市\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 50\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n \\n Uncovered\\n 10.0.XX.XX\\n 建议放行\\n true\\n 472\\n 阿里云产品\\n 默认规则\\n fadsfd-dfadf-df****\\n 4\\n 规则_test\\n pass\\n 965\\n Normal\\n true\\n Aliyun\\n \\n 1\\n 放行标签\\n AliYun\\n 放行标签\\n Trusted\\n \\n \\n 80\\n HTTP\\n \\n Trusted\\n 智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\n 800\\n true\\n \\n f04ac7ce-628b-4cb7-be61-310222b7****\\n IP地址簿\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeOutgoingDestinationIP', - 'translator' => 'machine', - ], - 'DescribeOutgoingDestinationIPDetail' => [ - 'summary' => '获取外联目的IP详情', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeNatFirewallAclGroupList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"NatFirewalls\\": [\\n {\\n \\"NatGatewayId\\": \\"ngw-2zed6z6qkd7ogc****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IsDefault\\": true,\\n \\"AclRuleCount\\": 32,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallControlPolicy' => [ + 'summary' => 'Queries the access control policies for NAT firewalls.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21775,193 +18176,142 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68327', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '171421', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.202.193.XXX', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The page number of the current page for a paged query.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1749434787', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page for a paged query. The default value is 10.', 'type' => 'string', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1733710383', - ], + 'schema' => ['description' => 'The source address in the access control policy. Fuzzy queries are supported. The value of this parameter varies based on the value of the SourceType parameter.'."\n" + ."\n" + .'- If SourceType is set to `net`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If SourceType is set to `group`, the value of this parameter is the name of an address book. Example: db\\_group. If you leave this parameter empty, all source addresses are queried.'."\n" + ."\n" + .'- If SourceType is set to `location`, the value of this parameter is a source region. Example: Beijing or beijing. You can use either Chinese or English to specify the region.'."\n" + ."\n" + .'> If you do not set this parameter, all types of source addresses are queried.', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1/32', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Destination', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The destination address in the access control policy. Fuzzy queries are supported. The value of this parameter varies based on the value of the DestinationType parameter.'."\n" + ."\n" + .'- If DestinationType is set to `net`, the value of this parameter is a CIDR block. Example: 10.0.3.0/24.'."\n" + ."\n" + .'- If DestinationType is set to `domain`, the value of this parameter is a domain name. Example: aliyun.'."\n" + ."\n" + .'- If DestinationType is set to `group`, the value of this parameter is the name of an address book. Example: db\\_group.'."\n" + ."\n" + .'- If DestinationType is set to `location`, the value of this parameter is a region name. For more information, see [AddControlPolicy](~~474128~~). Example: \\["BJ11", "ZB"].'."\n" + ."\n" + .'> If you do not set this parameter, all types of destination addresses are queried.', 'type' => 'string', 'required' => false, 'example' => 'x.x.x.x/32', 'title' => ''], ], [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'TagId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'FirstFlow' => '', - 'Period' => '', - ], - 'example' => 'FirstFlow', - ], - ], - [ - 'name' => 'AclCoverage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '', - 'FullCoverage' => '', - 'Uncovered' => '', - 'PartialCoverage' => '', - ], - 'example' => 'FullCoverage', - ], - ], - [ - 'name' => 'DstIP', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '34.136.111.XXX', - ], + 'schema' => ['description' => 'The description of the access control policy. Fuzzy queries are supported.'."\n" + ."\n" + .'> If you do not set this parameter, the descriptions of all policies are queried.', 'type' => 'string', 'required' => false, 'example' => 'test-description', 'title' => ''], ], [ - 'name' => 'PublicIP', + 'name' => 'Proto', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The protocol type of the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**'."\n" + ."\n" + .'- **ANY** (all protocol types)'."\n" + ."\n" + .'> If you do not set this parameter, all protocol types are queried.', 'type' => 'string', 'required' => false, 'example' => 'ANY', 'title' => ''], ], [ - 'name' => 'PrivateIP', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.210.0.XXX', - ], + 'schema' => ['description' => 'The action that Cloud Firewall performs on the traffic.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **accept**: Allow'."\n" + ."\n" + .'- **drop**: Deny'."\n" + ."\n" + .'- **log**: Monitor', 'type' => 'string', 'required' => false, 'example' => 'accept', 'title' => ''], ], [ - 'name' => 'Sort', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => '', - 'SessionCount' => '', - 'OutBytes' => '', - ], - 'example' => 'InBytes', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'required' => false, 'example' => '323f0697-2a21-4e43-b142-*****', 'title' => ''], ], [ - 'name' => 'Order', + 'name' => 'Release', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '', - 'desc' => '', - ], - 'example' => 'desc', - ], + 'schema' => ['description' => 'The status of the access control policy. By default, an access control policy is enabled after it is created. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'IPType', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'NatPrivate', - ], + 'schema' => ['description' => 'The traffic direction of the access control policy. Valid values:'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'required' => true, 'example' => 'out', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The recurrence type for the policy validity period. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): always'."\n" + ."\n" + .'- **None**: one-time'."\n" + ."\n" + .'- **Daily**: daily'."\n" + ."\n" + .'- **Weekly**: weekly'."\n" + ."\n" + .'- **Monthly**: monthly', + 'enumValueTitles' => ['Daily' => 'Daily', 'Monthly' => 'Monthly', 'Permanent' => 'Always', 'Weekly' => 'Weekly', 'None' => 'One-time'], 'type' => 'string', 'required' => false, - 'example' => 'ngw-2zed6z6qkd7ogc****', + 'example' => 'Permanent', + 'title' => '', ], ], ], @@ -21970,264 +18320,254 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LocationName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'IspName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '25', - ], - 'AssetList' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of returned entries.', 'type' => 'string', 'example' => '28', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F283567D-8A52-5BAE-9472-*****', 'title' => ''], + 'Policys' => [ + 'description' => 'The information about the access control policies for the NAT firewall.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The information about the access control policies for the NAT firewall.', 'type' => 'object', 'properties' => [ - 'AclCoverage' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'All' => '', - 'FullCoverage' => '', - 'Uncovered' => '', - 'PartialCoverage' => '', - ], - 'example' => 'FullCoverage', - ], - 'ResourceInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'ResourceInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-uf63wjhyoohc1g4z****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'LocationName' => [ - 'description' => '', - 'type' => 'string', + 'Destination' => ['description' => 'The destination address in the access control policy. The value of this parameter varies based on the value of the DestinationType parameter. Valid values:'."\n" + ."\n" + .'- If **DestinationType** is **net**, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If **DestinationType** is **domain**, the value of this parameter is a domain name. Example: aliyuncs.com.'."\n" + ."\n" + .'- If **DestinationType** is **group**, the value of this parameter is the name of an address book. Example: db\\_group.'."\n" + ."\n" + .'- If **DestinationType** is **location**, the value of this parameter is a region name. For more information, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].', 'type' => 'string', 'example' => 'x.x.x.x/32', 'title' => ''], + 'Order' => ['description' => 'The priority of the access control policy.'."\n" + ."\n" + .'The priority starts from 1. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DestPortGroup' => ['description' => 'The name of the destination port address book for the traffic in the access control policy.', 'type' => 'string', 'example' => 'my_port_group', 'title' => ''], + 'SourceType' => ['description' => 'The source address type in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: CIDR block'."\n" + ."\n" + .'- **group**: source address book'."\n" + ."\n" + .'- **location**: source region', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'DnsResultTime' => ['description' => 'The timestamp of the DNS resolution. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DnsResult' => ['description' => 'The DNS resolution result.', 'type' => 'string', 'example' => '111.0.XX.XX,112.0.XX.XX', 'title' => ''], + 'ApplicationNameList' => [ + 'description' => 'The application names. Multiple applications are supported.', + 'type' => 'array', + 'items' => ['description' => 'The application names. Multiple applications are supported.', 'type' => 'string', 'example' => '[\'HTTP\', \'HTTPS\']', 'title' => ''], + 'title' => '', 'example' => '', ], - 'FirstTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1744682438', - ], - 'PrivateIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.21.242XXX', - ], - 'RuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '08a58465-ff4d-4c47-8782-eb008301****', - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'LastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1739326614', - ], - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - 'EIP' => 'EIP', - ], - 'example' => 'EcsPublicIP', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'IspName' => [ - 'description' => '', - 'type' => 'string', + 'AclUuid' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'example' => '01281255-d220-4db1-8f4f-c4df221a****', 'title' => ''], + 'DestPortType' => ['description' => 'The destination port type for the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **port**: port'."\n" + ."\n" + .'- **group**: port address book', 'type' => 'string', 'example' => 'port', 'title' => ''], + 'Source' => ['description' => 'The source address in the access control policy. Valid values:'."\n" + ."\n" + .'- If **SourceType** is `net`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.'."\n" + ."\n" + .'- If **SourceType** is `group`, the value of this parameter is the name of a source address book. Example: db\\_group.'."\n" + ."\n" + .'- If **SourceType** is `location`, the value of this parameter is a region. For more information, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'DestinationType' => ['description' => 'The destination address type in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name'."\n" + ."\n" + .'- **location**: destination region', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'HitTimes' => ['description' => 'The number of hits for the access control policy.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'HitLastTime' => ['description' => 'The timestamp of the last hit. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DestPort' => ['description' => 'The destination port for the traffic in the access control policy.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'Description' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'example' => 'test-description', 'title' => ''], + 'AclAction' => ['description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" + ."\n" + .'- **accept**: Allow'."\n" + ."\n" + .'- **drop**: Deny'."\n" + ."\n" + .'- **log**: Monitor', 'type' => 'string', 'example' => 'accept', 'title' => ''], + 'Proto' => ['description' => 'The protocol type of the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **ANY**'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**', 'type' => 'string', 'example' => 'TCP', 'title' => ''], + 'DestinationGroupCidrs' => [ + 'description' => 'The list of CIDR blocks in the destination address book of the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The list of CIDR blocks in the destination address book of the access control policy.', 'type' => 'string', 'example' => '['."\n" + .' "112.0.XX.XX/24",'."\n" + .' "112.0.XX.XX/32"'."\n" + .']', 'title' => ''], + 'title' => '', 'example' => '', ], - 'PublicIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.96.181.XXX', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'string', - 'example' => '458681', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-9dp16jgwgyvn****', + 'DestPortGroupPorts' => [ + 'description' => 'The list of ports in the destination port address book.', + 'type' => 'array', + 'items' => ['description' => 'The list of ports in the destination port address book.', 'type' => 'string', 'example' => '[80,443]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-bp1utx6wj4x9qu9tl****', + 'SourceGroupCidrs' => [ + 'description' => 'The list of CIDR blocks in the source address book of the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The list of CIDR blocks in the source address book of the access control policy.', 'type' => 'string', 'example' => '[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'NatGatewayName' => [ - 'description' => '', + 'Release' => ['description' => 'The status of the access control policy. By default, an access control policy is enabled after it is created. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'SourceGroupType' => ['description' => 'The type of the source address book in the access control policy. The value is fixed at **ip**. This indicates an IP address book that contains one or more IP address CIDR blocks.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'DestinationGroupType' => ['description' => 'The type of the destination address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: an IP address book that contains one or more IP address CIDR blocks.'."\n" + ."\n" + .'- **domain**: a domain name address book that contains one or more domain names.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-xxxxxx', 'title' => ''], + 'DomainResolveType' => ['description' => 'The domain name resolution method of the access control policy. By default, this feature is enabled. Valid values:'."\n" + ."\n" + .'- **0**: FQDN-based'."\n" + ."\n" + .'- **1**: DNS-based dynamic resolution'."\n" + ."\n" + .'- **2**: FQDN- and DNS-based dynamic resolution', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'SpreadCnt' => ['description' => 'The number of policy specifications that are occupied. This is the cumulative value of the number of specifications occupied by each policy.'."\n" + .'The number of specifications occupied by a single policy = Number of source CIDR blocks × Number of destination addresses (IP address CIDR blocks, regions, or domain names) × Number of applications × Number of port ranges.', 'type' => 'string', 'example' => '10,000', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the policy was created. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'ModifyTime' => ['description' => 'The time when the policy was last modified. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'RepeatType' => [ + 'description' => 'The recurrence type for the policy validity period. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): always'."\n" + ."\n" + .'- **None**: one-time'."\n" + ."\n" + .'- **Daily**: daily'."\n" + ."\n" + .'- **Weekly**: weekly'."\n" + ."\n" + .'- **Monthly**: monthly', + 'enumValueTitles' => ['Daily' => 'Daily', 'Monthly' => 'Monthly', 'Permanent' => 'Always', 'Weekly' => 'Weekly', 'None' => 'Specify a single time'], 'type' => 'string', - 'example' => 'ngw-test', + 'example' => 'Permanent', + 'title' => '', ], - 'TagList' => [ - 'description' => '', + 'RepeatDays' => [ + 'description' => 'The days of the week or month for the policy to repeat.'."\n" + ."\n" + .'- If RepeatType is set to `Permanent`, `None`, or `Daily`, this parameter is an empty set.'."\n" + .' Example: \\[]'."\n" + ."\n" + .'- If RepeatType is set to Weekly, this parameter cannot be empty.'."\n" + .' Example: \\[0, 6]'."\n" + ."\n" + .'> If RepeatType is set to Weekly, the days in RepeatDays cannot be repeated.'."\n" + ."\n" + .'- If RepeatType is set to `Monthly`, this parameter cannot be empty.'."\n" + .' Example: \\[1, 31]'."\n" + ."\n" + .'> If RepeatType is set to Monthly, the days in RepeatDays cannot be repeated.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - '', - '', - ], - 'example' => '0', - ], - 'TagName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'TagId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FirstFlow', - ], - 'TagDescribe' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'ClassId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - ], - ], + 'items' => ['description' => 'The day of the week or month for the policy to repeat.'."\n" + ."\n" + .'> If RepeatType is set to Weekly, the valid values are 0 to 6. The week starts on Sunday.'."\n" + .'> If RepeatType is set to Monthly, the valid values are 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'RepeatStartTime' => ['description' => 'The start time of the recurrence. The time is in the HH:mm format, based on a 24-hour clock. Example: 08:00.'."\n" + ."\n" + .'> If RepeatType is set to Permanent or None, this parameter is empty. If RepeatType is set to Daily, Weekly, or Monthly, you must set this parameter.'."\n" + .'> The time is in the HH:mm format, based on a 24-hour clock. Examples: 08:00 and 23:30.', 'type' => 'string', 'example' => '08:00', 'title' => ''], + 'RepeatEndTime' => ['description' => 'The end time of the recurrence. The time is in the HH:mm format, based on a 24-hour clock. Example: 23:00.'."\n" + ."\n" + .'> If RepeatType is set to Permanent or None, this parameter is empty. If RepeatType is set to Daily, Weekly, or Monthly, you must set this parameter.'."\n" + .'> The time is in the HH:mm format, based on a 24-hour clock. Examples: 08:00 and 23:30.', 'type' => 'string', 'example' => '23:30', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the policy validity period. The value is a UNIX timestamp. Unit: seconds. The time must be on the hour or half hour, and at least 30 minutes earlier than the end time.'."\n" + ."\n" + .'> If RepeatType is set to Permanent, this parameter is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, you must set this parameter.', 'type' => 'integer', 'format' => 'int64', 'example' => '1694761200', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the policy validity period. The value is a UNIX timestamp. Unit: seconds. The time must be on the hour or half hour, and at least 30 minutes later than the start time.'."\n" + ."\n" + .'> If RepeatType is set to Permanent, this parameter is empty. If RepeatType is set to None, Daily, Weekly, or Monthly, you must set this parameter.', 'type' => 'integer', 'format' => 'int64', 'example' => '1694764800', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorPortError', - 'errorMessage' => 'The port is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => 'The request parameter NatGatewayId is invalid or does not exist.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LocationName\\": \\"杭州\\",\\n \\"IspName\\": \\"电信\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"TotalCount\\": 25,\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"InBytes\\": 0,\\n \\"LocationName\\": \\"杭州\\",\\n \\"FirstTime\\": 1744682438,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 2,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"OutBytes\\": 0,\\n \\"IspName\\": \\"电信\\",\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TotalBytes\\": \\"458681\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInternetTrafficTop' => [ - 'summary' => '获取互联网流量TOP趋势图', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"28\\",\\n \\"RequestId\\": \\"F283567D-8A52-5BAE-9472-*****\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"111.0.XX.XX,112.0.XX.XX\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"test-description\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\n \\\\\\"112.0.XX.XX/24\\\\\\",\\\\n \\\\\\"112.0.XX.XX/32\\\\\\"\\\\n]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']\\"\\n ],\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"NatGatewayId\\": \\"ngw-xxxxxx\\",\\n \\"DomainResolveType\\": 0,\\n \\"SpreadCnt\\": \\"10,000\\",\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeNatFirewallControlPolicy', + 'description' => 'This operation queries access control policies for NAT firewalls and returns the results in a paginated list.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + ], + 'DescribeNatFirewallDropTrafficTrend' => [ + 'summary' => 'Overview - NAT firewall blocking trends', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22239,177 +18579,25 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68285', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '203563', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '117.82.14.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'in', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '122.190.56.XXX', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'schema' => ['description' => 'The start of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1740968766', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1734055824', - ], - ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - [ - 'name' => 'DataType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in_src_location' => '', - 'in_src_ip' => '', - ], - 'example' => 'in_src_ip', - ], - ], - [ - 'name' => 'RuleResult', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - '', - '', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'RuleSource', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - '', - '', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'in_bytes' => 'in_bytes', - 'session_count' => 'session_count', - 'out_bytes' => 'out_bytes', - 'total_bytes' => 'total_bytes', - 'out_packets' => 'out_packets', - 'in_packets' => 'in_packets', - ], - 'example' => 'in_bytes', - ], - ], - [ - 'name' => 'ShowCountryName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'China', - ], - ], - [ - 'name' => 'Limit', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758334822', 'title' => ''], ], ], 'responses' => [ @@ -22417,131 +18605,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DataType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'in_src_location' => '', - 'in_src_ip' => '', - ], - 'example' => 'in_src_ip', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'DataCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'DropSessionMax' => ['description' => 'The peak number of dropped sessions for the specified period.', 'type' => 'integer', 'format' => 'int64', 'example' => '62436', 'title' => ''], + 'DropSessionMaxTime' => ['description' => 'The timestamp that corresponds to the peak number of dropped sessions. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'example' => '1525662720', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], 'DataList' => [ - 'description' => '', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'DataValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.12', - ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'DataName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'US', - ], - 'IsSubscribed' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'LabelList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NA', - ], - ], + 'Time' => ['description' => 'The data timestamp. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600', 'title' => ''], + 'TotalSession' => ['description' => 'The total number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '153188', 'title' => ''], + 'DropSession' => ['description' => 'The number of blocked sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], ], + 'description' => 'The list of data for the Overview page.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of data for the Overview page.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorRuleSourceError', - 'errorMessage' => 'The rule source is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorLimitCountFailed', - 'errorMessage' => 'The limit count is invalid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"DataCount\\": 10,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"47.12\\",\\n \\"SessionCount\\": 27,\\n \\"TotalBytes\\": 0,\\n \\"DataName\\": \\"US\\",\\n \\"IsSubscribed\\": false,\\n \\"LabelList\\": [\\n \\"NA\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInternetTrafficTrend' => [ - 'summary' => 'Queries the trends of Internet traffic.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeNatFirewallDropTrafficTrend', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 62436,\\n \\"DropSessionMaxTime\\": \\"1525662720\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"TotalSession\\": 153188,\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallList' => [ + 'summary' => 'Queries NAT firewall details.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22553,373 +18681,217 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68287', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '115925', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the access source.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '101.80.171.196', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content in the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content in the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the internet traffic.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **in**: inbound traffic'."\n" - .'* **out**: outbound traffic', - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['description' => 'The number of NAT firewalls to return on each page for a paged query.'."\n" + ."\n" + .'The default value is **10**. The maximum value is **50**.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'default' => '10', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.', - 'type' => 'string', - 'required' => true, - 'example' => '1670307484', - ], + 'schema' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'required' => false, 'example' => 'proxy-nat97a******'."\n", 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'ProxyName', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', - 'type' => 'string', - 'required' => true, - 'example' => '1674958929', - ], + 'schema' => ['description' => 'The name of the NAT firewall. The name must be 4 to 50 characters in length. It can contain letters, digits, and underscores (\\_). It cannot start with an underscore (\\_).', 'type' => 'string', 'required' => false, 'example' => 'nat-firewall', 'title' => ''], ], [ - 'name' => 'SourceCode', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The source code.', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => 'The region ID of the VPC.'."\n" + ."\n" + .'> For more information about the regions where Cloud Firewall is available, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'SrcPublicIP', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The public IP address of the source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '47.112.210.136', - ], + 'schema' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], ], [ - 'name' => 'SrcPrivateIP', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The private IP address of the source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.100.134.60', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-bp123456g******', 'title' => ''], ], [ - 'name' => 'TrafficType', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the traffic that is captured. Valid values:'."\n" - ."\n" - .'* **max** (default): peak traffic'."\n" - .'* **avg**: average traffic'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'max', - ], + 'schema' => ['description' => 'The status of the Cloud Firewall. Valid values:'."\n" + ."\n" + .'- configuring: The firewall is being created.'."\n" + ."\n" + .'- deleting: The firewall is being deleted.'."\n" + ."\n" + .'- normal: The firewall is working as expected.'."\n" + ."\n" + .'- abnormal: The firewall is not working as expected.'."\n" + ."\n" + .'- opening: The firewall is being enabled.'."\n" + ."\n" + .'- closing: The firewall is being disabled.'."\n" + ."\n" + .'- closed: The firewall is disabled.', 'type' => 'string', 'required' => false, 'example' => 'normal', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '147783******', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'MaxTotalBps' => [ - 'description' => 'The total maximum inbound and outbound network throughput, which indicates the maximum number of bits that are sent inbound and outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '89783147', - ], - 'MaxBandwidthTime' => [ - 'description' => 'The timestamp generated when the bandwidth reaches the peak value. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1672736400', - ], - 'AvgInBps' => [ - 'description' => 'The average inbound network throughput, which indicates the average number of bits that are sent inbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6114152', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C7E837BE-0379-565E-B7B4-DE595C8D337C', - ], - 'MaxInBps' => [ - 'description' => 'The maximum inbound network throughput, which indicates the maximum number of bits that are sent inbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10275643', - ], - 'MaxOutBps' => [ - 'description' => 'The maximum outbound network throughput, which indicates the maximum number of bits that are sent outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '395188', - ], - 'AvgSession' => [ - 'description' => 'The average number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '79013', - ], - 'MaxSession' => [ - 'description' => 'The number of requests during the peak hour of the network throughout.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '931641', - ], - 'AvgTotalBps' => [ - 'description' => 'The total average inbound and outbound network throughput, which indicates the average number of bits that are sent inbound and outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2306', - ], - 'AvgOutBps' => [ - 'description' => 'The average outbound network throughput, which indicates the average number of bits that are sent outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '70148993', - ], - 'TotalInBytes' => [ - 'description' => 'The inbound network throughput, which indicates the total number of bytes that are sent inbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41536824243873', - ], - 'TotalOutBytes' => [ - 'description' => 'The outbound network throughput, which indicates the total number of bytes that are sent outbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2660894567178', - ], - 'TotalBytes' => [ - 'description' => 'The total inbound and outbound network throughput, which indicates the total number of bytes that are sent inbound and outbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '963227674958', - ], - 'TotalSession' => [ - 'description' => 'The total number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1061449', - ], - 'TotalExceedBytes' => [ - 'description' => 'The total volume of excess traffic.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4243873', - ], - 'MaxDayExceedBytes' => [ - 'description' => 'The maximum volume of excess traffic allowed per day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '873', - ], - 'DataList' => [ - 'description' => 'The statistics on traffic.'."\n", + 'TotalCount' => ['description' => 'The total number of NAT firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n", 'title' => ''], + 'NatFirewallList' => [ + 'description' => 'The list of Cloud Firewalls.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of Cloud Firewalls.', 'type' => 'object', 'properties' => [ - 'SessionCount' => [ - 'description' => 'The number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'Time' => [ - 'description' => 'The time when traffic is generated. The value is a UNIX timestamp. Unit: seconds.'."\n" - ."\n" - .'If processing is not complete at this point in time, -1 is returned for all other fields.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1659405600', - ], - 'InBps' => [ - 'description' => 'The inbound network throughput, which indicates the number of bits that are sent inbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '187', - ], - 'InPps' => [ - 'description' => 'The inbound network throughput, which indicates the number of packets that are sent inbound per second. Unit: packets per second (pps).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'NewConn' => [ - 'description' => 'The number of new connections.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'OutBytes' => [ - 'description' => 'The outbound network throughput, which indicates the total number of bytes that are sent outbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'OutPps' => [ - 'description' => 'The outbound network throughput, which indicates the number of packets that are sent outbound per second. Unit: pps.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'InBytes' => [ - 'description' => 'The inbound network throughput, which indicates the total number of bytes that are sent inbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '235', - ], - 'OutBps' => [ - 'description' => 'The outbound network throughput, which indicates the number of bits that are sent outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'TotalBps' => [ - 'description' => 'The total outbound and inbound network throughput, which indicates the total number of bits that are sent inbound and outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '323', + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '19106481******', 'title' => ''], + 'AliUid' => ['description' => 'The UID of the Alibaba Cloud account.'."\n" + ."\n" + .'> This is the primary account of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '19106481******'."\n", 'title' => ''], + 'ProxyId' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'example' => 'proxy-nat30******', 'title' => ''], + 'ProxyName' => ['description' => 'The name of the NAT firewall.', 'type' => 'string', 'example' => 'nat-firewall-test'."\n", 'title' => ''], + 'ProxyStatus' => ['description' => 'The status of the Cloud Firewall. Valid values:'."\n" + ."\n" + .'- configuring: The firewall is being created.'."\n" + ."\n" + .'- deleting: The firewall is being deleted.'."\n" + ."\n" + .'- normal: The firewall is working as expected.'."\n" + ."\n" + .'- abnormal: The firewall is not working as expected.'."\n" + ."\n" + .'- opening: The firewall is being enabled.'."\n" + ."\n" + .'- closing: The firewall is being disabled.'."\n" + ."\n" + .'- closed: The firewall is disabled.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'RegionId' => ['description' => 'The region ID where the Cloud Firewall is located.'."\n" + ."\n" + .'> For more information about the regions where Cloud Firewall is available, see [Supported regions](~~195657~~).', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT Gateway to query.', 'type' => 'string', 'example' => 'ngw-uf6tnblxip4qcxg******', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT Gateway.', 'type' => 'string', 'example' => 'nat-gateway-test'."\n", 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'example' => 'vpc-2ze26ya******', 'title' => ''], + 'VpcName' => ['description' => 'The name of the VPC instance.', 'type' => 'string', 'example' => 'vpc-test-instance', 'title' => ''], + 'ErrorDetail' => ['description' => 'The cause of the error.', 'type' => 'string', 'example' => 'Firewall creation failed', 'title' => ''], + 'StrictMode' => ['description' => 'Indicates whether strict mode is enabled.'."\n" + ."\n" + .'- 1: Strict mode is enabled.'."\n" + ."\n" + .'- 0: Strict mode is disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'NatRouteEntryList' => [ + 'description' => 'The list of default route entries for the NAT Gateway.', + 'type' => 'array', + 'items' => [ + 'description' => 'A default route entry for the NAT Gateway.', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'The route table that contains the default route of the NAT Gateway.', 'type' => 'string', 'example' => 'vtb-bp18o0gb******', 'title' => ''], + 'NextHopId' => ['description' => 'The next hop of the original NAT Gateway.', 'type' => 'string', 'example' => 'ngw-2ze0s284r9atg5******', 'title' => ''], + 'NextHopType' => ['description' => 'The network type of the next hop. The value is \\`NatGateway\\`.', 'type' => 'string', 'example' => 'NatGateway', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the default route.', 'type' => 'string', 'example' => '0.0.0.0/0', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'ProxyVSwitchId' => ['description' => 'The ID of the vSwitch that the firewall uses.', 'type' => 'string', 'example' => 'vsw-bp1amn3t1ktjjy8******', 'title' => ''], + 'ProxyRouteTableId' => ['description' => 'The ID of the route table that the firewall uses.', 'type' => 'string', 'example' => 'vtb-bp1pmyga7p4j10a******', 'title' => ''], + 'ProxyNetworkInterfaceId' => ['description' => 'The ID of the Elastic Network Interface (ENI) that the firewall uses.', 'type' => 'string', 'example' => 'eni-bp127llmo4v5qju******', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSrcDstIPError', - 'errorMessage' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', - ], - [ - 'errorCode' => 'ErrorTrafficType', - 'errorMessage' => 'The traffic type is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorNatGatewayNotAvailable', 'errorMessage' => 'Nat gateway not available.', 'description' => 'The NAT gateway status is unavailable and cannot be operated.'], + ['errorCode' => 'ErrorDnatNotSupport', 'errorMessage' => 'NAT firewall does not support DAT entries.', 'description' => 'NAT firewall does not support DNAT.'], + ['errorCode' => 'ErrorProxySnatIpEmpty', 'errorMessage' => 'SNAT entry is empty.', 'description' => 'SNAT entry is empty.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxTotalBps\\": 89783147,\\n \\"MaxBandwidthTime\\": 1672736400,\\n \\"AvgInBps\\": 6114152,\\n \\"RequestId\\": \\"C7E837BE-0379-565E-B7B4-DE595C8D337C\\",\\n \\"MaxInBps\\": 10275643,\\n \\"MaxOutBps\\": 395188,\\n \\"AvgSession\\": 79013,\\n \\"MaxSession\\": 931641,\\n \\"AvgTotalBps\\": 2306,\\n \\"AvgOutBps\\": 70148993,\\n \\"TotalInBytes\\": 41536824243873,\\n \\"TotalOutBytes\\": 2660894567178,\\n \\"TotalBytes\\": 963227674958,\\n \\"TotalSession\\": 1061449,\\n \\"TotalExceedBytes\\": 4243873,\\n \\"MaxDayExceedBytes\\": 873,\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"Time\\": 1659405600,\\n \\"InBps\\": 187,\\n \\"InPps\\": 2,\\n \\"NewConn\\": 27,\\n \\"OutBytes\\": 1123,\\n \\"OutPps\\": 2,\\n \\"InBytes\\": 235,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeInternetTrafficTrend', - ], - 'DescribeNatFirewallTrafficTrend' => [ - 'summary' => 'Queries the traffic trend of NAT gateways.', - 'methods' => [ - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\",\\n \\"NatFirewallList\\": [\\n {\\n \\"MemberUid\\": 0,\\n \\"AliUid\\": 0,\\n \\"ProxyId\\": \\"proxy-nat30******\\",\\n \\"ProxyName\\": \\"nat-firewall-test\\\\n\\",\\n \\"ProxyStatus\\": \\"normal\\",\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6tnblxip4qcxg******\\",\\n \\"NatGatewayName\\": \\"nat-gateway-test\\\\n\\",\\n \\"VpcId\\": \\"vpc-2ze26ya******\\",\\n \\"VpcName\\": \\"vpc-test-instance\\",\\n \\"ErrorDetail\\": \\"Firewall creation failed\\",\\n \\"StrictMode\\": 0,\\n \\"NatRouteEntryList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-bp18o0gb******\\",\\n \\"NextHopId\\": \\"ngw-2ze0s284r9atg5******\\",\\n \\"NextHopType\\": \\"NatGateway\\",\\n \\"DestinationCidr\\": \\"0.0.0.0/0\\"\\n }\\n ],\\n \\"ProxyVSwitchId\\": \\"vsw-bp1amn3t1ktjjy8******\\",\\n \\"ProxyRouteTableId\\": \\"vtb-bp1pmyga7p4j10a******\\",\\n \\"ProxyNetworkInterfaceId\\": \\"eni-bp127llmo4v5qju******\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeNatFirewallList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ], + ], + ], ], + ], + 'DescribeNatFirewallPolicyPriorUsed' => [ + 'summary' => 'Queries the priority range of an access control policy for a NAT firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22931,193 +18903,258 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '203560', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '171493', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1739326980', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp that is accurate to seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1739330580', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => 'The traffic direction of the access control policy.'."\n" + ."\n" + .'Valid value:'."\n" + ."\n" + .'- **out**: outbound traffic.', 'type' => 'string', 'required' => true, 'example' => 'out', 'title' => ''], ], [ - 'name' => 'SrcPublicIP', + 'name' => 'IpVersion', 'in' => 'query', + 'schema' => ['description' => 'The IP version. Valid value:'."\n" + ."\n" + .'- **4** (default): IPv4', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The public IP address of the source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '47.112.210.136', + 'type' => 'object', + 'properties' => [ + 'End' => ['description' => 'The lowest priority of the access control policy.', 'type' => 'integer', 'format' => 'int32', 'example' => '28', 'title' => ''], + 'Start' => ['description' => 'The highest priority of the access control policy.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'BCDF3907-1011-5504-B015-CC7603C0E6B6', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => 'The request parameter NatGatewayId is invalid or does not exist.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeNatFirewallPolicyPriorUsed', + 'description' => 'You can call this operation to query the priority range of an access control policy for outbound traffic on a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallPolicyPriorUsed'], + ], + ], + 'ramActions' => [ [ - 'name' => 'SrcPrivateIP', - 'in' => 'query', - 'schema' => [ - 'description' => 'The private IP address of the source.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.100.134.60', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": 28,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"BCDF3907-1011-5504-B015-CC7603C0E6B6\\"\\n}","type":"json"}]', + ], + 'DescribeNatFirewallPrecheckDetail' => [ + 'summary' => 'Queries the precheck details for a NAT firewall.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Interval', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '204316', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The time interval between the data entries to return. Unit: seconds. Valid values:'."\n" - ."\n" - .'* **60**: 1 minute'."\n" - .'* **1800**: 30 minutes', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => 'The language of the request and response messages.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-bp1okz6k7dge****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '87F23A3A-6F57-59C3-8237-A090D0613D71', - ], - 'MaxTotalBps' => [ - 'description' => 'The total maximum inbound and outbound network throughput, which indicates the maximum number of bits that are sent inbound and outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '66953194', - ], - 'MaxOutBps' => [ - 'description' => 'The maximum outbound network throughput, which indicates the maximum number of bits that are sent outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122596487', - ], - 'MaxInBps' => [ - 'description' => 'The maximum inbound network throughput, which indicates the maximum number of bits that are sent inbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18038632', - ], - 'DataList' => [ - 'description' => 'The statistics on traffic.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The statistics on traffic.'."\n", - 'type' => 'object', - 'properties' => [ - 'TrafficTime' => [ - 'description' => 'The time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1734418980', - ], - 'MaxTotalBps' => [ - 'description' => 'The total maximum inbound and outbound network throughput, which indicates the maximum number of bits that are sent inbound and outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '66953194', - ], - 'MaxInBps' => [ - 'description' => 'The maximum inbound network throughput, which indicates the maximum number of bits that are sent inbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18038632', - ], - 'MaxOutBps' => [ - 'description' => 'The maximum outbound network throughput, which indicates the maximum number of bits that are sent outbound per second. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122596487', + 'IsFound' => ['description' => 'Indicates whether a task exists.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'PrecheckDetail' => [ + 'type' => 'object', + 'properties' => [ + 'NetworkInstanceId' => ['description' => 'The ID of the network instance.', 'type' => 'string', 'example' => 'vpc-m5emh0w6v2e15****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shenzhen', 'title' => ''], + 'FirewallId' => ['description' => 'The ID of the firewall instance.', 'type' => 'string', 'example' => 'vfw-tr-7a9c8901ed394****', 'title' => ''], + 'PrecheckTimestamp' => ['description' => 'The timestamp of the precheck.', 'type' => 'string', 'example' => '1715136000', 'title' => ''], + 'PrecheckStatus' => ['description' => 'The status of the precheck. Valid values:'."\n" + ."\n" + .'- **running**: The precheck is in progress.'."\n" + ."\n" + .'- **passed**: The precheck is passed.'."\n" + ."\n" + .'- **failed**: The precheck failed.', 'type' => 'string', 'example' => 'failed', 'title' => ''], + 'PrecheckEntityGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the precheck instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PrecheckEntities' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the precheck item.', 'type' => 'string', 'example' => 'Precheck test', 'title' => ''], + 'Status' => ['description' => 'The status of each precheck item. Valid values:'."\n" + ."\n" + .'- **running**: The precheck is in progress.'."\n" + ."\n" + .'- **passed**: The precheck is passed.'."\n" + ."\n" + .'- **failed**: The precheck failed.', 'type' => 'string', 'example' => 'passed', 'title' => ''], + 'Info' => ['description' => 'The information about the failed precheck item.', 'type' => 'string', 'example' => 'VPC Firewall Quota Full', 'title' => ''], + 'Suggestion' => ['description' => 'The suggested solution.', 'type' => 'string', 'example' => 'The VPC firewall quota is full. We recommend that you increase the firewall quota', 'title' => ''], + ], + 'description' => 'The execution status of each precheck item.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The execution status of each precheck item.', + 'title' => '', + 'example' => '', + ], + 'PrecheckEntityGroupStatus' => ['description' => 'The status of the precheck. Valid values:'."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **passed**'."\n" + ."\n" + .'- **failed**', 'type' => 'string', 'example' => 'running', 'title' => ''], + 'FailedCount' => ['description' => 'The number of failed precheck items.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + ], + 'description' => 'The list of precheck item groups.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of precheck item groups.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The details of the precheck.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal Error'], + ['errorCode' => 'ErrorPreCheckDoing', 'errorMessage' => 'Pre-check in progress, please try again later.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"87F23A3A-6F57-59C3-8237-A090D0613D71\\",\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxOutBps\\": 122596487,\\n \\"MaxInBps\\": 18038632,\\n \\"DataList\\": [\\n {\\n \\"TrafficTime\\": 1734418980,\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxInBps\\": 18038632,\\n \\"MaxOutBps\\": 122596487\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeNatFirewallTrafficTrend', - ], - 'DescribeInternetServiceNameList' => [ - 'summary' => '获取互联网服务名称列表', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeNatFirewallPrecheckDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC Firewall Quota Full\\",\\n \\"Suggestion\\": \\"The VPC firewall quota is full. We recommend that you increase the firewall quota\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 9\\n }\\n ]\\n },\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', + ], + 'DescribeNatFirewallQuota' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23129,47 +19166,25 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68281', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '115963', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '140.240.17.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the request.', 'title' => '', 'example' => '113.132.26.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], @@ -23179,50 +19194,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '91B01BCD-DFB0-5CA8-9191-5B38C62****', - ], - 'ServiceNameList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "SMB",'."\n" - .' "MySQL"'."\n" - .']', - ], - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The request ID.', 'example' => 'F98BAA59-5863-5B61-8FD4-C5E96813****'], + 'UsedCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of used quotas.', 'title' => '', 'example' => '10'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of quotas.', 'title' => '', 'example' => '6'], + 'ExceptionCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of nodes that are in an abnormal state.', 'title' => '', 'example' => '1'], + 'UnprotectedCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of unprotected assets.', 'title' => '', 'example' => '20'], ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => 'The user does not exist.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => 'This request uses the same client token as the previous request, but not the same. Do not reuse client tokens in different requests unless the request is the same.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"91B01BCD-DFB0-5CA8-9191-5B38C62****\\",\\n \\"ServiceNameList\\": [\\n \\"[\\\\n \\\\\\"SMB\\\\\\",\\\\n \\\\\\"MySQL\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', - ], - 'DescribeInternetOpenIp' => [ - 'summary' => 'Queries the IP addresses that are open to the Internet.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeNatFirewallQuota', + 'summary' => 'Retrieves the quotas for a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F98BAA59-5863-5B61-8FD4-C5E96813****\\",\\n \\"UsedCount\\": 10,\\n \\"TotalCount\\": 6,\\n \\"ExceptionCount\\": 1,\\n \\"UnprotectedCount\\": 20\\n}","type":"json"}]', + ], + 'DescribeNatFirewallTimeTop' => [ + 'summary' => 'Queries the top traffic data of a NAT firewall at a specific point in time.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23234,10 +19255,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68277', - 'abilityTreeNodes' => [ - 'FEATUREcfwVWCDEU', - ], + 'abilityTreeCode' => '216506', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -23245,349 +19264,253 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language of the content within the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'ServiceName', + 'name' => 'SrcPublicIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The application.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SSH', - ], + 'schema' => ['description' => 'The public IP address of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => '47.93.47.XXX', 'title' => ''], ], [ - 'name' => 'RiskLevel', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level. If you leave this parameter empty, all risk levels are queried. Valid values:'."\n" - ."\n" - .'* **3**: high risk'."\n" - .'* **2**: medium risk'."\n" - .'* **1**: low risk'."\n" - .'* **0**: no risk'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-uf62zzi7000bca7zn****', 'title' => ''], ], [ - 'name' => 'Port', + 'name' => 'SrcPrivateIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The port number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'The private IP address of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => '10.100.134.XXX', 'title' => ''], ], [ - 'name' => 'AssetsInstanceId', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID.'."\n", + 'description' => 'The sorting method.', + 'enumValueTitles' => ['total_max_bps' => 'total\\_max\\_bps', 'out_max_bps' => 'out\\_max\\_bps', 'in_max_bps' => 'in\\_max\\_bps'], 'type' => 'string', 'required' => false, - 'example' => 'i-uf6faknmuby7ezht****', + 'example' => 'total_max_bps', + 'title' => '', ], ], [ - 'name' => 'AssetsInstanceName', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'launch-advisor-2023****', - ], + 'schema' => ['description' => 'The maximum number of top entries to return. The default value is 200. Valid values: 1 to 500.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', 'title' => ''], ], [ - 'name' => 'PublicIp', + 'name' => 'TrafficTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The public IP address of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.1', - ], + 'schema' => ['description' => 'The point in time to query the traffic data. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1749693960', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'Interval', 'in' => 'query', + 'schema' => ['description' => 'The time interval.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', 'title' => ''], + 'DataCount' => ['description' => 'The number of results.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'TrafficTime' => ['description' => 'The point in time when the traffic data was collected. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'example' => '1656923760', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => 'The IP address.', 'type' => 'string', 'example' => '10.66.231.XXX', 'title' => ''], + 'InBps' => ['description' => 'The inbound bandwidth. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'example' => '187', 'title' => ''], + 'OutBps' => ['description' => 'The outbound bandwidth. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'example' => '45', 'title' => ''], + 'TotalBps' => ['description' => 'The total bandwidth. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'example' => '232', 'title' => ''], + 'SessionCount' => ['description' => 'The total number of sessions.', 'type' => 'string', 'example' => '27', 'title' => ''], + 'NewConn' => ['description' => 'The number of new connections.', 'type' => 'string', 'example' => '27', 'title' => ''], + 'ResourceInstanceId' => ['description' => 'The ID of the asset instance.', 'type' => 'string', 'example' => 'i-bp130nn8h6157dir****', 'title' => ''], + 'ResourceInstanceName' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'RegionNo' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-uf6pnry5vpawb****', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-test', 'title' => ''], + 'NatFirewallId' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'example' => 'vfw-tr-7a9c8901ed394****'."\n", 'title' => ''], + 'NatFirewallName' => ['description' => 'The name of the NAT firewall.', 'type' => 'string', 'example' => 'vfw-test', 'title' => ''], + ], + 'description' => 'The list of data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of data.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeNatFirewallTimeTop', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'AssetsType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The asset type of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'EcsEIP', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataCount\\": 2,\\n \\"TrafficTime\\": \\"1656923760\\",\\n \\"DataList\\": [\\n {\\n \\"Ip\\": \\"10.66.231.XXX\\",\\n \\"InBps\\": 187,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232,\\n \\"SessionCount\\": \\"27\\",\\n \\"NewConn\\": \\"27\\",\\n \\"ResourceInstanceId\\": \\"i-bp130nn8h6157dir****\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"RegionNo\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6pnry5vpawb****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatFirewallId\\": \\"vfw-tr-7a9c8901ed394****\\\\n\\",\\n \\"NatFirewallName\\": \\"vfw-test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallTrafficTrend' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '203560', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1681957629', - ], + 'schema' => ['description' => 'The start of the time range to query. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1739326980'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1663640336', - ], + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1739330580'], ], [ - 'name' => 'CurrentPage', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'ngw-xxxxxx'], ], [ - 'name' => 'PageSize', + 'name' => 'SrcPublicIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The source IP address on the Internet.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '47.112.210.136'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54', - ], - 'PageInfo' => [ - 'description' => 'The pagination information.'."\n", - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - ], - ], + [ + 'name' => 'SrcPrivateIP', + 'in' => 'query', + 'schema' => ['description' => 'The private source IP address.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10.100.134.60'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => 'The time granularity for the query. Unit: seconds. Valid values:'."\n" + ."\n" + .'- **60**: 1 minute.'."\n" + ."\n" + .'- **1800**: 30 minutes.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '60'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The data returned.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '87F23A3A-6F57-59C3-8237-A090D0613D71'], + 'MaxTotalBps' => ['description' => 'The peak total network throughput for inbound and outbound traffic. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '66953194'], + 'MaxOutBps' => ['description' => 'The peak outbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '122596487'], + 'MaxInBps' => ['description' => 'The peak inbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '18038632'], 'DataList' => [ - 'description' => 'The data returned.'."\n", + 'description' => 'A list of traffic statistics.', 'type' => 'array', 'items' => [ - 'description' => 'The data returned.'."\n", + 'description' => 'A list of traffic statistics.', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => 'The risk level. Valid values:'."\n" - ."\n" - .'* **3**: high risk'."\n" - .'* **2**: medium risk'."\n" - .'* **1**: low risk'."\n" - .'* **0**: no risk'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TrafficPercent1Day' => [ - 'description' => 'For detailed traffic information, see the TotalBytes field.', - 'type' => 'string', - 'example' => '0', - ], - 'AclRecommendDetail' => [ - 'description' => 'The reason why recommended intelligent policies are unavailable. Valid values:'."\n" - ."\n" - .'* No recommended intelligent policies are available.'."\n" - .'* This feature is available only to some users.'."\n" - .'* The policy configuration has been modified. No recommended intelligent policies are available.'."\n" - .'* The recommended intelligent policies have been configured. No new recommended intelligent policies are available.'."\n", - 'type' => 'string', - 'example' => 'No recommended intelligent policies are available.', - ], - 'AssetsName' => [ - 'description' => 'The instance name.'."\n", - 'type' => 'string', - 'example' => 'launch-advisor-2023****', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'AssetsType' => [ - 'description' => 'The asset type of the instance.'."\n", - 'type' => 'string', - 'example' => 'EcsEIP', - ], - 'HasAclRecommend' => [ - 'description' => 'Specifies whether an access control policy is recommended. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DetailNum' => [ - 'description' => 'The total number of ports.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TrafficPercent7Day' => [ - 'description' => 'For detailed traffic information, see the TotalBytes field.', - 'type' => 'string', - 'example' => '0', - ], - 'TrafficPercent30Day' => [ - 'description' => 'For detailed traffic information, see the TotalBytes field.', - 'type' => 'string', - 'example' => '0', - ], - 'PublicIp' => [ - 'description' => 'The public IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '203.0.113.1', - ], - 'RiskReason' => [ - 'description' => 'The reason for the risk.'."\n", - 'type' => 'string', - 'example' => 'Previous traffic is all malicious traffic.', - ], - 'AssetsInstanceId' => [ - 'description' => 'The instance ID.'."\n", - 'type' => 'string', - 'example' => 'i-bp1ix9w22kv6aew9****', - ], - 'PortList' => [ - 'description' => 'The list of ports.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ports.'."\n", - 'type' => 'string', - 'example' => '["3000","5601","8886,"8887","8889"]', - ], - ], - 'ServiceNameList' => [ - 'description' => 'The list of applications.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The applications.'."\n", - 'type' => 'string', - 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']', - ], - ], - 'TotalReplyBytes' => [ - 'description' => 'Outbound traffic in the last 7 days.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'SrcIpCnt' => [ - 'description' => 'Number of source IPs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22', - ], - 'MemberUid' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14151892****7022', - ], - 'InBytes' => [ - 'description' => 'The inbound network throughput, which indicates the total number of bytes that are sent inbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '235', - ], - 'OutBytes' => [ - 'description' => 'The outbound network throughput, which indicates the total number of bytes that are sent outbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'TotalBytes' => [ - 'description' => 'The total inbound and outbound network throughput, which indicates the total number of bytes that are sent inbound and outbound. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '253023143', - ], - 'UnknownReason' => [ - 'description' => 'Reasons for not analyzing the protocol when the protocol is identified as Unknown.', - 'type' => 'array', - 'items' => [ - 'description' => 'Reasons for not analyzing the protocol when the protocol is identified as Unknown.', - 'type' => 'string', - 'example' => 'no_payload', - ], - ], + 'TrafficTime' => ['description' => 'The time of the query. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1734418980'], + 'MaxTotalBps' => ['description' => 'The peak total network throughput for inbound and outbound traffic. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '66953194'], + 'MaxInBps' => ['description' => 'The peak inbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '18038632'], + 'MaxOutBps' => ['description' => 'The peak outbound network throughput. Unit: bps.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '122596487'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"AclRecommendDetail\\": \\"当前无智能策略推荐\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"HasAclRecommend\\": true,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"0\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"PublicIp\\": \\"203.0.113.1\\",\\n \\"RiskReason\\": \\"历史流量均为黑流量\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"PortList\\": [\\n \\"[\\\\\\"3000\\\\\\",\\\\\\"5601\\\\\\",\\\\\\"8886,\\\\\\"8887\\\\\\",\\\\\\"8889\\\\\\"]\\"\\n ],\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"TotalReplyBytes\\": 100000,\\n \\"SrcIpCnt\\": 22,\\n \\"MemberUid\\": 0,\\n \\"InBytes\\": 235,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 253023143,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeInternetOpenIp', - ], - 'DescribeInternetOpenPort' => [ - 'summary' => '获取互联网开放端口', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeNatFirewallTrafficTrend', + 'summary' => 'Overview: NAT Traffic Trend', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallTrafficTrend'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"87F23A3A-6F57-59C3-8237-A090D0613D71\\",\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxOutBps\\": 122596487,\\n \\"MaxInBps\\": 18038632,\\n \\"DataList\\": [\\n {\\n \\"TrafficTime\\": 1734418980,\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxInBps\\": 18038632,\\n \\"MaxOutBps\\": 122596487\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNetworkInstanceList' => [ + 'summary' => 'Queries a list of network instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23599,34 +19522,20 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68278', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68310', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '114.242.33.XXX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => 'en', - 'zh' => 'zh', - ], + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], @@ -23634,118 +19543,180 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => 'en', - 'zh' => 'zh', - ], + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], [ - 'name' => 'ServiceName', + 'name' => 'ConnectType', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => 'SMB', + 'description' => 'The type of connection.', + 'enumValueTitles' => ['expressconnect' => 'Express Connect', 'cen' => 'Cloud Enterprise Network (CEN)'], + 'title' => '', + 'example' => 'expressconnect', ], ], [ - 'name' => 'ServiceNameFuzzy', + 'name' => 'CenId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the CEN instance.', 'title' => '', 'example' => 'cen-x5jayxou71ad73****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '21'], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'D2373503-3921-59F2-93A6-3DA7FB7****'], + 'NetworkInstanceList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NetworkInstanceId' => ['type' => 'string', 'description' => 'The ID of the network instance.', 'title' => '', 'example' => 'vpc-m5ewlqkuf7or****'], + 'NetworkInstanceName' => ['type' => 'string', 'description' => 'The name of the network instance.', 'title' => '', 'example' => 'vpc-test'], + 'RegionNo' => ['type' => 'string', 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-shanghai'], + 'NetworkInstanceType' => [ + 'type' => 'string', + 'description' => 'The type of the network instance.', + 'enumValueTitles' => ['vbr' => 'VBR', 'vpc' => 'VPC'], + 'title' => '', + 'example' => 'vpc', + ], + ], + 'description' => 'The details of the network instances.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The details of the network instances.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorConnectType', 'errorMessage' => 'Connect type invalid.', 'description' => 'Incorrect selection of interworking type. Please select again.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeNetworkInstanceList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RiskLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - '', - -1 => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => '3', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 21,\\n \\"RequestId\\": \\"D2373503-3921-59F2-93A6-3DA7FB7****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-m5ewlqkuf7or****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"vpc\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNetworkInstanceRelationList' => [ + 'summary' => 'Queries the relationships between network instances.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SuggestLevel', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68311', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '', - 10 => '', - 30 => '', - -1 => '', - ' 20' => '', - ], - 'example' => '10', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', + 'example' => 'zh', ], ], [ - 'name' => 'Port', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => '80', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', + 'example' => 'zh', ], ], [ - 'name' => 'StartTime', + 'name' => 'ConnectType', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => '1735264800', + 'description' => 'The connection type.', + 'enumValueTitles' => ['expressconnect' => 'Express Connect', 'cen' => 'Cloud Enterprise Network (CEN)'], + 'title' => '', + 'example' => 'cen', ], ], [ - 'name' => 'EndTime', + 'name' => 'FirewallConfigureStatus', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => '1748358644', + 'description' => 'The configuration status of Cloud Firewall.', + 'enumValueTitles' => ['configured' => 'Cloud Firewall is configured.', 'notconfigured' => 'Cloud Firewall is not configured.'], + 'title' => '', + 'example' => 'notconfigured', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'NetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the local network instance.', 'title' => '', 'example' => 'vpc-2vcwkr****'], ], [ - 'name' => 'PageSize', + 'name' => 'PeerNetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the peer network instance.', 'title' => '', 'example' => 'vpc-dsf232d****'], ], ], 'responses' => [ @@ -23753,198 +19724,156 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F3637663-991B-547F-9163-1A5AC367****', - ], - 'PageInfo' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '39', - ], - ], - ], - 'DataList' => [ - 'description' => '', + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '12'], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '284FF89D-4F70-546F-8EF6-77E0A530****'], + 'NetworkInstanceList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '', - '', - '', - -1 => '', - ], - 'example' => '3', - ], - 'ProbRiskDesc' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'desc', - ], - 'TrafficPercent1Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], - 'PublicIpNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuggestLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - 10 => '', - 20 => '', - 30 => '', - ' -1' => '', - ], - 'example' => '20', - ], - 'DetailNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Port' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'TrafficPercent7Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '30', - ], - 'TrafficPercent30Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '48', - ], - 'ProbRisk' => [ - 'description' => '', + 'ConnectType' => [ 'type' => 'string', - 'example' => 'test', + 'description' => 'The connection type.', + 'enumValueTitles' => ['expressconnect' => 'Express Connect', 'cen' => 'Cloud Enterprise Network (CEN)'], + 'title' => '', + 'example' => 'cen', ], - 'RiskReason' => [ - 'description' => '', + 'NetworkInstanceName' => ['type' => 'string', 'description' => 'The name of the network instance.', 'title' => '', 'example' => 'vpc-test'], + 'NetworkInstanceId' => ['type' => 'string', 'description' => 'The ID of the network instance.', 'title' => '', 'example' => 'vpc-2vcwfqbrh4kr****'], + 'RegionNo' => ['type' => 'string', 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-shanghai'], + 'NetworkInstanceType' => [ 'type' => 'string', - 'example' => 'test', + 'description' => 'The type of the network instance.', + 'enumValueTitles' => ['vbr' => 'vbr', 'vpc' => 'vpc'], + 'title' => '', + 'example' => 'VPC', ], - 'ServiceNameList' => [ - 'description' => '', + 'PeerNetworkInstanceList' => [ 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']', + 'type' => 'object', + 'properties' => [ + 'NetworkInstanceId' => ['type' => 'string', 'description' => 'The ID of the network instance.', 'title' => '', 'example' => 'vpc-dsf232d****'], + 'NetworkInstanceName' => ['type' => 'string', 'description' => 'The name of the network instance.', 'title' => '', 'example' => 'vpc-test'], + 'RegionNo' => ['type' => 'string', 'description' => 'The region.', 'title' => '', 'example' => 'cn-shenzhen'], + 'NetworkInstanceType' => [ + 'type' => 'string', + 'description' => 'The type of the network instance.', + 'enumValueTitles' => ['vbr' => 'vbr', 'vpc' => 'vpc'], + 'title' => '', + 'example' => 'vpc', + ], + 'AssociatedCen' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CenId' => ['type' => 'string', 'description' => 'The ID of the CEN instance.', 'title' => '', 'example' => 'cen-sdij1***'], + 'CenName' => ['type' => 'string', 'description' => 'The name of the CEN instance.', 'title' => '', 'example' => 'test'], + 'TransitRouterType' => ['type' => 'string', 'description' => 'The version of the transit router. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition transit router.'."\n" + ."\n" + .'- **Enterprise**: Enterprise Edition transit router.', 'title' => '', 'example' => 'Enterprise'], + 'AttachmentId' => ['type' => 'string', 'description' => 'The ID of the network instance connection.', 'title' => '', 'example' => 'tr-attach-b9dyqn***'], + 'AttachmentName' => ['type' => 'string', 'description' => 'The name of the network instance connection.', 'title' => '', 'example' => 'att-test2'], + ], + 'description' => 'The associated CEN instance.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The associated CEN instance.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The peer network instance.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of peer network instances.', + 'title' => '', + 'example' => '', ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1456536639.0', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '117200.0', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '621404', - ], - 'UnknownReason' => [ - 'description' => '', + 'AssociatedCen' => [ 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'no_payload', + 'type' => 'object', + 'properties' => [ + 'CenId' => ['type' => 'string', 'description' => 'The ID of the CEN instance.', 'title' => '', 'example' => 'cen-sdij1***'], + 'CenName' => ['type' => 'string', 'description' => 'The name of the CEN instance.', 'title' => '', 'example' => 'test'], + 'TransitRouterType' => ['type' => 'string', 'description' => 'The type of the transit router. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition transit router.'."\n" + ."\n" + .'- **Enterprise**: Enterprise Edition transit router.', 'title' => '', 'example' => 'Enterprise'], + 'AttachmentId' => ['type' => 'string', 'description' => 'The ID of the network instance connection.', 'title' => '', 'example' => 'tr-attach-b92yqn***'], + 'AttachmentName' => ['type' => 'string', 'description' => 'The name of the network instance connection.', 'title' => '', 'example' => 'att-test1'], + ], + 'description' => 'The associated CEN instance.', + 'title' => '', + 'example' => '', ], + 'description' => 'The associated CEN instance.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The information about the network instance.', + 'title' => '', + 'example' => '', ], + 'description' => 'The information about the network instances.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorConfigureStatus', 'errorMessage' => 'firewall configure status invalid.', 'description' => 'Firewall status parameter error, please re-select.'], + ['errorCode' => 'ErrorConnectType', 'errorMessage' => 'Connect type invalid.', 'description' => 'Incorrect selection of interworking type. Please select again.'], + ['errorCode' => 'ErrorNetworkInstanceIdBothEmpty', 'errorMessage' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.', 'description' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.'], + ['errorCode' => 'ErrorNetworkInstanceIdSame', 'errorMessage' => 'The NetworkInstanceId and PeerNetworkInstanceId parameters cannot be the same.', 'description' => 'Parameter NetworkInstanceId and PeerNetworkInstanceId cannot be the same'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F3637663-991B-547F-9163-1A5AC367****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 39\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"desc\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 10,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"Port\\": 80,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"InBytes\\": 1456536639,\\n \\"OutBytes\\": 117200,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInternetOpenService' => [ - 'summary' => '获取互联网开放服务', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeNetworkInstanceRelationList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"284FF89D-4F70-546F-8EF6-77E0A530****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"NetworkInstanceId\\": \\"vpc-2vcwfqbrh4kr****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"PeerNetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-dsf232d****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"NetworkInstanceType\\": \\"vpc\\",\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b9dyqn***\\",\\n \\"AttachmentName\\": \\"att-test2\\"\\n }\\n ]\\n }\\n ],\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b92yqn***\\",\\n \\"AttachmentName\\": \\"att-test1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNetworkTrafficTopRatio' => [ + 'summary' => 'Queries the ratio of the top network traffic.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23956,358 +19885,223 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68279', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68316', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '122.200.64.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '60.12.220.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'ServiceName', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['description' => 'The source identifier.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], ], [ - 'name' => 'ServiceNameFuzzy', + 'name' => 'AppName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''], ], [ - 'name' => 'RiskLevel', + 'name' => 'AssetIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - '', - '', - '', - -1 => '', - ], - 'example' => '2', - ], + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'SuggestLevel', + 'name' => 'AssetRegion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - 10 => '', - 20 => '', - 30 => '', - ' -1' => '', - ], - 'example' => '10', - ], + 'schema' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ - 'name' => 'Port', + 'name' => 'DataType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The data type.', + 'enumValueTitles' => ['in_src_location' => 'Source Location', 'in_src_ip' => 'source IP address'], 'type' => 'string', - 'required' => false, - 'example' => '3389', + 'required' => true, + 'example' => 'in_src_ip', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'inbound', 'out' => 'outbound'], 'type' => 'string', 'required' => false, - 'example' => '1755742107', + 'example' => 'in', + 'title' => '', ], ], + [ + 'name' => 'DstIP', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '39.144.124.XXX', 'title' => ''], + ], + [ + 'name' => 'DstPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port.', 'type' => 'string', 'required' => false, 'example' => '8080', 'title' => ''], + ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1753804800', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1757433863', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'IpProperty', + 'in' => 'query', + 'schema' => ['description' => 'The IP address property.', 'type' => 'string', 'required' => false, 'example' => 'proxy', 'title' => ''], + ], + [ + 'name' => 'Isp', + 'in' => 'query', + 'schema' => ['description' => 'The Internet Service Provider (ISP).', 'type' => 'string', 'required' => false, 'example' => 'telecom', 'title' => ''], + ], + [ + 'name' => 'Location', + 'in' => 'query', + 'schema' => ['description' => 'The area.', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou City', 'title' => ''], + ], + [ + 'name' => 'RuleResult', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The action triggered by the rule.', + 'enumValueTitles' => [1 => 'alert', 'drop'], 'type' => 'string', 'required' => false, 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The sorting method.', + 'enumValueTitles' => ['in_bytes' => 'in\\_bytes', 'total_bytes' => 'total\\_bytes'], 'type' => 'string', 'required' => false, - 'example' => '10', + 'example' => 'in_bytes', + 'title' => '', ], ], + [ + 'name' => 'SrcIP', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '172.16.169.XXX', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1749176793', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', + 'DataType' => [ + 'description' => 'The data type.', + 'enumValueTitles' => ['in_src_location' => 'Source Location', 'in_src_ip' => 'source IP address'], 'type' => 'string', - 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', - ], - 'PageInfo' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], + 'example' => 'in_src_ip', + 'title' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C05D58A1-28A9-563A-BB59-5F7D1867****', 'title' => ''], + 'DataCount' => ['description' => 'The number of results returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'DataList' => [ - 'description' => '', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - '', - '', - ' -1' => '', - ], - 'example' => '3', - ], - 'ProbRiskDesc' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'TrafficPercent1Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - ], - 'example' => 'tcp', - ], - 'PublicIpNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'SuggestLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - 10 => '', - 20 => '', - 30 => '', - -1 => '', - ], - 'example' => '20', - ], - 'DetailNum' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TrafficPercent7Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '77', - ], - 'TrafficPercent30Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => ' 0', - ], - 'ProbRisk' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'ServiceName' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'SMB', - ], - 'RiskReason' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'PortList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' 80,'."\n" - .' 8080,'."\n" - .' 80,'."\n" - .' 21'."\n" - .']', - ], - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '447458.0', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '621404', - ], - 'UnknownReason' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'no_payload', - ], - ], + 'DataValue' => ['description' => 'The ratio.', 'type' => 'string', 'example' => '12', 'title' => ''], + 'DataName' => ['description' => 'The data name.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], + 'description' => 'The list of data values.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of data values.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 10\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 3,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"77\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"ServiceName\\": 0,\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"InBytes\\": 447458,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInternetOpenDetail' => [ - 'summary' => '获取互联网开放详情', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeNetworkTrafficTopRatio', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkTrafficTopRatio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"C05D58A1-28A9-563A-BB59-5F7D1867****\\",\\n \\"DataCount\\": 1,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"12\\",\\n \\"DataName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOpenIpAccessSrcStat' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24319,243 +20113,270 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68276', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68321', + 'abilityTreeNodes' => ['FEATUREcfwVWCDEU'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '222.212.86.7XXX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the visitor.', 'title' => '', 'example' => '47.100.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], [ - 'name' => 'Lang', + 'name' => 'DstIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The destination IP address.', 'title' => '', 'example' => '47.100.102.XXX'], ], [ - 'name' => 'ServiceName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The number of the page to return.', 'title' => '', 'example' => '10'], ], [ - 'name' => 'ServiceNameFuzzy', + 'name' => 'CurrentPage', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The page number.', 'title' => '', 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '20'], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '0DC783F1-B3A7-578D-8A63-*****'], + 'StatList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AbnormalSrcIp' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of abnormal source IP addresses.', 'title' => '', 'example' => '12'], + 'NormalSrcIp' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of normal source IP addresses.', 'title' => '', 'example' => '21'], + 'Port' => ['type' => 'string', 'description' => 'The port number.', 'title' => '', 'example' => '6163'], + 'App' => ['type' => 'string', 'description' => 'The application type.', 'title' => '', 'example' => 'HTTP'], + ], + 'description' => 'The list of statistics.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of statistics.', + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeOpenIpAccessSrcStat', + 'summary' => 'Retrieves statistics about access sources for public IP addresses.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RiskLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - '', - '', - '', - -1 => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOpenIpAccessSrcStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => '3', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"StatList\\": [\\n {\\n \\"AbnormalSrcIp\\": 12,\\n \\"NormalSrcIp\\": 21,\\n \\"Port\\": \\"6163\\",\\n \\"App\\": \\"HTTP\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingAssetList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68322', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'SuggestLevel', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the content.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '', - 10 => '', - 20 => '', - 30 => '', - -1 => '', - ], - 'example' => '10', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'Port', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the content.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '9100', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'AssetsInstanceId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'i-uf6faknmuby7ezht****', - ], + 'schema' => ['description' => 'The start of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1743647114', 'title' => ''], ], [ - 'name' => 'AssetsInstanceName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'instance_test', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1736438400', 'title' => ''], ], [ - 'name' => 'PublicIp', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '203.0.13.XX', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of the public IP address of the asset.', + 'enumValueTitles' => ['EcsEIP' => 'EIP of an ECS instance', 'EcsPublicIP' => 'Public IP address of an ECS instance', 'NatPublicIP' => 'Public IP address of a NAT Gateway', 'NatEIP' => 'EIP of a NAT Gateway'], 'type' => 'string', 'required' => false, - 'example' => 'cn-shanghai', + 'example' => 'NatEIP', + 'title' => '', ], ], [ - 'name' => 'AssetsType', + 'name' => 'AssetsRegion', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The region ID of the asset.', + 'enumValueTitles' => [], 'type' => 'string', 'required' => false, - 'example' => 'EcsPublicIP', + 'example' => 'cn-beijing', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'GroupName', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The follow status.', + 'enumValueTitles' => ['subscribe' => 'followed', 'ignore' => 'ignored'], 'type' => 'string', 'required' => false, - 'example' => '1656837360', + 'example' => 'subscribe', + 'title' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => 'The public IP address.', 'type' => 'string', 'required' => false, 'example' => '47.116.70.XXX', 'title' => ''], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => 'The private IP address.', 'type' => 'string', 'required' => false, 'example' => '10.200.33.XXX', 'title' => ''], + ], + [ + 'name' => 'SecurityRisk', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The security risk.', + 'enumValueTitles' => ['normal' => 'normal', 'risk' => 'risky'], 'type' => 'string', 'required' => false, - 'example' => '1745251200', + 'example' => 'risk', + 'title' => '', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The sorting basis.', + 'enumValueTitles' => ['InBytes' => 'inbound traffic', 'SessionCount' => 'number of sessions', 'OutBytes' => 'outbound traffic'], 'type' => 'string', 'required' => false, - 'example' => '1', + 'example' => 'InBytes', + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The sorting order.', + 'enumValueTitles' => ['asc' => 'ascending', 'desc' => 'descending'], 'type' => 'string', 'required' => false, - 'example' => '10', + 'example' => 'desc', + 'title' => '', ], ], [ - 'name' => 'SortList', + 'name' => 'IPType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Dir' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '', - 'desc' => '', - ], - 'example' => 'asc', - ], - 'SortKey' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ServiceName' => '', - 'PublicIp' => '', - 'Port' => '', - ], - 'example' => 'ServiceName', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 200, - ], + 'schema' => ['description' => 'Queries outbound connections routed from a private network through a NAT gateway.', 'type' => 'string', 'required' => false, 'example' => 'NatPrivate', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-bp123456g******', 'title' => ''], + ], + [ + 'name' => 'NatGatewayName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-test', 'title' => ''], ], ], 'responses' => [ @@ -24563,220 +20384,115 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3495E758-BB4B-5F5C-8AE0-897489F****', - ], - 'PageInfo' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], - 'DataList' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7A515672-FAAE-584F-B51C-B2586E****', 'title' => ''], + 'AssetList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - '', - ' 3' => '', - -1 => '', - ], - 'example' => '3', - ], - 'ProbRiskDesc' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'TrafficPercent1Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'SuggestLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - 10 => '', - 20 => '', - 30 => '', - -1 => '', - ], - 'example' => '20', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'AssetsName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'launch-advisor-2023****', - ], - 'AssetsType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EcsEIP', - ], - 'Port' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3389', - ], - 'TrafficPercent7Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '30', - ], - 'TrafficPercent30Day' => [ - 'description' => '', - 'type' => 'string', - 'example' => '48', - ], - 'ProbRisk' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'PublicIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '39.101.167.XX', - ], - 'ServiceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Redis', - ], - 'Id' => [ - 'description' => '', + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'ResourceType' => [ + 'description' => 'The type of the public IP address of the asset.', + 'enumValueTitles' => ['EcsEIP' => 'EIP of an ECS instance', 'EcsPublicIP' => 'Public IP address of an ECS instance', 'NatPublicIP' => 'Public IP address of a NAT Gateway', 'NatEIP' => 'EIP of a NAT Gateway', 'EIP' => 'EIP'], 'type' => 'string', - 'example' => '1123', + 'example' => 'EcsPublicIP', + 'title' => '', ], - 'AssetsInstanceId' => [ - 'description' => '', + 'AssetInstanceId' => ['description' => 'The ID of the asset instance.', 'type' => 'string', 'example' => 'i-8vbcmllue4d94nto****', 'title' => ''], + 'GroupName' => [ + 'description' => 'The follow status.', + 'enumValueTitles' => ['subscribe' => 'followed', 'ignore' => 'ignored'], 'type' => 'string', - 'example' => 'i-bp1ix9w22kv6aew9****', + 'example' => 'subscribe', + 'title' => '', ], - 'RiskReason' => [ - 'description' => '', + 'AssetsRegion' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'OutBytes' => ['description' => 'The outbound traffic, which is the request traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'SecurityRisk' => [ + 'description' => 'The security risk.', + 'enumValueTitles' => ['normal' => 'normal', 'risk' => 'risky'], 'type' => 'string', - 'example' => 'test', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'example' => 'risk', + 'title' => '', ], - 'UnknownReason' => [ - 'description' => '', + 'InBytes' => ['description' => 'The inbound traffic, which is the response traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '244438.0', 'title' => ''], + 'PublicIP' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '47.96.181.XXX', 'title' => ''], + 'AssetInstanceName' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PrivateIP' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '10.21.242XXX', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-bp1utx6wj4x9qu9tl****', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-test', 'title' => ''], + 'OutgoingDomainCnt' => ['description' => 'The number of outbound domains.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'OutgoingDstIPCnt' => ['description' => 'The number of outbound destination IP addresses.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic.', 'type' => 'integer', 'format' => 'int64', 'example' => '12498767', 'title' => ''], + 'PrivateIPList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "no_payload",'."\n" - .' "tcp_not_establish"'."\n" - .']', - ], + 'items' => ['description' => 'A private IP address in the list.', 'type' => 'string', 'example' => '["47.256.35.XXX"]', 'title' => ''], + 'description' => 'The list of private IP addresses.', + 'title' => '', + 'example' => '', ], + 'IpsHitCnt' => ['description' => 'The number of IPS hits.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], ], + 'description' => 'The list of assets.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of assets.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSecurityRisk', 'errorMessage' => 'The security risk is invalid.', 'description' => 'The security risk is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => 'The security suggest is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3495E758-BB4B-5F5C-8AE0-897489F****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 5\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"SuggestLevel\\": 20,\\n \\"Protocol\\": \\"tcp\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"Port\\": 3389,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"PublicIp\\": \\"39.101.167.XX\\",\\n \\"ServiceName\\": \\"Redis\\",\\n \\"Id\\": \\"1123\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"InBytes\\": 0,\\n \\"OutBytes\\": 0,\\n \\"TotalBytes\\": 0,\\n \\"UnknownReason\\": [\\n \\"[\\\\n \\\\\\"no_payload\\\\\\",\\\\n \\\\\\"tcp_not_establish\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInternetSlb' => [ - 'summary' => '获取互联网SLB', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeOutgoingAssetList', + 'summary' => 'Retrieves a list of assets with outbound connections.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"7A515672-FAAE-584F-B51C-B2586E****\\",\\n \\"AssetList\\": [\\n {\\n \\"SessionCount\\": 2,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"AssetInstanceId\\": \\"i-8vbcmllue4d94nto****\\",\\n \\"GroupName\\": \\"subscribe\\",\\n \\"AssetsRegion\\": \\"cn-hangzhou\\",\\n \\"OutBytes\\": 100,\\n \\"SecurityRisk\\": \\"risk\\",\\n \\"InBytes\\": 244438,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"AssetInstanceName\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"OutgoingDomainCnt\\": 10,\\n \\"OutgoingDstIPCnt\\": 12,\\n \\"TotalBytes\\": 12498767,\\n \\"PrivateIPList\\": [\\n \\"[\\\\\\"47.256.35.XXX\\\\\\"]\\"\\n ],\\n \\"IpsHitCnt\\": 12\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingDestination' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24788,145 +20504,132 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68282', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68324', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '112.64.233.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '106.3.198.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The start of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1749657600', 'title' => ''], ], [ - 'name' => 'PublicIp', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.108.60.XXX', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1749089441', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-2ze8v2x5kd9qyvp2****', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'InstanceName', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Tag', + 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The category ID.', + 'enumValueTitles' => ['RiskDomain' => 'Risky domain names', 'AliYun' => 'Alibaba Cloud services', 'NotAliYun' => 'Services that are not provided by Alibaba Cloud'], 'type' => 'string', 'required' => false, - 'example' => 'test', + 'example' => 'AliYun', + 'title' => '', ], ], [ - 'name' => 'IpProtocol', + 'name' => 'TagId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - 'http' => 'http', - 'https' => 'https', - ], - 'example' => 'tcp', - ], + 'schema' => ['description' => 'The tag ID.', 'type' => 'string', 'required' => false, 'example' => 'FirstFlow', 'title' => ''], ], [ - 'name' => 'Port', + 'name' => 'SecuritySuggest', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The security policy for the outbound connection.', + 'enumValueTitles' => ['drop' => 'Observe', 'pass' => 'Allow', 'alert' => 'Deny'], 'type' => 'string', 'required' => false, - 'example' => '63389', + 'example' => 'pass', + 'title' => '', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'AclCoverage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'schema' => ['description' => 'The policy coverage status.', 'type' => 'string', 'required' => false, 'example' => 'FullCoverage', 'title' => ''], + ], + [ + 'name' => 'DstIP', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '47.100.111XXX', 'title' => ''], + ], + [ + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => 'The public IP address.', 'type' => 'string', 'required' => false, 'example' => '47.96.74.XXX', 'title' => ''], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => 'The private IP address.', 'type' => 'string', 'required' => false, 'example' => '10.111.53XXX', 'title' => ''], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The port number.', 'type' => 'string', 'required' => false, 'example' => '3306', 'title' => ''], + ], + [ + 'name' => 'Sort', + 'in' => 'query', + 'schema' => [ + 'description' => 'The field to use for sorting.', + 'enumValueTitles' => ['InBytes' => 'InBytes', 'TotalBytes' => 'TotalBytes', 'SessionCount' => 'SessionCount', 'OutBytes' => 'OutBytes'], + 'type' => 'string', + 'required' => false, + 'example' => 'InBytes', + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sorting order.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], + ], + [ + 'name' => 'IsAITraffic', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'Specifies whether to count only the traffic to AI services. The default value is false.', + 'enumValueTitles' => ['true' => 'Yes', 'false' => 'No'], 'type' => 'string', 'required' => false, - 'example' => '10', + 'example' => 'true', + 'title' => '', ], ], ], @@ -24935,168 +20638,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '135BF83A-0416-5A11-96BB-FA7604D4****', - ], - 'PageInfo' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - 'DataList' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '42', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A2845BA9-1642-5B27-9F04-8014DD94****', 'title' => ''], + 'DstList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'AclType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'white' => '', - 'black' => '', - ], - 'example' => 'white', - ], - 'AclId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'acl-uf66n6l9mf3fgq8xs****', - ], - 'InstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'buyerpro1', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', + 'DstIP' => ['description' => 'The destination IP address.', 'type' => 'string', 'example' => '101.6.15.XXX', 'title' => ''], + 'AclRecommendDetail' => ['description' => 'The recommended Access Control List (ACL) details.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'HasAclRecommend' => [ + 'description' => 'Indicates whether a recommended ACL exists.', + 'enumValueTitles' => ['false' => 'No', 'true' => 'Yes'], + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', ], + 'InBytes' => ['description' => 'The inbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], + 'DstType' => ['description' => 'The destination type.', 'type' => 'string', 'example' => 'domain', 'title' => ''], + 'CategoryName' => ['description' => 'The category name of the service.', 'type' => 'string', 'example' => 'categor_test', 'title' => ''], + 'DstDomain' => ['description' => 'The destination domain name.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'GroupName' => ['description' => 'The group name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'OutBytes' => ['description' => 'The outbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], 'AclStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'off' => '', - 'on' => '', - ], - 'example' => 'on', - ], - 'PublicIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '39.108.57.XXX', - ], - 'IpProtocol' => [ - 'description' => '', + 'description' => 'The policy status.', + 'enumValueTitles' => ['Normal' => 'Healthy', 'Abnormal' => 'Abnormal'], 'type' => 'string', - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - 'http' => 'http', - 'https' => 'https', - ], - 'example' => 'tcp', + 'example' => 'Normal', + 'title' => '', ], - 'InstanceId' => [ - 'description' => '', + 'CategoryId' => [ + 'description' => 'The category ID.', + 'enumValueTitles' => ['RiskDomain' => 'Risky domain names', 'AliYun' => 'Alibaba Cloud services', 'NotAliYun' => 'Services that are not provided by Alibaba Cloud'], 'type' => 'string', - 'example' => 'lb-2ze8v2x5kd9qyvp2****', - ], - 'Port' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1883', + 'example' => 'AliYun', + 'title' => '', ], - 'HealthStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => '', - 'abnormal' => '', - 'unavailable' => '', - 'close ' => '', - ], - 'example' => 'normal', + 'IsMarkNormal' => [ + 'description' => 'Indicates whether the destination is manually marked as normal.', + 'enumValueTitles' => ['true' => 'Yes', 'false' => 'No'], + 'type' => 'boolean', + 'example' => 'false', + 'title' => '', ], - 'Tags' => [ - 'description' => '', + 'TagList' => [ 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[]', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => 'The risk assessment level.', + 'enumValueTitles' => ['No risk', 'Low risk', 'Medium risk', 'High risk'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'TagName' => ['description' => 'The tag name.', 'type' => 'string', 'example' => 'verify', 'title' => ''], + 'TagId' => ['description' => 'The tag ID.', 'type' => 'string', 'example' => 'FirstFlow', 'title' => ''], + 'TagDescribe' => ['description' => 'The tag description.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', ], + 'Business' => ['description' => 'The business to which the domain name belongs.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], ], + 'description' => 'The information about the destination addresses.', + 'title' => '', + 'example' => '', ], + 'description' => 'The information about the destination addresses.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorSlbOpenApi', - 'errorMessage' => 'An SLB OpenAPI error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"135BF83A-0416-5A11-96BB-FA7604D4****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 0\\n },\\n \\"DataList\\": [\\n {\\n \\"AclType\\": \\"white\\",\\n \\"AclId\\": \\"acl-uf66n6l9mf3fgq8xs****\\",\\n \\"InstanceName\\": \\"buyerpro1\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"AclStatus\\": \\"on\\",\\n \\"PublicIp\\": \\"39.108.57.XXX\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"lb-2ze8v2x5kd9qyvp2****\\",\\n \\"Port\\": 1883,\\n \\"HealthStatus\\": \\"normal\\",\\n \\"Tags\\": [\\n \\"[]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeOpenIpAccessSrcStat' => [ - 'summary' => '获取公网IP通过的源状态', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeOutgoingDestination', + 'summary' => 'This operation queries outbound destinations.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestination', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 42,\\n \\"RequestId\\": \\"A2845BA9-1642-5B27-9F04-8014DD94****\\",\\n \\"DstList\\": [\\n {\\n \\"DstIP\\": \\"101.6.15.XXX\\",\\n \\"AclRecommendDetail\\": \\"test\\",\\n \\"HasAclRecommend\\": false,\\n \\"InBytes\\": 0,\\n \\"DstType\\": \\"domain\\",\\n \\"CategoryName\\": \\"categor_test\\",\\n \\"DstDomain\\": \\"example.com\\",\\n \\"SessionCount\\": 10,\\n \\"GroupName\\": \\"test\\",\\n \\"OutBytes\\": 0,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"CategoryId\\": \\"AliYun\\",\\n \\"IsMarkNormal\\": false,\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"verify\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\"\\n }\\n ],\\n \\"Business\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingDestinationCategory' => [ + 'summary' => 'Queries the categories of outbound connection destinations.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25108,65 +20777,70 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68321', - 'abilityTreeNodes' => [ - 'FEATUREcfwVWCDEU', - ], + 'abilityTreeCode' => '68325', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '59.82.45.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'DstIp', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1749657600', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1750818370', 'title' => ''], + ], + [ + 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The category ID.', + 'enumValueTitles' => ['All' => 'All', 'RiskDomain' => 'Risky domain names', 'AliYun' => 'Alibaba Cloud services', 'NotAliYun' => 'Services that are not provided by Alibaba Cloud'], 'type' => 'string', 'required' => false, - 'example' => '47.100.102.XXX', + 'example' => 'All', + 'title' => '', ], ], [ - 'name' => 'PageSize', + 'name' => 'TypeId', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The fixed category ID.', + 'enumValueTitles' => ['All' => 'All', 'AliYun' => 'Alibaba Cloud services', 'NotAliYun' => 'Services that are not provided by Alibaba Cloud'], 'type' => 'string', 'required' => false, - 'example' => '10', + 'example' => 'All', + 'title' => '', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'DstType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The destination type.', + 'enumValueTitles' => ['DstIP' => 'Destination IP address', 'Domain' => 'Domain name'], 'type' => 'string', 'required' => false, - 'example' => '1', + 'example' => 'domain', + 'title' => '', ], ], ], @@ -25175,96 +20849,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-*****', - ], - 'StatList' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C1ED80BC-FFC8-57DB-8151-705DC31****', 'title' => ''], + 'TypeList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'AbnormalSrcIp' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'NormalSrcIp' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - ], - 'Port' => [ - 'description' => '', + 'TypeName' => ['description' => 'The name of the fixed category.', 'type' => 'string', 'example' => 'AliYun', 'title' => ''], + 'TypeId' => [ + 'description' => 'The fixed category ID.', + 'enumValueTitles' => ['All' => 'All', 'AliYun' => 'Alibaba Cloud services', 'NotAliYun' => 'Services that are not provided by Alibaba Cloud'], 'type' => 'string', - 'example' => '6163', + 'example' => 'All', + 'title' => '', ], - 'App' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'HTTP', + 'TypeDescribe' => ['description' => 'The description of the fixed category.', 'type' => 'string', 'example' => 'AliYun', 'title' => ''], + 'CategoryList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CategoryId' => ['description' => 'The ID of the outbound connection category.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'CategoryName' => ['description' => 'The name of the outbound connection category.', 'type' => 'string', 'example' => 'AliYun', 'title' => ''], + 'CategoryDescribe' => ['description' => 'The description of the outbound connection category.', 'type' => 'string', 'example' => 'AliYun', 'title' => ''], + 'ClassId' => ['description' => 'The classification ID of the outbound connection category.', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], + ], + 'description' => 'The outbound connection category.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of outbound connection categories.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The outbound connection category.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of outbound connection categories.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDstType', 'errorMessage' => 'The dst type is invalid.', 'description' => 'The destination type is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => 'The objectOperation is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"StatList\\": [\\n {\\n \\"AbnormalSrcIp\\": 12,\\n \\"NormalSrcIp\\": 21,\\n \\"Port\\": \\"6163\\",\\n \\"App\\": \\"HTTP\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeNetworkInstanceRelationList' => [ - 'summary' => '获取网络实例关系列表', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeOutgoingDestinationCategory', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"C1ED80BC-FFC8-57DB-8151-705DC31****\\",\\n \\"TypeList\\": [\\n {\\n \\"TypeName\\": \\"AliYun\\",\\n \\"TypeId\\": \\"All\\",\\n \\"TypeDescribe\\": \\"AliYun\\",\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"123\\",\\n \\"CategoryName\\": \\"AliYun\\",\\n \\"CategoryDescribe\\": \\"AliYun\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingDestinationIP' => [ + 'summary' => 'Displays the destination IP of an active outbound connection.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25276,10 +20947,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68311', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68326', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -25287,269 +20956,476 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'default' => 'zh', + 'enum' => ['zh', 'en'], + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The start of the time range to query. The value is a timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1656837360', 'title' => ''], ], [ - 'name' => 'ConnectType', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'expressconnect' => '', - 'cen' => '', - ], - 'example' => 'cen', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1656923760', 'title' => ''], ], [ - 'name' => 'FirewallConfigureStatus', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'configured' => '', - 'notconfigured' => '', - ], - 'example' => 'notconfigured', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Default value: 6. Maximum value: 10.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number to return.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the service category. Valid values:'."\n" + ."\n" + .'- **All**: all categories'."\n" + ."\n" + .'- **RiskDomain**: risk domains'."\n" + ."\n" + .'- **RiskIP**: risk IPs'."\n" + ."\n" + .'- **AliYun**: Alibaba Cloud services'."\n" + ."\n" + .'- **NotAliYun**: services other than Alibaba Cloud services', 'type' => 'string', 'required' => false, 'example' => 'All', 'title' => ''], + ], + [ + 'name' => 'DstIP', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address of the outbound connection.', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX', 'title' => ''], + ], + [ + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => 'The public IP address of the ECS instance that initiates the outbound connection.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => 'The private IP address of the ECS instance that initiates the outbound connection.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => 'The port number.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'Sort', 'in' => 'query', 'schema' => [ + 'description' => 'The field by which to sort the results. Valid values:'."\n" + ."\n" + .'- **SessionCount** (default): request count.'."\n" + ."\n" + .'- **TotalBytes**: total traffic.', 'type' => 'string', 'required' => false, + 'example' => 'SessionCount', + 'enum' => [], + 'title' => '', ], ], [ - 'name' => 'PeerNetworkInstanceId', + 'name' => 'Order', 'in' => 'query', 'schema' => [ + 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- **asc**: ascending order.'."\n" + ."\n" + .'- **desc** (default): descending order.', 'type' => 'string', 'required' => false, + 'example' => 'desc', + 'enum' => [], + 'title' => '', ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '284FF89D-4F70-546F-8EF6-77E0A530****', - ], - 'NetworkInstanceList' => [ - 'description' => '', + [ + 'name' => 'TagIdNew', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the threat intelligence tag. Valid values:'."\n" + ."\n" + .'- **AliYun**: Alibaba Cloud service'."\n" + ."\n" + .'- **RiskDomain**: risk domain'."\n" + ."\n" + .'- **RiskIP**: risk IP'."\n" + ."\n" + .'- **TrustedDomain**: trusted website'."\n" + ."\n" + .'- **AliPay**: Alipay'."\n" + ."\n" + .'- **DingDing**: DingTalk'."\n" + ."\n" + .'- **WeChat**: WeChat'."\n" + ."\n" + .'- **QQ**: Tencent QQ'."\n" + ."\n" + .'- **SecurityService**: security service'."\n" + ."\n" + .'- **Microsoft**: Microsoft'."\n" + ."\n" + .'- **Amazon**: Amazon'."\n" + ."\n" + .'- **Pan**: cloud drive'."\n" + ."\n" + .'- **Map**: map'."\n" + ."\n" + .'- **Code**: code hosting'."\n" + ."\n" + .'- **SystemService**: system service'."\n" + ."\n" + .'- **Taobao**: Taobao'."\n" + ."\n" + .'- **Google**: Google'."\n" + ."\n" + .'- **ThirdPartyService**: third-party service'."\n" + ."\n" + .'- **FirstFlow**: first access'."\n" + ."\n" + .'- **Downloader**: malicious downloader'."\n" + ."\n" + .'- **Alexa Top1M**: popular website'."\n" + ."\n" + .'- **Miner**: mining pool'."\n" + ."\n" + .'- **Intelligence**: threat intelligence'."\n" + ."\n" + .'- **DDoS**: DDoS trojan'."\n" + ."\n" + .'- **Ransomware**: ransomware'."\n" + ."\n" + .'- **Spyware**: spyware'."\n" + ."\n" + .'- **Rogue**: rogue software'."\n" + ."\n" + .'- **Botnet**: botnet'."\n" + ."\n" + .'- **Suspicious**: suspicious website'."\n" + ."\n" + .'- **C\\&C**: command and control (C\\&C)'."\n" + ."\n" + .'- **Gang**: threat actor group'."\n" + ."\n" + .'- **CVE**: CVE'."\n" + ."\n" + .'- **Backdoor**: backdoor'."\n" + ."\n" + .'- **Phishing**: phishing website'."\n" + ."\n" + .'- **APT**: APT attack'."\n" + ."\n" + .'- **Supply Chain Attack**: supply chain attack'."\n" + ."\n" + .'- **Malicious software**: malware', 'type' => 'string', 'required' => false, 'example' => 'AliYun', 'title' => ''], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => ['description' => 'The application type supported by the access control policy.'."\n" + ."\n" + .'- **FTP**'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **SSL\\_No\\_Cert**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'> The supported application types depend on the protocol type specified in the Proto parameter. If Proto is set to TCP, all application types listed above are supported. If both ApplicationName and ApplicationNameList are specified, the value of ApplicationNameList takes precedence.', 'type' => 'string', 'required' => false, 'example' => 'FTP', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total number of outgoing IPs.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], + 'DstIPList' => [ + 'title' => '', + 'description' => 'A list of destination IP addresses for outgoing connections.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'expressconnect' => '', - 'cen' => '', - ], - 'example' => 'cen', - ], - 'NetworkInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'NetworkInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2vcwfqbrh4kr****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'NetworkInstanceType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'vbr' => 'vbr', - 'vpc' => 'vpc', - ], - 'example' => 'VPC', - ], - 'PeerNetworkInstanceList' => [ - 'description' => '', + 'AclCoverage' => ['description' => 'Indicates whether an access control policy is applied. Valid values:'."\n" + ."\n" + .'- **Uncovered**: No policy is applied.'."\n" + ."\n" + .'- **FullCoverage**: A policy is applied.', 'type' => 'string', 'example' => 'Uncovered', 'title' => ''], + 'DstIP' => ['description' => 'The destination IP address of the outgoing connection.', 'type' => 'string', 'example' => '10.0.XX.XX', 'title' => ''], + 'AclRecommendDetail' => ['description' => 'Details of the ACL recommendation.', 'type' => 'string', 'example' => '建议放行', 'title' => ''], + 'HasAclRecommend' => ['description' => 'Indicates whether an ACL is recommended. Valid values:'."\n" + ."\n" + .'- **true**: An ACL is recommended.'."\n" + ."\n" + .'- **false**: No ACL is recommended.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'InBytes' => ['description' => 'The total inbound traffic in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '472', 'title' => ''], + 'CategoryName' => ['description' => 'The service category of the destination IP address. Valid values:'."\n" + ."\n" + .'- **Alibaba Cloud product**'."\n" + ."\n" + .'- **non-Alibaba Cloud product**', 'type' => 'string', 'example' => '阿里云产品', 'title' => ''], + 'RuleName' => ['description' => 'The name of the ACL rule.', 'type' => 'string', 'example' => '默认规则', 'title' => ''], + 'RuleId' => ['description' => 'The UUID of the ACL rule.', 'type' => 'string', 'example' => 'fadsfd-dfadf-df****', 'title' => ''], + 'SessionCount' => ['description' => 'The number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], + 'GroupName' => ['description' => 'The name of the rule group.', 'type' => 'string', 'example' => 'rules_test', 'title' => ''], + 'SecuritySuggest' => ['description' => 'The recommended security action for the outgoing connection. Valid values:'."\n" + ."\n" + .'- **pass**: Allows the connection.'."\n" + ."\n" + .'- **alert**: Rejects the connection.'."\n" + ."\n" + .'- **drop**: Drops the connection.', 'type' => 'string', 'example' => 'pass', 'title' => ''], + 'OutBytes' => ['description' => 'The total outbound traffic in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '965', 'title' => ''], + 'AclStatus' => ['description' => 'The health status of the access control policy. Valid values:'."\n" + ."\n" + .'- **Normal**: Healthy.'."\n" + ."\n" + .'- **Abnormal**: Unhealthy.', 'type' => 'string', 'title' => '', 'example' => 'Normal'], + 'IsMarkNormal' => ['description' => 'Indicates whether the destination IP address is added to the allowlist. Valid values:'."\n" + ."\n" + .'- **true**: The destination IP address is on the allowlist.'."\n" + ."\n" + .'- **false**: The destination IP address is not on the allowlist.', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'CategoryId' => ['description' => 'The ID of the service category. Valid values:'."\n" + ."\n" + .'- **Aliyun**: The destination is an Alibaba Cloud product.'."\n" + ."\n" + .'- **NotAliyun**: The destination is a non-Alibaba Cloud product.', 'type' => 'string', 'example' => 'Aliyun', 'title' => ''], + 'TagList' => [ + 'title' => '', + 'description' => 'A list of tags associated with the destination IP.', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-dsf232d****', - ], - 'NetworkInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'NetworkInstanceType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'vbr' => 'vbr', - 'vpc' => 'vpc', - ], - 'example' => 'vpc', + 'RiskLevel' => [ + 'description' => 'The risk level. Valid values:'."\n" + ."\n" + .'- **1**: Low'."\n" + ."\n" + .'- **2**: Medium'."\n" + ."\n" + .'- **3**: High', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'enum' => [], + 'title' => '', ], - 'AssociatedCen' => [ + 'TagName' => ['description' => 'The name of the threat intelligence tag.', 'type' => 'string', 'example' => 'ReleaseLabel', 'title' => ''], + 'TagId' => ['description' => 'The ID of the threat intelligence tag.', 'type' => 'string', 'example' => 'ReleaseLabel', 'title' => ''], + 'TagDescribe' => ['description' => 'The description of the threat intelligence tag.', 'type' => 'string', 'example' => 'ReleaseLabel', 'title' => ''], + 'ClassId' => ['description' => 'The category of the threat intelligence tag. Valid values:'."\n" + ."\n" + .'- **Suspicious**'."\n" + ."\n" + .'- **Malicious**'."\n" + ."\n" + .'- **Trusted**', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'ApplicationPortList' => [ + 'description' => 'The list of application ports.'."\n" + ."\n" + .'> This response returns a maximum of 99 application ports. If more than 99 ports exist, only the first 99 are returned.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'Details of an application port.', + 'type' => 'object', + 'properties' => [ + 'Port' => ['description' => 'The application port.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'ApplicationName' => ['description' => 'The application protocol detected for the connection. Valid values:'."\n" + ."\n" + .'- **FTP**'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **SSL\\_No\\_Cert**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'>', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'UnknownReason' => [ + 'description' => 'A list of reasons why the application protocol was not identified.', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CenId' => [ - 'type' => 'string', - ], - 'CenName' => [ - 'type' => 'string', - ], - 'TransitRouterType' => [ - 'type' => 'string', - ], - 'AttachmentId' => [ - 'type' => 'string', - ], - 'AttachmentName' => [ - 'type' => 'string', - ], - ], - ], + 'items' => ['description' => 'The reason why the protocol analysis failed.', 'type' => 'string', 'example' => 'tcp_not_establish', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'AssociatedCen' => [ + 'CategoryClassId' => ['description' => 'The threat intelligence category of the destination IP address. Valid values:'."\n" + ."\n" + .'- **Suspicious**'."\n" + ."\n" + .'- **Malicious**'."\n" + ."\n" + .'- **Trusted**', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], + 'SecurityReason' => ['description' => 'The reason for the security recommendation.', 'type' => 'string', 'example' => '智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic volume in bytes.', 'type' => 'string', 'example' => '800', 'title' => ''], + 'HasAcl' => ['description' => 'Indicates whether an access control rule exists. Valid values:'."\n" + ."\n" + .'- **true**: An access control rule exists.'."\n" + ."\n" + .'- **false**: No access control rule exists.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'AddressGroupList' => [ + 'description' => 'A list of address books that contain this destination IP address.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CenId' => [ - 'type' => 'string', - ], - 'CenName' => [ - 'type' => 'string', - ], - 'TransitRouterType' => [ - 'type' => 'string', - ], - 'AttachmentId' => [ - 'type' => 'string', - ], - 'AttachmentName' => [ - 'type' => 'string', - ], + 'AddressGroupUUID' => ['description' => 'The UUID of the address book.', 'type' => 'string', 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', 'title' => ''], + 'AddressGroupName' => ['description' => 'The name of the address book.', 'type' => 'string', 'example' => 'IP地址簿', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'AssetCount' => ['description' => 'The total number of assets that initiated outgoing connections to this destination IP.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'PrivateAssetCount' => ['description' => 'The total number of private assets that initiated outgoing connections to this destination IP.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'LocationName' => ['description' => 'The geographical location of the destination IP address.', 'type' => 'string', 'example' => '山东省青岛市', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorConfigureStatus', - 'errorMessage' => 'firewall configure status invalid.', - ], - [ - 'errorCode' => 'ErrorConnectType', - 'errorMessage' => 'Connect type invalid.', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdBothEmpty', - 'errorMessage' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdSame', - 'errorMessage' => 'The NetworkInstanceId and PeerNetworkInstanceId parameters cannot be the same.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorPortError', 'errorMessage' => 'The port is invalid.', 'description' => 'The port is invalid.'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => 'The security suggest is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"284FF89D-4F70-546F-8EF6-77E0A530****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"NetworkInstanceId\\": \\"vpc-2vcwfqbrh4kr****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"PeerNetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-dsf232d****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"NetworkInstanceType\\": \\"vpc\\",\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b9dyqn***\\",\\n \\"AttachmentName\\": \\"att-test2\\"\\n }\\n ]\\n }\\n ],\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b92yqn***\\",\\n \\"AttachmentName\\": \\"att-test1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeVpcFirewallAssetList' => [ - 'summary' => '获取VPC防火墙资产列表', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 50,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DstIPList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"DstIP\\": \\"10.0.XX.XX\\",\\n \\"AclRecommendDetail\\": \\"建议放行\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 472,\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"RuleName\\": \\"默认规则\\",\\n \\"RuleId\\": \\"fadsfd-dfadf-df****\\",\\n \\"SessionCount\\": 4,\\n \\"GroupName\\": \\"rules_test\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 965,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"ReleaseLabel\\",\\n \\"TagId\\": \\"ReleaseLabel\\",\\n \\"TagDescribe\\": \\"ReleaseLabel\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationPortList\\": [\\n {\\n \\"Port\\": 80,\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"UnknownReason\\": [\\n \\"tcp_not_establish\\"\\n ]\\n }\\n ],\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"SecurityReason\\": \\"智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"AddressGroupList\\": [\\n {\\n \\"AddressGroupUUID\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AddressGroupName\\": \\"IP地址簿\\"\\n }\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20,\\n \\"LocationName\\": \\"山东省青岛市\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeOutgoingDestinationIP', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDestinationIP'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeOutgoingDestinationIPDetail' => [ + 'summary' => 'Retrieves the details of an outbound destination IP address.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25561,234 +21437,118 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68413', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - 'FEATUREcfwE8FJHT', - ], + 'abilityTreeCode' => '68327', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '1.202.193.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1534408189', - ], + 'schema' => ['description' => 'The start of the time range to query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1749434787', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1756952150', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-wz9ulqcvly23w31zkh8sm****', - ], - ], - [ - 'name' => 'PeerVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-90rq0anm6t8vbwbo****', - ], - ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '5234', - ], + 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1733710383', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'in', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'AppName', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'IPProtocol', + 'name' => 'TagId', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The ID of the tag.', + 'enumValueTitles' => ['FirstFlow' => 'First-time access', 'Period' => 'Periodic access'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - ], - 'example' => 'tcp', + 'example' => 'FirstFlow', + 'title' => '', ], ], [ - 'name' => 'RiskLevel', + 'name' => 'AclCoverage', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The status of the access control policy.', + 'enumValueTitles' => ['All' => 'All', 'FullCoverage' => 'Covered', 'Uncovered' => 'Uncovered', 'PartialCoverage' => 'Partially covered'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '', - '', - '', - '', - ], - 'example' => '3', + 'example' => 'FullCoverage', + 'title' => '', ], ], [ - 'name' => 'EcsInstanceId', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ' i-hp3ez3rs9bxwt034****', - ], + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => true, 'example' => '34.136.111.XXX', 'title' => ''], ], [ - 'name' => 'EcsInstanceName', + 'name' => 'PublicIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test-ecs', - ], + 'schema' => ['description' => 'The public IP address.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'AssetIP', + 'name' => 'PrivateIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The private IP address.', 'type' => 'string', 'required' => false, 'example' => '10.210.0.XXX', 'title' => ''], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The field to use for sorting.', + 'enumValueTitles' => ['InBytes' => 'Inbound traffic', 'SessionCount' => 'Number of sessions', 'OutBytes' => 'Outbound traffic'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => 'InBytes', - 'SessionCount' => 'SessionCount', - 'OutBytes' => 'OutBytes', - ], - 'example' => 'SessionCount', + 'example' => 'InBytes', + 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The sort order.', + 'enumValueTitles' => ['asc' => 'Ascending order', 'desc' => 'Descending order'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'asc' => '', - 'desc' => '', - ], 'example' => 'desc', + 'title' => '', ], ], [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'IPType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'Describes the outbound connections from a private network through a NAT gateway.', 'type' => 'string', 'required' => false, 'example' => 'NatPrivate', 'title' => ''], ], [ - 'name' => 'IsAITraffic', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-2zed6z6qkd7ogc****', 'title' => ''], ], ], 'responses' => [ @@ -25796,200 +21556,132 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '924A6CCC-4EAD-5554-8AD0-45F5ED56****', - ], - 'DataList' => [ - 'description' => '', + 'LocationName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => 'Hangzhou', 'title' => ''], + 'IspName' => ['description' => 'The ISP of the destination IP address.', 'type' => 'string', 'example' => 'telecom', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '25', 'title' => ''], + 'AssetList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - '', - '', - ], - 'example' => '3', - ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'AssetInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => ' i-hp3ez3rs9bxwt034****', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'AssetIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'AssetInstanceName' => [ - 'description' => '', + 'AclCoverage' => [ + 'description' => 'The status of the access control policy.', + 'enumValueTitles' => ['All' => 'All', 'FullCoverage' => 'Covered', 'Uncovered' => 'Uncovered', 'PartialCoverage' => 'Partially covered'], 'type' => 'string', - 'example' => 'ecs-test', + 'example' => 'FullCoverage', + 'title' => '', ], - 'RiskReason' => [ - 'description' => '', + 'ResourceInstanceName' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ResourceInstanceId' => ['description' => 'The instance ID of the cloud product.', 'type' => 'string', 'example' => 'i-uf63wjhyoohc1g4z****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'InBytes' => ['description' => 'The inbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], + 'LocationName' => ['description' => 'The name of the region where the destination IP address is located.', 'type' => 'string', 'example' => 'Hangzhou', 'title' => ''], + 'FirstTime' => ['description' => 'The time of the first access. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1744682438', 'title' => ''], + 'PrivateIP' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '10.21.242XXX', 'title' => ''], + 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => '08a58465-ff4d-4c47-8782-eb008301****', 'title' => ''], + 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'LastTime' => ['description' => 'The time of the last access. This is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1739326614', 'title' => ''], + 'ResourceType' => [ + 'description' => 'The type of the public IP address of the asset.', + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP', 'EIP' => 'EIP'], 'type' => 'string', - 'example' => 'test', + 'example' => 'EcsPublicIP', + 'title' => '', ], - 'PortList' => [ - 'description' => '', + 'OutBytes' => ['description' => 'The outbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], + 'IspName' => ['description' => 'The ISP of the destination IP address.', 'type' => 'string', 'example' => 'telecom', 'title' => ''], + 'PublicIP' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '47.96.181.XXX', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic.', 'type' => 'string', 'example' => '458681', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'example' => 'vpc-9dp16jgwgyvn****', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-bp1utx6wj4x9qu9tl****', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-test', 'title' => ''], + 'TagList' => [ 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' 80,'."\n" - .' 8080,'."\n" - .' 80,'."\n" - .' 21'."\n" - .']', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => 'The risk level.', + 'enumValueTitles' => ['No risk', 'Low risk', 'Medium risk', 'High risk'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'title' => '', + ], + 'TagName' => ['description' => 'The name of the tag.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'TagId' => ['description' => 'The ID of the tag.', 'type' => 'string', 'example' => 'FirstFlow', 'title' => ''], + 'TagDescribe' => ['description' => 'The description of the tag.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ClassId' => ['description' => 'The classification ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + ], + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', ], - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'IpsHitCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The list of assets.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of assets.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorPortError', 'errorMessage' => 'The port is invalid.', 'description' => 'The port is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"924A6CCC-4EAD-5554-8AD0-45F5ED56****\\",\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"SessionCount\\": 27,\\n \\"AssetInstanceId\\": \\" i-hp3ez3rs9bxwt034****\\",\\n \\"OutBytes\\": 0,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"AssetIP\\": \\"192.0.XX.XX\\",\\n \\"InBytes\\": 0,\\n \\"AssetInstanceName\\": \\"ecs-test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"TotalBytes\\": 0,\\n \\"IpsHitCnt\\": 10\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeAITrafficAnalysisStatus' => [ - 'summary' => '查询AI流量分析开启状态', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', + 'title' => 'DescribeOutgoingDestinationIPDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB085****', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'open', - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIPDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085****\\",\\n \\"Status\\": \\"open\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LocationName\\": \\"Hangzhou\\",\\n \\"IspName\\": \\"telecom\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"TotalCount\\": 25,\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"InBytes\\": 0,\\n \\"LocationName\\": \\"Hangzhou\\",\\n \\"FirstTime\\": 1744682438,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 2,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"OutBytes\\": 0,\\n \\"IspName\\": \\"telecom\\",\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TotalBytes\\": \\"458681\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeVpcFirewallDomainList' => [ - 'summary' => '查询VPC互访的域名信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DescribeOutgoingDomain' => [ + 'summary' => 'Retrieves information about outbound domain names.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26002,99 +21694,80 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwG6EEQD', - ], + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['title' => '', 'description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'schema' => ['title' => '', 'description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', - ], + 'schema' => ['title' => '', 'description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1656750960'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '', 'description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Default value: 6. Maximum value: 100.', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '', 'description' => 'The page number to return.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => ['title' => '', 'description' => 'The asset category. If you leave this parameter empty, assets in all categories are queried. Valid values:'."\n" + ."\n" + .'- **All**: all categories'."\n" + ."\n" + .'- **RiskDomain**: risky domain names'."\n" + ."\n" + .'- **RiskIP**: risky IP addresses'."\n" + ."\n" + .'- **AliYun**: Alibaba Cloud services'."\n" + ."\n" + .'- **NotAliYun**: third-party services', 'type' => 'string', 'required' => false, 'example' => 'All'], ], [ 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'title' => '域名', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com'."\n", - ], + 'schema' => ['title' => '', 'description' => 'The outbound domain name.', 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com'], ], [ - 'name' => 'SrcIP', + 'name' => 'PublicIP', 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.92.x.x', - ], + 'schema' => ['title' => '', 'description' => 'The public IP address of the Elastic Compute Service (ECS) instance that initiates the outbound connections.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => '', + 'title' => '', + 'description' => 'The field to sort by. Valid values:'."\n" + ."\n" + .'- **SessionCount** (default): the number of requests'."\n" + ."\n" + .'- **TotalBytes**: the total traffic', 'type' => 'string', 'required' => false, - 'example' => 'desc', + 'example' => 'SessionCount', 'enum' => [], ], ], @@ -26102,35 +21775,114 @@ 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => '', + 'title' => '', + 'description' => 'The sorting order. Valid values:'."\n" + ."\n" + .'- **asc**: ascending'."\n" + ."\n" + .'- **desc** (default): descending', 'type' => 'string', 'required' => false, - 'example' => 'SessionCount', + 'example' => 'desc', 'enum' => [], ], ], [ - 'name' => 'SrcVpcId', + 'name' => 'TagIdNew', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], + 'schema' => ['description' => 'The ID of the intelligence tag. Valid values:'."\n" + ."\n" + .'- **AliYun**: Alibaba Cloud service'."\n" + ."\n" + .'- **RiskDomain**: Risky domain name'."\n" + ."\n" + .'- **RiskIP**: Risky IP address'."\n" + ."\n" + .'- **TrustedDomain**: Trusted website'."\n" + ."\n" + .'- **AliPay**: Alipay'."\n" + ."\n" + .'- **DingDing**: DingTalk'."\n" + ."\n" + .'- **WeChat**: WeChat'."\n" + ."\n" + .'- **QQ**: Tencent QQ'."\n" + ."\n" + .'- **SecurityService**: Security service'."\n" + ."\n" + .'- **Microsoft**: Microsoft'."\n" + ."\n" + .'- **Amazon**: Amazon'."\n" + ."\n" + .'- **Pan**: Cloud storage service'."\n" + ."\n" + .'- **Map**: Map service'."\n" + ."\n" + .'- **Code**: Code hosting service'."\n" + ."\n" + .'- **SystemService**: System service'."\n" + ."\n" + .'- **Taobao**: Taobao'."\n" + ."\n" + .'- **Google**: Google'."\n" + ."\n" + .'- **ThirdPartyService**: Third-party service'."\n" + ."\n" + .'- **FirstFlow**: First-time access'."\n" + ."\n" + .'- **Downloader**: Malicious downloader'."\n" + ."\n" + .'- **Alexa Top 1M**: Popular website'."\n" + ."\n" + .'- **Miner**: Mining pool'."\n" + ."\n" + .'- **Intelligence**: Threat intelligence'."\n" + ."\n" + .'- **DDoS**: DDoS trojan'."\n" + ."\n" + .'- **Ransomware**: Ransomware'."\n" + ."\n" + .'- **Spyware**: Spyware'."\n" + ."\n" + .'- **Rogue**: Rogue software'."\n" + ."\n" + .'- **Botnet**: Botnet'."\n" + ."\n" + .'- **Suspicious**: Suspicious website'."\n" + ."\n" + .'- **C\\&C**: Command and control (C\\&C)'."\n" + ."\n" + .'- **Gang**: Gang-related activity'."\n" + ."\n" + .'- **CVE**: CVE vulnerability'."\n" + ."\n" + .'- **Backdoor**: Backdoor'."\n" + ."\n" + .'- **Phishing**: Phishing website'."\n" + ."\n" + .'- **APT**: Advanced Persistent Threat (APT) attack'."\n" + ."\n" + .'- **Supply Chain Attack**: Supply chain attack'."\n" + ."\n" + .'- **Malware**: Malicious software', 'type' => 'string', 'required' => false, 'example' => 'AliYun', 'title' => ''], + ], + [ + 'name' => 'DataType', + 'in' => 'query', + 'schema' => ['description' => 'The source of traffic statistics. The default value is \\`internet\\`, which indicates Internet Firewall. Valid values:'."\n" + ."\n" + .'- **internet**: Internet Firewall'."\n" + ."\n" + .'- **nat**: NAT Firewall', 'type' => 'string', 'required' => false, 'example' => 'nat', 'title' => ''], ], [ 'name' => 'IsAITraffic', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'Specifies whether to count only traffic from accessing AI services. The default value is \\`false\\`. Valid values:'."\n" + ."\n" + .'- **true**: yes'."\n" + ."\n" + .'- **false**: no', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -26138,167 +21890,179 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], - 'DataList' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of outbound domains found.', 'type' => 'integer', 'format' => 'int32', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], + 'DomainList' => [ + 'description' => 'An array of outbound domains.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The outbound domains.', 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'title' => '域名', - 'description' => '', - 'type' => 'string', - 'example' => 'www.a.com', - ], - 'RequestBytes' => [ - 'title' => '入流量', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3214', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'GroupName' => [ - 'title' => '规则中的组名称', - 'description' => '', - 'type' => 'string', - 'example' => 'Google', - ], - 'ResponseBytes' => [ - 'title' => '出流量', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4582', - ], - 'Business' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Google', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8111126106', - ], - 'ApplicationNameList' => [ - 'description' => '', + 'AclCoverage' => ['description' => 'Indicates whether an access control policy is configured for the domain. Valid values:'."\n" + ."\n" + .'- **Uncovered**: no'."\n" + ."\n" + .'- **FullCoverage**: yes', 'type' => 'string', 'example' => 'Uncovered', 'title' => ''], + 'Domain' => ['description' => 'The outbound domain name.', 'type' => 'string', 'example' => 'www.aliyundoc.com', 'title' => ''], + 'AclRecommendDetail' => ['description' => 'The recommended action for the access control policy.', 'type' => 'string', 'example' => 'RecommendedRelease', 'title' => ''], + 'HasAclRecommend' => ['description' => 'Indicates whether a recommended access control policy exists. Valid values:'."\n" + ."\n" + .'- **true**: yes'."\n" + ."\n" + .'- **false**: no', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'InBytes' => ['description' => 'The volume of inbound traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '3214', 'title' => ''], + 'CategoryName' => ['description' => 'The name of the asset category. Valid values:'."\n" + ."\n" + .'- Alibaba Cloud product'."\n" + ."\n" + .'- Non-Alibaba Cloud product', 'type' => 'string', 'example' => 'Alibaba Cloud product', 'title' => ''], + 'RuleName' => ['description' => 'The name of the access control policy.', 'type' => 'string', 'example' => 'acl-name', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the access control policy.', 'type' => 'string', 'example' => 'add-dfadf-f****', 'title' => ''], + 'SessionCount' => ['description' => 'The number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'GroupName' => ['description' => 'The name of the policy group.', 'type' => 'string', 'example' => 'group-name', 'title' => ''], + 'SecuritySuggest' => ['description' => 'The recommended security action for the outbound domain name. Valid values:'."\n" + ."\n" + .'- **pass**: allow'."\n" + ."\n" + .'- **alert**: monitor'."\n" + ."\n" + .'- **drop**: deny', 'type' => 'string', 'example' => 'pass', 'title' => ''], + 'OutBytes' => ['description' => 'The volume of outbound traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '4582', 'title' => ''], + 'AclStatus' => ['description' => 'The health status of the access control policy. Valid values:'."\n" + ."\n" + .'- **Normal**: healthy'."\n" + ."\n" + .'- **Abnormal**: unhealthy', 'type' => 'string', 'title' => '', 'example' => 'Normal'], + 'IsMarkNormal' => ['description' => 'Indicates whether the outbound domain name is marked as normal. Valid values:'."\n" + ."\n" + .'- **true**: normal'."\n" + ."\n" + .'- **false**: not normal', 'type' => 'boolean', 'title' => '', 'example' => 'true'], + 'CategoryId' => ['description' => 'The ID of the asset category. Valid values:'."\n" + ."\n" + .'- **Aliyun**: Alibaba Cloud service'."\n" + ."\n" + .'- **NotAliyun**: third-party service', 'type' => 'string', 'title' => '', 'example' => 'Aliyun'], + 'AddressGroupUUID' => ['description' => 'The UUID of the address book.', 'type' => 'string', 'example' => 'fdad-fdafa-dafa-dfa****', 'title' => ''], + 'AddressGroupName' => ['description' => 'The name of the address book.', 'type' => 'string', 'example' => 'Outreach Address Book', 'title' => ''], + 'CategoryClassId' => ['description' => 'The category of the intelligence tag. Valid values:'."\n" + ."\n" + .'- **Suspicious**: suspicious'."\n" + ."\n" + .'- **Malicious**: malicious'."\n" + ."\n" + .'- **Trusted**: trusted', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], + 'Business' => ['description' => 'The business to which the website belongs.', 'type' => 'string', 'example' => 'Aliyun', 'title' => ''], + 'HasAcl' => ['description' => 'Indicates whether an access control policy is configured for the domain name. Valid values:'."\n" + ."\n" + .'- **true**: yes'."\n" + ."\n" + .'- **false**: no', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'Organization' => ['description' => 'The name of the organization.', 'type' => 'string', 'example' => 'Alibaba Cloud Computing Limited'."\n", 'title' => ''], + 'SecurityReason' => ['description' => 'The reason for the security recommendation.', 'type' => 'string', 'example' => 'Smart policy: The target domain name belongs to Aliyun Computing Co., Ltd., and its main business is Aliyun. No security risks have been found. It can be used to configure an outreach whitelist.', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic volume, in bytes.', 'type' => 'string', 'example' => '800', 'title' => ''], + 'TagList' => [ + 'description' => 'An array of tags.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'HTTP', + 'description' => 'The details of the tag.', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => 'The risk level. Valid values:'."\n" + ."\n" + .'- **1**: low'."\n" + ."\n" + .'- **2**: medium'."\n" + ."\n" + .'- **3**: high', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'TagName' => ['description' => 'The name of the tag.', 'type' => 'string', 'example' => 'tag-name', 'title' => ''], + 'TagId' => ['description' => 'The ID of the intelligence tag.', 'type' => 'string', 'example' => 'AliYun', 'title' => ''], + 'TagDescribe' => ['description' => 'The description of the tag.', 'type' => 'string', 'example' => 'tag-describe', 'title' => ''], + 'ClassId' => ['description' => 'The category of the intelligence tag. Valid values:'."\n" + ."\n" + .'- **Suspicious**: suspicious'."\n" + ."\n" + .'- **Malicious**: malicious'."\n" + ."\n" + .'- **Trusted**: trusted', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'SrcIpCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'SrcVpcCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'ApplicationNameList' => [ + 'description' => 'An array of application names.', + 'type' => 'array', + 'items' => ['description' => 'The names of the applications.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'AssetCount' => ['description' => 'The total number of assets that initiate outbound connections to the domain.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'PrivateAssetCount' => ['description' => 'The total number of assets in a private network that initiate outbound connections to the domain.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => 'The security suggest is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => 'The domain name is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.a.com\\",\\n \\"RequestBytes\\": 3214,\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"Google\\",\\n \\"ResponseBytes\\": 4582,\\n \\"Business\\": \\"Google\\",\\n \\"TotalBytes\\": 8111126106,\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SrcIpCount\\": 2,\\n \\"SrcVpcCount\\": 1\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeVpcFirewallDomainRelationList' => [ - 'summary' => '查询VPC互访的域名信息', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DomainList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AclRecommendDetail\\": \\"RecommendedRelease\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 3214,\\n \\"CategoryName\\": \\"Alibaba Cloud product\\",\\n \\"RuleName\\": \\"acl-name\\",\\n \\"RuleId\\": \\"add-dfadf-f****\\",\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"group-name\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 4582,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"AddressGroupUUID\\": \\"fdad-fdafa-dafa-dfa****\\",\\n \\"AddressGroupName\\": \\"Outreach Address Book\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"Business\\": \\"Aliyun\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"Organization\\": \\"Alibaba Cloud Computing Limited\\\\n\\",\\n \\"SecurityReason\\": \\"Smart policy: The target domain name belongs to Aliyun Computing Co., Ltd., and its main business is Aliyun. No security risks have been found. It can be used to configure an outreach whitelist.\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TagName\\": \\"tag-name\\",\\n \\"TagId\\": \\"AliYun\\",\\n \\"TagDescribe\\": \\"tag-describe\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeOutgoingDomain', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDomain'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeOutgoingDomainDetail' => [ + 'summary' => 'Retrieves the details of an outbound domain.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26310,145 +22074,133 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwG6EEQD', - ], + 'abilityTreeCode' => '68329', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '121.15.137.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '', + 'description' => 'The language type.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1753617600', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1733450528', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DomainList', + 'name' => 'TagId', 'in' => 'query', - 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com'."\n", - ], + 'description' => 'The tag ID.', + 'enumValueTitles' => ['FirstFlow' => 'First Visit.', 'Period' => 'periodic.'], + 'type' => 'string', 'required' => false, - 'maxItems' => 100, + 'example' => 'FirstFlow', + 'title' => '', ], ], [ - 'name' => 'SrcIP', + 'name' => 'AclCoverage', 'in' => 'query', 'schema' => [ - 'title' => '公网IP', - 'description' => '', + 'description' => 'The policy coverage status.', + 'enumValueTitles' => ['All' => 'all.', 'FullCoverage' => 'fully covered.', 'Uncovered' => 'not covered.', 'PartialCoverage' => 'partially covered.'], 'type' => 'string', 'required' => false, - 'example' => '47.92.x.x', + 'example' => 'FullCoverage', + 'title' => '', ], ], [ - 'name' => 'SrcVpcId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'example.com'."\n", 'title' => ''], ], [ - 'name' => 'DstIP', + 'name' => 'PublicIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '34.136.111.XXX', - ], + 'schema' => ['description' => 'The public IP address.', 'type' => 'string', 'required' => false, 'example' => '47.96.181.XXX', 'title' => ''], ], [ - 'name' => 'DstVpcId', + 'name' => 'PrivateIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp10w5nb30r4jzfyc****', - ], + 'schema' => ['description' => 'The private IP address.', 'type' => 'string', 'required' => false, 'example' => '10.210.0.XXX', 'title' => ''], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The field by which to sort the results.', + 'enumValueTitles' => ['InBytes' => 'inbound traffic.', 'SessionCount' => 'number of sessions.', 'OutBytes' => 'outbound traffic.'], 'type' => 'string', 'required' => false, - 'example' => 'TotalBytes', + 'example' => 'OutBytes', + 'title' => '', ], ], [ 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The sort order.', + 'enumValueTitles' => ['asc' => 'ascending order.', 'desc' => 'descending order.'], 'type' => 'string', 'required' => false, 'example' => 'desc', + 'title' => '', + ], + ], + [ + 'name' => 'IPType', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to query NAT private network outbound connections.', 'type' => 'string', 'required' => false, 'example' => 'NatPrivate', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-uf62zzi7000bca7zn****', 'title' => ''], + ], + [ + 'name' => 'DomainList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The list of domain names.', + 'type' => 'array', + 'items' => ['description' => 'The list of domain names.', 'type' => 'string', 'required' => false, 'example' => '[\'example.com\']'."\n", 'title' => ''], + 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -26457,219 +22209,151 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'DataList' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '98AF5888-9606-59CF-888F-032A9ED0****', 'title' => ''], + 'ApplicationNameList' => [ + 'description' => 'The list of application names.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'SrcIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'DstIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'SrcVpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], - 'DstVpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-bp10w5nb30r4jzfyc****', - ], - 'SrcVpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-****', - ], - 'DstVpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-****', - ], - 'SrcRegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'DstRegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16287823', - ], - 'SessionCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'Business' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Google', - ], - 'GroupName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Google', - ], - 'IpsHitCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'FirstTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1767147003', - ], - 'LastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1767147003', - ], - 'RequestBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'ResponseBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - ], - ], + 'items' => ['description' => 'The application name.', 'type' => 'string', 'example' => '[\'HTTP\', \'HTTPS\']', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'DstVpcList' => [ - 'description' => '', + 'AssetList' => [ + 'description' => 'The list of assets.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of assets.', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => '', + 'AclCoverage' => [ + 'description' => 'The policy coverage status.', + 'enumValueTitles' => ['All' => 'all.', 'FullCoverage' => 'fully covered.', 'Uncovered' => 'not covered.', 'PartialCoverage' => 'partially covered.'], 'type' => 'string', - 'example' => 'vpc-bp10w5nb30r4jzfyc****', + 'example' => 'FullCoverage', + 'title' => '', ], - 'VpcName' => [ - 'description' => '', + 'ResourceInstanceName' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ResourceInstanceId' => ['description' => 'The ID of the asset instance.', 'type' => 'string', 'example' => 'i-uf63wjhyoohc1g4z****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'InBytes' => ['description' => 'The inbound traffic (response traffic), in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '244438.0', 'title' => ''], + 'FirstTime' => ['description' => 'The time of the first access. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1738548990', 'title' => ''], + 'PrivateIP' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '10.21.242XXX', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the ACL rule.', 'type' => 'string', 'example' => '08a58465-ff4d-4c47-8782-eb008301****', 'title' => ''], + 'RuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'SessionCount' => ['description' => 'The number of access sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'LastTime' => ['description' => 'The time of the most recent access. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1739326614', 'title' => ''], + 'ResourceType' => [ + 'description' => 'The type of the public IP address of the asset.', + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP', 'EIP' => 'EIP'], 'type' => 'string', - 'example' => 'vpc-****', + 'example' => 'NatEIP', + 'title' => '', + ], + 'OutBytes' => ['description' => 'The outbound traffic (request traffic), in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'PublicIP' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '47.96.181.XXX', 'title' => ''], + 'TagList' => [ + 'description' => 'The list of tag names.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of tag names.', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => 'The risk level. Valid values:'."\n" + .'- **0**: no risk.'."\n" + .'- **1**: low risk.'."\n" + .'- **2**: medium risk.'."\n" + .'- **3**: high risk.', + 'enumValueTitles' => ['no risk.', 'low risk.', 'medium risk.', 'high risk.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'title' => '', + ], + 'TagName' => ['description' => 'The tag name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'TagId' => [ + 'description' => 'The tag ID.', + 'enumValueTitles' => ['FirstFlow' => 'First Visit.', 'Period' => 'periodic.'], + 'type' => 'string', + 'example' => 'FirstFlow', + 'title' => '', + ], + 'TagDescribe' => ['description' => 'The tag description.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'ClassId' => ['description' => 'The risk category ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalBytes' => ['description' => 'The total traffic.', 'type' => 'string', 'example' => '321120825843', 'title' => ''], + 'VpcId' => ['description' => 'The VPC instance ID.', 'type' => 'string', 'example' => 'vpc-9dp16jgwgyvn****', 'title' => ''], + 'NatGatewayId' => ['description' => 'The NAT gateway ID.', 'type' => 'string', 'example' => 'ngw-bp1utx6wj4x9qu9tl****', 'title' => ''], + 'NatGatewayName' => ['description' => 'The NAT gateway name.', 'type' => 'string', 'example' => 'ngw-test', 'title' => ''], + 'IpsHitCnt' => ['description' => 'The number of IPS hits.', 'type' => 'integer', 'format' => 'int64', 'example' => '32', 'title' => ''], + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'example.com', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => 'The domain name is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"SrcVpcName\\": \\"vpc-****\\",\\n \\"DstVpcName\\": \\"vpc-****\\",\\n \\"SrcRegionId\\": \\"cn-hangzhou\\",\\n \\"DstRegionId\\": \\"cn-beijing\\",\\n \\"TotalBytes\\": 16287823,\\n \\"SessionCount\\": 27,\\n \\"Business\\": \\"Google\\",\\n \\"GroupName\\": \\"Google\\",\\n \\"IpsHitCnt\\": 10,\\n \\"FirstTime\\": 1767147003,\\n \\"LastTime\\": 1767147003,\\n \\"RequestBytes\\": 10000,\\n \\"ResponseBytes\\": 10000\\n }\\n ],\\n \\"DstVpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"VpcName\\": \\"vpc-****\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'UpdateAITrafficAnalysisStatus' => [ - 'summary' => '修改AI流量分析开启状态', - 'methods' => [ - 'get', - 'post', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => 'Retrieve outbound domain details', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomainDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"98AF5888-9606-59CF-888F-032A9ED0****\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"InBytes\\": 244438,\\n \\"FirstTime\\": 1738548990,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 10,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"NatEIP\\",\\n \\"OutBytes\\": 100,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"3\\"\\n }\\n ],\\n \\"TotalBytes\\": \\"321120825843\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IpsHitCnt\\": 32,\\n \\"Domain\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingRiskDomainAndIpCount' => [ + 'summary' => 'Queries the number of intrusion prevention threats.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26678,58 +22362,77 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '42917', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Status', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp that is accurate to the second.', 'required' => false, 'title' => '', 'example' => '1749434787'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The end of the time range to query. The value is a UNIX timestamp that is accurate to the second.', 'required' => false, 'title' => '', 'example' => '1751595213'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810', - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => 'EE258AC0-6EDD-5929-AB47-165E9B54****'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of entries.', 'title' => '', 'example' => '6'], + 'RiskDomainCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of risk domain names.', 'title' => '', 'example' => '6'], + 'RiskIpCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of risk IP addresses.', 'title' => '', 'example' => '47'], ], + 'title' => '', + 'description' => 'The response parameters.', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', - ], - 'ModifyObjectGroupOperation' => [ - 'summary' => 'Modifies information about an operation on an object group.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'DescribeOutgoingRiskDomainAndIpCount', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskDomainAndIpCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE258AC0-6EDD-5929-AB47-165E9B54****\\",\\n \\"TotalCount\\": 6,\\n \\"RiskDomainCount\\": 6,\\n \\"RiskIpCount\\": 47\\n}","type":"json"}]', + ], + 'DescribeOutgoingRiskTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26738,113 +22441,170 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68478', - 'abilityTreeNodes' => [ - 'FEATUREcfwY8M1K1', - ], + 'abilityTreeCode' => '68330', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '123.xxx.251.60', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '219.145.94.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'ObjectOperation', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The operation. Valid values:'."\n" - ."\n" - .'* **ignore**: adds the operation object to the whitelist.'."\n" - .'* **cancelIgnore**: removes the operation object from the whitelist.'."\n" - .'* **subscribe**: follows the operation object.'."\n" - .'* **unsubscribe**: unfollows the operation object.', + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', - 'required' => true, - 'example' => 'ignore', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'ObjectType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the operation object.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **assetsIp**: the asset IP address.'."\n" - .'* **destinationIp**: the destination IP address.'."\n" - .'* **destinationPort**: the destination port.'."\n" - .'* **destinationDomain**: the destination domain name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'destinationDomain', - ], + 'schema' => ['description' => 'The start of the time range to query. Use a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1733882648', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. Use a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1755051062', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **in**: inbound.'."\n" - .'* **out**: outbound.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'out', + 'type' => 'object', + 'properties' => [ + 'TotalRiskDomain' => ['description' => 'The total number of threat domain names.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '1CA8D98E-A71B-5856-A658-3E8B3152E****', 'title' => ''], + 'Interval' => ['description' => 'The time interval.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'TotalRiskIp' => ['description' => 'The total number of threat IP addresses.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => 'The timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600', 'title' => ''], + 'RiskIp' => ['description' => 'The number of threat IP addresses.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'RiskDomain' => ['description' => 'The number of threat domain names.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + ], + 'description' => 'The data returned.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeOutgoingRiskTrend', + 'summary' => 'Queries the trend of outgoing connection threats.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ObjectList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The operation objects.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The operation object.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '8.25.xxx.55', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => true, - 'maxItems' => 200, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalRiskDomain\\": 7,\\n \\"RequestId\\": \\"1CA8D98E-A71B-5856-A658-3E8B3152E****\\",\\n \\"Interval\\": 60,\\n \\"TotalRiskIp\\": 6,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"RiskIp\\": 5,\\n \\"RiskDomain\\": 20\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingStatistic' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Comment', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68331', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The remarks of the operation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '117.32.136.XXX', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time. Use a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1746554400', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. Use a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1734920543', 'title' => ''], ], ], 'responses' => [ @@ -26852,80 +22612,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CB32593D************775F41D6ED84', - ], + 'UnknownProtocolRadio' => ['description' => 'The percentage of traffic from unidentified protocols.', 'type' => 'string', 'example' => '20.13'."\n", 'title' => ''], + 'SubscribeDstIPCount' => ['description' => 'The number of destination IP addresses that you follow.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalProtocolCount' => ['description' => 'The number of outbound connection protocols.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'UncoveredAclDstIP' => ['description' => 'The number of destination IP addresses that are not covered by a policy.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalDomainCount' => ['description' => 'The total number of outbound domain names.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'SubscribeDomainCount' => ['description' => 'The number of domain names that you follow.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalAssetCount' => ['description' => 'The total number of assets that have outbound connections.', 'type' => 'integer', 'format' => 'int32', 'example' => '13', 'title' => ''], + 'TotalDstIPCount' => ['description' => 'The total number of destination IP addresses for outbound connections.', 'type' => 'integer', 'format' => 'int32', 'example' => '107', 'title' => ''], + 'IgnoreDstIPCount' => ['description' => 'The number of destination IP addresses that are ignored.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E2BD70F4-48BF-5EFD-B103-F0763E27*****', 'title' => ''], + 'IgnoreDomainCount' => ['description' => 'The number of domain names that are ignored.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'IgnoreAssetCount' => ['description' => 'The number of assets that are ignored.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RiskDstIPCount' => ['description' => 'The number of risky destination IP addresses for outbound connections.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RiskAssetCount' => ['description' => 'The number of risky assets.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'UncoveredAclDomain' => ['description' => 'The number of domain names that are not covered by a policy.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RiskDomainCount' => ['description' => 'The number of risky domain names for outbound connections.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SubscribeAssetCount' => ['description' => 'The number of assets that you follow.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'PrivateTotalAssetCount' => ['description' => 'The number of assets with outbound connections over a private network.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'PrivateRiskAssetCount' => ['description' => 'The number of risky assets with outbound connections over a private network.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorOutgoingIgnoredReachLimit', - 'errorMessage' => 'outgoing ignored list reach limit', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorObjectType', - 'errorMessage' => 'The objectType is invalid.', - ], - [ - 'errorCode' => 'ErrorObjectList', - 'errorMessage' => 'The objectList is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorDBDeleteError', - 'errorMessage' => 'A database delete error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB32593D************775F41D6ED84\\"\\n}","type":"json"}]', - 'title' => 'ModifyObjectGroupOperation', - ], - 'DescribeRiskEventTopAttackApp' => [ - 'summary' => '获取Top风险事件攻击APP', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeOutgoingStatistic', + 'summary' => 'Retrieves outbound connection statistics.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UnknownProtocolRadio\\": \\"20.13\\\\n\\",\\n \\"SubscribeDstIPCount\\": 10,\\n \\"TotalProtocolCount\\": 10,\\n \\"UncoveredAclDstIP\\": 10,\\n \\"TotalDomainCount\\": 10,\\n \\"SubscribeDomainCount\\": 10,\\n \\"TotalAssetCount\\": 13,\\n \\"TotalDstIPCount\\": 107,\\n \\"IgnoreDstIPCount\\": 0,\\n \\"RequestId\\": \\"E2BD70F4-48BF-5EFD-B103-F0763E27*****\\",\\n \\"IgnoreDomainCount\\": 10,\\n \\"IgnoreAssetCount\\": 0,\\n \\"RiskDstIPCount\\": 1,\\n \\"RiskAssetCount\\": 0,\\n \\"UncoveredAclDomain\\": 0,\\n \\"RiskDomainCount\\": 1,\\n \\"SubscribeAssetCount\\": 0,\\n \\"PrivateTotalAssetCount\\": 0,\\n \\"PrivateRiskAssetCount\\": 0\\n}","type":"json"}]', + ], + 'DescribeOutgoingTag' => [ + 'summary' => 'Queries outbound connection tags.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26937,122 +22688,57 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68351', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '68332', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '182.150.22.XXX', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '60.179.226.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'schema' => ['description' => 'The beginning of the time range to query. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1743646544', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1735784888', - ], - ], - [ - 'name' => 'AttackType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - 3 => '', - '', - ], - 'example' => '3', - ], + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1749003483', 'title' => ''], ], [ - 'name' => 'AttackApp', + 'name' => 'DstType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "MySQL",'."\n" - .' "Redis",'."\n" - .' "MemCached"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The type of the destination. Valid values:'."\n" + ."\n" + .'- **Domain**: domain name.'."\n" + ."\n" + .'- **DstIP**: IP address.', 'type' => 'string', 'required' => false, 'example' => 'Domain ', 'title' => ''], ], [ - 'name' => 'BuyVersion', + 'name' => 'TagId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 2 => '', - '', - '', - 10 => '', - ], - 'example' => '10', - ], + 'schema' => ['description' => 'The ID of the tag.', 'type' => 'string', 'required' => false, 'example' => '103208', 'title' => ''], ], ], 'responses' => [ @@ -27060,171 +22746,160 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C9DDAD29-C6B3-5997-B757-FFB3F1C3****', - ], - 'AttackApps' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B532203E-813B-5BEB-B75B-315E1D08****', 'title' => ''], + 'TagList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'AttackCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'DropCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'App' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'live', - ], + 'RiskLevel' => ['description' => 'The risk assessment level. Valid values:'."\n" + ."\n" + .'- **0**: no threat.'."\n" + ."\n" + .'- **1**: low threat.'."\n" + ."\n" + .'- **2**: medium threat.'."\n" + ."\n" + .'- **3**: high threat.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'TagName' => ['description' => 'The name of the tag.', 'type' => 'string', 'example' => 'test tag', 'title' => ''], + 'TagId' => ['description' => 'The ID of the tag.', 'type' => 'string', 'example' => 'tag-6833388d18cc****', 'title' => ''], + 'TagDescribe' => ['description' => 'The description of the tag.', 'type' => 'string', 'example' => 'test describe', 'title' => ''], + 'ClassId' => ['description' => 'The classification. Valid values:'."\n" + ."\n" + .'- **Suspicious**: suspicious.'."\n" + ."\n" + .'- **Malicious**: malicious.'."\n" + ."\n" + .'- **Trusted**: trusted.', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], ], + 'description' => 'A list of tag objects.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of tags.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C9DDAD29-C6B3-5997-B757-FFB3F1C3****\\",\\n \\"AttackApps\\": [\\n {\\n \\"AttackCnt\\": 20,\\n \\"DropCnt\\": 15,\\n \\"App\\": \\"live\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeRiskEventTopAttackType' => [ - 'summary' => '获取Top风险事件类型', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeOutgoingTag', + 'description' => '## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 per user. If you exceed the limit, API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingTag', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B532203E-813B-5BEB-B75B-315E1D08****\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test tag\\",\\n \\"TagId\\": \\"tag-6833388d18cc****\\",\\n \\"TagDescribe\\": \\"test describe\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePageDocuments' => [ + 'summary' => 'Queries the FAQ for a page.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68353', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '68334', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '223.167.221.XXX', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type. Valid values:'."\n" + .'- **en**: English.'."\n" + .'- **zh**: Chinese.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, - 'example' => '140.210.153.XXX', + 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type. Valid values:'."\n" + .'- **en**: English.'."\n" + .'- **zh**: Chinese.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1670307484', - ], + 'schema' => ['description' => 'The tracing code.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'PageName', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The page name. Valid values:'."\n" + .'- **overview**: overview page'."\n" + .'- **access**: access control page'."\n" + .'- **switch**: firewall page.', + 'enumValueTitles' => ['overview' => 'overview page.', 'access' => 'access control page.', 'switch' => 'firewall page.'], 'type' => 'string', 'required' => true, - 'example' => '1743387943', + 'example' => 'overview', + 'title' => '', ], ], [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'out', - ], - ], - [ - 'name' => 'BuyVersion', + 'name' => 'TabName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 2 => '', - '', - '', - 10 => '', - ], - 'example' => '2', - ], + 'schema' => ['description' => 'The name of the protected object in the access control policy.', 'type' => 'string', 'required' => true, 'example' => 'internet', 'title' => ''], ], ], 'responses' => [ @@ -27232,198 +22907,240 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalProtectCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '65', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BECDBF66-91DA-5B40-8B05-0D26541A****', - ], - 'TotalAttackCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47', + 'Module' => ['description' => 'The application module.', 'type' => 'string', 'example' => 'sg_server', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C81E1AD-08C0-5E09-853B-FDC77B90****', 'title' => ''], + 'ImageUrl' => ['description' => 'The image URL.', 'type' => 'string', 'example' => 'https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png', 'title' => ''], + 'More' => [ + 'description' => 'The list of additional resources.', + 'type' => 'object', + 'properties' => [ + 'Url' => ['description' => 'The document path.', 'type' => 'string', 'example' => 'https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png', 'title' => ''], + 'Title' => ['description' => 'The title.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'TopAttackTypeList' => [ - 'description' => '', + 'Docs' => [ + 'description' => 'The list of documents.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of documents.', 'type' => 'object', 'properties' => [ - 'AttackType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'AttackCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '38', - ], - 'ProtectCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42', - ], + 'Url' => ['description' => 'The document path.', 'type' => 'string', 'example' => 'https://notify-center-test.ybaobx.com/webhook/arms', 'title' => ''], + 'Title' => ['description' => 'The title.', 'type' => 'string', 'example' => 'test', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalProtectCnt\\": 65,\\n \\"RequestId\\": \\"BECDBF66-91DA-5B40-8B05-0D26541A****\\",\\n \\"TotalAttackCnt\\": 47,\\n \\"TopAttackTypeList\\": [\\n {\\n \\"AttackType\\": 2,\\n \\"AttackCnt\\": 38,\\n \\"ProtectCnt\\": 42\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeRiskEventStatistic' => [ - 'summary' => '获取风险事件统计', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query page FAQ (deprecated)', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePageDocuments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"7C81E1AD-08C0-5E09-853B-FDC77B90****\\",\\n \\"ImageUrl\\": \\"https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png\\",\\n \\"More\\": {\\n \\"Url\\": \\"https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png\\",\\n \\"Title\\": \\"test\\"\\n },\\n \\"Docs\\": [\\n {\\n \\"Url\\": \\"https://notify-center-test.ybaobx.com/webhook/arms\\",\\n \\"Title\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePolicyAdvancedConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68350', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '68336', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '218.76.30.XXX', - ], + 'schema' => ['description' => 'The source IP address of the requester.', 'type' => 'string', 'required' => false, 'deprecated' => true, 'title' => '', 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'InternetSwitch' => ['description' => 'The status of strict mode. Valid values:'."\n" + ."\n" + .'- **on**: Strict mode is enabled.'."\n" + .'- **off**: Strict mode is disabled.', 'type' => 'string', 'title' => '', 'example' => 'off'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1'], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribePolicyAdvancedConfig', + 'summary' => 'Queries the status of strict mode for access control policies.', + 'description' => 'You can call this operation to query the status of strict mode for access control policies.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'This operation is limited to 10 queries per second (QPS) for each user. API calls that exceed this limit are throttled, which may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyAdvancedConfig'], + ], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetSwitch\\": \\"off\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","type":"json"}]', + ], + 'DescribePolicyPriorUsed' => [ + 'summary' => 'Queries the effective priority range of access control policies.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68337', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'EndTime', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1534408267', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'AttackType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - 3 => '', - '', - ], - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (Default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AttackApp', + 'name' => 'Direction', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "MySQL",'."\n" - .' "Redis",'."\n" - .' "MemCached"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The traffic direction of the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **in**: Inbound traffic'."\n" + ."\n" + .'- **out**: Outbound traffic', 'type' => 'string', 'required' => true, 'example' => 'in', 'title' => ''], ], [ - 'name' => 'BuyVersion', + 'name' => 'IpVersion', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The IP version for assets protected by Cloud Firewall.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **4** (Default): IPv4'."\n" + ."\n" + .'- **6**: IPv6', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 2 => '', - '', - '', - 10 => '', - ], - 'example' => '10', + 'enum' => ['4', '6'], + 'example' => '6', + 'title' => '', ], ], ], @@ -27432,74 +23149,78 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****', - ], - 'AttackIpCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AttackAppCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DropCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'AttackCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'End' => ['description' => 'The lowest priority of your access control policies.'."\n" + ."\n" + .'> A larger value indicates a lower priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '150', 'title' => ''], + 'Start' => ['description' => 'The highest priority of your access control policies.'."\n" + ."\n" + .'> A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The destination is invalid.', 'description' => 'The destination is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": 150,\\n \\"Start\\": -1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + 'title' => 'DescribePolicyPriorUsed', + 'description' => 'This operation queries the effective priority range of access control policies for inbound and outbound traffic.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The QPS limit for this operation is 10 requests per second per user. Calls that exceed this limit are throttled, which may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyPriorUsed'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\",\\n \\"AttackIpCnt\\": 10,\\n \\"AttackAppCnt\\": 10,\\n \\"DropCnt\\": 20,\\n \\"AttackCnt\\": 5\\n}","type":"json"}]', ], - 'DescribeRiskEventPayload' => [ - 'summary' => 'Queries the attack payloads of intrusion events.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribePostpayBill' => [ + 'summary' => 'Queries pay-as-you-go 2.0 bills.', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27511,245 +23232,131 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68349', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], - 'autoTest' => true, + 'abilityTreeCode' => '183328', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1669533617', - ], + 'schema' => ['title' => '', 'description' => 'The language. This is an enumeration value.'."\n" + .'Default value: zh.'."\n" + .'Valid values: en.', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'EndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1681288980', - ], + 'schema' => ['description' => 'The maximum number of entries per page in a paged query. Default value: 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'SrcIP', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address to query. If you specify this parameter, all intrusion events from the specified source IP address are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.1', - ], + 'schema' => ['description' => 'The page number of the current page in a paged query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DstIP', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination IP address to query. If you specify this parameter, all intrusion events with the specified destination IP address are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.2', - ], + 'schema' => ['title' => '', 'description' => 'The start time of the query, expressed as a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ - 'name' => 'UUID', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the intrusion event.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'e62c25e0-1073-46bd-9567-b8f12b3d****', - ], + 'schema' => ['description' => 'The end time of the query, expressed as a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1646063922', 'title' => ''], ], [ - 'name' => 'FirewallType', + 'name' => 'Interval', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the firewall. Valid values:'."\n" + 'description' => 'The time interval for querying data. This is an enumeration value. Valid values:'."\n" ."\n" - .'* **VpcFirewall**: virtual private cloud (VPC) firewall'."\n" - .'* **InternetFirewall** (default): Internet firewall'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewall', - ], - ], - [ - 'name' => 'SrcVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the source VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the source VPC are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9j2lqyo15udw5nt****', - ], - ], - [ - 'name' => 'DstVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the destination VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the destination VPC are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6jr1klwqb60dyn2****', - ], - ], - [ - 'name' => 'PublicIP', - 'in' => 'query', - 'schema' => [ - 'description' => 'The public IP address. If you specify this parameter, all intrusion events that contain the specified public IP address are queried.', - 'type' => 'string', + .'- 3600: queries data at the hourly level.'."\n" + .'- 86400: queries data at the daily level.', + 'enumValueTitles' => [3600 => 'hour.', 86400 => 'day.'], + 'type' => 'integer', + 'format' => 'int32', + 'enum' => ['3600', '86400'], 'required' => false, - 'example' => '203.0.113.3', + 'example' => '60', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'DstIP' => [ - 'description' => 'The destination IP address of the intrusion event.'."\n", - 'type' => 'string', - 'example' => '203.0.113.1', - ], - 'DstPort' => [ - 'description' => 'The destination port of the intrusion event.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'DstVpcId' => [ - 'description' => 'The destination VPC ID of the intrusion event.'."\n", - 'type' => 'string', - 'example' => 'vpc-bp10w5nb30r4jzfyc****', - ], - 'HitContentType' => [ - 'description' => 'Type of the hit.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'HitTo' => [ - 'description' => 'The position where the hit ends.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '67', - ], - 'ParsedContent' => [ - 'description' => 'Hit payload.', - 'type' => 'string', - 'example' => '2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f', - ], - 'Payload' => [ - 'description' => 'The attack payload of the intrusion event.'."\n", - 'type' => 'string', - 'example' => '302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500', - ], - 'PayloadLen' => [ - 'description' => 'The length of the attack payload of the intrusion event.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '457', - ], - 'Proto' => [ - 'description' => 'The protocol type of intrusion event. Valid values:'."\n" - ."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n", - 'type' => 'string', - 'example' => 'TCP', - ], - 'RealIp' => [ - 'description' => 'The HTTP X-Real-IP field.'."\n", - 'type' => 'string', - 'example' => '203.0.113.3', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '68055BA4-D8BD-5611-AC49-C651E619A12E', - ], - 'SrcIP' => [ - 'description' => 'The source IP address of the intrusion event.'."\n", - 'type' => 'string', - 'example' => '203.0.113.2', - ], - 'SrcPort' => [ - 'description' => 'The source port of the intrusion event.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '54360', - ], - 'SrcVpcId' => [ - 'description' => 'The source VPC ID of the intrusion event.'."\n", - 'type' => 'string', - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], - 'XForwardFor' => [ - 'description' => 'The HTTP X-Forwarded-For field.'."\n", - 'type' => 'string', - 'example' => '203.0.113.4', + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********', 'title' => ''], + 'AggregateInternetTraffic' => ['description' => 'The aggregated Internet traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'AggregateNatTraffic' => ['description' => 'The aggregated NAT traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'AggregateVpcTraffic' => ['description' => 'The aggregated VPC traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'AggregateSdlTraffic' => ['description' => 'The aggregated sensitive data detection traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'AggregateTotalTraffic' => ['description' => 'The aggregated total traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '40', 'title' => ''], + 'BillList' => [ + 'description' => 'The bill list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InternetTraffic' => ['description' => 'The Internet traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'NatInstanceCnt' => ['description' => 'The number of NAT instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'EndTime' => ['description' => 'The end time, expressed as a UNIX timestamp in seconds. The value is on the hour or on the day.', 'type' => 'integer', 'format' => 'int64', 'example' => '1733710015', 'title' => ''], + 'SdlTraffic' => ['description' => 'The sensitive data detection traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '1', 'title' => ''], + 'InternetInstanceCnt' => ['description' => 'The number of Internet instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'StartTime' => ['description' => 'The start time, expressed as a UNIX timestamp in seconds. The value is on the hour or on the day.', 'type' => 'integer', 'format' => 'int64', 'example' => '1710206070000', 'title' => ''], + 'LogStorage' => ['description' => 'The log service usage duration, in TB × hours.', 'type' => 'integer', 'format' => 'int64', 'example' => '24', 'title' => ''], + 'NatTraffic' => ['description' => 'The NAT traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''], + 'VpcInstanceCnt' => ['description' => 'The number of VPC instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'ThreatIntelligence' => ['description' => 'The threat intelligence usage duration, in hours.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'IsDerated' => ['description' => 'Indicates whether a deduction is applied. A value of 0 indicates that no deduction is applied. Any value greater than 0 indicates that a deduction is applied. If a deduction is applied, the bill is not generated.'."\n" + .'> This field is meaningful only when you query data at the hourly level.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Sdl' => ['description' => 'The sensitive data leak detection usage duration, in hours.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'VpcTraffic' => ['description' => 'The VPC traffic, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '4', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallType', - 'errorMessage' => 'The specified firewall type is invalid.', - ], - [ - 'errorCode' => 'ErrorSLSLogStore', - 'errorMessage' => 'Failed to get SLS logstore.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => 'Non-pay-as-you-go Users.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DstIP\\": \\"203.0.113.1\\",\\n \\"DstPort\\": 8080,\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"HitContentType\\": 1,\\n \\"HitTo\\": 67,\\n \\"ParsedContent\\": \\"2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f\\",\\n \\"Payload\\": \\"302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500\\",\\n \\"PayloadLen\\": 457,\\n \\"Proto\\": \\"TCP\\",\\n \\"RealIp\\": \\"203.0.113.3\\",\\n \\"RequestId\\": \\"68055BA4-D8BD-5611-AC49-C651E619A12E\\",\\n \\"SrcIP\\": \\"203.0.113.2\\",\\n \\"SrcPort\\": 54360,\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"XForwardFor\\": \\"203.0.113.4\\"\\n}","type":"json"}]', - 'title' => 'DescribeRiskEventPayload', - ], - 'DescribeRiskEventGroup' => [ - 'summary' => 'Queries the details of intrusion events.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query pay-as-you-go 2.0 bills', + 'description' => 'For pay-as-you-go users, the bill details are accurate to the specific resource instance level. For subscription users, only overall queries are supported.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"AggregateInternetTraffic\\": 10,\\n \\"AggregateNatTraffic\\": 10,\\n \\"AggregateVpcTraffic\\": 10,\\n \\"AggregateSdlTraffic\\": 10,\\n \\"AggregateTotalTraffic\\": 40,\\n \\"BillList\\": [\\n {\\n \\"InternetTraffic\\": 10,\\n \\"NatInstanceCnt\\": 2,\\n \\"EndTime\\": 1733710015,\\n \\"SdlTraffic\\": 1,\\n \\"InternetInstanceCnt\\": 3,\\n \\"StartTime\\": 1710206070000,\\n \\"LogStorage\\": 24,\\n \\"NatTraffic\\": 2,\\n \\"VpcInstanceCnt\\": 2,\\n \\"ThreatIntelligence\\": 1,\\n \\"IsDerated\\": 0,\\n \\"Sdl\\": 0,\\n \\"VpcTraffic\\": 4\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePostpayEnabledProtection' => [ + 'summary' => 'Queries the status of pay-as-you-go protection.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -27758,740 +23365,681 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68348', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '144147', + 'abilityTreeNodes' => ['FEATUREcfwATUJ57'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", 'type' => 'string', 'required' => false, + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], - [ - 'name' => 'Lang', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '95CA5E2B-E5FB-5838-BC50-6A2C763C****'], + 'IsEnabledProtection' => ['type' => 'boolean', 'description' => 'Indicates whether the protection feature is enabled.', 'title' => '', 'example' => 'false'], + 'IsOpenButDisabled' => ['type' => 'boolean', 'description' => 'Indicates whether the protection feature is activated but currently disabled.', 'title' => '', 'example' => 'false'], + 'DisabledDays' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of days that protection has been disabled.', 'title' => '', 'example' => '6'], + 'DisabledType' => ['type' => 'string', 'description' => 'The type of asset for which protection is disabled.', 'title' => '', 'example' => 'nat'], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => 'This request uses the same client token as the previous request, but not the same. Do not reuse client tokens in different requests unless the request is the same.'], + ['errorCode' => 'ErrorInstanceNotPostpay', 'errorMessage' => 'instance is not postpay', 'description' => 'You can call this operation only if your Cloud Firewall uses the pay-as-you-go billing method.'], + ['errorCode' => 'ErrorInstanceNotInDB', 'errorMessage' => 'no instance for process in db', 'description' => 'The instance does not exist.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribePostpayEnabledProtection', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1534408189', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayEnabledProtection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"95CA5E2B-E5FB-5838-BC50-6A2C763C****\\",\\n \\"IsEnabledProtection\\": false,\\n \\"IsOpenButDisabled\\": false,\\n \\"DisabledDays\\": 6,\\n \\"DisabledType\\": \\"nat\\"\\n}","type":"json"}]', + ], + 'DescribePostpayTrafficDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1534408267', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '183328', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Direction', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic for the intrusion events. Valid values:'."\n" - ."\n" - .'* **in**: inbound'."\n" - .'* **out**: outbound'."\n" - ."\n" - .'> If you do not specify this parameter, the intrusion events that are recorded for both inbound and outbound traffic are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['title' => '', 'description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Default value: **6**. Maximum value: **10**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6', - ], + 'schema' => ['description' => 'The number of entries per page in a paged query. Default value: 10. Maximum value: 50.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number in a paged query.'."\n" + .'Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DataType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the risk events.\\'."\n" - .'Set the value to **session**, which indicates intrusion events.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'session', - ], + 'schema' => ['title' => '', 'description' => 'The start time of the query. Specify the value in the YYYYMMDD format.', 'type' => 'string', 'required' => true, 'example' => '20240101'], ], [ - 'name' => 'RuleSource', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The module of the rule that is used to detect the intrusion events. Valid values:'."\n" - ."\n" - .'* **1**: basic protection'."\n" - .'* **2**: virtual patching'."\n" - .'* **4**: threat intelligence'."\n" - ."\n" - .'> If you do not specify this parameter, the intrusion events that are detected by all rules are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The end time of the query. Specify the value in the YYYYMMDD format.', 'type' => 'string', 'required' => true, 'example' => '20240131', 'title' => ''], ], [ - 'name' => 'RuleResult', + 'name' => 'SearchItem', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the firewall. Valid values:'."\n" - ."\n" - .'* **1**: alerting'."\n" - .'* **2**: blocking'."\n" - ."\n" - .'> If you do not specify this parameter, all intrusion events that are detected by the firewall are queried, regardless of the firewall status.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The IP address or instance ID of the asset.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'SrcIP', + 'name' => 'TrafficType', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address to query. If you specify this parameter, all intrusion events with the specified source IP address are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The type of traffic boundary for statistics. This parameter is required. Valid values:'."\n" + .' '."\n" + .'- **EIP_TRAFFIC**: Internet border traffic.'."\n" + .' '."\n" + .'- **NatGateway_TRAFFIC**: NAT border traffic.'."\n" + .'- **VPC_TRAFFIC**: VPC border traffic.', 'type' => 'string', 'required' => true, 'example' => 'VPC_TRAFFIC', 'title' => ''], ], [ - 'name' => 'DstIP', + 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination IP address to query. If you specify this parameter, all intrusion events with the specified destination IP address are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The field by which to sort the results. Valid values:'."\n" + ."\n" + .'- **resourceId**: resource ID.'."\n" + .'- **trafficDay**: date.', 'type' => 'string', 'required' => false, 'example' => 'resourceId', 'title' => ''], ], [ - 'name' => 'VulLevel', + 'name' => 'RegionNo', 'in' => 'query', + 'schema' => ['description' => 'The region information.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The risk level of the intrusion events. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n" - ."\n" - .'> If you do not specify this parameter, the intrusion events that are at all risk levels are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['title' => '', 'description' => 'The total number of traffic statistics entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0525EADE-C112-5702-A5BC-0E2F6F94DB23', 'title' => ''], + 'TrafficList' => [ + 'description' => 'The traffic statistics list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The traffic statistics information.', + 'type' => 'object', + 'properties' => [ + 'TrafficDay' => ['description' => 'The date of the traffic statistics.', 'type' => 'string', 'example' => '20231001', 'title' => ''], + 'TrafficType' => ['description' => 'The type of traffic boundary for statistics. Valid values:'."\n" + .' '."\n" + .'- **EIP_TRAFFIC**: Internet border traffic.'."\n" + .' '."\n" + .'- **NatGateway_TRAFFIC**: NAT border traffic.'."\n" + .'- **VPC_TRAFFIC**: VPC border traffic.', 'type' => 'string', 'example' => 'EIP_TRAFFIC', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the asset instance.', 'type' => 'string', 'example' => 'i-8vb2d7c9mtn0bo9qcraq', 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID. For Internet border traffic, this is the public IP address of the asset. For NAT border traffic, this is the firewall instance ID of the asset.', 'type' => 'string', 'example' => '39.106.146.214', 'title' => ''], + 'InstanceType' => ['description' => 'The asset type. This value takes effect only for Internet border traffic.', 'type' => 'string', 'example' => 'EcsPublicIP', 'title' => ''], + 'TotalBytes' => ['description' => 'The total network throughput in both inbound and outbound directions (total bytes sent and received). Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1215096939', 'title' => ''], + 'InBytes' => ['description' => 'The inbound network throughput (total bytes). Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1115096939', 'title' => ''], + 'OutBytes' => ['description' => 'The outbound network throughput (total bytes). Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000000', 'title' => ''], + 'ProtectionDuration' => ['description' => 'The protection duration. Unit: hours.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'FirewallType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the firewall. Valid values:'."\n" - ."\n" - .'* **VpcFirewall**: virtual private cloud (VPC) firewall'."\n" - .'* **InternetFirewall**: Internet firewall (default)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewall', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => 'Non-pay-as-you-go Users.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Query pay-as-you-go billing traffic details', + 'summary' => 'Queries the details of pay-as-you-go billing traffic.', + 'description' => 'For pay-as-you-go users, the details are accurate to the specific resource instance level. For subscription users, only overall queries are supported.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficDetail'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"0525EADE-C112-5702-A5BC-0E2F6F94DB23\\",\\n \\"TrafficList\\": [\\n {\\n \\"TrafficDay\\": \\"20231001\\",\\n \\"TrafficType\\": \\"EIP_TRAFFIC\\",\\n \\"InstanceId\\": \\"i-8vb2d7c9mtn0bo9qcraq\\",\\n \\"ResourceId\\": \\"39.106.146.214\\",\\n \\"InstanceType\\": \\"EcsPublicIP\\",\\n \\"TotalBytes\\": 1215096939,\\n \\"InBytes\\": 1115096939,\\n \\"OutBytes\\": 100000000,\\n \\"ProtectionDuration\\": 20,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePostpayTrafficTotal' => [ + 'summary' => 'Queries the total pay-as-you-go traffic for all border firewalls.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SrcNetworkInstanceId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '183500', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the source VPC.'."\n" - ."\n" - .'> If the FirewallType parameter is set to VpcFirewall, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', + 'type' => 'object', + 'properties' => [ + 'TotalAssets' => ['description' => 'The total number of assets that are protected by border firewalls.', 'type' => 'integer', 'format' => 'int64', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '826B6280-9704-5643-97B1-6B47AC3F027A', 'title' => ''], + 'TotalTraffic' => ['description' => 'The total traffic. For the subscription edition, this is the total elastic traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426', 'title' => ''], + 'TotalNatAssets' => ['description' => 'The total number of assets that are protected by NAT border firewalls.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TotalNatTraffic' => ['description' => 'The total traffic of the NAT border. For the subscription edition, this is the total elastic traffic of the NAT border. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '560646279', 'title' => ''], + 'TotalVpcAssets' => ['description' => 'The total number of assets that are protected by VPC border firewalls.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'TotalVpcTraffic' => ['description' => 'The total traffic of the VPC border. For the subscription edition, this is the total elastic traffic of the VPC border. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426', 'title' => ''], + 'TotalInternetAssets' => ['description' => 'The total number of assets that are protected by Internet Border firewalls.', 'type' => 'integer', 'format' => 'int64', 'example' => '128', 'title' => ''], + 'TotalInternetTraffic' => ['description' => 'The total traffic of the Internet Border. For the subscription edition, this is the total elastic traffic of the Internet Border. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426', 'title' => ''], + 'TotalBillTraffic' => ['description' => 'For the subscription edition, this is the total billed elastic traffic after deductions are applied. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426', 'title' => ''], + 'TotalSdlFreeTraffic' => ['description' => 'The total free traffic for data leakage detection.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'TotalSdlBillTraffic' => ['description' => 'The total billed traffic for data leakage detection.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => 'Non-pay-as-you-go Users.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'internal error.', 'description' => 'An error occurred while querying the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribePostpayTrafficTotal', + 'description' => 'The statistics are for the current Cloud Firewall instance and include all data from the date of purchase.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficTotal'], + ], + ], + 'ramActions' => [ [ - 'name' => 'DstNetworkInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the destination VPC.'."\n" - ."\n" - .'> If the FirewallType parameter is set to VpcFirewall, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficTotal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalAssets\\": 132,\\n \\"RequestId\\": \\"826B6280-9704-5643-97B1-6B47AC3F027A\\",\\n \\"TotalTraffic\\": 2320274874426,\\n \\"TotalNatAssets\\": 1,\\n \\"TotalNatTraffic\\": 560646279,\\n \\"TotalVpcAssets\\": 3,\\n \\"TotalVpcTraffic\\": 2320274874426,\\n \\"TotalInternetAssets\\": 128,\\n \\"TotalInternetTraffic\\": 2320274874426,\\n \\"TotalBillTraffic\\": 2320274874426,\\n \\"TotalSdlFreeTraffic\\": 0,\\n \\"TotalSdlBillTraffic\\": 0\\n}","type":"json"}]', + ], + 'DescribePostpayUserInternetStatus' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AttackType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '205830', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8', 'FEATUREcfwATUJ57'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The attack type of the intrusion events. Valid values:'."\n" - ."\n" - .'* **1**: suspicious connection'."\n" - .'* **2**: command execution'."\n" - .'* **3**: brute-force attack'."\n" - .'* **4**: scanning'."\n" - .'* **5**: others'."\n" - .'* **6**: information leak'."\n" - .'* **7**: DoS attack'."\n" - .'* **8**: buffer overflow attack'."\n" - .'* **9**: web attack'."\n" - .'* **10**: trojan backdoor'."\n" - .'* **11**: computer worm'."\n" - .'* **12**: mining'."\n" - .'* **13**: reverse shell'."\n" - ."\n" - .'> If you do not specify this parameter, the intrusion events of all attack types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cfw_elasticity_public_cn-zsk39m******'], ], [ - 'name' => 'NoLocation', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Specifies whether to query the information about the geographical locations of IP addresses.'."\n" - ."\n" - .'* **true**: does not query the information about the geographical locations of IP addresses.'."\n" - .'* **false**: queries the information about the geographical locations of IP addresses. This is the default value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', + 'title' => '', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '0DC783F1-B3A7-578D-8A63-*****'], + 'Status' => ['description' => 'The status of the Internet Border firewall. Valid values:'."\n" + ."\n" + .'- **open**: The firewall is enabled.'."\n" + ."\n" + .'- **init**: The firewall is being enabled.'."\n" + ."\n" + .'- **closed**: The firewall is disabled.', 'type' => 'string', 'title' => '', 'example' => 'open'], + 'UnprotectedDate' => ['description' => 'The number of days that the firewall was disabled. This parameter is returned only if the value of the Status parameter is open.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '20'], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribePostpayUserInternetStatus', + 'summary' => 'Queries the status of the Internet Border firewall for a pay-as-you-go instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'AttackApp', - 'in' => 'query', - 'allowEmptyValue' => true, - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The names of the attacked applications. Set the value in the `["AttackApp1","AttackApp2"]` format.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the attacked application. Set the value in the `["AttackApp1","AttackApp2"]` format.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, - 'example' => '["MySql","DNS"]', - 'maxItems' => 50, - 'minItems' => 0, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', + ], + 'DescribePostpayUserNatStatus' => [ + 'summary' => 'Queries the NAT border firewall status for a pay-as-you-go Cloud Firewall.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '200722', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8', 'FEATUREcfwATUJ57'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'BuyVersion', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The edition of Cloud Firewall that you purchase. Valid values:'."\n" - ."\n" - .'* **2**: Premium Edition'."\n" - .'* **3**: Enterprise Edition'."\n" - .'* **4**: Ultimate Edition'."\n" - .'* **10**: Cloud Firewall that uses the pay-as-you-go billing method'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cfw_elasticity_public_cn-zsk39m******'], ], [ - 'name' => 'Sort', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The field based on which you want to sort the results. Valid values:'."\n" - ."\n" - .'* **VulLevel**: The results are sorted based on the risk level field. This is the default value.'."\n" - .'* **LastTime**: The results are sorted based on the most recent occurrence time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'LastTime', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6B780BD6-282C-51A9-A8E6-59F636******'], + 'Status' => ['description' => 'The status of the NAT border firewall. Valid values:'."\n" + ."\n" + .'- **open**: The feature is enabled.'."\n" + ."\n" + .'- **init**: The feature is being enabled.'."\n" + ."\n" + .'- **closed**: The feature is disabled.', 'type' => 'string', 'title' => '', 'example' => 'open'], + 'UnprotectedDate' => ['description' => 'The number of days that protection was disabled. This parameter is returned only when the NAT border firewall is enabled.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '20'], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribePostpayUserNatStatus', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'description' => 'The order in which you want to sort the results. Valid values:'."\n" - ."\n" - .'* **asc**: the ascending order.'."\n" - .'* **desc**: the descending order. This is the default value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'desc', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', + ], + 'DescribePostpayUserVpcStatus' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EventName', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '224805', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the intrusion event.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Webshell communication'."\n", - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-************', 'title' => ''], ], [ - 'name' => 'IsOnlyPrivateAssoc', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the content within the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Whether to query only the data that has completed private network tracing.', - 'type' => 'string', - 'required' => false, - 'example' => 'true', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '7447795A-39AB-52CB-8F92-128DF******'], + 'Status' => ['description' => 'The status of the Cloud Firewall VPC firewall switch module. Valid values:'."\n" + ."\n" + .'- **open**: The module is enabled.'."\n" + .'- **init**: The module is being enabled.'."\n" + .'- **closed**: The module is not enabled.', 'type' => 'string', 'example' => 'open', 'title' => ''], + 'UnprotectedDate' => ['description' => 'The number of days during which protection is not enabled. This parameter is valid only when the module is enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Query VPC firewall switch module status for a pay-as-you-go user', + 'summary' => 'Queries the status of the virtual private cloud (VPC) firewall switch module for a pay-as-you-go user.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'AttackAppCategory', - 'in' => 'query', - 'allowEmptyValue' => true, - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'A list of categories of attacked applications, expressed in the format ["AttackAppCategory1","AttackAppCategory2"].', - 'type' => 'array', - 'items' => [ - 'description' => 'A list of categories of attacked applications, expressed in the format ["AttackAppCategory1","AttackAppCategory2"].', - 'type' => 'string', - 'required' => false, - 'example' => 'AI Components', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, - 'maxItems' => 50, - 'minItems' => 0, ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', + ], + 'DescribePrefixLists' => [ + 'summary' => 'Describes one or more prefix lists.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '157353', + 'abilityTreeNodes' => ['FEATUREcfw4TUC5U'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '47.100.XX.XX', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The data returned.'."\n", + 'title' => '', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of risk events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558FE7E6EF', - ], - 'DataList' => [ - 'description' => 'An array that consists of the details of the intrusion events.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67FD76C2-C493-5815-8107-643FD7AB77C7'], + 'PrefixList' => [ + 'description' => 'An array of prefix lists.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the intrusion event.'."\n", + 'description' => 'The details of a prefix list.', 'type' => 'object', 'properties' => [ - 'Direction' => [ - 'description' => 'The direction of the traffic for the intrusion event. Valid values:'."\n" - ."\n" - .'* **in**: inbound'."\n" - .'* **out**: outbound'."\n", - 'type' => 'string', - 'example' => 'in', - ], - 'EventName' => [ - 'description' => 'The name of the intrusion event.'."\n", - 'type' => 'string', - 'example' => 'Path traversal attack'."\n", - ], - 'DstIP' => [ - 'description' => 'The destination IP address that is included in the intrusion event.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'AttackType' => [ - 'description' => 'The attack type of the intrusion event. Valid values:'."\n" - ."\n" - .'* **1**: suspicious connection'."\n" - .'* **2**: command execution'."\n" - .'* **3**: brute-force attack'."\n" - .'* **4**: scanning'."\n" - .'* **5**: others'."\n" - .'* **6**: information leak'."\n" - .'* **7**: DoS attack'."\n" - .'* **8**: buffer overflow attack'."\n" - .'* **9**: web attack'."\n" - .'* **10**: trojan backdoor'."\n" - .'* **11**: computer worm'."\n" - .'* **12**: mining'."\n" - .'* **13**: reverse shell'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Tag' => [ - 'description' => 'The tag added to the threat intelligence that is provided for major events.'."\n", - 'type' => 'string', - 'example' => 'Threat intelligence provided for major events'."\n", - ], - 'RuleId' => [ - 'description' => 'The ID of the rule that is used to detect the intrusion event.'."\n", - 'type' => 'string', - 'example' => '1000****', - ], - 'EventId' => [ - 'description' => 'The ID of the intrusion event.'."\n", - 'type' => 'string', - 'example' => '2b58efae-4c4b-4d96-9544-a586fb1f****', - ], - 'ResourceType' => [ - 'description' => 'The type of the public IP address in the intrusion event. Valid values:'."\n" - ."\n" - .'* **EIP**: the elastic IP address (EIP)'."\n" - .'* **EcsPublicIP**: the public IP address of an Elastic Compute Service (ECS) instance'."\n" - .'* **EcsEIP**: the EIP of an ECS instance'."\n" - .'* **NatPublicIP**: the public IP address of a NAT gateway'."\n" - .'* **NatEIP**: the EIP of a NAT gateway'."\n", - 'type' => 'string', - 'example' => 'EcsPublicIP', - ], - 'FirstEventTime' => [ - 'description' => 'The time when the intrusion event was first detected. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1534408189', - ], - 'Description' => [ - 'description' => 'The description of the intrusion event.'."\n", - 'type' => 'string', - 'example' => 'Path traversal attacks are detected in the web access requests over HTTP.'."\n", - ], - 'EventCount' => [ - 'description' => 'The number of intrusion events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'VulLevel' => [ - 'description' => 'The risk level of the intrusion event. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AttackApp' => [ - 'description' => 'The name of the attacked application.'."\n", - 'type' => 'string', - 'example' => 'MySql', - ], - 'RuleSource' => [ - 'description' => 'The module of the rule that is used to detect the intrusion event. Valid values:'."\n" - ."\n" - .'* **1**: basic protection'."\n" - .'* **2**: virtual patching'."\n" - .'* **4**: threat intelligence'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RuleResult' => [ - 'description' => 'The status of the firewall. Valid values:'."\n" - ."\n" - .'* **1**: alerting'."\n" - .'* **2**: blocking'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SrcIP' => [ - 'description' => 'The source IP address that is included in the intrusion event.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'LastEventTime' => [ - 'description' => 'The time when the intrusion event was last detected. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1534408267', - ], - 'ResourcePrivateIPList' => [ - 'description' => 'The information about the private IP address in the intrusion event. The value is an array that contains the following parameters: **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP**.\\'."\n" - .'****************'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the private IP address in the intrusion event. The value is an array that contains the following parameters: **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP**.\\'."\n" - .'****************'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceInstanceName' => [ - 'description' => 'The name of the instance that uses the private IP address.'."\n", - 'type' => 'string', - 'example' => 'LD-shenzhen-zy****', - ], - 'ResourcePrivateIP' => [ - 'description' => 'The private IP address.'."\n", - 'type' => 'string', - 'example' => '10.255.XX.XX', - ], - 'ResourceInstanceId' => [ - 'description' => 'The ID of the instance that uses the private IP address.'."\n", - 'type' => 'string', - 'example' => 'i-wz92jf4scg2zb74p****', - ], - 'RegionNo' => [ - 'description' => 'The ID of the region to which the private IP address belongs.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], - 'SrcPrivateIPList' => [ - 'description' => 'An array that consists of the source private IP addresses in the intrusion event.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The source private IP address in the intrusion event.'."\n" - ."\n" - .'> The value of this parameter is returned only when the value of Direction is out.'."\n", - 'type' => 'string', - 'example' => '["192.168.XX.XX","192.168.XX.XX"]', - ], - ], - 'VpcSrcInfo' => [ - 'description' => 'The information about the source VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\\'."\n" - .'********************'."\n", - 'type' => 'object', - 'properties' => [ - 'EcsInstanceName' => [ - 'description' => 'The name of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'LD-shenzhen-zy****', - ], - 'NetworkInstanceName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'VPC-SH-TX****', - ], - 'NetworkInstanceId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', - ], - 'EcsInstanceId' => [ - 'description' => 'The ID of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'i-wz92jf4scg2zb74p****', - ], - 'RegionNo' => [ - 'description' => 'The ID of the region in which the source VPC resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - 'VpcDstInfo' => [ - 'description' => 'The information about the destination VPC of the intrusion event. The value is a struct that contains the following parameters: **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo**.\\'."\n" - .'********************'."\n", - 'type' => 'object', - 'properties' => [ - 'EcsInstanceName' => [ - 'description' => 'The name of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'LD-shenzhen-zy****', - ], - 'NetworkInstanceName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'VPC-SH-TX****', - ], - 'NetworkInstanceId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', - ], - 'EcsInstanceId' => [ - 'description' => 'The ID of the ECS instance.'."\n", - 'type' => 'string', - 'example' => 'i-wz92jf4scg2zb74p****', - ], - 'RegionNo' => [ - 'description' => 'The ID of the region in which the destination VPC resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - 'IPLocationInfo' => [ - 'description' => 'The geographical information about the IP address. The value is a struct that contains the following parameters: **CityId**, **CityName**, **CountryId**, and **CountryName**.\\'."\n" - .'****************'."\n", - 'type' => 'object', - 'properties' => [ - 'CityId' => [ - 'description' => 'The ID of the city to which the IP address belongs.'."\n", - 'type' => 'string', - 'example' => '510100', - ], - 'CountryName' => [ - 'description' => 'The name of the country to which the IP address belongs.'."\n", - 'type' => 'string', - 'example' => 'China'."\n", - ], - 'CityName' => [ - 'description' => 'The name of the city to which the IP address belongs.'."\n", - 'type' => 'string', - 'example' => 'Chengdu, Sichuan Province'."\n", - ], - 'CountryId' => [ - 'description' => 'The ID of the country to which the IP address belongs.'."\n", - 'type' => 'string', - 'example' => 'CN', - ], - ], - ], - 'SrcIPTag' => [ - 'description' => 'The tag added to the source IP address. The tag helps identify whether the source IP address is a back-to-origin IP address for a cloud service.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'example' => 'WAF Back-to-origin Address', - ], - 'SrcIPTags' => [ - 'title' => 'IP标签列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'IP标签。', - 'type' => 'string', - 'example' => 'Anti-DDoS Back-to-origin Address', - ], - ], + 'PrefixListId' => ['description' => 'The prefix list ID.', 'type' => 'string', 'example' => 'pl-uf64nco3ujjqchx6aaji', 'title' => ''], + 'PrefixListName' => ['description' => 'The prefix list name.', 'type' => 'string', 'example' => 'participant-name', 'title' => ''], + 'Description' => ['description' => 'The description of the prefix list.', 'type' => 'string', 'example' => 'TCP_14900-14911', 'title' => ''], + 'CreationTime' => ['description' => 'The time the prefix list was created. The timestamp is in ISO 8601 format: `yyyy-MM-ddTHH:mm:ssZ`.', 'type' => 'string', 'example' => '2023-10-16T08:31:06Z', 'title' => ''], + 'AssociationCount' => ['description' => 'The number of associated resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'MaxEntries' => ['description' => 'The maximum number of entries in the prefix list.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'AddressFamily' => ['description' => 'The address family of the prefix list. Valid values:'."\n" + ."\n" + .'- IPv4'."\n" + ."\n" + .'- IPv6', 'type' => 'string', 'example' => 'IPv4', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallType', - 'errorMessage' => 'The specified firewall type is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorRuleSourceError', - 'errorMessage' => 'The rule source is invalid.', - ], - [ - 'errorCode' => 'ErrorRuleResultError', - 'errorMessage' => 'The rule result is invalid.', - ], - [ - 'errorCode' => 'ErrorVulLevelFailed', - 'errorMessage' => 'VulLevel has failed.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'time range invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'parameters invalid.', 'description' => 'Parameter error, please check and try again.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE7E6EF\\",\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"EventName\\": \\"Web目录穿越攻击\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"AttackType\\": 1,\\n \\"Tag\\": \\"重保情报\\",\\n \\"RuleId\\": \\"1000****\\",\\n \\"EventId\\": \\"2b58efae-4c4b-4d96-9544-a586fb1f****\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"FirstEventTime\\": 1534408189,\\n \\"Description\\": \\"检测到HTTP请求的Web访问中使用了目录穿越攻击。\\",\\n \\"EventCount\\": 100,\\n \\"VulLevel\\": 1,\\n \\"AttackApp\\": \\"MySql\\",\\n \\"RuleSource\\": 1,\\n \\"RuleResult\\": 2,\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"LastEventTime\\": 1534408267,\\n \\"ResourcePrivateIPList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"ResourcePrivateIP\\": \\"10.255.XX.XX\\",\\n \\"ResourceInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"SrcPrivateIPList\\": [\\n \\"[\\\\\\"192.168.XX.XX\\\\\\",\\\\\\"192.168.XX.XX\\\\\\"]\\"\\n ],\\n \\"VpcSrcInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"VpcDstInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"IPLocationInfo\\": {\\n \\"CityId\\": \\"510100\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityName\\": \\"四川省成都\\",\\n \\"CountryId\\": \\"CN\\"\\n },\\n \\"SrcIPTag\\": \\"WAF Back-to-origin Address\\",\\n \\"SrcIPTags\\": [\\n \\"Anti-DDoS Back-to-origin Address\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n B14757D0-4640-4B44-AC67-7F558FE7E6EF\\n \\n in\\n WEB目录穿越攻击\\n 192.0.XX.XX\\n 1\\n 重保情报\\n 1000****\\n 2b58efae-4c4b-4d96-9544-a586fb1f****\\n EcsPublicIP\\n 1534408189\\n 检测到HTTP请求的WEB访问中使用了目录穿越攻击。\\n 100\\n 1\\n MySql\\n 1\\n 2\\n 192.0.XX.XX\\n 1534408267\\n \\n LD-shenzhen-zy****\\n 10.255.XX.XX\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n [\\"192.168.XX.XX\\",\\"192.168.XX.XX\\"]\\n \\n LD-shenzhen-zy****\\n VPC-SH-TX****\\n vpc-uf6e9a9zyokj2ywuo****\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n \\n LD-shenzhen-zy****\\n VPC-SH-TX****\\n vpc-uf6e9a9zyokj2ywuo****\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n \\n 510100\\n 中国\\n 四川省成都\\n CN\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeRiskEventGroup', - 'description' => 'You can call the DescribeRiskEventGroup operation to query and download the details of intrusion events. We recommend that you query the details of 5 to 10 intrusion events at a time. If you do not need to query the geographical information about IP addresses, you can set the NoLocation parameter to true to prevent query timeout.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~94763~~). For more information about sample requests, see the "**Examples**" section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeVulnerabilityProtectedList' => [ - 'summary' => 'Queries the vulnerabilities that are supported by Cloud Firewall.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67FD76C2-C493-5815-8107-643FD7AB77C7\\",\\n \\"PrefixList\\": [\\n {\\n \\"PrefixListId\\": \\"pl-uf64nco3ujjqchx6aaji\\",\\n \\"PrefixListName\\": \\"participant-name\\",\\n \\"Description\\": \\"TCP_14900-14911\\",\\n \\"CreationTime\\": \\"2023-10-16T08:31:06Z\\",\\n \\"AssociationCount\\": 2,\\n \\"MaxEntries\\": 20,\\n \\"AddressFamily\\": \\"IPv4\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePrefixLists', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePrefixLists'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrefixLists', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribePrepayBillTotal' => [ + 'summary' => 'Queries the billing overview of a subscription 2.0 instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -28503,569 +24051,125 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68447', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '183328', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP address of the access source.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '112.239.XX.XX', - ], + 'schema' => ['title' => '', 'description' => 'The language. Valid values:'."\n" + .'- zh'."\n" + .'- en'."\n" + ."\n" + .'Default value: zh.', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The number of entries per page. Default value: 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The page number for a paged query. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1655778046', - ], + 'schema' => ['title' => '', 'description' => 'The start time of the query. Specify a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1656750960'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1646063922', - ], + 'schema' => ['description' => 'The end time. Specify a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1646063922', 'title' => ''], ], [ - 'name' => 'VulnStatus', + 'name' => 'BillType', 'in' => 'query', 'schema' => [ - 'description' => 'The status of vulnerability protection. Valid values:'."\n" - ."\n" - .'* **partProtected**: partially protected'."\n" - .'* **protected**: protected'."\n" - .'* **unProtected**: unprotected'."\n", + 'description' => 'The billing type. Valid values:'."\n" + .'- elastic_traffic: elastic traffic.'."\n" + .'- sdl: sensitive data leak detection traffic.', + 'enumValueTitles' => ['sdl' => 'Sensitive data leak detection traffic.', 'elastic_traffic' => 'Elastic traffic.'], 'type' => 'string', + 'enum' => ['sdl', 'elastic_traffic'], 'required' => false, - 'enumValueTitles' => [ - 'protected' => 'protected', - 'unProtected' => 'unProtected', - 'partProtected' => 'partProtected', - ], - 'example' => 'protected', - ], - ], - [ - 'name' => 'VulnCveName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The Common Vulnerabilities and Exposures (CVE) ID of the vulnerability.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'CVE-2022-2992', - ], - ], - [ - 'name' => 'AttackType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The attack type of the vulnerability prevention event. Valid values:'."\n" - ."\n" - .'* **1**: suspicious connection'."\n" - .'* **2**: command execution'."\n" - .'* **3**: brute-force attack'."\n" - .'* **4**: scanning'."\n" - .'* **5**: others'."\n" - .'* **6**: information leakage'."\n" - .'* **7**: DoS attack'."\n" - .'* **8**: buffer overflow attack'."\n" - .'* **9**: web attack'."\n" - .'* **10**: webshell'."\n" - .'* **11**: computer worm'."\n" - .'* **12**: mining'."\n" - .'* **13**: reverse shell'."\n" - ."\n" - .'> If you do not specify this parameter, the intrusion events of all attack types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '13', - ], - ], - [ - 'name' => 'VulnType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the vulnerability. Valid values:'."\n" - ."\n" - .'* **App**: application vulnerability'."\n" - .'* **emg**: urgent vulnerability'."\n" - .'* **cms**: Web-CMS vulnerability'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'emg', - ], - ], - [ - 'name' => 'VulnLevel', - 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level of the vulnerability. Valid values:'."\n" - ."\n" - .'* **high**'."\n" - .'* **medium**'."\n" - .'* **low**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'medium', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Maximum value: 50.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'SortKey', - 'in' => 'query', - 'schema' => [ - 'description' => 'The sorting basis. Set the value to **attackCnt**, which indicates the number of attacks.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'attackCnt', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'description' => 'The order in which you want to sort the queried information. Valid values:'."\n" - ."\n" - .'* **asc**: the ascending order.'."\n" - .'* **desc**: the descending order. This is the default value.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], - ], - [ - 'name' => 'VulnResource', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of assets that are affected by the vulnerability.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'UserType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the user. Set the value to **buy**, which indicates user of a paid edition of Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'buy', - ], - ], - [ - 'name' => 'BuyVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The edition of Cloud Firewall. If you use Cloud Firewall that uses the pay-as-you-go billing method, set the value to 10. You do not need to specify this parameter for other editions.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], - ], - [ - 'name' => 'RuleTag', - 'in' => 'query', - 'schema' => [ - 'title' => '规则标签:AI', - 'description' => '漏洞标签,取值:'."\n" - ."\n" - .' - **AI**: AI组件相关漏洞', - 'type' => 'string', - 'required' => false, - 'example' => 'AI', + 'example' => 'sdl', + 'title' => '', ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => 'The data returned.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'D355C631-1537-59C5-A56E-F6C5037B99E5', - ], - 'TotalCount' => [ - 'description' => 'The total number of vulnerabilities that are detected by Cloud Firewall.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ZeroResourceCount' => [ - 'description' => 'The number of assets on which no vulnerabilities are detected.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'VulnList' => [ - 'description' => 'The vulnerabilities.'."\n", + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-***********', 'title' => ''], + 'BillList' => [ + 'description' => 'The bill list, aggregated by day.', 'type' => 'array', 'items' => [ - 'description' => 'The information about the vulnerability.'."\n", 'type' => 'object', 'properties' => [ - 'VulnName' => [ - 'description' => 'The name of the vulnerability.'."\n", - 'type' => 'string', - 'example' => 'Deserialization vulnerability of arbitrary code execution in Fastjson 1.2.80 and earlier versions'."\n", - ], - 'AttackType' => [ - 'description' => 'The attack type of the vulnerability prevention event. Valid values:'."\n" - ."\n" - .'* **1**: suspicious connection'."\n" - .'* **2**: command execution'."\n" - .'* **3**: brute-force attack'."\n" - .'* **4**: scanning'."\n" - .'* **5**: others'."\n" - .'* **6**: information leakage'."\n" - .'* **7**: DoS attack'."\n" - .'* **8**: buffer overflow attack'."\n" - .'* **9**: web attack'."\n" - .'* **10**: webshell'."\n" - .'* **11**: computer worm'."\n" - .'* **12**: mining'."\n" - .'* **13**: reverse shell'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '13', - ], - 'NeedRuleClass' => [ - 'description' => 'The type of the rule group. Valid values:'."\n" - ."\n" - .'* **1** (default): loose'."\n" - .'* **2**: medium'."\n" - .'* **3**: strict'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'VulnType' => [ - 'description' => 'The type of the vulnerability. Valid values:'."\n" - ."\n" - .'* **emg**: urgent vulnerability'."\n" - .'* **webcms**: Web-CMS vulnerability'."\n" - .'* **app**: application vulnerability'."\n", - 'type' => 'string', - 'example' => 'emg', - ], - 'VulnKey' => [ - 'description' => 'The code of the vulnerability.'."\n", - 'type' => 'string', - 'example' => 'dedecms-archive.helper.php-vul', - ], - 'VulnLevel' => [ - 'description' => 'The risk level of the vulnerability. Valid values:'."\n" - ."\n" - .'* **high**'."\n" - .'* **medium**'."\n" - .'* **low**'."\n", - 'type' => 'string', - 'example' => 'high', - ], - 'NeedOpenBasicRule' => [ - 'description' => 'Indicates whether the basic protection policy that related to the vulnerability is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n" - ."\n" - .'> If the value of this parameter is true, you must set the action of the basic protection policy related to the vulnerability to Block.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'CveId' => [ - 'description' => 'The CVE IDs.'."\n", - 'type' => 'string', - 'example' => '12112131123, 1231123112', - ], - 'FirstTime' => [ - 'description' => 'The time when the first attack was launched.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1608687364', - ], - 'BasicRuleIds' => [ - 'description' => 'The IDs of associated basic protection policies.'."\n", - 'type' => 'string', - 'example' => '12,12', - ], - 'LastTime' => [ - 'description' => 'The time when the last attack was launched.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1608687364', - ], - 'NeedOpenVirtualPatcheUuids' => [ - 'description' => 'The UUIDs of the virtual patching policies for which the action needs to be changed to Block.'."\n", - 'type' => 'string', - 'example' => 'UUID-1231231234', - ], - 'NeedOpenBasicRuleUuids' => [ - 'description' => 'The UUIDs of the basic protection policies for which the action needs to be changed to Block.'."\n", - 'type' => 'string', - 'example' => 'UUID-1231231', - ], - 'NeedOpenVirtualPatche' => [ - 'description' => 'Indicates whether the virtual patching policy that related to the vulnerability is enabled. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n" - ."\n" - .'> If the value of this parameter is true, you must set the action of the virtual patching policy that related to the vulnerability to Block.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'VirtualPatcheIds' => [ - 'description' => 'The IDs of associated virtual patching policies.'."\n", - 'type' => 'string', - 'example' => '13,13', - ], - 'HighlightTag' => [ - 'description' => 'Indicates whether you need to pay special attention to the vulnerability. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NeedOpenRunMode' => [ - 'description' => 'Indicates whether Threat Engine Mode needs to be configured when you enable protection. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'VulnStatus' => [ - 'description' => 'The status of the vulnerability prevention feature. Valid values:'."\n" - ."\n" - .'* **partProtected**: enabled for partial assets'."\n" - .'* **protected**: enabled'."\n" - .'* **unProtected**: disabled'."\n", - 'type' => 'string', - 'example' => 'protected', - ], - 'AttackCnt' => [ - 'description' => 'The number of vulnerability attacks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ResourceCnt' => [ - 'description' => 'The number of assets on which vulnerabilities are detected.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MemberUid' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '119384235299****', - ], - 'ResourceList' => [ - 'description' => 'The assets on which the vulnerability is detected.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information about the asset.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'description' => 'The type of the asset. Valid values:'."\n" - ."\n" - .'* **SLB**'."\n" - .'* **EIP**'."\n" - .'* **ECS**'."\n", - 'type' => 'string', - 'example' => 'EIP', - ], - 'Eip' => [ - 'description' => 'The elastic IP address (EIP) that is associated with the instance.'."\n", - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'InternetIp' => [ - 'description' => 'The public IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '47.96.XX.XX', - ], - 'VulnStatus' => [ - 'description' => 'The status of the vulnerability prevention feature. Valid values:'."\n" - ."\n" - .'* **partProtected**: enabled for partial assets'."\n" - .'* **protected**: enabled'."\n" - .'* **unProtected**: disabled'."\n", - 'type' => 'string', - 'example' => 'protected', - ], - 'ResourceId' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'ResourceName' => [ - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'example' => 'ECS', - ], - 'IntranetIp' => [ - 'description' => 'The private IP address of the instance.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'RegionId' => [ - 'description' => 'The region ID of your Cloud Firewall.'."\n" - ."\n" - .'> For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], - 'RuleTag' => [ - 'description' => '漏洞标签,取值:'."\n" - ."\n" - .'- **AI**: AI相关漏洞', - 'type' => 'string', - 'enumValueTitles' => [ - 'AI' => 'AI相关漏洞', - ], - 'example' => 'AI', - ], + 'InternetTrafficBandwidth' => ['description' => 'The Internet traffic bandwidth. Unit: Gbit/s.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'NatTrafficBandwidth' => ['description' => 'The NAT traffic bandwidth. Unit: Gbit/s.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'VpcTrafficBandwidth' => ['description' => 'The VPC traffic bandwidth. Unit: Gbit/s.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'OverflowTime' => ['description' => 'The timestamp when the maximum combined bandwidth (Internet + VPC + NAT) occurred on that day.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761588300', 'title' => ''], + 'DefaultBandwidth' => ['description' => 'The default bandwidth of the edition. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''], + 'ExtensionBandwidth' => ['description' => 'The extended bandwidth. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'TemporaryBandwidth' => ['description' => 'The temporary upgrade bandwidth. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'ElasticBandwidth' => ['description' => 'The elastic bandwidth. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''], + 'MonthlyRemainingFreeTraffic' => ['description' => 'The monthly free traffic quota for sensitive data detection. Unit: GB.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'DailyDetectionTraffic' => ['description' => 'The sensitive data detection traffic for the day.', 'type' => 'number', 'format' => 'float', 'example' => '8', 'title' => ''], + 'BilledDetectionTraffic' => ['description' => 'The actual billed traffic for sensitive data leak detection.', 'type' => 'number', 'format' => 'float', 'example' => '5', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the day. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761580800', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the day. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761667200', 'title' => ''], + 'DailyOverflowTraffic' => ['description' => 'The total elastic traffic for the day. Unit: GB.', 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorAttackTypeError', - 'errorMessage' => 'attack type invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => 'Non-pay-as-you-go Users.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D355C631-1537-59C5-A56E-F6C5037B99E5\\",\\n \\"TotalCount\\": 5,\\n \\"ZeroResourceCount\\": 1,\\n \\"VulnList\\": [\\n {\\n \\"VulnName\\": \\"fastjson <= 1.2.80 反序列化任意代码执行漏洞\\",\\n \\"AttackType\\": 13,\\n \\"NeedRuleClass\\": 1,\\n \\"VulnType\\": \\"emg\\",\\n \\"VulnKey\\": \\"dedecms-archive.helper.php-vul\\",\\n \\"VulnLevel\\": \\"high\\",\\n \\"NeedOpenBasicRule\\": false,\\n \\"CveId\\": \\"12112131123, 1231123112\\",\\n \\"FirstTime\\": 1608687364,\\n \\"BasicRuleIds\\": \\"12,12\\",\\n \\"LastTime\\": 1608687364,\\n \\"NeedOpenVirtualPatcheUuids\\": \\"UUID-1231231234\\",\\n \\"NeedOpenBasicRuleUuids\\": \\"UUID-1231231\\",\\n \\"NeedOpenVirtualPatche\\": true,\\n \\"VirtualPatcheIds\\": \\"13,13\\",\\n \\"HighlightTag\\": 0,\\n \\"NeedOpenRunMode\\": true,\\n \\"VulnStatus\\": \\"protected\\",\\n \\"AttackCnt\\": 0,\\n \\"ResourceCnt\\": 0,\\n \\"MemberUid\\": \\"119384235299****\\",\\n \\"ResourceList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"InternetIp\\": \\"47.96.XX.XX\\",\\n \\"VulnStatus\\": \\"protected\\",\\n \\"ResourceId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"ResourceName\\": \\"ECS\\",\\n \\"IntranetIp\\": \\"192.168.XX.XX\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ],\\n \\"RuleTag\\": \\"AI\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n D355C631-1537-59C5-A56E-F6C5037B99E5\\n 5\\n 1\\n \\n fastjson <= 1.2.80 反序列化任意代码执行漏洞\\n 13\\n 1\\n emg\\n dedecms-archive.helper.php-vul\\n high\\n false\\n 12112131123, 1231123112\\n 1608687364\\n 12,12\\n 1608687364\\n UUID-1231231234\\n UUID-1231231\\n true\\n 13,13\\n 0\\n true\\n protected\\n 0\\n 0\\n \\n EIP\\n 203.107.XX.XX\\n 47.96.XX.XX\\n protected\\n vfw-m5e7dbc4y****\\n ECS\\n 192.168.XX.XX\\n cn-beijing\\n \\n \\n","errorExample":""}]', - 'title' => 'DescribeVulnerabilityProtectedList', - ], - 'DescribeUnprotectedVulnTrend' => [ - 'summary' => '获取未保护漏洞趋势', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query subscription billing overview', + 'description' => 'The statistics cover the current Cloud Firewall instance of the user, including all data since the purchase date.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-***********\\",\\n \\"BillList\\": [\\n {\\n \\"InternetTrafficBandwidth\\": 10,\\n \\"NatTrafficBandwidth\\": 10,\\n \\"VpcTrafficBandwidth\\": 10,\\n \\"OverflowTime\\": 1761588300,\\n \\"DefaultBandwidth\\": 200,\\n \\"ExtensionBandwidth\\": 10,\\n \\"TemporaryBandwidth\\": 0,\\n \\"ElasticBandwidth\\": 200,\\n \\"MonthlyRemainingFreeTraffic\\": 10,\\n \\"DailyDetectionTraffic\\": 8,\\n \\"BilledDetectionTraffic\\": 5,\\n \\"StartTime\\": 1761580800,\\n \\"EndTime\\": 1761667200,\\n \\"DailyOverflowTraffic\\": 10\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePrivateDnsDomainNameList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -29077,684 +24181,416 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68394', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '226316', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '112.15.190.XX', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'pd-12345', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1740623016', - ], + 'schema' => ['description' => 'The page number of the current page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1754878752', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1731551104', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1749434787', - ], - 'CurProtectedCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '05BEF2B5-EAAA-509D-9824-E3C7DC17****', - ], - 'Interval' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'CurUnprotectedCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'DataList' => [ - 'description' => '', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '822B9125-6E1A-551C-8EAF-6E7AE74****'], + 'TotalCount' => ['description' => 'The total number of private DNS domain names.', 'type' => 'integer', 'format' => 'int64', 'example' => '132', 'title' => ''], + 'PageNo' => ['description' => 'The page number of the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'DomainNameList' => [ + 'description' => 'The list of domain names.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525833105', - ], - 'ProtectedVulnCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'UnprotectedVulnCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], + 'items' => ['description' => 'The list of domain names.', 'type' => 'string', 'example' => '[\\"example.com\\"]', 'title' => ''], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorPrivateDnsNotFound', 'errorMessage' => 'private dns not found.', 'description' => 'The specified private DNS does not exist'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorPrivateDnsRegionNotAvailable', 'errorMessage' => 'private dns region not available.', 'description' => 'Private dns zones are not available.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1731551104,\\n \\"StartTime\\": 1749434787,\\n \\"CurProtectedCnt\\": 7,\\n \\"RequestId\\": \\"05BEF2B5-EAAA-509D-9824-E3C7DC17****\\",\\n \\"Interval\\": 60,\\n \\"CurUnprotectedCnt\\": 8,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1525833105,\\n \\"ProtectedVulnCnt\\": 3,\\n \\"UnprotectedVulnCnt\\": 2\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInvadeEventList' => [ - 'summary' => 'Queries the information about the breach awareness events of a firewall.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query private DNS domain names', + 'summary' => 'Queries the list of private DNS domain names.', + 'description' => 'Queries the list of domain names that require private DNS endpoints for domain name resolution.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsDomainNameList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE74****\\",\\n \\"TotalCount\\": 132,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"DomainNameList\\": [\\n \\"[\\\\\\\\\\\\\\"example.com\\\\\\\\\\\\\\"]\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribePrivateDnsEndpointDetail' => [ + 'summary' => 'Retrieves the details of a private DNS endpoint.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68290', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], + 'abilityTreeCode' => '226302', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '', - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'default' => 'zh', - 'enum' => [ - 'zh', - 'en', - ], - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'pd-12345', 'title' => ''], ], [ - 'name' => 'SourceIp', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'title' => '源IP', - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The ID of the region where the instance is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], - [ - 'name' => 'Lang', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '语言', - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'default' => 'zh', - 'enum' => [ - 'zh', - 'en', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '4E7F94C7-781F-5192-86CF-DB0850****'], + 'AliUid' => ['description' => 'The UID of the Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'example' => '119898001566xxxx', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '258039427902****', 'title' => ''], + 'RegionNo' => ['description' => 'The ID of the region where the instance is located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'FirewallType' => [ + 'type' => 'array', + 'items' => ['description' => 'The type of the Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **internet**'."\n" + ."\n" + .'- **vpc**'."\n" + ."\n" + .'- **nat**', 'type' => 'string', 'example' => '['."\n" + .' "internet",'."\n" + .' "vpc",'."\n" + .' "nat"'."\n" + .']', 'title' => ''], + 'description' => 'The type of the Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **internet**'."\n" + ."\n" + .'- **vpc**'."\n" + ."\n" + .'- **nat**', + 'title' => '', + 'example' => '', + ], + 'AccessInstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'pd-12345', 'title' => ''], + 'AccessInstanceName' => ['description' => 'The name of the access instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PrivateDnsType' => ['description' => 'The type of the private DNS. Valid values:'."\n" + ."\n" + .'- **PrivateZone**'."\n" + ."\n" + .'- **Custom** (Default)', 'type' => 'string', 'example' => 'Custom', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-uf6b5lyul0x******', 'title' => ''], + 'PrimaryVSwitchId' => ['description' => 'The ID of the primary vSwitch.', 'type' => 'string', 'example' => 'vsw-8vbno9zxz8j9qiot****', 'title' => ''], + 'PrimaryZoneId' => ['description' => 'The zone of the primary vSwitch.', 'type' => 'string', 'example' => 'cn-shenzhen-d', 'title' => ''], + 'PrimaryVSwitchIp' => ['description' => 'The IP address of the primary vSwitch.', 'type' => 'string', 'example' => '10.1.1.1', 'title' => ''], + 'StandbyVSwitchId' => ['description' => 'The ID of the standby vSwitch.', 'type' => 'string', 'example' => 'vsw-8vb6jk75wfcwnuq****', 'title' => ''], + 'StandbyZoneId' => ['description' => 'The zone of the standby vSwitch.', 'type' => 'string', 'example' => 'cn-shenzhen-e', 'title' => ''], + 'StandbyVSwitchIp' => ['description' => 'The IP address of the standby vSwitch.', 'type' => 'string', 'example' => '10.1.1.2', 'title' => ''], + 'PrimaryDns' => ['description' => 'The primary DNS server.', 'type' => 'string', 'example' => '1.1.1.1', 'title' => ''], + 'StandbyDns' => ['description' => 'The standby DNS server.', 'type' => 'string', 'example' => '1.1.1.2', 'title' => ''], + 'Port' => ['description' => 'The port number.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'IpProtocol' => ['description' => 'The IP protocol. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'Status' => ['description' => 'The instance status. Valid values:'."\n" + ."\n" + .'- **creating**: Creating.'."\n" + ."\n" + .'- **deleting**: Deleting.'."\n" + ."\n" + .'- **normal**: Normal.'."\n" + ."\n" + .'- **updating**: Updating.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'EndpointId' => ['description' => 'The endpoint ID.', 'type' => 'string', 'example' => 'ep-1nmi412c28c374****', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'string', 'example' => '132', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the endpoint was created. This is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1715075765', 'title' => ''], ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribePrivateDnsEndpointDetail', + 'description' => 'This operation queries the details of a private DNS endpoint.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间', - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not specify this parameter, the query starts from 30 days before the current time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1656750960', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间', - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. If you do not specify this parameter, the query ends at the current time.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1656837360', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB0850****\\",\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"AccessInstanceName\\": \\"test\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-8vbno9zxz8j9qiot****\\",\\n \\"PrimaryZoneId\\": \\"cn-shenzhen-d\\",\\n \\"PrimaryVSwitchIp\\": \\"10.1.1.1\\",\\n \\"StandbyVSwitchId\\": \\"vsw-8vb6jk75wfcwnuq****\\",\\n \\"StandbyZoneId\\": \\"cn-shenzhen-e\\",\\n \\"StandbyVSwitchIp\\": \\"10.1.1.2\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 80,\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"Status\\": \\"normal\\",\\n \\"EndpointId\\": \\"ep-1nmi412c28c374****\\",\\n \\"TaskId\\": \\"132\\",\\n \\"GmtCreate\\": 1715075765\\n}","type":"json"}]', + ], + 'DescribePrivateDnsEndpointList' => [ + 'summary' => 'Queries a list of private DNS endpoints.', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226267', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + ], + 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '每页多少条', - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Default value: 6. Maximum value: 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'pd-12345', 'title' => ''], ], [ - 'name' => 'AssetsInstanceId', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'title' => '实例ID', - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ins_1321_asedb_****', - ], + 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'AssetsInstanceName', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'title' => '实例名称', - 'description' => 'The name of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ECS_test', - ], + 'schema' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], ], [ - 'name' => 'IsIgnore', + 'name' => 'AccessInstanceName', 'in' => 'query', - 'schema' => [ - 'title' => '是否忽略', - 'description' => 'Specifies whether the breach awareness event is ignored. Valid values:'."\n" - ."\n" - .'* **true**: The breach awareness event is ignored.'."\n" - .'* **false**: The breach awareness event is not ignored.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The name of the private instance.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'AssetsIP', + 'name' => 'FirewallType', 'in' => 'query', - 'schema' => [ - 'title' => '资产IP', - 'description' => 'The IP address of the affected asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.0.XX.XX', - ], + 'schema' => ['description' => 'The type of Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **internet**'."\n" + ."\n" + .'- **vpc**'."\n" + ."\n" + .'- **nat**', 'type' => 'string', 'required' => false, 'example' => 'vpc', 'title' => ''], ], [ - 'name' => 'EventKey', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'title' => '事件key', - 'description' => 'The ID of the breach awareness event.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '69d189e2-ec17-4676-a2fe-02969234****', - ], + 'schema' => ['description' => 'The status of the instance. Valid values:'."\n" + ."\n" + .'- **creating**: The instance is being created.'."\n" + ."\n" + .'- **deleting**: The instance is being deleted.'."\n" + ."\n" + .'- **normal**: The instance is running as expected.'."\n" + ."\n" + .'- **updating**: The instance is being updated.', 'type' => 'string', 'required' => false, 'example' => 'normal', 'title' => ''], ], [ - 'name' => 'EventName', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'title' => '事件名称', - 'description' => 'The name of the breach awareness event.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'event_test', - ], + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '135809047715****', 'title' => ''], ], [ - 'name' => 'EventUuid', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'title' => '事件UUID', - 'description' => 'The UUID of the breach awareness event.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'fadd-dfdd-****', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '成员账号UID', - 'description' => 'The ID of the member.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], - [ - 'name' => 'ProcessStatusList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '处理状态列表', - 'description' => 'The handling status of breach awareness events.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '处理状态', - 'description' => 'The handling status of the breach awareness event. Valid values:'."\n" - ."\n" - .'* **0**: unhandled'."\n" - .'* **20**: handled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - 'default' => '0', - 'enum' => [], - ], - 'required' => false, - 'maxItems' => 10, - ], - ], - [ - 'name' => 'RiskLevel', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '风险等级', - 'description' => 'The risk levels.'."\n", - 'type' => 'array', - 'items' => [ - 'title' => '风险等级值', - 'description' => 'The risk level. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - 'enum' => [], - ], - 'required' => false, - 'maxItems' => 10, - ], - ], - ], - 'responses' => [ - 200 => [ + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LowLevelPercent' => [ - 'title' => '低风险等级比例', - 'description' => 'The percentage of low-risk events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'MiddleLevelPercent' => [ - 'title' => '中风险等级比例', - 'description' => 'The percentage of medium-risk events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'HighLevelPercent' => [ - 'title' => '高风险等级比例', - 'description' => 'The percentage of high-risk events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'PageInfo' => [ - 'title' => '分页信息', - 'description' => 'The pagination information.'."\n", - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'title' => '当前页', - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => '每页大小', - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of breach awareness events.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - ], - ], - 'EventList' => [ - 'title' => '事件列表', - 'description' => 'An array that consists of breach awareness events.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '850A84D6-0DE4-4797-A1E8-00090****'], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'AccessInstanceList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'title' => '风险等级', - 'description' => 'The risk level. Valid values:'."\n" + 'AliUid' => ['description' => 'The UID of the Alibaba Cloud account that owns the Cloud Firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '1379490574415****', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '1844802493****', 'title' => ''], + 'RegionNo' => ['description' => 'The ID of the region where the instance resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'FirewallType' => [ + 'type' => 'array', + 'items' => ['description' => 'The type of Cloud Firewall. Valid values:'."\n" ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'enum' => [], - ], - 'EventName' => [ - 'title' => '事件名称', - 'description' => 'The name of the breach awareness event.'."\n", - 'type' => 'string', - 'example' => 'event_test', - ], - 'EventKey' => [ - 'title' => 'CVE编号', - 'description' => 'The ID of the breach awareness event.'."\n", - 'type' => 'string', - 'example' => '69d189e2-ec17-4676-a2fe-02969234****', - ], - 'EventUuid' => [ - 'title' => '事件UUID', - 'description' => 'The UUID of the breach awareness event.'."\n", - 'type' => 'string', - 'example' => 'fadd-dfdd-****', - ], - 'MemberUid' => [ - 'title' => '成员账号UID', - 'description' => 'The ID of the member.'."\n", - 'type' => 'string', - 'example' => '135809047715****', - ], - 'AssetsType' => [ - 'title' => '资产类型', - 'description' => 'The type of the affected asset. Valid values:'."\n" + .'- **internet**'."\n" ."\n" - .'* **BastionHostIP**: the egress IP address of a bastion host'."\n" - .'* **BastionHostIngressIP**: the ingress IP address of a bastion host'."\n" - .'* **EcsEIP**: the elastic IP address (EIP) of an Elastic Compute Service (ECS) instance'."\n" - .'* **EcsPublicIP**: the public IP address of an ECS instance'."\n" - .'* **EIP**: the EIP'."\n" - .'* **EniEIP**: the EIP of an elastic network interface (ENI)'."\n" - .'* **NatEIP**: the EIP of a NAT gateway'."\n" - .'* **SlbEIP**: the EIP of a Server Load Balancer (SLB) instance'."\n" - .'* **SlbPublicIP**: the public IP address of an SLB instance'."\n" - .'* **NatPublicIP**: the public IP address of a NAT gateway'."\n" - .'* **HAVIP**: the high-availability virtual IP address (HAVIP)'."\n", - 'type' => 'string', - 'example' => 'EcsPublicIp', - ], - 'FirstTime' => [ - 'title' => '首次出现时间', - 'description' => 'The time when the breach awareness event first occurred. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1656750960', - ], - 'EventSrc' => [ - 'title' => '事件来源', - 'description' => 'The type of the breach awareness event. Valid values:'."\n" + .'- **vpc**'."\n" ."\n" - .'* **IPS**: intrusion prevention event'."\n" - .'* **offline**: disconnection event'."\n", - 'type' => 'string', - 'example' => 'IPS', - ], - 'PrivateIP' => [ - 'title' => '私网IP', - 'description' => 'The private IP address of the affected asset.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'AssetsInstanceName' => [ - 'title' => '资产名称', - 'description' => 'The name of the affected asset.'."\n", - 'type' => 'string', - 'example' => 'ECS_test', - ], - 'LastTime' => [ - 'title' => '最近一次时间', - 'description' => 'The time when the breach awareness event last occurred. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1656837360', - ], - 'PublicIpType' => [ - 'title' => '公开类型', - 'description' => 'The type of the affected asset. Valid values:'."\n" + .'- **nat**', 'type' => 'string', 'example' => '['."\n" + .' "internet",'."\n" + .' "vpc",'."\n" + .' "nat"'."\n" + .']', 'title' => ''], + 'description' => 'The type of Cloud Firewall. Valid values:'."\n" ."\n" - .'* **BastionHostIP**: the egress IP address of a bastion host'."\n" - .'* **BastionHostIngressIP**: the ingress IP address of a bastion host'."\n" - .'* **EcsEIP**: the EIP of an ECS instance'."\n" - .'* **EcsPublicIP**: the public IP address of an ECS instance'."\n" - .'* **EIP**: the EIP'."\n" - .'* **EniEIP**: the EIP of an ENI'."\n" - .'* **NatEIP**: the EIP of a NAT gateway'."\n" - .'* **SlbEIP**: the EIP of an SLB instance'."\n" - .'* **SlbPublicIP**: the public IP address of an SLB instance'."\n" - .'* **NatPublicIP**: the public IP address of a NAT gateway'."\n" - .'* **HAVIP**: the HAVIP'."\n", - 'type' => 'string', - 'example' => 'EcsPublicIp', - ], - 'IsIgnore' => [ - 'title' => '是否忽略', - 'description' => 'Indicates whether the breach awareness event is ignored. Valid values:'."\n" + .'- **internet**'."\n" ."\n" - .'* **true**: The breach awareness event is ignored.'."\n" - .'* **false**: The breach awareness event is not ignored.'."\n", - 'type' => 'boolean', - 'example' => 'true', - 'default' => 'false', - ], - 'PublicIP' => [ - 'title' => '公网IP', - 'description' => 'The public IP address of the affected asset.'."\n", - 'type' => 'string', - 'example' => '198.51.XX.XX', - ], - 'ProcessStatus' => [ - 'title' => '处理状态', - 'description' => 'The handling status of the breach awareness event. Valid values:'."\n" + .'- **vpc**'."\n" ."\n" - .'* **0**: unhandled'."\n" - .'* **20**: handled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'AssetsInstanceId' => [ - 'title' => '资产实例ID', - 'description' => 'The ID of the affected asset.'."\n", - 'type' => 'string', - 'example' => 'i-ECS****', + .'- **nat**', + 'title' => '', + 'example' => '', ], - ], + 'AccessInstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'AccessInstanceName' => ['description' => 'The name of the private instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PrivateDnsType' => ['description' => 'The type of private DNS. Valid values:'."\n" + ."\n" + .'- **PrivateZone**'."\n" + ."\n" + .'- **Custom** (default)', 'type' => 'string', 'example' => 'Custom', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-2zelphbaourpun****', 'title' => ''], + 'PrimaryDns' => ['description' => 'The primary DNS server.', 'type' => 'string', 'example' => '1.1.1.1', 'title' => ''], + 'StandbyDns' => ['description' => 'The standby DNS server.', 'type' => 'string', 'example' => '1.1.1.2', 'title' => ''], + 'Port' => ['description' => 'The port number.', 'type' => 'integer', 'format' => 'int32', 'example' => '443', 'title' => ''], + 'IpProtocol' => ['description' => 'The IP protocol. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**', 'type' => 'integer', 'format' => 'int32', 'example' => 'tcp', 'title' => ''], + 'Status' => ['description' => 'The status of the instance. Valid values:'."\n" + ."\n" + .'- **creating**: The instance is being created.'."\n" + ."\n" + .'- **deleting**: The instance is being deleted.'."\n" + ."\n" + .'- **normal**: The instance is running as expected.'."\n" + ."\n" + .'- **updating**: The instance is being updated.'."\n" + ."\n" + .'- **abnormal**: The instance is in an abnormal state.', 'type' => 'integer', 'format' => 'int32', 'example' => 'normal', 'title' => ''], + 'DomainNameCount' => ['description' => 'The number of domain names.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'TaskId' => ['description' => 'The unique ID of the task.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the instance was created. The value is a UNIX timestamp measured in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1715075765', 'title' => ''], + ], + 'description' => 'A list of private instances.', + 'title' => '', + 'example' => '', ], + 'description' => 'A list of private instances.', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribePrivateDnsEndpointList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"LowLevelPercent\\": 20,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"MiddleLevelPercent\\": 40,\\n \\"HighLevelPercent\\": 40,\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"EventList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"EventName\\": \\"event_test\\",\\n \\"EventKey\\": \\"69d189e2-ec17-4676-a2fe-02969234****\\",\\n \\"EventUuid\\": \\"fadd-dfdd-****\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"AssetsType\\": \\"EcsPublicIp\\",\\n \\"FirstTime\\": 1656750960,\\n \\"EventSrc\\": \\"IPS\\",\\n \\"PrivateIP\\": \\"192.168.XX.XX\\",\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"LastTime\\": 1656837360,\\n \\"PublicIpType\\": \\"EcsPublicIp\\",\\n \\"IsIgnore\\": true,\\n \\"PublicIP\\": \\"198.51.XX.XX\\",\\n \\"ProcessStatus\\": 20,\\n \\"AssetsInstanceId\\": \\"i-ECS****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n 40\\n 40\\n \\n 1\\n 10\\n 40\\n \\n \\n 1\\n event_test\\n 69d189e2-ec17-4676-a2fe-02969234****\\n fadd-dfdd-****\\n 135809047715****\\n EcsPublicIp\\n 1656750960\\n IPS\\n 192.168.XX.XX\\n ECS_test\\n 1656837360\\n EcsPublicIp\\n true\\n 198.51.XX.XX\\n 20\\n i-ECS****\\n \\n","errorExample":""}]', - 'title' => 'DescribeInvadeEventList', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090****\\",\\n \\"TotalCount\\": 3,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"AccessInstanceList\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"123\\",\\n \\"AccessInstanceName\\": \\"test\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-2zelphbaourpun****\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 443,\\n \\"IpProtocol\\": 0,\\n \\"Status\\": 0,\\n \\"DomainNameCount\\": 3,\\n \\"TaskId\\": \\"123\\",\\n \\"GmtCreate\\": 1715075765\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeInvadeEventNameList' => [ - 'summary' => '获取漏洞名称列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribePrivateDnsStatistics' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -29763,73 +24599,21 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68291', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '36.112.73.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'DomainNameCreatedStartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1757620800', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The start of the domain name creation time. The value is a UNIX timestamp.', 'required' => false, 'title' => '', 'example' => '1725864531'], ], [ - 'name' => 'EndTime', + 'name' => 'DomainNameCreatedEndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1738780437', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The end of the domain name creation time. The value is a UNIX timestamp.', 'required' => false, 'title' => '', 'example' => '1726305596'], ], ], 'responses' => [ @@ -29837,79 +24621,62 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6ABAA264-E7B5-5D66-8FC3-9253100****', - ], - 'NameList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[]', - ], - ], - 'EventNameList' => [ - 'description' => '', + 'AbnormalPrivateDnsCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of private DNS instances in an abnormal state.', 'title' => '', 'example' => '12'], + 'CreatedPrivateDnsCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of created private DNS instances.', 'title' => '', 'example' => '6'], + 'DomainNameTotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of configured domain names.', 'title' => '', 'example' => '5'], + 'NewDomainNameTotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of configured domain names that were created within the specified time range.', 'title' => '', 'example' => '2'], + 'NormalPrivateDnsCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of private DNS instances in a normal state.', 'title' => '', 'example' => '21'], + 'PrivateDnsRegionList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'EventKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CActivity', - ], - 'EventName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], + 'DomainNameCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of configured domain names for private DNS in the region.', 'title' => '', 'example' => '10'], + 'NewDomainNameCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of configured domain names that were created in the region within the specified time range.', 'title' => '', 'example' => '1'], + 'PrivateDnsCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of private DNS instances in the region.', 'title' => '', 'example' => '1'], + 'RegionNo' => ['type' => 'string', 'description' => 'The region.', 'title' => '', 'example' => 'cn-hangzhou'], + ], + 'description' => 'A list of DNS regions.', + 'title' => '', + 'example' => '', ], + 'description' => 'A list of DNS regions.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '5716ED52-1B82-5DE1-8695-EFEC453D****'], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribePrivateDnsStatistics', + 'summary' => 'Returns statistics about private DNS.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6ABAA264-E7B5-5D66-8FC3-9253100****\\",\\n \\"NameList\\": [\\n \\"[]\\"\\n ],\\n \\"EventNameList\\": [\\n {\\n \\"EventKey\\": \\"CActivity\\",\\n \\"EventName\\": \\"可疑中控通信\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AbnormalPrivateDnsCount\\": 12,\\n \\"CreatedPrivateDnsCount\\": 6,\\n \\"DomainNameTotalCount\\": 5,\\n \\"NewDomainNameTotalCount\\": 2,\\n \\"NormalPrivateDnsCount\\": 21,\\n \\"PrivateDnsRegionList\\": [\\n {\\n \\"DomainNameCount\\": 10,\\n \\"NewDomainNameCount\\": 1,\\n \\"PrivateDnsCount\\": 1,\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"RequestId\\": \\"5716ED52-1B82-5DE1-8695-EFEC453D****\\"\\n}","type":"json"}]', ], - 'DescribeInvadeEventStatistic' => [ - 'summary' => '获取漏洞事件统计', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRegionInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29918,73 +24685,38 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68293', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68346', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '52.130.200.XXX', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '59.82.59.XX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1746151757', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1774713600', - ], + 'schema' => ['description' => 'The tracing code.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], ], ], 'responses' => [ @@ -29992,74 +24724,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LowOpenEventCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalOpenEventCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1530A01A-6901-5B72-AB88-28B6E96B****', - ], - 'MiddleOpenEventCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'HighOpenEventCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '25E655B0-CAED-53D4-8054-F983126****', 'title' => ''], + 'DataList' => [ + 'description' => 'The data list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data object.', + 'type' => 'object', + 'properties' => [ + 'RegionName' => ['description' => 'The region name.', 'type' => 'string', 'example' => 'Shanghai', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorQueryEcsByUid', 'errorMessage' => 'An error occurred while querying ECS.', 'description' => 'An error occurred while querying ECS.'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal Error'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve region information', + 'summary' => 'Retrieves region information.', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LowOpenEventCnt\\": 1,\\n \\"TotalOpenEventCnt\\": 2,\\n \\"RequestId\\": \\"1530A01A-6901-5B72-AB88-28B6E96B****\\",\\n \\"MiddleOpenEventCnt\\": 0,\\n \\"HighOpenEventCnt\\": 1\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"DataList\\": [\\n {\\n \\"RegionName\\": \\"Shanghai\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeInvadeEventDetail' => [ - 'summary' => '获取漏洞事件详情', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRegionResourceTypeAutoEnable' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30068,275 +24793,81 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68289', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '218.76.30.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'AssetsInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp135d2rmbwpt****', - ], - ], - [ - 'name' => 'EventUuid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '92498578-7c42-4845-8c73-7e824782****', - ], - ], - [ - 'name' => 'PublicIP', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '182.92.103.XXX', - ], + 'schema' => ['description' => 'The language of the response message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '', - '', - '', - ], - 'example' => '2', - ], - 'EventKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C&CActivity', - ], - 'EventName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'event_test', - ], - 'EventDetail' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'EventUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'aa6e786c-5034-457a-8e05-1c63fab****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'FirstTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1735006706', - ], - 'Reference' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'PrivateIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.21.186.XXX', - ], - 'LastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1740104108', - ], - 'AssetsInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ECS_test', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '8022D695-4A35-50BC-8697-EA9C233A****', - ], - 'EventDesc' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'IsIgnore' => [ - 'description' => '', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', - ], - 'example' => 'false', - ], - 'PublicIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '106.15.185.XXX', - ], - 'ProcessStatus' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - 10 => '', - 20 => '', - ], - 'example' => '1', - ], - 'AssetsInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-8vb2nmm070m****', - ], - 'OperationList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Operate' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'RunMode', - ], - 'Args' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'UnhandleOperationList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], + 'RegionResourceAutoEnable' => [ + 'description' => 'The traffic redirection settings for asset types in each region.', + 'type' => 'object', + 'additionalProperties' => [ 'type' => 'object', - 'properties' => [ - 'Operate' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'RunMode', - ], - 'Args' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], + 'additionalProperties' => ['description' => 'The traffic redirection switch.', 'type' => 'boolean', 'example' => '{"cn-shenzhen":{"SlbEIP":false,"EIP":true}}', 'title' => ''], + 'description' => 'The traffic redirection setting for the asset type.', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => 'This request uses the same client token as the previous request, but not the same. Do not reuse client tokens in different requests unless the request is the same.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query default traffic redirection by region and asset type', + 'summary' => 'Queries the traffic redirection settings by region and asset type.', + 'description' => 'This operation is used to retrieve DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS. Otherwise, the resolution results cannot be retrieved.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RiskLevel\\": 2,\\n \\"EventKey\\": \\"C&CActivity\\",\\n \\"EventName\\": \\"event_test\\",\\n \\"EventDetail\\": \\"test\\",\\n \\"EventUuid\\": \\"aa6e786c-5034-457a-8e05-1c63fab****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirstTime\\": 1735006706,\\n \\"Reference\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"LastTime\\": 1740104108,\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"RequestId\\": \\"8022D695-4A35-50BC-8697-EA9C233A****\\",\\n \\"EventDesc\\": \\"test\\",\\n \\"IsIgnore\\": false,\\n \\"PublicIP\\": \\"106.15.185.XXX\\",\\n \\"ProcessStatus\\": 1,\\n \\"AssetsInstanceId\\": \\"i-8vb2nmm070m****\\",\\n \\"OperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ],\\n \\"UnhandleOperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionResourceAutoEnable\\": {\\n \\"key\\": {\\n \\"key\\": true\\n }\\n }\\n}","type":"json"}]', ], - 'DescribeSdlEventList' => [ - 'summary' => '获取数据泄露事件列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DescribeResourceTypeAutoEnable' => [ + 'summary' => 'Queries the default traffic redirection for an asset type.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30348,351 +24879,563 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '246035', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7447795A-39AB-52CB-8F92-128DF******'], + 'ResourceTypeAutoEnable' => [ + 'description' => 'Indicates whether default traffic redirection is enabled.', + 'type' => 'object', + 'additionalProperties' => ['description' => 'Indicates whether default traffic redirection is enabled.', 'type' => 'boolean', 'example' => '{"eip":true,"SlbEIP":false}', 'title' => ''], + 'title' => '', + 'example' => '', + ], ], - 'example' => 'zh', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query default traffic redirection for an asset type', + 'description' => 'This operation is used to retrieve DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS. Otherwise, the resolution results cannot be retrieved.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"ResourceTypeAutoEnable\\": {\\n \\"key\\": true\\n }\\n}","type":"json"}]', + ], + 'DescribeRiskEventGroup' => [ + 'summary' => 'Retrieves the details of intrusion prevention events.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68348', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1759198702', - ], + 'schema' => ['description' => 'The start of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1534408189', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1756433077', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1534408267', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The traffic direction of the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **in**: inbound'."\n" + ."\n" + .'- **out**: outbound'."\n" + ."\n" + .'> If you do not set this parameter, events in all traffic directions are queried.', 'type' => 'string', 'required' => false, 'example' => 'in', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Default value: **6**. Maximum value: **10**.', 'type' => 'string', 'required' => false, 'example' => '6', 'title' => ''], ], [ - 'name' => 'SrcIp', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.XXX', - ], + 'schema' => ['description' => 'The page number of the returned data.'."\n" + .'Default value: **1**.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DstIp', + 'name' => 'DataType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.102.XXX', - ], + 'schema' => ['description' => 'The type of the risk event.
'."\n" + .'Set the value to **session**, which indicates intrusion prevention events.
', 'type' => 'string', 'required' => true, 'example' => 'session', 'title' => ''], ], [ - 'name' => 'Uuid', + 'name' => 'RuleSource', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****', - ], + 'schema' => ['description' => 'The source of the rule that is used to detect the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **1**: basic protection'."\n" + ."\n" + .'- **2**: virtual patching'."\n" + ."\n" + .'- **4**: threat intelligence'."\n" + ."\n" + .'> If you do not set this parameter, events detected based on all types of rules are queried.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Location', + 'name' => 'RuleResult', + 'in' => 'query', + 'schema' => ['description' => 'The handling status of Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **1**: Alert'."\n" + ."\n" + .'- **2**: Block'."\n" + ."\n" + .'> If you do not set this parameter, events in all handling statuses are queried.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'SrcIP', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address to query. If you set this parameter, only intrusion prevention events that contain the specified source IP address are queried.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], + ], + [ + 'name' => 'DstIP', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address to query. If you set this parameter, only intrusion prevention events that contain the specified destination IP address are queried.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], + ], + [ + 'name' => 'VulLevel', 'in' => 'query', + 'schema' => ['description' => 'The risk level of the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **1**: low'."\n" + ."\n" + .'- **2**: medium'."\n" + ."\n" + .'- **3**: high'."\n" + ."\n" + .'> If you do not set this parameter, events of all risk levels are queried.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'FirewallType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the firewall. Valid values:'."\n" + ."\n" + .'- **VpcFirewall**: VPC firewall'."\n" + ."\n" + .'- **InternetFirewall** (default): Internet firewall', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewall', 'title' => ''], + ], + [ + 'name' => 'SrcNetworkInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the source VPC.'."\n" + ."\n" + .'> This parameter is required only when \\`FirewallType\\` is set to \\`VpcFirewall\\`.', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6e9a9zyokj2ywuo****', 'title' => ''], + ], + [ + 'name' => 'DstNetworkInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the destination VPC.'."\n" + ."\n" + .'> This parameter is required only when \\`FirewallType\\` is set to \\`VpcFirewall\\`.', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6e9a9zyokj2ywuo****', 'title' => ''], + ], + [ + 'name' => 'AttackType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the attack. Valid values:'."\n" + ."\n" + .'- **1**: abnormal connection'."\n" + ."\n" + .'- **2**: command execution'."\n" + ."\n" + .'- **3**: brute-force attack'."\n" + ."\n" + .'- **4**: scan'."\n" + ."\n" + .'- **5**: other'."\n" + ."\n" + .'- **6**: information leakage'."\n" + ."\n" + .'- **7**: DoS attack'."\n" + ."\n" + .'- **8**: overflow attack'."\n" + ."\n" + .'- **9**: web attack'."\n" + ."\n" + .'- **10**: backdoor trojan'."\n" + ."\n" + .'- **11**: virus or worm'."\n" + ."\n" + .'- **12**: mining behavior'."\n" + ."\n" + .'- **13**: reverse shell'."\n" + ."\n" + .'> If you do not set this parameter, events of all attack types are queried.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'NoLocation', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to query the IP address location information. Valid values:'."\n" + ."\n" + .'- **true**: Does not query the IP geolocation information.'."\n" + ."\n" + .'- **false** (default): Queries the IP geolocation information.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'AttackApp', + 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'A list of names of the attacked applications. Use the `["AttackApp1","AttackApp2"]` format.', + 'type' => 'array', + 'items' => ['description' => 'The name of the attacked application.', 'type' => 'string', 'required' => false, 'example' => 'Redis', 'title' => ''], 'required' => false, - 'example' => '', + 'example' => '["MySql","DNS"]', + 'maxItems' => 50, + 'minItems' => 0, + 'title' => '', ], ], + [ + 'name' => 'BuyVersion', + 'in' => 'query', + 'schema' => ['description' => 'The edition of Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **2**: Premium Edition'."\n" + ."\n" + .'- **3**: Enterprise Edition'."\n" + ."\n" + .'- **4**: Ultimate Edition'."\n" + ."\n" + .'- **10**: pay-as-you-go', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], + ], [ 'name' => 'Sort', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TotalBytes', - ], + 'schema' => ['description' => 'The field to use for sorting. Valid values:'."\n" + ."\n" + .'- **VulLevel** (default): Sorts by risk level.'."\n" + ."\n" + .'- **LastTime**: Sorts by the most recent occurrence time.', 'type' => 'string', 'required' => false, 'example' => 'LastTime', 'title' => ''], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'schema' => ['description' => 'The sorting order. Valid values:'."\n" + ."\n" + .'- **asc**: ascending'."\n" + ."\n" + .'- **desc** (default): descending', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], [ - 'name' => 'OnlyAiEvt', + 'name' => 'EventName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The name of the intrusion prevention event.', 'type' => 'string', 'required' => false, 'example' => 'wooden horse rear door communication', 'title' => ''], ], [ - 'name' => 'SensitiveLevel', + 'name' => 'IsOnlyPrivateAssoc', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to query only the data that is traced to private IP addresses.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'AttackAppCategory', 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'A list of categories of the attacked applications. Use the \\["AttackAppCategory1","AttackAppCategory2"] format.', + 'type' => 'array', + 'items' => ['description' => 'The category of the attacked application.', 'type' => 'string', 'required' => false, 'example' => 'AI Component', 'title' => ''], 'required' => false, - 'example' => 'S3', + 'maxItems' => 50, + 'minItems' => 0, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The details of the intrusion prevention events.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****', - ], - 'SdlEventDetailList' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of risk events.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558FE7E6EF', 'title' => ''], + 'DataList' => [ + 'description' => 'The list of returned data.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of returned data.', 'type' => 'object', 'properties' => [ - 'AssetName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'AssetPrivateIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.100.102.XXX', - ], - 'AssetType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EIP', - ], - 'CategoryName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Trusted', - ], - 'CategoryClassId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Trusted', - ], - 'CityId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '000', - ], - 'CountryId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn', - ], - 'DstIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '106.14.74.XXX', - ], - 'DstPortList' => [ - 'description' => '', - 'type' => 'string', - 'example' => '22', - ], - 'EventCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'EventLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'high', - ], - 'EventName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'FirstTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1735697768', - ], - 'LastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1738636157', - ], - 'LocationName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Payload' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500', - ], - 'ProtoList' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TCP', - ], - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'SensitiveDataCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SensitiveDataList' => [ - 'description' => '', + 'Direction' => ['description' => 'The traffic direction of the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **in**: inbound'."\n" + ."\n" + .'- **out**: outbound', 'type' => 'string', 'example' => 'in', 'title' => ''], + 'EventName' => ['description' => 'The name of the intrusion prevention event.', 'type' => 'string', 'example' => 'Web Directory Traversal Attack', 'title' => ''], + 'DstIP' => ['description' => 'The destination IP address. The intrusion prevention event contains this destination IP address.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'AttackType' => ['description' => 'The type of the attack. Valid values:'."\n" + ."\n" + .'- **1**: abnormal connection'."\n" + ."\n" + .'- **2**: command execution'."\n" + ."\n" + .'- **3**: brute-force attack'."\n" + ."\n" + .'- **4**: scan'."\n" + ."\n" + .'- **5**: other'."\n" + ."\n" + .'- **6**: information leakage'."\n" + ."\n" + .'- **7**: DoS attack'."\n" + ."\n" + .'- **8**: overflow attack'."\n" + ."\n" + .'- **9**: web attack'."\n" + ."\n" + .'- **10**: backdoor trojan'."\n" + ."\n" + .'- **11**: virus or worm'."\n" + ."\n" + .'- **12**: mining behavior'."\n" + ."\n" + .'- **13**: reverse shell', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Tag' => ['description' => 'The tag for major event support.', 'type' => 'string', 'example' => 'test-tag', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the rule that is used to defend against the intrusion prevention event.', 'type' => 'string', 'example' => '1000****', 'title' => ''], + 'EventId' => ['description' => 'The ID of the intrusion prevention event.', 'type' => 'string', 'example' => '2b58efae-4c4b-4d96-9544-a586fb1f****', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the public IP address. Valid values:'."\n" + ."\n" + .'- **EIP**: an elastic IP address (EIP)'."\n" + ."\n" + .'- **EcsPublicIP**: an ECS public IP address'."\n" + ."\n" + .'- **EcsEIP**: an ECS EIP'."\n" + ."\n" + .'- **NatPublicIP**: a NAT public IP address'."\n" + ."\n" + .'- **NatEIP**: a NAT EIP'."\n" + ."\n" + .'- **SlbPublicIp**: an SLB public IP address', 'type' => 'string', 'example' => 'EcsPublicIP', 'title' => ''], + 'FirstEventTime' => ['description' => 'The time when the intrusion event first occurred. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408189', 'title' => ''], + 'Description' => ['description' => 'The description of the intrusion prevention event.', 'type' => 'string', 'example' => 'A directory traversal attack was detected in Web access for HTTP requests', 'title' => ''], + 'EventCount' => ['description' => 'The number of intrusion prevention events.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'VulLevel' => ['description' => 'The risk level of the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **1**: low'."\n" + ."\n" + .'- **2**: medium'."\n" + ."\n" + .'- **3**: high', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'AttackApp' => ['description' => 'The name of the attacked application.', 'type' => 'string', 'example' => 'MySql', 'title' => ''], + 'RuleSource' => ['description' => 'The source of the rule that is used to detect the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **1**: basic protection'."\n" + ."\n" + .'- **2**: virtual patching'."\n" + ."\n" + .'- **4**: threat intelligence', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RuleResult' => ['description' => 'The handling status. Valid values:'."\n" + ."\n" + .'- **1**: Alert'."\n" + ."\n" + .'- **2**: Block', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'SrcIP' => ['description' => 'The source IP address. The intrusion prevention event contains this source IP address.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'LastEventTime' => ['description' => 'The time when the intrusion prevention event last occurred. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408267', 'title' => ''], + 'ResourcePrivateIPList' => [ + 'description' => 'The information about the private IP address in the intrusion prevention event. The value is an array that consists of the **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP** parameters.
'."\n" + .'**RegionNo** indicates the region ID of the IP address. **ResourceInstanceId** indicates the ID of the instance to which the IP address belongs. **ResourceInstanceName** indicates the name of the instance to which the IP address belongs. **ResourcePrivateIP** indicates the IP address.
', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hege***********.com', + 'description' => 'The information about the private IP address in the intrusion prevention event. The value is an array that consists of the **RegionNo**, **ResourceInstanceId**, **ResourceInstanceName**, and **ResourcePrivateIP** parameters.
'."\n" + .'**RegionNo** indicates the region ID of the IP address. **ResourceInstanceId** indicates the ID of the instance to which the IP address belongs. **ResourceInstanceName** indicates the name of the instance to which the IP address belongs. **ResourcePrivateIP** indicates the IP address.
', + 'type' => 'object', + 'properties' => [ + 'ResourceInstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'LD-shenzhen-zy****', 'title' => ''], + 'ResourcePrivateIP' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '10.255.XX.XX', 'title' => ''], + 'ResourceInstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'i-wz92jf4scg2zb74p****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID. This parameter indicates the region ID of the private IP address.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - ], - 'SensitiveLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'S3', - ], - 'SensitiveType' => [ - 'description' => '', - 'type' => 'string', + 'title' => '', 'example' => '', ], - 'SrcIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '104.28.226.XX', - ], - 'SrcPortList' => [ - 'description' => '', - 'type' => 'string', - 'example' => '443', + 'SrcPrivateIPList' => [ + 'description' => 'The list of source private IP addresses in the intrusion prevention event.', + 'type' => 'array', + 'items' => ['description' => 'The source private IP address in the intrusion prevention event.'."\n" + ."\n" + .'> This parameter is returned only for outbound traffic.', 'type' => 'string', 'example' => '["192.168.XX.XX","192.168.XX.XX"]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'TrafficBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'VpcSrcInfo' => [ + 'description' => 'The information about the source VPC of the intrusion prevention event. This struct contains the **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo** parameters.
'."\n" + .'**EcsInstanceId** indicates the ID of the ECS instance in the VPC. **EcsInstanceName** indicates the name of the ECS instance in the VPC. **NetworkInstanceId** indicates the ID of the VPC. **NetworkInstanceName** indicates the name of the VPC. **RegionNo** indicates the region ID of the VPC.
', + 'type' => 'object', + 'properties' => [ + 'EcsInstanceName' => ['description' => 'The name of the ECS instance.', 'type' => 'string', 'example' => 'LD-shenzhen-zy****', 'title' => ''], + 'NetworkInstanceName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'example' => 'VPC-SH-TX****', 'title' => ''], + 'NetworkInstanceId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-uf6e9a9zyokj2ywuo****', 'title' => ''], + 'EcsInstanceId' => ['description' => 'The ID of the ECS instance.', 'type' => 'string', 'example' => 'i-wz92jf4scg2zb74p****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID. This parameter indicates the region ID of the source VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'Uuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'b91035dc-8be4-411d-bec5-e6320af9****', + 'VpcDstInfo' => [ + 'description' => 'The information about the destination VPC of the intrusion prevention event. This struct contains the **EcsInstanceId**, **EcsInstanceName**, **NetworkInstanceId**, **NetworkInstanceName**, and **RegionNo** parameters.
'."\n" + .'**EcsInstanceId** indicates the ID of the ECS instance in the VPC. **EcsInstanceName** indicates the name of the ECS instance in the VPC. **NetworkInstanceId** indicates the ID of the VPC. **NetworkInstanceName** indicates the name of the VPC. **RegionNo** indicates the region ID of the VPC.
', + 'type' => 'object', + 'properties' => [ + 'EcsInstanceName' => ['description' => 'The name of the ECS instance.', 'type' => 'string', 'example' => 'LD-shenzhen-zy****', 'title' => ''], + 'NetworkInstanceName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'example' => 'VPC-SH-TX****', 'title' => ''], + 'NetworkInstanceId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-uf6e9a9zyokj2ywuo****', 'title' => ''], + 'EcsInstanceId' => ['description' => 'The ID of the ECS instance.', 'type' => 'string', 'example' => 'i-wz92jf4scg2zb74p****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID. This parameter indicates the region ID of the destination VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ce347a98f41e849188aa51c56b02a****', + 'IPLocationInfo' => [ + 'description' => 'The geolocation information of the IP address. This struct contains the **CityId**, **CityName**, **CountryId**, and **CountryName** parameters.
'."\n" + .'**CityId** indicates the city ID of the IP address. **CityName** indicates the city name of the IP address. **CountryId** indicates the country ID of the IP address. **CountryName** indicates the country name of the IP address.
', + 'type' => 'object', + 'properties' => [ + 'CityId' => ['description' => 'The city ID.', 'type' => 'string', 'example' => '510100', 'title' => ''], + 'CountryName' => ['description' => 'The country name.', 'type' => 'string', 'example' => 'China', 'title' => ''], + 'CityName' => ['description' => 'The city name.', 'type' => 'string', 'example' => 'Chengdu', 'title' => ''], + 'CountryId' => ['description' => 'The country ID.', 'type' => 'string', 'example' => 'CN', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], - 'ResourceIdType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'SrcIPTag' => ['description' => 'The tag of the source IP address. This tag is used to identify whether the IP address is a back-to-origin IP address of an Alibaba Cloud service.', 'type' => 'string', 'deprecated' => true, 'example' => 'WAF Back-to-origin Address', 'title' => ''], + 'SrcIPTags' => [ + 'type' => 'array', + 'items' => ['description' => 'The IP address tag.', 'type' => 'string', 'example' => 'Anti-DDoS Back-to-origin Address', 'title' => ''], + 'title' => '', + 'description' => 'The list of IP address tags.', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"AssetName\\": \\"test\\",\\n \\"AssetPrivateIp\\": \\"47.100.102.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"CategoryName\\": \\"Trusted\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"CityId\\": \\"000\\",\\n \\"CountryId\\": \\"cn\\",\\n \\"DstIp\\": \\"106.14.74.XXX\\",\\n \\"DstPortList\\": \\"22\\",\\n \\"EventCnt\\": 1,\\n \\"EventLevel\\": \\"high\\",\\n \\"EventName\\": \\"身份证敏感数据泄漏\\",\\n \\"FirstTime\\": 1735697768,\\n \\"LastTime\\": 1738636157,\\n \\"LocationName\\": \\"浙江省杭州市余杭区\\",\\n \\"Payload\\": \\"3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500\\",\\n \\"ProtoList\\": \\"TCP\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveDataList\\": [\\n \\"hege***********.com\\"\\n ],\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"身份证\\",\\n \\"SrcIp\\": \\"104.28.226.XX\\",\\n \\"SrcPortList\\": \\"443\\",\\n \\"TrafficBytes\\": 0,\\n \\"Uuid\\": \\"b91035dc-8be4-411d-bec5-e6320af9****\\",\\n \\"ResourceId\\": \\"ce347a98f41e849188aa51c56b02a****\\",\\n \\"ResourceIdType\\": 0\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', - ], - 'DescribeSdlEventSdList' => [ - 'summary' => '获取数据泄露的敏感数据列表', - 'methods' => [ - 'get', - 'post', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorFirewallType', 'errorMessage' => 'The specified firewall type is invalid.', 'description' => 'The firewall type of traffic log is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorRuleSourceError', 'errorMessage' => 'The rule source is invalid.', 'description' => 'The rule source is invalid.'], + ['errorCode' => 'ErrorRuleResultError', 'errorMessage' => 'The rule result is invalid.', 'description' => 'The rule result is invalid.'], + ['errorCode' => 'ErrorVulLevelFailed', 'errorMessage' => 'VulLevel has failed.', 'description' => 'VulLevel has failed.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'time range invalid.', 'description' => 'The specified time is invalid. Select again.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE7E6EF\\",\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"EventName\\": \\"Web Directory Traversal Attack\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"AttackType\\": 1,\\n \\"Tag\\": \\"test-tag\\",\\n \\"RuleId\\": \\"1000****\\",\\n \\"EventId\\": \\"2b58efae-4c4b-4d96-9544-a586fb1f****\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"FirstEventTime\\": 1534408189,\\n \\"Description\\": \\"A directory traversal attack was detected in Web access for HTTP requests\\",\\n \\"EventCount\\": 100,\\n \\"VulLevel\\": 1,\\n \\"AttackApp\\": \\"MySql\\",\\n \\"RuleSource\\": 1,\\n \\"RuleResult\\": 2,\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"LastEventTime\\": 1534408267,\\n \\"ResourcePrivateIPList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"ResourcePrivateIP\\": \\"10.255.XX.XX\\",\\n \\"ResourceInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"SrcPrivateIPList\\": [\\n \\"[\\\\\\"192.168.XX.XX\\\\\\",\\\\\\"192.168.XX.XX\\\\\\"]\\"\\n ],\\n \\"VpcSrcInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"VpcDstInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"IPLocationInfo\\": {\\n \\"CityId\\": \\"510100\\",\\n \\"CountryName\\": \\"China\\",\\n \\"CityName\\": \\"Chengdu\\",\\n \\"CountryId\\": \\"CN\\"\\n },\\n \\"SrcIPTag\\": \\"WAF Back-to-origin Address\\",\\n \\"SrcIPTags\\": [\\n \\"Anti-DDoS Back-to-origin Address\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeRiskEventGroup', + 'description' => 'You can use this operation to query and download the details of intrusion prevention events. We recommend querying 5 to 10 entries at a time. To prevent query timeouts, set the NoLocation parameter to true if you do not need IP geolocation information.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10. If you exceed the limit, your API calls are throttled. This may affect your business. Make calls to this operation at a reasonable rate.', + 'requestParamsDescription' => 'In addition to the preceding request parameters, you must specify common request parameters when you call this operation. For more information about common request parameters, see [Common parameters](~~94763~~).'."\n" + .'For the request format, see the request example in the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventGroup'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeRiskEventPayload' => [ + 'summary' => 'Queries the attack payloads of intrusion events.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -30701,359 +25444,291 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '246374', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68349', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a timestamp. Unit: seconds.'."\n", 'type' => 'string', 'required' => true, 'example' => '1669533617', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656664560', - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a timestamp. Unit: seconds.'."\n", 'type' => 'string', 'required' => true, 'example' => '1681288980', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1761185080', - ], + 'schema' => ['description' => 'The source IP address to query. If you specify this parameter, all intrusion events from the specified source IP address are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => '203.0.113.1', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The destination IP address to query. If you specify this parameter, all intrusion events with the specified destination IP address are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => '203.0.113.2', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'UUID', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The UUID of the intrusion event.'."\n", 'type' => 'string', 'required' => true, 'example' => 'e62c25e0-1073-46bd-9567-b8f12b3d****', 'title' => ''], ], [ - 'name' => 'SrcIp', + 'name' => 'FirewallType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.XXX', - ], + 'schema' => ['description' => 'The type of the firewall. Valid values:'."\n" + ."\n" + .'* **VpcFirewall**: virtual private cloud (VPC) firewall'."\n" + .'* **InternetFirewall** (default): Internet firewall'."\n", 'type' => 'string', 'required' => false, 'example' => 'InternetFirewall', 'title' => ''], ], [ - 'name' => 'DstIp', + 'name' => 'SrcVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.102.XXX', - ], + 'schema' => ['description' => 'The ID of the source VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the source VPC are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9j2lqyo15udw5nt****', 'title' => ''], ], [ - 'name' => 'Uuid', + 'name' => 'DstVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****', - ], + 'schema' => ['description' => 'The ID of the destination VPC to query. If you specify this parameter, all intrusion events that contain the specified ID of the destination VPC are queried.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6jr1klwqb60dyn2****', 'title' => ''], + ], + [ + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => 'The public IP address. If you specify this parameter, all intrusion events that contain the specified public IP address are queried.', 'type' => 'string', 'required' => false, 'example' => '203.0.113.3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'SdlEventSensitiveDataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SensitiveData' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sk-N***************************SxiJ', - ], - 'SensitiveDataCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'SensitiveLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'S3', - ], - 'SensitiveType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'SrcIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '172.23.191.XXX', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1753928907', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], + 'DstIP' => ['description' => 'The destination IP address of the intrusion event.'."\n", 'type' => 'string', 'example' => '203.0.113.1', 'title' => ''], + 'DstPort' => ['description' => 'The destination port of the intrusion event.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '8080', 'title' => ''], + 'DstVpcId' => ['description' => 'The destination VPC ID of the intrusion event.'."\n", 'type' => 'string', 'example' => 'vpc-bp10w5nb30r4jzfyc****', 'title' => ''], + 'HitContentType' => ['description' => 'Type of the hit.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'HitTo' => ['description' => 'The position where the hit ends.', 'type' => 'integer', 'format' => 'int32', 'example' => '67', 'title' => ''], + 'ParsedContent' => ['description' => 'Hit payload.', 'type' => 'string', 'example' => '2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f', 'title' => ''], + 'Payload' => ['description' => 'The attack payload of the intrusion event.'."\n", 'type' => 'string', 'example' => '302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500', 'title' => ''], + 'PayloadLen' => ['description' => 'The length of the attack payload of the intrusion event.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '457', 'title' => ''], + 'Proto' => ['description' => 'The protocol type of intrusion event. Valid values:'."\n" + ."\n" + .'* **TCP**'."\n" + .'* **UDP**'."\n", 'type' => 'string', 'example' => 'TCP', 'title' => ''], + 'RealIp' => ['description' => 'The HTTP X-Real-IP field.'."\n", 'type' => 'string', 'example' => '203.0.113.3', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => '68055BA4-D8BD-5611-AC49-C651E619A12E', 'title' => ''], + 'SrcIP' => ['description' => 'The source IP address of the intrusion event.'."\n", 'type' => 'string', 'example' => '203.0.113.2', 'title' => ''], + 'SrcPort' => ['description' => 'The source port of the intrusion event.'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '54360', 'title' => ''], + 'SrcVpcId' => ['description' => 'The source VPC ID of the intrusion event.'."\n", 'type' => 'string', 'example' => 'vpc-t4nlt09olhpazpoeg****', 'title' => ''], + 'XForwardFor' => ['description' => 'The HTTP X-Forwarded-For field.'."\n", 'type' => 'string', 'example' => '203.0.113.4', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorFirewallType', 'errorMessage' => 'The specified firewall type is invalid.', 'description' => 'The firewall type of traffic log is invalid.'], + ['errorCode' => 'ErrorSLSLogStore', 'errorMessage' => 'Failed to get SLS logstore.', 'description' => 'Failed to obtain the Log Service logstore.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"SdlEventSensitiveDataList\\": [\\n {\\n \\"SensitiveData\\": \\"sk-N***************************SxiJ\\",\\n \\"SensitiveDataCnt\\": 6,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"身份证\\",\\n \\"SrcIp\\": \\"172.23.191.XXX\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', - ], - 'DescribeSdlEventDetail' => [ - 'summary' => '获取数据泄露的敏感数据事件列表', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeRiskEventPayload', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventPayload'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventPayload', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DstIP\\": \\"203.0.113.1\\",\\n \\"DstPort\\": 8080,\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"HitContentType\\": 1,\\n \\"HitTo\\": 67,\\n \\"ParsedContent\\": \\"2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f\\",\\n \\"Payload\\": \\"302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500\\",\\n \\"PayloadLen\\": 457,\\n \\"Proto\\": \\"TCP\\",\\n \\"RealIp\\": \\"203.0.113.3\\",\\n \\"RequestId\\": \\"68055BA4-D8BD-5611-AC49-C651E619A12E\\",\\n \\"SrcIP\\": \\"203.0.113.2\\",\\n \\"SrcPort\\": 54360,\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"XForwardFor\\": \\"203.0.113.4\\"\\n}","type":"json"}]', + ], + 'DescribeRiskEventStatistic' => [ + 'summary' => 'Provides statistics for intrusion prevention events.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68350', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '218.76.30.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656664560', - ], + 'schema' => ['description' => 'The start time. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1656664560', 'title' => ''], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1753755251', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The end time. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1534408267', 'title' => ''], ], [ - 'name' => 'SrcIp', + 'name' => 'AttackType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The attack type of the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **1**: anomalous connection'."\n" + ."\n" + .'- **2**: command execution'."\n" + ."\n" + .'- **3**: brute-force attack'."\n" + ."\n" + .'- **4**: scanning'."\n" + ."\n" + .'- **5**: other'."\n" + ."\n" + .'- **6**: information leakage'."\n" + ."\n" + .'- **7**: DoS attack'."\n" + ."\n" + .'- **8**: overflow attack'."\n" + ."\n" + .'- **9**: web attack'."\n" + ."\n" + .'- **10**: trojan backdoor'."\n" + ."\n" + .'- **11**: virus and worm'."\n" + ."\n" + .'- **12**: mining'."\n" + ."\n" + .'- **13**: reverse shell'."\n" + ."\n" + .'> If you do not specify this parameter, all attack types are queried.', + 'enumValueTitles' => ['All attack types', 3 => 'brute-force attack', 'scanning'], 'type' => 'string', 'required' => false, - 'example' => '121.40.84.XXX', + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'DstIp', + 'name' => 'AttackApp', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'type' => 'array', + 'items' => ['description' => 'The attacked application.', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "MySQL",'."\n" + .' "Redis",'."\n" + .' "MemCached"'."\n" + .']', 'title' => ''], 'required' => false, - 'example' => '47.100.102.XXX', + 'maxItems' => 100, + 'description' => 'The attacked application.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Uuid', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The edition of Cloud Firewall.', + 'enumValueTitles' => [2 => 'Premium Edition', 'Enterprise Edition', 'Ultimate Edition', 10 => 'pay-as-you-go'], 'type' => 'string', 'required' => false, - 'example' => '326ce10e-5e17-4235-879a-6f2502cd****', + 'example' => '10', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****', - ], - 'SdlEventDetailList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'EventName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'event-test', - ], - 'SensitiveDataCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SensitiveLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'S3', - ], - 'SensitiveType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1753928907', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****', 'title' => ''], + 'AttackIpCnt' => ['description' => 'The number of attacked assets.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'AttackAppCnt' => ['description' => 'The number of attacked applications.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'DropCnt' => ['description' => 'The drop count.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'AttackCnt' => ['description' => 'The attack count.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"EventName\\": \\"event-test\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"身份证\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]', - ], - 'DescribeSdlEventStatistic' => [ - 'summary' => '获取数据泄露事件统计数据', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeRiskEventStatistic', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\",\\n \\"AttackIpCnt\\": 10,\\n \\"AttackAppCnt\\": 10,\\n \\"DropCnt\\": 20,\\n \\"AttackCnt\\": 5\\n}","type":"json"}]', + ], + 'DescribeRiskEventTopAttackApp' => [ + 'summary' => 'Retrieves the ranking of applications that are targeted by intrusion prevention attacks.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31062,270 +25737,162 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '245978', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68351', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '182.150.22.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'type' => 'string', 'required' => false, - 'example' => '1656750960', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1732586712', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'AssetCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'SensitiveDataCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalTraffic' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'AiSensitiveDataCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], + 'schema' => ['description' => 'The start time of the query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1656664560', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AssetCount\\": 32,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"SensitiveDataCount\\": 2,\\n \\"TotalCount\\": 2,\\n \\"TotalTraffic\\": 0,\\n \\"AiSensitiveDataCount\\": 1\\n}","type":"json"}]', - ], - 'DescribeSdlStatistic' => [ - 'summary' => '获取数据泄露事件类型分布/资产TOP/目的TOP', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '246011', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1735784888', 'title' => ''], ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AttackType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of attack.', + 'enumValueTitles' => ['all', 3 => 'brute-force attack', 'scan'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + 'example' => '3', + 'title' => '', ], ], [ - 'name' => 'StartTime', + 'name' => 'AttackApp', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'array', + 'items' => ['description' => 'The list of attacked applications.', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "MySQL",'."\n" + .' "Redis",'."\n" + .' "MemCached"'."\n" + .']', 'title' => ''], 'required' => false, - 'example' => '1656664560', + 'maxItems' => 100, + 'description' => 'The list of attacked applications.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The purchased edition.', + 'enumValueTitles' => [2 => 'Premium Edition', 'Enterprise Edition', 'Ultimate Edition', 10 => 'pay-as-you-go edition'], + 'type' => 'string', 'required' => false, - 'example' => '1748916368', + 'example' => '10', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', - ], - 'SdlStatisticResp' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'SdlEventTypeCountList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EventType' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Count' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9', - ], - ], - ], - ], - 'SdlDstTopList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PublicIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.101.68.XXX', - ], - 'TrafficBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - 'SdlAssetTopList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PublicIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '116.62.66.XXX', - ], - 'AssetType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EIP', - ], - 'TrafficBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C9DDAD29-C6B3-5997-B757-FFB3F1C3****', 'title' => ''], + 'AttackApps' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AttackCnt' => ['description' => 'The number of attacks.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'DropCnt' => ['description' => 'The number of intercepted attacks.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], + 'App' => ['description' => 'The name of the application.', 'type' => 'string', 'example' => 'live', 'title' => ''], ], + 'description' => 'The list of attacked applications.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of attacked applications.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"SdlStatisticResp\\": {\\n \\"SdlEventTypeCountList\\": [\\n {\\n \\"EventType\\": \\"身份证\\",\\n \\"Count\\": \\"9\\"\\n }\\n ],\\n \\"SdlDstTopList\\": [\\n {\\n \\"PublicIp\\": \\"47.101.68.XXX\\",\\n \\"TrafficBytes\\": 0\\n }\\n ],\\n \\"SdlAssetTopList\\": [\\n {\\n \\"PublicIp\\": \\"116.62.66.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"TrafficBytes\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', - ], - 'DescribeSensitiveSwitch' => [ - 'summary' => '获取敏感数据类别开关', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'https', + 'title' => 'DescribeRiskEventTopAttackApp', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C9DDAD29-C6B3-5997-B757-FFB3F1C3****\\",\\n \\"AttackApps\\": [\\n {\\n \\"AttackCnt\\": 20,\\n \\"DropCnt\\": 15,\\n \\"App\\": \\"live\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRiskEventTopAttackAsset' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31334,365 +25901,499 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68352', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the visitor.', 'title' => '', 'example' => '125.33.253.XX'], ], [ - 'name' => 'ParentCategory', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => 'universal_industry_template', + 'description' => 'The language of the content that is returned.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', + 'example' => 'zh', ], ], [ - 'name' => 'SensitiveCategory', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, - 'example' => 'id_card', + 'description' => 'The language of the content that is returned.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', + 'example' => 'zh', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The start of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'title' => '', 'example' => '1754273436'], ], [ - 'name' => 'PageSize', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'title' => '', 'example' => '1742955867'], ], [ - 'name' => 'CategoryName', + 'name' => 'AttackType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The type of the attack application.', 'title' => '', 'example' => '3'], ], [ - 'name' => 'SensitiveLevel', + 'name' => 'AttackApp', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The list of attack applications.', 'required' => false, 'title' => '', 'example' => '['."\n" + .' "MySQL",'."\n" + .' "Redis",'."\n" + .' "MemCached"'."\n" + .']'], 'required' => false, - 'example' => 'S3', + 'maxItems' => 100, + 'description' => 'The list of attack applications.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'SwitchStatus', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', + 'description' => 'The edition of Cloud Firewall.', 'required' => false, - 'enumValueTitles' => [ - '', - '', - ], - 'example' => '1', + 'enumValueTitles' => [2 => 'Premium Edition', 'Enterprise Edition', 'Ultimate Edition', 10 => 'Pay-as-you-go Edition'], + 'title' => '', + 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'A7F3ED45-5556-5AF3-ADE3-EE48FFF0****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'UserSensitiveDataSwitchList' => [ - 'description' => '', + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => 'B9BF7C33-9A23-5096-8568-A3DACAF0****'], + 'Assets' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'CategoryName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'SensitiveCategory' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'id_card', - ], - 'SensitiveLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'S3', - ], - 'SwitchStatus' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - ], - 'example' => '1', - ], - ], + 'ResourceInstanceName' => ['type' => 'string', 'description' => 'The name of the resource instance.', 'title' => '', 'example' => 'test_resource'], + 'ResourceType' => ['type' => 'string', 'description' => 'The type of the resource instance.', 'title' => '', 'example' => 'EcsPublicIP'], + 'ResourceInstanceId' => ['type' => 'string', 'description' => 'The ID of the asset instance.', 'title' => '', 'example' => 'i-8vbdrjrxzt78****'], + 'RegionNo' => ['type' => 'string', 'description' => 'The region ID.', 'title' => '', 'example' => 'cn-chengdu'], + 'Ip' => ['type' => 'string', 'description' => 'The IP address.', 'title' => '', 'example' => '10.3.54.XXX'], + 'AttackCnt' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of attacks.', 'title' => '', 'example' => '12'], + 'DropCnt' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The number of dropped attempts.', 'title' => '', 'example' => '8'], + ], + 'description' => 'The statistics of the assets.', + 'title' => '', + 'example' => '', ], - ], - 'OpenCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', + 'description' => 'The statistics of the assets.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => 'Request processing failed due to some unknown error.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F3ED45-5556-5AF3-ADE3-EE48FFF0****\\",\\n \\"TotalCount\\": 10,\\n \\"UserSensitiveDataSwitchList\\": [\\n {\\n \\"CategoryName\\": \\"身份证\\",\\n \\"Description\\": \\"身份证敏感数据泄漏\\",\\n \\"SensitiveCategory\\": \\"id_card\\",\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SwitchStatus\\": 1\\n }\\n ],\\n \\"OpenCount\\": 80\\n}","type":"json"}]', - ], - 'ModifySensitiveSwitch' => [ - 'summary' => '修改敏感数据开关', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeRiskEventTopAttackAsset', + 'summary' => 'Queries the top assets targeted by attacks.', + 'description' => '## QPS limits'."\n" + ."\n" + .'You can make up to 10 queries per second (QPS) to this API. If you exceed this limit, your API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B9BF7C33-9A23-5096-8568-A3DACAF0****\\",\\n \\"Assets\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test_resource\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionNo\\": \\"cn-chengdu\\",\\n \\"Ip\\": \\"10.3.54.XXX\\",\\n \\"AttackCnt\\": 12,\\n \\"DropCnt\\": 8\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRiskEventTopAttackType' => [ + 'summary' => 'Retrieves a ranked list of attack types from intrusion prevention events.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68353', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '140.210.153.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'SensitiveCategory', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start of the time range for the query. The value must be a Unix timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1670307484', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range for the query. The value must be a Unix timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1743387943', 'title' => ''], + ], + [ + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'inbound traffic', 'out' => 'outbound traffic'], 'type' => 'string', - 'required' => false, - 'example' => 'id_card', + 'required' => true, + 'example' => 'out', + 'title' => '', ], ], [ - 'name' => 'SwitchStatus', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The edition of Cloud Firewall.', + 'enumValueTitles' => [2 => 'Advanced Edition', 'Enterprise Edition', 'Ultimate Edition', 10 => 'Pay-as-you-go Edition'], 'type' => 'string', 'required' => false, - 'example' => '1', + 'example' => '2', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****', + 'TotalProtectCnt' => ['description' => 'The total number of protection triggers.', 'type' => 'integer', 'format' => 'int64', 'example' => '65', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'BECDBF66-91DA-5B40-8B05-0D26541A****', 'title' => ''], + 'TotalAttackCnt' => ['description' => 'The total number of attacks.', 'type' => 'integer', 'format' => 'int64', 'example' => '47', 'title' => ''], + 'TopAttackTypeList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AttackType' => ['description' => 'The attack type of the intrusion prevention event. Valid values:'."\n" + ."\n" + .'- **1**: abnormal connection'."\n" + ."\n" + .'- **2**: command execution'."\n" + ."\n" + .'- **3**: brute-force attack'."\n" + ."\n" + .'- **4**: scan'."\n" + ."\n" + .'- **5**: other'."\n" + ."\n" + .'- **6**: information leakage'."\n" + ."\n" + .'- **7**: DoS attack'."\n" + ."\n" + .'- **8**: overflow attack'."\n" + ."\n" + .'- **9**: web attack'."\n" + ."\n" + .'- **10**: trojan and backdoor'."\n" + ."\n" + .'- **11**: virus and worm'."\n" + ."\n" + .'- **12**: cryptomining'."\n" + ."\n" + .'- **13**: reverse shell'."\n" + ."\n" + .'> By default, this API queries for all attack types.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'AttackCnt' => ['description' => 'The number of attacks.', 'type' => 'integer', 'format' => 'int64', 'example' => '38', 'title' => ''], + 'ProtectCnt' => ['description' => 'The number of protection triggers.', 'type' => 'integer', 'format' => 'int64', 'example' => '42', 'title' => ''], + ], + 'description' => 'The details of the attack type.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of the top attack types.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', - ], - 'EnableSdlProtectedAsset' => [ - 'summary' => '开启资产数据泄露保护', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeRiskEventTopAttackType', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalProtectCnt\\": 65,\\n \\"RequestId\\": \\"BECDBF66-91DA-5B40-8B05-0D26541A****\\",\\n \\"TotalAttackCnt\\": 47,\\n \\"TopAttackTypeList\\": [\\n {\\n \\"AttackType\\": 2,\\n \\"AttackCnt\\": 38,\\n \\"ProtectCnt\\": 42\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRiskSecurityGroupDetail' => [ + 'summary' => 'Retrieves the details of a risk security group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'read', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240055', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68354', + 'abilityTreeNodes' => ['FEATUREcfw9GLVIS'], ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '220.189.117.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'IpList', + 'name' => 'Lang', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.99.108.XX', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'RuleUuid', + 'in' => 'query', + 'schema' => ['description' => 'The UUID of the rule.', 'type' => 'string', 'required' => false, 'example' => '3b1adf8d-1949-4c8e-809b-fb92ee11****', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the security group instance.', 'type' => 'string', 'required' => false, 'example' => 'sg-2vc0p803vgxumn6r****', 'title' => ''], + ], + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the instance.', 'type' => 'string', 'required' => false, 'example' => 'test-instance-name', 'title' => ''], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n", + 'PageNo' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '33C94306-2064-5A06-9645-01419967****', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'RiskSgDetail' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'example' => 'vpc-8vbuzirdl3w1r7exw****', 'title' => ''], + 'RiskLevel' => ['description' => 'The risk level of the rule.', 'type' => 'string', 'example' => 'high', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai'."\n", 'title' => ''], + 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'test-instance-name', 'title' => ''], + 'EcsCount' => ['description' => 'The number of associated ECS instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the security group instance.', 'type' => 'string', 'example' => 'sg-2vc0p803vgxumn6r****', 'title' => ''], + 'EcsInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PublicIp' => ['description' => 'The public IP address of the ECS instance.', 'type' => 'string', 'example' => '47.107.141.XXX', 'title' => ''], + 'EcsInstanceName' => ['description' => 'The name of the ECS instance.', 'type' => 'string', 'example' => 'tyf_test', 'title' => ''], + 'PrivateIp' => ['description' => 'The private IP address of the ECS instance.', 'type' => 'string', 'example' => '172.24.121.XXX', 'title' => ''], + 'EcsInstanceId' => ['description' => 'The ID of the ECS instance.', 'type' => 'string', 'example' => 'i-bp1gra23yai47d8e****', 'title' => ''], + ], + 'description' => 'The ECS information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The ECS information.', + 'title' => '', + 'example' => '', + ], + 'RuleInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => 'The risk level of the rule.', 'type' => 'string', 'example' => 'high', 'title' => ''], + 'RuleStatus' => ['description' => 'The status of the rule.', 'type' => 'string', 'example' => 'enable', 'title' => ''], + 'Suggestion' => ['description' => 'The optimization suggestion.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'RuleUuid' => ['description' => 'The UUID of the rule.', 'type' => 'string', 'example' => '4c1e72c9-6690-408b-9048-065f0f10****', 'title' => ''], + 'RuleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => 'The information about the risk security group rule.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The information about the risk security group rule.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The details of the risk security group.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The details of the risk security group.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\"\\n}","type":"json"}]', - ], - 'DisableSdlProtectedAsset' => [ - 'summary' => '关闭资产数据泄漏保护', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'title' => 'DescribeRiskSecurityGroupDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskSecurityGroupDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"33C94306-2064-5A06-9645-01419967****\\",\\n \\"TotalCount\\": 5,\\n \\"RiskSgDetail\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RegionNo\\": \\"cn-shanghai\\\\n\\",\\n \\"InstanceName\\": \\"test-instance-name\\",\\n \\"EcsCount\\": 10,\\n \\"InstanceId\\": \\"sg-2vc0p803vgxumn6r****\\",\\n \\"EcsInfo\\": [\\n {\\n \\"PublicIp\\": \\"47.107.141.XXX\\",\\n \\"EcsInstanceName\\": \\"tyf_test\\",\\n \\"PrivateIp\\": \\"172.24.121.XXX\\",\\n \\"EcsInstanceId\\": \\"i-bp1gra23yai47d8e****\\"\\n }\\n ],\\n \\"RuleInfo\\": [\\n {\\n \\"RiskLevel\\": \\"high\\",\\n \\"RuleStatus\\": \\"enable\\",\\n \\"Suggestion\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"RuleUuid\\": \\"4c1e72c9-6690-408b-9048-065f0f10****\\",\\n \\"RuleName\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeSdlEventDetail' => [ + 'summary' => 'Retrieves the details of a data leak event.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247433', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -31700,68 +26401,102 @@ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'IpList', + 'name' => 'StartTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "47.99.108.XXX",'."\n" - .' "47.99.109.XXX"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The start time. The value is a UNIX timestamp that is accurate to the second.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. The value is a UNIX timestamp that is accurate to the second.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1753755251', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'SrcIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '121.40.84.XXX', 'title' => ''], + ], + [ + 'name' => 'DstIp', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX', 'title' => ''], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID.', 'type' => 'string', 'required' => false, 'example' => '326ce10e-5e17-4235-879a-6f2502cd****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****'], + 'SdlEventDetailList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EventName' => ['description' => 'The name of the event.', 'type' => 'string', 'example' => 'event-test', 'title' => ''], + 'SensitiveDataCnt' => ['description' => 'The amount of sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'SensitiveLevel' => ['description' => 'The sensitivity level.', 'type' => 'string', 'example' => 'S3', 'title' => ''], + 'SensitiveType' => ['description' => 'The type of sensitive data.', 'type' => 'string', 'example' => 'Identity Card', 'title' => ''], + 'StartTime' => ['description' => 'The time when the event occurred.', 'type' => 'integer', 'format' => 'int64', 'example' => '1753928907', 'title' => ''], + ], + 'description' => 'The events.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of events.', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\"\\n}","type":"json"}]', - ], - 'DescribeAclApps' => [ - 'summary' => '批量查询访问控制应用', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSdlEventDetail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"EventName\\": \\"event-test\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"Identity Card\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]', + ], + 'DescribeSdlEventList' => [ + 'summary' => 'Query data breach events.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31770,105 +26505,86 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '246035', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'PageNo', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The start of the time range to query. This value is a UNIX timestamp representing seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1759198702', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp representing seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1756433077', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'AclType', + 'name' => 'SrcIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'VPC', - 'enum' => [ - 'Internet', - 'NAT', - 'VPC', - 'All', - ], - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '172.16.0.XXX', 'title' => ''], ], [ - 'name' => 'Popular', + 'name' => 'DstIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 1 => '1', - ], - 'example' => '1', - 'enum' => [ - '1', - ], - ], + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX', 'title' => ''], ], [ - 'name' => 'Protocols', + 'name' => 'Uuid', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "TCP",'."\n" - .' "UDP"'."\n" - .']', - 'enum' => [ - 'TCP', - 'UDP', - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The unique ID of the event.', 'type' => 'string', 'required' => false, 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****', 'title' => ''], + ], + [ + 'name' => 'Location', + 'in' => 'query', + 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => false, 'example' => 'Zhangjiakou', 'title' => ''], + ], + [ + 'name' => 'Sort', + 'in' => 'query', + 'schema' => ['description' => 'The field to sort by.', 'type' => 'string', 'required' => false, 'example' => 'TotalBytes', 'title' => ''], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values: `asc` (ascending) and `desc` (descending).', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], + ], + [ + 'name' => 'OnlyAiEvt', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return only events detected by AI.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'SensitiveLevel', + 'in' => 'query', + 'schema' => ['description' => 'The sensitivity level of the data in the event.', 'type' => 'string', 'required' => false, 'example' => 'S3', 'title' => ''], ], ], 'responses' => [ @@ -31876,91 +26592,93 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '9063AB86-6FFA-5B2D-A16D-697C966D****', - ], - 'AclApps' => [ - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****'], + 'SdlEventDetailList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'AppId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1.0', - ], - 'AppName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'RiskLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Popular' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Protocols' => [ - 'description' => '', + 'AssetName' => ['description' => 'The asset name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'AssetPrivateIp' => ['description' => 'The private IP address of the asset.', 'type' => 'string', 'example' => '47.100.102.XXX', 'title' => ''], + 'AssetType' => ['description' => 'The asset type.', 'type' => 'string', 'example' => 'EIP', 'title' => ''], + 'CategoryName' => ['description' => 'The category name.', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], + 'CategoryClassId' => ['description' => 'The intelligence tag category. Valid values:'."\n" + ."\n" + .'- **Suspicious**: suspicious'."\n" + ."\n" + .'- **Malicious**: malicious'."\n" + ."\n" + .'- **Trusted**: trusted', 'type' => 'string', 'example' => 'Trusted', 'title' => ''], + 'CityId' => ['description' => 'The city ID.', 'type' => 'string', 'example' => '000', 'title' => ''], + 'CountryId' => ['description' => 'The country ID.', 'type' => 'string', 'example' => 'cn', 'title' => ''], + 'DstIp' => ['description' => 'The destination IP address.', 'type' => 'string', 'example' => '106.14.74.XXX', 'title' => ''], + 'DstPortList' => ['description' => 'The destination port.', 'type' => 'string', 'example' => '22', 'title' => ''], + 'EventCnt' => ['description' => 'The number of events.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'EventLevel' => ['description' => 'The event\'s risk level.', 'type' => 'string', 'example' => 'high', 'title' => ''], + 'EventName' => ['description' => 'The event name.', 'type' => 'string', 'example' => 'Sensitive ID card data leakage', 'title' => ''], + 'FirstTime' => ['description' => 'The first time the event occurred, as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1735697768', 'title' => ''], + 'LastTime' => ['description' => 'The last time the event occurred, as a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1738636157', 'title' => ''], + 'LocationName' => ['description' => 'The location of the destination IP address.', 'type' => 'string', 'example' => 'Yuhang District, Hangzhou City, Zhejiang Province', 'title' => ''], + 'Payload' => ['description' => 'The payload of the intrusion prevention event.', 'type' => 'string', 'example' => '3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500', 'title' => ''], + 'ProtoList' => ['description' => 'The protocol.', 'type' => 'string', 'example' => 'TCP', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'SensitiveDataCnt' => ['description' => 'The number of sensitive data items.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'SensitiveDataList' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "TCP",'."\n" - .' "UDP"'."\n" - .']', - ], - ], - 'SupportFqdn' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'items' => ['description' => 'A sensitive data item.', 'type' => 'string', 'example' => 'hege***********.com', 'title' => ''], + 'description' => 'An array of sensitive data.', + 'title' => '', + 'example' => '', ], - ], + 'SensitiveLevel' => ['description' => 'The sensitive data level.', 'type' => 'string', 'example' => 'S3', 'title' => ''], + 'SensitiveType' => ['description' => 'The sensitive data type.', 'type' => 'string', 'example' => 'Identity Card', 'title' => ''], + 'SrcIp' => ['description' => 'The source IP address.', 'type' => 'string', 'example' => '104.28.226.XX', 'title' => ''], + 'SrcPortList' => ['description' => 'The source port.', 'type' => 'string', 'example' => '443', 'title' => ''], + 'TrafficBytes' => ['description' => 'The traffic volume in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'Uuid' => ['description' => 'The unique identifier for the event.', 'type' => 'string', 'example' => 'b91035dc-8be4-411d-bec5-e6320af9****', 'title' => ''], + 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'ce347a98f41e849188aa51c56b02a****', 'title' => ''], + 'ResourceIdType' => ['description' => 'The resource type.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], + 'description' => 'The details of a data leakage event.', + 'title' => '', + 'example' => '', ], + 'description' => 'An array of data leakage events.', + 'title' => '', + 'example' => '', ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], ], + 'title' => '', + 'description' => 'The returned data.', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSdlEventList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966D****\\",\\n \\"AclApps\\": [\\n {\\n \\"AppId\\": 1,\\n \\"AppName\\": \\"test\\",\\n \\"RiskLevel\\": 1,\\n \\"Popular\\": 1,\\n \\"Protocols\\": [\\n \\"[\\\\n \\\\\\"TCP\\\\\\",\\\\n \\\\\\"UDP\\\\\\"\\\\n]\\"\\n ],\\n \\"SupportFqdn\\": 1\\n }\\n ],\\n \\"TotalCount\\": 20\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"AssetName\\": \\"test\\",\\n \\"AssetPrivateIp\\": \\"47.100.102.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"CategoryName\\": \\"Trusted\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"CityId\\": \\"000\\",\\n \\"CountryId\\": \\"cn\\",\\n \\"DstIp\\": \\"106.14.74.XXX\\",\\n \\"DstPortList\\": \\"22\\",\\n \\"EventCnt\\": 1,\\n \\"EventLevel\\": \\"high\\",\\n \\"EventName\\": \\"Sensitive ID card data leakage\\",\\n \\"FirstTime\\": 1735697768,\\n \\"LastTime\\": 1738636157,\\n \\"LocationName\\": \\"Yuhang District, Hangzhou City, Zhejiang Province\\",\\n \\"Payload\\": \\"3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500\\",\\n \\"ProtoList\\": \\"TCP\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveDataList\\": [\\n \\"hege***********.com\\"\\n ],\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"Identity Card\\",\\n \\"SrcIp\\": \\"104.28.226.XX\\",\\n \\"SrcPortList\\": \\"443\\",\\n \\"TrafficBytes\\": 0,\\n \\"Uuid\\": \\"b91035dc-8be4-411d-bec5-e6320af9****\\",\\n \\"ResourceId\\": \\"ce347a98f41e849188aa51c56b02a****\\",\\n \\"ResourceIdType\\": 0\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', ], - 'DescribeAclWhitelist' => [ - 'summary' => '获取ACL白名单', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSdlEventSdList' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31969,96 +26687,115 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68174', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '246374', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '101.36.65.XX', - ], + 'schema' => ['description' => 'The language type of the received message.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The start time. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1761185080', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'SrcIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '172.16.0.XXX', 'title' => ''], + ], + [ + 'name' => 'DstIp', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX', 'title' => ''], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique identifier ID.', 'type' => 'string', 'required' => false, 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'DomainGroupUseDns' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SupportMessageType' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7D45133B-DBC0-506B-9DF9-AB0735D3****', - ], - 'NatDomainGroupUseDns' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - 'VpcDomainGroupUseDns' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], + 'SdlEventSensitiveDataList' => [ + 'description' => 'The list of sensitive data involved in data leaks.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of sensitive data involved in data leaks.', + 'type' => 'object', + 'properties' => [ + 'SensitiveData' => ['description' => 'The sensitive data.', 'type' => 'string', 'example' => 'sk-N***************************SxiJ', 'title' => ''], + 'SensitiveDataCnt' => ['description' => 'The number of occurrences of the sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], + 'SensitiveLevel' => ['description' => 'The level of the sensitive data.', 'type' => 'string', 'example' => 'S3', 'title' => ''], + 'SensitiveType' => ['description' => 'The type of the sensitive data.', 'type' => 'string', 'example' => 'id_card', 'title' => ''], + 'SrcIp' => ['description' => 'The source IP address.', 'type' => 'string', 'example' => '172.23.191.XXX', 'title' => ''], + 'StartTime' => ['description' => 'The start time. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1753928907', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of records.', 'type' => 'integer', 'format' => 'int64', 'example' => '6', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query sensitive data list of data leaks', + 'summary' => 'Retrieves the list of sensitive data involved in data leaks.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventSdList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainGroupUseDns\\": true,\\n \\"SupportMessageType\\": true,\\n \\"RequestId\\": \\"7D45133B-DBC0-506B-9DF9-AB0735D3****\\",\\n \\"NatDomainGroupUseDns\\": false,\\n \\"VpcDomainGroupUseDns\\": false\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"SdlEventSensitiveDataList\\": [\\n {\\n \\"SensitiveData\\": \\"sk-N***************************SxiJ\\",\\n \\"SensitiveDataCnt\\": 6,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"id_card\\",\\n \\"SrcIp\\": \\"172.23.191.XXX\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', ], - 'DescribeAclRuleCount' => [ - 'summary' => '获取总ACL配置数', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSdlEventStatistic' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -32067,41 +26804,29 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68172', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '245978', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '27.151.85.XX', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the request and response.', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The start time. The value is a UNIX timestamp in seconds.', 'required' => false, 'title' => '', 'example' => '1656750960'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The end time. The value is a UNIX timestamp in seconds.', 'required' => false, 'title' => '', 'example' => '1732586712'], ], ], 'responses' => [ @@ -32109,86 +26834,45 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InternetInAclCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalAclCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****', - ], - 'InternetOutAclCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'VpcAclCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'NatInAclCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NatOutAclCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'AssetCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of assets.', 'title' => '', 'example' => '32'], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****'], + 'SensitiveDataCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of sensitive data leak events.', 'title' => '', 'example' => '2'], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of entries.', 'title' => '', 'example' => '2'], + 'TotalTraffic' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total traffic. Unit: bytes.', 'title' => '', 'example' => '0'], + 'AiSensitiveDataCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of AI-related leak threats.', 'title' => '', 'example' => '1'], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSdlEventStatistic', + 'summary' => 'Queries statistics about data leaks.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetInAclCount\\": 2,\\n \\"TotalAclCount\\": 8,\\n \\"RequestId\\": \\"27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****\\",\\n \\"InternetOutAclCount\\": 3,\\n \\"VpcAclCount\\": 3,\\n \\"NatInAclCount\\": 0,\\n \\"NatOutAclCount\\": 2\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AssetCount\\": 32,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"SensitiveDataCount\\": 2,\\n \\"TotalCount\\": 2,\\n \\"TotalTraffic\\": 0,\\n \\"AiSensitiveDataCount\\": 1\\n}","type":"json"}]', ], - 'DescribeControlPolicy' => [ - 'summary' => 'Queries the details about all access control policies.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSdlLastPayload' => [ + 'summary' => 'Retrieves the packet payload of a sensitive data leak event.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -32197,223 +26881,247 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68239', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '246035', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The beginning of the time range to query. Specify the value as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656837360', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'EndTime', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policies apply. Valid values:'."\n" - ."\n" - .'* **in**: inbound.'."\n" - .'* **out**: outbound.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'in', - 'enum' => [ - 'out', - 'in', - ], - ], + 'schema' => ['description' => 'The end of the time range to query. Specify the value as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1534408267', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'SrcIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n" - ."\n" - .'Default value: 1.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '121.40.84.XXX', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'DstIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX', 'title' => ''], ], [ - 'name' => 'Source', + 'name' => 'SensitiveCategory', 'in' => 'query', + 'schema' => ['description' => 'The type of sensitive credential.', 'type' => 'string', 'required' => false, 'example' => 'id_card', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The source address in the access control policy. Fuzzy match is supported. The value of this parameter depends on the value of the SourceType parameter.'."\n" - ."\n" - .'* If SourceType is set to `net`, the value of Source must be a CIDR block. Example: 192.0.XX.XX/24.'."\n" - .'* If SourceType is set to `group`, the value of Source must be the name of an address book. Example: db_group. If the db_group address book does not contain addresses, all source addresses are queried.'."\n" - .'* If SourceType is set to `location`, the value of Source must be a location. Example: beijing.'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies of all source address types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****'], + 'SrcPortList' => ['description' => 'The source port.', 'type' => 'string', 'example' => '1586', 'title' => ''], + 'DstPortList' => ['description' => 'The destination port.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'ProtoList' => ['description' => 'The protocol.', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'Payload' => ['description' => 'The attack payload of the intrusion prevention event.', 'type' => 'string', 'example' => '302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => 'Query sensitive data payload information', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\",\\n \\"SrcPortList\\": \\"1586\\",\\n \\"DstPortList\\": \\"80\\",\\n \\"ProtoList\\": \\"tcp\\",\\n \\"Payload\\": \\"302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500\\"\\n}","type":"json"}]', + ], + 'DescribeSdlStatistic' => [ + 'summary' => 'Retrieves the details of sensitive data.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination address in the access control policy. Fuzzy match is supported. The value of this parameter varies based on the value of the DestinationType parameter.'."\n" - ."\n" - .'* If you set DestinationType to `net`, the value of Destination is a CIDR block. Example: 10.0.3.0/24.'."\n" - .'* If you set DestinationType to `domain`, the value of Destination is a domain name. Example: aliyun.'."\n" - .'* If you set DestinationType to `group`, the value of Destination is the name of an address book. Example: db_group.'."\n" - .'* If you set DestinationType to `location`, the value of Destination is the name of a location. For more information about location codes, see AddControlPolicy. Example: \\["BJ11", "ZB"].'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies of all destination address types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '246011', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Description', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The description of the access control policy. Fuzzy match is supported.'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies that have descriptions are queried.'."\n", + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => 'test', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'Proto', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the protocol in the access control policy. Valid values:'."\n" - ."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n" - .'* **ANY**: all types of protocols'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies of all protocol types are queried.', - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'schema' => ['description' => 'The start time. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560', 'title' => ''], ], [ - 'name' => 'AclAction', + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => 'The end time. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1748916368', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies of all action types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'accept', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****'], + 'SdlStatisticResp' => [ + 'type' => 'object', + 'properties' => [ + 'SdlEventTypeCountList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EventType' => ['description' => 'The event type.', 'type' => 'string', 'example' => 'id_card', 'title' => ''], + 'Count' => ['description' => 'The total number of entries.', 'type' => 'string', 'example' => '9', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of counts for each sensitive data event type.', + 'title' => '', + 'example' => '', + ], + 'SdlDstTopList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PublicIp' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '47.101.68.XXX', 'title' => ''], + 'TrafficBytes' => ['description' => 'The amount of traffic in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => 'The information about a ranked sensitive data destination.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A ranked list of sensitive data destinations.', + 'title' => '', + 'example' => '', + ], + 'SdlAssetTopList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PublicIp' => ['description' => 'The public IP address.', 'type' => 'string', 'example' => '116.62.66.XXX', 'title' => ''], + 'AssetType' => ['description' => 'The asset type.', 'type' => 'string', 'example' => 'EIP', 'title' => ''], + 'TrafficBytes' => ['description' => 'The amount of traffic in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + ], + 'description' => 'The information about a ranked sensitive data asset.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A ranked list of sensitive data assets.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The details of the sensitive data.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSdlStatistic', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Release', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values:'."\n" - ."\n" - .'* **true**: The access control policy is enabled.'."\n" - .'* **false**: The access control policy is disabled.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"SdlStatisticResp\\": {\\n \\"SdlEventTypeCountList\\": [\\n {\\n \\"EventType\\": \\"id_card\\",\\n \\"Count\\": \\"9\\"\\n }\\n ],\\n \\"SdlDstTopList\\": [\\n {\\n \\"PublicIp\\": \\"47.101.68.XXX\\",\\n \\"TrafficBytes\\": 0\\n }\\n ],\\n \\"SdlAssetTopList\\": [\\n {\\n \\"PublicIp\\": \\"116.62.66.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"TrafficBytes\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeSecurityMode' => [ + 'summary' => 'Queries the settings of the safe mode.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AclUuid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68358', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + ], + 'parameters' => [ [ - 'name' => 'IpVersion', + 'name' => 'SourceIp', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => 'The IP version of the address in the access control policy. Valid values:'."\n" - ."\n" - .'* **4**: IPv4 (default)'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6', - 'enum' => [ - '4', - '6', - ], - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '218.108.54.XX', 'title' => ''], ], [ - 'name' => 'RepeatType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ @@ -32421,554 +27129,142 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'string', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****', - ], - 'TotalCount' => [ - 'description' => 'The total number of the returned access control policies.'."\n", - 'type' => 'string', - 'example' => '100', - ], - 'Policys' => [ - 'description' => 'The information about the access control policies.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'None.'."\n", - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" - ."\n" - .'* **in**: inbound traffic'."\n" - .'* **out**: outbound traffic'."\n", - 'type' => 'string', - 'example' => 'in', - ], - 'Order' => [ - 'description' => 'The priority of the access control policy.'."\n" - ."\n" - .'The priority value starts from 1. A smaller priority value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SourceType' => [ - 'description' => 'The type of the source address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'example' => 'net', - ], - 'ApplicationName' => [ - 'description' => 'The application type supported by the access control policy. We recommend that you specify ApplicationNameList. Valid values:'."\n" - ."\n" - .'* **FTP**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **Memcache**'."\n" - .'* **MongoDB**'."\n" - .'* **MQTT**'."\n" - .'* **MySQL**'."\n" - .'* **RDP**'."\n" - .'* **Redis**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **SSH**'."\n" - .'* **SSL**'."\n" - .'* **VNC**'."\n" - .'* **ANY**: all types of applications'."\n", - 'type' => 'string', - 'example' => 'HTTP', - ], - 'HitTimes' => [ - 'description' => 'The number of hits for the access control policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Description' => [ - 'description' => 'The description of the access control policy.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'SourceGroupType' => [ - 'description' => 'The type of the source address book in the access control policy. Valid values:'."\n" - ."\n" - .'* **ip**: an address book that includes one or more IP addresses'."\n" - .'* **tag**: an Elastic Compute Service (ECS) tag-based address book that includes the IP addresses of the ECS instances with one or more specific tags'."\n" - .'* **domain**: an address book that includes one or more domain names'."\n" - .'* **threat**: an address book that includes one or more malicious IP addresses or domain names'."\n" - .'* **backsrc**: an address book that includes one or more back-to-origin addresses of Anti-DDoS Pro or Anti-DDoS Premium instances or Web Application Firewall (WAF) instances'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'DnsResultTime' => [ - 'description' => 'The time when the Domain Name System (DNS) resolution was performed. The value is a timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => 'The DNS resolution results.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'example' => '192.0.XX.XX,192.0.XX.XX', - ], - 'Proto' => [ - 'description' => 'The protocol type in the access control policy. Valid values:'."\n" - ."\n" - .'* **ANY**'."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n", - 'type' => 'string', - 'example' => 'TCP', - ], - 'DestinationGroupType' => [ - 'description' => 'The type of the destination address book in the access control policy. Valid values:'."\n" - ."\n" - .'* **ip**: an address book that includes one or more IP addresses'."\n" - .'* **tag**: an ECS tag-based address book that includes the IP addresses of the ECS instances with one or more specific tags'."\n" - .'* **domain**: an address book that includes one or more domain names'."\n" - .'* **threat**: an address book that includes one or more malicious IP addresses or domain names'."\n" - .'* **backsrc**: an address book that includes one or more back-to-origin addresses of Anti-DDoS Pro or Anti-DDoS Premium instances or WAF instances'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'Destination' => [ - 'description' => 'The destination address in the access control policy. The value of this parameter varies based on the value of DestinationType.'."\n" - ."\n" - .'* If the value of **DestinationType** is **net**, the value of Destination is a CIDR block. Example: 192.0.XX.XX/24.'."\n" - .'* If the value of **DestinationType** is **domain**, the value of Destination is a domain name. Example: aliyuncs.com.'."\n" - .'* If the value of **DestinationType** is **group**, the value of Destination is the name of an address book. Example: db_group.'."\n" - .'* If the value of **DestinationType** is **location**, the value of Destination is the name of a location. For more information about location codes, see AddControlPolicy. Example: \\["BJ11", "ZB"].'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'HitLastTime' => [ - 'description' => 'The time when the access control policy was last hit. The value is a timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPortGroup' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n", - 'type' => 'string', - 'example' => 'my_port_group', - ], - 'AclUuid' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], - 'DestPortType' => [ - 'description' => 'The type of the destination port in the access control policy. Valid values:'."\n" - ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => 'The source address in the access control policy. Valid values:'."\n" - ."\n" - .'* If **SourceType** is set to `net`, the value of Source is a CIDR block. Example: 192.0.XX.XX/24.'."\n" - .'* If **SourceType** is set to `group`, the value of Source is the name of an address book. Example: db_group.'."\n" - .'* If **SourceType** is set to `location`, the value of Source is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => 'The type of the destination address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'example' => 'net', - ], - 'DestPort' => [ - 'description' => 'The destination port in the access control policy.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'IpVersion' => [ - 'description' => 'The IP version used in the access control policy. Valid values:'."\n" - ."\n" - .'* **4**: IPv4'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'AclAction' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'example' => 'accept', - ], - 'Release' => [ - 'description' => 'The status of the access control policy. By default, an access control policy is enabled after it is created. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'ApplicationId' => [ - 'description' => 'The application ID in the access control policy.'."\n", - 'type' => 'string', - 'example' => '10***', - ], - 'DestinationGroupCidrs' => [ - 'description' => 'The CIDR blocks in the destination address book.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block in the destination address book.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => 'The ports in the destination port address book.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The port in the destination port address book.'."\n", - 'type' => 'string', - 'example' => '443/443', - ], - ], - 'SourceGroupCidrs' => [ - 'description' => 'The CIDR blocks in the source address book.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block in the source address book.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - ], - 'ApplicationNameList' => [ - 'description' => 'The application names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application type used in the access control policy. Valid values:'."\n" - ."\n" - .'* **FTP**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **Memcache**'."\n" - .'* **MongoDB**'."\n" - .'* **MQTT**'."\n" - .'* **MySQL**'."\n" - .'* **RDP**'."\n" - .'* **Redis**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **SSH**'."\n" - .'* **SSL**'."\n" - .'* **VNC**'."\n" - .'* **ANY**: all types of applications'."\n", - 'type' => 'string', - 'example' => 'HTTPS', - ], - ], - 'SpreadCnt' => [ - 'description' => 'The total quota consumed by the returned access control policies, which is the sum of the quota consumed by each policy. The quota that is consumed by an access control policy is calculated by using the following formula: Quota that is consumed by an access control policy = Number of source addresses (number of CIDR blocks or regions) × Number of destination addresses (number of CIDR blocks, regions, or domain names) × Number of port ranges × Number of applications.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10,000', - ], - 'CreateTime' => [ - 'description' => 'The time when the access control policy was created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ModifyTime' => [ - 'description' => 'The time when the access control policy was modified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'RepeatType' => [ - 'description' => 'The recurrence type based on which the access control policy takes effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', - ], - 'RepeatDays' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If RepeatType is set to `Permanent`, `None`, or `Daily`, this parameter is left empty. Example: \\[].'."\n" - .'* If RepeatType is set to Weekly, this parameter must be specified. Example: \\[0, 6].'."\n" - ."\n" - .'> If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.'."\n" - ."\n" - .'* If RepeatType is set to `Monthly`, this parameter must be specified. Example: \\[1, 31].'."\n" - ."\n" - .'> If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If RepeatType is set to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If RepeatType is set to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'RepeatStartTime' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a timestamp. Unit: seconds. The start time must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" - ."\n" - .'> If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694761200', - ], - 'EndTime' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a timestamp. Unit: seconds. The end time must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" - ."\n" - .'> If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694764800', - ], - 'DomainResolveType' => [ - 'description' => 'The domain name resolution method of the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:'."\n" - ."\n" - .'* **FQDN**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **DNS**: DNS-based dynamic resolution'."\n" - .'* **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution', - 'type' => 'string', - 'example' => 'FQDN', - ], - ], - ], - ], + 'Module' => ['description' => 'The application module.', 'type' => 'string', 'deprecated' => true, 'example' => 'sg_server', 'title' => ''], + 'SecurityMode' => ['description' => 'The security mode. Valid values:'."\n" + ."\n" + .'**0**: disabled.'."\n" + ."\n" + .'**1**: enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C6D68A02-54D5-5F5C-A8AA-6D6C2874****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"HitTimes\\": 100,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX,192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"DestPort\\": \\"80\\",\\n \\"IpVersion\\": 6,\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"10***\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SpreadCnt\\": 10000,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\n 100\\n \\n in\\n 1\\n net\\n HTTP\\n 100\\n test\\n ip\\n 1579261141\\n 192.0.XX.XX,192.0.XX.XX\\n TCP\\n ip\\n 192.0.XX.XX/24\\n 1579261141\\n my_port_group\\n 00281255-d220-4db1-8f4f-c4df221a****\\n port\\n 192.0.XX.XX/24\\n net\\n 80\\n 6\\n accept\\n true\\n 10***\\n 192.0.XX.XX/24\\n 80/80\\n 192.0.XX.XX/24\\n HTTP\\n 10000\\n 1761062400\\n 1761062400\\n \\n","errorExample":""}]', - 'title' => 'DescribeControlPolicy', - 'description' => 'You can call the DescribeControlPolicy operation to query the details about access control policies by page.'."\n" + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSecurityMode', + 'description' => 'You can use this operation to query the safe mode of Cloud Firewall.'."\n" ."\n" - .'## Limits'."\n" + .'## QPS limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeACLProtectTrend' => [ - 'summary' => 'Queries the statistics on the requests that are blocked by the access control list (ACL) feature.', - 'methods' => [ - 'post', - 'get', + .'This operation is limited to 10 queries per second (QPS) for each user. If you exceed this limit, your API calls are throttled. Throttling can affect your business operations. We recommend that you plan your API calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"SecurityMode\\": 1,\\n \\"RequestId\\": \\"C6D68A02-54D5-5F5C-A8AA-6D6C2874****\\"\\n}","type":"json"}]', + ], + 'DescribeSecurityProxy' => [ + 'summary' => 'Retrieves NAT firewall information.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68171', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '68360', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '223.95.87.130', - ], + 'schema' => ['description' => 'The language type for the request and response messages. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language type for the request and response messages. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'required' => false, 'example' => 'proxy-nat80d763eb0dee4eacaec9', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'ProxyName', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp that is accurate to seconds.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1677050306', - ], + 'schema' => ['description' => 'The name of the NAT firewall. The name can contain uppercase and lowercase letters, Chinese characters, digits, and underscores (_). The name must be 4 to 50 characters in length and cannot start with an underscore.', 'type' => 'string', 'required' => false, 'example' => 'nat-idmp-fir', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp that is accurate to seconds.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1670397599', - ], + 'schema' => ['description' => 'The region ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The VPC-connected instance ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-zm0h3c1exm5bifuorg8c5', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The status of Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **configuring**: Being created.'."\n" + .'- **deleting**: Being deleted.'."\n" + .'- **normal**: Normal.'."\n" + .'- **abnormal**: Abnormal.'."\n" + .'- **opening**: Being enabled.'."\n" + .'- **closing**: Being disabled.'."\n" + .'- **closed**: Disabled.', 'type' => 'string', 'required' => false, 'example' => 'normal', 'title' => ''], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => 'The page number of the current page.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries per page in a paged query. Maximum value: 50.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member accounts of the current Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], ], 'responses' => [ @@ -32976,99 +27272,97 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '9063AB86-6FFA-5B2D-A16D-697C966DECA3', - ], - 'Interval' => [ - 'description' => 'The interval for returning data. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '86400', - ], - 'TotalProtectCnt' => [ - 'description' => 'The total number of requests that are blocked by the ACL feature.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '300', - ], - 'InProtectCnt' => [ - 'description' => 'The number of internal requests that are blocked by the ACL feature.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'InterVPCProtectCnt' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'OutProtectCnt' => [ - 'description' => 'The number of external requests that are blocked by the ACL feature.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'TrendList' => [ - 'description' => 'The statistics on the requests that are blocked by the ACL feature.'."\n", + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], + 'ProxyList' => [ + 'description' => 'The list of NAT firewalls.', 'type' => 'array', 'items' => [ + 'description' => 'The NAT firewall list information.', 'type' => 'object', 'properties' => [ - 'Time' => [ - 'description' => 'The UNIX timestamp at midnight (00:00:00) of each day, which indicates the date of the current day. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1697299200', - ], - 'ProtectCnt' => [ - 'description' => 'The number of requests that are blocked by ACL on the current day.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', + 'VpcId' => ['description' => 'The VPC-connected instance ID.', 'type' => 'string', 'example' => 'vpc-wz9xn35tq33hunzvpu0se', 'title' => ''], + 'Status' => ['description' => 'The status of Cloud Firewall. Valid values:'."\n" + .'- **configuring**: Being created.'."\n" + .'- **deleting**: Being deleted.'."\n" + .'- **normal**: Normal.'."\n" + .'- **abnormal**: Abnormal.'."\n" + .'- **opening**: Being enabled.'."\n" + .'- **closing**: Being disabled.'."\n" + .'- **closed**: Disabled.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the VPC.', 'type' => 'string', 'example' => 'ap-southeast-1', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT gateway.', 'type' => 'string', 'example' => 'ecs-slb-eip-waf', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member accounts.', 'type' => 'string', 'example' => '1797733170015112', 'title' => ''], + 'ProxyId' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'example' => 'proxy-nat4921f192b6cf438d93f8', 'title' => ''], + 'ProxyName' => ['description' => 'The name of the NAT firewall.', 'type' => 'string', 'example' => 'nat-idmp-fir', 'title' => ''], + 'VpcName' => ['description' => 'The name of the VPC instance.', 'type' => 'string', 'example' => 'vpc-bp1kw9igsq0yyzeanqamx', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch to which the Cloud Firewall interface belongs.', 'type' => 'string', 'example' => 'vsw-5gu2qqfmjmwl8ktzgfekl', 'title' => ''], + 'CidrBlock' => ['description' => 'The IPv4 CIDR block of the VPC.', 'type' => 'string', 'example' => '192.168.0.0/16', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'example' => 'ngw-2zex8sf4s5vus8rq3rjqo', 'title' => ''], + 'Detail' => ['description' => 'The error details.', 'type' => 'string', 'example' => '“”', 'title' => ''], + 'SnatIpList' => [ + 'description' => 'The list of SNAT IP addresses.', + 'type' => 'array', + 'items' => ['description' => 'The list of SNAT IP addresses.', 'type' => 'string', 'example' => '""', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'StrictMode' => ['description' => 'Indicates whether strict mode is enabled. Valid values:'."\n" + .'- 1: Strict mode is enabled.'."\n" + .'- 0: Strict mode is disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], 'staticInfo' => [ + 'substitutions' => ['Cloudfw::2017-12-07::DescribeNatFirewallList'], 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966DECA3\\",\\n \\"Interval\\": 86400,\\n \\"TotalProtectCnt\\": 300,\\n \\"InProtectCnt\\": 100,\\n \\"InterVPCProtectCnt\\": 0,\\n \\"OutProtectCnt\\": 200,\\n \\"TrendList\\": [\\n {\\n \\"Time\\": 1697299200,\\n \\"ProtectCnt\\": 100\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeACLProtectTrend', - ], - 'DescribePolicyAdvancedConfig' => [ - 'summary' => 'Queries whether the strict mode is enabled for an access control policy.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Get NAT firewall (deprecated)', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"ProxyList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9xn35tq33hunzvpu0se\\",\\n \\"Status\\": \\"normal\\",\\n \\"RegionNo\\": \\"ap-southeast-1\\",\\n \\"NatGatewayName\\": \\"ecs-slb-eip-waf\\",\\n \\"MemberUid\\": \\"1797733170015112\\",\\n \\"ProxyId\\": \\"proxy-nat4921f192b6cf438d93f8\\",\\n \\"ProxyName\\": \\"nat-idmp-fir\\",\\n \\"VpcName\\": \\"vpc-bp1kw9igsq0yyzeanqamx\\",\\n \\"VSwitchId\\": \\"vsw-5gu2qqfmjmwl8ktzgfekl\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"NatGatewayId\\": \\"ngw-2zex8sf4s5vus8rq3rjqo\\",\\n \\"Detail\\": \\"“”\\",\\n \\"SnatIpList\\": [\\n \\"\\\\\\"\\\\\\"\\"\\n ],\\n \\"StrictMode\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeSecurityProxyResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33077,57 +27371,35 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68336', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '68361', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '192.0.XX.XX', - 'deprecated' => true, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => 'The natural language of the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-uf6y16l23fm8hq0****', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The natural language of the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '136481150091****', 'title' => ''], ], ], 'responses' => [ @@ -33135,63 +27407,119 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InternetSwitch' => [ - 'description' => 'Indicates whether the strict mode is enabled for the access control policy. Valid values:'."\n" - ."\n" - .'* **on**: The strict mode is enabled.'."\n" - .'* **off**: The strict mode is disabled.'."\n", - 'type' => 'string', - 'example' => 'off', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InternetSwitch\\": \\"off\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n off\\n","errorExample":""}]', - 'title' => 'DescribePolicyAdvancedConfig', - 'description' => 'You can call the DescribePolicyAdvancedConfig operation to query whether the strict mode is enabled for an access control policy. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribePolicyPriorUsed' => [ - 'summary' => 'Queries the priority range of access control policies.', - 'methods' => [ - 'post', - 'get', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A8E8D50E-9F45-5662-B116-A1D0807F****', 'title' => ''], + 'ResourceList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'VpcList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'example' => 'vpc-8vbuzirdl3w1r7exw****', 'title' => ''], + 'VpcName' => ['description' => 'The name of the VPC.', 'type' => 'string', 'example' => 'vpc-wz94a4q37rgl7g****', 'title' => ''], + 'CidrBlock' => ['description' => 'The IPv4 CIDR block of the VPC.', 'type' => 'string', 'example' => '192.168.0.0/16', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the member account.', 'type' => 'string', 'example' => '157862808111****', 'title' => ''], + 'NatGateways' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status of the NAT Gateway.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'Detail' => ['description' => 'The status of the NAT Gateway.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'NatGatewayId' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-bp1bm0k2t8i6ooxu****', 'title' => ''], + 'NatGatewayName' => ['description' => 'The name of the NAT Gateway.', 'type' => 'string', 'example' => 'ngw-test', 'title' => ''], + 'NatRouteEntryList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NextHopId' => ['description' => 'The ID of the next hop.', 'type' => 'string', 'example' => 'ngw-2zey0w2u02u1x584m****', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block.', 'type' => 'string', 'example' => '10.0.70.XX/24', 'title' => ''], + 'RouteTableId' => ['description' => 'The ID of the route table.', 'type' => 'string', 'example' => 'vtb-2ze409pp09d994a****', 'title' => ''], + 'NextHopType' => ['description' => 'The network type of the next hop.', 'type' => 'string', 'example' => 'NatGateway', 'title' => ''], + ], + 'description' => 'The NAT route table.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of NAT route tables.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Information about the NAT Gateway.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of NAT gateways.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of VPCs.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of VPCs.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of resources.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of resources.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeSecurityProxyResources', + 'summary' => 'Describes NAT firewall resources.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxyResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E8D50E-9F45-5662-B116-A1D0807F****\\",\\n \\"ResourceList\\": [\\n {\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"VpcName\\": \\"vpc-wz94a4q37rgl7g****\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"MemberUid\\": \\"157862808111****\\",\\n \\"NatGateways\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"Detail\\": \\"Available\\",\\n \\"NatGatewayId\\": \\"ngw-bp1bm0k2t8i6ooxu****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatRouteEntryList\\": [\\n {\\n \\"NextHopId\\": \\"ngw-2zey0w2u02u1x584m****\\",\\n \\"DestinationCidr\\": \\"10.0.70.XX/24\\",\\n \\"RouteTableId\\": \\"vtb-2ze409pp09d994a****\\",\\n \\"NextHopType\\": \\"NatGateway\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeSensitiveSwitch' => [ + 'summary' => 'Queries the status of the sensitive data detection switch.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -33200,80 +27528,67 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68337', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', - 'deprecated' => true, 'required' => false, - 'example' => '192.0.XX.XX', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'ParentCategory', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The parent class.', 'type' => 'string', 'required' => false, 'example' => 'universal_industry_template', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'SensitiveCategory', 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **in**: inbound.'."\n" - .'* **out**: outbound.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'in', - ], + 'schema' => ['description' => 'The type of the sensitive credential.', 'type' => 'string', 'required' => false, 'example' => 'id_card', 'title' => ''], ], [ - 'name' => 'IpVersion', + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'CategoryName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the category.', 'type' => 'string', 'required' => false, 'example' => 'Identity card', 'title' => ''], + ], + [ + 'name' => 'SensitiveLevel', + 'in' => 'query', + 'schema' => ['description' => 'The sensitivity level.', 'type' => 'string', 'required' => false, 'example' => 'S3', 'title' => ''], + ], + [ + 'name' => 'SwitchStatus', 'in' => 'query', 'schema' => [ - 'description' => 'The IP version of the asset that is protected by Cloud Firewall.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **4** (default): IPv4.'."\n" - .'* **6**: IPv6.'."\n", + 'description' => 'The status of the sensitive data detection switch.', + 'enumValueTitles' => ['disabled', 'enabled'], 'type' => 'string', 'required' => false, - 'example' => '6', - 'enum' => [ - '4', - '6', - ], + 'example' => '1', + 'title' => '', ], ], ], @@ -33282,119 +27597,158 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'End' => [ - 'description' => 'The lowest priority of existing access control policies.'."\n" - ."\n" - .'> The value -1 indicates the lowest priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '150', - ], - 'Start' => [ - 'description' => 'The highest priority of existing access control policies.'."\n" - ."\n" - .'> The value 0 indicates the highest priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'A7F3ED45-5556-5AF3-ADE3-EE48FFF0****'], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'UserSensitiveDataSwitchList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CategoryName' => ['description' => 'The name of the sensitive credential category.', 'type' => 'string', 'example' => 'Identity card', 'title' => ''], + 'Description' => ['description' => 'The description of the sensitive credential.', 'type' => 'string', 'example' => 'Sensitive ID card data leakage', 'title' => ''], + 'SensitiveCategory' => ['description' => 'The type of the sensitive credential.', 'type' => 'string', 'example' => 'id_card', 'title' => ''], + 'SensitiveLevel' => ['description' => 'The sensitivity level.', 'type' => 'string', 'example' => 'S3', 'title' => ''], + 'SwitchStatus' => [ + 'description' => 'The status of the sensitive data detection switch.', + 'enumValueTitles' => ['disabled', 'enabled'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + ], + 'description' => 'The list of sensitive data detection switches.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of sensitive data detection switches.', + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'OpenCount' => ['description' => 'The total number of enabled items.', 'type' => 'integer', 'format' => 'int64', 'example' => '80', 'title' => ''], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSensitiveSwitch', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F3ED45-5556-5AF3-ADE3-EE48FFF0****\\",\\n \\"TotalCount\\": 10,\\n \\"UserSensitiveDataSwitchList\\": [\\n {\\n \\"CategoryName\\": \\"Identity card\\",\\n \\"Description\\": \\"Sensitive ID card data leakage\\",\\n \\"SensitiveCategory\\": \\"id_card\\",\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SwitchStatus\\": 1\\n }\\n ],\\n \\"OpenCount\\": 80\\n}","type":"json"}]', + ], + 'DescribeSignatureLibVersion' => [ + 'summary' => 'Queries the version information of the signature library.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '185095', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79B8C946', 'title' => ''], + 'Version' => [ + 'description' => 'The version information.', + 'type' => 'array', + 'items' => [ + 'description' => 'Version details.', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => 'The type of the signature library.', + 'enumValueTitles' => ['ips' => 'Basic protection and virtual patching', 'intelligence' => 'Threat intelligence'], + 'type' => 'string', + 'title' => '', + 'example' => 'ips', + ], + 'Version' => ['description' => 'The version number of the signature library.', 'type' => 'string', 'title' => '', 'example' => 'IPS-2307-02'], + 'UpdateTime' => ['description' => 'The time when the signature library was updated. This value is a Unix timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1741067915', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The destination is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => 'This request uses the same client token as the previous request, but not the same. Do not reuse client tokens in different requests unless the request is the same.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"End\\": 150,\\n \\"Start\\": -1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 150\\n -1\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => 'DescribePolicyPriorUsed', - 'description' => 'You can call this operation to query the priority range of the access control policies that match specific query conditions.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeControlPolicyDomainResolve' => [ - 'summary' => '查询访问控制策略的域名解析结果', - 'methods' => [ - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79B8C946\\",\\n \\"Version\\": [\\n {\\n \\"Type\\": \\"ips\\",\\n \\"Version\\": \\"IPS-2307-02\\",\\n \\"UpdateTime\\": 1741067915\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeSignatureLibVersion', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSignatureLibVersion'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSignatureLibVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeSlrGrant' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33406,591 +27760,414 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '221221', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68366', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '113.225.22.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'UserType' => [ + 'description' => 'The type of the account.', + 'enumValueTitles' => ['sub' => 'RAM user', 'customer' => 'Alibaba Cloud account'], + 'type' => 'string', + 'example' => 'sub', + 'title' => '', + ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '1BD3D277-AE2F-5609-893F-FF7A72A****', 'title' => ''], + 'IsGranted' => [ + 'description' => 'Indicates whether the authorization is successful.', + 'enumValueTitles' => ['true' => 'Yes', 'false' => 'No'], + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSlrGrant', + 'summary' => 'Queries the authorization information of a service-linked role (SLR) for a user.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlrGrant', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UserType\\": \\"sub\\",\\n \\"RequestId\\": \\"1BD3D277-AE2F-5609-893F-FF7A72A****\\",\\n \\"IsGranted\\": true\\n}","type":"json"}]', + ], + 'DescribeSlsAnalyzeOpenStatus' => [ + 'summary' => 'Queries the enabled status of Log Service (SLS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IpVersion', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68367', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response messages. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'title' => '', 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '4', - 'enum' => [ - '4', - '6', + 'type' => 'object', + 'properties' => [ + 'OpenStatus' => ['type' => 'string', 'description' => 'The enabled status of SLS. Valid values:'."\n" + ."\n" + .'**true**: enabled.'."\n" + ."\n" + .'**false**: disabled.', 'title' => '', 'example' => 'false'], + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '6CC01A2B-92FB-535C-9415-9A951C20****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeSlsAnalyzeOpenStatus', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'FirewallType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'nat' => 'nat', - 'vpc' => 'vpc', - 'internet' => 'internet', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlsAnalyzeOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'internet', ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OpenStatus\\": \\"false\\",\\n \\"RequestId\\": \\"6CC01A2B-92FB-535C-9415-9A951C20****\\"\\n}","type":"json"}]', + ], + 'DescribeThreatIntelligenceSwitch' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'ResolveResult' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '24', 'title' => ''], + 'CategoryList' => [ + 'description' => 'The list of threat intelligence categories.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The list of threat intelligence categories.', 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'example.com', - ], - 'UpdateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579091739', - ], - 'IpVersion' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 4 => '4', - 6 => '6', - ], - 'example' => '4', - ], - 'IpAddrList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "10.10.10.1"'."\n" - .']', - ], - ], + 'CategoryId' => ['description' => 'The ID of the threat intelligence category.', 'type' => 'string', 'example' => '3000037', 'title' => ''], + 'CategoryName' => ['description' => 'The category name.', 'type' => 'string', 'example' => 'Tor Export Malicious IP', 'title' => ''], + 'CategoryDescribe' => ['description' => 'The category description.', 'type' => 'string', 'example' => 'Tor Export Malicious IP', 'title' => ''], + 'CategoryParentId' => ['description' => 'The ID of the parent threat intelligence category.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'Action' => ['description' => 'The action of the rule. Valid values:'."\n" + ."\n" + .' **alert**: monitor mode.'."\n" + ."\n" + .' **drop**: Block Mode.', 'type' => 'string', 'example' => 'alert', 'title' => ''], + 'EnableStatus' => ['description' => 'The enabling status. Valid values:'."\n" + ."\n" + .' **1**: enabled.'."\n" + ."\n" + .' **0**: disabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6B8E0379-2629-59A1-B811-96F3E****'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query threat intelligence configuration information', + 'summary' => 'Queries the threat intelligence configuration information.', + 'description' => 'This operation is generally used to perform a paged query on the information about access control policies of NAT firewalls.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResolveResult\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"UpdateTime\\": 1579091739,\\n \\"IpVersion\\": 4,\\n \\"IpAddrList\\": [\\n \\"[\\\\n \\\\\\"10.10.10.1\\\\\\"\\\\n]\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 24,\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"3000037\\",\\n \\"CategoryName\\": \\"Tor Export Malicious IP\\",\\n \\"CategoryDescribe\\": \\"Tor Export Malicious IP\\",\\n \\"CategoryParentId\\": \\"123\\",\\n \\"Action\\": \\"alert\\",\\n \\"EnableStatus\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"6B8E0379-2629-59A1-B811-96F3E****\\"\\n}","type":"json"}]', ], - 'AddControlPolicy' => [ - 'summary' => 'Creates an access control policy.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeTrFirewallPolicyBackUpAssociationList' => [ + 'summary' => 'You can obtain an ACL backup for a VPC firewall for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68094', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '150101', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall for a transit router.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-8b268ce1b26e4c68****', 'title' => ''], ], [ - 'name' => 'AclAction', + 'name' => 'TrFirewallRoutePolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'accept', - ], + 'schema' => ['description' => 'The ID of the firewall routing policy.', 'type' => 'string', 'required' => false, 'example' => 'policy-5dcafb12ff794a56****', 'title' => ''], ], [ - 'name' => 'ApplicationName', + 'name' => 'CandidateList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The application type supported by the access control policy. Valid values:'."\n" - ."\n" - .'* **FTP**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **Memcache**'."\n" - .'* **MongoDB**'."\n" - .'* **MQTT**'."\n" - .'* **MySQL**'."\n" - .'* **RDP**'."\n" - .'* **Redis**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **SSH**'."\n" - .'* **SSL_No_Cert**'."\n" - .'* **SSL**'."\n" - .'* **VNC**'."\n" - .'* **ANY**'."\n" - ."\n" - .'> The value of this parameter is based on the value of Proto. If Proto is set to TCP, you can set ApplicationName to any valid value. If Proto is set to UDP, ICMP, or ANY, you can set ApplicationName only to ANY. You must specify at least one of the ApplicationNameList and ApplicationName parameters.'."\n", - 'type' => 'string', + 'description' => 'The list of traffic redirection instances.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => 'The ID of the traffic redirection instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9grb8ng3y7h7lf2****'."\n", 'title' => ''], + 'CandidateType' => ['description' => 'The type of the traffic redirection instance.', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'ANY', - 'deprecated' => true, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Description', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The description of the access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'Allows traffic'."\n", + 'type' => 'object', + 'properties' => [ + 'PolicyAssociationBackupConfigs' => [ + 'description' => 'The list of route tables to recover.', + 'type' => 'array', + 'items' => [ + 'description' => 'The route table to be restored.', + 'type' => 'object', + 'properties' => [ + 'CandidateType' => ['description' => 'The type of the traffic redirection instance.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'CandidateId' => ['description' => 'The ID of the traffic redirection instance.', 'type' => 'string', 'example' => 'vpc-wz9grb8ng3y7h7lf2****', 'title' => ''], + 'OriginalRouteTableId' => ['description' => 'The ID of the original route table.', 'type' => 'string', 'example' => 'vtb-wz9slp3s7m4qrzvnq****', 'title' => ''], + 'CurrentRouteTableId' => ['description' => 'The ID of the route table used after traffic redirection.', 'type' => 'string', 'example' => 'vtb-wz9898grickmh5j09****', 'title' => ''], + 'CandidateName' => ['description' => 'The name of the traffic redirection instance.', 'type' => 'string', 'example' => 'vpc-instance', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C264A756-9B48-57E3-B312-716941E146C6', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'DestPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port in the access control policy. Valid values:'."\n" - ."\n" - .'* If Proto is set to ICMP, DestPort is automatically left empty.'."\n" - ."\n" - .'> If Proto is set to ICMP, access control does not take effect on the destination port.'."\n" - ."\n" - .'* If Proto is set to TCP, UDP, or ANY and DestPortType is set to group, DestPort is empty.'."\n" - ."\n" - .'> If DestPortType is set to group, you do not need to specify the destination port number. All ports on which the access control policy takes effect are included in the destination port address book.'."\n" - ."\n" - .'* If Proto is set to TCP, UDP, or ANY and DestPortType is set to port, the value of DestPort is the destination port number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorTrFwBackUpAssocationNotExist', 'errorMessage' => 'Tr firewall back up association not Exist.', 'description' => 'The routing table configuration before the drainage scenario is enabled cannot be obtained. The routing table before the drainage scenario is enabled may have been deleted.'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => ''], ], - [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* If DestinationType is set to net, the value of this parameter is a CIDR block.'."\n" - ."\n" - .' Example: 1.2.XX.XX/24'."\n" - ."\n" - .'* If DestinationType is set to group, the value of this parameter is an address book name.'."\n" - ."\n" - .' Example: db_group'."\n" - ."\n" - .'* If DestinationType is set to domain, the value of this parameter is a domain name.'."\n" - ."\n" - .' Example: \\*.aliyuncs.com'."\n" - ."\n" - .'* If DestinationType is set to location, the value of this parameter is a location.'."\n" - ."\n" - .' Example: \\["BJ11", "ZB"]'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX/24', - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PolicyAssociationBackupConfigs\\": [\\n {\\n \\"CandidateType\\": \\"VPC\\",\\n \\"CandidateId\\": \\"vpc-wz9grb8ng3y7h7lf2****\\",\\n \\"OriginalRouteTableId\\": \\"vtb-wz9slp3s7m4qrzvnq****\\",\\n \\"CurrentRouteTableId\\": \\"vtb-wz9898grickmh5j09****\\",\\n \\"CandidateName\\": \\"vpc-instance\\"\\n }\\n ],\\n \\"RequestId\\": \\"C264A756-9B48-57E3-B312-716941E146C6\\"\\n}","type":"json"}]', + 'title' => 'DescribeTrFirewallPolicyBackUpAssociationList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallPolicyBackUpAssociationList'], ], + ], + 'ramActions' => [ [ - 'name' => 'DestinationType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'net', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallPolicyBackUpAssociationList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], ], ], + ], + ], + 'DescribeTrFirewallV2RoutePolicyList' => [ + 'summary' => 'Queries the list of routing policies for a VPC firewall for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" - ."\n" - .'* **in**: inbound traffic'."\n" - .'* **out**: outbound traffic'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'in', - ], - ], - [ - 'name' => 'Proto', - 'in' => 'query', - 'schema' => [ - 'description' => 'The protocol type supported by the access control policy. Valid values:'."\n" - ."\n" - .'* **ANY**'."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ANY', - ], - ], - [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy. Valid values:'."\n" - ."\n" - .'* If SourceType is set to net, the value of this parameter is a CIDR block.'."\n" - ."\n" - .' Example: 1.1.XX.XX/24'."\n" - ."\n" - .'* If SourceType is set to group, the value of this parameter is an address book name.'."\n" - ."\n" - .' Example: db_group'."\n" - ."\n" - .'* If SourceType is set to location, the value of this parameter is a location.'."\n" - ."\n" - .' Example: \\["BJ11", "ZB"]'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX/24', - ], - ], - [ - 'name' => 'SourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the source address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], - ], - [ - 'name' => 'NewOrder', - 'in' => 'query', - 'schema' => [ - 'description' => 'The priority of the access control policy. The priority value starts from 1. A smaller priority value indicates a higher priority.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'DestPortType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination port in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], - ], - [ - 'name' => 'DestPortGroup', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n" - ."\n" - .'> If DestPortType is set to group, you must specify the name of the destination port address book.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', - ], - ], - [ - 'name' => 'Release', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:'."\n" - ."\n" - .'* **true**: enables the access control policy.'."\n" - .'* **false**: disables the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP version supported by the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **4**: IPv4'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6', - ], - ], - [ - 'name' => 'ApplicationNameList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The application types supported by the access control policy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application type supported by the access control policy. Valid values:'."\n" - ."\n" - .'* **FTP**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **Memcache**'."\n" - .'* **MongoDB**'."\n" - .'* **MQTT**'."\n" - .'* **MySQL**'."\n" - .'* **RDP**'."\n" - .'* **Redis**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **SSH**'."\n" - .'* **SSL_No_Cert**'."\n" - .'* **SSL**'."\n" - .'* **VNC**'."\n" - .'* **ANY**'."\n" - ."\n" - .'> The value of this parameter is based on the value of Proto. If Proto is set to TCP, you can set ApplicationNameList to any valid value in the `["HTTP","HTTPS",……]` format. If Proto is set to UDP, ICMP, or ANY, you can set ApplicationNameList only to ANY. You must specify at least one of the ApplicationNameList and ApplicationName parameters. If you specify both ApplicationNameList and ApplicationName, only the value of ApplicationNameList takes effect.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '["ANY"]', - ], - 'required' => false, - 'maxItems' => 30, - ], - ], - [ - 'name' => 'RepeatType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', - ], - ], - [ - 'name' => 'RepeatDays', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: \\[].'."\n" - .'* If you set RepeatType to Weekly, you must specify this parameter. Example: \\[0, 6].'."\n" - ."\n" - .'> If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.'."\n" - ."\n" - .'* If you set RepeatType to `Monthly`, you must specify this parameter. Example: \\[1, 31].'."\n" - ."\n" - .'> If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If you set RepeatType to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If you set RepeatType to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '142849', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'RepeatStartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The start time must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" - ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RepeatEndTime', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The end time must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" - ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => 'The ID of the VPC firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-d5ba592ac6c84aff****', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DomainResolveType', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" - ."\n" - .'* **FQDN**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **DNS**: DNS-based dynamic resolution'."\n" - .'* **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution', - 'type' => 'string', - 'required' => false, - 'example' => 'FQDN', - ], + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The ID of the firewall routing policy.', 'type' => 'string', 'required' => false, 'example' => 'policy-7b66257c14e141fb****', 'title' => ''], ], ], 'responses' => [ @@ -33998,838 +28175,663 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => 'The ID of the access control policy that is created on the Internet firewall.'."\n", - 'type' => 'string', - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'TrFirewallRoutePolicies' => [ + 'description' => 'The list of firewall routing policies.', + 'type' => 'array', + 'items' => [ + 'description' => 'A firewall routing policy.', + 'type' => 'object', + 'properties' => [ + 'PolicyType' => ['description' => 'The type of traffic redirection scenario for the VPC firewall. The firewall is created for a transit router that belongs to an Enterprise Edition Cloud Enterprise Network (CEN) instance. Valid values:'."\n" + ."\n" + .'- **fullmesh**: full-mesh'."\n" + ."\n" + .'- **one\\_to\\_one**: point-to-point'."\n" + ."\n" + .'- **end\\_to\\_end**: point-to-multipoint', 'type' => 'string', 'example' => 'fullmesh', 'title' => ''], + 'PolicyName' => ['description' => 'The name of the policy.', 'type' => 'string', 'example' => 'Singapore Point to Multipoint', 'title' => ''], + 'PolicyDescription' => ['description' => 'The description of the policy.', 'type' => 'string', 'example' => 'Point to multipoint', 'title' => ''], + 'SrcCandidateList' => [ + 'description' => 'The list of source traffic redirection instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'The source traffic redirection instance.', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => 'The ID of the traffic redirection instance.', 'type' => 'string', 'example' => 'vpc-2ze9epancaw8t4sha****', 'title' => ''], + 'CandidateType' => ['description' => 'The type of the traffic redirection instance.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'DestCandidateList' => [ + 'description' => 'The list of destination traffic redirection instances.', + 'type' => 'array', + 'items' => [ + 'description' => 'The destination traffic redirection instance.', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => 'The ID of the traffic redirection instance.', 'type' => 'string', 'example' => 'vpc-2ze9epancaw8t4sha****', 'title' => ''], + 'CandidateType' => ['description' => 'The type of the traffic redirection instance.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'TrFirewallRoutePolicyId' => ['description' => 'The ID of the firewall routing policy.', 'type' => 'string', 'example' => 'policy-7b66257c14e141fb****', 'title' => ''], + 'PolicyStatus' => ['description' => 'The status of the policy. Valid values:'."\n" + ."\n" + .'- creating: The policy is being created.'."\n" + ."\n" + .'- deleting: The policy is being deleted.'."\n" + ."\n" + .'- opening: The policy is being enabled.'."\n" + ."\n" + .'- opened: The policy is enabled.'."\n" + ."\n" + .'- closing: The policy is being disabled.'."\n" + ."\n" + .'- closed: The policy is disabled.', 'type' => 'string', 'example' => 'opened', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '95EB5F3A-67FE-5780-92BD-5ECBA772AB7E', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'string', 'example' => '1', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorParametersGroupPort', - 'errorMessage' => 'The group port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorSrcMand', - 'errorMessage' => 'Source is mandatory for this action.', - ], - [ - 'errorCode' => 'ErrorEmptyDomainResolveType', - 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 00281255-d220-4db1-8f4f-c4df221ad84c\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => 'AddControlPolicy', - 'description' => 'You can call the AddControlPolicy operation to create an access control policy to allow, block, or monitor traffic that reaches Cloud Firewall.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => 'Location codes:'."\n" - ."\n" - .'* China: ZD'."\n" - .'* Beijing: BJ11'."\n" - .'* Tianjin: TJ12'."\n" - .'* Hebei: HB13'."\n" - .'* Shanxi: SX14'."\n" - .'* Liaoning: LN21'."\n" - .'* Jilin: JL22'."\n" - .'* Shanghai: SH31'."\n" - .'* Jiangsu: JS32'."\n" - .'* Zhejiang: ZJ33'."\n" - .'* Anhui: AH34'."\n" - .'* Fujian: FJ35'."\n" - .'* Jiangxi: JX36'."\n" - .'* Shandong: SD37'."\n" - .'* Henan: HN41'."\n" - .'* Hubei: HB42'."\n" - .'* Hunan: HN43'."\n" - .'* Guangdong: GD44'."\n" - .'* Hainan: HN46'."\n" - .'* Chongqing: CQ50'."\n" - .'* Sichuan: SC51'."\n" - .'* Guizhou: GZ52'."\n" - .'* Yunnan: YN53'."\n" - .'* Shaanxi: SX61'."\n" - .'* Gansu: GS62'."\n" - .'* Qinghai: QH63'."\n" - .'* Heilongjiang: HLJ23'."\n" - .'* Xizang: XZ54'."\n" - .'* Guangxi: GX45'."\n" - .'* Nei Mongol: NMG15'."\n" - .'* Ningxia: NX64'."\n" - .'* Xinjiang: XJ65'."\n" - .'* Taiwan (China): TW'."\n" - .'* Hong Kong (China): HK'."\n" - .'* Macao (China): MO'."\n" - .'* Locations outside China: ZB'."\n" - .'* Asia (except the Chinese mainland): ZC'."\n" - .'* Europe: EU'."\n" - .'* Africa: AF'."\n" - .'* North America: NA'."\n" - .'* South America: LA'."\n" - .'* Oceania: OA'."\n" - .'* Antarctica: AQ'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AddDomainResolveRealtimeTask' => [ - 'summary' => '新增域名解析实时任务', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicies\\": [\\n {\\n \\"PolicyType\\": \\"fullmesh\\",\\n \\"PolicyName\\": \\"Singapore Point to Multipoint\\",\\n \\"PolicyDescription\\": \\"Point to multipoint\\",\\n \\"SrcCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"DestCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"TrFirewallRoutePolicyId\\": \\"policy-7b66257c14e141fb****\\",\\n \\"PolicyStatus\\": \\"opened\\"\\n }\\n ],\\n \\"RequestId\\": \\"95EB5F3A-67FE-5780-92BD-5ECBA772AB7E\\",\\n \\"TotalCount\\": \\"1\\"\\n}","type":"json"}]', + 'title' => 'DescribeTrFirewallV2RoutePolicyList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallV2RoutePolicyList'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallV2RoutePolicyList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeTrFirewallsV2Detail' => [ + 'summary' => 'Retrieves the details of a VPC firewall for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '228230', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '142863', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'FirewallType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'nat' => 'nat', - 'vpc' => 'vpc', - 'internet' => 'internet', - ], - 'example' => 'internet', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'DomainName', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'The ID of the VPC firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-a5a6b89f46764928****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', - ], + 'FirewallName' => ['description' => 'The name of the VPC firewall instance.', 'type' => 'string', 'example' => 'cloudfirewall-manual', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B', 'title' => ''], + 'FirewallId' => ['description' => 'The ID of the VPC firewall instance.', 'type' => 'string', 'example' => 'vfw-tr-9c7c711abdfa4d80****', 'title' => ''], + 'FirewallStatus' => ['description' => 'The status of the firewall. Valid values:'."\n" + ."\n" + .'- Creating: The firewall is being created.'."\n" + ."\n" + .'- Deleting: The firewall is being deleted.'."\n" + ."\n" + .'- Ready: The firewall is ready.', 'type' => 'string', 'example' => 'Ready', 'title' => ''], + 'CenId' => ['description' => 'The ID of the Cloud Enterprise Network (CEN) instance.', 'type' => 'string', 'example' => 'cen-37nddhri7jf0d2****', 'title' => ''], + 'TransitRouterId' => ['description' => 'The ID of the transit router instance.', 'type' => 'string', 'example' => 'tr-wz9y8sgug8b1xb416****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the transit router instance.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'FirewallEniId' => ['description' => 'The ID of the elastic network interface (ENI) of the firewall.', 'type' => 'string', 'example' => 'eni-uf621u00nafypeex****', 'title' => ''], + 'FirewallEniVpcId' => ['description' => 'The ID of the VPC to which the ENI of the firewall belongs.', 'type' => 'string', 'example' => 'vpc-2zeppcci782zeh2bk****', 'title' => ''], + 'FirewallEniVswitchId' => ['description' => 'The ID of the vSwitch to which the ENI of the firewall belongs.', 'type' => 'string', 'example' => 'vsw-uf6ptq1kl1c1d9pw9****', 'title' => ''], + 'FirewallDescription' => ['description' => 'The description of the firewall.', 'type' => 'string', 'example' => 'vpc-firewall-description', 'title' => ''], + 'RouteMode' => ['description' => 'The routing mode. Valid values:'."\n" + ."\n" + .'- **managed**: automatic mode'."\n" + ."\n" + .'- **manual**: manual mode', 'type' => 'string', 'example' => 'managed', 'title' => ''], + 'FirewallSwitchStatus' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: The firewall is enabled.'."\n" + ."\n" + .'- **closed**: The firewall is disabled.'."\n" + ."\n" + .'- **notconfigured**: The firewall is not configured.'."\n" + ."\n" + .'- **configured**: The firewall is configured.'."\n" + ."\n" + .'- **creating**: The firewall is being created.'."\n" + ."\n" + .'- **opening**: The firewall is being enabled.'."\n" + ."\n" + .'- **deleting**: The firewall is being deleted.'."\n" + ."\n" + .'> If you do not specify this parameter, VPC firewalls in all states are queried.', 'type' => 'string', 'example' => 'opened', 'title' => ''], + 'FirewallVpcCidr' => ['description' => 'The CIDR block of the VPC that is automatically created for the firewall in automatic mode.', 'type' => 'string', 'example' => '10.0.0.0/16', 'title' => ''], + 'FirewallSubnetCidr' => ['description' => 'The CIDR block of the vSwitch that is automatically created in the firewall VPC to host the ENI of the firewall in automatic mode.', 'type' => 'string', 'example' => '10.0.1.0/24', 'title' => ''], + 'TrAttachmentMasterCidr' => ['description' => 'The primary CIDR block of the vSwitch that is automatically created in the firewall VPC to connect to the transit router in automatic mode.', 'type' => 'string', 'example' => '10.0.2.0/24', 'title' => ''], + 'TrAttachmentSlaveZone' => ['description' => 'The secondary zone of the vSwitch that is automatically created in the firewall VPC to connect to the transit router in automatic mode.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], + 'TrAttachmentSlaveCidr' => ['description' => 'The secondary CIDR block of the vSwitch that is automatically created in the firewall VPC to connect to the transit router in automatic mode.', 'type' => 'string', 'example' => '10.0.3.0/24', 'title' => ''], + 'TrAttachmentMasterZone' => ['description' => 'The primary zone of the vSwitch that is automatically created in the firewall VPC to connect to the transit router in automatic mode.', 'type' => 'string', 'example' => 'cn-hangzhou-h', 'title' => ''], + 'TrAttachmentId' => ['description' => 'The ID of the transit router attachment.', 'type' => 'string', 'example' => 'tr-attach-r1llaxxeha71jsm36v', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallTypeDuplicates', - 'errorMessage' => 'firewallType duplicates.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => ''], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal Error'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', - ], - 'ModifyControlPolicy' => [ - 'summary' => 'Modifies the configurations of an access control policy.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallName\\": \\"cloudfirewall-manual\\",\\n \\"RequestId\\": \\"7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B\\",\\n \\"FirewallId\\": \\"vfw-tr-9c7c711abdfa4d80****\\",\\n \\"FirewallStatus\\": \\"Ready\\",\\n \\"CenId\\": \\"cen-37nddhri7jf0d2****\\",\\n \\"TransitRouterId\\": \\"tr-wz9y8sgug8b1xb416****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallEniId\\": \\"eni-uf621u00nafypeex****\\",\\n \\"FirewallEniVpcId\\": \\"vpc-2zeppcci782zeh2bk****\\",\\n \\"FirewallEniVswitchId\\": \\"vsw-uf6ptq1kl1c1d9pw9****\\",\\n \\"FirewallDescription\\": \\"vpc-firewall-description\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"FirewallVpcCidr\\": \\"10.0.0.0/16\\",\\n \\"FirewallSubnetCidr\\": \\"10.0.1.0/24\\",\\n \\"TrAttachmentMasterCidr\\": \\"10.0.2.0/24\\",\\n \\"TrAttachmentSlaveZone\\": \\"cn-hangzhou-i\\",\\n \\"TrAttachmentSlaveCidr\\": \\"10.0.3.0/24\\",\\n \\"TrAttachmentMasterZone\\": \\"cn-hangzhou-h\\",\\n \\"TrAttachmentId\\": \\"tr-attach-r1llaxxeha71jsm36v\\"\\n}","type":"json"}]', + 'title' => 'DescribeTrFirewallsV2Detail', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2Detail'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2Detail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], + ], ], + ], + 'DescribeTrFirewallsV2List' => [ + 'summary' => 'Queries the list of VPC firewalls for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68467', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '142848', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AclAction', - 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'accept', - ], - ], - [ - 'name' => 'ApplicationName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the application that the access control policy supports. Valid values:'."\n" - ."\n" - .'* **ANY**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **MySQL**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **RDP**'."\n" - .'* **VNC**'."\n" - .'* **SSH**'."\n" - .'* **Redis**'."\n" - .'* **MQTT**'."\n" - .'* **MongoDB**'."\n" - .'* **Memcache**'."\n" - .'* **SSL**'."\n" - ."\n" - .'> The value **ANY** indicates all types of applications.'."\n" - ."\n" - .'> You must specify one of the ApplicationNameList and ApplicationName parameters. If you configure both ApplicationNameList and ApplicationName, only the value of ApplicationNameList is used.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - 'deprecated' => true, - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'DestPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port in the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], - ], - [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination address in the access control policy.'."\n" - ."\n" - .'* If **DestinationType** is set to net, the value of **Destination** is a CIDR block. Example: 1.2.XX.XX/24.'."\n" - .'* If **DestinationType** is set to group, the value of **Destination** is an address book. Example: db_group.'."\n" - .'* If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \\*.aliyuncs.com.'."\n" - .'* If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \\["BJ11", "ZB"].'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], - ], - [ - 'name' => 'DestinationType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" - ."\n" - .'* **in**: inbound traffic'."\n" - .'* **out**: outbound traffic'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['description' => 'The region ID of the transit router instance.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Proto', + 'name' => 'FirewallSwitchStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The protocol type that the access control policy supports. Valid values:'."\n" - ."\n" - .'* **ANY**'."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n" - ."\n" - .'> The value **ANY** indicates all types of applications.'."\n" - ."\n" - .'> If the traffic direction is outbound and the destination address is a threat intelligence address book of the domain name type or a cloud service address book, you can set Proto to TCP or ANY. If you set Proto to TCP, you can set ApplicationName to HTTP, HTTPS, SMTP, SMTPS, and SSL. If you set Proto to ANY, you can set ApplicationName to ANY.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'schema' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: Enabled'."\n" + ."\n" + .'- **closed**: Disabled'."\n" + ."\n" + .'- **notconfigured**: The VPC firewall is not configured.'."\n" + ."\n" + .'- **configured**: The VPC firewall is configured.'."\n" + ."\n" + .'- **creating**: The VPC firewall is being created.'."\n" + ."\n" + .'- **opening**: The VPC firewall is being enabled.'."\n" + ."\n" + .'- **deleting**: The VPC firewall is being deleted.'."\n" + ."\n" + .'> If you do not specify this parameter, VPC firewalls in all states are queried.', 'type' => 'string', 'required' => false, 'example' => 'opened', 'title' => ''], ], [ - 'name' => 'Source', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy.'."\n" - ."\n" - .'* If **SourceType** is set to net, the value of **Source** is a CIDR block. Example: 1.2.XX.XX/24.'."\n" - .'* If **SourceType** is set to group, the value of **Source** is an address book. Example: db_group.'."\n" - .'* If **SourceType** is set to location, the value of **Source** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \\["BJ11", "ZB"]'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], + 'schema' => ['description' => 'The page number for a paged query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n" - ."\n" - .'> To modify an access control policy, you must specify the UUID of the policy. You can call the [DescribeControlPolicy](~~138866~~) interface to query the UUID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page in a paged query. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'SourceType', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the source address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-f1799baa9e254651****', 'title' => ''], ], [ - 'name' => 'DestPortType', + 'name' => 'FirewallName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination port in the access control policy. Valid values:'."\n" - ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], + 'schema' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-test', 'title' => ''], ], [ - 'name' => 'DestPortGroup', + 'name' => 'RouteMode', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', - ], + 'schema' => ['description' => 'The routing mode. Valid values:'."\n" + ."\n" + .'- **managed**: automatic mode.'."\n" + ."\n" + .'- **manual**: manual mode.'."\n" + ."\n" + .'> If you do not specify this parameter, VPC firewalls in all routing modes are queried.', 'type' => 'string', 'required' => false, 'example' => 'managed', 'title' => ''], ], [ - 'name' => 'Release', + 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the access control policy. Valid values:'."\n" - ."\n" - .'* true: enabled'."\n" - .'* false: disabled'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The ID of the Cloud Enterprise Network (CEN) instance.', 'type' => 'string', 'required' => false, 'example' => 'cen-rig0t5zi96crkl****', 'title' => ''], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'TransitRouterId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The application names.'."\n" - ."\n" - .'> You must specify one of the ApplicationNameList and ApplicationName parameters. If you configure both ApplicationNameList and ApplicationName, only the value of ApplicationNameList is used.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - ], - 'required' => false, - 'maxItems' => 30, - ], + 'schema' => ['description' => 'The instance ID of the transit router.', 'type' => 'string', 'required' => false, 'example' => 'tr-uf6egtvyaedvt20xl****', 'title' => ''], ], - [ - 'name' => 'RepeatType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', - ], - ], - [ - 'name' => 'RepeatDays', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \\[]'."\n" - .'* If you set RepeatType to Weekly, you must specify this parameter. Example: \\[0, 6]'."\n" - ."\n" - .'> If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.'."\n" - ."\n" - .'* If you set RepeatType to `Monthly`, you must specify this parameter. Example: \\[1, 31]'."\n" - ."\n" - .'> If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If you set RepeatType to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If you set RepeatType to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], - ], - [ - 'name' => 'RepeatStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], - ], - [ - 'name' => 'RepeatEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], - ], - [ - 'name' => 'DomainResolveType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name resolution method of the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:'."\n" - ."\n" - .'* **FQDN**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **DNS**: DNS-based dynamic resolution'."\n" - .'* **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution', - 'type' => 'string', - 'required' => false, - 'example' => 'FQDN', - ], - ], - ], - 'responses' => [ - 200 => [ + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'string', 'example' => '6', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '1471E2EC-F706-5F11-A79B-BD583ACB8297', 'title' => ''], + 'VpcTrFirewalls' => [ + 'description' => 'The list of VPC firewalls.', + 'type' => 'array', + 'items' => [ + 'description' => 'The VPC firewall.', + 'type' => 'object', + 'properties' => [ + 'CenId' => ['description' => 'The ID of the CEN instance.', 'type' => 'string', 'example' => 'cen-03f8s0z052ka3v****', 'title' => ''], + 'CenName' => ['description' => 'The name of the CEN instance.', 'type' => 'string', 'example' => 'cen_swas', 'title' => ''], + 'CloudFirewallVpcOrderType' => [ + 'description' => 'The payer for the transit router (TR) instance that is created for the VPC firewall. Valid values:'."\n" + ."\n" + .'- **PayByCloudFirewall**: Cloud Firewall'."\n" + ."\n" + .'- **PayByCenOwner**: The account that owns the CEN instance', + 'enumValueTitles' => [], + 'type' => 'string', + 'example' => 'PayByCenOwner', + 'title' => '', + ], + 'FirewallId' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'example' => 'vfw-tr-99bc4f0fc88b4d00****', 'title' => ''], + 'FirewallSwitchStatus' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: Enabled'."\n" + ."\n" + .'- **closed**: Disabled'."\n" + ."\n" + .'- **notconfigured**: The VPC firewall is not configured.'."\n" + ."\n" + .'- **configured**: The VPC firewall is configured.'."\n" + ."\n" + .'- **creating**: The VPC firewall is being created.'."\n" + ."\n" + .'- **opening**: The VPC firewall is being enabled.'."\n" + ."\n" + .'- **deleting**: The VPC firewall is being deleted.'."\n" + ."\n" + .'> If you do not specify this parameter, VPC firewalls in all states are queried.', 'type' => 'string', 'example' => 'opened', 'title' => ''], + 'IpsConfig' => [ + 'description' => 'The configurations of the intrusion prevention system (IPS).', + 'type' => 'object', + 'properties' => [ + 'BasicRules' => ['description' => 'Indicates whether to enable the basic protection feature. Valid values:'."\n" + ."\n" + .'- **1**: enabled'."\n" + ."\n" + .'- **0**: disabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EnableAllPatch' => ['description' => 'Indicates whether to enable virtual patching. Valid values:'."\n" + ."\n" + .'- **1**: enabled'."\n" + ."\n" + .'- **0**: disabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RuleClass' => ['description' => 'The IPS rule group. Valid values:'."\n" + ."\n" + .'- **1**: loose'."\n" + ."\n" + .'- **2**: medium'."\n" + ."\n" + .'- **3**: strict', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'RunMode' => ['description' => 'The IPS mode. Valid values:'."\n" + ."\n" + .'- **1**: block mode'."\n" + ."\n" + .'- **0**: monitor mode', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'OwnerId' => ['description' => 'The ID of the Alibaba Cloud account that owns the VPC.', 'type' => 'integer', 'format' => 'int64', 'example' => '171761785151****', 'title' => ''], + 'PrecheckStatus' => ['description' => 'Indicates whether the VPC firewall can be automatically created. Valid values:'."\n" + ."\n" + .'- **passed**: The VPC firewall can be automatically created.'."\n" + ."\n" + .'- **failed**: The VPC firewall cannot be automatically created.'."\n" + ."\n" + .'- **unknown**: The status is unknown.', 'type' => 'string', 'example' => 'passed', 'title' => ''], + 'ProtectedResource' => [ + 'description' => 'The list of protected resources.', + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => 'The number of protected resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EcrList' => [ + 'description' => 'The list of protected Express Connect Router (ECR) instances.', + 'type' => 'array', + 'items' => ['description' => 'The list of protected ECR instances.', 'type' => 'string', 'example' => '['."\n" + .' "ecr-d6yi3kl5qxmvkz****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'PeerTrList' => [ + 'description' => 'The list of protected peer transit routers.', + 'type' => 'array', + 'items' => ['description' => 'The list of protected peer transit routers.', 'type' => 'string', 'example' => '['."\n" + .' "tr-2zegxdvs5f2je81ph****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VbrList' => [ + 'description' => 'The list of protected virtual border routers (VBRs).', + 'type' => 'array', + 'items' => ['description' => 'The list of protected VBRs.', 'type' => 'string', 'example' => '['."\n" + .' "vbr-2zegxdvs5f2je81ph****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VpcList' => [ + 'description' => 'The list of protected VPCs.', + 'type' => 'array', + 'items' => ['description' => 'The list of protected VPCs.', 'type' => 'string', 'example' => '["vpc-2zegxdvs5f2je81ph****"]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VpnList' => [ + 'description' => 'The list of protected VPN gateways.', + 'type' => 'array', + 'items' => ['description' => 'The list of protected VPN gateways.', 'type' => 'string', 'example' => '['."\n" + .' "vpn-2zegxdvs5f2je81ph****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'RegionNo' => ['description' => 'The region ID of the transit router instance.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'RegionStatus' => ['description' => 'The status of the region. Valid values:'."\n" + ."\n" + .'- **enable**: The VPC firewall is available in the region.'."\n" + ."\n" + .'- **disable**: The VPC firewall is not available in the region.', 'type' => 'string', 'example' => 'enable', 'title' => ''], + 'ResultCode' => ['description' => 'The result code of the operation to create the VPC firewall. Valid values:'."\n" + ."\n" + .'- **RegionDisable**: The VPC firewall is not supported in the region where the network instance resides. The VPC firewall cannot be created.'."\n" + ."\n" + .'- An empty string: The VPC firewall can be created for the network instance.', 'type' => 'string', 'example' => ' RegionDisable', 'title' => ''], + 'RouteMode' => ['description' => 'The routing mode. Valid values:'."\n" + ."\n" + .'- **managed**: automatic mode'."\n" + ."\n" + .'- **manual**: manual mode', 'type' => 'string', 'example' => 'managed', 'title' => ''], + 'TransitRouterId' => ['description' => 'The instance ID of the transit router.', 'type' => 'string', 'example' => 'tr-2vcmhjs88nil55fvu****', 'title' => ''], + 'UnprotectedResource' => [ + 'description' => 'The list of unprotected resources.', + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => 'The number of unprotected resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EcrList' => [ + 'description' => 'The list of unprotected Express Connect Router (ECR) instances.', + 'type' => 'array', + 'items' => ['description' => 'The list of unprotected ECR instances.', 'type' => 'string', 'example' => '['."\n" + .' "ecr-d6yi3kl5qxmvkz****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'PeerTrList' => [ + 'description' => 'The list of unprotected peer transit routers.', + 'type' => 'array', + 'items' => ['description' => 'The list of unprotected peer transit routers.', 'type' => 'string', 'example' => '['."\n" + .' "tr-2zegxdvs5f2je81ph****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VbrList' => [ + 'description' => 'The list of unprotected virtual border routers (VBRs).', + 'type' => 'array', + 'items' => ['description' => 'The list of unprotected VBRs.', 'type' => 'string', 'example' => '['."\n" + .' "vbr-2zegxdvs5f2je81ph****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VpcList' => [ + 'description' => 'The list of unprotected VPCs.', + 'type' => 'array', + 'items' => ['description' => 'The list of unprotected VPCs.', 'type' => 'string', 'example' => '['."\n" + .' "vpc-2zegxdvs5f2je81ph****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VpnList' => [ + 'description' => 'The list of unprotected VPN gateways.', + 'type' => 'array', + 'items' => ['description' => 'The list of unprotected VPN gateways.', 'type' => 'string', 'example' => '['."\n" + .' "vpn-2zegxdvs5f2je81ph****"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'VpcFirewallName' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'example' => 'vpc-firewall-test', 'title' => ''], + 'AclConfig' => [ + 'description' => 'The mode of the access control list (ACL) engine.', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => 'Indicates whether the strict mode is enabled.'."\n" + ."\n" + .'- 1: enabled'."\n" + ."\n" + .'- 0: disabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorEmptyDomainResolveType', - 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersProtoAppsMismatch', - 'errorMessage' => 'The protocol and applicationName mismatch.', - ], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => 'The user does not exist.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal Error'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => 'ModifyControlPolicy', - 'description' => 'You can call this operation to modify the configurations of an access control policy. The policy allows Cloud Firewall to allow, deny, or monitor the traffic that passes through Cloud Firewall.'."\n" - ."\n" - .'## [](#qps)Limit'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyControlPolicyPriority' => [ - 'summary' => 'Modifies the priority of an access control policy.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"6\\",\\n \\"RequestId\\": \\"1471E2EC-F706-5F11-A79B-BD583ACB8297\\",\\n \\"VpcTrFirewalls\\": [\\n {\\n \\"CenId\\": \\"cen-03f8s0z052ka3v****\\",\\n \\"CenName\\": \\"cen_swas\\",\\n \\"CloudFirewallVpcOrderType\\": \\"PayByCenOwner\\",\\n \\"FirewallId\\": \\"vfw-tr-99bc4f0fc88b4d00****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RuleClass\\": 3,\\n \\"RunMode\\": 1\\n },\\n \\"OwnerId\\": 0,\\n \\"PrecheckStatus\\": \\"passed\\",\\n \\"ProtectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResultCode\\": \\" RegionDisable\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"TransitRouterId\\": \\"tr-2vcmhjs88nil55fvu****\\",\\n \\"UnprotectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\n \\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeTrFirewallsV2List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2List'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2List', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], + ], ], + ], + 'DescribeTrFirewallsV2RouteList' => [ + 'summary' => 'Queries the route tables for a VPC firewall for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68469', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '142865', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AclUuid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '3770d603-3534-4878-b845-f00095ee5048', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Order', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The priority of the access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall for the transit router.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-8bcfa0f2f12d411e****', 'title' => ''], + ], + [ + 'name' => 'TrFirewallRoutePolicyId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the firewall routing policy.', 'type' => 'string', 'required' => false, 'example' => 'policy-7d5c672e37ee4175****', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Default value: 10.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], ], 'responses' => [ @@ -34837,462 +28839,377 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '586F34E8-3F16-4C08-9FFC-8FFDC64B9D0D', + 'FirewallRouteDetailList' => [ + 'description' => 'The list of route tables for the VPC firewall.', + 'type' => 'array', + 'items' => [ + 'description' => 'The route table for the VPC firewall.', + 'type' => 'object', + 'properties' => [ + 'TrFirewallRoutePolicyId' => ['description' => 'The ID of the firewall routing policy.', 'type' => 'string', 'example' => 'policy-04ecbbc6720d4f90****', 'title' => ''], + 'TrFirewallRouteTableId' => ['description' => 'The ID of the route table to which the route belongs.', 'type' => 'string', 'example' => 'vtb-2zeockxxxorv0mnhz****', 'title' => ''], + 'TrFirewallRouteDestination' => ['description' => 'The destination CIDR block of the route.', 'type' => 'string', 'example' => '192.168.10.0/25', 'title' => ''], + 'TrFirewallRouteNexthop' => ['description' => 'The ID of the next hop for the route.', 'type' => 'string', 'example' => 'tr-attach-hnxab1y0pxn16p****', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'ABF190A2-B4D0-53F6-995A-5690A721F91C', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersOldOrder', - 'errorMessage' => 'The oldOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred. Try again later.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"586F34E8-3F16-4C08-9FFC-8FFDC64B****\\"\\n}","type":"json"}]', - 'title' => 'ModifyControlPolicyPriority', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - ], - 'ModifyPolicyAdvancedConfig' => [ - 'summary' => 'Enables or disables the strict mode for an access control policy.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeTrFirewallsV2RouteList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2RouteList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2RouteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallRouteDetailList\\": [\\n {\\n \\"TrFirewallRoutePolicyId\\": \\"policy-04ecbbc6720d4f90****\\",\\n \\"TrFirewallRouteTableId\\": \\"vtb-2zeockxxxorv0mnhz****\\",\\n \\"TrFirewallRouteDestination\\": \\"192.168.10.0/25\\",\\n \\"TrFirewallRouteNexthop\\": \\"tr-attach-hnxab1y0pxn16p****\\"\\n }\\n ],\\n \\"RequestId\\": \\"ABF190A2-B4D0-53F6-995A-5690A721F91C\\"\\n}","type":"json"}]', + ], + 'DescribeTrafficLog' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68479', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68392', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => 'The IP address of the access source.', 'type' => 'string', 'required' => false, 'example' => '139.217.234.XXX', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", + 'description' => 'The language type of the received message. Valid values:'."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', - 'deprecated' => true, 'required' => false, - 'example' => '192.0.XX.XX', + 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The natural language of the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language type of the received message. Valid values:'."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'InternetSwitch', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the strict mode for the access control policy. Valid values:'."\n" - ."\n" - .'* **on**: enables the strict mode.'."\n" - .'* **off**: disables the strict mode.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'off', - ], + 'schema' => ['description' => 'The start time. Specify a UNIX timestamp in seconds. Only data within the last 7 days can be queried. A single query should not exceed one day.', 'type' => 'string', 'required' => true, 'example' => '1730946241', 'title' => ''], ], [ - 'name' => 'Eips', + 'name' => 'EndTime', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The IP addresses. The versions of the IP addresses must be the same. You can specify a maximum of 100 IP addresses.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.1', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'The end time. Specify a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1742926322', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - ], - ], + [ + 'name' => 'AppId', + 'in' => 'query', + 'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => false, 'example' => '7', 'title' => ''], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number of the query.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\r\\n","errorExample":""}]', - 'title' => 'ModifyPolicyAdvancedConfig', - 'description' => 'You can call the ModifyPolicyAdvancedConfig operation to enable or disable the strict mode for an access control policy. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteControlPolicy' => [ - 'summary' => 'Deletes an access control policy.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Maximum value: 20.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], - ], - 'operationType' => 'delete', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68146', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['description' => 'The rule ID.', 'type' => 'string', 'required' => false, 'example' => '8b115ae3-da64-4b80-81c1-1cd2dd42****', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the traffic.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The tracing watermark.', 'type' => 'string', 'required' => true, 'example' => 'yundun', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '182.92.206.XXX', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n" - ."\n" - .'To delete an access control policy, you must specify the UUID of the policy. You can call the [DescribeControlPolicy](~~138866~~) operation to query the UUID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '10.68.60.XXX', 'title' => ''], + ], + [ + 'name' => 'SrcPrivateIP', + 'in' => 'query', + 'schema' => ['description' => 'The private source IP address.', 'type' => 'string', 'required' => false, 'example' => '10.100.134.XX', 'title' => ''], ], [ 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **in**: inbound.'."\n" - .'* **out**: outbound.'."\n", + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'inbound.', 'out' => 'outbound.'], 'type' => 'string', 'required' => false, - 'example' => 'in', + 'example' => 'out', + 'title' => '', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'AssetRegion', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'RuleResult', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - ], - 'description' => '', + 'description' => 'The rule action result. Valid values:', + 'enumValueTitles' => ['allow.', 'alert.', 'drop.'], + 'type' => 'string', + 'required' => false, + 'example' => '0', + 'title' => '', ], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + [ + 'name' => 'IpProtocol', + 'in' => 'query', + 'schema' => ['description' => 'The protocol type.', 'type' => 'string', 'required' => false, 'example' => 'icmp', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', - 'title' => 'DeleteControlPolicy', - 'description' => 'You can call the DeleteControlPolicy operation to delete an access control policy that applies to inbound or outbound traffic.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteControlPolicyTemplate' => [ - 'summary' => 'Deletes an access control policy template.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SrcPort', + 'in' => 'query', + 'schema' => ['description' => 'The source port.', 'type' => 'string', 'required' => false, 'example' => '8082', 'title' => ''], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '140699', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + [ + 'name' => 'DstPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port.', 'type' => 'string', 'required' => false, 'example' => '9876', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'AttackType', 'in' => 'query', 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", + 'description' => 'The attack type.', + 'enumValueTitles' => [1 => 'abnormal connection.', 'command execution.', 'brute-force attack.', 'scan.', 'other.'], 'type' => 'string', 'required' => false, - 'example' => '61.178.12.52', + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'RuleSource', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", + 'description' => 'The rule source.', + 'enumValueTitles' => [1 => 'basic protection.', 'virtual patches.', 'basic ACL.', 'threat intelligence.', 9 => 'web filtering.', 'application control.', '1,2' => 'IPS'], 'type' => 'string', 'required' => false, - 'example' => 'en', + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'VulLevel', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", + 'description' => 'The vulnerability level.', + 'enumValueTitles' => [1 => 'low.', 'medium.', 'high.'], 'type' => 'string', 'required' => false, - 'example' => 'en', + 'example' => '1', + 'title' => '', ], ], [ - 'name' => 'TemplateId', + 'name' => 'Isp', + 'in' => 'query', + 'schema' => ['description' => 'The Internet service provider (ISP).', 'type' => 'string', 'required' => false, 'example' => 'telecom', 'title' => ''], + ], + [ + 'name' => 'Location', + 'in' => 'query', + 'schema' => ['description' => 'The region of the source or destination IP address.', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou', 'title' => ''], + ], + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'FlowType', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the access control policy template.'."\n", + 'description' => 'The flow log type.', + 'enumValueTitles' => ['UnidirectionalFlow' => 'unidirectional flow.', 'BidirectionalFlow' => 'bidirectional flow.'], 'type' => 'string', - 'required' => true, - 'example' => '719ce620-ae23-4e42-9f93-9191b4400b55', + 'required' => false, + 'example' => 'All', + 'title' => '', + ], + ], + [ + 'name' => 'FirewallType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The firewall type.', + 'enumValueTitles' => ['DnsFirewall' => 'DNS firewall.', 'VpcFirewall' => 'VPC firewall.', 'NatFirewall' => 'NAT firewall.', 'InternetFirewall' => 'Internet Border firewall.'], + 'type' => 'string', + 'required' => false, + 'example' => 'VpcFirewall', + 'title' => '', + ], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-a42bbb7b887148c9****', 'title' => ''], + ], + [ + 'name' => 'SrcVpcId', + 'in' => 'query', + 'schema' => ['description' => 'The source VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9309pkwe06lv****tk4', 'title' => ''], + ], + [ + 'name' => 'DstVpcId', + 'in' => 'query', + 'schema' => ['description' => 'The destination VPC ID.', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz95m1aq9b0h****vk1yb', 'title' => ''], + ], + [ + 'name' => 'SrcVpcRegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region of the source VPC asset.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], + ], + [ + 'name' => 'DstVpcRegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region of the destination VPC asset.', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'DomainUrl', + 'in' => 'query', + 'schema' => ['description' => 'The URL of the flow log.', 'type' => 'string', 'required' => false, 'example' => 'example.com', 'title' => ''], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => [ + 'description' => 'The IP version.', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'type' => 'string', + 'required' => false, + 'example' => '4', + 'title' => '', + ], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '128599825273****', 'title' => ''], + ], + [ + 'name' => 'NatFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The NAT firewall ID.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-7a9c8901ed394****', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The NAT gateway ID.', 'type' => 'string', 'required' => false, 'example' => 'ngw-2zew6yn017hhzbm****', 'title' => ''], + ], + [ + 'name' => 'AclPreState', + 'in' => 'query', + 'schema' => ['description' => 'The ACL pre-match status.', 'type' => 'string', 'required' => false, 'example' => 'normal', 'title' => ''], + ], + [ + 'name' => 'AclPreRuleId', + 'in' => 'query', + 'schema' => ['description' => 'The ACL pre-match rule ID.', 'type' => 'string', 'required' => false, 'example' => '00000000-0000-0000-0000-000000000000', 'title' => ''], + ], + [ + 'name' => 'AppDpiState', + 'in' => 'query', + 'schema' => ['description' => 'The application identification status.', 'type' => 'string', 'required' => false, 'example' => 'success', 'title' => ''], + ], + [ + 'name' => 'TlsScopeId', + 'in' => 'query', + 'schema' => ['description' => 'The TLS inspection scope ID.', 'type' => 'string', 'required' => false, 'example' => 'tis-98fd64c5****', 'title' => ''], + ], + [ + 'name' => 'RuleSourceFinal', + 'in' => 'query', + 'schema' => [ + 'description' => 'The final effective module.', + 'enumValueTitles' => [1 => 'basic protection.', 'virtual patches.', 'basic ACL.', 'threat intelligence.', 9 => 'web filtering.', 'application control.', '1,2' => 'IPS'], + 'type' => 'string', + 'required' => false, + 'example' => '1', + 'title' => '', ], ], ], @@ -35301,107 +29218,404 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '633D92D1-768A-547F-8ADC-2870CF0A99F6', 'title' => ''], + 'PageInfo' => [ + 'description' => 'The pagination information.', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DataList' => [ + 'description' => 'The data list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the data list.', + 'type' => 'object', + 'properties' => [ + 'Direction' => ['description' => 'The traffic direction. Valid values:'."\n" + .'- **in**: inbound.'."\n" + .'- **out**: outbound.', 'type' => 'string', 'example' => 'in', 'title' => ''], + 'AttackType' => [ + 'description' => 'The attack type of the intrusion prevention event.', + 'enumValueTitles' => [1 => 'abnormal connection.', 'command execution.', 'brute-force attack.', 'scan.', 'other.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + 'title' => '', + ], + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member accounts.', 'type' => 'string', 'example' => '14151892****7022', 'title' => ''], + 'CountryId' => ['description' => 'The country ID.', 'type' => 'string', 'example' => 'US', 'title' => ''], + 'DstPort' => ['description' => 'The destination port.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'SrcPrivateIP' => ['description' => 'The private source IP address.', 'type' => 'string', 'example' => '172.16.101.7', 'title' => ''], + 'IpProtocol' => ['description' => 'The protocol type.', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'DomainName' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'aliyun.com', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the matched rule.', 'type' => 'string', 'example' => '00000000-0000-0000-0000-000000000000', 'title' => ''], + 'AppName' => ['description' => 'The application name.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'AttackApp' => ['description' => 'The name of the attacked application.', 'type' => 'string', 'example' => 'WebLogic', 'title' => ''], + 'PacketCount' => ['description' => 'The number of traffic packets.', 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''], + 'AppId' => ['description' => 'The application ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'RuleResult' => ['description' => 'The final result of the traffic. Valid values:'."\n" + .'- **0**: Allow.'."\n" + .'- **1**: Alert.'."\n" + .'- **2**: Drop.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Ext' => ['description' => 'Other extended data.', 'type' => 'string', 'example' => 'None', 'title' => ''], + 'DstIP' => ['description' => 'The destination IP address. Indicates that the intrusion prevention event contains this destination IP address.', 'type' => 'string', 'example' => '2.2.2.2', 'title' => ''], + 'PacketBytes' => ['description' => 'The number of bytes in the packet.', 'type' => 'integer', 'format' => 'int64', 'example' => '355', 'title' => ''], + 'InBytes' => ['description' => 'The inbound traffic.', 'type' => 'string', 'example' => '125', 'title' => ''], + 'IspId' => ['description' => 'The ISP ID.', 'type' => 'string', 'example' => '50075069', 'title' => ''], + 'Isp' => ['description' => 'The Internet service provider (ISP).', 'type' => 'string', 'example' => 'FOP Dmytro Nedilskyi', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'SrcPort' => ['description' => 'The port of the data source.', 'type' => 'integer', 'format' => 'int32', 'example' => '20206', 'title' => ''], + 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the data. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1751423363', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'example' => 'vfw-4045ca7***', 'title' => ''], + 'CityId' => ['description' => 'The city ID.', 'type' => 'string', 'example' => 'FI', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the data. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1751423362', 'title' => ''], + 'CloseReason' => ['description' => 'The close reason.', 'type' => 'string', 'example' => 'tcp_fin', 'title' => ''], + 'OutBytes' => ['description' => 'The outbound traffic.', 'type' => 'string', 'example' => '230', 'title' => ''], + 'VulLevel' => ['description' => 'The vulnerability level.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RuleSource' => ['description' => 'The source of the matched detection rule. Valid values:'."\n" + .'- **0**: None.'."\n" + .'- **1**: Basic protection.'."\n" + .'- **2**: Virtual patches.'."\n" + .'- **3**: Access control.'."\n" + .'- **4**: Threat intelligence.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'OutPackets' => ['description' => 'The number of outbound packets.', 'type' => 'string', 'example' => '11', 'title' => ''], + 'InPackets' => ['description' => 'The number of inbound packets.', 'type' => 'string', 'example' => '12', 'title' => ''], + 'SrcIP' => ['description' => 'The source IP address.', 'type' => 'string', 'example' => '1.1.1.1', 'title' => ''], + 'Location' => ['description' => 'The region of the source or destination IP address.', 'type' => 'string', 'example' => 'Hangzhou', 'title' => ''], + 'DomainUrl' => ['description' => 'The URL of the flow log.', 'type' => 'string', 'example' => 'xxx.com', 'title' => ''], + 'CloudInstanceId' => ['description' => 'The cloud service instance ID.', 'type' => 'string', 'example' => 'ngw-*', 'title' => ''], + 'AclPreState' => ['description' => 'The ACL pre-match status. Valid values:'."\n" + ."\n" + .'**app_unknown**: application not identified'."\n" + ."\n" + .'**domain_unknown**: domain name not identified'."\n" + ."\n" + .'**normal**: normal', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'AclPreRuleId' => ['description' => 'The policy ID of the ACL pre-match. If this parameter is not specified, all policies are included.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'AclPreRuleName' => ['description' => 'The policy name of the ACL pre-match.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'AppDpiState' => ['description' => 'The application identification status. Valid values:'."\n" + ."\n" + .'**none**: initial state'."\n" + ."\n" + .'**policy_discard**: connection establishment failed because the connection was blocked by a user ACL or threat intelligence rule'."\n" + ."\n" + .'**tcp_not_establish**: TCP connection establishment failed'."\n" + ."\n" + .'**no_payload**: connection established, but DPI has analyzed 0 payloads'."\n" + ."\n" + .'**analysing**: identification in progress'."\n" + ."\n" + .'**unknown_loose**: loose mode, identification failed, continuing identification'."\n" + ."\n" + .'**unknown_strict**: strict mode, identification failed'."\n" + ."\n" + .'**success**: identification succeeded', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Rules' => [ + 'description' => 'The rule list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The rule list.', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['description' => 'The rule name.', 'type' => 'string', 'example' => 'sharepoint', 'title' => ''], + 'RuleId' => ['description' => 'The rule ID.', 'type' => 'string', 'example' => '17', 'title' => ''], + 'RuleSource' => ['description' => 'The rule source.', 'type' => 'string', 'example' => '3', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'SrcVpc' => [ + 'description' => 'The source VPC information.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The instance ID of the source VPC.', 'type' => 'string', 'example' => 'vpc-8vba1c1em97h0ji71****', 'title' => ''], + 'VpcName' => ['description' => 'The instance name of the source VPC.', 'type' => 'string', 'example' => 'yi-vpc', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the source VPC.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'DstVpc' => [ + 'description' => 'The destination VPC information.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC-connected instance ID.', 'type' => 'string', 'example' => 'vpc-8vba1c1em97h0ji71b****', 'title' => ''], + 'VpcName' => ['description' => 'The VPC instance name.', 'type' => 'string', 'example' => 'yi-vpc', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'PrivateIp' => ['description' => 'The private IP address.', 'type' => 'string', 'example' => '172.21.234.XXX', 'title' => ''], + 'PrivatePort' => ['description' => 'The private port.', 'type' => 'integer', 'format' => 'int32', 'example' => '80', 'title' => ''], + 'TlsRuleId' => ['description' => 'The ID of the matched TLS inspection rule.', 'type' => 'string', 'example' => 'tir-xxx', 'title' => ''], + 'TlsRuleName' => ['description' => 'The name of the matched TLS inspection rule.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'TlsScopeId' => ['description' => 'The TLS inspection scope ID.', 'type' => 'string', 'example' => 'tls-xxx', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorAliUidBlackList', 'errorMessage' => 'The specified aliUid is invalid.', 'description' => 'The specified aliUid is invalid.'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorTrafficSlsFirewallType', 'errorMessage' => 'The firewall type of traffic log is invalid.', 'description' => 'The firewall type of traffic log is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorPortError', 'errorMessage' => 'The port is invalid.', 'description' => 'The port is invalid.'], + ['errorCode' => 'ErrorIpProtocolError', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorAttackTypeError', 'errorMessage' => 'The attack type is invalid.', 'description' => 'The attack type is invalid.'], + ['errorCode' => 'ErrorVulLevelFailed', 'errorMessage' => 'VulLevel has failed.', 'description' => 'VulLevel has failed.'], + ['errorCode' => 'ErrorRuleResultError', 'errorMessage' => 'The rule result is invalid.', 'description' => 'The rule result is invalid.'], + ['errorCode' => 'ErrorAppIdError', 'errorMessage' => 'An app ID error occurred.', 'description' => 'An app ID error occurred.'], + ['errorCode' => 'ErrorFlowType', 'errorMessage' => 'The flow type is invalid.', 'description' => 'The flow type is invalid.'], + ['errorCode' => 'ErrorIspError', 'errorMessage' => 'The ISP name is invalid.', 'description' => 'The ISP name is invalid.'], + ['errorCode' => 'ErrorLocationError', 'errorMessage' => 'The location name is invalid.', 'description' => 'The location name is invalid.'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => 'The domain name is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorSLSLogStore', 'errorMessage' => 'Failed to get SLS logstore.', 'description' => 'Failed to obtain the Log Service logstore.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorAsyncQueryFailed', 'errorMessage' => 'The current query has timed out. We suggest shortening the query time range and trying again.', 'description' => 'The current query has timed out. We suggest shortening the query time range and trying again.'], + ], + ], + 'title' => 'Query log traffic information', + 'summary' => 'Queries log traffic information.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrafficLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"633D92D1-768A-547F-8ADC-2870CF0A99F6\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2\\n },\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"AttackType\\": 0,\\n \\"MemberUid\\": \\"14151892****7022\\",\\n \\"CountryId\\": \\"US\\",\\n \\"DstPort\\": 80,\\n \\"SrcPrivateIP\\": \\"172.16.101.7\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"DomainName\\": \\"aliyun.com\\",\\n \\"RuleId\\": \\"00000000-0000-0000-0000-000000000000\\",\\n \\"AppName\\": \\"HTTP\\",\\n \\"AttackApp\\": \\"WebLogic\\",\\n \\"PacketCount\\": 23,\\n \\"AppId\\": 6,\\n \\"RuleResult\\": 0,\\n \\"Ext\\": \\"None\\",\\n \\"DstIP\\": \\"2.2.2.2\\",\\n \\"PacketBytes\\": 355,\\n \\"InBytes\\": \\"125\\",\\n \\"IspId\\": \\"50075069\\",\\n \\"Isp\\": \\"FOP Dmytro Nedilskyi\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SrcPort\\": 20206,\\n \\"RuleName\\": \\"test\\",\\n \\"EndTime\\": 1751423363,\\n \\"VpcFirewallId\\": \\"vfw-4045ca7***\\",\\n \\"CityId\\": \\"FI\\",\\n \\"StartTime\\": 1751423362,\\n \\"CloseReason\\": \\"tcp_fin\\",\\n \\"OutBytes\\": \\"230\\",\\n \\"VulLevel\\": 0,\\n \\"RuleSource\\": \\"0\\",\\n \\"OutPackets\\": \\"11\\",\\n \\"InPackets\\": \\"12\\",\\n \\"SrcIP\\": \\"1.1.1.1\\",\\n \\"Location\\": \\"Hangzhou\\",\\n \\"DomainUrl\\": \\"xxx.com\\",\\n \\"CloudInstanceId\\": \\"ngw-*\\",\\n \\"AclPreState\\": \\"normal\\",\\n \\"AclPreRuleId\\": \\"2\\",\\n \\"AclPreRuleName\\": \\"test\\",\\n \\"AppDpiState\\": \\"success\\",\\n \\"Rules\\": [\\n {\\n \\"RuleName\\": \\"sharepoint\\",\\n \\"RuleId\\": \\"17\\",\\n \\"RuleSource\\": \\"3\\"\\n }\\n ],\\n \\"SrcVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-beijing\\"\\n },\\n \\"DstVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71b****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"PrivateIp\\": \\"172.21.234.XXX\\",\\n \\"PrivatePort\\": 80,\\n \\"TlsRuleId\\": \\"tir-xxx\\",\\n \\"TlsRuleName\\": \\"test\\",\\n \\"TlsScopeId\\": \\"tls-xxx\\"\\n }\\n ]\\n}","type":"json"}]', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'translator' => 'machine', + ], + 'DescribeTransitRouterResourcesList' => [ + 'summary' => 'Queries a list of Transit Router resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '143494', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Cloud Enterprise Network (CEN) instance.', 'type' => 'string', 'required' => false, 'example' => 'cen-djz1i6p8shzioz****', 'title' => ''], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the TransitRouter.', 'type' => 'string', 'required' => false, 'example' => 'tr-2zefgvkcl2qcexbb7****', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the border firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-741de4c8956341****', 'title' => ''], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The asset type.', + 'enumValueTitles' => ['VBR' => 'Virtual Border Router', 'VPC' => 'Virtual Private Cloud', 'TR' => 'Transit Router', 'CCN' => 'Cloud Connect Network'], + 'type' => 'string', + 'required' => false, + 'example' => 'TR', + 'title' => '', ], ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9lllsbftdm0svpj****', 'title' => ''], + ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A61A2516-0A22-5B3F-986B-3D4BF2A****', 'title' => ''], + 'TransitRouterAttachedResources' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'eas-r-8k1a6jjofkp0cq****', 'title' => ''], + 'ResourceType' => ['description' => 'The asset type.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'ResourceName' => ['description' => 'The instance name.', 'type' => 'string', 'example' => 'test', 'title' => ''], + ], + 'description' => 'The list of Transit Router resources.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of Transit Router resources.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'The vSwitch does not exist. Select another vSwitch.'], + ['errorCode' => 'ErrorTrResourceNotReady', 'errorMessage' => 'Transit Router has not been detected by cloud firewall', 'description' => ''], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => 'The status of the member account is invalid. This operation is not supported.'], + ['errorCode' => 'ErrorAssetSynchronizationNotCompleted', 'errorMessage' => 'VPC firewall asset synchronization is not completed.', 'description' => 'VPC perimeter firewall asset synchronization incomplete'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', - 'title' => 'DeleteControlPolicyTemplate', - ], - 'ResetRuleHitCount' => [ - 'summary' => '重置规则命中数', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeTransitRouterResourcesList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTransitRouterResourcesList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A61A2516-0A22-5B3F-986B-3D4BF2A****\\",\\n \\"TransitRouterAttachedResources\\": [\\n {\\n \\"ResourceId\\": \\"eas-r-8k1a6jjofkp0cq****\\",\\n \\"ResourceType\\": \\"VPC\\",\\n \\"ResourceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeUnprotectedPortTrend' => [ + 'summary' => 'Queries the trend of unprotected ports.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68520', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68393', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '61.155.60.XXX', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type of the received message.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, - 'example' => '112.64.126.XXX', + 'example' => 'zh', + 'title' => '', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language type of the received message.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'AclUuid', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '211fd804-30f5-470f-ab26-c465a4****', - ], + 'schema' => ['description' => 'The start time. Specify a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1655778046', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. Specify a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1751210395', 'title' => ''], ], ], 'responses' => [ @@ -35409,59 +29623,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg_server', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '706B2093-CBA0-51B2-BEBF-58903FC6****', + 'Interval' => ['description' => 'The time interval.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'E599A84E-CD22-5E42-A2A9-01A254AC****', 'title' => ''], + 'DataList' => [ + 'description' => 'The data list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data list.', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => 'The timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600', 'title' => ''], + 'Count' => ['description' => 'The number of interceptions.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => 'Query unprotected port trend', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedPortTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"706B2093-CBA0-51B2-BEBF-58903FC6****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Interval\\": 60,\\n \\"RequestId\\": \\"E599A84E-CD22-5E42-A2A9-01A254AC****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"Count\\": 1\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'machine', ], - 'DescribeNatAclPageStatus' => [ - 'summary' => 'Queries the pagination status of NAT firewalls.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeUnprotectedVulnTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35473,25 +29689,43 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '180434', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '68394', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '112.15.190.XX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'en', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time. Use a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1740623016', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. Use a UNIX timestamp in seconds.', 'type' => 'string', 'required' => false, 'example' => '1754878752', 'title' => ''], ], ], 'responses' => [ @@ -35499,74 +29733,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'NatAclPageEnable' => [ - 'description' => 'Indicates whether pagination for access control policies for NAT firewalls is supported.'."\n", - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8', - ], - 'Detail' => [ - 'description' => 'Extra error information.', - 'type' => 'string', - 'example' => 'proxy_not_exist', + 'EndTime' => ['description' => 'The end time. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1731551104', 'title' => ''], + 'StartTime' => ['description' => 'The start time. The value is a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1749434787', 'title' => ''], + 'CurProtectedCnt' => ['description' => 'The number of protected vulnerabilities.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '05BEF2B5-EAAA-509D-9824-E3C7DC17****', 'title' => ''], + 'Interval' => ['description' => 'The time interval.', 'type' => 'integer', 'format' => 'int32', 'example' => '60', 'title' => ''], + 'CurUnprotectedCnt' => ['description' => 'The number of unprotected vulnerabilities.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => 'The timestamp of the vulnerability scan.', 'type' => 'integer', 'format' => 'int64', 'example' => '1525833105', 'title' => ''], + 'ProtectedVulnCnt' => ['description' => 'The number of protected vulnerabilities.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'UnprotectedVulnCnt' => ['description' => 'The number of unprotected vulnerabilities.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NatAclPageEnable\\": true,\\n \\"RequestId\\": \\"B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8\\",\\n \\"Detail\\": \\"proxy_not_exist\\"\\n}","type":"json"}]', - 'title' => 'DescribeNatAclPageStatus', - ], - 'DescribeNatFirewallAclGroupList' => [ - 'summary' => '查询Nat防火墙分组列表', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeUnprotectedVulnTrend', + 'summary' => 'Queries the trend of unprotected vulnerabilities.', + 'description' => '## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which may impact your business. We recommend that you call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedVulnTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1731551104,\\n \\"StartTime\\": 1749434787,\\n \\"CurProtectedCnt\\": 7,\\n \\"RequestId\\": \\"05BEF2B5-EAAA-509D-9824-E3C7DC17****\\",\\n \\"Interval\\": 60,\\n \\"CurUnprotectedCnt\\": 8,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1525833105,\\n \\"ProtectedVulnCnt\\": 3,\\n \\"UnprotectedVulnCnt\\": 2\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeUserAlarmConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35578,26 +29813,38 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '201928', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68397', + 'abilityTreeNodes' => ['FEATUREcfwHNNY65'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '59.82.135.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response. Valid values: zh and en. Default value: zh.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + 'title' => '', + ], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => 'The language of the response. Valid values: zh and en. Default value: zh.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], ], @@ -35606,101 +29853,136 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****', - ], - 'NatFirewalls' => [ - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9D250177-4F11-58B8-9AFE-A4624FF1****', 'title' => ''], + 'AlarmConfig' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-2zed6z6qkd7ogc****', - ], - 'NatGatewayName' => [ - 'description' => '', + 'AlarmPeriod' => ['description' => 'The alarm period.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'AlarmValue' => ['description' => 'The value that triggers the alarm.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'AlarmHour' => ['description' => 'The alarm threshold.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'AlarmType' => [ + 'description' => 'The alarm type.', + 'enumValueTitles' => ['weeklyReport' => 'Weekly report', 'trafficPreAlert' => 'Traffic pre-alert', 'outgoingRiskAll' => 'All outbound risks', 'Middlethreat' => 'Medium-level threat', 'bandwidth' => 'Bandwidth usage', 'ipsHighthreat' => 'High-level threat detected by the IPS', 'outgoingRiskNonWhite' => 'Outbound risk from a non-whitelisted address', 'ipsIgnoreResolved' => 'Ignored or resolved threat detected by the IPS'], 'type' => 'string', - 'example' => 'ngw-test', - ], - 'IsDefault' => [ - 'description' => '', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '', - 'false' => '', - ], - 'example' => 'true', + 'example' => 'bandwidth', + 'title' => '', ], - 'AclRuleCount' => [ - 'description' => '', + 'AlarmNotify' => [ + 'description' => 'The notification method.', + 'enumValueTitles' => ['SMS and email', 'SMS', 'Email', 'None'], 'type' => 'integer', 'format' => 'int32', - 'example' => '32', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', + 'example' => '1', + 'title' => '', ], + 'AlarmWeekDay' => ['description' => 'The alarm retry count.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], + 'description' => 'The alarm configuration.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The alarm configuration.', + 'title' => '', + 'example' => '', + ], + 'ContactConfig' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status of the contact. Valid values: **0** (Disabled) and **1** (Enabled).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Email' => ['description' => 'The email address.', 'type' => 'string', 'example' => '1530811****@qq.com'."\n", 'title' => ''], + 'Name' => ['description' => 'The contact name.', 'type' => 'string', 'example' => '1531123****', 'title' => ''], + 'MobilePhone' => ['description' => 'The mobile number.', 'type' => 'string', 'example' => 'zhangsan', 'title' => ''], + ], + 'description' => 'The contact information.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The contact information.', + 'title' => '', + 'example' => '', + ], + 'AlarmLang' => [ + 'description' => 'The language of the alarm notifications.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'type' => 'string', + 'example' => 'zh', + 'title' => '', + ], + 'DefaultContact' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the default contact.', 'type' => 'string', 'example' => 'zhangsan', 'title' => ''], + 'Email' => ['description' => 'The email address of the default contact.', 'type' => 'string', 'example' => '1530811****@qq.com', 'title' => ''], + 'MobilePhone' => ['description' => 'The mobile number of the default contact.', 'type' => 'string', 'example' => '1531123****', 'title' => ''], + 'Status' => ['description' => 'The status. Valid values: **normal** (Normal) and **disable** (Disabled).', 'type' => 'string', 'example' => '0', 'title' => ''], ], + 'description' => 'Information about the default alarm contact.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'internal error: sql select.', 'description' => 'Request error, database query failed.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"NatFirewalls\\": [\\n {\\n \\"NatGatewayId\\": \\"ngw-2zed6z6qkd7ogc****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IsDefault\\": true,\\n \\"AclRuleCount\\": 32,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeNatFirewallControlPolicy' => [ - 'summary' => 'Queries the information about all access control policies that are created for NAT firewalls.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeUserAlarmConfig', + 'summary' => 'Retrieves the user\'s alert configuration.', + 'description' => '## QPS limit'."\n" + ."\n" + .'The QPS limit for this interface is 10 calls per second per user. Exceeding this limit throttles API calls and may affect your service. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D250177-4F11-58B8-9AFE-A4624FF1****\\",\\n \\"AlarmConfig\\": [\\n {\\n \\"AlarmPeriod\\": 30,\\n \\"AlarmValue\\": \\"80\\",\\n \\"AlarmHour\\": 0,\\n \\"AlarmType\\": \\"bandwidth\\",\\n \\"AlarmNotify\\": 1,\\n \\"AlarmWeekDay\\": 0\\n }\\n ],\\n \\"ContactConfig\\": [\\n {\\n \\"Status\\": 1,\\n \\"Email\\": \\"1530811****@qq.com\\\\n\\",\\n \\"Name\\": \\"1531123****\\",\\n \\"MobilePhone\\": \\"zhangsan\\"\\n }\\n ],\\n \\"AlarmLang\\": \\"zh\\",\\n \\"DefaultContact\\": {\\n \\"Name\\": \\"zhangsan\\",\\n \\"Email\\": \\"1530811****@qq.com\\",\\n \\"MobilePhone\\": \\"1531123****\\",\\n \\"Status\\": \\"0\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeUserAssetIPTrafficInfo' => [ + 'summary' => 'Queries the traffic information for a specified asset.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171421', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '143435', + 'abilityTreeNodes' => ['FEATUREcfwB677AM', 'FEATUREcfwVWCDEU', 'FEATUREcfwG6EEQD'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -35708,181 +29990,272 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" + 'description' => 'The language of the response. Valid values:'."\n" ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + .'- **zh**: Chinese (default).'."\n" + ."\n" + .'- **en**: English.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'default' => 'zh', + 'enum' => ['zh', 'en'], + 'title' => '', ], ], [ - 'name' => 'NatGatewayId', + 'name' => 'AssetIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'TrafficTime', 'in' => 'query', + 'schema' => ['description' => 'The time of the traffic query, specified as a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1656923760', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'default' => '1', + 'title' => '', + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'StartTime' => ['description' => 'The start time of the query, as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1656837360', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the query, as a UNIX timestamp in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1656923760', 'title' => ''], + 'InBps' => ['description' => 'The inbound network throughput, in bits per second (bps).', 'type' => 'integer', 'format' => 'int64', 'example' => '4520', 'title' => ''], + 'OutBps' => ['description' => 'The outbound network throughput, in bits per second (bps).', 'type' => 'integer', 'format' => 'int64', 'example' => '4180', 'title' => ''], + 'InPps' => ['description' => 'The inbound packet rate, in packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'example' => '233', 'title' => ''], + 'OutPps' => ['description' => 'The outbound packet rate, in packets per second (pps).', 'type' => 'integer', 'format' => 'int64', 'example' => '224', 'title' => ''], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'title' => ''], + 'NewConn' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '43', 'title' => ''], + ], + 'example' => '', ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page. Default value: 10.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"StartTime\\": 1656837360,\\n \\"EndTime\\": 1656923760,\\n \\"InBps\\": 4520,\\n \\"OutBps\\": 4180,\\n \\"InPps\\": 233,\\n \\"OutPps\\": 224,\\n \\"SessionCount\\": 50,\\n \\"NewConn\\": 43\\n}","type":"json"}]', + 'title' => 'DescribeUserAssetIPTrafficInfo', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserAssetIPTrafficInfo'], ], + ], + 'ramActions' => [ [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy. Fuzzy match is supported. The value of this parameter varies based on the value of the SourceType parameter.'."\n" - ."\n" - .'* If SourceType is set to `net`, the value of Source must be a CIDR block. Example: 192.0.XX.XX/24.'."\n" - .'* If SourceType is set to `group`, the value of Source must be the name of an address book. Example: db_group. If the db_group address book does not contain addresses, all source addresses are queried.'."\n" - .'* If SourceType is set to `location`, the value of Source must be a location. Example: beijing.'."\n" - ."\n" - .'> If you do not specify this parameter, all types of source addresses are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1/32', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAssetIPTrafficInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DescribeUserBuyVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination address in the access control policy. Fuzzy match is supported. The value of this parameter varies based on the value of the DestinationType parameter.'."\n" - ."\n" - .'* If DestinationType is set to `net`, the value of Destination must be a CIDR block. Example: 10.0.3.0/24.'."\n" - .'* If DestinationType is set to `domain`, the value of Destination must be a domain name. Example: aliyun.'."\n" - .'* If DestinationType is set to `group`, the value of Destination must be the name of an address book. Example: db_group.'."\n" - .'* If DestinationType is set to `location`, the value of Destination is a location. For more information about location codes, see [AddControlPolicy](~~474128~~). Example: \\["BJ11", "ZB"].'."\n" - ."\n" - .'> If you do not specify this parameter, all types of destination addresses are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'x.x.x.x/32', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68399', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + ], + 'parameters' => [ [ - 'name' => 'Description', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the access control policy. Fuzzy match is supported.'."\n" - ."\n" - .'> If you do not specify this parameter, the descriptions of all policies are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the instance. If you specify this parameter, the query is performed based on the instance ID. If you leave this parameter empty, the latest instance is queried by default.', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-*******', 'title' => ''], ], - [ - 'name' => 'Proto', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The type of the protocol in the access control policy. Valid values:'."\n" - ."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n" - .'* **ANY**: all types of protocols'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies of all protocol types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ANY', + 'type' => 'object', + 'properties' => [ + 'AliUid' => ['description' => 'The ID of the Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'example' => '119898001566xxxx', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Cloud Firewall instance.'."\n" + ."\n" + .'> This parameter does not apply to trial editions.', 'type' => 'string', 'example' => 'vipcloudfw-cn-xxxxx', 'title' => ''], + 'StartTime' => ['description' => 'The time when the Cloud Firewall instance was enabled.'."\n" + ."\n" + .'> The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1692504764000', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F71B03EE-xxxxx-91D79CC6AA1A', 'title' => ''], + 'Version' => ['description' => 'The edition of the Cloud Firewall instance. Valid values:'."\n" + ."\n" + .'- **2**: Premium Edition'."\n" + ."\n" + .'- **3**: Enterprise Edition'."\n" + ."\n" + .'- **4**: Ultimate Edition'."\n" + ."\n" + .'- **10**: Pay-as-you-go', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'UserStatus' => ['description' => 'The status of the Cloud Firewall instance. Valid values:'."\n" + ."\n" + .'- **true**: The instance is valid.'."\n" + ."\n" + .'- **false**: The instance is invalid.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Expire' => ['description' => 'The expiration time of the Cloud Firewall instance.'."\n" + ."\n" + .'> The value is a UNIX timestamp in milliseconds.'."\n" + ."\n" + .'> This parameter does not apply to pay-as-you-go editions.', 'type' => 'integer', 'format' => 'int64', 'example' => '1726934400000', 'title' => ''], + 'LogStatus' => ['description' => 'Indicates whether log delivery is enabled. Valid values:'."\n" + ."\n" + .'- **true**: Enabled'."\n" + ."\n" + .'- **false**: Disabled', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'InstanceStatus' => ['description' => 'The operational status of the Cloud Firewall instance. Valid values:'."\n" + ."\n" + .'- **normal**: The instance is running as expected.'."\n" + ."\n" + .'- **init**: The instance is being initialized.'."\n" + ."\n" + .'- **deleting**: The instance is being deleted.'."\n" + ."\n" + .'- **abnormal**: The instance is in an abnormal state.'."\n" + ."\n" + .'- **free**: No valid instance is available.', 'type' => 'string', 'example' => 'normal', 'title' => ''], + 'MaxOverflow' => ['description' => 'Indicates whether elastic billing for excess traffic is enabled. Valid values:'."\n" + ."\n" + .'- **1000000**: Enabled'."\n" + ."\n" + .'- **0**: Disabled'."\n" + ."\n" + .'> This parameter applies only to subscription instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'VpcNumber' => ['description' => 'The number of purchased VPC firewalls.'."\n" + ."\n" + .'> This parameter applies only to subscription instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '21', 'title' => ''], + 'IpNumber' => ['description' => 'The number of public IP addresses that can be protected.'."\n" + ."\n" + .'> This parameter applies only to subscription instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '63', 'title' => ''], + 'LogStorage' => ['description' => 'The purchased log storage capacity.'."\n" + ."\n" + .'> This parameter applies only to subscription instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '3000', 'title' => ''], + 'InternetBandwidth' => ['description' => 'The purchased traffic processing capability for the Internet firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '3000', 'title' => ''], + 'VpcBandwidth' => ['description' => 'The purchased traffic processing capability for the VPC firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '3000', 'title' => ''], + 'NatBandwidth' => ['description' => 'The purchased traffic processing capability for the NAT firewall.', 'type' => 'integer', 'format' => 'int64', 'example' => '3000', 'title' => ''], + 'MajorVersion' => ['description' => 'The major version.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'DefaultBandwidth' => ['description' => 'The default bandwidth of the edition.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'ExtensionBandwidth' => ['description' => 'The extended bandwidth.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'TemporaryBandwidth' => ['description' => 'The temporary bandwidth.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'GeneralInstance' => ['description' => 'The number of general-purpose instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'ThreatIntelligence' => ['description' => 'Indicates whether threat intelligence is enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Sdl' => ['description' => 'Indicates whether data leakage prevention is enabled.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'PrivateDnsConnectorQuota' => ['description' => 'The quota for private DNS connectors.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'AckClusterConnectorQuota' => ['description' => 'The quota for ACK cluster connectors.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeUserBuyVersion', + 'summary' => 'Retrieves version information for a user.', + 'description' => 'This operation queries information about your Cloud Firewall instance.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'This operation is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserBuyVersion'], + ], + ], + 'ramActions' => [ [ - 'name' => 'AclAction', - 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'accept', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserBuyVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"vipcloudfw-cn-xxxxx\\",\\n \\"StartTime\\": 1692504764000,\\n \\"RequestId\\": \\"F71B03EE-xxxxx-91D79CC6AA1A\\",\\n \\"Version\\": 2,\\n \\"UserStatus\\": true,\\n \\"Expire\\": 1726934400000,\\n \\"LogStatus\\": true,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"MaxOverflow\\": 0,\\n \\"VpcNumber\\": 21,\\n \\"IpNumber\\": 63,\\n \\"LogStorage\\": 3000,\\n \\"InternetBandwidth\\": 3000,\\n \\"VpcBandwidth\\": 3000,\\n \\"NatBandwidth\\": 3000,\\n \\"MajorVersion\\": 1,\\n \\"DefaultBandwidth\\": 1000,\\n \\"ExtensionBandwidth\\": 1000,\\n \\"TemporaryBandwidth\\": 1000,\\n \\"GeneralInstance\\": 10,\\n \\"ThreatIntelligence\\": 1,\\n \\"Sdl\\": 1,\\n \\"PrivateDnsConnectorQuota\\": 5,\\n \\"AckClusterConnectorQuota\\": 5\\n}","type":"json"}]', + ], + 'DescribeUserIPSWhitelist' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AclUuid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '303f0697-2a21-4e43-b142-4a77adf7b358', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68405', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Release', + 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", + 'description' => 'The source IP address of the visitor.', + 'enumValueTitles' => [], 'type' => 'string', 'required' => false, - 'example' => 'true', + 'example' => '47.100.XX.XX', + 'title' => '', ], ], [ - 'name' => 'Direction', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" - ."\n" - .'* **out**: outbound traffic'."\n", + 'description' => 'The language.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], 'type' => 'string', - 'required' => true, - 'example' => 'out', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'RepeatType', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.', + 'description' => 'The language.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', + 'example' => 'zh', + 'title' => '', ], ], ], @@ -35891,401 +30264,161 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'string', - 'example' => '28', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F183567D-8A52-5BAE-9472-F1C427378C28', - ], - 'Policys' => [ - 'description' => 'The information about the access control policies.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '04F788A5-6A47-5EA9-AC30-CA4DB98AD520', 'title' => ''], + 'Whitelists' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'Destination' => [ - 'description' => 'The destination address in the access control policy. The value of this parameter varies based on the value of DestinationType. Valid values:'."\n" - ."\n" - .'* If the value of **DestinationType** is **net**, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.'."\n" - .'* If the value of **DestinationType** is **domain**, the value of this parameter is a domain name. Example: aliyuncs.com.'."\n" - .'* If the value of **DestinationType** is **group**, the value of this parameter is the name of an address book. Example: db_group.'."\n" - .'* If the value of **DestinationType** is **location**, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].'."\n", - 'type' => 'string', - 'example' => 'x.x.x.x/32', - ], - 'Order' => [ - 'description' => 'The priority of the access control policy.'."\n" - ."\n" - .'The priority value starts from 1. A smaller priority value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DestPortGroup' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n", - 'type' => 'string', - 'example' => 'my_port_group', - ], - 'SourceType' => [ - 'description' => 'The type of the source address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'example' => 'net', - ], - 'DnsResultTime' => [ - 'description' => 'The time when the Domain Name System (DNS) resolution was performed. The value is a UNIX timestamp. Unit: seconds.'."\n", + 'Direction' => [ + 'description' => 'The direction of IPv4 traffic on the Internet Border.', + 'enumValueTitles' => [1 => 'inbound', 'outbound'], 'type' => 'integer', 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => 'The DNS resolution result.'."\n", - 'type' => 'string', - 'example' => '111.0.XX.XX,112.0.XX.XX', - ], - 'ApplicationNameList' => [ - 'description' => 'The application names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'example' => '[\'HTTP\', \'HTTPS\']', - ], - ], - 'AclUuid' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], - 'DestPortType' => [ - 'description' => 'The type of the destination port in the access control policy. Valid values:'."\n" - ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => 'The source address in the access control policy. Valid values:'."\n" - ."\n" - .'* If the value of **SourceType** is `net`, the value of this parameter is a CIDR block. Example: 192.0.XX.XX/24.'."\n" - .'* If the value of **SourceType** is `group`, the value of this parameter is the name of an address book. Example: db_group.'."\n" - .'* If the value of **SourceType** is `location`, the value of this parameter is a location. For more information about location codes, see [AddControlPolicy](~~138867~~). Example: \\["BJ11", "ZB"].'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => 'The type of the destination address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n" - .'* **location**: location'."\n", - 'type' => 'string', - 'example' => 'net', + 'example' => '1', + 'title' => '', ], - 'HitTimes' => [ - 'description' => 'The number of hits for the access control policy.'."\n", + 'WhiteType' => [ + 'description' => 'The type of source or destination for which the IPv4 whitelist on the Internet Border takes effect.', + 'enumValueTitles' => [1 => 'destination IP address whitelist', 'source IP address whitelist'], 'type' => 'integer', 'format' => 'int64', - 'example' => '100', + 'example' => '1', + 'title' => '', ], - 'HitLastTime' => [ - 'description' => 'The time when the access control policy was last hit. The value is a UNIX timestamp. Unit: seconds.'."\n", + 'ListValue' => ['description' => 'The value of the IPv4 whitelist on the Internet Border.'."\n" + ."\n" + .'- If the whitelist type is `custom input`: the name of the address book.'."\n" + ."\n" + .'- If the whitelist type is `address book reference`: an IPv4 address.', 'type' => 'string', 'example' => '10.10.200.4/32,10.10.200.25/32', 'title' => ''], + 'ListType' => [ + 'description' => 'The type of address in the IPv4 whitelist for the Internet.', + 'enumValueTitles' => ['not set', 'custom input', 'address book reference'], 'type' => 'integer', 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPort' => [ - 'description' => 'The destination port in the access control policy.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'Description' => [ - 'description' => 'The description of the access control policy.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'AclAction' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'example' => 'accept', - ], - 'Proto' => [ - 'description' => 'The protocol type in the access control policy. Valid values:'."\n" - ."\n" - .'* **ANY**'."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n", - 'type' => 'string', - 'example' => 'TCP', - ], - 'DestinationGroupCidrs' => [ - 'description' => 'The CIDR blocks in the destination address book.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block in the destination address book.'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "112.0.XX.XX/24",'."\n" - .' "112.0.XX.XX/32"'."\n" - .']', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => 'The ports in the destination port address book.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The port in the destination port address book.'."\n", - 'type' => 'string', - 'example' => '[80,443]', - ], + 'example' => '1', + 'title' => '', ], - 'SourceGroupCidrs' => [ - 'description' => 'The CIDR blocks in the source address book.'."\n", + 'WhiteListValue' => [ 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block in the source address book.'."\n", - 'type' => 'string', - 'example' => '[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']', - ], - ], - 'Release' => [ - 'description' => 'The status of the access control policy. By default, an access control policy is enabled after it is created. Valid values:'."\n" + 'items' => ['description' => 'An IPv4 whitelist for the Internet.'."\n" ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'SourceGroupType' => [ - 'description' => 'The type of the source address book in the access control policy. The value is fixed as **ip**. The value indicates an address book that includes one or more CIDR blocks.'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'DestinationGroupType' => [ - 'description' => 'The type of the destination address book in the access control policy. Valid values:'."\n" + .'- If the whitelist type is `custom input`: the name of the address book.'."\n" ."\n" - .'* **ip**: an address book that includes one or more CIDR blocks'."\n" - .'* **domain**: an address book that includes one or more domain names'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'NatGatewayId' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'example' => 'ngw-xxxxxx', + .'- If the whitelist type is `address book reference`: an IPv4 address.', 'type' => 'string', 'example' => '10.10.200.4/32', 'title' => ''], + 'description' => 'The list of IPv4 whitelists for the Internet.', + 'title' => '', + 'example' => '', ], - 'DomainResolveType' => [ - 'description' => 'The domain name resolution method of the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:'."\n" - ."\n" - .'* **0**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **1**: DNS-based dynamic resolution'."\n" - .'* **2**: FQDN and DNS-based dynamic resolution'."\n", + ], + 'description' => 'An IPv4 whitelist for the IPS on the Internet Border.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of IPv4 whitelists for the IPS on the Internet Border.', + 'title' => '', + 'example' => '', + ], + 'Ipv6Whitelists' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Direction' => [ + 'description' => 'The direction of IPv6 traffic on the Internet Border.', + 'enumValueTitles' => [1 => 'inbound', 'outbound'], 'type' => 'integer', - 'format' => 'int32', + 'format' => 'int64', 'example' => '1', + 'title' => '', ], - 'SpreadCnt' => [ - 'description' => 'The total quota consumed by the returned access control policies, which is the sum of the quota consumed by each policy. The quota that is consumed by an access control policy is calculated by using the following formula: Quota that is consumed by an access control policy = Number of source addresses (number of CIDR blocks or regions) × Number of destination addresses (number of CIDR blocks, regions, or domain names) × Number of port ranges × Number of applications.'."\n", - 'type' => 'string', - 'example' => '10,000', - ], - 'CreateTime' => [ - 'description' => 'The time when the access control policy was created.'."\n", + 'WhiteType' => [ + 'description' => 'The type of source or destination for which the IPv6 whitelist on the Internet Border takes effect.', + 'enumValueTitles' => [1 => 'destination IP address whitelist', 'source IP address whitelist'], 'type' => 'integer', 'format' => 'int64', - 'example' => '1761062400', + 'example' => '2', + 'title' => '', ], - 'ModifyTime' => [ - 'description' => 'The time when the access control policy was modified.'."\n", + 'ListValue' => ['description' => 'The value of the IPv6 whitelist on the Internet Border.'."\n" + ."\n" + .'- If the whitelist type is `custom input`: the name of the address book.'."\n" + ."\n" + .'- If the whitelist type is `address book reference`: an IPv6 address.', 'type' => 'string', 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128', 'title' => ''], + 'ListType' => [ + 'description' => 'The type of address in the IPv6 whitelist for the Internet.', + 'enumValueTitles' => ['not set', 'custom input', 'address book reference'], 'type' => 'integer', 'format' => 'int64', - 'example' => '1761062400', - ], - 'RepeatType' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', + 'example' => '0', + 'title' => '', ], - 'RepeatDays' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If RepeatType is set to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \\[].'."\n" - .'* If RepeatType is set to Weekly, this parameter must be specified. Example: \\[0, 6].'."\n" - ."\n" - .'> If RepeatType is set to Weekly, the fields in the value of this parameter cannot be repeated.'."\n" - ."\n" - .'* If RepeatType is set to `Monthly`, this parameter must be specified. Example: \\[1, 31].'."\n" - ."\n" - .'> If RepeatType is set to Monthly, the fields in the value of this parameter cannot be repeated.'."\n", + 'WhiteListValue' => [ 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If RepeatType is set to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If RepeatType is set to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'RepeatStartTime' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The start time must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The end time must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, this parameter is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The start time must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" + 'items' => ['description' => 'An IPv6 whitelist for the Internet.'."\n" ."\n" - .'> If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694761200', - ], - 'EndTime' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The end time must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" + .'- If the whitelist type is `custom input`: the name of the address book.'."\n" ."\n" - .'> If RepeatType is set to Permanent, this parameter is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694764800', + .'- If the whitelist type is `address book reference`: an IPv6 address.', 'type' => 'string', 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128'."\n", 'title' => ''], + 'description' => 'The list of IPv6 whitelists for the Internet.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'An IPv6 whitelist for the IPS on the Internet Border.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of IPv6 whitelists for the IPS on the Internet Border.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => 'Invalid Aliuid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => 'An error occurred. Try again later.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"28\\",\\n \\"RequestId\\": \\"F283567D-8A52-5BAE-9472-*****\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"111.0.XX.XX,112.0.XX.XX\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"描述信息\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\n \\\\\\"112.0.XX.XX/24\\\\\\",\\\\n \\\\\\"112.0.XX.XX/32\\\\\\"\\\\n]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']\\"\\n ],\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"NatGatewayId\\": \\"ngw-xxxxxx\\",\\n \\"DomainResolveType\\": 0,\\n \\"SpreadCnt\\": \\"10,000\\",\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeNatFirewallControlPolicy', - 'description' => 'You can use this operation to query the information about all access control policies that are created for NAT firewalls by page.'."\n", - ], - 'DescribeNatFirewallPolicyPriorUsed' => [ - 'summary' => 'Queries the priority range of access control policies that are created for a NAT firewall.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeUserIPSWhitelist', + 'summary' => 'Queries the intrusion prevention system (IPS) whitelist for the Internet Border.', + 'description' => '## QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this API is 10 calls per second for each user. If you exceed this limit, API calls are throttled, which can impact your business. We recommend that you call this API at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F788A5-6A47-5EA9-AC30-CA4DB98AD520\\",\\n \\"Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ],\\n \\"Ipv6Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 2,\\n \\"ListValue\\": \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\",\\n \\"ListType\\": 0,\\n \\"WhiteListValue\\": [\\n \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVfwIPSConfigList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -36294,576 +30427,404 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171493', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '230059', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language type.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'NatGatewayId', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **out**: outbound traffic'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'out', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''], ], [ - 'name' => 'IpVersion', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP version supported by the access control policy. Valid values:'."\n" - ."\n" - .'* **4**: IPv4 (default)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], + 'schema' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'End' => [ - 'description' => 'The lowest priority for the access control policy.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '28', - ], - 'Start' => [ - 'description' => 'The highest priority for the access control policy.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'BCDF3907-1011-5504-B015-CC7603C0E6B6', + 'TotalCount' => ['title' => '', 'description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageNo' => ['title' => '', 'description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['title' => '', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], + 'VfwIpsSwitchConfigList' => [ + 'description' => 'The configuration list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The configuration list.', + 'type' => 'object', + 'properties' => [ + 'MemberUid' => ['description' => 'The UID of the member accounts.', 'type' => 'string', 'example' => '134646920647****', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'example' => 'cen-h678sl4wv3yd5v****', 'title' => ''], + 'VpcFirewallName' => ['description' => 'The instance name of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'example' => 'vpc-test', 'title' => ''], + 'RunMode' => [ + 'description' => 'The defense mode.', + 'enumValueTitles' => ['monitor mode.', 'Block Mode.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'BasicRules' => [ + 'description' => 'The status of the Basic Policies switch.', + 'enumValueTitles' => ['disabled.', 'enabled.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'PatchRules' => [ + 'description' => 'The status of the virtual patches switch.', + 'enumValueTitles' => ['disabled.', 'enabled.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'RuleClass' => [ + 'description' => 'The rule class for Block Mode.', + 'enumValueTitles' => [1 => 'loose.', 'medium.', 'strict.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'title' => '', + ], + 'VpcFirewallIdList' => [ + 'description' => 'The list of instance IDs of virtual private cloud (VPC) firewalls.', + 'type' => 'array', + 'items' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'example' => 'vfw-9f39c248f9f447c****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query VPC firewall IPS configuration list', + 'summary' => 'Queries the IPS configuration list of a virtual private cloud (VPC) firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVfwIPSConfigList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": 28,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"BCDF3907-1011-5504-B015-CC7603C0E6B6\\"\\n}","type":"json"}]', - 'title' => 'DescribeNatFirewallPolicyPriorUsed', - 'description' => 'You can use this operation to query the priority range of access control policies that are created for a NAT firewall.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"VfwIpsSwitchConfigList\\": [\\n {\\n \\"MemberUid\\": \\"134646920647****\\",\\n \\"VpcFirewallId\\": \\"cen-h678sl4wv3yd5v****\\",\\n \\"VpcFirewallName\\": \\"vpc-test\\",\\n \\"RunMode\\": 1,\\n \\"BasicRules\\": 1,\\n \\"PatchRules\\": 1,\\n \\"RuleClass\\": 1,\\n \\"VpcFirewallIdList\\": [\\n \\"vfw-9f39c248f9f447c****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'CreateNatFirewallControlPolicy' => [ - 'summary' => 'Creates an access control policy for a NAT firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVpcFirewallAccessDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '170916', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68411', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'AclAction', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'log', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'StartTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The application types supported by the access control policy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application type supported by the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ANY', - ], - 'required' => true, - 'maxItems' => 30, - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The start of the time range to query. This value is a UNIX timestamp that is accurate to the second.', 'title' => '', 'example' => '1655778046'], ], [ - 'name' => 'Description', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'allow', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The end of the time range to query. This value is a UNIX timestamp that is accurate to the second.', 'title' => '', 'example' => '1729042555'], ], [ - 'name' => 'DestPort', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port in the access control policy. Valid values:'."\n" - ."\n" - .'* If Proto is set to ICMP, DestPort is automatically left empty.'."\n" - ."\n" - .'> If Proto is set to ICMP, access control does not take effect on the destination port.'."\n" - ."\n" - .'* If Proto is set to TCP, UDP, or ANY and DestPortType is set to group, DestPort is empty.'."\n" - ."\n" - .'> If DestPortType is set to group, you do not need to specify the destination port number. All ports on which the access control policy takes effect are included in the destination port address book.'."\n" - ."\n" - .'* If Proto is set to TCP, UDP, or ANY and DestPortType is set to port, the value of DestPort is the destination port number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the VPC.', 'title' => '', 'example' => 'vpc-2ze4xj5kmb5udb****'], ], [ - 'name' => 'Destination', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* If DestinationType is set to net, the value of this parameter is a CIDR block.'."\n" - ."\n" - .' Example: 1.2.XX.XX/24'."\n" - ."\n" - .'* If DestinationType is set to group, the value of this parameter is an address book.'."\n" - ."\n" - .' Example: db_group'."\n" - ."\n" - .'* If DestinationType is set to domain, the value of this parameter is a domain name.'."\n" - ."\n" - .' Example: \\*.aliyuncs.com'."\n" - ."\n" - .'* If DestinationType is set to location, the value of this parameter is a location.'."\n" - ."\n" - .' Example: \\["BJ11", "ZB"]'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'XX.XX.XX.XX/24', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The port number.', 'title' => '', 'example' => '80'], ], [ - 'name' => 'DestinationType', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The traffic direction. Valid values:'."\n" + ."\n" + .'- **in**: inbound'."\n" + ."\n" + .'- **out**: outbound'."\n" + ."\n" + .'> If you do not specify this parameter, traffic in all directions is queried.', 'title' => '', 'example' => 'in'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'IPProtocol', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngx-xxxxxxx', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The protocol type. Valid values:'."\n" + ."\n" + .'- **tcp**: TCP'."\n" + ."\n" + .'- **udp**: UDP', 'title' => '', 'example' => 'tcp'], ], [ - 'name' => 'Proto', + 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The protocol type in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* ANY: all types of protocols.'."\n" - .'* TCP'."\n" - .'* UDP'."\n" - .'* ICMP'."\n" - ."\n" - .'> If the destination address is a threat intelligence address book of the domain name type or a cloud service address book, you can set Proto only to TCP and set ApplicationNameList to HTTP, HTTPS, SMTP, SMTPS, or SSL.'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [], - 'example' => 'ANY', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The risk level.', 'title' => '', 'example' => '3'], ], [ - 'name' => 'Source', + 'name' => 'PeerVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* If **SourceType** is set to `net`, the value of Source is a CIDR block.'."\n" - ."\n" - .' Example: 10.2.4.0/24'."\n" - ."\n" - .'* If **SourceType** is set to `group`, the value of this parameter must be an address book name.'."\n" - ."\n" - .' Example: db_group'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.25/32', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The ID of the peer VPC.', 'title' => '', 'example' => 'vpc-90rq0anm6t8vbwbo****'], ], [ - 'name' => 'SourceType', + 'name' => 'PeerAssetIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the source address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **net**: source CIDR block'."\n" - .'* **group**: source address book'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The IP address of the peer asset.', 'title' => '', 'example' => '10.125.1.XX'], ], [ - 'name' => 'NewOrder', + 'name' => 'PeerAssetInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The instance ID of the peer asset.', 'title' => '', 'example' => 'i-123451'."\n"], ], [ - 'name' => 'DestPortType', + 'name' => 'PeerAssetInstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination port in the access control policy. Valid values:'."\n" - ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'port', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The instance name of the peer asset.', 'title' => '', 'example' => 'ecs22'."\n"], ], [ - 'name' => 'DestPortGroup', + 'name' => 'AssetIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n" - ."\n" - .'> If DestPortType is set to group, you must specify the name of the destination port address book.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The IP address of the local asset.', 'title' => '', 'example' => '192.0.XX.XX'], ], [ - 'name' => 'Release', + 'name' => 'Sort', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the access control policy. By default, an access control policy is enabled after it is created. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The sorting criterion. Valid values are:'."\n" + ."\n" + .'- **InBytes**'."\n" + ."\n" + .'- **OutBytes**'."\n" + ."\n" + .'- **TotalBytes**'."\n" + ."\n" + .'- **InPackets**'."\n" + ."\n" + .'- **OutPackets**'."\n" + ."\n" + .'- **SessionCount**', 'title' => '', 'example' => 'InBytes'], ], [ - 'name' => 'DomainResolveType', + 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" - ."\n" - .'* **0**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **1**: Domain Name System (DNS)-based dynamic resolution'."\n" - .'* **2**: FQDN and DNS-based dynamic resolution'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- **asc**: ascending'."\n" + ."\n" + .'- **desc** (default): descending', 'title' => '', 'example' => 'desc'], ], [ - 'name' => 'IpVersion', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The IP version supported by the access control policy. Valid values:'."\n" - ."\n" - .'* **4**: IPv4 (default)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The page number.', 'title' => '', 'example' => '1'], ], [ - 'name' => 'Direction', + 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The number of entries per page.', 'title' => '', 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies. Valid value:'."\n" - ."\n" - .'* **out**: outbound.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'out', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries.', 'title' => '', 'example' => '9'], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => '8EAC2347-E85A-5DFF-9F49-B8E1BAFB****'], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SessionCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of sessions.', 'title' => '', 'example' => '27'], + 'PeerAssetInstanceId' => ['type' => 'string', 'description' => 'The instance ID of the peer asset.', 'title' => '', 'example' => 'i-123451'], + 'PeerAssetIP' => ['type' => 'string', 'description' => 'The IP address of the peer asset.', 'title' => '', 'example' => '10.125.1.XX'], + 'RegionNo' => ['type' => 'string', 'description' => 'The ID of the region where the asset is located.', 'title' => '', 'example' => 'cn-shenzhen'], + 'OutBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of sent bytes.', 'title' => '', 'example' => '1123'], + 'InBytes' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The number of received bytes.', 'title' => '', 'example' => '17845821669.0'], + 'peerVpcName' => ['type' => 'string', 'description' => 'The name of the peer VPC.', 'title' => '', 'example' => 'vpc-test'], + 'PeerVpcId' => ['type' => 'string', 'description' => 'The ID of the peer VPC.', 'title' => '', 'example' => 'vpc-123411'."\n"], + 'PeerAssetInstanceName' => ['type' => 'string', 'description' => 'The instance name of the peer asset.', 'title' => '', 'example' => 'test'], + ], + 'description' => 'A data entry.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The data entries.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeVpcFirewallAccessDetail', + 'summary' => 'Queries the access details of a VPC firewall.', + 'description' => '## QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this API is 10 for each user. If you exceed this limit, API calls are throttled, which can affect your business. We recommend that you call this API at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RepeatType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAccessDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'example' => 'Permanent', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 9,\\n \\"RequestId\\": \\"8EAC2347-E85A-5DFF-9F49-B8E1BAFB****\\",\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"PeerAssetInstanceId\\": \\"i-123451\\",\\n \\"PeerAssetIP\\": \\"10.125.1.XX\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutBytes\\": 1123,\\n \\"InBytes\\": 17845821669,\\n \\"peerVpcName\\": \\"vpc-test\\",\\n \\"PeerVpcId\\": \\"vpc-123411\\\\n\\",\\n \\"PeerAssetInstanceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallAclGroupList' => [ + 'summary' => 'Queries information about all access control policy groups for VPC firewalls.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68412', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'RepeatDays', + 'name' => 'Lang', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \\[].'."\n" - .'* If RepeatType is set to Weekly, RepeatDays must be specified. Example: \\[0, 6].'."\n" - ."\n" - .'> If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.'."\n" - ."\n" - .'* If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \\[1, 31].'."\n" - ."\n" - .'> If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If RepeatType is set to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If RepeatType is set to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RepeatStartTime', + 'name' => 'FirewallConfigureStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, RepeatStartTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], + 'schema' => ['description' => 'The configuration status of the VPC boundary firewall. Valid values:'."\n" + ."\n" + .'- **configured**: The VPC boundary firewall is configured.'."\n" + ."\n" + .'- If you omit this parameter, the operation queries the access control policies for all VPC boundary firewalls.', 'type' => 'string', 'required' => false, 'example' => 'configured', 'title' => ''], ], [ - 'name' => 'RepeatEndTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, RepeatEndTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => 'The number of the page to return. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent, StartTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => 'The number of entries to return on each page. The maximum value is 50.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent, EndTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => 'The instance ID of the VPC boundary firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-5b202e7f0be64611****', 'title' => ''], ], ], 'responses' => [ @@ -36871,172 +30832,132 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => 'The unique ID of the access control policy.'."\n" - ."\n" - .'> To modify an access control policy, you must specify the unique ID of the policy. You can call the DescribeNatFirewallControlPolicy operation to obtain the ID.'."\n", - 'type' => 'string', - 'example' => '6504d2fb-ab36-49c3-92a6-822a56549783', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-687CC9B82C0A', + 'TotalCount' => ['description' => 'The total number of access control policy groups.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], + 'AclGroupList' => [ + 'description' => 'The access control policy groups.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of an access control policy group.', + 'type' => 'object', + 'properties' => [ + 'AclGroupId' => ['description' => 'The ID of the access control policy group for the VPC boundary firewall.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- If the VPC boundary firewall protects a Cloud Enterprise Network (CEN) instance, the policy group ID is the ID of the CEN instance.'."\n" + ."\n" + .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*'."\n" + ."\n" + .'- If the VPC boundary firewall protects an Express Connect circuit, the policy group ID is the ID of the VPC boundary firewall instance.'."\n" + ."\n" + .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*', 'type' => 'string', 'example' => 'vfw-a42bbb7b887148c9****', 'title' => ''], + 'AclGroupName' => ['description' => 'The name of the access control policy group for the VPC boundary firewall.'."\n" + ."\n" + .'- If the VPC boundary firewall protects a Cloud Enterprise Network instance, the group name is the name of the CEN instance.'."\n" + ."\n" + .'- If the VPC boundary firewall protects an Express Connect circuit, the group name is the name of the VPC boundary firewall instance.', 'type' => 'string', 'example' => 'group_test', 'title' => ''], + 'MemberUid' => ['description' => 'The ID of the member account.', 'type' => 'string', 'example' => '258039427902****', 'title' => ''], + 'AclRuleCount' => ['description' => 'The number of policies in the access control policy group.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + 'IsDefault' => [ + 'description' => 'Indicates whether the policy group is a default group. Valid values:'."\n" + ."\n" + .'- **true**: The policy group is a default group.'."\n" + ."\n" + .'- **false**: The policy group is not a default group.', + 'enumValueTitles' => ['true' => '', 'false' => ''], + 'type' => 'boolean', + 'example' => 'true', + 'title' => '', + ], + 'AclConfig' => [ + 'description' => 'The ACL engine mode.', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => 'Indicates whether strict mode is enabled. Valid values:'."\n" + ."\n" + .'- 1: Strict mode is enabled.'."\n" + ."\n" + .'- 0: Strict mode is disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorStartTimeOrEndTime', - 'errorMessage' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorConfigureStatus', 'errorMessage' => 'firewall configure status invalid.', 'description' => 'Firewall status parameter error, please re-select.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"6504d2fb-ab36-49c3-92a6-*****\\",\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', - 'title' => 'CreateNatFirewallControlPolicy', - 'description' => 'You can call this operation to create a policy that allows, denies, or monitors the traffic that passes through the NAT firewall.'."\n", - ], - 'ModifyNatFirewallControlPolicy' => [ - 'summary' => 'Modifies the configurations of an access control policy that is created for a NAT firewall.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"AclGroupList\\": [\\n {\\n \\"AclGroupId\\": \\"vfw-a42bbb7b887148c9****\\",\\n \\"AclGroupName\\": \\"group_test\\",\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"AclRuleCount\\": 9,\\n \\"IsDefault\\": true,\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeVpcFirewallAclGroupList', + 'description' => 'This operation queries information about all access control policy groups for VPC firewalls.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The QPS limit for this operation is 10 requests per second per user. API calls that exceed this limit are throttled, potentially affecting your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallAclGroupList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeVpcFirewallAssetList' => [ + 'summary' => 'Queries the asset list of a VPC firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171412', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68413', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R', 'FEATUREcfwE8FJHT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -37044,330 +30965,145 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", + 'description' => 'The language type of the request and response messages.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'AclAction', - 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'log', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the access control policy. Fuzzy match is supported.'."\n" - ."\n" - .'> If you do not specify this parameter, the descriptions of all policies are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'DestPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port in the access control policy.'."\n" - ."\n" - .'> If **DestPortType** is set to `port`, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], - ], - [ - 'name' => 'Destination', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The destination address in the access control policy.'."\n" - ."\n" - .'* If **DestinationType** is set to net, the value of **Destination** is a CIDR block. Example: 1.2.3.4/24'."\n" - .'* If **DestinationType** is set to group, the value of **Destination** is an address book. Example: db_group'."\n" - .'* If **DestinationType** is set to domain, the value of **Destination** is a domain name. Example: \\*.aliyuncs.com'."\n" - .'* If **DestinationType** is set to location, the value of **Destination** is a location. For more information about the location codes, see the "AddControlPolicy" topic. Example: \\["BJ11", "ZB"]'."\n", + 'description' => 'The language type of the request and response messages.', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, - 'example' => 'x.x.x.x/32', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'DestinationType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n" - .'* **location**: destination location', - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => 'The start time. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1534408189', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => 'The end time. The value is a UNIX timestamp in seconds.', 'type' => 'string', 'required' => true, 'example' => '1756952150', 'title' => ''], ], [ - 'name' => 'Proto', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The protocol type in the access control policy. Valid values:'."\n" - ."\n" - .'* **ANY**'."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n" - ."\n" - .'> The value **ANY** indicates all types of applications.'."\n" - ."\n" - .'> If the destination address type is a threat intelligence address book of the domain name type or a cloud service address book, you can set Proto to TCP. If you set Proto to TCP, you can set application types to HTTP, HTTPS, SMTP, SMTPS, and SSL.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'schema' => ['description' => 'The instance ID of the VPC-connected instance.', 'type' => 'string', 'required' => true, 'example' => 'vpc-wz9ulqcvly23w31zkh8sm****', 'title' => ''], ], [ - 'name' => 'Source', + 'name' => 'PeerVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy. Valid values:'."\n" - ."\n" - .'* If **SourceType** is set to `net`, the value of this parameter is a CIDR block. Example: 10.2.XX.XX/24.'."\n" - .'* If **SourceType** is set to `group`, the value of this parameter is an address book name. Example: db_group.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.25/32', - ], + 'schema' => ['description' => 'The instance ID of the peer VPC instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-90rq0anm6t8vbwbo****', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n" - ."\n" - .'To modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '61ab1c02-926a-4d1b-9ef7-595eed8c4226', - ], + 'schema' => ['description' => 'The port number.', 'type' => 'string', 'required' => false, 'example' => '5234', 'title' => ''], ], [ 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies. Valid value:'."\n" - ."\n" - .'* **out**: outbound.'."\n", + 'description' => 'The traffic direction.', + 'enumValueTitles' => ['in' => 'inbound.', 'out' => 'outbound.'], 'type' => 'string', 'required' => false, - 'example' => 'out', - 'default' => 'out', + 'example' => 'in', + 'title' => '', ], ], [ - 'name' => 'SourceType', + 'name' => 'AppName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the source address in the access control policy. Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'DestPortType', + 'name' => 'IPProtocol', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the destination port in the access control policy. Valid values:'."\n" - ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", + 'description' => 'The protocol type.', + 'enumValueTitles' => ['tcp' => 'tcp', 'udp' => 'udp'], 'type' => 'string', 'required' => false, - 'example' => 'port', + 'example' => 'tcp', + 'title' => '', ], ], [ - 'name' => 'DestPortGroup', + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n", + 'description' => 'The risk level.', + 'enumValueTitles' => ['none.', 'low.', 'medium.', 'high.'], 'type' => 'string', 'required' => false, - 'example' => 'my_dest_port_group', + 'example' => '3', + 'title' => '', ], ], [ - 'name' => 'Release', + 'name' => 'EcsInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the access control policy. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The instance ID of the ECS instance.', 'type' => 'string', 'required' => false, 'example' => ' i-hp3ez3rs9bxwt034****', 'title' => ''], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'EcsInstanceName', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The name of the application.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application types supported by the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ANY', - ], - 'required' => false, - 'maxItems' => 30, - ], + 'schema' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'required' => false, 'example' => 'test-ecs', 'title' => ''], ], [ - 'name' => 'DomainResolveType', + 'name' => 'AssetIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" - ."\n" - .'* **0**: Fully qualified domain name (FQDN)-based resolution'."\n" - .'* **1**: Domain Name System (DNS)-based dynamic resolution'."\n" - .'* **2**: FQDN and DNS-based dynamic resolution'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'RepeatType', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.', + 'description' => 'The sort method.', + 'enumValueTitles' => ['InBytes' => 'InBytes', 'SessionCount' => 'SessionCount', 'OutBytes' => 'OutBytes'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', - ], - ], - [ - 'name' => 'RepeatDays', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \\[].'."\n" - .'* If RepeatType is set to Weekly, RepeatDays must be specified. Example: \\[0, 6].'."\n" - ."\n" - .'> If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.'."\n" - ."\n" - .'* If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \\[1, 31].'."\n" - ."\n" - .'> If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.', - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If RepeatType is set to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If RepeatType is set to Monthly, valid values of this parameter are 1 to 31.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, + 'example' => 'SessionCount', + 'title' => '', ], ], [ - 'name' => 'RepeatStartTime', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, RepeatStartTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.', + 'description' => 'The sort order.', + 'enumValueTitles' => ['asc' => 'ascending.', 'desc' => 'descending.'], 'type' => 'string', 'required' => false, - 'example' => '08:00', + 'example' => 'desc', + 'title' => '', ], ], [ - 'name' => 'RepeatEndTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent or None, RepeatEndTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime must be specified.', - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => 'The current page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent, StartTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, StartTime must be specified.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'IsAITraffic', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.'."\n" - ."\n" - .'> If RepeatType is set to Permanent, EndTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, EndTime must be specified.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => 'Specifies whether to collect statistics only on traffic that accesses AI services.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -37375,386 +31111,212 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '3868197C-E6E8-52CD-8358-05E3308430E2', + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '924A6CCC-4EAD-5554-8AD0-45F5ED56****', 'title' => ''], + 'DataList' => [ + 'description' => 'The data list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data list.', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => 'The risk level.', + 'enumValueTitles' => ['none.', 'low.', 'medium.', 'high.'], + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + 'title' => '', + ], + 'SessionCount' => ['description' => 'The total number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '27', 'title' => ''], + 'AssetInstanceId' => ['description' => 'The ID of the asset instance.', 'type' => 'string', 'example' => ' i-hp3ez3rs9bxwt034****', 'title' => ''], + 'OutBytes' => ['description' => 'The outbound traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], + 'RegionNo' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'AssetIP' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'InBytes' => ['description' => 'The inbound traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0', 'title' => ''], + 'AssetInstanceName' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'example' => 'ecs-test', 'title' => ''], + 'RiskReason' => ['description' => 'The risk reason.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PortList' => [ + 'description' => 'The port list.', + 'type' => 'array', + 'items' => ['description' => 'The port list.', 'type' => 'string', 'example' => '['."\n" + .' 80,'."\n" + .' 8080,'."\n" + .' 80,'."\n" + .' 21'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TotalBytes' => ['description' => 'The total traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'IpsHitCnt' => ['description' => 'The number of IPS hits.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Query VPC firewall asset list', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3768197C-E6E8-52CD-8358-*****\\"\\n}","type":"json"}]', - 'title' => 'ModifyNatFirewallControlPolicy', - 'description' => 'You can use this operation to modify the configurations of an access control policy. The policy is used to allow, deny, or monitor traffic that reaches a NAT firewall.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"924A6CCC-4EAD-5554-8AD0-45F5ED56****\\",\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"SessionCount\\": 27,\\n \\"AssetInstanceId\\": \\" i-hp3ez3rs9bxwt034****\\",\\n \\"OutBytes\\": 0,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"AssetIP\\": \\"192.0.XX.XX\\",\\n \\"InBytes\\": 0,\\n \\"AssetInstanceName\\": \\"ecs-test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"TotalBytes\\": 0,\\n \\"IpsHitCnt\\": 10\\n }\\n ]\\n}","type":"json"}]', + 'translator' => 'machine', ], - 'ModifyNatFirewallControlPolicyPosition' => [ - 'summary' => 'Modifies the priority of an access control policy that is created for a NAT firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVpcFirewallAssetRegionList' => [ + 'summary' => 'Queries the regions where the VPC firewall is enabled for asset protection.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171422', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '231484', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], - ], - [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies.'."\n" - ."\n" - .'* Set the value to **out**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'out', - 'default' => 'out', - ], - ], - [ - 'name' => 'NewOrder', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The new priority of the IPv4 access control policy. You must specify a numeric value for this parameter. The value 1 indicates the highest priority. A larger value indicates a lower priority.'."\n" - ."\n" - .'> Make sure that the value of this parameter is within the priority range of existing IPv4 access control policies. Otherwise, an error occurs when you call this operation.'."\n" - ."\n" - .'Before you call this operation, we recommend that you call the DescribeNatFirewallPolicyPriorUsed operation to query the priority range of the IPv4 access control policies in the specified traffic direction.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => 'The UID of the member accounts.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '66961eea-e659-4225-84c9-9b6da76ec401', - ], + 'schema' => ['description' => 'The instance ID of the virtual private cloud (VPC) firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '60617208-F5F7-5B44-BB1E-3AC1B6FCD627', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '00933CCB-65A4-5E51-B180-3D154281****'], + 'RegionNoList' => [ + 'description' => 'The list of regions.', + 'type' => 'array', + 'items' => ['description' => 'The list of regions.', 'type' => 'string', 'example' => '[\'cn-hangzhou\', \'cn-shenzhen\']', 'title' => ''], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query regions where VPC firewall is enabled for assets', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68617208-F5F7-5B44-BB1E-*****\\"\\n}","type":"json"}]', - 'title' => 'ModifyNatFirewallControlPolicyPosition', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"00933CCB-65A4-5E51-B180-3D154281****\\",\\n \\"RegionNoList\\": [\\n \\"[\'cn-hangzhou\', \'cn-shenzhen\']\\"\\n ]\\n}","type":"json"}]', ], - 'ResetNatFirewallRuleHitCount' => [ - 'summary' => 'Resets the number of NAT firewall hits.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVpcFirewallCenDetail' => [ + 'summary' => 'Retrieves the details of a VPC firewall that protects traffic between a network instance in a Cloud Enterprise Network (CEN) and a specified VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171494', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68414', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '3de3aed5-6de7-4ecd-9106-cfe994b9c49f', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-zm0h3c1exm5bifuorg8c5', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall.'."\n" + ."\n" + .'> You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + ], + [ + 'name' => 'NetworkInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC instance for which the VPC firewall is created.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zefk9fbn8j7v585g****', 'title' => ''], ], ], 'responses' => [ @@ -37762,120 +31324,297 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666', + 'ConnectType' => ['description' => 'The connection type of the VPC firewall. The value is fixed as **cen**, which indicates CEN.', 'type' => 'string', 'example' => 'cen', 'title' => ''], + 'VpcFirewallName' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'example' => 'vpc-firewall-test', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'FirewallSwitchStatus' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: The firewall is enabled.'."\n" + ."\n" + .'- **closed**: The firewall is disabled.'."\n" + ."\n" + .'- **notconfigured**: The firewall is not configured.', 'type' => 'string', 'example' => 'opened', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2', 'title' => ''], + 'LocalVpc' => [ + 'description' => 'The details of the VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The instance ID of the VPC.', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + 'TransitRouterType' => ['description' => 'The edition of the CEN transit router. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition.'."\n" + ."\n" + .'- **Enterprise**: Enterprise Edition.', 'type' => 'string', 'example' => 'Basic', 'title' => ''], + 'RouteMode' => ['description' => 'The routing mode. Valid values:'."\n" + ."\n" + .'- auto: automatic mode.'."\n" + ."\n" + .'- manual: manual mode.', 'type' => 'string', 'example' => 'auto', 'title' => ''], + 'NetworkInstanceId' => ['description' => 'The ID of the VPC instance for which the VPC firewall is created.', 'type' => 'string', 'example' => 'vpc-2zefk9fbn8j7v585g****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ManualVSwitchId' => ['description' => 'The ID of the vSwitch that is specified for the manual routing mode.', 'type' => 'string', 'example' => 'vsw-zeq4o875u****', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the Alibaba Cloud account to which the VPC belongs.', 'type' => 'string', 'example' => '158039427902****', 'title' => ''], + 'NetworkInstanceType' => ['description' => 'The type of the network instance. The value is fixed as **VPC**.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'VpcName' => ['description' => 'The instance name of the VPC.', 'type' => 'string', 'example' => 'vpc-firewall-test', 'title' => ''], + 'SupportManualMode' => ['description' => 'Indicates whether the manual routing mode is supported. Valid values:'."\n" + ."\n" + .'- **1**: yes.'."\n" + ."\n" + .'- **0**: no.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'TransitRouterId' => ['description' => 'The instance ID of the CEN transit router.', 'type' => 'string', 'example' => 'tr-2zetwxskej633l3u1****', 'title' => ''], + 'AttachmentId' => ['description' => 'The ID of the network instance connection.', 'type' => 'string', 'example' => 'tr-attach-sxig7bye51fid5****', 'title' => ''], + 'NetworkInstanceName' => ['description' => 'The name of the network instance.', 'type' => 'string', 'example' => 'test-vpc', 'title' => ''], + 'AttachmentName' => ['description' => 'The name of the network instance connection.', 'type' => 'string', 'example' => 'local-test', 'title' => ''], + 'VpcCidrTableList' => [ + 'description' => 'The list of CIDR blocks for the VPC.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'The ID of the route table for the VPC.', 'type' => 'string', 'example' => 'vtb-1234', 'title' => ''], + 'RouteEntryList' => [ + 'description' => 'The list of route entries for the VPC.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'The ID of the next hop instance in the VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the VPC.', 'type' => 'string', 'example' => '192.168.XX.XX/24', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'EniList' => [ + 'description' => 'The list of elastic network interfaces (ENIs).', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EniId' => ['description' => 'The instance ID of the ENI in the VPC.', 'type' => 'string', 'example' => 'eni-8vbhfosfqv2rff42****', 'title' => ''], + 'EniPrivateIpAddress' => ['description' => 'The private IP address of the ENI in the VPC.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'EniVSwitchId' => ['description' => 'The ID of the vSwitch for the ENI in the VPC.', 'type' => 'string', 'example' => 'vsw-wz9viido7j436b0n1****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'DefendCidrList' => [ + 'description' => 'The list of CIDR blocks that are protected by the VPC firewall.', + 'type' => 'array', + 'items' => ['description' => 'The CIDR block that is protected by the VPC firewall.', 'type' => 'string', 'example' => '10.0.XX.XX/24', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'FirewallVpc' => [ + 'description' => 'The VPC that is used by the firewall.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The VPC instance ID.', 'type' => 'string', 'example' => 'vpc-bp1245k5oagy2bp74****', 'title' => ''], + 'VpcCidr' => ['description' => 'The CIDR block of the VPC.', 'type' => 'string', 'example' => '10.0.0.0/8', 'title' => ''], + 'VswitchId' => ['description' => 'The virtual switch ID.', 'type' => 'string', 'example' => 'vsw-bp1sqg9wms9wxcs1****', 'title' => ''], + 'VswitchCidr' => ['description' => 'The CIDR block of the virtual switch.', 'type' => 'string', 'example' => '10.0.0.1/24', 'title' => ''], + 'ZoneId' => ['description' => 'The ID of the primary zone for the firewall.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], + 'AllowConfiguration' => ['description' => 'Indicates whether you can specify a CIDR block for the firewall VPC when you create a VPC firewall for a Basic Edition transit router. Valid values:'."\n" + ."\n" + .'- **1**: yes.'."\n" + ."\n" + .'- **0**: no.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'VswitchZoneId' => ['description' => 'The zone ID of the virtual switch.', 'type' => 'string', 'example' => 'cn-hangzhou-i', 'title' => ''], + 'StandbyZoneId' => ['description' => 'The ID of the secondary zone for the firewall.', 'type' => 'string', 'example' => 'cn-hangzhou-k', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => 'The VPC firewall ID is invalid.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', 'description' => 'The firewall is configured and cannot be repeatedly created.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => 'Failed to call the VPC API.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorVpcIdPara', 'errorMessage' => 'vpc id and firewall id parameter not exist.', 'description' => 'The firewall VPC parameter is incorrect. Select another one.'], + ['errorCode' => 'ErrorFirewallNotFound', 'errorMessage' => 'Firewall not found', 'description' => 'The firewall does not exist.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => 'The user does not exist.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666\\"\\n}","type":"json"}]', - 'title' => 'ResetNatFirewallRuleHitCount', - ], - 'DeleteNatFirewallControlPolicy' => [ - 'summary' => 'Deletes an access control policy that is created for a NAT firewall.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": \\"158039427902****\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"vpc-firewall-test\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"TransitRouterId\\": \\"tr-2zetwxskej633l3u1****\\",\\n \\"AttachmentId\\": \\"tr-attach-sxig7bye51fid5****\\",\\n \\"NetworkInstanceName\\": \\"test-vpc\\",\\n \\"AttachmentName\\": \\"local-test\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"EniList\\": [\\n {\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"EniVSwitchId\\": \\"vsw-wz9viido7j436b0n1****\\"\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"FirewallVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1245k5oagy2bp74****\\",\\n \\"VpcCidr\\": \\"10.0.0.0/8\\",\\n \\"VswitchId\\": \\"vsw-bp1sqg9wms9wxcs1****\\",\\n \\"VswitchCidr\\": \\"10.0.0.1/24\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"AllowConfiguration\\": 0,\\n \\"VswitchZoneId\\": \\"cn-hangzhou-i\\",\\n \\"StandbyZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n}","type":"json"}]', + 'title' => 'DescribeVpcFirewallCenDetail', + 'description' => 'You can call this operation to query the details of a VPC firewall. The VPC firewall protects traffic between a specified VPC and a network instance in a Cloud Enterprise Network (CEN). The network instance can be a VPC, a Virtual Border Router (VBR), or a Cloud Connect Network (CCN) instance.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'This operation has a queries per second (QPS) limit of 10 for each user. If you exceed the limit, your API calls are throttled. This may affect your business. We recommend that you call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenDetail'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + ], + 'DescribeVpcFirewallCenList' => [ + 'summary' => 'Retrieves the details of VPC firewalls that protect traffic between a specified VPC and network instances in a Cloud Enterprise Network (CEN) instance.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171413', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68415', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n" - ."\n" - .'To delete an access control policy, you must provide the ID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'b6c8f905-2eb6-442a-ba35-9416e9dbb2c5', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'NatGatewayId', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => 'The region ID of the VPC.'."\n" + ."\n" + .'> For more information about the regions that Cloud Firewall supports, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'NetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **out**: outbound traffic'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'out', - ], + 'schema' => ['description' => 'The ID of the network instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + ], + [ + 'name' => 'FirewallSwitchStatus', + 'in' => 'query', + 'schema' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: The firewall is enabled.'."\n" + ."\n" + .'- **closed**: The firewall is disabled.'."\n" + ."\n" + .'- **notconfigured**: The firewall is not configured.'."\n" + ."\n" + .'- **configured**: The firewall is configured but is disabled.'."\n" + ."\n" + .'> If you leave this parameter empty, VPC firewalls in all states are queried.', 'type' => 'string', 'required' => false, 'example' => 'opened', 'title' => ''], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + ], + [ + 'name' => 'VpcFirewallName', + 'in' => 'query', + 'schema' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-test', 'title' => ''], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the CEN instance.', 'type' => 'string', 'required' => false, 'example' => 'cen-x5jayxou71ad73****', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number to return.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page.'."\n" + ."\n" + .'Default value: 10. Maximum value: 50.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'RouteMode', + 'in' => 'query', + 'schema' => ['description' => 'The routing mode. Valid values:'."\n" + ."\n" + .'- **auto**: automatic mode.'."\n" + ."\n" + .'- **manual**: manual mode.'."\n" + ."\n" + .'> If you leave this parameter empty, VPC firewalls that use all routing modes are queried.', 'type' => 'string', 'required' => false, 'example' => 'auto', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of a member account that is managed by your Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], + ], + [ + 'name' => 'TransitRouterType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the transit router. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition transit router.'."\n" + ."\n" + .'- **Enterprise**: Enterprise Edition transit router.', 'type' => 'string', 'required' => false, 'example' => 'Basic', 'title' => ''], ], ], 'responses' => [ @@ -37883,186 +31622,284 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '31306869-C4BC-56F3-BBE6-C377CF9C8E1C', + 'TotalCount' => ['description' => 'The total number of VPC firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2', 'title' => ''], + 'VpcFirewalls' => [ + 'description' => 'The details of the VPC firewalls.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConnectType' => ['description' => 'The connection type of the VPC firewall. The value is fixed as cen, which indicates a CEN instance.', 'type' => 'string', 'example' => 'cen', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'RegionStatus' => ['description' => 'The status of the region. Valid values:'."\n" + ."\n" + .'- **enable**: VPC firewalls can be configured in the region.'."\n" + ."\n" + .'- **disable**: VPC firewalls cannot be configured in the region.', 'type' => 'string', 'example' => 'enable', 'title' => ''], + 'CenId' => ['description' => 'The ID of the CEN instance.', 'type' => 'string', 'example' => 'cen-x5jayxou71ad73****', 'title' => ''], + 'VpcFirewallName' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'example' => 'vpc-firewall-test', 'title' => ''], + 'ResultCode' => ['description' => 'The result code of the operation to create the VPC firewall. Valid values:'."\n" + ."\n" + .'- **Unauthorized**: The VPC firewall cannot be created because a network instance is not authorized.'."\n" + ."\n" + .'- **RegionDisable**: The VPC firewall cannot be created because the region of the network instance is not supported.'."\n" + ."\n" + .'- **OpsDisable**: The VPC firewall cannot be created.'."\n" + ."\n" + .'- **VbrNotSupport**: The VPC firewall cannot be created because the VBR in the CEN instance is not supported.'."\n" + ."\n" + .'- An empty string indicates that the VPC firewall can be created for the network instance.', 'type' => 'string', 'example' => 'Unauthorized', 'title' => ''], + 'CenName' => ['description' => 'The name of the CEN instance.', 'type' => 'string', 'example' => 'cen-test', 'title' => ''], + 'FirewallSwitchStatus' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: enabled.'."\n" + ."\n" + .'- **closed**: disabled.'."\n" + ."\n" + .'- **notconfigured**: not configured.', 'type' => 'string', 'example' => 'opened', 'title' => ''], + 'LocalVpc' => [ + 'description' => 'The details of the VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The instance ID of the VPC.', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + 'TransitRouterType' => ['description' => 'The edition of the CEN transit router. Valid values:'."\n" + ."\n" + .'- **Basic**: Basic Edition.'."\n" + ."\n" + .'- **Enterprise**: Enterprise Edition.', 'type' => 'string', 'example' => 'Basic', 'title' => ''], + 'NetworkInstanceId' => ['description' => 'The ID of the network instance.', 'type' => 'string', 'example' => 'vpc-2zefk9fbn8j7v585g****', 'title' => ''], + 'RouteMode' => ['description' => 'The routing mode. Valid values:'."\n" + ."\n" + .'- **auto**: automatic.'."\n" + ."\n" + .'- **manual**: manual.', 'type' => 'string', 'example' => 'auto', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'AuthorizationStatus' => ['description' => 'The authorization status of the VPC. The value is fixed as **authorized**. This value indicates that the VPC is authorized.', 'type' => 'string', 'example' => 'authorized', 'title' => ''], + 'ManualVSwitchId' => ['description' => 'The ID of the vSwitch that is specified for the manual routing mode.', 'type' => 'string', 'example' => 'vsw-zeq4o875u****', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the Alibaba Cloud account to which the VPC belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****', 'title' => ''], + 'NetworkInstanceType' => ['description' => 'The type of the network instance. Valid values:'."\n" + ."\n" + .'- **VPC**: Virtual Private Cloud.'."\n" + ."\n" + .'- **VBR**: Virtual Border Router.'."\n" + ."\n" + .'- **CCN**: Cloud Connect Network.', 'type' => 'string', 'example' => 'VPC', 'title' => ''], + 'VpcName' => ['description' => 'The instance name of the VPC.', 'type' => 'string', 'example' => 'vpc-instance', 'title' => ''], + 'SupportManualMode' => ['description' => 'Indicates whether the manual routing mode is supported. Valid values:'."\n" + ."\n" + .'- **1**: yes.'."\n" + ."\n" + .'- **0**: no.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'NetworkInstanceName' => ['description' => 'The name of the network instance.', 'type' => 'string', 'example' => 'network-instance-test', 'title' => ''], + 'VpcCidrTableList' => [ + 'description' => 'The CIDR blocks of the VPC.', + 'type' => 'array', + 'items' => [ + 'description' => 'The CIDR blocks of the VPC.', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'The ID of the route table for the VPC.', 'type' => 'string', 'example' => 'vtb-1234', 'title' => ''], + 'RouteEntryList' => [ + 'description' => 'The routes of the VPC.', + 'type' => 'array', + 'items' => [ + 'description' => 'The routes of the VPC.', + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'The ID of the next hop instance in the VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the VPC.', 'type' => 'string', 'example' => '192.168.XX.XX/24', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'DefendCidrList' => [ + 'description' => 'The CIDR blocks that are protected by the VPC firewall.', + 'type' => 'array', + 'items' => ['description' => 'A CIDR block that is protected by the VPC firewall.', 'type' => 'string', 'example' => '10.0.XX.XX/24', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'IpsConfig' => [ + 'description' => 'The intrusion prevention system (IPS) configuration.', + 'type' => 'object', + 'properties' => [ + 'BasicRules' => ['description' => 'Indicates whether basic protection is enabled. Valid values:'."\n" + ."\n" + .'- **1**: enabled.'."\n" + ."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EnableAllPatch' => ['description' => 'Indicates whether virtual patching is enabled. Valid values:'."\n" + ."\n" + .'- **1**: enabled.'."\n" + ."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RunMode' => ['description' => 'The mode of the IPS. Valid values:'."\n" + ."\n" + .'- **1**: Block Mode.'."\n" + ."\n" + .'- **0**: Monitor mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RuleClass' => ['description' => 'The type of the IPS rule group. Valid values:'."\n" + ."\n" + .'- **1**: loose.'."\n" + ."\n" + .'- **2**: medium.'."\n" + ."\n" + .'- **3**: strict.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemberUid' => ['description' => 'The UID of the member account.', 'type' => 'string', 'example' => '258039427902****', 'title' => ''], + 'PrecheckStatus' => ['description' => 'Indicates whether the firewall can be automatically created. Cloud Firewall automatically creates a firewall and protects VPC traffic based on route learning. Valid values:'."\n" + ."\n" + .'- **passed**: The firewall can be automatically created.'."\n" + ."\n" + .'- **failed**: The firewall cannot be automatically created.'."\n" + ."\n" + .'- **unknown**: The status is unknown.', 'type' => 'string', 'example' => 'failed', 'title' => ''], + 'AclConfig' => [ + 'description' => 'The access control list (ACL) engine mode.', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => 'Indicates whether the strict mode is enabled. Valid values:'."\n" + ."\n" + .'- 1: enabled'."\n" + ."\n" + .'- 0: disabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => 'The user does not exist.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'firewall status error.', 'description' => 'Firewall status error, please try again later.'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => 'The account is incorrect, please re-enter.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"CenId\\": \\"cen-x5jayxou71ad73****\\",\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"CenName\\": \\"cen-test\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": 0,\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"vpc-instance\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"NetworkInstanceName\\": \\"network-instance-test\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeVpcFirewallCenList', + 'description' => 'This operation queries the details of a VPC firewall. The firewall protects traffic between a specified VPC and a network instance that is attached to a Cloud Enterprise Network (CEN) instance. The network instance can be a VPC, a Virtual Border Router (VBR), or a Cloud Connect Network (CCN) instance.'."\n" + ."\n" + .'## Limits'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. We recommend that you plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenList'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\"\\n}","type":"json"}]', - 'title' => 'DeleteNatFirewallControlPolicy', - 'description' => 'You can use this operation to delete an outbound access control policy that is created for a NAT firewall.'."\n", ], - 'DeleteNatFirewallControlPolicyBatch' => [ - 'summary' => 'Deletes access control policies that are created for a NAT firewall at a time.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVpcFirewallCenSummaryList' => [ + 'summary' => 'Queries a list of Cloud Enterprise Network (CEN) instances for a VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '173710', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '68416', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'AclUuidList', + 'name' => 'Lang', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The UUIDs of access control policies.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c', - ], - 'required' => true, - 'maxItems' => 100, - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-uf6j0426ap74vd6vrb676', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The page number for a paged query. The default value is 1.', 'title' => '', 'example' => '1'], ], [ - 'name' => 'Direction', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" - ."\n" - .'* **out**: outbound traffic'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'out', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The number of entries to return on each page.', 'title' => '', 'example' => '10'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The UID of the member account.', 'required' => false, 'title' => '', 'example' => '135809047715****'], + ], + [ + 'name' => 'TransitRouterType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The type of the CEN transit router. Valid values:'."\n" + ."\n" + .'**Basic**: Basic Edition'."\n" + ."\n" + .'**Enterprise**: Enterprise Edition', 'required' => false, 'title' => '', 'example' => 'Basic'], ], ], 'responses' => [ @@ -38070,368 +31907,80 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72', + 'TotalCount' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The total number of entries returned.', 'title' => '', 'example' => '5'], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => '432D6CCA-5186-5B91-A2B8-10C8994B****'], + 'CenList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CenName' => ['type' => 'string', 'description' => 'The name of the CEN instance.', 'title' => '', 'example' => 'test'], + 'CenId' => ['type' => 'string', 'description' => 'The ID of the CEN instance.', 'title' => '', 'example' => 'cen-maqfw3abcmjy56****'], + 'RegionNoList' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The list of region IDs for the VPC border firewall.', 'title' => '', 'example' => '['."\n" + .' "cn-hangzhou",'."\n" + .' "cn-beijing"'."\n" + .']'], + 'description' => 'The list of region IDs for the VPC border firewall.', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The list of CEN instances.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of CEN instances.', + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParamUuidOrOrderMiss', - 'errorMessage' => 'Either uuid or oldOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\"\\n}","type":"json"}]', - 'title' => 'DeleteNatFirewallControlPolicyBatch', - ], - 'DescribeVpcFirewallAssetRegionList' => [ - 'summary' => '查询VPC防火墙资产地域', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231484', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - ], - 'parameters' => [ - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], - ], - [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '00933CCB-65A4-5E51-B180-3D154281****', - ], - 'RegionNoList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[\'cn-hangzhou\', \'cn-shenzhen\']', - ], - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"00933CCB-65A4-5E51-B180-3D154281****\\",\\n \\"RegionNoList\\": [\\n \\"[\'cn-hangzhou\', \'cn-shenzhen\']\\"\\n ]\\n}","type":"json"}]', - ], - 'DescribeVpcFirewallAclGroupList' => [ - 'summary' => 'Queries the information about all policy groups of access control policies that are created for virtual private cloud (VPC) firewalls.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68412', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'title' => 'DescribeVpcFirewallCenSummaryList', + 'description' => '## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which can affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'FirewallConfigureStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether VPC firewalls are configured. Valid values:'."\n" - ."\n" - .'* **notconfigured**: VPC firewalls are not configured.'."\n" - .'* **configured**: VPC firewalls are configured.'."\n" - .'* If you do not specify this parameter, the access control policies of all VPC firewalls are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'configured', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Maximum value: 50.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], + 'ramActions' => [ [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-5b202e7f0be64611****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of the policy groups that are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'AclGroupList' => [ - 'description' => 'The information about the access control policy groups.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'None.'."\n", - 'type' => 'object', - 'properties' => [ - 'AclGroupId' => [ - 'description' => 'The ID of the policy group.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* If the VPC firewall is used to protect a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance.'."\n" - ."\n" - .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*'."\n" - ."\n" - .'* If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.'."\n" - ."\n" - .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*'."\n", - 'type' => 'string', - 'example' => 'vfw-a42bbb7b887148c9****', - ], - 'AclGroupName' => [ - 'description' => 'The name of the policy group. Valid values:'."\n" - ."\n" - .'* If the VPC firewall is used to protect a CEN instance, the value of this parameter is the name of the CEN instance.'."\n" - .'* If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the instance name of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'group_test', - ], - 'MemberUid' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '258039427902****', - ], - 'AclRuleCount' => [ - 'description' => 'The number of access control policies in the policy group.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'IsDefault' => [ - 'description' => 'Whether it is the default firewall. Values:'."\n" - ."\n" - .'* **true**: It is the default firewall.'."\n" - .'* **false**: It is not the default firewall.', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '', - 'false' => '', - ], - 'example' => 'true', - ], - 'AclConfig' => [ - 'description' => 'ACL engine mode.', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => 'Specifies Whether strict mode is enabled. Valid values:'."\n" - .'* 1: yes'."\n" - .'* 0: no', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenSummaryList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorConfigureStatus', - 'errorMessage' => 'firewall configure status invalid.', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"AclGroupList\\": [\\n {\\n \\"AclGroupId\\": \\"vfw-a42bbb7b887148c9****\\",\\n \\"AclGroupName\\": \\"group_test\\",\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"AclRuleCount\\": 9,\\n \\"IsDefault\\": true,\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n vfw-a42bbb7b887148c9****\\n group_test\\n 258039427902****\\n \\n","errorExample":""}]', - 'title' => 'DescribeVpcFirewallAclGroupList', - 'description' => 'You can call the DescribeVpcFirewallAclGroupList operation to query the information about all policy groups of access control policies that are created for VPC firewalls.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"432D6CCA-5186-5B91-A2B8-10C8994B****\\",\\n \\"CenList\\": [\\n {\\n \\"CenName\\": \\"test\\",\\n \\"CenId\\": \\"cen-maqfw3abcmjy56****\\",\\n \\"RegionNoList\\": [\\n \\"[\\\\n \\\\\\"cn-hangzhou\\\\\\",\\\\n \\\\\\"cn-beijing\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'DescribeVpcFirewallControlPolicy' => [ - 'summary' => 'Queries the information about the access control policies for a specified virtual private cloud (VPC) firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Retrieves all access control policies for a specific VPC boundary firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -38444,185 +31993,130 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '68417', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall. Valid values:'."\n" - ."\n" - .'* If the VPC firewall protects the traffic between two VPCs that are connected by using a CEN instance, the value of this parameter must be the ID of the CEN instance.'."\n" - .'* If the VPC firewall protects the traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + 'schema' => ['description' => 'The instance ID of the VPC boundary firewall. You can specify one of the following IDs:'."\n" + ."\n" + .'- The ID of a Cloud Enterprise Network (CEN) instance if the firewall protects traffic between two VPCs connected via the CEN instance.'."\n" + ."\n" + .'- The instance ID of the VPC boundary firewall if the firewall protects traffic between two VPCs connected via an Express Connect circuit.'."\n" + ."\n" + .'> You can call the [DescribeVpcFirewallList](~~159760~~) operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n" - ."\n" - .'Maximum value: 50.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page.'."\n" + ."\n" + .'Maximum value: 50.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy. Fuzzy match is supported.'."\n" - ."\n" - .'> The value of this parameter can be a CIDR block or an address book name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], + 'schema' => ['description' => 'The source address in the access control policy. Fuzzy match is supported.'."\n" + ."\n" + .'> The value can be a CIDR block or an address book.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24', 'title' => ''], ], [ 'name' => 'Destination', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination address in the access control policy. Fuzzy match is supported.'."\n" - ."\n" - .'> The value of this parameter can be a CIDR block or an address book name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], + 'schema' => ['description' => 'The destination address in the access control policy. Fuzzy match is supported.'."\n" + ."\n" + .'> The value can be a CIDR block, a domain name, or an address book.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the access control policy. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The description of the access control policy. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'Proto', 'in' => 'query', - 'schema' => [ - 'description' => 'The protocol type in the access control policy. Valid values:'."\n" - ."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n" - .'* **ANY**: all protocol types'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies of all protocol types are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'schema' => ['description' => 'The protocol type in the access control policy. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**'."\n" + ."\n" + .'- **ANY**: all protocols'."\n" + ."\n" + .'> If you do not set this parameter, policies of all protocols are queried.', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''], ], [ 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: blocks the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n" - ."\n" - .'> If you do not specify this parameter, access control policies are queried based on all actions.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'accept', - ], + 'schema' => ['description' => 'The action that is performed on traffic. Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + ."\n" + .'- **drop**: denies the traffic.'."\n" + ."\n" + .'- **log**: monitors the traffic.'."\n" + ."\n" + .'> If you do not set this parameter, policies of all actions are queried.', 'type' => 'string', 'required' => false, 'example' => 'accept', 'title' => ''], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The UID of the member that is managed by your Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], [ 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4037fbf7-3e39-4634-92a4-d0155247****', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'required' => false, 'example' => '4037fbf7-3e39-4634-92a4-d0155247****', 'title' => ''], ], [ 'name' => 'Release', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the access control policy. Valid values:'."\n" - ."\n" - .'* **true**: enabled'."\n" - .'* **false**: disabled'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The status of the access control policy. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], [ 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" + 'description' => 'The recurrence type of the access control policy. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): The policy is always in effect.'."\n" ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", + .'- **None**: The policy is a one-time policy.'."\n" + ."\n" + .'- **Daily**: The policy recurs daily.'."\n" + ."\n" + .'- **Weekly**: The policy recurs weekly.'."\n" + ."\n" + .'- **Monthly**: The policy recurs monthly.', + 'enumValueTitles' => ['Daily' => '', 'Monthly' => '', 'Permanent' => '', 'Weekly' => '', 'None' => ''], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], 'example' => 'Permanent', + 'title' => '', ], ], ], @@ -38631,430 +32125,301 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'The total number of access control policies returned.'."\n", - 'type' => 'string', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'TotalCount' => ['description' => 'The total number of VPC firewall access control policies.', 'type' => 'string', 'example' => '20', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], 'Policys' => [ - 'description' => 'The details of the access control policies.'."\n", + 'description' => 'The VPC firewall access control policies.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Destination' => [ - 'description' => 'The destination address in the access control policy. Valid values:'."\n" - ."\n" - .'* If **DestinationType** is set to `net`, the value of this parameter is a CIDR block.'."\n" - .'* If **DestinationType** is set to `domain`, the value of this parameter is a domain name.'."\n" - .'* If **DestinationType** is set to `group`, the value of this parameter is an address book name.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', + 'Destination' => ['description' => 'The destination address for the access control policy. The value depends on `DestinationType`.'."\n" + ."\n" + .'- If `DestinationType` is `net`, the value is a destination CIDR block.'."\n" + ."\n" + .'- If `DestinationType` is `domain`, the value is a destination domain name.'."\n" + ."\n" + .'- If `DestinationType` is `group`, the value is the name of a destination address book.', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'Order' => ['description' => 'The priority of the access control policy, starting from 1. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DestPortGroup' => ['description' => 'The name of the destination port address book.', 'type' => 'string', 'example' => 'my_port_group', 'title' => ''], + 'SourceType' => ['description' => 'The type of the source address. Valid values:'."\n" + ."\n" + .'- **net**: a source CIDR block'."\n" + ."\n" + .'- **group**: a source address book', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'ApplicationName' => ['description' => 'The application type. We recommend that you use `ApplicationNameList` instead. Valid values:'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'- **ANY** (all application types)', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'AclUuid' => ['description' => 'The unique identifier of the access control policy.', 'type' => 'string', 'example' => '4037fbf7-3e39-4634-92a4-d0155247****', 'title' => ''], + 'DestPortType' => ['description' => 'The type of the destination port. Valid values:'."\n" + ."\n" + .'- **port**: a single port'."\n" + ."\n" + .'- **group**: a port address book', 'type' => 'string', 'example' => 'port', 'title' => ''], + 'Source' => ['description' => 'The source address for the access control policy. The value depends on `SourceType`.'."\n" + ."\n" + .'- If `SourceType` is `net`, the value is a source CIDR block.'."\n" + ."\n" + .'- If `SourceType` is `group`, the value is the name of a source address book.', 'type' => 'string', 'example' => '192.0.XX.XX/24', 'title' => ''], + 'DestinationType' => ['description' => 'The type of the destination address. Valid values:'."\n" + ."\n" + .'- **net**: a destination CIDR block'."\n" + ."\n" + .'- **group**: a destination address book'."\n" + ."\n" + .'- **domain**: a destination domain name', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'HitTimes' => ['description' => 'The number of policy hits.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'DestPort' => ['description' => 'The destination port.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'Description' => ['description' => 'The policy description.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'AclAction' => ['description' => 'The action to perform on traffic that matches the access control policy. Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + ."\n" + .'- **drop**: denies the traffic.'."\n" + ."\n" + .'- **log**: logs the traffic.', 'type' => 'string', 'example' => 'accept', 'title' => ''], + 'ApplicationId' => ['description' => 'The ID of the application.', 'type' => 'string', 'example' => '10**', 'title' => ''], + 'Proto' => ['description' => 'The protocol type. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**'."\n" + ."\n" + .'- **ANY** (all protocol types)', 'type' => 'string', 'example' => 'TCP', 'title' => ''], + 'DestinationGroupCidrs' => [ + 'description' => 'The CIDR blocks in the destination address book.', + 'type' => 'array', + 'items' => ['description' => 'A CIDR block in the destination address book.', 'type' => 'string', 'example' => '["192.0.XX.XX/24", "192.0.XX.XX/32"]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'Order' => [ - 'description' => 'The priority of the access control policy.'."\n" - ."\n" - .'The priority value starts from 1. A smaller priority value indicates a higher priority.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'DestPortGroupPorts' => [ + 'description' => 'The ports in the destination port address book.', + 'type' => 'array', + 'items' => ['description' => 'A port in the destination port address book.', 'type' => 'string', 'example' => '[80,443]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'DestPortGroup' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n", - 'type' => 'string', - 'example' => 'my_port_group', + 'SourceGroupCidrs' => [ + 'description' => 'The CIDR blocks in the source address book.', + 'type' => 'array', + 'items' => ['description' => 'A CIDR block in the source address book.', 'type' => 'string', 'example' => '["192.0.XX.XX/24", "198.51.XX.XX/32"]', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'SourceType' => [ - 'description' => 'The type of the source address in the access control policy. Valid values:'."\n" + 'MemberUid' => ['description' => 'The UID of the member account.', 'type' => 'string', 'example' => '258039427902****', 'title' => ''], + 'Release' => ['description' => 'The enabled status of the access control policy. A policy is enabled by default after it is created. Valid values:'."\n" + ."\n" + .'- **true**: The policy is enabled.'."\n" + ."\n" + .'- **false**: The policy is disabled.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'SourceGroupType' => ['description' => 'The type of the source address book. The value is always **ip**, which indicates an address book that contains IP addresses or CIDR blocks.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'DestinationGroupType' => ['description' => 'The type of the destination address book. Valid values:'."\n" + ."\n" + .'- **ip**: an address book of IP addresses or CIDR blocks.'."\n" + ."\n" + .'- **domain**: an address book of domain names.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'HitLastTime' => ['description' => 'The UNIX timestamp, in seconds, of the last policy hit.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'ModifyTime' => ['description' => 'The UNIX timestamp, in seconds, of when the policy was last modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'SpreadCnt' => ['description' => 'The number of rule capacity units that the access control policy consumes. This is calculated as: Number of source addresses × Number of destination addresses × Number of applications × Number of port ranges.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'CreateTime' => ['description' => 'The UNIX timestamp, in seconds, of when the policy was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'ApplicationNameList' => [ + 'description' => 'The list of application names.', + 'type' => 'array', + 'items' => ['description' => 'An application type. Valid values:'."\n" ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n", - 'type' => 'string', - 'example' => 'net', - ], - 'ApplicationName' => [ - 'description' => 'The application types supported by the access control policy. We recommend that you specify ApplicationNameList. Valid values:'."\n" + .'- **HTTP**'."\n" ."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **MySQL**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **RDP**'."\n" - .'* **VNC**'."\n" - .'* **SSH**'."\n" - .'* **Redis**'."\n" - .'* **MQTT**'."\n" - .'* **MongoDB**'."\n" - .'* **Memcache**'."\n" - .'* **SSL**'."\n" - .'* **ANY**: all application types'."\n", - 'type' => 'string', - 'example' => 'HTTP', - ], - 'AclUuid' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'example' => '4037fbf7-3e39-4634-92a4-d0155247****', - ], - 'DestPortType' => [ - 'description' => 'The type of the destination port in the access control policy. Valid values:'."\n" + .'- **HTTPS**'."\n" ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => 'The source address in the access control policy. Valid values:'."\n" + .'- **MySQL**'."\n" ."\n" - .'* If **SourceType** is set to `net`, the value of this parameter is a CIDR block.'."\n" - .'* If **SourceType** is set to `group`, the value of this parameter is an address book name.'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => 'The type of the destination address in the access control policy. Valid values:'."\n" + .'- **SMTP**'."\n" ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n", - 'type' => 'string', - 'example' => 'net', - ], - 'HitTimes' => [ - 'description' => 'The number of hits for the access control policy.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'DestPort' => [ - 'description' => 'The destination port in the access control policy.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'Description' => [ - 'description' => 'The description of the access control policy.'."\n", - 'type' => 'string', - 'example' => 'test', - ], - 'AclAction' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" + .'- **SMTPS**'."\n" ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: denies the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'example' => 'accept', - ], - 'ApplicationId' => [ - 'description' => 'The application ID in the access control policy.'."\n", - 'type' => 'string', - 'example' => '10**', - ], - 'Proto' => [ - 'description' => 'The protocol type in the access control policy. Valid values:'."\n" + .'- **RDP**'."\n" ."\n" - .'* **TCP**'."\n" - .'* **UDP**'."\n" - .'* **ICMP**'."\n" - .'* **ANY**: all protocol types'."\n", - 'type' => 'string', - 'example' => 'TCP', - ], - 'DestinationGroupCidrs' => [ - 'description' => 'The CIDR blocks in the destination address book of the access control policy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block in the destination address book of the access control policy.'."\n", - 'type' => 'string', - 'example' => '["192.0.XX.XX/24", "192.0.XX.XX/32"]', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => 'The ports in the destination port address book of the access control policy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The port in the destination port address book of the access control policy.'."\n", - 'type' => 'string', - 'example' => '[80,443]', - ], - ], - 'SourceGroupCidrs' => [ - 'description' => 'The CIDR blocks in the source address book of the access control policy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The CIDR block in the source address book of the access control policy.'."\n", - 'type' => 'string', - 'example' => '["192.0.XX.XX/24", "198.51.XX.XX/32"]', - ], - ], - 'MemberUid' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'example' => '258039427902****', - ], - 'Release' => [ - 'description' => 'Indicates whether the access control policy is enabled. By default, an access control policy is enabled after it is created. Valid values:'."\n" + .'- **VNC**'."\n" ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'string', - 'example' => 'true', - ], - 'SourceGroupType' => [ - 'description' => 'The type of the source address book in the access control policy. The value is fixed as **ip**. The value indicates an address book that includes one or more CIDR blocks.'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'DestinationGroupType' => [ - 'description' => 'The type of the destination address book in the access control policy. Valid values:'."\n" + .'- **SSH**'."\n" ."\n" - .'* **ip**: an address book that includes one or more CIDR blocks'."\n" - .'* **domain**: an address book that includes one or more domain names'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'HitLastTime' => [ - 'description' => 'The time when the access control policy was last hit. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'ModifyTime' => [ - 'description' => 'The time when the access control policy was modified. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'SpreadCnt' => [ - 'description' => 'The total quota consumed by the returned access control policies, which is the sum of the quota consumed by each policy. The quota that is consumed by an access control policy is calculated by using the following formula: Quota that is consumed by an access control policy = Number of source addresses × Number of destination addresses (number of CIDR blocks or domain names) × Number of applications × Number of port ranges.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10,000', - ], - 'CreateTime' => [ - 'description' => 'The time when the access control policy was created. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ApplicationNameList' => [ - 'description' => 'The application types supported by the access control policy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application type supported by the access control policy. Valid values:'."\n" - ."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **MySQL**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **RDP**'."\n" - .'* **VNC**'."\n" - .'* **SSH**'."\n" - .'* **Redis**'."\n" - .'* **MQTT**'."\n" - .'* **MongoDB**'."\n" - .'* **Memcache**'."\n" - .'* **SSL**'."\n" - .'* **ANY**: all application types'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "HTTPS", '."\n" - .' "SMTPS", '."\n" - .' "SSL"'."\n" - .']', - ], - ], - 'RepeatType' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" + .'- **Redis**'."\n" ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', - ], - 'RepeatDays' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" + .'- **MQTT**'."\n" ."\n" - .'* If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is left empty. Example: \\[].'."\n" - .'* If RepeatType is set to Weekly, RepeatDays must be specified. Example: \\[0, 6].'."\n" + .'- **MongoDB**'."\n" ."\n" - .'> If RepeatType is set to Weekly, the fields in the value of RepeatDays cannot be repeated.'."\n" + .'- **Memcache**'."\n" ."\n" - .'* If RepeatType is set to `Monthly`, RepeatDays must be specified. Example: \\[1, 31].'."\n" + .'- **SSL**'."\n" ."\n" - .'> If RepeatType is set to Monthly, the fields in the value of RepeatDays cannot be repeated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If RepeatType is set to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If RepeatType is set to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + .'- **ANY** (all application types)', 'type' => 'string', 'example' => '['."\n" + .' "HTTPS", '."\n" + .' "SMTPS", '."\n" + .' "SSL"'."\n" + .']', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'RepeatStartTime' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.'."\n" + 'RepeatType' => [ + 'description' => 'The recurrence type for the policy\'s effective period. Valid values:'."\n" ."\n" - .'> If RepeatType is set to Permanent or None, RepeatStartTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, this parameter must be specified.'."\n", - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.'."\n" + .'- **Permanent** (default): The policy is always active.'."\n" + ."\n" + .'- **None**: The policy applies only once.'."\n" + ."\n" + .'- **Daily**: The policy recurs daily.'."\n" + ."\n" + .'- **Weekly**: The policy recurs weekly.'."\n" ."\n" - .'> If RepeatType is set to Permanent or None, RepeatEndTime is left empty. If RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime must be specified.'."\n", + .'- **Monthly**: The policy recurs monthly.', + 'enumValueTitles' => ['Daily' => 'Daily', 'Monthly' => 'Monthly', 'Permanent' => 'Always', 'Weekly' => 'Weekly', 'None' => 'One-time'], 'type' => 'string', - 'example' => '23:30', + 'example' => 'Permanent', + 'title' => '', ], - 'StartTime' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.'."\n" + 'RepeatDays' => [ + 'description' => 'The days of the week or month on which the policy recurs.'."\n" ."\n" - .'> If RepeatType is set to Permanent, StartTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, StartTime must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694761200', - ], - 'EndTime' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.'."\n" + .'- If `RepeatType` is set to `Permanent`, `None`, or `Daily`, this parameter is empty. Example: `[]`'."\n" ."\n" - .'> If RepeatType is set to Permanent, EndTime is left empty. If RepeatType is set to None, Daily, Weekly, or Monthly, EndTime must be specified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694764800', - ], - 'DomainResolveType' => [ - 'description' => 'The domain name resolution method of the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:'."\n" + .'- If `RepeatType` is set to `Weekly`, this parameter is required. Example: `[0, 6]`'."\n" ."\n" - .'* **FQDN**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **DNS**: DNS-based dynamic resolution'."\n" - .'* **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution', - 'type' => 'string', - 'example' => 'FQDN', + .'> If `RepeatType` is set to `Weekly`, do not specify duplicate values for this parameter.'."\n" + ."\n" + .'- If `RepeatType` is set to `Monthly`, this parameter is required. Example: `[1, 31]`'."\n" + ."\n" + .'> If `RepeatType` is set to `Monthly`, do not specify duplicate values for this parameter.', + 'type' => 'array', + 'items' => ['description' => 'A day on which the policy recurs.'."\n" + ."\n" + .'> Valid values are 0 (Sunday) to 6 for `Weekly` recurrence, and 1 to 31 for `Monthly` recurrence.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', ], + 'RepeatStartTime' => ['description' => 'The recurrence start time. The time is in the `HH:mm` 24-hour format, such as `08:00`.'."\n" + ."\n" + .'> This parameter is not used if `RepeatType` is `Permanent` or `None`. It is required for `Daily`, `Weekly`, or `Monthly` recurrence.', 'type' => 'string', 'example' => '08:00', 'title' => ''], + 'RepeatEndTime' => ['description' => 'The recurrence end time. The time is in the `HH:mm` 24-hour format, such as `23:30`.'."\n" + ."\n" + .'> This parameter is not used if `RepeatType` is `Permanent` or `None`. It is required for `Daily`, `Weekly`, or `Monthly` recurrence.', 'type' => 'string', 'example' => '23:30', 'title' => ''], + 'StartTime' => ['description' => 'The UNIX timestamp, in seconds, for the start of the policy\'s effective period. The time must be on the hour or half-hour and at least 30 minutes before the end time.'."\n" + ."\n" + .'> This parameter is not used if `RepeatType` is `Permanent`. It is required for `None`, `Daily`, `Weekly`, or `Monthly` recurrence.', 'type' => 'integer', 'format' => 'int64', 'example' => '1694761200', 'title' => ''], + 'EndTime' => ['description' => 'The UNIX timestamp, in seconds, for the end of the policy\'s effective period. The time must be on the hour or half-hour and at least 30 minutes after the start time.'."\n" + ."\n" + .'> This parameter is not used if `RepeatType` is `Permanent`. It is required for `None`, `Daily`, `Weekly`, or `Monthly` recurrence.', 'type' => 'integer', 'format' => 'int64', 'example' => '1694764800', 'title' => ''], + 'DomainResolveType' => ['description' => 'The domain name resolution mode. Valid values:'."\n" + ."\n" + .'- **FQDN**: FQDN-based resolution'."\n" + ."\n" + .'- **DNS**: DNS-based dynamic resolution'."\n" + ."\n" + .'- **FQDN\\_AND\\_DNS**: FQDN-based and DNS-based dynamic resolution', 'type' => 'string', 'example' => 'FQDN', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The appId is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The appId is invalid.', 'description' => 'The appId is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": \\"20\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"AclUuid\\": \\"4037fbf7-3e39-4634-92a4-d0155247****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"test\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"ApplicationId\\": \\"10**\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"192.0.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"198.51.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"ModifyTime\\": 1761062400,\\n \\"SpreadCnt\\": 0,\\n \\"CreateTime\\": 1761062400,\\n \\"ApplicationNameList\\": [\\n \\"[\\\\n \\\\\\"HTTPS\\\\\\", \\\\n \\\\\\"SMTPS\\\\\\", \\\\n \\\\\\"SSL\\\\\\"\\\\n]\\"\\n ],\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n 192.0.XX.XX/24\\n 1\\n my_port_group\\n net\\n HTTP\\n 4037fbf7-3e39-4634-92a4-d0155247****\\n port\\n 192.0.XX.XX/24\\n net\\n 100\\n 80\\n test\\n accept\\n 10**\\n TCP\\n [\\"192.0.XX.XX/24\\", \\"192.0.XX.XX/32\\"]\\n [80,443]\\n [\\"192.0.XX.XX/24\\", \\"198.51.XX.XX/32\\"]\\n 258039427902****\\n true\\n ip\\n ip\\n \\n","errorExample":""}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"20\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"AclUuid\\": \\"4037fbf7-3e39-4634-92a4-d0155247****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"test\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"ApplicationId\\": \\"10**\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"192.0.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"198.51.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"ModifyTime\\": 1761062400,\\n \\"SpreadCnt\\": 10000,\\n \\"CreateTime\\": 1761062400,\\n \\"ApplicationNameList\\": [\\n \\"[\\\\n \\\\\\"HTTPS\\\\\\", \\\\n \\\\\\"SMTPS\\\\\\", \\\\n \\\\\\"SSL\\\\\\"\\\\n]\\"\\n ],\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'DescribeVpcFirewallControlPolicy', - 'description' => 'You can call the DescribeVpcFirewallControlPolicy operation to query the information about all access control policies that are created for a specified VPC firewall. Different access control policies are used when a VPC firewall is used to protect traffic between two VPCs that are connected by using a Cloud Enterprise Network (CEN) instance or an Express Connect circuit.'."\n" + 'description' => 'This operation queries the access control policies for a VPC firewall. A VPC firewall uses different access control policies to protect traffic between two VPCs that are connected via Cloud Enterprise Network (CEN) or Express Connect.'."\n" ."\n" - .'## Limits'."\n" + .'## QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'The QPS limit for this operation is 10 requests per second per account. If you exceed this limit, your API calls are throttled.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeVpcFirewallPolicyPriorUsed' => [ - 'summary' => 'Queries the priority range of access control policies that are created for a virtual private cloud (VPC) firewall in a specific policy group.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], + ], ], + ], + 'DescribeVpcFirewallDefaultIPSConfig' => [ + 'summary' => 'Queries the intrusion prevention configuration of a specified VPC firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -39066,45 +32431,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68424', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68418', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall. Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects a network instance in a Cloud Enterprise Network (CEN) instance, set this parameter to the ID of the CEN instance. To query the ID of a CEN instance of Basic Edition, call the [DescribeVpcFirewallCenList](~~345777~~) operation. To query the ID of a CEN instance of Enterprise Edition, call the [DescribeTrFirewallsV2List](~~2384695~~) operation.'."\n" + ."\n" + .'- If the VPC firewall protects traffic between two VPCs connected by an Express Connect circuit, set this parameter to the ID of the VPC firewall instance. To query the ID of the VPC firewall instance, call the [DescribeVpcFirewallList](~~342932~~) operation.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cen-****'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the access control policy group. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.'."\n" - ."\n" - .'* If the VPC firewall is used to protect a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance.'."\n" - ."\n" - .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*.'."\n" - ."\n" - .'* If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall.'."\n" - ."\n" - .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '258039427902****'], ], ], 'responses' => [ @@ -39112,505 +32456,396 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'End' => [ - 'description' => 'The lowest priority for the access control policies.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '150', - ], - 'Start' => [ - 'description' => 'The highest priority for the access control policies.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '850A84D6-****-00090125adf1'], + 'RunMode' => ['description' => 'The mode of the intrusion prevention system (IPS). Valid values:'."\n" + ."\n" + .'- **1**: Block Mode.'."\n" + ."\n" + .'- **0**: Monitor Mode.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'], + 'EnableAllPatch' => ['description' => 'Indicates whether virtual patching is enabled. Valid values:'."\n" + ."\n" + .'- **1**: On.'."\n" + ."\n" + .'- **0**: Off.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'BasicRules' => ['description' => 'Indicates whether basic policies are enabled. Valid values:'."\n" + ."\n" + .'- **1**: On.'."\n" + ."\n" + .'- **0**: Off.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'RuleClass' => ['description' => 'The IPS rule group. Valid values:'."\n" + ."\n" + .'- **1**: Loose rule group.'."\n" + ."\n" + .'- **2**: Medium rule group.'."\n" + ."\n" + .'- **3**: Strict rule group.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => 'The VPC firewall ID is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'The VPC firewall ID is invalid.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"End\\": 150,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n1\\n150\\n","errorExample":""}]', - 'title' => 'DescribeVpcFirewallPolicyPriorUsed', - 'description' => 'You can call this operation to query the priority range of access control policies that are created for a VPC firewall in a specific policy group.'."\n" + 'title' => 'DescribeVpcFirewallDefaultIPSConfig', + 'description' => 'This operation queries the intrusion prevention configuration of a specified VPC firewall. Before you call this operation, you must create a VPC firewall instance.'."\n" ."\n" - .'## [](#qps-)Limits'."\n" + .'## QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateVpcFirewallControlPolicy' => [ - 'summary' => 'Creates an access control policy in a specified policy group for a virtual private cloud (VPC) firewall.', - 'methods' => [ - 'post', - 'get', + .'This API operation has a limit of 10 queries per second (QPS) per user. If you exceed this limit, your calls are throttled. This may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDefaultIPSConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-****-00090125adf1\\",\\n \\"RunMode\\": 0,\\n \\"EnableAllPatch\\": 1,\\n \\"BasicRules\\": 1,\\n \\"RuleClass\\": 1\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallDetail' => [ + 'summary' => 'Retrieves the details of a VPC firewall that protects traffic between two VPCs connected by an Express Connect circuit.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68136', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68419', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'- **zh**: Chinese (default)'."\n" - .'- **en**: English', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AclAction', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" - ."\n" - .'- **accept**: allows the traffic.'."\n" - .'- **drop**: blocks the traffic.'."\n" - .'- **log**: monitors the traffic.', - 'type' => 'string', - 'required' => true, - 'example' => 'accept', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'ApplicationName', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the applications that the access control policy supports. Valid values:'."\n" - ."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **MySQL**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **RDP**'."\n" - .'- **VNC**'."\n" - .'- **SSH**'."\n" - .'- **Redis**'."\n" - .'- **MQTT**'."\n" - .'- **MongoDB**'."\n" - .'- **Memcache**'."\n" - .'- **SSL**'."\n" - .'- **ANY**: all types of applications', - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - 'deprecated' => true, - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall.'."\n" + ."\n" + .'> Call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance ID of the VPC firewall.', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'LocalVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the access control policy.', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The instance ID of the local VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], ], [ - 'name' => 'DestPort', + 'name' => 'PeerVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port in the access control policy. '."\n" - ."\n" - .'> If **DestPortType** is set to `port`, you must specify this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'The instance ID of the peer VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-90rq0anm6t8vbwbo****', 'title' => ''], ], - [ - 'name' => 'Destination', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The destination address in the access control policy. Valid values:'."\n" - ."\n" - .'- If **DestinationType** is set to `net`, the value of **Destination** must be a CIDR block.'."\n" - .'- If **DestinationType** is set to `group`, the value of **Destination** must be an address book.'."\n" - .'- If **DestinationType** is set to `domain`, the value of **Destination** must be a domain name.', - 'type' => 'string', - 'required' => true, - 'example' => '10.2.XX.XX/24', + 'type' => 'object', + 'properties' => [ + 'ConnectType' => ['description' => 'The connection type of the VPC firewall. The value is fixed as **expressconnect**, which indicates Express Connect.', 'type' => 'string', 'example' => 'expressconnect', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth of the Express Connect circuit. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'VpcFirewallName' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'example' => 'vpc-firewall-test', 'title' => ''], + 'FirewallSwitchStatus' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: The firewall is enabled.'."\n" + ."\n" + .'- **closed**: The firewall is disabled.'."\n" + ."\n" + .'- **notconfigured**: The firewall is not configured.'."\n" + ."\n" + .'- **configured**: The firewall is configured.', 'type' => 'string', 'example' => 'opened', 'title' => ''], + 'LocalVpc' => [ + 'description' => 'The details of the local VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The instance ID of the local VPC.', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + 'VpcName' => ['description' => 'The instance name of the local VPC.', 'type' => 'string', 'example' => 'vpc-test-instancel', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the local VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'EniPrivateIpAddress' => ['description' => 'The private IP address of the elastic network interface (ENI) in the local VPC.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'RouterInterfaceId' => ['description' => 'The ID of the router interface in the local VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'EniId' => ['description' => 'The instance ID of the ENI in the local VPC.', 'type' => 'string', 'example' => 'eni-8vbhfosfqv2rff42****', 'title' => ''], + 'VpcCidrTableList' => [ + 'description' => 'A list of CIDR blocks for the local VPC.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'The ID of the route table for the local VPC.', 'type' => 'string', 'example' => 'vtb-1234', 'title' => ''], + 'RouteEntryList' => [ + 'description' => 'A list of routes for the local VPC.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'The ID of the next hop instance in the local VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the local VPC.', 'type' => 'string', 'example' => '192.168.XX.XX/24', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'PeerVpc' => [ + 'description' => 'The details of the peer VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The instance ID of the peer VPC.', 'type' => 'string', 'example' => 'vpc-90rq0anm6t8vbwbo****', 'title' => ''], + 'VpcName' => ['description' => 'The instance name of the peer VPC.', 'type' => 'string', 'example' => 'test-vpc2', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the peer VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'EniPrivateIpAddress' => ['description' => 'The private IP address of the ENI in the peer VPC.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'RouterInterfaceId' => ['description' => 'The ID of the router interface in the peer VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'EniId' => ['description' => 'The instance ID of the ENI in the peer VPC.', 'type' => 'string', 'example' => 'eni-8vbhfosfqv2rff42****', 'title' => ''], + 'VpcCidrTableList' => [ + 'description' => 'A list of CIDR blocks for the peer VPC.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'The ID of the route table for the peer VPC.', 'type' => 'string', 'example' => 'vtb-1256', 'title' => ''], + 'RouteEntryList' => [ + 'description' => 'A list of routes for the peer VPC.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'The ID of the next hop instance in the peer VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the peer VPC.', 'type' => 'string', 'example' => '192.168.XX.XX/24', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'MemberUid' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'string', 'example' => '258039427902****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'DestinationType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination address in the access control policy. Valid values:'."\n" - ."\n" - .'- **net**: CIDR block'."\n" - .'- **group**: address book'."\n" - .'- **domain**: domain name', - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorFirewallNotFound', 'errorMessage' => 'Firewall not found', 'description' => 'The firewall does not exist.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'firewall status error.', 'description' => 'Firewall status error, please try again later.'], + ['errorCode' => 'ErrorVpcIdPara', 'errorMessage' => 'vpc id and firewall id parameter not exist.', 'description' => 'The firewall VPC parameter is incorrect. Select another one.'], + ['errorCode' => 'ErrorLocalVpcIdPeerVpcIdError', 'errorMessage' => 'local vpc id and peer vpc id cannot be empty at the same time.', 'description' => 'The firewall VPC parameter is incorrect. Select another one.'], ], - [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy group in which you want to create the access control policy. '."\n" - ."\n" - .'- If a VPC firewall protects the traffic between two VPCs that are connected by using a CEN instance, the value of this parameter must be the ID of the CEN instance.'."\n" - .'- If a VPC firewall protects the traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallAclGroupList](https://www.alibabacloud.com/help/en/cloud-firewall/latest/describevpcfirewallaclgrouplist) operation to query the IDs.', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"VpcName\\": \\"vpc-test-instancel\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcId\\": \\"vpc-90rq0anm6t8vbwbo****\\",\\n \\"VpcName\\": \\"test-vpc2\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"MemberUid\\": \\"258039427902****\\"\\n}","type":"json"}]', + 'title' => 'DescribeVpcFirewallDetail', + 'description' => 'This operation queries the details of a VPC firewall. The VPC firewall protects traffic between two VPCs that are connected by an Express Connect circuit. Before you call this operation, you must create a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'This operation has a queries per second (QPS) limit of 10 calls per second for each user. If you exceed this limit, your API calls are throttled. This can affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDetail'], ], + ], + 'ramActions' => [ [ - 'name' => 'Proto', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the protocol in the access control policy. Valid values:'."\n" - ."\n" - .'- **ANY** (If you are not sure about the protocol type, you can set this parameter to ANY.)'."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**', - 'type' => 'string', - 'required' => true, - 'example' => 'TCP', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], ], ], + ], + ], + 'DescribeVpcFirewallDomainList' => [ + 'summary' => 'Queries a list of domain names accessed through a VPC firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy. '."\n" - ."\n" - .'- If SourceType is set to `net`, the value of Source must be a CIDR block.'."\n" - .'- If SourceType is set to `group`, the value of Source must be an address book.', - 'type' => 'string', - 'required' => true, - 'example' => '10.2.XX.XX/24', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68328', + 'abilityTreeNodes' => ['FEATUREcfwG6EEQD'], + ], + 'parameters' => [ [ - 'name' => 'SourceType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the source address in the access control policy. Valid values:'."\n" - ."\n" - .'- **net**: CIDR block'."\n" - .'- **group**: address book', - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese. This is the default value.'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'NewOrder', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The priority of the access control policy. '."\n" - ."\n" - .'The priority value starts from 1. A smaller priority value indicates a higher priority.', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The start of the time range to query. Use a UNIX timestamp that is accurate to the second.', 'type' => 'string', 'required' => true, 'example' => '1656664560', 'title' => ''], ], [ - 'name' => 'DestPortType', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination port in the access control policy. Valid values:'."\n" - ."\n" - .'- **port**: port'."\n" - .'- **group**: port address book', - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], + 'schema' => ['description' => 'The end of the time range to query. Use a UNIX timestamp that is accurate to the second.', 'type' => 'string', 'required' => true, 'example' => '1656750960', 'title' => ''], ], [ - 'name' => 'DestPortGroup', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the destination port address book in the access control policy. '."\n" - ."\n" - .'> If **DestPortType** is set to `group`, you must specify this parameter.', - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The current page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Release', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values: '."\n" - ."\n" - .'- **true**: enables the access control policy.'."\n" - .'- **false**: disables the access control policy.', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The domain name. This parameter supports only term queries.', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'."\n", 'title' => ''], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'SrcIP', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The application types supported by the access control policy.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application type supported by the access control policy. Valid values:'."\n" - ."\n" - .'* **FTP**'."\n" - .'* **HTTP**'."\n" - .'* **HTTPS**'."\n" - .'* **Memcache**'."\n" - .'* **MongoDB**'."\n" - .'* **MQTT**'."\n" - .'* **MySQL**'."\n" - .'* **RDP**'."\n" - .'* **Redis**'."\n" - .'* **SMTP**'."\n" - .'* **SMTPS**'."\n" - .'* **SSH**'."\n" - .'* **SSL_No_Cert**'."\n" - .'* **SSL**'."\n" - .'* **VNC**'."\n" - .'* **ANY**: all types of applications'."\n" - ."\n" - .'> The value of this parameter depends on the value of the Proto parameter. If Proto is set to TCP, you can set ApplicationNameList to any valid value in the `["HTTP","HTTPS",……]` format. If Proto is set to UDP, ICMP, or ANY, you can set ApplicationNameList only to ANY. You must specify at least one of ApplicationNameList and ApplicationName. If you specify both ApplicationNameList and ApplicationName, only the value of ApplicationNameList takes effect.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "ANY"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 30, - ], + 'schema' => ['description' => 'The source IP address that is used to access the domain name.', 'type' => 'string', 'required' => false, 'example' => '47.92.x.x', 'title' => ''], ], [ - 'name' => 'RepeatType', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", + 'description' => 'The sorting order. Valid values: asc (ascending) and desc (descending).', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', + 'example' => 'desc', + 'enum' => [], + 'title' => '', ], ], [ - 'name' => 'RepeatDays', + 'name' => 'Order', 'in' => 'query', - 'style' => 'flat', 'schema' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If you set RepeatType to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: \\[].'."\n" - .'* If you set RepeatType to Weekly, you must specify this parameter. Example: \\[0, 6].'."\n" + 'description' => 'The field to sort by.'."\n" ."\n" - .'> If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.'."\n" + .'Default value: TotalBytes.'."\n" ."\n" - .'* If you set RepeatType to `Monthly`, you must specify this parameter. Example: \\[1, 31].'."\n" - ."\n" - .'> If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If you set RepeatType to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If you set RepeatType to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], - ], - [ - 'name' => 'RepeatStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" + .'Valid values:'."\n" ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], - ], - [ - 'name' => 'RepeatEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" + .'TotalBytes: Sorts the results by total traffic.'."\n" ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", + .'SessionCount: Sorts the results by the number of sessions.', 'type' => 'string', 'required' => false, - 'example' => '23:30', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the end time.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', + 'example' => 'SessionCount', + 'enum' => [], + 'title' => '', ], ], [ - 'name' => 'EndTime', + 'name' => 'SrcVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the start time.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => 'The ID of the source VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-t4nlt09olhpazpoeg****', 'title' => ''], ], [ - 'name' => 'DomainResolveType', + 'name' => 'IsAITraffic', 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" - ."\n" - .'* **FQDN**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **DNS**: DNS-based dynamic resolution'."\n" - .'* **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution', - 'type' => 'string', - 'required' => false, - 'example' => 'DNS', - ], + 'schema' => ['description' => 'Specifies whether to count only the traffic generated by accessing AI services. The default value is false. Valid values:'."\n" + ."\n" + .'- **true**: Yes'."\n" + ."\n" + .'- **false**: No', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -39618,533 +32853,188 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => 'The ID of the access control policy.', - 'type' => 'string', - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'www.a.com', 'title' => ''], + 'RequestBytes' => ['description' => 'The volume of request traffic to the domain name. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '3214', 'title' => ''], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'GroupName' => ['description' => 'The organization to which the domain name belongs.', 'type' => 'string', 'example' => 'Google', 'title' => ''], + 'ResponseBytes' => ['description' => 'The volume of response traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '4582', 'title' => ''], + 'Business' => ['description' => 'The business to which the domain name belongs.', 'type' => 'string', 'example' => 'Google', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic volume. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '8111126106', 'title' => ''], + 'ApplicationNameList' => [ + 'type' => 'array', + 'items' => ['description' => 'The application layer protocol.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'description' => 'The list of application layer protocols.', + 'title' => '', + 'example' => '', + ], + 'SrcIpCount' => ['description' => 'The number of source IP addresses that are used to access the domain name.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'SrcVpcCount' => ['description' => 'The number of source VPCs that are used to access the domain name.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'description' => 'The array of data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred. Try again later.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => 'The security suggest is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => 'The domain name is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 00281255-d220-4db1-8f4f-c4df221ad84c\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => 'CreateVpcFirewallControlPolicy', - 'description' => 'You can call the CreateVpcFirewallControlPolicy operation to create an access control policy in a specified policy group for a VPC firewall. Different access control policies are used when a VPC firewall is used to protect traffic between two VPCs that are connected by using a Cloud Enterprise Network (CEN) instance or an Express Connect circuit. '."\n" - ."\n" - .'## Limits'."\n" + 'title' => 'DescribeVpcFirewallDomainList', + 'description' => '###'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyVpcFirewallControlPolicy' => [ - 'summary' => 'Modifies the configurations of an access control policy that is created for a virtual private cloud (VPC) firewall in a specified policy group.', - 'methods' => [ - 'post', - 'get', + .'The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed this limit, API calls are throttled. Throttling can affect your business. Call this operation at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.a.com\\",\\n \\"RequestBytes\\": 3214,\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"Google\\",\\n \\"ResponseBytes\\": 4582,\\n \\"Business\\": \\"Google\\",\\n \\"TotalBytes\\": 8111126106,\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SrcIpCount\\": 2,\\n \\"SrcVpcCount\\": 1\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallDomainRelationList' => [ + 'summary' => 'Queries connections to a specified domain name through VPC Firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'update', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68496', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68328', + 'abilityTreeNodes' => ['FEATUREcfwG6EEQD'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AclAction', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The action that Cloud Firewall performs on the traffic.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **accept**: allows the traffic.'."\n" - .'* **drop**: blocks the traffic.'."\n" - .'* **log**: monitors the traffic.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'accept', - ], + 'schema' => ['description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1656664560', 'title' => ''], ], [ - 'name' => 'ApplicationName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the application that the access control policy supports.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* ANY: all application types'."\n" - .'* FTP'."\n" - .'* HTTP'."\n" - .'* HTTPS'."\n" - .'* MySQL'."\n" - .'* SMTP'."\n" - .'* SMTPS'."\n" - .'* RDP'."\n" - .'* VNC'."\n" - .'* SSH'."\n" - .'* Redis'."\n" - .'* MQTT'."\n" - .'* MongoDB'."\n" - .'* Memcache'."\n" - .'* SSL'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - 'deprecated' => true, - ], + 'schema' => ['description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1656750960', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'DestPort', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port in the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Destination', + 'name' => 'DomainList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The destination address in the access control policy.'."\n" - ."\n" - .'* If **DestinationType** is set to `net`, the value of this parameter must be a CIDR block.'."\n" - ."\n" - .' Example: 10.2.3.0/24'."\n" - ."\n" - .'* If **DestinationType** is set to `group`, the value of this parameter must be an address book name.'."\n" - ."\n" - .' Example: db_group'."\n" - ."\n" - .'* If **DestinationType** is set to `domain`, the value of this parameter must be a domain name.'."\n" - ."\n" - .' Example: \\*.aliyuncs.com'."\n", - 'type' => 'string', + 'type' => 'array', + 'items' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'example.com'."\n", 'title' => ''], + 'maxItems' => 100, + 'description' => 'The list of domain names.', 'required' => false, - 'example' => '10.2.X.X/XX', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'DestinationType', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n" - .'* **domain**: domain name'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => 'The source IP address to query.', 'type' => 'string', 'required' => false, 'example' => '47.92.x.x', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'SrcVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.'."\n" - ."\n" - .'* If the VPC firewall is used to protect a CEN instance, the value of this parameter must be the ID of the CEN instance.'."\n" - ."\n" - .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*'."\n" - ."\n" - .'* If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.'."\n" - ."\n" - .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + 'schema' => ['description' => 'The ID of the source VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-t4nlt09olhpazpoeg****', 'title' => ''], ], [ - 'name' => 'Proto', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => 'The protocol type in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* ANY: all protocol types'."\n" - .'* TCP'."\n" - .'* UDP'."\n" - .'* ICMP'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], - ], - [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* If **SourceType** is set to `net`, the value of this parameter must be a CIDR block.'."\n" - ."\n" - .' Example: 10.2.4.0/24'."\n" - ."\n" - .'* If **SourceType** is set to `group`, the value of this parameter must be an address book name.'."\n" - ."\n" - .' Example: db_group'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.2.X.X/XX', - ], - ], - [ - 'name' => 'AclUuid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the access control policy.'."\n" - ."\n" - .'If you want to modify the configurations of an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], - ], - [ - 'name' => 'SourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the source address in the access control policy.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **net**: CIDR block'."\n" - .'* **group**: address book'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], - ], - [ - 'name' => 'DestPortType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination port in the access control policy.'."\n" - ."\n" - .'* **port**: port'."\n" - .'* **group**: port address book'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], - ], - [ - 'name' => 'DestPortGroup', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the destination port address book in the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', - ], - ], - [ - 'name' => 'Release', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:'."\n" - ."\n" - .'* **true**: enables the access control policy.'."\n" - .'* **false**: disables the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'ApplicationNameList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The application names.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The application name.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '["ANY"]', - ], - 'required' => false, - 'maxItems' => 30, - ], - ], - [ - 'name' => 'RepeatType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The recurrence type for the access control policy to take effect. Valid values:'."\n" - ."\n" - .'* **Permanent** (default): The policy always takes effect.'."\n" - .'* **None**: The policy takes effect for only once.'."\n" - .'* **Daily**: The policy takes effect on a daily basis.'."\n" - .'* **Weekly**: The policy takes effect on a weekly basis.'."\n" - .'* **Monthly**: The policy takes effect on a monthly basis.'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '', - 'Monthly' => '', - 'Permanent' => '', - 'Weekly' => '', - 'None' => '', - ], - 'example' => 'Permanent', - ], - ], - [ - 'name' => 'RepeatDays', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The days of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'* If you set RepeatType to `Permanent`, `None`, or `Daily`, the value of this parameter is an empty array. Example: \\[].'."\n" - .'* If you set RepeatType to Weekly, you must specify this parameter. Example: \\[0, 6].'."\n" - ."\n" - .'> If you set RepeatType to Weekly, the fields in the value of this parameter cannot be repeated.'."\n" - ."\n" - .'* If you set RepeatType to `Monthly`, you must specify this parameter. Example: \\[1, 31].'."\n" - ."\n" - .'> If you set RepeatType to Monthly, the fields in the value of this parameter cannot be repeated.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The day of a week or of a month on which the access control policy takes effect.'."\n" - ."\n" - .'> If you set RepeatType to Weekly, valid values of this parameter are 0 to 6. Each week starts from Sunday. If you set RepeatType to Monthly, valid values of this parameter are 1 to 31.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], - ], - [ - 'name' => 'RepeatStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence starts. Example: 08:00. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of RepeatEndTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], - ], - [ - 'name' => 'RepeatEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The point in time when the recurrence ends. Example: 23:30. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of RepeatStartTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent or None, leave this parameter empty. If you set RepeatType to Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => 'The destination IP address to query.', 'type' => 'string', 'required' => false, 'example' => '34.136.111.XXX', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'DstVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy starts to take effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes earlier than the value of EndTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => 'The ID of the destination VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp10w5nb30r4jzfyc****', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Sort', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the access control policy stops taking effect. The value is a UNIX timestamp. Unit: seconds. The value must be on the hour or on the half hour, and at least 30 minutes later than the value of StartTime.'."\n" - ."\n" - .'> If you set RepeatType to Permanent, leave this parameter empty. If you set RepeatType to None, Daily, Weekly, or Monthly, you must specify this parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => 'The field by which to sort the queried entries. Valid values:'."\n" + ."\n" + .'Default value: TotalBytes.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'TotalBytes: Order by total traffic.'."\n" + ."\n" + .'SessionCount: Order by session count.', 'type' => 'string', 'required' => false, 'example' => 'TotalBytes', 'title' => ''], ], [ - 'name' => 'DomainResolveType', + 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'The domain name resolution method of the access control policy. By default, an access control policy is enabled after the policy is created. Valid values:'."\n" - ."\n" - .'* **FQDN**: fully qualified domain name (FQDN)-based resolution'."\n" - .'* **DNS**: DNS-based dynamic resolution'."\n" - .'* **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution', - 'example' => 'FQDN', - ], + 'schema' => ['description' => 'The order in which to sort the queried entries. Valid values:', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], ], 'responses' => [ @@ -40152,239 +33042,156 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => 'The domain name.', 'type' => 'string', 'example' => 'www.example.com', 'title' => ''], + 'SrcIP' => ['description' => 'The source IP address.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'DstIP' => ['description' => 'The destination IP address.', 'type' => 'string', 'example' => '192.0.XX.XX', 'title' => ''], + 'SrcVpcId' => ['description' => 'The ID of the source VPC.', 'type' => 'string', 'example' => 'vpc-t4nlt09olhpazpoeg****', 'title' => ''], + 'DstVpcId' => ['description' => 'The ID of the destination VPC.', 'type' => 'string', 'example' => 'vpc-bp10w5nb30r4jzfyc****', 'title' => ''], + 'SrcVpcName' => ['description' => 'The name of the source VPC.', 'type' => 'string', 'example' => 'vpc-****', 'title' => ''], + 'DstVpcName' => ['description' => 'The name of the destination VPC.', 'type' => 'string', 'example' => 'vpc-****', 'title' => ''], + 'SrcRegionId' => ['description' => 'The ID of the source region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'DstRegionId' => ['description' => 'The ID of the destination region.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '16287823', 'title' => ''], + 'SessionCount' => ['description' => 'The total number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '27', 'title' => ''], + 'Business' => ['description' => 'The business category of the website.', 'type' => 'string', 'example' => 'Google', 'title' => ''], + 'GroupName' => ['description' => 'The name of the organization.', 'type' => 'string', 'example' => 'Google', 'title' => ''], + 'IpsHitCnt' => ['description' => 'The IPS hit count.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'FirstTime' => ['description' => 'The Unix timestamp for the first access, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1767147003', 'title' => ''], + 'LastTime' => ['description' => 'The Unix timestamp for the last access, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1767147003', 'title' => ''], + 'RequestBytes' => ['description' => 'The request traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'ResponseBytes' => ['description' => 'The response traffic, in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + ], + 'description' => 'A domain relationship.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of data entries.', + 'title' => '', + 'example' => '', + ], + 'DstVpcList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The ID of the destination VPC.', 'type' => 'string', 'example' => 'vpc-bp10w5nb30r4jzfyc****', 'title' => ''], + 'VpcName' => ['description' => 'The name of the destination VPC.', 'type' => 'string', 'example' => 'vpc-****', 'title' => ''], + ], + 'description' => 'A destination VPC.', + 'title' => '', + 'example' => '', + ], + 'description' => 'A list of destination VPCs.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The data returned.', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersVpcFirewallId', - 'errorMessage' => 'Specified parameter VpcFirewallId is not valid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => 'The security suggest is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => 'The domain name is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => 'ModifyVpcFirewallControlPolicy', - 'description' => 'You can call the ModifyVpcFirewallControlPolicy operation to modify the configurations of an access control policy that is created for a VPC firewall in a specified policy group. Different access control policies are used for the VPC firewalls that are used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewalls that are used to protect each Express Connect circuit.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyVpcFirewallControlPolicyPosition' => [ - 'summary' => 'Modifies the priority of an access control policy that is created for a virtual private cloud (VPC) firewall in a specific policy group.', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeVpcFirewallDomainRelationList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"SrcVpcName\\": \\"vpc-****\\",\\n \\"DstVpcName\\": \\"vpc-****\\",\\n \\"SrcRegionId\\": \\"cn-hangzhou\\",\\n \\"DstRegionId\\": \\"cn-beijing\\",\\n \\"TotalBytes\\": 16287823,\\n \\"SessionCount\\": 27,\\n \\"Business\\": \\"Google\\",\\n \\"GroupName\\": \\"Google\\",\\n \\"IpsHitCnt\\": 10,\\n \\"FirstTime\\": 1767147003,\\n \\"LastTime\\": 1767147003,\\n \\"RequestBytes\\": 10000,\\n \\"ResponseBytes\\": 10000\\n }\\n ],\\n \\"DstVpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"VpcName\\": \\"vpc-****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallDropTrafficTrend' => [ + 'summary' => 'Queries the blocked traffic trend for the VPC firewall.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68497', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '146117', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and the response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '183.237.161.XXX', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the group to which the access control policy belongs. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* If the VPC firewall is used to protect a CEN instance, the value of this parameter must be the ID of the CEN instance.'."\n" - ."\n" - .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*'."\n" - ."\n" - .'* If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter must be the instance ID of the VPC firewall.'."\n" - ."\n" - .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + 'schema' => ['description' => 'The start of the time range to query. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560', 'title' => ''], ], [ - 'name' => 'NewOrder', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The new priority of the access control policy.'."\n" - ."\n" - .'> For more information about the valid values of the new priority, see [DescribeVpcFirewallPolicyPriorUsed](~~474145~~).'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The end of the time range to query. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1747792853', 'title' => ''], ], [ - 'name' => 'OldOrder', + 'name' => 'TrafficTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The original priority of the access control policy.'."\n" - ."\n" - .'> This parameter is not recommended. We recommend that you use the AclUuid parameter to specify the policy that you want to modify.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => 'The time point of the traffic. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1739337840', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'Sort', 'in' => 'query', - 'schema' => [ - 'description' => 'The UUID of the access control policy.'."\n" - ."\n" - .'If you want to modify the configurations of an access control policy, you must provide the UUID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the UUID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2746d9ff-5d7c-449d-a2a9-ccaa15fe****', - ], + 'schema' => ['description' => 'The sorting criterion.', 'type' => 'string', 'required' => false, 'example' => 'LastTime', 'title' => ''], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- **asc**: ascending order.'."\n" + ."\n" + .'- **desc**: descending order. This is the default value.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], ], ], 'responses' => [ @@ -40392,633 +33199,664 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', + 'DropSessionMax' => ['description' => 'The maximum number of blocked connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C87C1797-02E6-5EEB-A943-4416207D****', 'title' => ''], + 'DataList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => 'The data timestamp. This value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600', 'title' => ''], + 'AclDrop' => ['description' => 'The number of sessions blocked by the access control list (ACL).', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'IpsDrop' => ['description' => 'The number of sessions blocked by the intrusion prevention system (IPS).', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'TotalSession' => ['description' => 'The total number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '153188', 'title' => ''], + 'DataTime' => ['description' => 'The data timestamp. The value is a string in the YYYY-MM-DD HH:mm:ss format.', 'type' => 'string', 'example' => '2018-08-25 12:00:00', 'title' => ''], + 'DropSession' => ['description' => 'The number of blocked sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of returned data.', + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeVpcFirewallDropTrafficTrend', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', - 'title' => 'ModifyVpcFirewallControlPolicyPosition', - 'description' => 'You can use this operation to modify the priority of an access control policy that is created for a VPC firewall in a specific policy group.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 0,\\n \\"RequestId\\": \\"C87C1797-02E6-5EEB-A943-4416207D****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 153188,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', ], - 'ModifyVpcFirewallAclEngineMode' => [ - 'summary' => '修改VPC防火墙ACL引擎模式', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DescribeVpcFirewallIPSWhitelist' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '138368', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwMD8M6R', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], ], 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => 'The UID of the Cloud Firewall member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '176618****104675', 'title' => ''], ], [ - 'name' => 'StrictMode', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall. Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects network instances in a Cloud Enterprise Network (CEN) instance, the instance ID is the CEN instance ID. For CEN Basic Edition, call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the CEN instance ID. For CEN Enterprise Edition, call the [DescribeTrFirewallsV2List](~~2384695~~) operation to query the CEN instance ID.'."\n" + .'- If the VPC firewall protects traffic between two VPCs connected through Express Connect, the instance ID is the VPC firewall instance ID. Call the [DescribeVpcFirewallList](~~342932~~) operation to query the VPC firewall instance ID.', 'type' => 'string', 'required' => true, 'example' => 'cen-***', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B5EE02F9****AA49****F9F8D69483C1'], + 'Whitelists' => [ + 'description' => 'The details of the VPC border firewall IPS whitelist.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the VPC border firewall IPS whitelist.', + 'type' => 'object', + 'properties' => [ + 'VpcFirewallId' => ['description' => 'The instance ID of the VPC border firewall.', 'type' => 'string', 'example' => 'cen-l6t5yj5fi762******', 'title' => ''], + 'WhiteType' => ['description' => 'The whitelist type. Valid values:'."\n" + .'- **1**: destination type'."\n" + .'- **2**: source type.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ListValue' => ['description' => 'The value of the corresponding list type.', 'type' => 'string', 'example' => '10.10.200.4/32,10.10.200.25/32', 'title' => ''], + 'ListType' => ['description' => 'The list type. Valid values:'."\n" + .'- **1**: user-defined type'."\n" + .'- **2**: address book type.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'WhiteListValue' => [ + 'description' => 'The content of the list type array.', + 'type' => 'array', + 'items' => ['description' => 'The content of the list type array.', 'type' => 'string', 'example' => '10.10.200.4/32', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid is invalid.', 'description' => 'The aliUid is invalid.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'The VPC firewall ID is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => 'An error occurred. Try again later.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', - ], - 'ResetVpcFirewallRuleHitCount' => [ - 'summary' => 'Clears the count on hits of an access control policy that is created for a virtual private cloud (VPC) firewall in a specific policy group.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Get VPC firewall IPS whitelist', + 'summary' => 'Retrieves the IPS whitelist of a VPC firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallIPSWhitelist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5EE02F9****AA49****F9F8D69483C1\\",\\n \\"Whitelists\\": [\\n {\\n \\"VpcFirewallId\\": \\"cen-l6t5yj5fi762******\\",\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallList' => [ + 'summary' => 'Retrieves information about a VPC firewall that protects traffic between two VPCs connected by an Express Connect circuit.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68521', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68420', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The natural language of the request and response. '."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'- **zh**: Chinese (default)'."\n" - .'- **en**: English', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the access control policy.', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'A918B4F6-482F-5A91-8F65-AFFFF1FC04EA', - ], - ], - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], - ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the VPC.'."\n" + ."\n" + .'> For more information about the regions where Cloud Firewall is supported, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', - 'title' => 'ResetVpcFirewallRuleHitCount', - 'description' => 'You can call the ResetVpcFirewallRuleHitCount operation to clear the count on hits of an access control policy that is created for a VPC firewall in a specific policy group. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteVpcFirewallControlPolicy' => [ - 'summary' => 'Deletes an access control policy from a specific policy group for a virtual private cloud (VPC) firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'FirewallSwitchStatus', + 'in' => 'query', + 'schema' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: The firewall is enabled.'."\n" + ."\n" + .'- **closed**: The firewall is disabled.'."\n" + ."\n" + .'- **notconfigured**: The firewall is not configured.'."\n" + ."\n" + .'- **configured**: The firewall is configured.'."\n" + ."\n" + .'> If you do not specify this parameter, VPC firewalls in all states are queried.', 'type' => 'string', 'required' => false, 'example' => 'opened', 'title' => ''], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68166', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => 'The natural language of the request and response. Valid values: '."\n" - ."\n" - .'- **zh**: Chinese'."\n" - .'- **en**: English', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'required' => false, 'example' => 'test-vpc-firewall', 'title' => ''], ], [ - 'name' => 'AclUuid', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the access control policy. '."\n" - ."\n" - .'To delete an access control policy, you must provide the ID of the policy. You can call the **DescribeVpcFirewallControlPolicy** operation to query the ID.', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df2214****', - ], + 'schema' => ['description' => 'The page number.'."\n" + ."\n" + .'Default value: **1**.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the group to which the access control policy belongs. You can call the **DescribeVpcFirewallAclGroupList** operation to query the ID. '."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'- If the VPC firewall is used to protect a CEN instance, the value of this parameter is the ID of the CEN instance. '."\n" - ."\n" - .'Example: cen-ervw0g12b5jbw****'."\n" - .'- If the VPC firewall is used to protect an Express Connect circuit, the value of this parameter is the ID of the VPC firewall. '."\n" - ."\n" - .'Example: vfw-a42bbb7b887148c9****', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c91****', - ], + 'schema' => ['description' => 'The number of entries per page.'."\n" + ."\n" + .'Default value: **10**. Maximum value: **50**.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], + ], + [ + 'name' => 'ConnectSubType', + 'in' => 'query', + 'schema' => ['description' => 'The subtype of the connection. Valid values:'."\n" + ."\n" + .'- **vpc2vpc**: Express Connect.'."\n" + ."\n" + .'- **vpcpeer**: peering connection.', 'type' => 'string', 'required' => false, 'example' => 'vpcpeer', 'title' => ''], + ], + [ + 'name' => 'PeerUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Alibaba Cloud account to which the peer VPC belongs.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The list of VPC firewalls.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'TotalCount' => ['description' => 'The total number of VPC firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2', 'title' => ''], + 'VpcFirewalls' => [ + 'description' => 'The details of the VPC firewalls.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the VPC firewalls.', + 'type' => 'object', + 'properties' => [ + 'ConnectType' => ['description' => 'The type of connection for the VPC firewall. The value is fixed as **expressconnect**, which indicates an Express Connect circuit.', 'type' => 'string', 'example' => 'expressconnect', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'RegionStatus' => ['description' => 'The status of the region. Valid values:'."\n" + ."\n" + .'- **enable**: The region is available. You can create a VPC firewall in this region.'."\n" + ."\n" + .'- **disable**: The region is unavailable. You cannot create a VPC firewall in this region.', 'type' => 'string', 'example' => 'enable', 'title' => ''], + 'Bandwidth' => ['description' => 'The bandwidth of the Express Connect circuit. Unit: Mbps.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'VpcFirewallName' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'example' => 'test-firewall', 'title' => ''], + 'FirewallSwitchStatus' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **opened**: The firewall is enabled.'."\n" + ."\n" + .'- **closed**: The firewall is disabled.'."\n" + ."\n" + .'- **notconfigured**: The firewall is not configured.', 'type' => 'string', 'example' => 'opened', 'title' => ''], + 'LocalVpc' => [ + 'description' => 'The details of the local VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcName' => ['description' => 'The instance name of the local VPC.', 'type' => 'string', 'example' => 'test-vpc1', 'title' => ''], + 'VpcId' => ['description' => 'The instance ID of the local VPC.', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + 'AuthorizationStatus' => ['description' => 'The authorization status of the local VPC. The value is fixed as authorized.', 'type' => 'string', 'example' => 'authorized', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the Alibaba Cloud account to which the local VPC belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the local VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'VpcCidrTableList' => [ + 'description' => 'The CIDR blocks of the local VPC.', + 'type' => 'array', + 'items' => [ + 'description' => 'The CIDR blocks of the local VPC.', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'The ID of the route table for the local VPC.', 'type' => 'string', 'example' => 'vtb-1234', 'title' => ''], + 'RouteEntryList' => [ + 'description' => 'The route entries of the local VPC.', + 'type' => 'array', + 'items' => [ + 'description' => 'The route entries of the local VPC.', + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'The ID of the next hop instance for the local VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the local VPC.', 'type' => 'string', 'example' => '192.168.XX.XX/24', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'PeerVpc' => [ + 'description' => 'The details of the peer VPC.', + 'type' => 'object', + 'properties' => [ + 'VpcName' => ['description' => 'The instance name of the peer VPC.', 'type' => 'string', 'example' => 'test-vpc2', 'title' => ''], + 'VpcId' => ['description' => 'The instance ID of the peer VPC.', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], + 'AuthorizationStatus' => ['description' => 'The authorization status of the peer VPC. The value is fixed as **authorized**.', 'type' => 'string', 'example' => 'authorized', 'title' => ''], + 'OwnerId' => ['description' => 'The UID of the Alibaba Cloud account to which the peer VPC belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the peer VPC.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'VpcCidrTableList' => [ + 'description' => 'The CIDR blocks of the peer VPC.', + 'type' => 'array', + 'items' => [ + 'description' => 'The CIDR blocks of the peer VPC.', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'The ID of the route table for the peer VPC.', 'type' => 'string', 'example' => 'vtb-1256', 'title' => ''], + 'RouteEntryList' => [ + 'description' => 'The route entries of the peer VPC.', + 'type' => 'array', + 'items' => [ + 'description' => 'The route entries of the peer VPC.', + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'The ID of the next hop instance for the peer VPC.', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****', 'title' => ''], + 'DestinationCidr' => ['description' => 'The destination CIDR block of the peer VPC.', 'type' => 'string', 'example' => '192.168.XX.XX/24', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'IpsConfig' => [ + 'description' => 'The configuration of the intrusion prevention system (IPS).', + 'type' => 'object', + 'properties' => [ + 'BasicRules' => ['description' => 'The status of the basic policies. Valid values:'."\n" + ."\n" + .'- **1**: enabled.'."\n" + ."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EnableAllPatch' => ['description' => 'The status of virtual patching. Valid values:'."\n" + ."\n" + .'- **1**: enabled.'."\n" + ."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RunMode' => ['description' => 'The IPS mode. Valid values:'."\n" + ."\n" + .'- **1**: Block Mode.'."\n" + ."\n" + .'- **0**: Monitor mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'RuleClass' => ['description' => 'The IPS rule group. Valid values:'."\n" + ."\n" + .'- **1**: Loose.'."\n" + ."\n" + .'- **2**: Medium.'."\n" + ."\n" + .'- **3**: Strict.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'MemberUid' => ['description' => 'The UID of the member account.', 'type' => 'string', 'example' => '258039427902****', 'title' => ''], + 'ResultCode' => ['description' => 'The result code of the VPC firewall creation. Valid values:'."\n" + ."\n" + .'- **Unauthorized**: An unauthorized VPC exists. You cannot create a VPC firewall.'."\n" + ."\n" + .'- **RegionDisable**: The VPC is in a region where VPC firewalls are not supported. You cannot create a VPC firewall.'."\n" + ."\n" + .'- **An empty string**: You can create a VPC firewall for the network instance.', 'type' => 'string', 'example' => 'Unauthorized', 'title' => ''], + 'ConnectSubType' => ['description' => 'The subtype of the connection. Valid values:'."\n" + ."\n" + .'- **vpc2vpc**: Express Connect.'."\n" + ."\n" + .'- **vpcpeer**: peering connection.', 'type' => 'string', 'example' => 'vpcpeer', 'title' => ''], + 'AclConfig' => [ + 'description' => 'The mode of the access control list (ACL) engine.', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => 'Indicates whether to enable strict mode. Valid values:'."\n" + ."\n" + .'- 1: enabled'."\n" + ."\n" + .'- 0: disabled', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'default' => '0', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => 'The status of the firewall is invalid. Try again later.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', - 'title' => 'DeleteVpcFirewallControlPolicy', - 'description' => 'You can call the DeleteVpcFirewallControlPolicy operation to delete an access control policy from a specific policy group for a VPC firewall. Different access control policies are used for the VPC firewall that is used to protect each Cloud Enterprise Network (CEN) instance and the VPC firewall that is used to protect each Express Connect circuit. '."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"test-firewall\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcName\\": \\"test-vpc1\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcName\\": \\"test-vpc2\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"ConnectSubType\\": \\"vpcpeer\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeVpcFirewallList', + 'description' => 'This operation queries a paginated list of VPC firewalls. These firewalls protect traffic between two VPCs that are connected using Express Connect.'."\n" ."\n" - .'## Limits'."\n" + .'### QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'BatchDeleteVpcFirewallControlPolicy' => [ - 'summary' => 'Deletes multiple access control policies for a virtual private cloud (VPC) firewall at a time.', - 'methods' => [ - 'get', - 'post', + .'Each Alibaba Cloud account can send up to 10 queries per second (QPS). If this limit is exceeded, API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallList'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], + ], ], + ], + 'DescribeVpcFirewallManualVSwitchList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '195162', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68422', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'VpcFirewallId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", + 'description' => 'The language of request and response messages.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'AclUuidList', + 'name' => 'Lang', 'in' => 'query', - 'style' => 'repeatList', 'schema' => [ - 'description' => 'The UUIDs of access control policies.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The UUID of the access control policy.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c', - ], - 'required' => true, - 'maxItems' => 100, + 'description' => 'The language of request and response messages.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'required' => true, 'example' => 'vpc-m5ewlqkuf7orclr1****', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'example' => '18820897691****', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '6EED3674-74E7-54DC-8FD4-6A374133****', 'title' => ''], + 'VSwitchList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The status.', 'type' => 'string', 'example' => 'Available', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC instance.', 'type' => 'string', 'example' => 'vpc-uf62kq7c364sil2z2****', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch.', 'type' => 'string', 'example' => 'vsw-bp10d0kcp907721z****', 'title' => ''], + 'CidrBlock' => ['description' => 'The IPv4 CIDR block.', 'type' => 'string', 'example' => '10.0.31.0/24', 'title' => ''], + 'AvailableIpAddressCount' => ['description' => 'The number of available IP addresses in the vSwitch.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the instance.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-a', 'title' => ''], + 'AliUid' => ['description' => 'The UID of the Alibaba Cloud account.'."\n" + ."\n" + .'> The root account of the Cloud Firewall member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '122167357026****', 'title' => ''], + 'RouteTableId' => ['description' => 'The ID of the associated route table.', 'type' => 'string', 'example' => 'vtb-2zet3gyk01o07so****', 'title' => ''], + 'OwnerId' => ['description' => 'The ID of the owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '137578716100****', 'title' => ''], + 'VSwitchName' => ['description' => 'The name of the vSwitch.', 'type' => 'string', 'example' => 'vsw-test', 'title' => ''], + ], + 'description' => 'A list of vSwitches.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of vSwitches.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParamUuidOrOrderMiss', - 'errorMessage' => 'Either uuid or oldOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => 'The account is incorrect, please re-enter.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region invalid.', 'description' => 'Region selection error, please re-enter.'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'The VPC is incorrectly selected. Select another VPC.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => 'Failed to call the VPC API.'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'The vSwitch does not exist. Select another vSwitch.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', - 'title' => 'BatchDeleteVpcFirewallControlPolicy', - ], - 'DescribeVpcListLite' => [ - 'summary' => 'Queries virtual private clouds (VPCs).', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeVpcFirewallManualVSwitchList', + 'summary' => 'Queries the list of vSwitches for a VPC firewall created in manual mode.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallManualVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"6EED3674-74E7-54DC-8FD4-6A374133****\\",\\n \\"VSwitchList\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"VpcId\\": \\"vpc-uf62kq7c364sil2z2****\\",\\n \\"VSwitchId\\": \\"vsw-bp10d0kcp907721z****\\",\\n \\"CidrBlock\\": \\"10.0.31.0/24\\",\\n \\"AvailableIpAddressCount\\": 10,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-hangzhou-a\\",\\n \\"AliUid\\": 0,\\n \\"RouteTableId\\": \\"vtb-2zet3gyk01o07so****\\",\\n \\"OwnerId\\": 0,\\n \\"VSwitchName\\": \\"vsw-test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallPolicyPriorUsed' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41030,149 +33868,300 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68434', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], + 'abilityTreeCode' => '68424', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + [ + 'name' => 'VpcFirewallId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the policy group for the VPC firewall. Call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects a Cloud Enterprise Network (CEN) instance, set this parameter to the ID of the CEN instance.'."\n" + ."\n" + .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*'."\n" + .'- If the VPC firewall protects an Express Connect circuit, set this parameter to the ID of the VPC firewall instance.'."\n" + ."\n" + .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vfw-a42bbb7b887148c9****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '58.34.174.194', + 'type' => 'object', + 'properties' => [ + 'End' => ['description' => 'The lowest priority of the policies.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '150'], + 'Start' => ['description' => 'The highest priority of the policies.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => 'Invalid Aliuid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeVpcFirewallPolicyPriorUsed', + 'summary' => 'Queries the effective priority range for access control policies in a specified VPC firewall policy group.', + 'description' => 'This operation queries the effective priority range for access control policies in a specified VPC firewall policy group.'."\n" + ."\n" + .'## Limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 for each user. If you exceed the limit, API calls are throttled. This may impact your business. Call this operation an appropriate number of times to prevent interruptions.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallPolicyPriorUsed'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPolicyPriorUsed', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": 150,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallPrecheckDetail' => [ + 'summary' => 'Retrieves the details of a VPC firewall precheck.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '120839', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'VpcName', + 'name' => 'NetworkInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-shanghai', - ], + 'schema' => ['description' => 'The type of the network instance. Valid values:'."\n" + ."\n" + .'- **cen\\_firewall**: a firewall for a CEN instance (Basic Edition)'."\n" + ."\n" + .'- **cen\\_tr\\_firewall**: a firewall for a CEN instance with a transit router', 'type' => 'string', 'required' => false, 'example' => 'cen_firewall', 'title' => ''], ], [ 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['description' => 'The ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zev8s8rxao33xt****', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the VPC.'."\n" - ."\n" - .'> For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the CEN instance.', 'type' => 'string', 'required' => false, 'example' => 'cen-hxsqf2bv6di1a****', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the transit router instance.', 'type' => 'string', 'required' => false, 'example' => 'tr-2vcn4u2g86tm72****', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account in Cloud Firewall.', 'type' => 'string', 'required' => false, 'example' => '134388541648****', 'title' => ''], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '55E56A55-D93A-5614-AE00-BE2F8077F891', - ], - 'VpcList' => [ - 'description' => 'The information about the VPCs.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'The ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'vpc-wz9dqhljd10fk0b4eh885', - ], - 'VpcName' => [ - 'description' => 'The name of the VPC.'."\n", - 'type' => 'string', - 'example' => 'Cloud_Firewall_VPC', - ], - 'RegionNo' => [ - 'description' => 'The region ID of the VPC.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'IsFound' => ['description' => 'Indicates whether a task exists.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'PrecheckDetail' => [ + 'type' => 'object', + 'properties' => [ + 'NetworkInstanceId' => ['description' => 'The ID of the network instance.', 'type' => 'string', 'example' => 'vpc-m5emh0w6v2e15****', 'title' => ''], + 'RegionNo' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => ''], + 'FirewallId' => ['description' => 'The ID of the firewall instance.', 'type' => 'string', 'example' => 'vfw-tr-7a9c8901ed394****', 'title' => ''], + 'PrecheckTimestamp' => ['description' => 'The timestamp of the precheck.', 'type' => 'string', 'example' => '1715136000', 'title' => ''], + 'PrecheckStatus' => ['description' => 'The status of the precheck. Valid values:'."\n" + ."\n" + .'- **running**: The precheck is in progress.'."\n" + ."\n" + .'- **passed**: The precheck is passed.'."\n" + ."\n" + .'- **failed**: The precheck failed.', 'type' => 'string', 'example' => 'failed', 'title' => ''], + 'PrecheckEntityGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the precheck instance.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'PrecheckEntities' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the precheck item.', 'type' => 'string', 'example' => 'Precheck test', 'title' => ''], + 'Status' => ['description' => 'The status of the precheck item. Valid values:'."\n" + ."\n" + .'- **running**: The precheck is in progress.'."\n" + ."\n" + .'- **passed**: The precheck is passed.'."\n" + ."\n" + .'- **failed**: The precheck failed.', 'type' => 'string', 'example' => 'passed', 'title' => ''], + 'Info' => ['description' => 'The information about the failed precheck.', 'type' => 'string', 'example' => 'VPC Firewall Quota Full', 'title' => ''], + 'Suggestion' => ['description' => 'The suggested solution.', 'type' => 'string', 'example' => 'The VPC firewall quota is full. We recommend that you increase the firewall quota', 'title' => ''], + ], + 'description' => 'The execution status of each precheck item.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The execution status of each precheck item.', + 'title' => '', + 'example' => '', + ], + 'PrecheckEntityGroupStatus' => ['description' => 'The status of the precheck group. Valid values:'."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **passed**'."\n" + ."\n" + .'- **failed**', 'type' => 'string', 'example' => 'running', 'title' => ''], + 'FailedCount' => ['description' => 'The number of rules that failed the precheck.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + ], + 'description' => 'The list of precheck item groups.', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of precheck item groups.', + 'title' => '', + 'example' => '', ], ], + 'description' => 'The details of the precheck.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorJsonDecode', - 'errorMessage' => 'decoding json failed', - ], - [ - 'errorCode' => 'ErrorNoInstanceInDb', - 'errorMessage' => 'no instance for process in db.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => 'The specified region is invalid. Enter another value.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorPreCheckDoing', 'errorMessage' => 'Pre-check in progress, please try again later.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55E56A55-D93A-5614-AE00-BE2F8077F891\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9dqhljd10fk0b4eh885\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeVpcListLite', - ], - 'DescribeDnsFirewallPolicy' => [ - 'summary' => '获取DNS防火墙ACL列表', - 'methods' => [ - 'post', - 'get', + 'title' => 'DescribeVpcFirewallPrecheckDetail', + 'description' => '## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If the limit is exceeded, API calls are throttled. This may impact your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC Firewall Quota Full\\",\\n \\"Suggestion\\": \\"The VPC firewall quota is full. We recommend that you increase the firewall quota\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 3\\n }\\n ]\\n },\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\"\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallSummaryInfo' => [ + 'summary' => 'Retrieves a summary of VPC firewalls.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41184,137 +34173,222 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68243', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68427', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '140.205.118.XXX', - ], + 'schema' => ['description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ + 'schema' => ['description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the user. Valid values:'."\n" + ."\n" + .'**buy**: Paid user'."\n" + ."\n" + .'**free**: Free user', 'type' => 'string', 'required' => false, 'example' => 'buy', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AvailableVpcFirewallQuota' => ['description' => 'The remaining quota for VPC firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'CenExpressConnectVpcCount' => ['description' => 'The number of VPCs connected using Cloud Enterprise Network (CEN) and Express Connect.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'CenFirewallVpcCount' => ['description' => 'The number of CEN VPCs.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'CenTrVpcCount' => ['description' => 'The number of VPCs on the CEN transit router.', 'type' => 'integer', 'format' => 'int32', 'example' => '13', 'title' => ''], + 'ClosedCenFirewallCount' => ['description' => 'The number of configured CEN firewalls that are disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ClosedExpressConnectFirewallCount' => ['description' => 'The number of configured Express Connect firewalls that are disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'ClosedVpcFirewallCount' => ['description' => 'The number of configured VPC firewalls that are disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'ConfiguredCenFirewallCount' => ['description' => 'The number of configured CEN firewall instances of the Basic Edition.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'ConfiguredCenFirewallRegionCount' => ['description' => 'The number of regions where CEN firewalls are configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ConfiguredCenFirewallVpcCount' => ['description' => 'The number of VPCs for which CEN firewalls are configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '18', 'title' => ''], + 'ConfiguredCenTrFirewallCount' => ['description' => 'The number of configured CEN transit router firewall instances.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ConfiguredExpressConnectFirewallCount' => ['description' => 'The number of configured Express Connect circuits.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ConfiguredExpressConnectVpcCount' => ['description' => 'The number of VPCs for which Express Connect firewalls are configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ConfiguredVpcFirewallCount' => ['description' => 'The number of configured VPC firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'ConfiguredVpcFirewallVpcCount' => ['description' => 'The number of VPCs for which VPC firewalls are configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ExpressConnectVpcCount' => ['description' => 'The number of Express Connect VPCs.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'NotConfiguredCenFirewallCount' => ['description' => 'The number of CEN firewalls that are not configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'NotConfiguredCenTrFirewallCount' => ['description' => 'The number of CEN transit router firewall instances that are not configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'NotConfiguredExpressConnectFirewallCount' => ['description' => 'The number of Express Connect firewalls that are not configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '7', 'title' => ''], + 'NotConfiguredVpcFirewallCount' => ['description' => 'The number of VPC firewalls that are not configured.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'OpenedCenExpressConnectVpcCount' => ['description' => 'The number of VPCs that are connected using CEN and Express Connect and have the firewall enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'OpenedCenFirewallCount' => ['description' => 'The number of enabled CEN firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'OpenedCenFirewallVpcCount' => ['description' => 'The number of VPCs protected by CEN firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'OpenedCenTrFirewallVpcCount' => ['description' => 'The number of VPCs protected by the CEN transit router firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'OpenedEcrCount' => ['description' => 'The number of enabled CEN Express Connect Routers (ECRs).', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'OpenedExpressConnectFirewallCount' => ['description' => 'The number of enabled Express Connect firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], + 'OpenedExpressConnectVpcCount' => ['description' => 'The number of VPCs protected by Express Connect firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'OpenedPeerTrCount' => ['description' => 'The number of inter-region connections protected by the CEN transit router firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'OpenedVbrCount' => ['description' => 'The number of Virtual Border Routers (VBRs) protected by the CEN transit router firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'OpenedVpcCount' => ['description' => 'The number of protected VPCs.', 'type' => 'integer', 'format' => 'int32', 'example' => '17', 'title' => ''], + 'OpenedVpcFirewallCount' => ['description' => 'The number of enabled VPC firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '9', 'title' => ''], + 'OpenedVpnCount' => ['description' => 'The number of VPN gateways protected by the CEN transit router firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8AABEF64-7ABF-52CB-BA6C-0598E3DB****', 'title' => ''], + 'TotalEcrCount' => ['description' => 'The number of ECRs.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'TotalPeerTrCount' => ['description' => 'The number of inter-region connections on the CEN transit router.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'TotalVbrCount' => ['description' => 'The number of VBRs on the CEN transit router.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'TotalVpcCount' => ['description' => 'The number of interconnected VPCs.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'TotalVpcFirewallQuota' => ['description' => 'The total quota for VPC firewalls.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'TotalVpnCount' => ['description' => 'The number of VPN gateways on the CEN transit router.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeVpcFirewallSummaryInfo', + 'description' => '### QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this API operation is 10 for each user. If you exceed this limit, API calls are throttled. This can affect your business. Plan your API calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallSummaryInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AvailableVpcFirewallQuota\\": 4,\\n \\"CenExpressConnectVpcCount\\": 7,\\n \\"CenFirewallVpcCount\\": 10,\\n \\"CenTrVpcCount\\": 13,\\n \\"ClosedCenFirewallCount\\": 1,\\n \\"ClosedExpressConnectFirewallCount\\": 10,\\n \\"ClosedVpcFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallRegionCount\\": 2,\\n \\"ConfiguredCenFirewallVpcCount\\": 18,\\n \\"ConfiguredCenTrFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectVpcCount\\": 2,\\n \\"ConfiguredVpcFirewallCount\\": 5,\\n \\"ConfiguredVpcFirewallVpcCount\\": 1,\\n \\"ExpressConnectVpcCount\\": 2,\\n \\"NotConfiguredCenFirewallCount\\": 0,\\n \\"NotConfiguredCenTrFirewallCount\\": 6,\\n \\"NotConfiguredExpressConnectFirewallCount\\": 7,\\n \\"NotConfiguredVpcFirewallCount\\": 12,\\n \\"OpenedCenExpressConnectVpcCount\\": 10,\\n \\"OpenedCenFirewallCount\\": 4,\\n \\"OpenedCenFirewallVpcCount\\": 0,\\n \\"OpenedCenTrFirewallVpcCount\\": 4,\\n \\"OpenedEcrCount\\": 0,\\n \\"OpenedExpressConnectFirewallCount\\": 15,\\n \\"OpenedExpressConnectVpcCount\\": 2,\\n \\"OpenedPeerTrCount\\": 3,\\n \\"OpenedVbrCount\\": 0,\\n \\"OpenedVpcCount\\": 17,\\n \\"OpenedVpcFirewallCount\\": 9,\\n \\"OpenedVpnCount\\": 6,\\n \\"RequestId\\": \\"8AABEF64-7ABF-52CB-BA6C-0598E3DB****\\",\\n \\"TotalEcrCount\\": 2,\\n \\"TotalPeerTrCount\\": 6,\\n \\"TotalVbrCount\\": 5,\\n \\"TotalVpcCount\\": 2,\\n \\"TotalVpcFirewallQuota\\": 5,\\n \\"TotalVpnCount\\": 1\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallTrafficAssetList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68328', + 'abilityTreeNodes' => ['FEATUREcfwG6EEQD'], + ], + 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The start time. The value is a Unix timestamp that is accurate to the second.', 'type' => 'string', 'required' => true, 'example' => '1656664560', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. The value is a Unix timestamp that is accurate to the second.', 'type' => 'string', 'required' => true, 'example' => '1656750960', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Source', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], + 'schema' => ['description' => 'The current page number.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Destination', + 'name' => 'IP', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.2.XX.XX/24', - ], + 'schema' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'required' => false, 'example' => '47.92.x.x', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The domain name.', 'type' => 'string', 'required' => false, 'example' => 'www.****.com', 'title' => ''], ], [ - 'name' => 'AclAction', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The sort order. Valid values: \\`asc\\`, \\`desc\\`.', 'type' => 'string', 'required' => false, - 'example' => 'accept', + 'example' => 'desc', + 'enum' => [], + 'title' => '', ], ], [ - 'name' => 'Release', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The field to sort by.'."\n" + ."\n" + .'Default value: TotalBytes.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'TotalBytes: Sorts by total traffic.'."\n" + ."\n" + .'SessionCount: Sorts by the number of sessions.', 'type' => 'string', 'required' => false, - 'example' => 'true', + 'example' => 'SessionCount', + 'enum' => [], + 'title' => '', ], ], [ - 'name' => 'AclUuid', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'b6c8f905-2eb6-442a-ba35-9416e****', - ], + 'schema' => ['description' => 'The VPC where the asset resides.', 'type' => 'string', 'required' => false, 'example' => 'vpc-m5ewlqkuf7orclr1****', 'title' => ''], ], [ - 'name' => 'IpVersion', + 'name' => 'IsAITraffic', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4', - 'enum' => [ - '4', - '6', - ], - ], + 'schema' => ['description' => 'Specifies whether to count only the traffic that is used to access AI services.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ @@ -41322,195 +34396,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0A4ACDE9-9F9F-56C1-B3B7-60971BA1****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'Policys' => [ - 'description' => '', + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '132', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****', 'title' => ''], + 'DataList' => [ 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'Direction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'in', - ], - 'DestinationGroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ip', - ], - 'HitLastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'x.x.x.x/32', - ], - 'SourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'net', - ], - 'AclUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '01281255-d220-4db1-8f4f-c4df221a****', - ], - 'Priority' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '110', - ], - 'Source' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'net', - ], - 'HitTimes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'IpVersion' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'SourceGroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ip', - ], - 'AclAction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'accept', - ], - 'Release' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'true', - ], - 'DestinationAddrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX/24'."\n", - ], - ], - 'SourceAddrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.2.XX.XX/24'."\n", - ], - ], - ], + 'IP' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => 'a.com', 'title' => ''], + 'VpcId' => ['description' => 'The VPC where the asset resides.', 'type' => 'string', 'example' => 'a.com', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '253023143', 'title' => ''], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'IpsHitCnt' => ['description' => 'The number of intrusion prevention system (IPS) hits.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'VpcName' => ['description' => 'The name of the VPC where the asset resides.', 'type' => 'string', 'example' => 'vpc-bp1mos0vhefmx5ah6****', 'title' => ''], + ], + 'description' => 'The data list.', + 'title' => '', + 'example' => '', ], + 'description' => 'The returned data.', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => 'The security suggest is invalid.'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => 'The sort is invalid.'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => 'The order is invalid.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => 'The domain name is invalid.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"0A4ACDE9-9F9F-56C1-B3B7-60971BA1****\\",\\n \\"TotalCount\\": \\"10\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"SourceType\\": \\"net\\",\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"Priority\\": 110,\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"IpVersion\\": 6,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"DestinationAddrs\\": [\\n \\"192.0.XX.XX/24\\\\n\\"\\n ],\\n \\"SourceAddrs\\": [\\n \\"10.2.XX.XX/24\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribePrefixLists' => [ - 'summary' => 'Queries prefix lists.', - 'methods' => [ - 'get', + 'title' => 'DescribeVpcFirewallTrafficAssetList', + 'summary' => 'Retrieves a list of assets that access domain names through a VPC firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallTrafficAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\",\\n \\"DataList\\": [\\n {\\n \\"IP\\": \\"a.com\\",\\n \\"VpcId\\": \\"a.com\\",\\n \\"TotalBytes\\": 253023143,\\n \\"SessionCount\\": 12,\\n \\"IpsHitCnt\\": 10,\\n \\"VpcName\\": \\"vpc-bp1mos0vhefmx5ah6****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallTrafficTrend' => [ + 'summary' => 'Retrieves the traffic trend of a virtual private cloud (VPC) firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41519,601 +34479,887 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '157353', - 'abilityTreeNodes' => [ - 'FEATUREcfw4TUC5U', - ], + 'abilityTreeCode' => '68431', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", + 'description' => 'The language of the request and response. Valid values:'."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese.'], 'type' => 'string', 'required' => false, - 'example' => '47.100.XX.XX', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'RegionNo', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the instance.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shenzhen', - ], + 'schema' => ['description' => 'The start time. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1780626107', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1767493189', 'title' => ''], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC-connected instance.', 'type' => 'string', 'required' => true, 'example' => 'vpc-j6cnofg4lg1ujx3xj****', 'title' => ''], + ], + [ + 'name' => 'PeerVpcId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the peer VPC instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-j6c7mscdg4hfqanfi****', 'title' => ''], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => 'The private IP address.', 'type' => 'string', 'required' => false, 'example' => '10.21.186.XXX', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '67FD76C2-C493-5815-8107-643FD7AB77C7', - ], - 'PrefixList' => [ - 'description' => 'Details about the prefix lists.'."\n", + 'MaxTotalBps' => ['description' => 'The peak total network throughput in both the outbound and inbound directions. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '61947852', 'title' => ''], + 'AvgInBps' => ['description' => 'The average inbound network throughput. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '1264110', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '45F8B9E6-8583-56B3-A127-1B421C9E****', 'title' => ''], + 'MaxInBps' => ['description' => 'The peak inbound network throughput. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '1436', 'title' => ''], + 'MaxOutBps' => ['description' => 'The peak outbound network throughput. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '2128', 'title' => ''], + 'AvgSession' => ['description' => 'The average number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '1995', 'title' => ''], + 'MaxSession' => ['description' => 'The peak number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '2003', 'title' => ''], + 'AvgTotalBps' => ['description' => 'The average total network throughput in both the outbound and inbound directions. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '34291', 'title' => ''], + 'AvgOutBps' => ['description' => 'The average outbound network throughput. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '68915', 'title' => ''], + 'MaxBandwidthTime' => ['description' => 'The timestamp when the peak bandwidth occurred. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1768008060', 'title' => ''], + 'TotalInBytes' => ['description' => 'The total inbound network throughput. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2659635037', 'title' => ''], + 'TotalOutBytes' => ['description' => 'The total outbound network throughput. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '399762701', 'title' => ''], + 'TotalBytes' => ['description' => 'The total traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '141688156232', 'title' => ''], + 'TotalSession' => ['description' => 'The total number of requests.', 'type' => 'integer', 'format' => 'int64', 'example' => '1078757', 'title' => ''], + 'DataList' => [ + 'description' => 'The data list.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The data list.', 'type' => 'object', 'properties' => [ - 'PrefixListId' => [ - 'description' => 'The ID of the prefix list.'."\n", - 'type' => 'string', - 'example' => 'pl-uf64nco3ujjqchx6aaji', - ], - 'PrefixListName' => [ - 'description' => 'The name of the prefix list.'."\n", - 'type' => 'string', - 'example' => 'participant-name', - ], - 'Description' => [ - 'description' => 'The description.'."\n", - 'type' => 'string', - 'example' => 'TCP_14900-14911', - ], - 'CreationTime' => [ - 'description' => 'The creation time.'."\n", - 'type' => 'string', - 'example' => '2023-10-16T08:31:06Z', - ], - 'AssociationCount' => [ - 'description' => 'The number of associated resources.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'MaxEntries' => [ - 'description' => 'The maximum number of entries in the prefix list.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'AddressFamily' => [ - 'description' => 'The IP address family of the prefix list. Valid values:'."\n" - ."\n" - .'* IPv4'."\n" - .'* IPv6'."\n", - 'type' => 'string', - 'example' => 'IPv4', - ], - ], + 'SessionCount' => ['description' => 'The number of sessions.', 'type' => 'integer', 'format' => 'int64', 'example' => '27', 'title' => ''], + 'Time' => ['description' => 'The time when the traffic occurred. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '1758470400', 'title' => ''], + 'InBps' => ['description' => 'The inbound bandwidth. Unit: bit/s.', 'type' => 'integer', 'format' => 'int64', 'example' => '187', 'title' => ''], + 'InPps' => ['description' => 'The inbound packet forwarding rate. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'NewConn' => ['description' => 'The number of new connections.', 'type' => 'integer', 'format' => 'int64', 'example' => '27', 'title' => ''], + 'OutBytes' => ['description' => 'The total outbound network throughput. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '230', 'title' => ''], + 'OutPps' => ['description' => 'The outbound packet forwarding rate. Unit: pps.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'InBytes' => ['description' => 'The inbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '32', 'title' => ''], + 'OutBps' => ['description' => 'The outbound traffic. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '45', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'parameters invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => 'The traffic type is invalid.'], + ['errorCode' => 'ErrorVpcId', 'errorMessage' => 'The VPC ID is invalid.', 'description' => 'The VPC ID is invalid.'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => 'The interval is invalid.'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => 'The time is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => 'The data type is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67FD76C2-C493-5815-8107-643FD7AB77C7\\",\\n \\"PrefixList\\": [\\n {\\n \\"PrefixListId\\": \\"pl-uf64nco3ujjqchx6aaji\\",\\n \\"PrefixListName\\": \\"participant-name\\",\\n \\"Description\\": \\"TCP_14900-14911\\",\\n \\"CreationTime\\": \\"2023-10-16T08:31:06Z\\",\\n \\"AssociationCount\\": 2,\\n \\"MaxEntries\\": 20,\\n \\"AddressFamily\\": \\"IPv4\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribePrefixLists', - ], - 'AddDnsFirewallPolicy' => [ - 'summary' => '添加DNS防火墙ACL', - 'methods' => [ - 'post', - 'get', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Retrieve VPC firewall traffic trend', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxTotalBps\\": 61947852,\\n \\"AvgInBps\\": 1264110,\\n \\"RequestId\\": \\"45F8B9E6-8583-56B3-A127-1B421C9E****\\",\\n \\"MaxInBps\\": 1436,\\n \\"MaxOutBps\\": 2128,\\n \\"AvgSession\\": 1995,\\n \\"MaxSession\\": 2003,\\n \\"AvgTotalBps\\": 34291,\\n \\"AvgOutBps\\": 68915,\\n \\"MaxBandwidthTime\\": 1768008060,\\n \\"TotalInBytes\\": 2659635037,\\n \\"TotalOutBytes\\": 399762701,\\n \\"TotalBytes\\": 141688156232,\\n \\"TotalSession\\": 1078757,\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"Time\\": 1758470400,\\n \\"InBps\\": 187,\\n \\"InPps\\": 2,\\n \\"NewConn\\": 27,\\n \\"OutBytes\\": 230,\\n \\"OutPps\\": 2,\\n \\"InBytes\\": 32,\\n \\"OutBps\\": 45\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallZone' => [ + 'summary' => 'Describes the available zones for a VPC firewall.', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68096', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '140.205.118.97', - ], + 'schema' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'string', 'required' => false, 'example' => '135809047715****', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'AclAction', + 'name' => 'Environment', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The environment.', + 'enumValueTitles' => ['TransitRouter' => 'Used for the Enterprise Edition of Cloud Enterprise Network (CEN).', 'VPC' => 'Used for the Basic Edition of CEN.'], 'type' => 'string', - 'required' => true, - 'example' => 'log', + 'required' => false, + 'example' => 'TransitRouter', + 'title' => '', ], ], [ - 'name' => 'Description', + 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the CEN instance.', 'type' => 'string', 'required' => false, 'example' => 'cen-4xbjup276au29r****', 'title' => ''], ], [ - 'name' => 'Destination', + 'name' => 'TransitRouterId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'db_group', - ], + 'schema' => ['description' => 'The ID of the TransitRouter instance.', 'type' => 'string', 'required' => false, 'example' => 'tr-m5etmb2q7e0mxcur****', 'title' => ''], ], [ - 'name' => 'DestinationType', + 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '222.212.86.7XXX', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'domain', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****'], + 'ZoneList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => 'The zone ID.', 'type' => 'string', 'example' => 'cn-hangzhou-c', 'title' => ''], + 'LocalName' => ['description' => 'The name of the zone.', 'type' => 'string', 'example' => 'Hangzhou Zone C', 'title' => ''], + ], + 'description' => 'A zone.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of zones.', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of zones.', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => 'The specified region is invalid. Enter another value.'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeVpcFirewallZone', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'out', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"ZoneList\\": [\\n [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-c\\",\\n \\"LocalName\\": \\"Hangzhou Zone C\\"\\n }\\n ]\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcListLite' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Source', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68434', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.223/32', - ], + 'schema' => ['description' => 'The source IP address of the requester.', 'type' => 'string', 'required' => false, 'example' => '58.34.174.194', 'title' => ''], ], [ - 'name' => 'SourceType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Priority', + 'name' => 'VpcName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The instance name of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-shanghai', 'title' => ''], ], [ - 'name' => 'Release', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'true', - ], + 'schema' => ['description' => 'The instance ID of the VPC.', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****', 'title' => ''], ], [ - 'name' => 'IpVersion', + 'name' => 'RegionNo', 'in' => 'query', + 'schema' => ['description' => 'The ID of the region where the VPC resides.'."\n" + ."\n" + .'> For more information about the regions that Cloud Firewall supports, see [Supported regions](~~195657~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '55E56A55-D93A-5614-AE00-BE2F8077F891', 'title' => ''], + 'VpcList' => [ + 'description' => 'The list of VPCs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of VPCs.', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'The instance ID of the VPC.', 'type' => 'string', 'example' => 'vpc-wz9dqhljd10fk0b4eh885', 'title' => ''], + 'VpcName' => ['description' => 'The instance name of the VPC.', 'type' => 'string', 'example' => 'Cloud_Firewall_VPC', 'title' => ''], + 'RegionNo' => ['description' => 'The ID of the region to which the VPC belongs.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', - 'enum' => [ - '4', - '6', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], + ['errorCode' => 'ErrorJsonDecode', 'errorMessage' => 'decoding json failed', 'description' => 'Failed to parse JSON data.'], + ['errorCode' => 'ErrorNoInstanceInDb', 'errorMessage' => 'no instance for process in db.', 'description' => 'The specified instance does not exist.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'DescribeVpcListLite', + 'summary' => 'Queries a list of Virtual Private Clouds (VPCs).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcListLite'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcListLite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55E56A55-D93A-5614-AE00-BE2F8077F891\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9dqhljd10fk0b4eh885\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcZone' => [ + 'summary' => 'Queries the zones that are available for VPCs.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '179270', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'string', 'required' => false, 'example' => '1415189284827022', 'title' => ''], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], + ], + [ + 'name' => 'Environment', + 'in' => 'query', + 'schema' => ['description' => 'The environment. Valid values:'."\n" + ."\n" + .'- **VPC**: VPC'."\n" + ."\n" + .'- **TransitRouter**: Transit Router', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'f88dae6f-XXX-XXX-613de9ab2be8', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '71209DFE-XXX-XXX-52B4A4E9DA3B', + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '694DFBF3-C060-529F-92D0-7FC7E0DA1E21'], + 'ZoneList' => [ + 'description' => 'The list of zones.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of zones.', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => 'The ID of the zone.', 'type' => 'string', 'example' => 'cn-hangzhou-b', 'title' => ''], + 'LocalName' => ['description' => 'The name of the zone.', 'type' => 'string', 'example' => 'China East 1 Zone B', 'title' => ''], + 'ZoneType' => ['description' => 'The type of the zone. The default value is \\`AvailabilityZone\\`, which indicates a standard cloud zone.', 'type' => 'string', 'example' => 'AvailabilityZone', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclRuleDuplicate', - 'errorMessage' => 'acl rule duplicate.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'user credentials failed', 'description' => 'Access permissions required. You must grant permissions to the firewall.'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => 'Failed to call the VPC API.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorCenTRAssociationNotFound', 'errorMessage' => 'CEN-TR attachment association not found.', 'description' => 'CEN-TR attachment association not found.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => 'The specified region is invalid. Enter another value.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"f88dae6f-XXX-XXX-613de9ab2be8\\",\\n \\"RequestId\\": \\"71209DFE-XXX-XXX-52B4A4E9DA3B\\"\\n}","type":"json"}]', - ], - 'ModifyDnsFirewallPolicy' => [ - 'summary' => '修改DNS防火墙规则', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"694DFBF3-C060-529F-92D0-7FC7E0DA1E21\\",\\n \\"ZoneList\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"LocalName\\": \\"China East 1 Zone B\\",\\n \\"ZoneType\\": \\"AvailabilityZone\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeVpcZone', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcZone'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeVulnerabilityProtectedList' => [ + 'summary' => 'Queries a list of vulnerabilities that Cloud Firewall can protect against.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68471', - 'abilityTreeNodes' => [ - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68447', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The source IP address of the access request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '112.239.XX.XX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AclAction', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'log', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Description', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The start time of the query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1655778046', 'title' => ''], ], [ - 'name' => 'Destination', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'db_group', - ], + 'schema' => ['description' => 'The end time of the query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'string', 'required' => true, 'example' => '1646063922', 'title' => ''], ], [ - 'name' => 'DestinationType', + 'name' => 'VulnStatus', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The protection status of the vulnerability. Valid values:'."\n" + ."\n" + .'- **partProtected**: partially protected'."\n" + ."\n" + .'- **protected**: protected'."\n" + ."\n" + .'- **unProtected**: unprotected', + 'enumValueTitles' => ['protected' => 'protected', 'unProtected' => 'unProtected', 'partProtected' => 'partProtected'], 'type' => 'string', 'required' => false, - 'example' => 'net', + 'example' => 'protected', + 'title' => '', ], ], [ - 'name' => 'Source', + 'name' => 'VulnCveName', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The CVE ID of the vulnerability.', + 'enumValueTitles' => [], 'type' => 'string', 'required' => false, - 'example' => '192.0.21.**/24', + 'example' => 'CVE-2022-2992', + 'title' => '', ], ], [ - 'name' => 'AclUuid', + 'name' => 'AttackType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df22****', - ], + 'schema' => ['description' => 'The attack type of the vulnerability prevention event. Valid values:'."\n" + ."\n" + .'- **1**: abnormal connection'."\n" + ."\n" + .'- **2**: command execution'."\n" + ."\n" + .'- **3**: brute-force attack'."\n" + ."\n" + .'- **4**: scan'."\n" + ."\n" + .'- **5**: other'."\n" + ."\n" + .'- **6**: information leakage'."\n" + ."\n" + .'- **7**: DoS attack'."\n" + ."\n" + .'- **8**: overflow attack'."\n" + ."\n" + .'- **9**: web attack'."\n" + ."\n" + .'- **10**: back door'."\n" + ."\n" + .'- **11**: virus'."\n" + ."\n" + .'- **12**: mining behavior'."\n" + ."\n" + .'- **13**: reverse shell'."\n" + ."\n" + .'> If you do not set this parameter, all attack types are queried.', 'type' => 'string', 'required' => false, 'example' => '13', 'title' => ''], ], [ - 'name' => 'SourceType', + 'name' => 'VulnType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => 'The type of the vulnerability. Valid values:'."\n" + ."\n" + .'- **App**: application vulnerability'."\n" + ."\n" + .'- **emg**: emergency vulnerability'."\n" + ."\n" + .'- **cms**: Web-CMS vulnerability', 'type' => 'string', 'required' => false, 'example' => 'emg', 'title' => ''], ], [ - 'name' => 'Release', + 'name' => 'VulnLevel', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The risk level of the vulnerability. Valid values:'."\n" + ."\n" + .'- **high**: high'."\n" + ."\n" + .'- **medium**: medium'."\n" + ."\n" + .'- **low**: low', 'type' => 'string', 'required' => false, 'example' => 'medium', 'title' => ''], ], [ - 'name' => 'Priority', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number of the paged query. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return on each page in a paged query. The maximum value is 50.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'SortKey', + 'in' => 'query', + 'schema' => ['description' => 'The sorting basis. The value is fixed as **attackCnt**, which indicates the number of attacks.', 'type' => 'string', 'required' => false, 'example' => 'attackCnt', 'title' => ''], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sorting order. Valid values:'."\n" + ."\n" + .'- **asc**: ascending.'."\n" + ."\n" + .'- **desc** (default): descending.', 'type' => 'string', 'required' => false, 'example' => 'desc', 'title' => ''], + ], + [ + 'name' => 'VulnResource', + 'in' => 'query', + 'schema' => ['description' => 'The number of assets affected by the vulnerability.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => ['description' => 'The user type. The value is fixed as **buy**, which indicates a paid-for user.', 'type' => 'string', 'required' => false, 'example' => 'buy', 'title' => ''], + ], + [ + 'name' => 'BuyVersion', + 'in' => 'query', + 'schema' => ['description' => 'The edition of Cloud Firewall. For the pay-as-you-go edition, set the value to 10. You do not need to set this parameter for other editions.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account of Cloud Firewall.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], + ], + [ + 'name' => 'RuleTag', + 'in' => 'query', + 'schema' => ['description' => 'The tag of the vulnerability. Valid values:'."\n" + ."\n" + .'- **AI**: AI component-related vulnerabilities', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'AI'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ + 'description' => 'The response of the DescribeVulnerabilityProtectedList operation.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79****', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D355C631-1537-59C5-A56E-F6C5037B99E5', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of vulnerabilities that are detected by Cloud Firewall.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'ZeroResourceCount' => ['description' => 'The number of vulnerabilities for which the number of affected assets is 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'VulnList' => [ + 'description' => 'A collection of vulnerability information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The information about the vulnerability.', + 'type' => 'object', + 'properties' => [ + 'VulnName' => ['description' => 'The name of the vulnerability.', 'type' => 'string', 'example' => 'fastjson <= 1.2.80 Deserialization Arbitrary Code Execution Vulnerability'."\n", 'title' => ''], + 'AttackType' => ['description' => 'The attack type of the vulnerability prevention event. Valid values:'."\n" + ."\n" + .'- **1**: abnormal connection'."\n" + ."\n" + .'- **2**: command execution'."\n" + ."\n" + .'- **3**: brute-force attack'."\n" + ."\n" + .'- **4**: scan'."\n" + ."\n" + .'- **5**: other'."\n" + ."\n" + .'- **6**: information leakage'."\n" + ."\n" + .'- **7**: DoS attack'."\n" + ."\n" + .'- **8**: overflow attack'."\n" + ."\n" + .'- **9**: web attack'."\n" + ."\n" + .'- **10**: back door'."\n" + ."\n" + .'- **11**: virus'."\n" + ."\n" + .'- **12**: mining behavior'."\n" + ."\n" + .'- **13**: reverse shell', 'type' => 'integer', 'format' => 'int32', 'example' => '13', 'title' => ''], + 'NeedRuleClass' => ['description' => 'The threat level of the RuleClass that needs to be enabled. Valid values:'."\n" + ."\n" + .'- **1** (default): Loose'."\n" + ."\n" + .'- **2**: Medium'."\n" + ."\n" + .'- **3**: Strict', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'VulnType' => ['description' => 'The type of the vulnerability. Valid values:'."\n" + ."\n" + .'- **emg**: emergency vulnerability'."\n" + ."\n" + .'- **webcms**: Web-CMS vulnerability'."\n" + ."\n" + .'- **app**: application vulnerability', 'type' => 'string', 'example' => 'emg', 'title' => ''], + 'VulnKey' => ['description' => 'The code of the vulnerability.', 'type' => 'string', 'example' => 'dedecms-archive.helper.php-vul', 'title' => ''], + 'VulnLevel' => ['description' => 'The severity of the vulnerability. Valid values are:'."\n" + ."\n" + .'- **high**: High'."\n" + ."\n" + .'- **medium**: Medium'."\n" + ."\n" + .'- **low**: Low', 'type' => 'string', 'example' => 'high', 'title' => ''], + 'NeedOpenBasicRule' => ['description' => 'The status of the basic protection policy that corresponds to the vulnerability. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled'."\n" + ."\n" + .'> If the value is true, you must set the status of the basic protection policy that corresponds to the vulnerability to Block for one-click protection.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'CveId' => ['description' => 'The list of CVE IDs.', 'type' => 'string', 'example' => '12112131123, 1231123112', 'title' => ''], + 'FirstTime' => ['description' => 'The time when the vulnerability was first detected. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1608687364', 'title' => ''], + 'BasicRuleIds' => ['description' => 'The ID of the associated rule.', 'type' => 'string', 'example' => '12,12', 'title' => ''], + 'LastTime' => ['description' => 'The time when the vulnerability was last detected. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1608687364', 'title' => ''], + 'NeedOpenVirtualPatcheUuids' => ['description' => 'The UUID of the virtual patching rule that needs to be upgraded to Block mode.', 'type' => 'string', 'example' => 'UUID-1231231234', 'title' => ''], + 'NeedOpenBasicRuleUuids' => ['description' => 'The UUID of the basic protection policy that needs to be upgraded to Block mode.', 'type' => 'string', 'example' => 'UUID-1231231', 'title' => ''], + 'NeedOpenVirtualPatche' => ['description' => 'The status of the virtual patch that corresponds to the vulnerability. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled'."\n" + ."\n" + .'> If the value is true, you must set the status of the virtual patch that corresponds to the vulnerability to Block for one-click protection.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'VirtualPatcheIds' => ['description' => 'The ID of the associated rule.', 'type' => 'string', 'example' => '13,13', 'title' => ''], + 'HighlightTag' => ['description' => 'Indicates whether the vulnerability requires special attention. Valid values:'."\n" + ."\n" + .'- **0**: no'."\n" + ."\n" + .'- **1**: yes', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'NeedOpenRunMode' => ['description' => 'Indicates whether you need to set the running mode of the threat detection engine for one-click protection. Valid values:'."\n" + ."\n" + .'- **true**: yes'."\n" + ."\n" + .'- **false**: no', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'VulnStatus' => ['description' => 'The protection status of the vulnerability. Valid values:'."\n" + ."\n" + .'- **partProtected**: partially protected'."\n" + ."\n" + .'- **protected**: protected'."\n" + ."\n" + .'- **unProtected**: unprotected', 'type' => 'string', 'example' => 'protected', 'title' => ''], + 'AttackCnt' => ['description' => 'The number of attacks on the vulnerability.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'ResourceCnt' => ['description' => 'The number of assets that have the vulnerability.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the member account of the current Alibaba Cloud account.', 'type' => 'string', 'example' => '119384235299****', 'title' => ''], + 'ResourceList' => [ + 'description' => 'The list of assets that have the vulnerability.', + 'type' => 'array', + 'items' => [ + 'description' => 'The asset that has the vulnerability.', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => ['description' => 'The type of the asset that has the vulnerability. Valid values:'."\n" + ."\n" + .'- **SLB**'."\n" + ."\n" + .'- **EIP**'."\n" + ."\n" + .'- **ECS**', 'type' => 'string', 'example' => 'EIP', 'title' => ''], + 'Eip' => ['description' => 'The elastic IP address (EIP) of the instance.', 'type' => 'string', 'example' => '203.107.XX.XX', 'title' => ''], + 'InternetIp' => ['description' => 'The public IP address of the instance.', 'type' => 'string', 'example' => '47.96.XX.XX', 'title' => ''], + 'VulnStatus' => ['description' => 'The protection status of the vulnerability. Valid values:'."\n" + ."\n" + .'- **partProtected**: partially protected'."\n" + ."\n" + .'- **protected**: protected'."\n" + ."\n" + .'- **unProtected**: unprotected', 'type' => 'string', 'example' => 'protected', 'title' => ''], + 'ResourceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], + 'ResourceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'ECS', 'title' => ''], + 'IntranetIp' => ['description' => 'The private IP address of the instance.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the Cloud Firewall instance.'."\n" + ."\n" + .'> For more information about the regions where Cloud Firewall is available, see [Supported regions](~~195657~~).', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RuleTag' => [ + 'description' => 'The tag of the vulnerability.', + 'enumValueTitles' => ['AI' => 'AI-related vulnerabilities'], + 'type' => 'string', + 'example' => 'AI', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclRuleDuplicate', - 'errorMessage' => 'acl rule duplicate.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorAttackTypeError', 'errorMessage' => 'attack type invalid.', 'description' => 'The specified type is invalid. Select again.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => 'Either page number or page size is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => 'Internal error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79****\\"\\n}","type":"json"}]', - ], - 'DeleteDnsFirewallPolicy' => [ - 'summary' => '删除DNS防火墙规则', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D355C631-1537-59C5-A56E-F6C5037B99E5\\",\\n \\"TotalCount\\": 5,\\n \\"ZeroResourceCount\\": 1,\\n \\"VulnList\\": [\\n {\\n \\"VulnName\\": \\"fastjson <= 1.2.80 Deserialization Arbitrary Code Execution Vulnerability\\\\n\\",\\n \\"AttackType\\": 13,\\n \\"NeedRuleClass\\": 1,\\n \\"VulnType\\": \\"emg\\",\\n \\"VulnKey\\": \\"dedecms-archive.helper.php-vul\\",\\n \\"VulnLevel\\": \\"high\\",\\n \\"NeedOpenBasicRule\\": false,\\n \\"CveId\\": \\"12112131123, 1231123112\\",\\n \\"FirstTime\\": 1608687364,\\n \\"BasicRuleIds\\": \\"12,12\\",\\n \\"LastTime\\": 1608687364,\\n \\"NeedOpenVirtualPatcheUuids\\": \\"UUID-1231231234\\",\\n \\"NeedOpenBasicRuleUuids\\": \\"UUID-1231231\\",\\n \\"NeedOpenVirtualPatche\\": true,\\n \\"VirtualPatcheIds\\": \\"13,13\\",\\n \\"HighlightTag\\": 0,\\n \\"NeedOpenRunMode\\": true,\\n \\"VulnStatus\\": \\"protected\\",\\n \\"AttackCnt\\": 0,\\n \\"ResourceCnt\\": 0,\\n \\"MemberUid\\": \\"119384235299****\\",\\n \\"ResourceList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"InternetIp\\": \\"47.96.XX.XX\\",\\n \\"VulnStatus\\": \\"protected\\",\\n \\"ResourceId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"ResourceName\\": \\"ECS\\",\\n \\"IntranetIp\\": \\"192.168.XX.XX\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ],\\n \\"RuleTag\\": \\"AI\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeVulnerabilityProtectedList', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVulnerabilityProtectedList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVulnerabilityProtectedList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DisableSdlProtectedAsset' => [ + 'summary' => 'Disables sensitive data discovery for a protected asset.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -42122,44 +35368,42 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68148', - 'abilityTreeNodes' => [ - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '247433', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '140.210.39.***', - ], - ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', 'type' => 'string', 'required' => false, + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'title' => '', 'example' => 'zh', ], ], [ - 'name' => 'AclUuid', + 'name' => 'IpList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '498946f4-c98a-45c0-9038-635c******', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => 'The list of IP assets.', 'required' => false, 'title' => '', 'example' => '['."\n" + .' "47.99.108.XXX",'."\n" + .' "47.99.109.XXX"'."\n" + .']'], + 'maxItems' => 100, + 'description' => 'The list of IP assets.', + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -42168,246 +35412,117 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '32314C1E-82CF-582C-853A-B1773F******', - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****'], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32314C1E-82CF-582C-853A-B1773F******\\"\\n}","type":"json"}]', - ], - 'DescribeThreatIntelligenceSwitch' => [ - 'summary' => '查询威胁情报配置的信息', - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DisableSdlProtectedAsset', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24', - ], - 'CategoryList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CategoryId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3000037', - ], - 'CategoryName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CategoryDescribe' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CategoryParentId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123', - ], - 'Action' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'alert', - ], - 'EnableStatus' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '6B8E0379-2629-59A1-B811-96F3E****', - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DisableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 24,\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"3000037\\",\\n \\"CategoryName\\": \\"Tor出口恶意IP\\\\n\\",\\n \\"CategoryDescribe\\": \\"Tor出口恶意IP\\\\n\\",\\n \\"CategoryParentId\\": \\"123\\",\\n \\"Action\\": \\"alert\\",\\n \\"EnableStatus\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"6B8E0379-2629-59A1-B811-96F3E****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\"\\n}","type":"json"}]', ], - 'ModifyThreatIntelligenceSwitch' => [ - 'summary' => '修改威胁情报配置的信息', - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'EnableSdlProtectedAsset' => [ + 'summary' => 'Enables data breach protection for assets.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '240055', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'CategoryList', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'title' => '', 'example' => 'zh'], + ], + [ + 'name' => 'IpList', 'in' => 'query', 'style' => 'flat', 'schema' => [ - 'description' => '', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CategoryId' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'IpOutThreatTorExit', - ], - 'Action' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'alert', - ], - 'EnableStatus' => [ - 'description' => '', - 'type' => 'string', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - 'required' => false, - ], + 'items' => ['type' => 'string', 'description' => 'The list of IP assets.', 'required' => false, 'title' => '', 'example' => '47.99.108.XX'], + 'description' => 'The list of IP assets.', 'required' => false, - 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-0009012****', - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n"], ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', - ], - 'ModifyIpsRulesToDefault' => [ - 'summary' => '修改IPS规则为默认', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'EnableSdlProtectedAsset', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:EnableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\"\\n}","type":"json"}]', + ], + 'GetTlsInspectCertificateDownloadUrl' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -42419,85 +35534,16 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68476', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeNodes' => ['FEATUREcfwCM05W3'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '140.205.118.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'RuleType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'customize', - ], - ], - [ - 'name' => 'Rules', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "uuid_1",'."\n" - .' "uuid_2"'."\n" - .']', - ], - ], - [ - 'name' => 'AttackApp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'PHP', - ], - ], - [ - 'name' => 'FirewallType', + 'name' => 'CaCertId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewall', - 'default' => 'InternetFirewall', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The ID of the CA certificate.'."\n" + ."\n" + .'> Call the ListTlsInspectCACertificates operation to query existing CA certificates.', 'title' => '', 'example' => 'C3E91391-16CD-1BFC-A133-******D429'], ], ], 'responses' => [ @@ -42505,61 +35551,48 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B713361D-62E2-5FF0-9D29-BBFAAF40****', - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '850A84D6-0DE4-4797-A1E8-******h4j6'], + 'DownloadUrl' => ['type' => 'string', 'description' => 'The download path of the certificate.', 'title' => '', 'example' => 'https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****'], + 'CaCertId' => ['type' => 'string', 'description' => 'The ID of the CA certificate.', 'title' => '', 'example' => '1f07c104-99ed-6b9a-b0bb-2938c9b8****'], ], + 'title' => '', + 'description' => 'The response parameters.', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], + ['errorCode' => 'ErrorCasInnerApiFailed', 'errorMessage' => 'API call failed, please try again later.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetTlsInspectCertificateDownloadUrl', + 'summary' => 'Retrieves the download path for the certificate of a Transport Layer Security (TLS) inspection policy.', + 'description' => 'This operation returns a temporary download link for the Certificate Authority (CA) certificate. The link is valid for one minute. After the link expires, call this operation again to obtain a new download link.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:GetTlsInspectCertificateDownloadUrl', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B713361D-62E2-5FF0-9D29-BBFAAF40****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-******h4j6\\",\\n \\"DownloadUrl\\": \\"https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****\\",\\n \\"CaCertId\\": \\"1f07c104-99ed-6b9a-b0bb-2938c9b8****\\"\\n}","type":"json"}]', ], - 'DescribeSignatureLibVersion' => [ - 'summary' => 'Queries the information about signature library versions.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTlsInspectCACertificates' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -42568,582 +35601,552 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '185095', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeNodes' => ['FEATUREcfwCM05W3'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'CaCertId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => 'The ID of the CA certificate.', 'required' => false, 'title' => '', 'example' => 'C3E91391-16CD-1BFC-A133-******D429'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The page number for a paged query. The default value is 1.', 'required' => false, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The maximum number of entries to return on each page for a paged query. The default value is 20.', 'required' => false, 'title' => '', 'example' => '10'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79B8C946', - ], - 'Version' => [ - 'description' => 'The version information.'."\n", + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-******837D'], + 'Certificates' => [ 'type' => 'array', 'items' => [ - 'description' => 'The version number.'."\n", 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '类型', - 'description' => 'The type.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* ips'."\n" - ."\n" - .' '."\n" - ."\n" - .' :'."\n" - ."\n" - .' '."\n" - ."\n" - .' Basic Rules and Virtual Patching'."\n" - ."\n" - .' '."\n" - ."\n" - .' .'."\n" - ."\n" - .'* intelligence'."\n" - ."\n" - .' '."\n" - ."\n" - .' :'."\n" - ."\n" - .' '."\n" - ."\n" - .' Threat Intelligence'."\n" - ."\n" - .' '."\n", - 'type' => 'string', - 'enumValueTitles' => [ - 'ips' => '', - 'intelligence' => '', - ], - 'example' => 'ips', - ], - 'Version' => [ - 'title' => '版本', - 'description' => 'The version number.'."\n", - 'type' => 'string', - 'example' => 'IPS-2307-02', - ], - 'UpdateTime' => [ - 'description' => 'Update time.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1741067915', - ], + 'CaCertId' => ['type' => 'string', 'description' => 'The ID of the CA certificate.', 'title' => '', 'example' => '2732BB48-2969-5716-B5D9-******CA85'], + 'ExpirationTime' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The expiration timestamp.', 'title' => '', 'example' => '1934***149'], + 'CaCertType' => ['type' => 'string', 'description' => 'The type of the CA certificate. Valid values:'."\n" + ."\n" + .'- **ROOT**: a root CA certificate.'."\n" + ."\n" + .'- **SUB\\_ROOT**: a subordinate CA certificate.', 'title' => '', 'example' => 'ROOT'], + 'AliasName' => ['type' => 'string', 'description' => 'The alias of the certificate.', 'title' => '', 'example' => 'rsa_ml_***_root'], + 'Algorithm' => ['type' => 'string', 'description' => 'The encryption algorithm of the CA certificate. Valid values:'."\n" + ."\n" + .'- **RSA**: the RSA algorithm.'."\n" + ."\n" + .'- **ECC**: the ECC algorithm.'."\n" + ."\n" + .'- **SM2**: the SM2 algorithm.', 'title' => '', 'example' => 'RSA'], + 'Status' => ['type' => 'string', 'description' => 'The status of the certificate. Valid values:'."\n" + ."\n" + .'- **ISSUE**: enabled.'."\n" + ."\n" + .'- **REVOKE**: revoked.', 'title' => '', 'example' => 'ISSUE'], + 'KeySize' => ['type' => 'integer', 'format' => 'int32', 'description' => 'The key length of the CA certificate.', 'title' => '', 'example' => '2048'], + 'SignAlgorithm' => ['type' => 'string', 'description' => 'The signature algorithm of the CA certificate.', 'title' => '', 'example' => 'SHA256WITHRSA'], + 'ParentCaCertId' => ['type' => 'string', 'description' => 'The ID of the parent CA certificate.', 'title' => '', 'example' => '340BB48-2969-5716-B5D9-****ACA85'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'description' => 'The list of certificates.', + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int64', 'description' => 'The total number of entries.', 'title' => '', 'example' => '1'], ], - 'description' => '', + 'title' => '', + 'description' => 'The response.', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], + ['errorCode' => 'ErrCasOpenApiFailed', 'errorMessage' => 'Error querying certificate, please try again later.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ListTlsInspectCACertificates', + 'summary' => 'This operation lists the Transport Layer Security (TLS) inspection certificate authority (CA) certificates.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ListTlsInspectCACertificates', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79B8C946\\",\\n \\"Version\\": [\\n {\\n \\"Type\\": \\"ips\\",\\n \\"Version\\": \\"IPS-2307-02\\",\\n \\"UpdateTime\\": 1741067915\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeSignatureLibVersion', - 'translator' => 'machine', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-******837D\\",\\n \\"Certificates\\": [\\n {\\n \\"CaCertId\\": \\"2732BB48-2969-5716-B5D9-******CA85\\",\\n \\"ExpirationTime\\": 0,\\n \\"CaCertType\\": \\"ROOT\\",\\n \\"AliasName\\": \\"rsa_ml_***_root\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"KeySize\\": 2048,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"ParentCaCertId\\": \\"340BB48-2969-5716-B5D9-****ACA85\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]', ], - 'DescribeDefaultIPSConfig' => [ - 'summary' => 'Queries the default intrusion prevention system (IPS) configurations.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyAddressBook' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68241', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68460', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", + 'description' => 'The language type. Valid values:'."\n" + .'- **en**: English.'."\n" + .'- **zh**: Chinese (default).', + 'enumValueTitles' => ['en' => 'English.', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], - 'RuleClass' => [ - 'description' => 'The level of the rule group for the IPS. Valid values:'."\n" - ."\n" - .'* **1**: loose'."\n" - .'* **2**: medium'."\n" - .'* **3**: strict'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'CtiRules' => [ - 'description' => 'Indicates whether threat intelligence is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'PatchRules' => [ - 'description' => 'Indicates whether virtual patching is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RunMode' => [ - 'description' => 'The mode of the IPS. Valid values:'."\n" - ."\n" - .'* **1**: block mode'."\n" - .'* **0**: monitor mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'BasicRules' => [ - 'description' => 'Indicates whether basic protection is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxSdl' => [ - 'description' => 'The maximum amount of traffic that can be processed by the sensitive data leak detection feature each day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - 'description' => '', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"RuleClass\\": 3,\\n \\"CtiRules\\": 0,\\n \\"PatchRules\\": 0,\\n \\"RunMode\\": 0,\\n \\"BasicRules\\": 0,\\n \\"MaxSdl\\": 10\\n}","type":"json"}]', - 'title' => 'DescribeDefaultIPSConfig', - ], - 'DescribeUserIPSWhitelist' => [ - 'summary' => '获取用户IPS白名单', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'AddressList', + 'in' => 'query', + 'schema' => ['description' => 'The addresses in the address book. Separate multiple addresses with commas (,). Use a space to separate an address from its description. This parameter is required when GroupType is set to **ip**, **port**, or **domain**.'."\n" + ."\n" + .'- When GroupType is set to **ip**, specify IP addresses. Example: 1.2.XX.XX/32 Development CIDR block,10.0.0.X/24,1.2.XX.XX/24 Test CIDR block.'."\n" + ."\n" + .'- When GroupType is set to **port**, specify ports or port ranges. Example: 80/80 HTTP port,100/200,3306 Database port.'."\n" + ."\n" + .'- When GroupType is set to **domain**, specify domain names. Example: demo1.aliyun.com Test domain name,demo2.aliyun.com,www.aliyun.com Alibaba Cloud official website.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/32 ,192.0.XX.XX/24', 'title' => ''], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68405', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the address book.', 'type' => 'string', 'required' => true, 'maxLength' => 256, 'minLength' => 2, 'example' => 'bj-001', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => 'The name of the address book.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 2, 'example' => 'bj-001', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'GroupUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The unique ID of the address book.'."\n" + ."\n" + .'> You can obtain the value by calling the [DescribeAddressBook](~~DescribeAddressBook~~) operation.', 'type' => 'string', 'required' => true, 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'AutoAddTagEcs', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'Specifies whether the public IP addresses of Elastic Compute Service (ECS) instances that match new labels is automatically added to the address book.', + 'enumValueTitles' => ['Do not automatically add.', 'Automatically add.'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '04F788A5-6A47-5EA9-AC30-CA4DB98AD520', - ], - 'Whitelists' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '', - '', - ], - 'example' => '1', - ], - 'WhiteType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '', - '', - ], - 'example' => '1', - ], - 'ListValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.10.200.4/32,10.10.200.25/32', - ], - 'ListType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - '', - '', - '', - ], - 'example' => '1', - ], - 'WhiteListValue' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.10.200.4/32', - ], - ], - ], - ], - ], - 'Ipv6Whitelists' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '', - '', - ], - 'example' => '1', - ], - 'WhiteType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '', - '', - ], - 'example' => '2', - ], - 'ListValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128', - ], - 'ListType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - '', - '', - '', - ], - 'example' => '0', - ], - 'WhiteListValue' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128'."\n", - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', + 'example' => '1', + 'title' => '', ], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F788A5-6A47-5EA9-AC30-CA4DB98AD520\\",\\n \\"Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ],\\n \\"Ipv6Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 2,\\n \\"ListValue\\": \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\",\\n \\"ListType\\": 0,\\n \\"WhiteListValue\\": [\\n \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'ModifyIpsRules' => [ - 'summary' => '修改IPS规则', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68475', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], - ], - 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'TagRelation', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The logical relationship among multiple ECS tags. Valid values:'."\n" + .'- **or**: The public IP address of an ECS instance is added to the address book if the instance matches any of the specified tags.'."\n" + .'- **and**: The public IP address of an ECS instance is added to the address book only if the instance matches all of the specified tags.', + 'enumValueTitles' => ['or' => 'The relationship among multiple labels is OR. The public IP addresses of Elastic Compute Service (ECS) instances that match any of the specified labels are added to the address book.', 'and' => 'The relationship among multiple labels is AND. The public IP addresses of Elastic Compute Service (ECS) instances that match all of the specified labels are added to the address book.'], 'type' => 'string', 'required' => false, - 'example' => '218.1.147.XXX', + 'example' => 'and', + 'title' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'TagList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'description' => 'The ECS tag list.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ECS tag.', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'The value of the ECS tag.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + 'TagKey' => ['description' => 'The key of the ECS tag.', 'type' => 'string', 'required' => false, 'example' => 'TXY', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'example' => 'zh', + 'required' => false, + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Lang', + 'name' => 'ModifyMode', 'in' => 'query', + 'allowEmptyValue' => false, 'schema' => [ - 'description' => '', + 'description' => 'The modification mode.'."\n" + ."\n" + .'> When GroupType is set to **ip**, **ipv6**, **port**, or **domain**, the default value is **Cover** if this parameter is not specified.'."\n" + .'>When GroupType is set to **tag**, this parameter must be left empty.', + 'enumValueTitles' => ['Delete' => 'Deletes the addresses specified by the AddressList parameter from the address book.', 'Cover' => 'Overwrites the address book with the addresses specified by the AddressList parameter.', 'Append' => 'Appends the addresses specified by the AddressList parameter to the address book.'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + 'enum' => ['Cover', 'Append', 'Delete'], + 'example' => 'Cover', + 'title' => '', ], ], [ - 'name' => 'RuleType', + 'name' => 'AckNamespaces', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'patchRule' => 'patchRule', - 'basicRule' => 'basicRule', - ], - 'example' => 'basicRule', + 'title' => '', + 'description' => 'The list of namespaces for ACK cluster pods.'."\n" + .'> A maximum of 10 namespaces are supported.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The namespace for ACK cluster pods. You can obtain the value by calling the following operation:'."\n" + .'- [DescribeAckClusterNamespaces](~~DescribeAckClusterNamespaces~~): queries ACK cluster namespaces.'."\n" + ."\n" + .'> This parameter is required when **GroupType** is set to **ackNamespace**.', 'type' => 'string', 'example' => 'default', 'required' => false], + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'RuleAction', + 'name' => 'AckLabels', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'drop' => 'drop', - 'alert' => 'alert', - 'close' => 'close', + 'title' => '', + 'description' => 'The list of labels for ACK cluster pods.'."\n" + ."\n" + .'> A maximum of 10 labels are supported.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The label for ACK cluster pods. You can obtain the value by calling the following operation:'."\n" + .'- [DescribeAckClusterPodLabels](~~DescribeAckClusterPodLabels~~): queries ACK cluster pod labels.'."\n" + ."\n" + .'> This parameter is required when **GroupType** is set to **ackLabel**.', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '', 'description' => 'The key of the ACK cluster pod label.', 'type' => 'string', 'example' => 'app', 'required' => false], + 'Value' => ['title' => '', 'description' => 'The value of the ACK cluster pod label.', 'type' => 'string', 'example' => 'storage-operator', 'required' => false], + ], + 'required' => false, + 'example' => '', ], - 'example' => 'alert', + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'Rules', + 'name' => 'AssetMemberUids', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '[\\"4664138c-4f81-4650-9c8d-2230ea0d****\\"]', + 'title' => '', + 'description' => 'The list of member accounts for the asset address book.', + 'type' => 'array', + 'items' => ['title' => '', 'description' => 'The list of member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '13580xxxxxx6271'], + 'required' => false, + 'example' => '', ], ], [ - 'name' => 'FirewallType', + 'name' => 'AssetRegionResourceTypes', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'VpcFirewall' => '', - 'InternetFirewall' => '', + 'title' => '', + 'description' => 'The list of regions and resource types for the asset address book.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The list of regions and resource types.', + 'type' => 'object', + 'properties' => [ + 'AssetRegionId' => [ + 'title' => '', + 'description' => 'The region ID of the asset.', + 'enumValueTitles' => ['all' => 'all regions.'], + 'type' => 'string', + 'required' => false, + 'example' => 'all', + ], + 'ResourceType' => [ + 'title' => '', + 'description' => 'The asset type.', + 'type' => 'object', + 'properties' => [ + 'Ipv4' => [ + 'title' => '', + 'description' => 'The IPv4 asset type.', + 'type' => 'object', + 'properties' => [ + 'SlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: SlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'NatPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: NatPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'BastionHostIngressIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostIngressIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EniEIP' => [ + 'title' => '', + 'description' => 'The asset type: EniEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'NlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: NlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'ApiGatewayEIP' => [ + 'title' => '', + 'description' => 'The asset type: ApigEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EcsPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: EcsPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'BastionHostIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'BastionHostEgressIP' => [ + 'title' => '', + 'description' => 'The asset type: BastionHostEgressIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AlbEIP' => [ + 'title' => '', + 'description' => 'The asset type: AlbEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'GaEIP' => [ + 'title' => '', + 'description' => 'The asset type: GaEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AiGatewayEIP' => [ + 'title' => '', + 'description' => 'The asset type: AIGatewayEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EIP' => [ + 'title' => '', + 'description' => 'The asset type: EIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'NatEIP' => [ + 'title' => '', + 'description' => 'The asset type: NatEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'SlbPublicIP' => [ + 'title' => '', + 'description' => 'The asset type: SlbPublicIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EcsEIP' => [ + 'title' => '', + 'description' => 'The asset type: EcsEIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'HAVIP' => [ + 'title' => '', + 'description' => 'The asset type: HAVIP.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + 'example' => '', + ], + 'Ipv6' => [ + 'title' => '', + 'description' => 'The IPv6 asset type.', + 'type' => 'object', + 'properties' => [ + 'SlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: SlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'NlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: NlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EniEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: EniEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AlbIPv6' => [ + 'title' => '', + 'description' => 'The asset type: AlbIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'GaEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: GaEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'AiGatewayEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: AIGatewayEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'EcsIPv6' => [ + 'title' => '', + 'description' => 'The asset type: EcsIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'ApiGatewayEIPv6' => [ + 'title' => '', + 'description' => 'The asset type: ApigEIPv6.', + 'enumValueTitles' => ['true' => 'Enabled.', 'false' => 'Disabled.'], + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', ], - 'example' => 'VpcFirewall', - 'default' => 'InternetFirewall', + 'required' => false, + 'example' => '', ], ], ], @@ -43152,173 +36155,145 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '30FB7F84-1FC5-5A3D-BBBE-5779FC74****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorParametersGroupAddress', 'errorMessage' => 'The IP address of the address group is invalid.', 'description' => 'The IP address of the address group is invalid.'], + ['errorCode' => 'ErrorParamDomain', 'errorMessage' => 'The parameter Domain is invalid.', 'description' => 'The parameter Domain is invalid.'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorParametersGroupPort', 'errorMessage' => 'The group port is invalid.', 'description' => 'The group port is invalid.'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorAddressGroupExist', 'errorMessage' => 'The address group already exists.', 'description' => 'The address group already exists.'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['errorCode' => 'ErrorParametersAddressGroupAddressNotFound', 'errorMessage' => 'The address to be deleted does not exist in the address book.', 'description' => 'The address to be deleted does not exist in the address book.'], + ['errorCode' => 'InvalidParameter.AddressBook.AddressDuplicate', 'errorMessage' => 'The address book address %s is already exist.', 'description' => 'The address book address %s is already exist.'], + ['errorCode' => 'ErrorAckClusterConnectorBusy', 'errorMessage' => 'The ACK cluster connector is operating.', 'description' => 'The ACK cluster connector is operating.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParametersMemberUidMismatch', 'errorMessage' => 'The memberUid mismatch the aliUid.', 'description' => 'The memberUid mismatch the aliUid.'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => 'An authentication error occurred.'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => 'The specified resource ACK cluster connector is not found.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"30FB7F84-1FC5-5A3D-BBBE-5779FC74****\\"\\n}","type":"json"}]', - ], - 'ModifyDefaultIPSConfig' => [ - 'summary' => 'Modifies the default configuration of the intrusion prevention system (IPS).', - 'methods' => [ - 'post', - 'get', + 'title' => 'Modify an address book', + 'summary' => 'Modifies an address book.', + 'description' => 'This operation is used to modify an address book.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.', + 'requestParamsDescription' => 'When calling this operation, in addition to the request parameters described in this topic, you must also include Alibaba Cloud API common request parameters. For more information about common request parameters, see [Common parameters](~~94763~~). '."\n" + .'For the request format, see the request examples in the **Examples** section of this topic.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAddressBook'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + ], + 'ModifyCfwInstance' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68470', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68399', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'CtiRules', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable threat intelligence. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'required' => true, - 'example' => '0', - 'format' => 'int32', - ], - ], - [ - 'name' => 'BasicRules', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable basic protection. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'required' => true, - 'example' => '1', - 'format' => 'int32', - ], - ], - [ - 'name' => 'PatchRules', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable virtual patching. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'required' => false, - 'example' => '1', - 'format' => 'int32', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'docRequired' => true, 'required' => true, 'example' => 'cfw_elasticity_public_cn-zsk39m******', 'title' => ''], ], [ - 'name' => 'RunMode', + 'name' => 'UpdateList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The mode of the IPS. Valid values:'."\n" - ."\n" - .'* **1**: block mode'."\n" - .'* **0**: monitor mode'."\n", - 'type' => 'integer', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The code of the instance property to update.'."\n" + .'The following codes are supported:'."\n" + ."\n" + .'- \\`Code\\`: \\`MajorVersion\\`. Set \\`Value\\` to \\`2\\`. This is available only for pay-as-you-go 1.0 users to upgrade their instances to pay-as-you-go 2.0.'."\n" + ."\n" + .' >'."\n" + ."\n" + .' Make sure you understand the billing methods and pricing of pay-as-you-go 2.0.'."\n" + ."\n" + .' >'."\n" + ."\n" + .' >'."\n" + ."\n" + .' Note that if log delivery is enabled before the upgrade, it will remain enabled after the upgrade, and logs will be delivered to a new Logstore.'."\n" + ."\n" + .' >'."\n" + ."\n" + .'- \\`Code\\`: \\`ThreatIntelligence\\`. This is available only for pay-as-you-go 2.0 users to enable or disable the threat intelligence feature. Set \\`Value\\` to \\`1\\` to enable the feature or \\`0\\` to disable it.'."\n" + ."\n" + .'- \\`Code\\`: \\`Sdl\\`. This is available only for pay-as-you-go 2.0 users to enable or disable the sensitive data leak detection feature. Set \\`Value\\` to \\`1\\` to enable the feature or \\`0\\` to disable it.', 'type' => 'string', 'required' => false, 'example' => 'Sdl', 'title' => ''], + 'Value' => ['description' => 'The value for the specified \\`Code\\`. For valid values, see the description of the \\`Code\\` parameter.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + 'description' => 'A list of instance properties to update.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'docRequired' => true, + 'maxItems' => 100, + 'description' => 'A list of instance properties to update.', 'required' => true, - 'example' => '0', - 'format' => 'int32', - ], - ], - [ - 'name' => 'RuleClass', - 'in' => 'query', - 'schema' => [ - 'description' => 'The level of the rule group for the IPS. Valid values:'."\n" - ."\n" - .'* **1**: loose'."\n" - .'* **2**: medium'."\n" - .'* **3**: strict'."\n", - 'type' => 'integer', - 'required' => false, - 'example' => '1', - 'format' => 'int32', - ], - ], - [ - 'name' => 'MaxSdl', - 'in' => 'query', - 'schema' => [ - 'description' => 'The maximum amount of traffic that can be processed by the sensitive data leak detection feature each day.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', + 'title' => '', + 'example' => '', ], ], ], @@ -43327,323 +36302,464 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '65885B52-00EC-5728-96******', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"65885B52-00EC-5728-96******\\"\\n}","type":"json"}]', - 'title' => 'ModifyDefaultIPSConfig', - ], - 'ModifyUserIPSWhitelist' => [ - 'summary' => '修改用户IPS白名单', - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyCfwInstance', + 'summary' => 'Updates instance information for pay-as-you-go 2.0 users.', + 'description' => 'Before calling this operation, ensure that you understand the billing methods and [pricing](https://help.aliyun.com/zh/cloud-firewall/cloudfirewall/product-overview/pay-as-you-go) for the pay-as-you-go edition of Cloud Firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyCfwInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'ModifyControlPolicy' => [ + 'summary' => 'Modifies the configurations of an access control policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'riskType' => 'none', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeCode' => '68490', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '68467', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The action that Cloud Firewall performs on the traffic. Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + ."\n" + .'- **drop**: denies the traffic.'."\n" + ."\n" + .'- **log**: monitors the traffic.', 'type' => 'string', 'required' => false, 'example' => 'accept', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'ApplicationName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The application type supported by the access control policy. The following application types are supported:'."\n" + ."\n" + .'- **ANY**'."\n" + ."\n" + .'- **HTTP**'."\n" + ."\n" + .'- **HTTPS**'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **SMTP**'."\n" + ."\n" + .'- **SMTPS**'."\n" + ."\n" + .'- **RDP**'."\n" + ."\n" + .'- **VNC**'."\n" + ."\n" + .'- **SSH**'."\n" + ."\n" + .'- **Redis**'."\n" + ."\n" + .'- **MQTT**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Memcache**'."\n" + ."\n" + .'- **SSL**'."\n" + ."\n" + .'> **ANY** indicates that the policy applies to all application types.'."\n" + ."\n" + .'> Specify either ApplicationNameList or ApplicationName. You cannot leave both empty. If you specify both, ApplicationNameList takes precedence.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'HTTP', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port in the access control policy.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address in the access control policy.'."\n" + ."\n" + .'- If **DestinationType** is set to net, set **Destination** to a destination CIDR block. Example: 1.2.XX.XX/24'."\n" + ."\n" + .'- If **DestinationType** is set to group, set **Destination** to the name of a destination address book. Example: db\\_group'."\n" + ."\n" + .'- If **DestinationType** is set to domain, set **Destination** to a destination domain name. Example: \\*.aliyuncs.com'."\n" + ."\n" + .'- If **DestinationType** is set to location, set **Destination** to a destination location code. Example: \\["BJ11", "ZB"]', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24', 'title' => ''], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name'."\n" + ."\n" + .'- **location**: destination region', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], ], [ 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - ], - 'example' => '1', - ], + 'schema' => ['description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'required' => false, 'example' => 'in', 'title' => ''], ], [ - 'name' => 'WhiteType', + 'name' => 'Proto', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - ], - 'example' => '2', - ], + 'schema' => ['description' => 'The protocol type of the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **ANY**'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**'."\n" + ."\n" + .'> **ANY** indicates that the policy applies to all protocol types.'."\n" + ."\n" + .'> If the traffic direction is outbound and the destination is a domain name that belongs to a threat intelligence address book or a cloud service address book, you can set this parameter to TCP or ANY. If you set this parameter to TCP, you can set the application to HTTP, HTTPS, SMTP, SMTPS, or SSL. If you set this parameter to ANY, you must set the application to ANY.', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''], ], [ - 'name' => 'ListType', + 'name' => 'Source', 'in' => 'query', + 'schema' => ['description' => 'The source address in the access control policy.'."\n" + ."\n" + .'- If **SourceType** is set to net, set **Source** to a source CIDR block. Example: 1.2.XX.XX/24'."\n" + ."\n" + .'- If **SourceType** is set to group, set **Source** to the name of a source address book. Example: db\\_group'."\n" + ."\n" + .'- If **SourceType** is set to location, set **Source** to a source location code. Example: \\["BJ11", "ZB"]', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24', 'title' => ''], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the access control policy.'."\n" + ."\n" + .'> To modify an access control policy, provide the unique ID of the policy. Call the [DescribeControlPolicy](~~138866~~) operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: source CIDR block'."\n" + ."\n" + .'- **group**: source address book'."\n" + ."\n" + .'- **location**: source region', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination port in the access control policy. Valid values:'."\n" + ."\n" + .'- **port**: port'."\n" + ."\n" + .'- **group**: port address book', 'type' => 'string', 'required' => false, 'example' => 'port', 'title' => ''], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => 'The name of the destination port address book in the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'my_port_group', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'The status of the access control policy. Valid values:'."\n" + ."\n" + .'- true: The policy is enabled.'."\n" + ."\n" + .'- false: The policy is disabled.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'ApplicationNameList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'The list of application names.'."\n" + ."\n" + .'> Specify either ApplicationNameList or ApplicationName. You cannot leave both empty. If you specify both, ApplicationNameList takes precedence.', + 'type' => 'array', + 'items' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'example' => 'HTTP', 'title' => ''], 'required' => false, - 'enumValueTitles' => [ - '', - '', - '', - ], - 'example' => '2', + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ListValue', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The recurrence type for the policy validity period. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): The policy is always valid.'."\n" + ."\n" + .'- **None**: The policy is valid only once.'."\n" + ."\n" + .'- **Daily**: The policy is valid daily.'."\n" + ."\n" + .'- **Weekly**: The policy is valid weekly.'."\n" + ."\n" + .'- **Monthly**: The policy is valid monthly.', + 'enumValueTitles' => ['Daily' => 'Daily', 'Monthly' => 'Monthly', 'Permanent' => 'Always', 'Weekly' => 'Weekly', 'None' => 'One-time'], 'type' => 'string', 'required' => false, - 'example' => '115.236.36.114/32', + 'example' => 'Permanent', + 'title' => '', ], ], [ - 'name' => 'IpVersion', + 'name' => 'RepeatDays', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The days of the week or month on which the policy is recurrent.'."\n" + ."\n" + .'- If RepeatType is set to `Permanent`, `None`, or `Daily`, leave this parameter empty.'."\n" + .' Example: \\[]'."\n" + ."\n" + .'- If RepeatType is set to Weekly, you must specify this parameter.'."\n" + .' Example: \\[0, 6]'."\n" + ."\n" + .'> If RepeatType is set to Weekly, the values in the array cannot be repeated.'."\n" + ."\n" + .'- If RepeatType is set to `Monthly`, you must specify this parameter.'."\n" + .' Example: \\[1, 31]'."\n" + ."\n" + .'> If RepeatType is set to Monthly, the values in the array cannot be repeated.', + 'type' => 'array', + 'items' => ['description' => 'The day of the week or month on which the policy is recurrent.'."\n" + ."\n" + .'> If RepeatType is set to Weekly, the valid values are 0 to 6. The week starts on Sunday.'."\n" + .'> If RepeatType is set to Monthly, the valid values are 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, - 'enumValueTitles' => [ - 'ipv4' => 'IPv4', - 'ipv6' => 'IPv6', - ], - 'example' => 'ipv4', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the recurrence. The time is in the HH:mm format and in 24-hour format. Example: 08:00.'."\n" + ."\n" + .'> If RepeatType is set to Permanent or None, leave this parameter empty. If RepeatType is set to Daily, Weekly, or Monthly, you must specify this parameter.', 'type' => 'string', 'required' => false, 'example' => '08:00', 'title' => ''], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the recurrence. The time is in the HH:mm format and in 24-hour format. Example: 23:00.'."\n" + ."\n" + .'> If RepeatType is set to Permanent or None, leave this parameter empty. If RepeatType is set to Daily, Weekly, or Monthly, you must specify this parameter.', 'type' => 'string', 'required' => false, 'example' => '23:30', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the policy validity period. The value is a UNIX timestamp. The time must be on the hour or half hour, and at least 30 minutes earlier than the end time.'."\n" + ."\n" + .'> If RepeatType is set to Permanent, leave this parameter empty. If RepeatType is set to None, Daily, Weekly, or Monthly, you must specify this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the policy validity period. The value is a UNIX timestamp. The time must be on the hour or half hour, and at least 30 minutes later than the start time.'."\n" + ."\n" + .'> If RepeatType is set to Permanent, leave this parameter empty. If RepeatType is set to None, Daily, Weekly, or Monthly, you must specify this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800', 'title' => ''], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => 'The domain name resolution method for the access control policy. Valid values:'."\n" + ."\n" + .'- **FQDN**: FQDN-based resolution'."\n" + ."\n" + .'- **DNS**: DNS-based dynamic resolution'."\n" + ."\n" + .'- **FQDN\\_AND\\_DNS**: FQDN-based and DNS-based dynamic resolution', 'type' => 'string', 'required' => false, 'example' => 'FQDN', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '36E89955-1E5D-5810-970C-74646F378085', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'Internal error: sql delete.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersWhitelistIP', - 'errorMessage' => 'Invalid whitelistIp.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => 'FTP application is not supported when the policy destination is a domain name'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'ACL rule is not allowed to update status when effective is not permanent.'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => 'Exceeds the number of selected areas for one ACL. It is recommended to split it into multiple ACLs.'], + ['errorCode' => 'ErrorEmptyDomainResolveType', 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', 'description' => 'Empty domain name resolution mode is not supported.'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => 'Specified parameter ApplicationName is not valid.'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => 'Specified parameter ApplicationNameList is not valid.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], + ['errorCode' => 'ErrorParametersProtoAppsMismatch', 'errorMessage' => 'The protocol and applicationName mismatch.', 'description' => 'The protocol and applicationName mismatch.'], + ['errorCode' => 'ErrorApplicationTemplateNotFound', 'errorMessage' => 'Application template not found.', 'description' => 'Application template does not exist'], + ['errorCode' => 'ErrorWebFilterTemplateNotFound', 'errorMessage' => 'Web filter template not found.', 'description' => 'Web filtering template does not exist'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + 'title' => 'ModifyControlPolicy', + 'description' => 'This operation modifies the configurations of an access control policy that allows, denies, or monitors traffic passing through Cloud Firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'Each user can call this operation up to 10 times per second. If the limit is exceeded, API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicy'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"36E89955-1E5D-5810-970C-74646F378085\\"\\n}","type":"json"}]', ], - 'DescribeIpsPrivateAssoc' => [ - 'summary' => '查询IPS私网关联信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifyControlPolicyPosition' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240655', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68468', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-c5vhmjdfp5t****', - ], - ], - [ - 'name' => 'CurrentPage', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- zh (default): Chinese.'."\n" + ."\n" + .'- en: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'PublicIp', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.1', - ], + 'schema' => ['description' => 'The traffic direction of the IPv4 access control policy for the Internet firewall. Valid values:'."\n" + ."\n" + .'- in: inbound traffic.'."\n" + ."\n" + .'- out: outbound traffic.', 'type' => 'string', 'required' => true, 'example' => 'in', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'NewOrder', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'close', - ], + 'schema' => ['description' => 'The new priority for the IPv4 access control policy of the Internet firewall. The priority is a number. A smaller number indicates a higher priority. The value 1 indicates the highest priority.'."\n" + ."\n" + .'> The new priority value cannot be outside the range of existing priorities for IPv4 policies. Otherwise, the API call fails. Before you call this operation, call [DescribePolicyPriorUsed](~~138862~~) to query the priority range of IPv4 policies for a specific traffic direction.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'OldOrder', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The current priority of the IPv4 access control policy that you want to modify.', 'type' => 'string', 'required' => true, 'example' => '5', 'title' => ''], ], ], 'responses' => [ @@ -43651,224 +36767,240 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IpsPrivateAssoc' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AssocInfoStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'close', - ], - 'ErrorMsg' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole', - ], - 'ProtectedIpList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123.56.18.XX', - ], - ], - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cba48ec510bb640559c6f5161cde58014', - ], - 'ResourceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'job-0000000061279FB000001BBB31F9D673', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'closed', - ], - 'UnprotectedIpList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '60.205.197.X', - ], - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-wz92dxepli2pgnut796tf', - ], - 'VpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-uf62vdtifj7kffpxrydqd', - ], - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1507956024994407', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'TotalOpenCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ['errorCode' => 'ErrorParametersOldOrder', 'errorMessage' => 'The oldOrder is invalid.', 'description' => 'The oldOrder is invalid.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ], + ], 'staticInfo' => [ + 'substitutions' => ['Cloudfw::2017-12-07::ModifyControlPolicyPriority'], 'returnType' => 'synchronous', ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsPrivateAssoc\\": [\\n {\\n \\"AssocInfoStatus\\": \\"close\\",\\n \\"ErrorMsg\\": \\"aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole\\",\\n \\"ProtectedIpList\\": [\\n \\"123.56.18.XX\\"\\n ],\\n \\"ResourceId\\": \\"cba48ec510bb640559c6f5161cde58014\\",\\n \\"ResourceName\\": \\"job-0000000061279FB000001BBB31F9D673\\",\\n \\"Status\\": \\"closed\\",\\n \\"UnprotectedIpList\\": [\\n \\"60.205.197.X\\"\\n ],\\n \\"VpcId\\": \\"vpc-wz92dxepli2pgnut796tf\\",\\n \\"VpcName\\": \\"vpc-uf62vdtifj7kffpxrydqd\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"MemberUid\\": 1507956024994407\\n }\\n ],\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"TotalCount\\": 6,\\n \\"TotalOpenCount\\": 0\\n}","type":"json"}]', - ], - 'CreateIpsPrivateAssoc' => [ - 'summary' => '创建IPS私网关联信息', - 'methods' => [ - 'get', - 'post', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyControlPolicyPosition', + 'summary' => 'Modifies the priority of an IPv4 access control policy for the Internet firewall. For this type of policy, the source and destination IP addresses are in IPv4 format.', + 'description' => 'You can call this operation to modify the priority of an IPv4 access control policy for the Internet firewall. This operation does not support modifying the priority of IPv6 access control policies.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 for each user. If you exceed the limit, API calls are throttled, which can affect your business. We recommend that you call this operation within this limit.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicyPosition'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","type":"json"}]', + ], + 'ModifyControlPolicyPriority' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240771', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68469', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3770d603-3534-4878-b845-f00095ee****'], ], [ - 'name' => 'ResourceId', + 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-c5vhmjdfp5t****', - ], + 'schema' => ['description' => 'The priority of the access control policy.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '586F34E8-3F16-4C08-9FFC-8FFDC64B****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ['errorCode' => 'ErrorParametersOldOrder', 'errorMessage' => 'The oldOrder is invalid.', 'description' => 'The oldOrder is invalid.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred. Try again later.', 'description' => 'An error occurred. Try again later.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', - ], - 'DeleteIpsPrivateAssoc' => [ - 'summary' => '创建IPS私网关联信息', - 'methods' => [ - 'get', - 'post', + 'title' => 'ModifyControlPolicyPriority', + 'summary' => 'Modifies the priority of an access control policy.', + 'description' => 'You can call this operation to modify the priority of an access control policy. An access control policy determines whether to allow, deny, or monitor traffic that passes through Cloud Firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second per user. Exceeding this limit triggers throttling, which may affect your business. We recommend that you plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPriority', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"586F34E8-3F16-4C08-9FFC-8FFDC64B****\\"\\n}","type":"json"}]', + ], + 'ModifyDefaultIPSConfig' => [ + 'summary' => 'Modifies the default intrusion prevention system (IPS) configuration.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240774', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68470', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'CtiRules', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-c5vhmjdfp5t****', - ], + 'schema' => ['description' => 'The switch for threat intelligence. Valid values:'."\n" + ."\n" + .'- **1**: Enable.'."\n" + ."\n" + .'- **0**: Disable.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'BasicRules', + 'in' => 'query', + 'schema' => ['description' => 'The switch for basic policies. Valid values:'."\n" + ."\n" + .'- **1**: Enable.'."\n" + ."\n" + .'- **0**: Disable.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PatchRules', + 'in' => 'query', + 'schema' => ['description' => 'The switch for virtual patching. Valid values:'."\n" + ."\n" + .'- **1**: Enable.'."\n" + ."\n" + .'- **0**: Disable.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'RunMode', + 'in' => 'query', + 'schema' => ['description' => 'The mode of the IPS. Valid values:'."\n" + ."\n" + .'- **1**: Block Mode.'."\n" + ."\n" + .'- **0**: Monitor Mode.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'RuleClass', + 'in' => 'query', + 'schema' => ['description' => 'The IPS rule group. Valid values:'."\n" + ."\n" + .'- **1**: Loose rule group.'."\n" + ."\n" + .'- **2**: Medium rule group.'."\n" + ."\n" + .'- **3**: Strict rule group.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'MaxSdl', + 'in' => 'query', + 'schema' => ['description' => 'The daily traffic limit for sensitive data detection.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100', 'title' => ''], ], ], 'responses' => [ @@ -43876,277 +37008,264 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5*****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '65885B52-00EC-5728-96******', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5*****\\"\\n}","type":"json"}]', - ], - 'DescribeVfwIPSConfigList' => [ - 'summary' => 'VPC防火墙IP配置列表', - 'methods' => [ - 'get', + 'title' => 'ModifyDefaultIPSConfig', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefaultIPSConfig'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"65885B52-00EC-5728-96******\\"\\n}","type":"json"}]', + ], + 'ModifyDnsFirewallPolicy' => [ + 'summary' => 'Modifies a DNS firewall rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '230059', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68471', + 'abilityTreeNodes' => ['FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Valid values:-**zh**: Chinese-**en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'PageNo', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The action that is performed on traffic that hits the access control policy. Valid values:'."\n" + ."\n" + .'- **accept**: Allow'."\n" + ."\n" + .'- **drop**: Deny'."\n" + ."\n" + .'- **log**: Monitor', 'type' => 'string', 'required' => false, 'example' => 'log', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Destination', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => 'The destination address in the access control policy.'."\n" + ."\n" + .'- If **DestinationType** is set to net, **Destination** specifies the destination CIDR block. For example: 1.2.3.4/24'."\n" + ."\n" + .'- If **DestinationType** is set to group, **Destination** specifies the name of the destination address book. For example: db\\_group'."\n" + ."\n" + .'- If **DestinationType** is set to domain, **Destination** specifies the destination domain name. For example: \\*.aliyuncs.com'."\n" + ."\n" + .'- If **DestinationType** is set to location, **Destination** specifies the destination region. For more information about the location codes, see the following description. For example: \\["BJ11", "ZB"]', 'type' => 'string', 'required' => false, 'example' => 'db_group', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageNo' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'VfwIpsSwitchConfigList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '134646920647****', - ], - 'VpcFirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cen-h678sl4wv3yd5v****', - ], - 'VpcFirewallName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'RunMode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - ], - 'example' => '1', - ], - 'BasicRules' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - ], - 'example' => '1', - ], - 'PatchRules' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '', - '', - ], - 'example' => '1', - ], - 'RuleClass' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '', - '', - '', - ], - 'example' => '1', - ], - 'VpcFirewallIdList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-9f39c248f9f447c****', - ], - ], - ], - ], - ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block (CIDR address)'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'The source address in the access control policy. Valid values:'."\n" + ."\n" + .'- If **SourceType** is set to `net`, Source specifies the source CIDR block. For example: 10.2.21.\\*\\*/24'."\n" + ."\n" + .'- If **SourceType** is set to `group`, Source specifies the name of the source address book. For example: db\\_group.', 'type' => 'string', 'required' => false, 'example' => '192.0.21.**/24', 'title' => ''], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df22****', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: source CIDR block (CIDR)'."\n" + ."\n" + .'- **group**: source address book', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'The status of the access control policy. By default, the policy is enabled after it is created. Valid values:'."\n" + ."\n" + .'- **true**: enables the access control policy.'."\n" + ."\n" + .'- **false**: disables the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => ['description' => 'The priority of the access control policy before the modification.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorAclRuleDuplicate', 'errorMessage' => 'acl rule duplicate.', 'description' => 'The same strategy exists.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyDnsFirewallPolicy', + 'description' => 'You can use this operation to modify a DNS firewall policy to accept, deny, or monitor traffic.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"VfwIpsSwitchConfigList\\": [\\n {\\n \\"MemberUid\\": \\"134646920647****\\",\\n \\"VpcFirewallId\\": \\"cen-h678sl4wv3yd5v****\\",\\n \\"VpcFirewallName\\": \\"vpc-test\\",\\n \\"RunMode\\": 1,\\n \\"BasicRules\\": 1,\\n \\"PatchRules\\": 1,\\n \\"RuleClass\\": 1,\\n \\"VpcFirewallIdList\\": [\\n \\"vfw-9f39c248f9f447c****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79****\\"\\n}","type":"json"}]', ], - 'DescribeVpcFirewallDefaultIPSConfig' => [ - 'summary' => 'Queries the intrusion prevention configurations of a virtual private cloud (VPC) firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyFirewallV2RoutePolicySwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68418', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '142877', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'VpcFirewallId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall. Valid values:'."\n" - ."\n" - .'* If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the IDs of CEN instances.'."\n" - .'* If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The instance ID of the VPC boundary firewall.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-5b202e7f0be64611****', 'title' => ''], + ], + [ + 'name' => 'TrFirewallRoutePolicyId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the routing policy for the firewall.', 'type' => 'string', 'required' => false, 'example' => 'policy-93684cc5caa44b2e****', 'title' => ''], + ], + [ + 'name' => 'TrFirewallRoutePolicySwitchStatus', + 'in' => 'query', + 'schema' => ['description' => 'The status of the policy. Valid values:'."\n" + ."\n" + .'- open: Enables the policy.'."\n" + ."\n" + .'- close: Disables the policy.', 'type' => 'string', 'required' => false, 'example' => 'open', 'title' => ''], + ], + [ + 'name' => 'ShouldRecover', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to restore the traffic redirection configuration. Valid values:'."\n" + ."\n" + .'- true: Rolls back the route.'."\n" + ."\n" + .'- false: Revokes the route.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ @@ -44154,379 +37273,251 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125adf1', - ], - 'RunMode' => [ - 'description' => 'The mode of the intrusion prevention system (IPS). Valid values:'."\n" - ."\n" - .'* **1**: block mode'."\n" - .'* **0**: monitor mode'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'EnableAllPatch' => [ - 'description' => 'Indicates whether virtual patching is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'BasicRules' => [ - 'description' => 'Indicates whether basic policies are enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RuleClass' => [ - 'description' => 'The level of the rule group for the IPS. Valid values:'."\n" - ."\n" - .'* **1**: loose.'."\n" - .'* **2**: medium.'."\n" - .'* **3**: strict.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '1F6D4A8D-EC01-5996-A61A-AA3B56490C00', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', 'errorMessage' => 'Can not update policy status.', 'description' => 'Unable to update routing template status, please check if routing template status is being updated'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => 'The firewall cannot be operated. The firewall is in an updated state. Please check whether any drainage templates are being created, deleted, updated, opened or closed.'], + ['errorCode' => 'ErrorTrFwBackUpAssocationNotExist', 'errorMessage' => 'Tr firewall back up association not Exist.', 'description' => 'The routing table configuration before the drainage scenario is enabled cannot be obtained. The routing table before the drainage scenario is enabled may have been deleted.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => ''], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-****-00090125adf1\\",\\n \\"RunMode\\": 0,\\n \\"EnableAllPatch\\": 1,\\n \\"BasicRules\\": 1,\\n \\"RuleClass\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125adf1\\n 0\\n 1\\n 1\\n","errorExample":""}]', - 'title' => 'DescribeVpcFirewallDefaultIPSConfig', - 'description' => 'You can call the DescribeVpcFirewallDefaultIPSConfig operation to query the intrusion prevention configurations of a VPC firewall.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - ], - 'DescribeVpcFirewallIPSWhitelist' => [ - 'summary' => 'Queries the IPS whitelist of a virtual private cloud (VPC) firewall.', - 'methods' => [ - 'get', - 'post', + 'title' => 'ModifyFirewallV2RoutePolicySwitch', + 'summary' => 'Enables or disables a routing policy.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFirewallV2RoutePolicySwitch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyFirewallV2RoutePolicySwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1F6D4A8D-EC01-5996-A61A-AA3B56490C00\\"\\n}","type":"json"}]', + ], + 'ModifyInstanceMemberAttributes' => [ + 'summary' => 'Updates the attributes of member accounts in Cloud Firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '138368', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68474', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member in Cloud Firewall.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1766185894104675', - ], - ], - [ - 'name' => 'VpcFirewallId', + 'name' => 'Members', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', + 'description' => 'The member accounts in Cloud Firewall.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of member accounts whose properties you want to modify.', + 'type' => 'object', + 'properties' => [ + 'MemberDesc' => ['description' => 'The description of the member account.', 'type' => 'string', 'required' => true, 'example' => 'renewal', 'title' => ''], + 'MemberUid' => ['description' => 'The UID of the member account.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123412341234****', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => true, - 'example' => 'vfw-3547deab1c9b4190a53f', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B5EE02F9-4F21-56CA-AA49-F9F8D69483C1', - ], - 'Whitelists' => [ - 'description' => 'The details of the IPS whitelist of the VPC firewall.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcFirewallId' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'example' => 'vfw-57431e9abe424852a578', - ], - 'WhiteType' => [ - 'description' => 'The type of the whitelist. Valid values:'."\n" - ."\n" - .'* **1**: destination'."\n" - .'* **2**: source'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ListValue' => [ - 'description' => 'The entries in the list.'."\n", - 'type' => 'string', - 'example' => '10.10.200.4/32,10.10.200.25/32', - ], - 'ListType' => [ - 'description' => 'The type of the list. Valid values:'."\n" - ."\n" - .'* **1**: user-defined'."\n" - .'* **2**: address book'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'WhiteListValue' => [ - 'description' => 'An array of entries in the list.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The entry in the list.'."\n", - 'type' => 'string', - 'example' => '10.10.200.4/32', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'AB74E747-BA5C-492C-87DD-CEA67FCFFFE5', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 200 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid is invalid.', - ], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], ], 400 => [ - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorInstanceTooManyMembersOnce', 'errorMessage' => 'too many members once.', 'description' => 'The number of members to be added or deleted at a time exceeds the limit.'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => 'An authentication error occurred.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5EE02F9****AA49****F9F8D69483C1\\",\\n \\"Whitelists\\": [\\n {\\n \\"VpcFirewallId\\": \\"cen-l6t5yj5fi762******\\",\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeVpcFirewallIPSWhitelist', - ], - 'ModifyVpcFirewallDefaultIPSConfig' => [ - 'summary' => 'Modifies the intrusion prevention configurations of a virtual private cloud (VPC) firewall.', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AB74E747-BA5C-492C-87DD-CEA67FCFFFE5\\"\\n}","type":"json"}]', + 'title' => 'ModifyInstanceMemberAttributes', + 'description' => 'This operation updates the attributes of member accounts in Cloud Firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'This operation has a queries per second (QPS) limit of 10 for each user. If you exceed this limit, API calls are rate-limited. This may affect your business operations. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceMemberAttributes'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyInstanceMemberAttributes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ], + ], + ], ], + ], + 'ModifyIpsRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68498', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfw8B8ITI', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68475', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'required' => false, 'example' => '218.1.147.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default)'."\n" - .'* **en**'."\n", + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n" - ."\n" - .'* If the VPC firewall protects traffic between a VPC and a network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the IDs of CEN instances.'."\n" - .'* If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], - ], - [ - 'name' => 'BasicRules', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable basic protection. Valid values:'."\n" - ."\n" - .'* **1**: yes.'."\n" - .'* **0**: no.'."\n", + 'description' => 'The language of the request and response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', - 'required' => true, - 'example' => '1', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'EnableAllPatch', + 'name' => 'RuleType', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable virtual patching. Valid values:'."\n" - ."\n" - .'* **1**: yes.'."\n" - .'* **0**: no.'."\n", + 'description' => 'The type of the rule.', + 'enumValueTitles' => ['patchRule' => 'patchRule', 'basicRule' => 'basicRule'], 'type' => 'string', 'required' => true, - 'example' => '1', + 'example' => 'basicRule', + 'title' => '', ], ], [ - 'name' => 'RunMode', + 'name' => 'RuleAction', 'in' => 'query', 'schema' => [ - 'description' => 'The mode of the intrusion prevention system (IPS). Valid values:'."\n" - ."\n" - .'* **1**: block mode.'."\n" - .'* **0**: monitor mode.'."\n", + 'description' => 'The action of the rule.', + 'enumValueTitles' => ['drop' => 'drop', 'alert' => 'alert', 'close' => 'close'], 'type' => 'string', 'required' => true, - 'example' => '0', + 'example' => 'alert', + 'title' => '', ], ], [ - 'name' => 'MemberUid', + 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The list of rules.', 'type' => 'string', 'required' => true, 'example' => '[\\"4664138c-4f81-4650-9c8d-2230ea0d****\\"]', 'title' => ''], ], [ - 'name' => 'RuleClass', + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ + 'description' => 'The type of the Cloud Firewall.', + 'enumValueTitles' => ['VpcFirewall' => 'VPC border', 'InternetFirewall' => 'Internet Border'], 'type' => 'string', 'required' => false, - 'description' => 'The level of the rule group for the IPS. Valid values:'."\n" - ."\n" - .'* **1**: loose'."\n" - .'* **2**: medium'."\n" - .'* **3**: strict'."\n", - 'example' => '1', + 'default' => 'InternetFirewall', + 'example' => 'VpcFirewall', + 'title' => '', ], ], ], @@ -44535,401 +37526,626 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '3B51B5BF-3C26-5009-ADAB-190E58DE4D6E', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '30FB7F84-1FC5-5A3D-BBBE-5779FC74****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], - [ - 'errorCode' => 'ErrorParametersMemberUid', - 'errorMessage' => 'invalid memberUid.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => 'Invalid Aliuid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => 'An error occurred. Try again later.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3B51B5BF-3C26-5009-ADAB-190E58DE4D6E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 3B51B5BF-3C26-5009-ADAB-190E58DE4D6E\\n","errorExample":""}]', - 'title' => 'ModifyVpcFirewallDefaultIPSConfig', - 'description' => 'You can call this operation to modify the intrusion prevention configurations of a VPC firewall.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'ModifyVpcFirewallIPSWhitelist' => [ - 'summary' => 'Modifies the IPS whitelist of a virtual private cloud (VPC) firewall.', - 'methods' => [ - 'get', - 'post', + 'title' => 'ModifyIpsRules', + 'summary' => 'Modifies Intrusion Prevention System (IPS) rules.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"30FB7F84-1FC5-5A3D-BBBE-5779FC74****\\"\\n}","type":"json"}]', + ], + 'ModifyIpsRulesToDefault' => [ + 'summary' => 'Resets Intrusion Prevention System (IPS) rules to the default settings.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '138370', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68476', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '140.205.118.XXX', 'title' => ''], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member that is managed by your Alibaba Cloud account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1415189284827022', - ], + 'schema' => ['description' => 'The language of the content. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID of the VPC firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-d7b8ce273791475b9b0b', - ], + 'schema' => ['description' => 'The type of the rule. Valid values:'."\n" + ."\n" + .'- **basicRule**'."\n" + ."\n" + .'- **customize**', 'type' => 'string', 'required' => true, 'example' => 'customize', 'title' => ''], ], [ - 'name' => 'WhiteType', + 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the whitelist. Valid values:'."\n" - ."\n" - .'* **1**: destination'."\n" - .'* **2**: source'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The list of rules.', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "uuid_1",'."\n" + .' "uuid_2"'."\n" + .']', 'title' => ''], ], [ - 'name' => 'ListType', + 'name' => 'AttackApp', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the list. Valid values:'."\n" - ."\n" - .'* **1**: user-defined'."\n" - .'* **2**: address book'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The application that is affected by the attack.', 'type' => 'string', 'required' => false, 'example' => 'PHP', 'title' => ''], ], [ - 'name' => 'ListValue', + 'name' => 'FirewallType', 'in' => 'query', - 'schema' => [ - 'description' => 'The entry in the list.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.130.0.0/20,10.130.17.11/32', - ], + 'schema' => ['description' => 'The type of the Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **VpcFirewall**: VPC firewall.'."\n" + ."\n" + .'- **InternetFirewall** (default): Internet firewall.', 'type' => 'string', 'required' => false, 'default' => 'InternetFirewall', 'example' => 'InternetFirewall', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B713361D-62E2-5FF0-9D29-BBFAAF40****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersWhitelistIP', - 'errorMessage' => 'Invalid whitelistIp.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => 'Invalid Aliuid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => 'An error occurred. Try again later.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8\\"\\n}","type":"json"}]', - 'title' => 'ModifyVpcFirewallIPSWhitelist', - ], - 'ListTlsInspectCACertificates' => [ - 'summary' => '查询TLS检查证书', - 'path' => '', - 'methods' => [ - 'get', - 'post', + 'title' => 'ModifyIpsRulesToDefault', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRulesToDefault', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B713361D-62E2-5FF0-9D29-BBFAAF40****\\"\\n}","type":"json"}]', + ], + 'ModifyNatFirewallControlPolicy' => [ + 'summary' => 'Modify a NAT Firewall security access control policy.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwCM05W3', - ], + 'abilityTreeCode' => '171412', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'CaCertId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'C3E91391-16CD-1BFC-A133-******D429', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The action that you want to perform on traffic. Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + ."\n" + .'- **drop**: denies the traffic.'."\n" + ."\n" + .'- **log**: monitors the traffic.', 'type' => 'string', 'required' => false, 'example' => 'log', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The description of the access control policy. Fuzzy match is supported.'."\n" + ."\n" + .'> If you do not specify this parameter, the descriptions of all policies are queried.', 'type' => 'string', 'required' => false, 'example' => 'test description', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-******837D', - ], - 'Certificates' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CaCertId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2732BB48-2969-5716-B5D9-******CA85', - ], - 'ExpirationTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1934***149', - ], - 'CaCertType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ROOT', - ], - 'AliasName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rsa_ml_***_root', - ], - 'Algorithm' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'RSA', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'KeySize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'SignAlgorithm' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'ParentCaCertId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '340BB48-2969-5716-B5D9-****ACA85', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port in the access control policy.'."\n" + ."\n" + .'> This parameter is required when you set **DestPortType** to `port`.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address in the access control policy.'."\n" + ."\n" + .'- If **DestinationType** is `net`, specify a destination CIDR block. Example: `1.2.3.4/24`.'."\n" + ."\n" + .'- If **DestinationType** is `group`, specify a destination address book. Example: `db_group`.'."\n" + ."\n" + .'- If **DestinationType** is `domain`, specify a destination domain name. Example: `*.aliyuncs.com`.'."\n" + ."\n" + .'- If **DestinationType** is `location`, specify a destination location. For more information about location codes, see AddIpamPoolCidr. Example: `["BJ11", "ZB"]`.', 'type' => 'string', 'required' => false, 'example' => 'x.x.x.x/32', 'title' => ''], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name'."\n" + ."\n" + .'- **location**: destination location', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx', 'title' => ''], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => 'The protocol type in the access control policy. Valid values:'."\n" + ."\n" + .'- **ANY**'."\n" + ."\n" + .'- **TCP**'."\n" + ."\n" + .'- **UDP**'."\n" + ."\n" + .'- **ICMP**'."\n" + ."\n" + .'> **ANY** indicates that the policy applies to all protocol types.'."\n" + ."\n" + .'> If the destination is a domain name-based address book that contains a threat intelligence address book or a cloud service address book, you can select TCP. If you select TCP, you can select HTTP, HTTPS, SMTP, SMTPS, or SSL.', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'The source address in the access control policy. Valid values:'."\n" + ."\n" + .'- When **SourceType** is `net`, Source is the source CIDR address, for example, 10.2.XX.XX/24.'."\n" + ."\n" + .'- If **SourceType** is `group`, specify a source address book. Example: `db_group`.', 'type' => 'string', 'required' => false, 'example' => '10.2.XX.XX/24', 'title' => ''], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => 'The UUID of the access control policy.'."\n" + ."\n" + .'To modify an access control policy, you must provide the UUID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.', 'type' => 'string', 'required' => true, 'example' => '63ab1c02-926a-4d1b-9ef7-*****', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The direction of the traffic to which the access control policy applies. Valid values:'."\n" + ."\n" + .'- **out**: outbound traffic', 'type' => 'string', 'required' => false, 'default' => 'out', 'example' => 'out', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: source CIDR block'."\n" + ."\n" + .'- **group**: source address book', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination port in the access control policy. Valid values:'."\n" + ."\n" + .'- **port**: port'."\n" + ."\n" + .'- **group**: port address book', 'type' => 'string', 'required' => false, 'example' => 'port', 'title' => ''], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => 'The name of the destination port address book in the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'my_dest_port_group', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'The status of the access control policy. Valid values:'."\n" + ."\n" + .'- **true**: enabled'."\n" + ."\n" + .'- **false**: disabled', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'ApplicationNameList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => 'The application names.', + 'type' => 'array', + 'items' => ['description' => 'The application types supported by the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'ANY', 'title' => ''], + 'required' => false, + 'maxItems' => 30, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => 'The DNS resolution method of the domain name. Valid values:'."\n" + ."\n" + .'- **0**: FQDN'."\n" + ."\n" + .'- **1**: dynamic DNS'."\n" + ."\n" + .'- **2**: FQDN and dynamic DNS'."\n" + ."\n" + .'> If the domain name is resolved in FQDN mode, you can select only the TCP protocol. The supported applications are HTTP, HTTPS, SMTP, SMTPS, SSL, IMAPS, and POPS.', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'RepeatType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The recurrence type for the policy to take effect. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): The policy is always in effect.'."\n" + ."\n" + .'- **None**: The policy takes effect for a specified period of time.'."\n" + ."\n" + .'- **Daily**: The policy takes effect daily.'."\n" + ."\n" + .'- **Weekly**: The policy takes effect weekly.'."\n" + ."\n" + .'- **Monthly**: The policy takes effect monthly.', + 'enumValueTitles' => ['Daily' => '', 'Monthly' => '', 'Permanent' => '', 'Weekly' => '', 'None' => ''], + 'type' => 'string', + 'required' => false, + 'example' => 'Permanent', + 'title' => '', + ], + ], + [ + 'name' => 'RepeatDays', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The days of a week or a month on which the policy recurs.'."\n" + ."\n" + .'- If you set **RepeatType** to `Permanent`, `None`, or `Daily`, leave this parameter empty. Example: \\[].'."\n" + ."\n" + .'- If you set **RepeatType** to `Weekly`, this parameter is required. Example: \\[0, 6].'."\n" + ."\n" + .'> When RepeatType is set to Weekly, RepeatDays does not allow duplicates.'."\n" + ."\n" + .'- When RepeatType is `Monthly`, RepeatDays cannot be empty. For example: \\[1, 31]'."\n" + ."\n" + .'> When RepeatType is set to Monthly, RepeatDays cannot contain duplicate values.', + 'type' => 'array', + 'items' => ['description' => 'The recurring days of the effective period for the access control policy.'."\n" + ."\n" + .'> If `RepeatType` is set to `Weekly`, the value range is 0 to 6. The week starts on Sunday. If `RepeatType` is set to `Monthly`, the value range is 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the repeat cycle. Use the 24-hour HH:mm format, such as 08:00. The time must be on the hour or half-hour and at least 30 minutes before the repeat end time.'."\n" + ."\n" + .'> This parameter is not used if `RepeatType` is set to `Permanent` or `None`. This parameter is required if `RepeatType` is set to `Daily`, `Weekly`, or `Monthly`.', 'type' => 'string', 'required' => false, 'example' => '08:00', 'title' => ''], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the policy\'s recurrence period. The time must be in the 24-hour HH:mm format, such as 23:30, be on the hour or half-hour, and be at least half an hour later than the recurrence start time.'."\n" + ."\n" + .'> When RepeatType is Permanent or None, RepeatEndTime is empty. When RepeatType is Daily, Weekly, or Monthly, you must set RepeatEndTime to specify the end time for the repetition.', 'type' => 'string', 'required' => false, 'example' => '23:30', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the effective period for the access control policy is specified in the Unix timestamp format. It must be on the hour or half-hour and at least half an hour earlier than the end time.'."\n" + ."\n" + .'> When RepeatType is Permanent, StartTime is empty. When RepeatType is None, Daily, Weekly, or Monthly, StartTime is required.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the effective period for the access control policy. The time is a Unix timestamp. The time must be on the hour or half-hour and be at least 30 minutes after the start time.'."\n" + ."\n" + .'> If `RepeatType` is Permanent, `EndTime` is empty. If `RepeatType` is None, Daily, Weekly, or Monthly, `EndTime` is required.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '3768197C-E6E8-52CD-8358-*****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrCasOpenApiFailed', - 'errorMessage' => 'Error querying certificate, please try again later.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => 'Exceeds the number of selected areas for one ACL. It is recommended to split it into multiple ACLs.'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'ACL rule is not allowed to update status when effective is not permanent.'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => 'The request parameter NatGatewayId is invalid or does not exist.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => 'FTP application is not supported when the policy destination is a domain name'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => 'Specified parameter ApplicationNameList is not valid.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3768197C-E6E8-52CD-8358-*****\\"\\n}","type":"json"}]', + 'title' => 'ModifyNatFirewallControlPolicy', + 'description' => 'This API modifies the configuration of an access control policy that allows, denies, or observes traffic passing through a NAT Firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicy'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-******837D\\",\\n \\"Certificates\\": [\\n {\\n \\"CaCertId\\": \\"2732BB48-2969-5716-B5D9-******CA85\\",\\n \\"ExpirationTime\\": 0,\\n \\"CaCertType\\": \\"ROOT\\",\\n \\"AliasName\\": \\"rsa_ml_***_root\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"KeySize\\": 2048,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"ParentCaCertId\\": \\"340BB48-2969-5716-B5D9-****ACA85\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]', ], - 'GetTlsInspectCertificateDownloadUrl' => [ - 'summary' => '下载TLS证书', - 'path' => '', - 'methods' => [ - 'get', - 'post', + 'ModifyNatFirewallControlPolicyPosition' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '171422', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the content within the response. Valid values:'."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'The NAT gateway ID.', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The traffic direction of the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **out**: outbound traffic.', 'type' => 'string', 'required' => false, 'default' => 'out', 'example' => 'out', 'title' => ''], + ], + [ + 'name' => 'NewOrder', + 'in' => 'query', + 'schema' => ['description' => 'The policy priority for the NAT firewall IPv4 access control policy. A value of 1 indicates the highest priority. A larger value indicates a lower priority.'."\n" + ."\n" + .'> The policy priority value must be within the range of existing NAT firewall IPv4 policy priorities. Otherwise, an error occurs when you call this operation.'."\n" + ."\n" + .'Before you call this operation, call DescribeNatFirewallPolicyPriorUsed to query the priority range of IPv4 policies for the specified traffic direction of the NAT firewall.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5', 'title' => ''], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'required' => true, 'example' => '66461eea-e659-4225-84c9-*****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '68617208-F5F7-5B44-BB1E-*****', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => 'The request parameter NatGatewayId is invalid or does not exist.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => 'Either pageSize or pageNo is invalid.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => 'The newOrder is invalid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'https', + 'title' => 'Modify the priority of a NAT firewall access control policy', + 'summary' => 'Modifies the priority of an access control policy for a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicyPosition'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicyPosition', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68617208-F5F7-5B44-BB1E-*****\\"\\n}","type":"json"}]', + ], + 'ModifyObjectGroupOperation' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -44938,98 +38154,198 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwCM05W3', - ], + 'abilityTreeCode' => '68478', + 'abilityTreeNodes' => ['FEATUREcfwY8M1K1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'CaCertId', + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '123.xxx.251.60', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'ObjectOperation', + 'in' => 'query', + 'schema' => ['description' => 'The operation to perform. Valid values:'."\n" + ."\n" + .'- **subscribe**: Follows the object.'."\n" + ."\n" + .'- **unsubscribe**: Unfollows the object.'."\n" + ."\n" + .'- **ignore**: Adds the object to the whitelist.'."\n" + ."\n" + .'- **cancelIgnore**: Removes the object from the whitelist.', 'type' => 'string', 'required' => true, 'example' => 'ignore', 'title' => ''], + ], + [ + 'name' => 'ObjectType', + 'in' => 'query', + 'schema' => ['description' => 'The type of object to add to the whitelist or follow.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **assetsIp**: Asset IP address.'."\n" + ."\n" + .'- **destinationIp**: Destination IP address.'."\n" + ."\n" + .'- **destinationPort**: Destination port.'."\n" + ."\n" + .'- **destinationDomain**: Destination domain name.', 'type' => 'string', 'required' => true, 'example' => 'destinationDomain', 'title' => ''], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => 'The traffic direction that is controlled by the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **in**: Inbound traffic.'."\n" + ."\n" + .'- **out**: Outbound traffic.', 'type' => 'string', 'required' => true, 'example' => 'out', 'title' => ''], + ], + [ + 'name' => 'ObjectList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of objects.', + 'type' => 'array', + 'items' => ['description' => 'The list of objects for the operation.', 'type' => 'string', 'required' => false, 'example' => '8.25.xxx.55', 'title' => ''], 'required' => true, - 'example' => 'C3E91391-16CD-1BFC-A133-******D429', + 'maxItems' => 200, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'Comment', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => 'The remarks for the operation.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-******h4j6', - ], - 'DownloadUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****', - ], - 'CaCertId' => [ - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CB32593D************775F41D6ED84', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorCasInnerApiFailed', - 'errorMessage' => 'API call failed, please try again later.', - ], + ['errorCode' => 'ErrorOutgoingIgnoredReachLimit', 'errorMessage' => 'outgoing ignored list reach limit', 'description' => 'The number of the whitelists for outbound connections reaches the upper limit.'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => 'The source code is invalid.'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => 'The objectOperation is invalid.'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorObjectType', 'errorMessage' => 'The objectType is invalid.', 'description' => 'The objectType is invalid.'], + ['errorCode' => 'ErrorObjectList', 'errorMessage' => 'The objectList is invalid.', 'description' => 'The objectList is invalid.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorDBDeleteError', 'errorMessage' => 'A database delete error occurred.', 'description' => 'An error occurred while deleting the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyObjectGroupOperation', + 'summary' => 'Modifies the operation for an object group.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyObjectGroupOperation'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyObjectGroupOperation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-******h4j6\\",\\n \\"DownloadUrl\\": \\"https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****\\",\\n \\"CaCertId\\": \\"1f07c104-99ed-6b9a-b0bb-2938c9b8****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB32593D************775F41D6ED84\\"\\n}","type":"json"}]', ], - 'DescribeAclCheckQuota' => [ - 'summary' => '查询NAT防火墙预检查结果', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ModifyPolicyAdvancedConfig' => [ + 'summary' => 'Enables or disables the strict mode for access control policies.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219328', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68479', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '192.0.XX.XX'], + ], [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + [ + 'name' => 'InternetSwitch', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable or disable the strict mode for access control policies. Valid values:'."\n" + ."\n" + .'- **on**: Enables strict mode.'."\n" + ."\n" + .'- **off**: Disables strict mode.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'off'], + ], + [ + 'name' => 'Eips', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'A list of IP addresses. The IP addresses must use the same protocol version. You can specify up to 100 IP addresses.', + 'type' => 'array', + 'items' => ['description' => 'An IP address.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '192.168.0.1'], 'required' => false, - 'example' => 'zh', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], ], @@ -45038,109 +38354,109 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****', - ], - 'Quota' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AvailableQuota' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '500', - ], - 'ConsumedQuota' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1500', - ], - 'TotalQuota' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2000', - ], - 'UpdateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"Quota\\": {\\n \\"AvailableQuota\\": 500,\\n \\"ConsumedQuota\\": 1500,\\n \\"TotalQuota\\": 2000,\\n \\"UpdateTime\\": \\"1724982259\\"\\n }\\n}","type":"json"}]', - ], - 'DescribeAclChecks' => [ - 'summary' => '批量查询ACL检查条目', - 'methods' => [ - 'get', + 'title' => 'ModifyPolicyAdvancedConfig', + 'description' => 'This operation enables or disables the strict mode for access control policies.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second per user. If you exceed the limit, API calls are throttled, which can affect your business. We recommend that you call this operation at a reasonable rate.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPolicyAdvancedConfig'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', + ], + 'ModifyPrivateDnsEndpoint' => [ + 'summary' => 'Modifies a private DNS endpoint.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219331', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '226261', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The instance ID.', 'title' => '', 'example' => 'pd-12345'], ], [ - 'name' => 'AclType', + 'name' => 'PrivateDnsType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'VPC', - 'enum' => [ - 'Internet', - 'NAT', - 'VPC', - 'AddressBook', - ], - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The private DNS type. Valid values:'."\n" + ."\n" + .'- **PrivateZone**'."\n" + ."\n" + .'- **Custom**', 'title' => '', 'example' => 'Custom'], + ], + [ + 'name' => 'PrimaryDns', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The primary DNS server.', 'title' => '', 'example' => '1.1.1.1'], + ], + [ + 'name' => 'StandbyDns', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The secondary DNS server.', 'title' => '', 'example' => '1.1.1.2'], + ], + [ + 'name' => 'AccessInstanceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The name of the private instance.', 'title' => '', 'example' => 'Test'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The region ID of the instance.', 'title' => '', 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -45148,140 +38464,63 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3D****', - ], - 'CheckRecords' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AclType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'NAT' => '', - 'AddressBook' => '', - 'VPC' => '', - 'Internet' => '', - ], - 'example' => 'Internet', - ], - 'Records' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CheckName' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'PolicyDuplicate' => '', - 'PolicyConflict' => '', - 'AddressBookIpSeparated' => '', - 'DefaultPolicyNotDeny' => '', - 'PolicySourceDestinationSame' => '', - 'PolicyPortHighRisk' => '', - 'PolicyTooLoose' => '', - 'PolicyHitCountZero' => '', - 'AddressBookPortSeparated' => '', - 'AddressBookDomainValid' => '', - ], - 'example' => 'AddressBookDomainValid', - ], - 'CheckStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Checked' => '', - 'Unchecked' => '', - 'Checking' => '', - ], - 'example' => 'Checked', - ], - 'CheckType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'InvalidPolicy' => '', - 'AddressBookGather' => '', - 'HighRisk' => '', - ], - 'example' => 'AddressBookGather', - ], - 'LastCheckTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1724982259', - ], - 'Level' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'High' => '', - 'Low' => '', - 'Medium' => '', - ], - 'example' => 'Medium', - ], - 'AclPendingCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AclTotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54'], ], + 'title' => '', + 'description' => 'The response schema.', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorPrivateDnsNotFound', 'errorMessage' => 'private dns not found.', 'description' => 'The specified private DNS does not exist'], + ['errorCode' => 'ErrorPrivateDnsIpAddress', 'errorMessage' => 'private dns ip address error.', 'description' => 'Private DNS IP Error'], + ['errorCode' => 'ErrorPrivateDnsIpSame', 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', 'description' => 'The primary and secondary IP addresses of a private DNS cannot be the same.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3D****\\",\\n \\"CheckRecords\\": {\\n \\"AclType\\": \\"Internet\\",\\n \\"Records\\": [\\n {\\n \\"CheckName\\": \\"AddressBookDomainValid\\",\\n \\"CheckStatus\\": \\"Checked\\",\\n \\"CheckType\\": \\"AddressBookGather\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"Medium\\",\\n \\"AclPendingCount\\": 1,\\n \\"AclTotalCount\\": 10,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - ], - 'DescribeAclCheck' => [ - 'summary' => '查询ACL检查详情', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyPrivateDnsEndpoint', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\"\\n}","type":"json"}]', + ], + 'ModifyResourceTypeAutoEnable' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219336', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '240055', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -45289,47 +38528,23 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language of the response message.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '132', - ], - ], - [ - 'name' => 'PageNo', + 'name' => 'ResourceTypeAutoEnable', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'Specifies whether to enable automatic protection for the resource type.', 'type' => 'string', 'example' => '{"SlbEIP":true,"GaEIP":false,"EcsIPv6":true,"NatPublicIP":true,"SlbIPv6":false,"BastionHostIngressIP":false,"EIP":true,"NatEIP":true,"SlbPublicIP":true,"EcsEIP":true,"EniEIP":true,"HAVIP":true,"NlbEIP":true,"NlbIPv6":false,"EniEIPv6":false,"EcsPublicIP":true,"AlbIPv6":true,"BastionHostIP":false,"BastionHostEgressIP":true,"GaEIPV6":false,"AlbEIP":false}', 'required' => false, 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The ID of the region.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -45337,424 +38552,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '25E655B0-CAED-53D4-8054-F983126****', - ], - 'CheckRecord' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AclTotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RecordAssessmentDetail' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CheckName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PolicyHitCountZero', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'LastCheckTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1724982259', - ], - 'Level' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'High', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - 'Acls' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Acl' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'out', - ], - 'Order' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'group', - ], - 'ApplicationName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ANY', - ], - 'HitTimes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test_policy', - ], - 'SourceGroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ip', - ], - 'DnsResultTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'Proto' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TCP', - ], - 'DestinationGroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'domain', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'kms.cn-shanghai.aliyuncs.com', - ], - 'HitLastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPortGroup' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'my_port_group'."\n", - ], - 'AclUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '997b38e0-01fa-4db7-8d30-02ebf6fdb747', - ], - 'DestPortType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => '', - 'type' => 'string', - 'example' => '172.28.7.167', - ], - 'DestinationType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'domain', - ], - 'DestPort' => [ - 'description' => '', - 'type' => 'string', - 'example' => '80/80', - ], - 'IpVersion' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AclAction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'log', - ], - 'Release' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'true', - ], - 'ApplicationId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'plugin_idp4_ciam', - ], - 'DestinationGroupCidrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX/32', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '80/80', - ], - ], - 'SourceGroupCidrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '111.48.54.39/32', - ], - ], - 'ApplicationNameList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ANY', - ], - ], - 'SpreadCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ModifyTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'RepeatType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Permanent', - ], - 'RepeatDays' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - ], - 'RepeatStartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '08:00'."\n", - ], - 'RepeatEndTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1730318400', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1758334822', - ], - 'AddressListCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'b91d86c3-2b52-4534-aae9-8d0339b12a48', - ], - 'AutoAddTagEcs' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'GroupName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ReferenceCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ip', - ], - 'TagRelation' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'or', - ], - 'TagList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tfTestAcc0', - ], - 'TagKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ss', - ], - ], - ], - ], - 'AddressList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32', - ], - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-2ze4w62zbdkwjmoqeokgl', - ], - 'DomainResolveType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'FQDN', - ], - 'VpcFirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-925514970c2c4bcab222', - ], - 'Addresses' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Address' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.0.XX.XX/32', - ], - 'Note' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - ], - 'AclStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Pending' => '', - 'Ignored' => '', - 'Processed' => '', - ], - 'example' => 'Pending', - ], - 'AclAssessmentDetail' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', 'title' => ''], ], + 'title' => '', + 'description' => 'Response schema', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAclCheckNotExist', - 'errorMessage' => 'ACL check not exist.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyResourceTypeAutoEnable', + 'summary' => 'Modifies the automatic protection settings for new assets.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"CheckRecord\\": {\\n \\"AclTotalCount\\": 10,\\n \\"RecordAssessmentDetail\\": \\"建议删除无效策略,同时可帮助节省规格。\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"out\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"group\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\\\n\\",\\n \\"AclUuid\\": \\"997b38e0-01fa-4db7-8d30-02ebf6fdb747\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"172.28.7.167\\",\\n \\"DestinationType\\": \\"domain\\",\\n \\"DestPort\\": \\"80/80\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"plugin_idp4_ciam\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"111.48.54.39/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"ANY\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 6\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\\\n\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1730318400,\\n \\"EndTime\\": 1758334822,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"b91d86c3-2b52-4534-aae9-8d0339b12a48\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"钟馗开门白名单\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"or\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"ss\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-2ze4w62zbdkwjmoqeokgl\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"vfw-925514970c2c4bcab222\\",\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.0.XX.XX/32\\",\\n \\"Note\\": \\"已审核\\"\\n }\\n ]\\n },\\n \\"AclStatus\\": \\"Pending\\",\\n \\"AclAssessmentDetail\\": \\"无流量命中策略。\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', ], - 'CreateAclCheck' => [ - 'summary' => '创建ACL检查', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifySensitiveSwitch' => [ + 'summary' => 'Modifies the sensitive data switch.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -45763,172 +38594,73 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219356', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language type. Valid values:'."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AclType', + 'name' => 'SensitiveCategory', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'NAT' => '', - 'AddressBook' => '', - 'VPC' => '', - 'Internet' => '', - ], - 'example' => 'Internet', - 'enum' => [ - 'Internet', - 'NAT', - 'VPC', - 'AddressBook', - ], - ], + 'schema' => ['description' => 'The type.', 'type' => 'string', 'required' => false, 'example' => 'id_card', 'title' => ''], ], [ - 'name' => 'CheckNames', + 'name' => 'SwitchStatus', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PolicyDuplicate' => '', - 'PolicyConflict' => '', - 'AddressBookIpSeparated' => '', - 'DefaultPolicyNotDeny' => '', - 'PolicySourceDestinationSame' => '', - 'PolicyPortHighRisk' => '', - 'PolicyTooLoose' => '', - 'PolicyHitCountZero' => '', - 'AddressBookPortSeparated' => '', - 'AddressBookDomainValid' => '', - ], - 'example' => 'PolicyHitCountZero', - 'enum' => [ - 'PolicyHitCountZero', - 'PolicySourceDestinationSame', - 'PolicyDuplicate', - 'PolicyConflict', - 'DefaultPolicyNotDeny', - 'PolicyPortHighRisk', - 'PolicyTooLoose', - 'AddressBookIpSeparated', - 'AddressBookPortSeparated', - 'AddressBookDomainValid', - ], - ], - 'required' => false, - 'maxItems' => 7, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The status. Valid values:'."\n" + .'- **1**: enabled.'."\n" + .'- **0**: disabled.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'The request ID of the returned result.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****', - ], - 'TaskIds' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42'."\n", - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID of the returned result.', 'type' => 'string', 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****'], ], + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAclCheckQuotaUnavailable', - 'errorMessage' => 'ACL check quota unavailable.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorAclCheckBusy', - 'errorMessage' => 'ACL check is busy.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Modify sensitive data switch', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\",\\n \\"TaskIds\\": [\\n \\"task-c92d4544ef7b6a42\\\\n\\"\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', ], - 'UpdateAclCheckDetailStatus' => [ - 'summary' => '修改ACL检查状态', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifySlsDispatchStatus' => [ + 'summary' => 'Modifies the log delivery settings for Simple Log Service (SLS).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -45937,69 +38669,54 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219361', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68482', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'EnableStatus', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'Specifies whether to deliver logs. A value of \\`true\\` enables delivery, and \\`false\\` disables it.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'DispatchValue', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-c92d4544ef7b6a42', - ], + 'schema' => ['description' => 'The key for the log category. Valid values:'."\n" + ."\n" + .'**internet\\_log**'."\n" + ."\n" + .'**vpc\\_firewall\\_log**'."\n" + ."\n" + .'**nat\\_firewall\\_log**'."\n" + ."\n" + .'**ipv6\\_firewall\\_log**'."\n" + ."\n" + .'**dns\\_firewall\\_log**.', 'type' => 'string', 'required' => false, 'example' => 'internet_log', 'title' => ''], ], [ - 'name' => 'Uuid', + 'name' => 'FilterKeys', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'bbbb43c9-a931-4d89-9939-86d509139a20', - ], + 'schema' => ['description' => 'The supported filter conditions. Valid values:'."\n" + ."\n" + .'**attack**'."\n" + ."\n" + .'**acl**'."\n" + ."\n" + .'**other**.', 'type' => 'string', 'example' => 'attack,acl', 'title' => '', 'required' => false], ], [ - 'name' => 'Status', + 'name' => 'NewRegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Pending' => '', - 'Ignored' => '', - 'Processed' => '', - ], - 'example' => 'Pending', - 'enum' => [ - 'Pending', - 'Processed', - 'Ignored', - ], - ], + 'schema' => ['description' => 'The region.', 'type' => 'string', 'example' => 'cn-shanghai', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Site', + 'in' => 'query', + 'schema' => ['description' => 'The site to modify. If the log version is 1, leave this parameter empty or set it to \\`global\\`. If the log version is 2, set this parameter to \\`cn\\` or \\`intl\\`.', 'type' => 'string', 'example' => 'cn', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -46007,409 +38724,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '850A84D6************00090125EEB1', - ], - 'CheckRecord' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Acls' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Acl' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'in', - ], - 'Order' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'desc', - ], - 'SourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'net', - ], - 'ApplicationName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ANY', - ], - 'HitTimes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test_policy', - ], - 'SourceGroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ip', - ], - 'DnsResultTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], - 'Proto' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ANY', - ], - 'DestinationGroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'domain', - ], - 'Destination' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'kms.cn-shanghai.aliyuncs.com', - ], - 'HitLastTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPortGroup' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'AclUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c', - ], - 'DestPortType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.71.94.24', - ], - 'DestinationType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'group', - ], - 'DestPort' => [ - 'description' => '', - 'type' => 'string', - 'example' => '22/22', - ], - 'IpVersion' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AclAction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'log', - ], - 'Release' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'true', - ], - 'ApplicationId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'HTTP', - ], - 'DestinationGroupCidrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '22/22', - ], - ], - 'SourceGroupCidrs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], - ], - 'ApplicationNameList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'SSH', - ], - ], - 'SpreadCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ModifyTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'RepeatType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'None', - ], - 'RepeatDays' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'RepeatStartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1736130347', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1752754426', - ], - 'AddressListCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5a96a798-9b73-47f7-831e-1d7aa3c987a9', - ], - 'AutoAddTagEcs' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'GroupName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'subscribe', - ], - 'ReferenceCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'port', - ], - 'TagRelation' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'and', - ], - 'TagList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tfTestAcc0', - ], - 'TagKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'produce', - ], - ], - ], - ], - 'AddressList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32', - ], - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-gw85zno51npz7lgc04z89', - ], - 'DomainResolveType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'VpcFirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cen-cw4z051hr8x53qniv5', - ], - ], - ], - 'AclStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'configuring', - ], - 'AclAssessmentDetail' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'RecordAssessmentDetail' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CheckName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PolicyHitCountZero', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'dwd_mysql_lingwan_faxing_chat_config_di', - ], - 'LastCheckTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1724982259', - ], - 'Level' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'High', - ], - 'PolicyTotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CE901E31-4AE9-579D-AC37-D2F1BB43****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAclCheckNotExist', - 'errorMessage' => 'ACL check not exist.', - ], - [ - 'errorCode' => 'ErrorAclCheckDetailNotExist', - 'errorMessage' => 'ACL check detail not exist.', - ], + ['errorCode' => 'IllegalOperation', 'errorMessage' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.', 'description' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"CheckRecord\\": {\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 0,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.168.0.1/32\\",\\n \\"Proto\\": \\"ANY\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"所有端口\\",\\n \\"AclUuid\\": \\"1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"10.71.94.24\\",\\n \\"DestinationType\\": \\"group\\",\\n \\"DestPort\\": \\"22/22\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"HTTP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"22/22\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"SSH\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"None\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1736130347,\\n \\"EndTime\\": 1752754426,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"5a96a798-9b73-47f7-831e-1d7aa3c987a9\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"subscribe\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"port\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"produce\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-gw85zno51npz7lgc04z89\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"cen-cw4z051hr8x53qniv5\\"\\n },\\n \\"AclStatus\\": \\"configuring\\",\\n \\"AclAssessmentDetail\\": \\"无流量命中策略。\\"\\n }\\n ],\\n \\"RecordAssessmentDetail\\": \\"由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"dwd_mysql_lingwan_faxing_chat_config_di\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"PolicyTotalCount\\": 1,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n}","type":"json"}]', - ], - 'DescribeAddressBook' => [ - 'summary' => 'Queries the details about an address book for an access control policy.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifySlsDispatchStatus', + 'description' => '## QPS limit'."\n" + ."\n" + .'You can call this API up to 10 times per second per user. If you exceed this limit, API calls are throttled, which may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE901E31-4AE9-579D-AC37-D2F1BB43****\\"\\n}","type":"json"}]', + ], + 'ModifyThreatIntelligenceSwitch' => [ + 'summary' => 'Modifies the threat intelligence configuration.', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -46418,95 +38778,119 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68175', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'CategoryList', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'The language of the content within the request. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CategoryId' => ['type' => 'string', 'description' => 'The ID of the threat intelligence category.', 'required' => false, 'title' => '', 'example' => 'IpOutThreatTorExit'], + 'Action' => ['type' => 'string', 'description' => 'The action of the rule. Valid values:'."\n" + ."\n" + .'- **alert**: observation'."\n" + ."\n" + .'- **drop**: block', 'required' => false, 'title' => '', 'example' => 'alert'], + 'EnableStatus' => ['type' => 'string', 'description' => 'The status of the switch. Valid values:'."\n" + ."\n" + .'- **1**: enabled'."\n" + ."\n" + .'- **0**: disabled', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1'], + ], + 'description' => 'A threat intelligence category.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of threat intelligence categories.', 'required' => false, - 'example' => 'zh', + 'maxItems' => 100, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The page number.'."\n" - ."\n" - .'Pages start from page 1. Default value: 1.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - 'default' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'The ID of the request.', 'example' => '850A84D6-0DE4-4797-A1E8-0009012****'], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyThreatIntelligenceSwitch', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n" - ."\n" - .'Default value: 10. Maximum value: 50.'."\n", - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - 'default' => '10', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch/{#CategoryId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', + ], + 'ModifyTrFirewallV2Configuration' => [ + 'summary' => 'Modifies the configuration of a VPC firewall for a transit router.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Query', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '143829', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The query condition that is used to search for the address book.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'GroupType', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the address book. Valid values:'."\n" - ."\n" - .'* **ip**: IP address book'."\n" - .'* **domain**: domain address book'."\n" - .'* **port**: port address book'."\n" - .'* **tag**: Elastic Compute Service (ECS) tag-based address book'."\n" - .'* **allCloud**: cloud service address book'."\n" - .'* **threat**: threat intelligence address book'."\n" - .'* **ipv6**: IPv6 address book'."\n" - .'> If you do not specify a type, the domain address books and ECS tag-based address books are queried.', - 'type' => 'string', - 'required' => false, - 'example' => 'ip', - ], + 'schema' => ['description' => 'The ID of the VPC firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-bcdf89d405ce4bd2****', 'title' => ''], ], [ - 'name' => 'ContainPort', + 'name' => 'FirewallName', 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is included in the address book. This parameter takes effect only when the **GroupType** parameter is set to **port**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'The name of the VPC firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall', 'title' => ''], ], ], 'responses' => [ @@ -46514,230 +38898,58 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'string', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B36F150A-1E27-43AA-B72C-D2AC712F09DA', - ], - 'TotalCount' => [ - 'description' => 'The total number of the returned address books.'."\n", - 'type' => 'string', - 'example' => '100', - ], - 'Acls' => [ - 'description' => 'The information about the address book.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AddressListCount' => [ - 'description' => 'The number of addresses in the address book.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'GroupUuid' => [ - 'description' => 'The UUID of the address book.'."\n", - 'type' => 'string', - 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', - ], - 'AutoAddTagEcs' => [ - 'description' => 'Indicates whether the public IP addresses of ECS instances are automatically added to the address book if the instances match the specified tags. The setting takes effect on both newly purchased ECS instances whose tag settings are complete and ECS instances whose tag settings are modified. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the address book.'."\n", - 'type' => 'string', - 'example' => 'my address book', - ], - 'GroupName' => [ - 'description' => 'The name of the address book.'."\n", - 'type' => 'string', - 'example' => 'demo_address_book', - ], - 'ReferenceCount' => [ - 'description' => 'The number of times that the address book is referenced.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'GroupType' => [ - 'description' => 'The type of the address book. Valid values:'."\n" - ."\n" - .'* **ip**: IP address book'."\n" - .'* **domain**: domain address book'."\n" - .'* **port**: port address book'."\n" - .'* **tag**: ECS tag-based address book'."\n" - .'* **allCloud**: cloud service address book'."\n" - .'* **threat**: threat intelligence address book'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'TagRelation' => [ - 'description' => 'The logical relationship among ECS tags. Valid values:'."\n" - ."\n" - .'* **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the address book.'."\n" - .'* **or**: The public IP addresses of ECS instances that match any of the specified tags can be added to the address book.'."\n", - 'type' => 'string', - 'example' => 'and', - ], - 'TagList' => [ - 'description' => 'The details about the ECS tags that can be automatically added to the address book.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'The value of the ECS tag.'."\n", - 'type' => 'string', - 'example' => 'admin', - ], - 'TagKey' => [ - 'description' => 'The key of the ECS tag.'."\n", - 'type' => 'string', - 'example' => 'company', - ], - ], - ], - ], - 'AddressList' => [ - 'description' => 'The addresses in the address book.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The address in the address book.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX/32', - ], - ], - 'Addresses' => [ - 'description' => 'A list of addresses in the address book, each with a single address description.', - 'type' => 'array', - 'items' => [ - 'description' => 'Address in the address book with a single address description.', - 'type' => 'object', - 'properties' => [ - 'Address' => [ - 'description' => 'Address information in the address book.', - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], - 'Note' => [ - 'description' => 'Single address description.', - 'type' => 'string', - 'example' => 'description', - ], - ], - ], - ], - 'AckClusterConnectorId' => [ - 'title' => 'ACK集群连接器ID。', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab1', - ], - 'AckClusterConnectorName' => [ - 'title' => 'ACK集群连接器名称。', - 'type' => 'string', - 'example' => 'ACK集群连接器', - ], - 'AckLabels' => [ - 'title' => 'ACK集群容器组标签列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组标签。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => 'ACK集群容器组标签的键。', - 'type' => 'string', - 'example' => 'app', - ], - 'Value' => [ - 'title' => 'ACK集群容器组标签的值。', - 'type' => 'string', - 'example' => 'storage-operator', - ], - ], - ], - ], - 'AckNamespaces' => [ - 'title' => 'ACK集群容器组命名空间列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组命名空间。', - 'type' => 'string', - 'example' => 'default', - ], - ], - 'RegionNo' => [ - 'title' => '当GroupType是ACK地址簿时,地址簿仅在该地域的ACL策略生效。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersGroupType', - 'errorMessage' => 'The group type is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist.', 'description' => 'Cloud Enterprise Network Enterprise Edition firewall does not exist.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => 'The firewall is already configured and cannot be configured repeatedly.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9\\"\\n}","type":"json"}]', + 'title' => 'ModifyTrFirewallV2Configuration', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2Configuration'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2Configuration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"B36F150A-1E27-43AA-B72C-D2AC712F09DA\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Acls\\": [\\n {\\n \\"AddressListCount\\": 2,\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AutoAddTagEcs\\": 1,\\n \\"Description\\": \\"DEMO地址簿\\",\\n \\"GroupName\\": \\"demo_address_book\\",\\n \\"ReferenceCount\\": 3,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"全部VALUE\\",\\n \\"TagKey\\": \\"company\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"[ \\\\\\"192.168.XX.XX/32\\\\\\", \\\\\\"192.168.XX.XX/32\\\\\\" ]\\"\\n ],\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.168.0.1/32\\",\\n \\"Note\\": \\"单地址描述\\"\\n }\\n ],\\n \\"AckClusterConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"AckClusterConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n B36F150A-1E27-43AA-B72C-D2AC712F09DA\\n 100\\n \\n 2\\n f04ac7ce-628b-4cb7-be61-310222b7****\\n 1\\n DEMO地址簿\\n demo_address_book\\n 3\\n ip\\n and\\n \\n 全部VALUE\\n company\\n \\n [ \\"192.168.XX.XX/32\\", \\"192.168.XX.XX/32\\" ]\\n \\n","errorExample":""}]', - 'title' => 'DescribeAddressBook', - 'description' => 'You can call this operation to query the details about an address book for an access control policy.'."\n" - ."\n" - .'## [](#qps)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - 'translator' => 'machine', ], - 'AddAddressBook' => [ - 'summary' => 'Creates an address book for access control. Supported address book types are IP address books, Elastic Compute Service (ECS) tag-based address books, port address books, and domain address books. An ECS tag-based address book includes the public IP addresses of the ECS instances that have specific tags.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyTrFirewallV2RoutePolicyScope' => [ + 'summary' => 'Modifies the scope of a routing policy for a VPC firewall that is created for a Transit Router (TR).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -46746,548 +38958,307 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68093', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '142854', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AddressList', - 'in' => 'query', - 'schema' => [ - 'description' => 'The addresses that you want to add to the address book. Separate multiple addresses with commas (,).'."\n" - ."\n" - .'> If you set GroupType to `ip`, `port` or `domain`, you must specify AddressList.'."\n" - ."\n" - .'* If you set GroupType to `ip`, you must add IP addresses to the address book. Example: 192.0.XX.XX/32,192.0.XX.XX/24.'."\n" - .'* If you set GroupType to `port`, you must add port numbers or port ranges to the address book. Example: 80,100/200.'."\n" - .'* If you set GroupType to `domain`, you must add domain names to the address book. Example: example.com,aliyundoc.com.'."\n", - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '192.0.XX.XX/32, 192.0.XX.XX/24', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the address book.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'sz-001', - 'maxLength' => 256, - 'minLength' => 2, - ], - ], - [ - 'name' => 'GroupName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the address book.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'sz-001', - 'maxLength' => 128, - 'minLength' => 2, - ], - ], - [ - 'name' => 'GroupType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the address book. Valid values:'."\n" - ."\n" - .'* **ip**: IP address book'."\n" - .'* **domain**: domain address book'."\n" - .'* **port**: port address book'."\n" - .'* **tag**: ECS tag-based address book'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ip', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AutoAddTagEcs', + 'name' => 'TrFirewallRoutePolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to automatically add public IP addresses of ECS instances to the address book if the instances match the specified tags. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0** (default): no'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the routing policy.', 'type' => 'string', 'required' => true, 'example' => 'policy-4d724d0139df48f1****', 'title' => ''], ], [ - 'name' => 'TagRelation', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'The logical relation among the ECS tags that you want to match. Valid values:'."\n" - ."\n" - .'* **and** (default): Only the public IP addresses of ECS instances that match all the specified tags can be added to the address book.'."\n" - .'* **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the address book.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'and', - ], + 'schema' => ['description' => 'The ID of the TR firewall instance.', 'type' => 'string', 'required' => true, 'example' => 'vfw-tr-6520de0253bc4669****', 'title' => ''], ], [ - 'name' => 'TagList', + 'name' => 'SrcCandidateList', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'json', 'schema' => [ - 'description' => 'The ECS tags that you want to match.'."\n", + 'description' => 'The source instances.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A source instance.', 'type' => 'object', 'properties' => [ - 'TagValue' => [ - 'description' => 'The value of the ECS tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'TagKey' => [ - 'description' => 'The key of the ECS tag.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'TXY', - ], + 'CandidateId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4sha****'."\n", 'title' => ''], + 'CandidateType' => ['description' => 'The type of the instance.', 'type' => 'string', 'required' => false, 'example' => 'VPC'."\n", 'title' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'AckClusterConnectorId', - 'in' => 'query', - 'schema' => [ - 'title' => 'ACK集群连接器ID。', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab1', - ], - ], - [ - 'name' => 'AckNamespaces', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => 'ACK集群容器组命名空间列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组命名空间。', - 'type' => 'string', - 'example' => 'kube-system', - ], + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'AckLabels', + 'name' => 'DestCandidateList', 'in' => 'query', - 'style' => 'flat', + 'style' => 'json', 'schema' => [ - 'title' => 'ACK集群容器组标签列表。', + 'description' => 'The destination instances.', 'type' => 'array', 'items' => [ - 'title' => 'ACK集群容器组标签。', + 'description' => 'The sub-instance to which traffic is redirected.', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => 'ACK集群容器组标签的键。', - 'type' => 'string', - 'example' => 'app', - ], - 'Value' => [ - 'title' => 'ACK集群容器组标签的值。', - 'type' => 'string', - 'example' => 'storage-operator', - ], + 'CandidateId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4uzi****'."\n", 'title' => ''], + 'CandidateType' => ['description' => 'The type of the instance.', 'type' => 'string', 'required' => false, 'example' => 'VPC', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'ShouldRecover', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to restore the traffic redirection configuration. Valid values:'."\n" + ."\n" + .'- true: Rolls back the routes.'."\n" + ."\n" + .'- false: Revokes the routes.', 'type' => 'string', 'required' => false, 'example' => 'false', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'GroupUuid' => [ - 'description' => 'The UUID of the returned address book.'."\n", - 'type' => 'string', - 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****', - ], + 'TrFirewallRoutePolicyId' => ['description' => 'The ID of the routing policy.', 'type' => 'string', 'example' => 'policy-4d724d0139df48f1****', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'E7D4D635-0C70-5CEB-A609-851E94D51FBB', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersGroupType', - 'errorMessage' => 'The group type is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersGroupAddress', - 'errorMessage' => 'The IP address of the address group is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorAddressGroupExist', - 'errorMessage' => 'The address group already exists.', - ], - [ - 'errorCode' => 'ErrorParamDomain', - 'errorMessage' => 'The parameter Domain is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupCountExceed', - 'errorMessage' => 'The maximum number of address group is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorParametersTagKey', - 'errorMessage' => 'The tag key is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersTagList', - 'errorMessage' => 'The tag list is invalid.', - ], - [ - 'errorCode' => 'ErrorTagCountExceed', - 'errorMessage' => 'The maximum number of tag is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersTagRelation', - 'errorMessage' => 'The tag relation is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersGroupPort', - 'errorMessage' => 'The group port is invalid.', - ], - [ - 'errorCode' => 'ErrorPortCountExceed', - 'errorMessage' => 'The maixmum number of port in the group is exceeded.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorBusy', - 'errorMessage' => 'The ACK cluster connector is operating.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => 'The authentication failed.'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => 'No data found.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorPolicySrcAndDestConflict', 'errorMessage' => 'Policy has same destination candidate as source candidtes.', 'description' => 'The main drainage instance conflicts with the sub-drainage instance in the drainage template.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorTrFirewallEndToEndTrToAll', 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', 'description' => 'Parameter error. In point-to-multipoint scenarios, the TR instance does not support ALL configuration.'], + ['errorCode' => 'ErrorCannotEditRoutePolicyWhenClose', 'errorMessage' => 'Can not edit route policy when policy closed.', 'description' => 'Cannot update a drainage template when a firewall drainage template is created, deleted, or closed.'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => 'The firewall cannot be operated. The firewall is in an updated state. Please check whether any drainage templates are being created, deleted, updated, opened or closed.'], + ['errorCode' => 'ErrorIllegalRoutePolicyScopeUpdate', 'errorMessage' => 'Can not update policy scope.', 'description' => 'The peer-to-peer scenario cannot be configured to update the drainage template range.'], + ['errorCode' => 'ErrorCannotEditToAllPolicy', 'errorMessage' => 'Can not modify policy scope for policy contains All type candidate.', 'description' => 'You cannot edit a drainage template that contains an ALL type.'], + ['errorCode' => 'ErrorCandidateNoRouteTable', 'errorMessage' => 'Please attach candidate with transit router before create routing template.', 'description' => 'Before creating a drainage template, bind the drainage instance to a routing table of a forwarding router.'], + ['errorCode' => 'ErrorTrFirewallRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has route map conflict.', 'description' => 'The CEN routing table and the cloud firewall have routing policy conflicts.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', 'errorMessage' => 'Cen TR firewall do not support prefix list.', 'description' => 'Cloud Firewall of CEN Enterprise Edition does not support prefix lists.'], + ['errorCode' => 'ErrorCandidateHasStaticRoute', 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', 'description' => 'There are custom routes in the routing table of the forwarding router bound to the drainage instance. Cloud Firewall does not support this type of drainage instance. Delete the corresponding route and try again.'], + ['errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', 'errorMessage' => 'There are routes conflict in transit router route table.Please resolve route conflict before create route policy.', 'description' => 'There is a routing conflict in the routing table of the forwarding router. Resolve the routing conflict before creating a firewall drainage scenario.'], + ['errorCode' => 'ErrorTrFwVswCidrConflict', 'errorMessage' => 'Illegal tr firewall cidr configuration.', 'description' => 'Tr firewall configuration network segment is invalid.'], + ['errorCode' => 'ErrorFirewallCandidateReference', 'errorMessage' => 'Firewall Candidate referrence count greater than one.', 'description' => 'Drainage instances exist in multiple drainage scenarios.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', 'description' => 'TR firewall cannot only contain both ECR and TR.'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => ''], + ['errorCode' => 'ErrorTrFirewallEcmpRoute', 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', 'description' => 'The next hop of the CEN medium-price route must be added to the cloud firewall drainage scenario at the same time.'], + ['errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', 'description' => 'if a routing policy of the old version of cen enterprise edition with a priority of 5000 exists, contact after-sales service to update the routing policy.'], + ['errorCode' => 'ErrorCandidateHasIPv6Route', 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', 'description' => 'Cloud Enterprise Network TR Enterprise Firewall does not support Ipv6 routing'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n f04ac7ce-628b-4cb7-be61-310222b7****\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\n","errorExample":""}]', - 'title' => 'AddAddressBook', - 'description' => 'You can call the AddAddressBook operation to create an address book for access control. The address book can be an IP address book, an ECS tag-based address book, a port address book, or a domain address book.'."\n" - ."\n" - .'## [](#qps)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => 'All Alibaba Cloud API requests must include common request parameters. For more information about common request parameters, see [Common request parameters](~~94763~~). For more information about sample requests, see the "**Examples**" section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyAddressBook' => [ - 'summary' => 'Modifies the address book that is specified in an access control policy.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyTrFirewallV2RoutePolicyScope', + 'description' => 'You can modify the policy scope for *point-to-multipoint* and *multipoint-to-multipoint* scenarios, but not for *point-to-point* scenarios.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2RoutePolicyScope'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2RoutePolicyScope', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-4d724d0139df48f1****\\",\\n \\"RequestId\\": \\"E7D4D635-0C70-5CEB-A609-851E94D51FBB\\"\\n}","type":"json"}]', + ], + 'ModifyUserAlarmConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68460', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '68489', + 'abilityTreeNodes' => ['FEATUREcfwHNNY65'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => 'Source IP address of the requester.', 'type' => 'string', 'required' => false, 'example' => '117.129.64.XXX', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AddressList', - 'in' => 'query', - 'schema' => [ - 'description' => 'The addresses in the address book. Separate multiple addresses with commas (,). If you set GroupType to **ip**, **port**, or **domain**, you must specify this parameter.'."\n" - ."\n" - .'* If you set GroupType to **ip**, you must specify IP addresses for the address book. Example: 1.2.XX.XX/32,1.2.XX.XX/24.'."\n" - .'* If you set GroupType to **port**, you must specify port numbers or port ranges for the address book. Example: 80/80,100/200.'."\n" - .'* If you set GroupType to **domain**, you must specify domain names for the address book. Example: demo1.aliyun.com,demo2.aliyun.com.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/32, 192.0.XX.XX/24', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the address book.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'bj-001', - 'maxLength' => 256, - 'minLength' => 2, - ], - ], - [ - 'name' => 'GroupName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the address book.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'bj-001', - 'maxLength' => 128, - 'minLength' => 2, - ], - ], - [ - 'name' => 'GroupUuid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the address book.'."\n" - ."\n" - .'> To modify the address book, you must provide the ID of the address book. You can call the [DescribeAddressBook](~~138869~~) operation to query the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****', - ], - ], - [ - 'name' => 'AutoAddTagEcs', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to automatically add public IP addresses of Elastic Compute Service (ECS) instances to the address book if the instances match the specified tags. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Language used for requests and responses.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'TagRelation', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The logical relationship among ECS tags. Valid values:'."\n" - ."\n" - .'* **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the address book.'."\n" - .'* **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the address book.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'and', - ], + 'schema' => ['description' => 'Language used for requests and responses.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'TagList', + 'name' => 'AlarmConfig', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => 'The ECS tags that you want to match.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'TagValue' => [ - 'description' => 'The value of ECS tag N that you want to match.'."\n", + 'AlarmValue' => [ + 'description' => 'Alert notification message.', + 'enumValueTitles' => [], 'type' => 'string', 'required' => false, - 'example' => '1', + 'example' => 'on', + 'title' => '', + ], + 'AlarmType' => [ + 'description' => 'Alarm metric.', + 'enumValueTitles' => ['weeklyReport' => 'weeklyReport', 'trafficPreAlert' => 'trafficPreAlert', 'outgoingRiskAll' => 'outgoingRiskAll', 'ipsMiddlethreat' => 'ipsMiddlethreat', 'bandwidth' => 'bandwidth', 'ipsHighthreat' => 'ipsHighthreat', 'outgoingRiskNonWhite' => 'outgoingRiskNonWhite', 'ipsIgnoreResolved' => 'ipsIgnoreResolved'], + 'type' => 'string', + 'required' => false, + 'example' => 'bandwidth', + 'title' => '', + ], + 'AlarmPeriod' => [ + 'description' => 'Alert period.', + 'enumValueTitles' => ['8:00\\~20:00', '24 hours'], + 'type' => 'string', + 'required' => false, + 'example' => '0', + 'title' => '', ], - 'TagKey' => [ - 'description' => 'The key of ECS tag N that you want to match.'."\n", + 'AlarmHour' => ['description' => 'Hour for alert notifications.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], + 'AlarmNotify' => [ + 'description' => 'Notification method.', + 'enumValueTitles' => ['sms/email', 'sms', 'email', 'none'], 'type' => 'string', 'required' => false, - 'example' => 'TXY', + 'example' => '0', + 'title' => '', ], + 'AlarmWeekDay' => ['description' => 'Day of the week for alert notifications.', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], ], + 'description' => 'Alert configuration.', 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, + 'required' => true, 'maxItems' => 100, + 'description' => 'Alert configuration.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ModifyMode', + 'name' => 'ContactConfig', 'in' => 'query', - 'allowEmptyValue' => false, + 'allowEmptyValue' => true, + 'style' => 'json', 'schema' => [ - 'description' => 'Modification mode with the following values:'."\n" - ."\n" - .'- **Cover**: Use the value of the AddressList parameter to overwrite the original address book.'."\n" - .'- **Append**: After the original address book, append addresses using the value of the AddressList parameter.'."\n" - .'- **Delete**: Delete addresses using the value of the AddressList parameter from the address book.'."\n" - ."\n" - .'>When GroupType is **ip**, **ipv6**, **port**, or **domain**, if this parameter is not configured, the default is to use the **Cover** method to modify the address book.'."\n" - .'>When GroupType is **tag**, this parameter must be empty.', - 'type' => 'string', - 'required' => false, - 'example' => 'Cover', - 'enum' => [ - 'Cover', - 'Append', - 'Delete', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'Alert status.', + 'enumValueTitles' => ['shutdown', 'enabled'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'title' => '', + ], + 'Email' => ['description' => 'Mailbox.', 'type' => 'string', 'required' => false, 'example' => '91632****@qq.com', 'title' => ''], + 'MobilePhone' => ['description' => 'Mobile number.', 'type' => 'string', 'required' => false, 'example' => '1351234****'."\n", 'title' => ''], + 'Name' => ['description' => 'Alert notification recipient.', 'type' => 'string', 'required' => false, 'example' => 'Ben', 'title' => ''], + ], + 'description' => 'Contact configuration.', + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'maxItems' => 100, + 'description' => 'Contact configuration.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'AckNamespaces', + 'name' => 'AlarmLang', 'in' => 'query', - 'style' => 'flat', + 'allowEmptyValue' => true, 'schema' => [ - 'title' => 'ACK集群容器组命名空间列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组命名空间。', - 'type' => 'string', - 'example' => 'default', - ], + 'description' => 'Language for message notifications.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], + 'type' => 'string', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'AckLabels', + 'name' => 'UseDefaultContact', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => 'ACK集群容器组标签列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组标签。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => 'ACK集群容器组标签的键。', - 'type' => 'string', - 'example' => 'app', - ], - 'Value' => [ - 'title' => 'ACK集群容器组标签的值。', - 'type' => 'string', - 'example' => 'storage-operator', - ], - ], - ], - ], + 'schema' => ['description' => 'Use default contact method.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -47295,252 +39266,222 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['description' => 'Request ID of the response.', 'type' => 'string', 'example' => '3B168A0F-A43D-5FD0-8059-B51BDD6E****', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersGroupAddress', - 'errorMessage' => 'The IP address of the address group is invalid.', - ], - [ - 'errorCode' => 'ErrorParamDomain', - 'errorMessage' => 'The parameter Domain is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParametersGroupPort', - 'errorMessage' => 'The group port is invalid.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorAddressGroupExist', - 'errorMessage' => 'The address group already exists.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorParametersAddressGroupAddressNotFound', - 'errorMessage' => 'The address to be deleted does not exist in the address book.', - ], - [ - 'errorCode' => 'InvalidParameter.AddressBook.AddressDuplicate', - 'errorMessage' => 'The address book address %s is already exist.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorBusy', - 'errorMessage' => 'The ACK cluster connector is operating.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersAlarmConfig', 'errorMessage' => 'invalid alarmConfig.', 'description' => 'The value of the AlarmConfig parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorParametersNotifyConfig', 'errorMessage' => 'invalid notifyConfig.', 'description' => 'The value of the NotifyConfig parameter is invalid.'], + ['errorCode' => 'ErrorParamSms', 'errorMessage' => 'invalid sms number.', 'description' => 'The specified mobile number used to receive text messages is invalid.'], + ['errorCode' => 'ErrorParamEmail', 'errorMessage' => 'invalid email address.', 'description' => 'The email address is invalid.'], + ['errorCode' => 'ErrorParamCountExceed', 'errorMessage' => 'sms or email count exceed.', 'description' => 'The number of addresses exceeds the upper limit.'], + ['errorCode' => 'ErrorDBDeleteError', 'errorMessage' => 'A database delete error occurred.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql update.', 'description' => 'An error occurred. Try again later.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'internal error: sql insert.', 'description' => 'Request error, database insert failed'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => 'ModifyAddressBook', - 'description' => 'You can call the ModifyAddressBook operation to modify the address book that is configured for access control. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~94763~~).'."\n" - ."\n" - .'For more information about sample requests, see the "**Examples**" section of this topic.', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteAddressBook' => [ - 'summary' => 'Deletes an address book for access control.', - 'methods' => [ - 'post', - 'get', + 'title' => 'ModifyUserAlarmConfig', + 'summary' => 'Modifies user alert configuration.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B168A0F-A43D-5FD0-8059-B51BDD6E****\\"\\n}","type":"json"}]', + ], + 'ModifyUserIPSWhitelist' => [ + 'summary' => 'Modifies the intrusion prevention system (IPS) whitelist for the Internet Border.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68139', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '68490', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the visitor.', 'title' => '', 'example' => '47.100.XX.XX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", 'type' => 'string', 'required' => false, - 'example' => '192.0.XX.XX', - 'deprecated' => true, + 'description' => 'The language.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], + 'title' => '', + 'example' => 'zh', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The natural language of the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", 'type' => 'string', 'required' => false, + 'description' => 'The language.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], + 'title' => '', 'example' => 'zh', ], ], [ - 'name' => 'GroupUuid', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => 'The ID of the address book.'."\n" - ."\n" - .'To delete the address book, you must provide the ID of the address book. You can call the DescribeAddressBook operation to query the ID.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => 'The traffic direction for the Internet Border.', + 'enumValueTitles' => [1 => 'inbound', 'outbound'], + 'title' => '', + 'example' => '1', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'WhiteType', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', - ], - ], + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => 'The type of source or destination for which the Internet Border whitelist takes effect.', + 'enumValueTitles' => [1 => 'Destination IP address whitelist', 'Source IP address whitelist'], + 'title' => '', + 'example' => '2', ], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressGroupReference', - 'errorMessage' => 'The address group is in use and cannot be deleted.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', + [ + 'name' => 'ListType', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'description' => 'The type of address in the Internet Border whitelist.', + 'enumValueTitles' => ['Not configured', 'Custom', 'Address book'], + 'title' => '', + 'example' => '2', ], ], [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', + 'name' => 'ListValue', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The value of the Internet Border whitelist.'."\n" + ."\n" + .'- If ListType is set to `Custom`: the name of the address book.'."\n" + ."\n" + .'- If ListType is set to `Address book`: the IPv4 address.', 'title' => '', 'example' => '115.236.36.114/32'], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'description' => 'The IP version.', + 'required' => false, + 'enumValueTitles' => ['ipv4' => 'IPv4', 'ipv6' => 'IPv6'], + 'title' => '', + 'example' => 'ipv4', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'description' => 'The request ID.', 'title' => '', 'example' => '36E89955-1E5D-5810-970C-74646F378085'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => 'Invalid Aliuid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'Internal error: sql delete.', 'description' => 'Internal error: SQL delete operation'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorParametersWhitelistIP', 'errorMessage' => 'Invalid whitelistIp.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => ''], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => 'An error occurred. Try again later.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', - 'title' => 'DeleteAddressBook', - 'description' => 'You can call the DeleteAddressBook operation to delete an address book for access control. '."\n" + 'title' => 'ModifyUserIPSWhitelist', + 'description' => '## QPS limit'."\n" ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => 'All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see [Common parameters](~~94763#concept-aw3-bc2-pfb~~ "This topic describes the common parameters for API operations provided by Cloud Firewall.").'."\n" - ."\n" - .'For more information about sample requests, see the **Examples** section of this topic.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeAccessInstanceRegionList' => [ - 'summary' => '查询接入实例地域列表', - 'methods' => [ - 'get', + .'This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled. This can affect your business. We recommend that you call the API at a reasonable rate.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"36E89955-1E5D-5810-970C-74646F378085\\"\\n}","type":"json"}]', + ], + 'ModifyUserSlsLogStorageTime' => [ + 'summary' => 'Modifies the retention period of user logs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47549,1080 +39490,995 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '235038', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68491', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceStatus', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ready', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'vipcloudfw-cn-uqm3fz****', 'title' => ''], ], [ - 'name' => 'AccessInstanceType', + 'name' => 'StorageTime', + 'in' => 'query', + 'schema' => ['description' => 'The retention period, in days.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '180', 'title' => ''], + ], + [ + 'name' => 'LogVersion', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The log version.', + 'enumValueTitles' => [1 => 'Legacy format: delivers logs to a single Logstore.', 'New format: delivers logs to two Logstores.'], + 'type' => 'integer', + 'format' => 'int32', + 'docRequired' => false, + 'example' => '1', + 'default' => '1', + 'enum' => ['1', '2'], + 'title' => '', 'required' => false, - 'enumValueTitles' => [ - 'AckClusterConnector' => '', - 'PrivateDns' => '', - ], - 'example' => 'AckClusterConnector', ], ], + [ + 'name' => 'SlsRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of Log Service (SLS).', 'type' => 'string', 'example' => 'ap-southeast-1', 'title' => '', 'required' => false], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'RegionNoList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', 'title' => ''], ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionNoList\\": [\\n \\"cn-beijing\\"\\n ]\\n}","type":"json"}]', - ], - 'DescribeAccessInstanceTask' => [ - 'summary' => '查询接入实例任务', - 'methods' => [ - 'get', + 'title' => 'ModifyUserSlsLogStorageTime', + 'description' => '## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 per user. Calls that exceed this limit are rate-limited, which may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserSlsLogStorageTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', + ], + 'ModifyVpcFirewallAclEngineMode' => [ + 'summary' => 'Modifies the ACL engine mode for a VPC firewall.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226332', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pdi-3bc2f91695ee48bd9377', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], - [ - 'name' => 'Lang', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The UID of the Cloud Firewall member account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'task-c92d4544ef7b6a42', - ], + 'schema' => ['description' => 'The instance ID of the VPC border firewall.', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], ], [ - 'name' => 'AccessInstanceType', + 'name' => 'StrictMode', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'AckClusterConnector' => '', - 'PrivateDNS' => '', - ], - 'example' => 'AckClusterConnector', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => 'Specifies whether to enable strict mode.'."\n" + ."\n" + .'- 1: strict mode'."\n" + ."\n" + .'- 0: loose mode', 'type' => 'string', 'required' => true, 'example' => '0', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'IsFound' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'TaskStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'running', - ], - 'TaskName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3c9d576f-fce0-4caa-9116-15033509bdb6', - ], - 'TaskStartTimestamp' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '17151361285', - ], - 'TaskFinishTimestamp' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '17151381075', - ], - 'TaskSteps' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'StepName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'StepStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'finished', - ], - 'StepProgress' => [ - 'description' => '', - 'type' => 'string', - 'example' => '100%', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'B14757D0-4640-4B44-AC67-7F558F****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"IsFound\\": true,\\n \\"TaskStatus\\": \\"running\\",\\n \\"TaskName\\": \\"创建ACK集群连接器\\",\\n \\"TaskId\\": \\"3c9d576f-fce0-4caa-9116-15033509bdb6\\",\\n \\"TaskStartTimestamp\\": 17151361285,\\n \\"TaskFinishTimestamp\\": 17151381075,\\n \\"TaskSteps\\": [\\n {\\n \\"StepName\\": \\"获取ACK集群信息\\",\\n \\"StepStatus\\": \\"finished\\",\\n \\"StepProgress\\": \\"100%\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeAccessInstanceVpcList' => [ - 'summary' => '查询接入实例VPC列表', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ModifyVpcFirewallAclEngineMode', + 'description' => '## QPS limit'."\n" + ."\n" + .'This API is limited to 10 queries per second (QPS) per user. Calls that exceed this limit are throttled. This may affect your business. Plan your API calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallAclEngineMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', + ], + 'ModifyVpcFirewallCenConfigure' => [ + 'summary' => 'Modifies the configuration of a VPC firewall that protects traffic between network instances in a Cloud Enterprise Network (CEN) and a specified VPC.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '235040', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68493', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'MemberUid', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall.'."\n" + ."\n" + .'> You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance IDs of VPC firewalls.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'PageNo', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'Test instance'], ], [ - 'name' => 'PageSize', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The UID of the member account of the current Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '258039427902****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'VpcList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2ze1t4irqj0fljlbb****'."\n", - ], - 'VpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Cloud_Firewall_VPC', - ], - 'FirewallVpc' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorVpcFirewallIdNotFound', 'errorMessage' => 'The VPC firewall ID is not found.', 'description' => 'The VPC firewall ID is not found.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'The region is invalid.', 'description' => 'The region is invalid.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => 'The ID of the firewall is invalid.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => 'Firewall name error, please re-enter.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => 'The firewall is already configured and cannot be configured repeatedly.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => 'The specified VPC firewall does not exist. Select another one.'], + ['errorCode' => 'ErrorFirewallStatusCannotModify', 'errorMessage' => 'Current firewall status, configuration not allowed', 'description' => 'You cannot configure the firewall because the status of the firewall is invalid.'], + ['errorCode' => 'ErrorRegionNoDisable', 'errorMessage' => 'There are unsupported regions, please reselect', 'description' => 'Some regions are not supported. Specify supported regions.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2ze1t4irqj0fljlbb****\\\\n\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"FirewallVpc\\": false\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeAccessInstanceVSwitchList' => [ - 'summary' => '查询接入实例的交换机列表', - 'methods' => [ - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","type":"json"}]', + 'title' => 'ModifyVpcFirewallCenConfigure', + 'description' => 'This operation modifies the configuration of a VPC firewall. The VPC firewall protects traffic between network instances in a Cloud Enterprise Network (CEN) and a specified VPC. The network instances include VPCs, virtual border routers (VBRs), and Cloud Connect Network (CCN) instances. Before you call this operation, you must call the [CreateVpcFirewallCenConfigure](~~345772~~) operation to create a VPC firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 for a single user. If the limit is exceeded, API calls are throttled. This may affect your business. Please plan your API calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenConfigure'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + ], + 'ModifyVpcFirewallCenSwitchStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '235044', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68494', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6b5lyul0x******', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'ZoneId', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall.'."\n" + ."\n" + .'> You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the instance ID of the VPC firewall.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'VSwitchId', + 'name' => 'FirewallSwitch', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-qzeaol304m***', - ], + 'schema' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **open**: Enable.'."\n" + ."\n" + .'- **close**: Disable.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'open'], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '258039427902****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Zones' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'VSwitchList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-uf6b5lyul0x******', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-qzeaol304m***', - ], - 'VSwitchName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ManagedVSW', - ], - 'CidrBlock' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'AvailableIpAddressCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '254', - ], - 'FirewallVSwitch' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => 'The VPC firewall ID is invalid.'], + ['errorCode' => 'ErrorFirewallSwitch', 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', 'description' => 'The specified switch of the firewall is invalid. Enter another value.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => 'The ID of the firewall is invalid.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => 'The specified VPC firewall does not exist. Select another one.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorCenTRManualModifySwitchStatus', 'errorMessage' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to close it, please delete the VPC firewall.', 'description' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to disable it, please delete the VPC boundary firewall.'], + ['errorCode' => 'ErrorCenRouteMapExist', 'errorMessage' => 'cen route map is exist.', 'description' => 'Creating a VPC perimeter firewall is not allowed RouteMap it already exists. Please contact the cloud firewall after-sales technical support.'], + ['errorCode' => 'ErrorFirewallNotConfig', 'errorMessage' => 'Firewall not config', 'description' => 'The firewall is not configured.'], + ['errorCode' => 'ErrorFirewallStatusClosed', 'errorMessage' => 'firewall is already closed.', 'description' => 'The firewall is turned off.'], + ['errorCode' => 'ErrorNetworkInterfaceNotFound', 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', 'description' => 'The NIC of the firewall is invalid. Check the parameter.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], + ['errorCode' => 'ErrorFirewallVSwitchCidrConflict', 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', 'description' => 'Firewall switch network segment conflicts with business network segment'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 1,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Zones\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VSwitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"VSwitchId\\": \\"vsw-qzeaol304m***\\",\\n \\"VSwitchName\\": \\"ManagedVSW\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"AvailableIpAddressCount\\": 254,\\n \\"FirewallVSwitch\\": false\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeAccessInstanceZoneList' => [ - 'summary' => '查询接入实例支持的可用区列表', - 'methods' => [ - 'get', + 'title' => 'ModifyVpcFirewallCenSwitchStatus', + 'summary' => 'Modifies the status of a VPC firewall that protects traffic between network instances in a Cloud Enterprise Network (CEN) and a specified VPC.', + 'description' => 'This operation modifies the status of a VPC firewall. The firewall protects traffic between network instances in a Cloud Enterprise Network (CEN) and a specified Virtual Private Cloud (VPC). The network instances include VPCs, Virtual Border Routers (VBRs), and Cloud Connect Network (CCN) instances. If the firewall is enabled, it protects traffic between the network instances in the CEN and the specified VPC. If the firewall is disabled, it no longer protects this traffic.'."\n" + ."\n" + .'Before you call this operation, you must create a VPC firewall by calling the [CreateVpcFirewallCenConfigure](~~345772~~) operation.'."\n" + ."\n" + .'## Limits'."\n" + ."\n" + .'This operation is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled. Throttling may affect your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenSwitchStatus'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","type":"json"}]', + ], + 'ModifyVpcFirewallConfigure' => [ + 'summary' => 'Modifies the configuration of a VPC firewall that protects traffic between two VPCs connected by an Express Connect circuit.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '235042', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68495', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The instance ID of the VPC firewall.'."\n" + ."\n" + .'> Call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****', 'title' => ''], ], [ - 'name' => 'AccessInstanceType', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'AckClusterConnector' => '', - 'PrivateDNS' => '', - ], - 'example' => 'AckClusterConnector', - ], + 'schema' => ['description' => 'The instance name of the VPC firewall.', 'type' => 'string', 'required' => true, 'example' => 'test-vpc-firewall', 'title' => ''], + ], + [ + 'name' => 'LocalVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block information of the local VPC. The value is a JSON string and contains the following parameters:'."\n" + ."\n" + .'- **RouteTableId**: The ID of the route table for the local VPC.'."\n" + ."\n" + .'- **RouteEntryList**: The route entries for the local VPC. This parameter is a JSON string that contains DestinationCidr (the destination CIDR block of the local VPC) and NextHopInstanceId (the ID of the next hop instance for the local VPC).'."\n" + ."\n" + .'> Call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR block information of the local VPC for the VPC firewall.', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', 'title' => ''], + ], + [ + 'name' => 'PeerVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => 'The CIDR block information of the peer VPC. The value is a JSON string and contains the following parameters:'."\n" + ."\n" + .'- **RouteTableId**: The ID of the route table for the peer VPC.'."\n" + ."\n" + .'- **RouteEntryList**: The route entries for the peer VPC. This parameter is a JSON string that contains DestinationCidr (the destination CIDR block of the peer VPC) and NextHopInstanceId (the ID of the next hop instance for the peer VPC).'."\n" + ."\n" + .'> Call the [DescribeVpcFirewallDetail](~~342892~~) operation to query the CIDR block information of the peer VPC for the VPC firewall.', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', 'title' => ''], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'example' => '258039427902****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '31306819-C4BC-56F3-BBE6-*****', - ], - 'ZoneList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - ], - 'Zones' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'LocalName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', 'description' => 'The specified VPC firewall does not exist. Enter another value.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => 'An error occurred while decoding JSON.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => 'The ID of the firewall is invalid.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => 'Firewall name error, please re-enter.'], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The destination CIDR block is invalid.', 'description' => 'The specified destination CIDR block is invalid. Enter another value.'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => 'The destination CIDR block is not specified. The firewall cannot be created.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => 'The firewall is already configured and cannot be configured repeatedly.'], + ['errorCode' => 'ErrorFirewallStatusCannotModify', 'errorMessage' => 'Current firewall status, configuration not allowed', 'description' => 'You cannot configure the firewall because the status of the firewall is invalid.'], + ['errorCode' => 'ErrorSameCidrIp', 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'description' => 'The CIDR block is already in use. Specify another CIDR block.'], + ['errorCode' => 'ErrorCustomRouteEntryMax', 'errorMessage' => 'The number of target network segments exceeds the maximum limit. Please reduce the number of network segments', 'description' => 'The number of destination CIDR blocks exceeds the upper limit. Reduce the number of CIDR blocks.'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Cidr ip format error.', 'description' => 'CIDR format error, please re-select'], + ['errorCode' => 'ErrorCidrIpAddress', 'errorMessage' => 'Target network segment error, please reselect', 'description' => 'The destination CIDR block is invalid. Specify another value.'], + ['errorCode' => 'ErrorRouteTableIdNotFound', 'errorMessage' => 'Route table id not found.', 'description' => 'Routing table ID not found'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","type":"json"}]', + 'title' => 'ModifyVpcFirewallConfigure', + 'description' => 'This operation modifies the configuration of a VPC firewall that protects traffic between two VPCs connected by an Express Connect circuit. Before you call this operation, you must create a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second for each user. If the number of calls per second exceeds the limit, throttling is triggered. Throttling may affect your business. You should plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallConfigure'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\",\\n \\"ZoneList\\": [\\n \\"cn-beijing-g\\"\\n ],\\n \\"Zones\\": [\\n {\\n \\"LocalName\\": \\"北京 可用区G\\",\\n \\"ZoneId\\": \\"cn-beijing-g\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeAckClusters' => [ - 'summary' => '查询阿里云K8S容器服务(ACK)集群,查询符合条件的ACK集群(例如指定集群类型、集群规格)列表信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifyVpcFirewallControlPolicy' => [ + 'summary' => 'Modifies the configuration of an access control policy for a specified VPC firewall policy group.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'update', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - 'FEATUREcfw0T2ZBS', - ], + 'abilityTreeCode' => '68496', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The language of the response message.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh**: Chinese (default)'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => 'The action that is performed on traffic that hits the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **accept**: allows the traffic.'."\n" + ."\n" + .'- **drop**: denies the traffic.'."\n" + ."\n" + .'- **log**: monitors the traffic.', 'type' => 'string', 'required' => false, 'example' => 'accept', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'ApplicationName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'The application type supported by the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- ANY (all application types)'."\n" + ."\n" + .'- FTP'."\n" + ."\n" + .'- HTTP'."\n" + ."\n" + .'- HTTPS'."\n" + ."\n" + .'- MySQL'."\n" + ."\n" + .'- SMTP'."\n" + ."\n" + .'- SMTPS'."\n" + ."\n" + .'- RDP'."\n" + ."\n" + .'- VNC'."\n" + ."\n" + .'- SSH'."\n" + ."\n" + .'- Redis'."\n" + ."\n" + .'- MQTT'."\n" + ."\n" + .'- MongoDB'."\n" + ."\n" + .'- Memcache'."\n" + ."\n" + .'- SSL', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'HTTP', 'title' => ''], ], [ - 'name' => 'PageNo', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'ClusterId', + 'name' => 'DestPort', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', - ], + 'schema' => ['description' => 'The destination port in the access control policy.', 'type' => 'string', 'required' => false, 'example' => '80', 'title' => ''], ], [ - 'name' => 'ClusterName', + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'The destination address in the access control policy.'."\n" + ."\n" + .'- If **DestinationType** is set to `net`, specify a destination CIDR block.'."\n" + ."\n" + .' Example: 10.2.3.0/24'."\n" + ."\n" + .'- If **DestinationType** is set to `group`, specify the name of a destination address book.'."\n" + ."\n" + .' Example: db\\_group'."\n" + ."\n" + .'- If **DestinationType** is set to `domain`, specify a destination domain name.'."\n" + ."\n" + .' Example: \\*.aliyuncs.com', 'type' => 'string', 'required' => false, 'example' => '10.2.X.X/XX', 'title' => ''], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **net**: destination CIDR block'."\n" + ."\n" + .'- **group**: destination address book'."\n" + ."\n" + .'- **domain**: destination domain name', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the VPC firewall instance. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the ID.'."\n" + ."\n" + .'- If the VPC firewall protects a CEN instance, the value of this parameter is the ID of the CEN instance.'."\n" + ."\n" + .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*'."\n" + ."\n" + .'- If the VPC firewall protects an Express Connect circuit, the value of this parameter is the ID of the VPC firewall instance.'."\n" + ."\n" + .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****', 'title' => ''], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => 'The protocol type for the traffic to which the access control policy applies.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- ANY (all protocol types)'."\n" + ."\n" + .'- TCP'."\n" + ."\n" + .'- UDP'."\n" + ."\n" + .'- ICMP', 'type' => 'string', 'required' => false, 'example' => 'TCP', 'title' => ''], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'The source address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- If **SourceType** is set to `net`, specify a source CIDR block.'."\n" + ."\n" + .' Example: 10.2.4.0/24'."\n" + ."\n" + .'- If **SourceType** is set to `group`, specify the name of a source address book.'."\n" + ."\n" + .' Example: db\\_group', 'type' => 'string', 'required' => false, 'example' => '10.2.X.X/XX', 'title' => ''], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the access control policy.'."\n" + ."\n" + .'To modify an access control policy, you must provide the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to query the ID.', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221a****', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **net**: source CIDR block'."\n" + ."\n" + .'- **group**: source address book', 'type' => 'string', 'required' => false, 'example' => 'net', 'title' => ''], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination port for the traffic to which the access control policy applies.'."\n" + ."\n" + .'- **port**: port'."\n" + ."\n" + .'- **group**: port address book', 'type' => 'string', 'required' => false, 'example' => 'port', 'title' => ''], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => 'The name of the destination port address book for the traffic to which the access control policy applies.', 'type' => 'string', 'required' => false, 'example' => 'my_port_group', 'title' => ''], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => 'The status of the access control policy. By default, an access control policy is enabled after it is created. Valid values:'."\n" + ."\n" + .'- **true**: enables the access control policy.'."\n" + ."\n" + .'- **false**: disables the access control policy.', 'type' => 'string', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'ApplicationNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of application names.', + 'type' => 'array', + 'items' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'example' => '["ANY"]', 'title' => ''], 'required' => false, - 'example' => 'ack-cluster-name', + 'maxItems' => 30, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ClusterSpec', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The recurrence type for the policy to take effect. Valid values:'."\n" + ."\n" + .'- **Permanent** (default): The policy is always in effect.'."\n" + ."\n" + .'- **None**: The policy takes effect for a specific period of time.'."\n" + ."\n" + .'- **Daily**: The policy takes effect daily.'."\n" + ."\n" + .'- **Weekly**: The policy takes effect weekly.'."\n" + ."\n" + .'- **Monthly**: The policy takes effect monthly.', + 'enumValueTitles' => ['Daily' => 'The policy takes effect daily.', 'Monthly' => 'The policy takes effect monthly.', 'Permanent' => 'The policy is always in effect.', 'Weekly' => 'The policy takes effect weekly.', 'None' => 'The policy takes effect for a specific period of time.'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'ack.pro.small' => '', - ], - 'example' => 'ack.pro.small', + 'example' => 'Permanent', + 'title' => '', ], ], [ - 'name' => 'ConnectorStatus', + 'name' => 'RepeatDays', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The days of a week or month on which the policy takes effect.'."\n" + ."\n" + .'- If RepeatType is set to \\`Permanent\\`, \\`None\\`, or \\`Daily\\`, this parameter is empty.'."\n" + .' Example: \\[]'."\n" + ."\n" + .'- If RepeatType is set to \\`Weekly\\`, this parameter cannot be empty.'."\n" + .' Example: \\[0, 6]'."\n" + ."\n" + .'> If RepeatType is set to \\`Weekly\\`, the elements in the array cannot be repeated.'."\n" + ."\n" + .'- If RepeatType is set to \\`Monthly\\`, this parameter cannot be empty.'."\n" + .' Example: \\[1, 31]'."\n" + ."\n" + .'> If RepeatType is set to \\`Monthly\\`, the elements in the array cannot be repeated.', + 'type' => 'array', + 'items' => ['description' => 'The day of a week or month on which the policy takes effect.'."\n" + ."\n" + .'> If RepeatType is set to \\`Weekly\\`, valid values are 0 to 6. The week starts on Sunday.'."\n" + .'> If RepeatType is set to \\`Monthly\\`, valid values are 1 to 31.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], 'required' => false, - 'example' => 'ready', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the recurrence. The time is in the HH:mm format. The time is on the hour or on the half hour, and is at least 30 minutes earlier than the end time. Example: 08:00.'."\n" + ."\n" + .'> If RepeatType is set to \\`Permanent\\` or \\`None\\`, this parameter is empty. If RepeatType is set to \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, you must specify this parameter.', 'type' => 'string', 'required' => false, 'example' => '08:00', 'title' => ''], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the recurrence. The time is in the HH:mm format. The time is on the hour or on the half hour, and is at least 30 minutes later than the start time. Example: 23:30.'."\n" + ."\n" + .'> If RepeatType is set to \\`Permanent\\` or \\`None\\`, this parameter is empty. If RepeatType is set to \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, you must specify this parameter.', 'type' => 'string', 'required' => false, 'example' => '23:30', 'title' => ''], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the policy validity period. The value is a UNIX timestamp. The time is on the hour or on the half hour, and is at least 30 minutes earlier than the end time.'."\n" + ."\n" + .'> If RepeatType is set to \\`Permanent\\`, this parameter is empty. If RepeatType is set to \\`None\\`, \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, you must specify this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200', 'title' => ''], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the policy validity period. The value is a UNIX timestamp. The time is on the hour or on the half hour, and is at least 30 minutes later than the start time.'."\n" + ."\n" + .'> If RepeatType is set to \\`Permanent\\`, this parameter is empty. If RepeatType is set to \\`None\\`, \\`Daily\\`, \\`Weekly\\`, or \\`Monthly\\`, you must specify this parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800', 'title' => ''], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => 'The domain name resolution method for the access control policy. Valid values:'."\n" + ."\n" + .'- **FQDN**: based on Fully Qualified Domain Name (FQDN)'."\n" + ."\n" + .'- **DNS**: based on dynamic DNS resolution'."\n" + ."\n" + .'- **FQDN\\_AND\\_DNS**: based on FQDN and dynamic DNS resolution', 'type' => 'string', 'required' => false, 'example' => 'FQDN', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Clusters' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '135809047715****', - ], - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ClusterId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', - ], - 'ClusterName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'ClusterType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'ExternalKubernetes' => '', - 'ManagedKubernetes' => '', - 'Kubernetes' => '', - ], - 'example' => 'ManagedKubernetes', - ], - 'Profile' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Lingjun' => '', - 'Serverless' => '', - 'Default' => '', - 'Edge' => '', - ], - 'example' => 'Default', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2vcg932hsxsxuqbgl****', - ], - 'Network' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'terway-eniip' => 'Terway-eniip', - 'Flannel' => 'Flannel', - ], - 'example' => 'terway-eniip', - ], - 'ClusterSpec' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'ack.pro.small' => '', - ], - 'example' => 'ack.pro.small', - ], - 'State' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'running' => '', - 'scaling' => '', - 'stopped' => '', - 'upgrading' => '', - 'updating' => '', - 'deleting' => '', - 'deleted' => '', - 'initial' => '', - 'draining' => '', - 'delete_failed' => '', - 'failed' => '', - 'removing' => '', - ], - 'example' => 'running', - ], - ], - ], - ], - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - [ - 'errorCode' => 'ErrorAckNotOpen', - 'errorMessage' => 'ACK service is not open.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'ACL rule is not allowed to update status when effective is not permanent.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => 'FTP application is not supported when the policy destination is a domain name'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => 'Specified parameter ApplicationName is not valid.'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => 'Specified parameter ApplicationNameList is not valid.'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => 'Specified parameter AclUuid is not valid.'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => 'The address group does not exist.'], + ['errorCode' => 'ErrorParametersVpcFirewallId', 'errorMessage' => 'Specified parameter VpcFirewallId is not valid.', 'description' => 'Specified parameter VpcFirewallId is not valid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + 'title' => 'ModifyVpcFirewallControlPolicy', + 'description' => 'This operation modifies the configuration of an access control policy for a specified VPC firewall policy group. VPC firewall instances use different access control policies to protect Cloud Enterprise Network (CEN) instances and Express Connect circuits.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 for a single user. If the number of calls to this operation per second exceeds the limit, rate limiting is triggered. This may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicy'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Clusters\\": [\\n {\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"ClusterType\\": \\"ManagedKubernetes\\",\\n \\"Profile\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-2vcg932hsxsxuqbgl****\\",\\n \\"Network\\": \\"terway-eniip\\",\\n \\"ClusterSpec\\": \\"ack.pro.small\\",\\n \\"State\\": \\"running\\"\\n }\\n ],\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"TotalCount\\": 1\\n}","type":"json"}]', ], - 'DescribeAckClusterConnectors' => [ - 'summary' => '批量查询ACK集群连接器列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifyVpcFirewallControlPolicyPosition' => [ + 'summary' => 'Modifies the priority of an access control policy in a policy group for a VPC firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - 'FEATUREcfw0T2ZBS', - ], + 'abilityTreeCode' => '68497', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (Default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'ConnectorName', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The ID of the policy group for the VPC firewall. You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to obtain the ID.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects a Cloud Enterprise Network (CEN) instance, the ID of the policy group is the ID of the CEN instance.'."\n" + ."\n" + .' Example: cen-ervw0g12b5jbw\\*\\*\\*\\*'."\n" + ."\n" + .'- If the VPC firewall protects an Express Connect circuit, the ID of the policy group is the ID of the VPC firewall instance.'."\n" + ."\n" + .' Example: vfw-a42bbb7b887148c9\\*\\*\\*\\*', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vfw-a42bbb7b887148c9****'], ], [ - 'name' => 'VpcId', + 'name' => 'NewOrder', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6b5lyul0x******', - ], + 'schema' => ['description' => 'The new priority of the access control policy.'."\n" + ."\n" + .'> For more information about the valid range of priorities, see [DescribePolicyPriorities](~~474145~~).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1'], ], [ - 'name' => 'ClusterId', + 'name' => 'OldOrder', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '0E0C30C977463****', - ], + 'schema' => ['description' => 'The original priority of the access control policy.'."\n" + ."\n" + .'> This parameter is deprecated. Use the AclUuid parameter to specify the policy to modify.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '5'], ], [ - 'name' => 'Lang', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.'."\n" + ."\n" + .'To modify an access control policy, provide the unique ID of the policy. Call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to obtain the ID.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2746d9ff-5d7c-449d-a2a9-ccaa15fe****'], ], ], 'responses' => [ @@ -48630,222 +40486,151 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AckClusterConnectors' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'connector-7ff4df316c9a458d****', - ], - 'ConnectorName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '159663371500****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'ClusterId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'f9b9815a5280****', - ], - 'ClusterName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TestClusterA', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'PrimaryVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.2.XXX', - ], - 'StandbyVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-h', - ], - 'StandbyVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.1.XXX'."\n", - ], - 'Ttl' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'ConnectorStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'healthy', - ], - 'UnhealthyReason' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'GroupUuids' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "b84dec36-c4fc-458e-98b8-f1b5dd23****",'."\n" - .' "8015d9eb-8382-4388-b965-b92d806d****"'."\n" - .' ]', - ], - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1760493347', - ], - ], - ], - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DE****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'The AppId parameter is invalid.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'ACL rule is not allowed to update status when effective is not permanent.'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => 'The UUID is invalid.'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'The IP version is invalid.'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => 'The direction is invalid.'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => 'The source is invalid.'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => 'An error occurred while resolving the domain.'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'The Destination parameter is invalid.'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => 'The protocol is invalid.'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => 'The dst_port is invalid.'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => 'The action is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyVpcFirewallControlPolicyPosition', + 'description' => 'You can call this operation to modify the priority of an access control policy in a policy group for a VPC firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The limit on the number of queries per second (QPS) for a single user is 10. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicyPosition'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"AckClusterConnectors\\": [\\n {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"159663371500****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"f9b9815a5280****\\",\\n \\"ClusterName\\": \\"TestClusterA\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.2.XXX\\",\\n \\"StandbyVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.1.XXX\\\\n\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"指定的ACK集群不存在\\",\\n \\"GroupUuids\\": [\\n \\"[\\\\\\"b84dec36-c4fc-458e-98b8-f1b5dd23****\\\\\\",\\\\\\"8015d9eb-8382-4388-b965-b92d806d****\\\\\\"]\\"\\n ],\\n \\"CreateTime\\": \\"1760493347\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DE****\\",\\n \\"TotalCount\\": 20\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","type":"json"}]', ], - 'DescribeAckClusterConnector' => [ - 'summary' => '查询指定ACK集群连接器', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifyVpcFirewallDefaultIPSConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], + 'abilityTreeCode' => '68498', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ConnectorId', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC firewall. Valid values:'."\n" + ."\n" + .'- If the VPC firewall protects traffic between a network instance in a Cloud Enterprise Network (CEN) and a specified VPC, use the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance. You can call the [DescribeVpcFirewallCenList](~~345777~~) operation to query the IDs of CEN instances.'."\n" + .'- If the VPC firewall protects traffic between two VPCs that are connected using an Express Connect circuit, use the instance ID of the VPC firewall. You can call the [DescribeVpcFirewallList](~~342932~~) operation to query the instance IDs of VPC firewalls.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vfw-m5e7dbc4y****'], + ], + [ + 'name' => 'BasicRules', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable the basic policies. Valid values:'."\n" + ."\n" + .'- **1**: yes'."\n" + .'- **0**: no', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'EnableAllPatch', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to enable virtual patching. Valid values:'."\n" + ."\n" + .'- **1**: yes'."\n" + .'- **0**: no', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'RunMode', + 'in' => 'query', + 'schema' => ['description' => 'The mode of the intrusion prevention system (IPS). Valid values:'."\n" + ."\n" + .'- **1**: Block Mode.'."\n" + .'- **0**: monitor mode.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '0'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '258039427902****'], + ], + [ + 'name' => 'RuleClass', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The IPS rule group. Valid values:'."\n" + ."\n" + .'- **1**: Loose'."\n" + .'- **2**: Medium'."\n" + .'- **3**: Strict', 'title' => '', 'example' => '1'], ], ], 'responses' => [ @@ -48853,287 +40638,224 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AckClusterConnector' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'ConnectorName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '135809047715****'."\n", - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ClusterId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c857d908016794125883a9ee8196cba17', - ], - 'ClusterName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'Ttl' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'PrimaryVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.1.1', - ], - 'StandbyVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-h', - ], - 'StandbyVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.2.1', - ], - 'ConnectorStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '', - 'deleting' => '', - 'ready' => '', - ], - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '', - 'healthy' => '', - 'unhealthy' => '', - ], - 'example' => 'healthy', - ], - 'UnhealthyReason' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'The ACK cluster status is unavailable.', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '45E2E720-D2B4-506F-B682-1FCBE971****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '3B51B5BF-3C26-5009-ADAB-190E58DE4D6E'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'The VPC firewall ID is invalid.'], + ['errorCode' => 'ErrorParametersMemberUid', 'errorMessage' => 'invalid memberUid.', 'description' => 'Invalid memberUid.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c857d908016794125883a9ee8196cba17\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"Ttl\\": 30,\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"The ACK cluster status is unavailable.\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"45E2E720-D2B4-506F-B682-1FCBE971****\\"\\n}","type":"json"}]', - ], - 'DescribeAckClusterNamespaces' => [ - 'summary' => '查询阿里云K8S容器服务(ACK)集群命名空间', - 'methods' => [ - 'get', - 'post', + 'title' => 'ModifyVpcFirewallDefaultIPSConfig', + 'summary' => 'Modifies the intrusion prevention configuration of a VPC firewall.', + 'description' => 'You can call this operation to modify the intrusion prevention configuration of a VPC firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 per user. If the QPS limit is exceeded, API calls are throttled. This may affect your business. We recommend that you take this limit into consideration when you call this operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallDefaultIPSConfig'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B51B5BF-3C26-5009-ADAB-190E58DE4D6E\\"\\n}","type":"json"}]', + ], + 'ModifyVpcFirewallIPSWhitelist' => [ + 'summary' => 'Modifies the intrusion prevention system (IPS) whitelist for a VPC firewall.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], + 'abilityTreeCode' => '138370', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ConnectorId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => '1415189284827022'], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vfw-d7b8ce273791475b9b0b'], + ], + [ + 'name' => 'WhiteType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the whitelist. Valid values:'."\n" + ."\n" + .'- **1**: destination'."\n" + ."\n" + .'- **2**: source', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'ListType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the list. Valid values:'."\n" + ."\n" + .'- **1**: user-defined'."\n" + ."\n" + .'- **2**: address book', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1'], + ], + [ + 'name' => 'ListValue', + 'in' => 'query', + 'schema' => ['description' => 'The value that corresponds to the list type.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '10.130.0.0/20,10.130.17.11/32'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'AckNamespaces' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'default', - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8'], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAckClusterQueryClusterNamespace', - 'errorMessage' => 'Failed to query cluster namespaces.', - ], - [ - 'errorCode' => 'ErrorAckClusterNotFound', - 'errorMessage' => 'The specified resource ACK cluster is not found.', - ], - [ - 'errorCode' => 'ErrorAckNotOpen', - 'errorMessage' => 'ACK service is not open.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'The VPC firewall ID is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => 'The maximum number of address is exceeded.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorParametersWhitelistIP', 'errorMessage' => 'Invalid whitelistIp.', 'description' => 'The IP address is invalid.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => ''], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => 'An error occurred. Try again later.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyVpcFirewallIPSWhitelist', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallIPSWhitelist'], ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8\\"\\n}","type":"json"}]', ], - 'DescribeAckClusterPodLabels' => [ - 'summary' => '查询阿里云K8S容器服务(ACK)集群标签', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifyVpcFirewallSwitchStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], + 'abilityTreeCode' => '68499', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ConnectorId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'The instance ID of the VPC firewall.'."\n" + ."\n" + .'> Call the [DescribeVpcFirewallList](~~342932~~) API call to query the instance ID of the VPC firewall.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vfw-m5e7dbc4y****'], + ], + [ + 'name' => 'FirewallSwitch', + 'in' => 'query', + 'schema' => ['description' => 'The status of the VPC firewall. Valid values:'."\n" + ."\n" + .'- **open**: enabled.'."\n" + ."\n" + .'- **close**: disabled.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'open'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member account.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '258039427902****'], ], ], 'responses' => [ @@ -49141,72 +40863,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AckLabels' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'app', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'storage-operator', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], + ['errorCode' => 'ErrorFirewallSwitch', 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', 'description' => 'The specified switch of the firewall is invalid. Enter another value.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => 'The member is invalid.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => 'The ID of the firewall is invalid.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => 'The specified VPC firewall does not exist. Select another one.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorNetworkInterfaceNotFound', 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', 'description' => 'The NIC of the firewall is invalid. Check the parameter.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyVpcFirewallSwitchStatus', + 'summary' => 'Enables or disables a VPC firewall. A VPC firewall protects traffic between two VPCs that are connected by an Express Connect circuit.', + 'description' => 'This API call modifies the status of a VPC firewall. A VPC firewall protects traffic between two virtual private clouds (VPCs) that are connected by an Express Connect circuit. When the VPC firewall is enabled, it protects traffic between the two VPCs. When the VPC firewall is disabled, it no longer protects traffic between the two VPCs.'."\n" + ."\n" + .'Before you make this API call, you must create a VPC firewall using the [CreateVpcFirewallConfigure](~~342893~~) API call.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for this API call is 10 for each Alibaba Cloud account. If you exceed the limit, your API calls are throttled, which may affect your business. Plan your API calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallSwitchStatus'], ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","type":"json"}]', ], - 'CreateAckClusterConnector' => [ - 'summary' => '创建ACK集群连接器', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'PutDisableAllFwSwitch' => [ + 'summary' => 'Disables all firewall switches.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -49215,106 +40934,262 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - 'FEATUREcfw0T2ZBS', - ], + 'abilityTreeCode' => '68508', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '192.0.XX.XX'], ], [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'ConnectorName', + 'name' => 'InstanceId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'default' => '0', 'title' => '', 'example' => 'i-2ze8v2x5kd9qyvp2****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], + ], 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ack-cluster-connector-name', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => 'This operation is not supported when the instance is in the current state.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ], [ - 'name' => 'ClusterId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => 'An authentication error occurred.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'PutDisableAllFwSwitch', + 'description' => 'This operation disables all firewall switches.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'Each user can send up to 10 queries per second (QPS). If you exceed this limit, API calls are throttled, which may affect your business. Plan your calls accordingly.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => 'In addition to the parameters described in this topic, you must also specify common request parameters when you call this operation. For more information, see [Common parameters](~~94763~~). For the request format, see the request example in the **Examples** section of this topic.', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableAllFwSwitch'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', + ], + 'PutDisableFwSwitch' => [ + 'summary' => 'Disables a firewall switch.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PrimaryVswitchId', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68509', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'PrimaryVswitchIp', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + [ + 'name' => 'IpaddrList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The IP addresses.'."\n" + ."\n" + .'> You must specify a value for at least one of the following parameters: `IpaddrList`, `RegionList`, and `ResourceTypeList`.', + 'type' => 'array', + 'items' => ['description' => 'An IP address.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], 'required' => false, - 'example' => '10.100.1.1', + 'example' => '["192.0.XX.XX","192.0.XX.XX"]', + 'maxItems' => 200, + 'title' => '', ], ], [ - 'name' => 'StandbyVswitchId', + 'name' => 'RegionList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The regions.'."\n" + ."\n" + .'> You must specify a value for at least one of the following parameters: `IpaddrList`, `RegionList`, and `ResourceTypeList`.', + 'type' => 'array', + 'items' => ['description' => 'The region ID.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], 'required' => false, - 'example' => 'vsw-2ze2gtlfozrab01cfo****', + 'example' => '["cn-hangzhou","cn-shanghai"]', + 'maxItems' => 200, + 'title' => '', ], ], [ - 'name' => 'StandbyVswitchIp', + 'name' => 'ResourceTypeList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The asset types. Valid values:'."\n" + ."\n" + .'- **BastionHostEgressIP**: The egress IP address of a bastion host.'."\n" + ."\n" + .'- **BastionHostIngressIP**: The ingress IP address of a bastion host.'."\n" + ."\n" + .'- **EcsEIP**: The Elastic IP Address (EIP) of an ECS instance.'."\n" + ."\n" + .'- **EcsPublicIP**: The public IP address of an ECS instance.'."\n" + ."\n" + .'- **EIP**: An Elastic IP Address (EIP).'."\n" + ."\n" + .'- **EniEIP**: The EIP of an elastic network interface (ENI).'."\n" + ."\n" + .'- **NatEIP**: The EIP of a NAT Gateway instance.'."\n" + ."\n" + .'- **SlbEIP**: The EIP of a Server Load Balancer (SLB) or Classic Load Balancer (CLB) instance.'."\n" + ."\n" + .'- **SlbPublicIP**: The public IP address of an SLB or CLB instance.'."\n" + ."\n" + .'- **NatPublicIP**: The public IP address of a NAT Gateway instance.'."\n" + ."\n" + .'- **HAVIP**: A High-availability Virtual IP (HAVIP).'."\n" + ."\n" + .'- **NlbEIP**: The EIP of a Network Load Balancer (NLB) instance.'."\n" + ."\n" + .'- **ApiGatewayEIP**: The public IP address of an API Gateway instance.'."\n" + ."\n" + .'- **AlbEIP**: The EIP of an Application Load Balancer (ALB) instance.'."\n" + ."\n" + .'- **AiGatewayEIP**: The public IP address of an AI Gateway instance.'."\n" + ."\n" + .'- **GaEIP**: The EIP of a Global Accelerator (GA) instance.'."\n" + ."\n" + .'- **SwasEIP**: The public IP address of a Simple Application Server instance.'."\n" + ."\n" + .'- **EcdEIP**: The public IP address of an Elastic Desktop Service (ECD) instance.'."\n" + ."\n" + .'- **BastionHostIP**: The IP address of a bastion host.'."\n" + ."\n" + .'> You must specify a value for at least one of the following parameters: `IpaddrList`, `RegionList`, and `ResourceTypeList`.', + 'type' => 'array', + 'items' => ['description' => 'An asset type. Valid values:'."\n" + ."\n" + .'- **BastionHostEgressIP**: The egress IP address of a bastion host.'."\n" + ."\n" + .'- **BastionHostIngressIP**: The ingress IP address of a bastion host.'."\n" + ."\n" + .'- **EcsEIP**: The Elastic IP Address (EIP) of an ECS instance.'."\n" + ."\n" + .'- **EcsPublicIP**: The public IP address of an ECS instance.'."\n" + ."\n" + .'- **EIP**: An Elastic IP Address (EIP).'."\n" + ."\n" + .'- **EniEIP**: The EIP of an elastic network interface (ENI).'."\n" + ."\n" + .'- **NatEIP**: The EIP of a NAT Gateway instance.'."\n" + ."\n" + .'- **SlbEIP**: The EIP of a Server Load Balancer (SLB) or Classic Load Balancer (CLB) instance.'."\n" + ."\n" + .'- **SlbPublicIP**: The public IP address of an SLB or CLB instance.'."\n" + ."\n" + .'- **NatPublicIP**: The public IP address of a NAT Gateway instance.'."\n" + ."\n" + .'- **HAVIP**: A High-availability Virtual IP (HAVIP).'."\n" + ."\n" + .'- **NlbEIP**: The EIP of a Network Load Balancer (NLB) instance.'."\n" + ."\n" + .'- **ApiGatewayEIP**: The public IP address of an API Gateway instance.'."\n" + ."\n" + .'- **AlbEIP**: The EIP of an Application Load Balancer (ALB) instance.'."\n" + ."\n" + .'- **AiGatewayEIP**: The public IP address of an AI Gateway instance.'."\n" + ."\n" + .'- **GaEIP**: The EIP of a Global Accelerator (GA) instance.'."\n" + ."\n" + .'- **SwasEIP**: The public IP address of a Simple Application Server instance.'."\n" + ."\n" + .'- **EcdEIP**: The public IP address of an Elastic Desktop Service (ECD) instance.'."\n" + ."\n" + .'- **BastionHostIP**: The IP address of a bastion host.'."\n" + ."\n" + .'> You must specify a value for at least one of the following parameters: `IpaddrList`, `RegionList`, and `ResourceTypeList`.', 'type' => 'string', 'required' => false, 'example' => 'EcsPublicIP', 'title' => ''], 'required' => false, - 'example' => '10.100.2.1', + 'example' => '["EcsPublicIp","NatEip"]', + 'maxItems' => 200, + 'title' => '', ], ], [ - 'name' => 'Ttl', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => 'The unique identifier of the member.', 'type' => 'string', 'example' => '1234', 'title' => '', 'required' => false], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => 'The IP version.', 'type' => 'string', 'example' => '4', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -49322,214 +41197,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AckClusterConnector' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'ConnectorName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '135809047715****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'ClusterId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', - ], - 'ClusterName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'PrimaryVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.1.1', - ], - 'StandbyVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'StandbyVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.2.1', - ], - 'Ttl' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'ConnectorStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '', - 'deleting' => '', - 'ready' => '', - ], - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '', - 'healthy' => '', - 'unhealthy' => '', - ], - 'example' => 'healthy', - ], - 'AckClientHostIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.40.32.240', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-*****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorVSwitchAndPrivateIpAddressMismatched', - 'errorMessage' => 'The vSwitch and privateIpAddress are mismatched.', - ], - [ - 'errorCode' => 'ErrorAckClusterNotFound', - 'errorMessage' => 'The specified resource ACK cluster is not found.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorReverseEndpointIpNotAllocated', - 'errorMessage' => 'The IP is already allocated, failed to create reverse endpoint.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorVswitchNoAvailableIP', - 'errorMessage' => 'the vswitch has no available ip.', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorAckClusterNetworkOnlySupportTerway', - 'errorMessage' => 'The ACK cluster network only support Terway.', - ], - [ - 'errorCode' => 'ErrorAckVpcAndVSwitchVpcMismatched', - 'errorMessage' => 'The ACK VPC and vSwitch VPC are mismatched.', - ], - [ - 'errorCode' => 'ErrorPrimaryStandbyVswitchSameZone', - 'errorMessage' => 'The primary and standby vSwitch are in the same availability zone.', - ], - [ - 'errorCode' => 'ErrorAckClusterSpecOnlySupportAckPro', - 'errorMessage' => 'The ACK cluster spec only support ack.pro.small.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorQuotaExceeded', - 'errorMessage' => 'ACK cluster connector resource exceeds the quota limit.', - ], - [ - 'errorCode' => 'ErrorAckNotOpen', - 'errorMessage' => 'ACK service is not open.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorExist', - 'errorMessage' => 'The ACK cluster connector already exist.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => 'This operation is not supported when the instance is in the current state.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => 'An authentication error occurred.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-hangzhou-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-hangzhou-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"AckClientHostIp\\": \\"10.40.32.240\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', - ], - 'UpdateAckClusterConnector' => [ - 'summary' => '修改ACK集群连接器', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', + 'title' => 'PutDisableFwSwitch', + 'description' => 'This operation disables a firewall switch. After a firewall switch is disabled, traffic is no longer routed through Cloud Firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The QPS limit for this operation is 10 requests per second per user. Calls that exceed this limit are throttled, which may affect your business.', + 'requestParamsDescription' => 'In addition to the parameters described in this topic, you must specify common parameters when you call this operation. For more information, see [Common parameters](~~94763~~).'."\n" + .'For an example of the request format, see the **Examples** section.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableFwSwitch'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'extraInfo' => ' ', + ], + 'PutEnableAllFwSwitch' => [ + 'summary' => 'Enables all firewall switches.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -49541,42 +41266,29 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], + 'abilityTreeCode' => '68511', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ConnectorId', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'title' => '', 'example' => '192.0.XX.XX'], ], [ - 'name' => 'ConnectorName', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ack-cluster-connector-name', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'Ttl', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '30', - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'default' => '0', 'title' => '', 'example' => 'i-2ze8v2x5kd9qyvp2****'], ], ], 'responses' => [ @@ -49584,514 +41296,325 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AckClusterConnector' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'ConnectorName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '135809047715****'."\n", - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ClusterId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c57ecf39ff32c415e8549a7df27a7e947', - ], - 'ClusterName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'PrimaryVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.1.1', - ], - 'StandbyVswitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing-h', - ], - 'StandbyVswitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.100.2.1', - ], - 'Ttl' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'ConnectorStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '', - 'deleting' => '', - 'ready' => '', - ], - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '', - 'healthy' => '', - 'unhealthy' => '', - ], - 'example' => 'healthy', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '5D16AADE-DA2E-5CAB-AA3B-AA197D97****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid is invalid.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', - 'errorMessage' => 'The ACK cluster connector status is not allow operate.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => 'This operation is not supported when the instance is in the current state.'], + ['errorCode' => 'ErrorInstanceOpenIpNumExceed', 'errorMessage' => 'The maximum number of protected assets has been reached.', 'description' => 'The maximum number of protected assets has been reached.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => 'An error occurred while updating the operation log.'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], + ['errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', 'errorMessage' => 'open ip region num exceed.', 'description' => 'Your zone protection quota is insufficient.'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => 'Cloud Firewall instance specifications are full.'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c57ecf39ff32c415e8549a7df27a7e947\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"5D16AADE-DA2E-5CAB-AA3B-AA197D97****\\"\\n}","type":"json"}]', - ], - 'DeleteAckClusterConnector' => [ - 'summary' => '删除ACK集群连接器', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', + 'title' => 'PutEnableAllFwSwitch', + 'description' => 'This API operation protects all public IP addresses of your Alibaba Cloud account.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'This API operation is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call this API operation at a reasonable rate.', + 'requestParamsDescription' => 'When you call this API operation, you must include the common request parameters of Alibaba Cloud APIs. For more information about common request parameters, see [Common parameters](~~94763~~). For the request format, see the request example in the **Examples** section.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableAllFwSwitch'], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'ConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorAddressGroupReference', - 'errorMessage' => 'The ACK cluster connector has address group, can not be deleted.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', - 'errorMessage' => 'The ACK cluster connector status is not allow operate.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', ], - 'DescribePrivateDnsEndpointList' => [ - 'summary' => '查询私网DNS终端节点列表', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'PutEnableFwSwitch' => [ + 'summary' => 'Enable the firewall.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226267', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68512', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The source IP address of the request.', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], ], [ - 'name' => 'VpcId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'AccessInstanceName', + 'name' => 'IpaddrList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of IP addresses.'."\n" + ."\n" + .'> You must specify at least one of the `IpaddrList`, `RegionList`, and `ResourceTypeList` parameters.', + 'type' => 'array', + 'items' => ['description' => 'The IP address.'."\n" + ."\n" + .'> You must specify at least one of the `IpaddrList`, `RegionList`, and `ResourceTypeList` parameters.', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX', 'title' => ''], 'required' => false, - 'example' => '', + 'example' => '["192.0.X.X","192.0.X.X"]', + 'maxItems' => 200, + 'title' => '', ], ], [ - 'name' => 'FirewallType', + 'name' => 'RegionList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of regions.'."\n" + ."\n" + .'> You must specify at least one of the `IpaddrList`, `RegionList`, and `ResourceTypeList` parameters.', + 'type' => 'array', + 'items' => ['description' => 'The region.'."\n" + ."\n" + .'> You must specify at least one of the `IpaddrList`, `RegionList`, and `ResourceTypeList` parameters.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou,cn-shanghai', 'title' => ''], 'required' => false, - 'example' => 'vpc', + 'example' => '["cn-hangzhou","cn-shanghai"]', + 'maxItems' => 200, + 'title' => '', ], ], [ - 'name' => 'Status', + 'name' => 'ResourceTypeList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', - 'type' => 'string', + 'description' => 'The list of asset types.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **BastionHostEgressIP**: the egress IP address of a bastion host.'."\n" + ."\n" + .'- **BastionHostIngressIP**: the ingress IP address of a bastion host.'."\n" + ."\n" + .'- **EcsEIP**: the EIP of an ECS instance.'."\n" + ."\n" + .'- **EcsPublicIP**: the public IP address of an ECS instance.'."\n" + ."\n" + .'- **EIP**: an EIP.'."\n" + ."\n" + .'- **EniEIP**: the EIP of an ENI.'."\n" + ."\n" + .'- **NatEIP**: the EIP of a NAT gateway.'."\n" + ."\n" + .'- **SlbEIP**: the EIP of an SLB instance or a CLB instance.'."\n" + ."\n" + .'- **SlbPublicIP**: the public IP address of an SLB instance or a CLB instance.'."\n" + ."\n" + .'- **NatPublicIP**: the public IP address of a NAT gateway.'."\n" + ."\n" + .'- **HAVIP**: an HAVIP.'."\n" + ."\n" + .'- **NlbEIP**: the EIP of an NLB instance.'."\n" + ."\n" + .'- **ApiGatewayEIP**: the public IP address of an API gateway.'."\n" + ."\n" + .'- **AlbEIP**: the EIP of an ALB instance.'."\n" + ."\n" + .'- **AiGatewayEIP**: the public IP address of an AI gateway.'."\n" + ."\n" + .'- **GaEIP**: the EIP of a GA instance.'."\n" + ."\n" + .'- **SwasEIP**: the public IP address of a Simple Application Server instance.'."\n" + ."\n" + .'- **EcdEIP**: the public IP address of an Elastic Desktop Service instance.'."\n" + ."\n" + .'- **BastionHostIP**: the IP address of a bastion host.'."\n" + ."\n" + .'> You must specify at least one of the `IpaddrList`, `RegionList`, and `ResourceTypeList` parameters.', + 'type' => 'array', + 'items' => ['description' => 'The asset type.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **BastionHostEgressIP**: the egress IP address of a bastion host.'."\n" + ."\n" + .'- **BastionHostIngressIP**: the ingress IP address of a bastion host.'."\n" + ."\n" + .'- **EcsEIP**: the EIP of an ECS instance.'."\n" + ."\n" + .'- **EcsPublicIP**: the public IP address of an ECS instance.'."\n" + ."\n" + .'- **EIP**: an EIP.'."\n" + ."\n" + .'- **EniEIP**: the EIP of an ENI.'."\n" + ."\n" + .'- **NatEIP**: the EIP of a NAT gateway.'."\n" + ."\n" + .'- **SlbEIP**: the EIP of an SLB instance or a CLB instance.'."\n" + ."\n" + .'- **SlbPublicIP**: the public IP address of an SLB instance or a CLB instance.'."\n" + ."\n" + .'- **NatPublicIP**: the public IP address of a NAT gateway.'."\n" + ."\n" + .'- **HAVIP**: an HAVIP.'."\n" + ."\n" + .'- **NlbEIP**: the EIP of an NLB instance.'."\n" + ."\n" + .'- **ApiGatewayEIP**: the public IP address of an API gateway.'."\n" + ."\n" + .'- **AlbEIP**: the EIP of an ALB instance.'."\n" + ."\n" + .'- **AiGatewayEIP**: the public IP address of an AI gateway.'."\n" + ."\n" + .'- **GaEIP**: the EIP of a GA instance.'."\n" + ."\n" + .'- **SwasEIP**: the public IP address of a Simple Application Server instance.'."\n" + ."\n" + .'- **EcdEIP**: the public IP address of an Elastic Desktop Service instance.'."\n" + ."\n" + .'- **BastionHostIP**: the IP address of a bastion host.'."\n" + ."\n" + .'> You must specify at least one of the `IpaddrList`, `RegionList`, and `ResourceTypeList` parameters.', 'type' => 'string', 'required' => false, 'example' => 'EcsPublicIp,NatEip', 'title' => ''], 'required' => false, - 'example' => 'normal', + 'example' => '["EcsPublicIp","NatEip"]', + 'maxItems' => 200, + 'title' => '', ], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The UID of the member.', 'type' => 'string', 'example' => '1234', 'title' => '', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'IpVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The IP version.', 'type' => 'string', 'example' => '4', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AccessInstanceList' => [ - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', 'title' => ''], + 'AbnormalResourceStatusList' => [ + 'description' => 'Information about unsynchronized assets.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'AliUid' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1379490574415****', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1844802493****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'FirewallType' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "internet",'."\n" - .' "vpc",'."\n" - .' "nat"'."\n" - .']', - ], - ], - 'AccessInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123', - ], - 'AccessInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'PrivateDnsType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Custom', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-2zelphbaourpun****', - ], - 'PrimaryDns' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'StandbyDns' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.2', - ], - 'Port' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '443', - ], - 'IpProtocol' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'tcp', - ], - 'Status' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'normal', - ], - 'DomainNameCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1715075765', - ], + 'Resource' => ['description' => 'The IP address of the asset.', 'type' => 'string', 'example' => '203.0.113.0', 'title' => ''], + 'Status' => ['description' => 'The synchronization status of the asset. Valid value:'."\n" + ."\n" + .'- `ip_not_sync`: The asset is not synchronized.', 'type' => 'string', 'example' => 'ip_not_sync', 'title' => ''], + 'Msg' => ['description' => 'A message that provides details about why an asset was not synchronized. Valid value:'."\n" + ."\n" + .'- `cloudfirewall do not sync this ip address`: Cloud Firewall does not synchronize the IP address of the asset.', 'type' => 'string', 'example' => 'cloudfirewall do not sync this ip address', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorInstanceOpenIpNumExceed', 'errorMessage' => 'The maximum number of protected assets has been reached.', 'description' => 'The maximum number of protected assets has been reached.'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => 'This operation is not supported when the instance is in the current state.'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => 'The parameter is invalid.'], + ['errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', 'errorMessage' => 'open ip region num exceed.', 'description' => 'Your zone protection quota is insufficient.'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => 'Cloud Firewall bandwidth is being overused.'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => 'Cloud Firewall instance specifications are full.'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => 'An authentication error occurred.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090****\\",\\n \\"TotalCount\\": 3,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"AccessInstanceList\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"123\\",\\n \\"AccessInstanceName\\": \\"test\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-2zelphbaourpun****\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 443,\\n \\"IpProtocol\\": 0,\\n \\"Status\\": 0,\\n \\"DomainNameCount\\": 3,\\n \\"TaskId\\": \\"123\\",\\n \\"GmtCreate\\": 1715075765\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribePrivateDnsEndpointDetail' => [ - 'summary' => '查询私网DNS终端节点详情', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"AbnormalResourceStatusList\\": [\\n {\\n \\"Resource\\": \\"203.0.113.0\\",\\n \\"Status\\": \\"ip_not_sync\\",\\n \\"Msg\\": \\"cloudfirewall do not sync this ip address\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'PutEnableFwSwitch', + 'description' => 'This API enables the firewall switch. Once enabled, traffic is routed through Cloud Firewall.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The QPS limit for this API is 5 requests per second for a single user. If you exceed this limit, the system throttles API calls, which may affect your business.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableFwSwitch'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'extraInfo' => ' ', + ], + 'ReleaseExpiredInstance' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -50103,795 +41626,418 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226302', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '139427', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => true, 'example' => 'cfw-y3gpqq705****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB0850****', - ], - 'AliUid' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '119898001566xxxx', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '258039427902****', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'FirewallType' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '['."\n" - .' "internet",'."\n" - .' "vpc",'."\n" - .' "nat"'."\n" - .']', - ], - ], - 'AccessInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'pd-12345', - ], - 'AccessInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'PrivateDnsType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Custom', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-uf6b5lyul0x******', - ], - 'PrimaryVSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-8vbno9zxz8j9qiot****', - ], - 'PrimaryZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen-d', - ], - 'PrimaryVSwitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.1.1.1', - ], - 'StandbyVSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-8vb6jk75wfcwnuq****', - ], - 'StandbyZoneId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen-e', - ], - 'StandbyVSwitchIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10.1.1.2', - ], - 'PrimaryDns' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'StandbyDns' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.2', - ], - 'Port' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'IpProtocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'normal', - ], - 'EndpointId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ep-1nmi412c28c374****', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '132', - ], - 'GmtCreate' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1715075765', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9EC1DB0F-EE53-5D36-B5DA-71CB******', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ReleaseStatus' => ['description' => 'Indicates whether the instance was released:'."\n" + ."\n" + .'- **true**: Successful.'."\n" + ."\n" + .'- **false**: Failed.', 'type' => 'string', 'example' => 'true', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB0850****\\",\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"AccessInstanceName\\": \\"测试\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-8vbno9zxz8j9qiot****\\",\\n \\"PrimaryZoneId\\": \\"cn-shenzhen-d\\",\\n \\"PrimaryVSwitchIp\\": \\"10.1.1.1\\",\\n \\"StandbyVSwitchId\\": \\"vsw-8vb6jk75wfcwnuq****\\",\\n \\"StandbyZoneId\\": \\"cn-shenzhen-e\\",\\n \\"StandbyVSwitchIp\\": \\"10.1.1.2\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 80,\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"Status\\": \\"normal\\",\\n \\"EndpointId\\": \\"ep-1nmi412c28c374****\\",\\n \\"TaskId\\": \\"132\\",\\n \\"GmtCreate\\": 1715075765\\n}","type":"json"}]', - ], - 'DescribePrivateDnsStatistics' => [ - 'summary' => '查询私有DNS的统计信息', - 'path' => '', - 'methods' => [ - 'get', - 'post', + 'title' => 'ReleaseExpiredInstance', + 'summary' => 'Releases an expired instance.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleaseExpiredInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"9EC1DB0F-EE53-5D36-B5DA-71CB******\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": \\"true\\"\\n}","type":"json"}]', + ], + 'ReleasePostInstance' => [ + 'summary' => 'Releases a pay-as-you-go firewall.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '103471', + 'abilityTreeNodes' => ['FEATUREcfwATUJ57'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DomainNameCreatedStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1725864531', - ], - ], - [ - 'name' => 'DomainNameCreatedEndTime', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1726305596', - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-xxx', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'AbnormalPrivateDnsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'CreatedPrivateDnsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'DomainNameTotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'NewDomainNameTotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'NormalPrivateDnsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - ], - 'PrivateDnsRegionList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DomainNameCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'NewDomainNameCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PrivateDnsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '5716ED52-1B82-5DE1-8695-EFEC453D****', - ], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request. This ID is generated by Alibaba Cloud and is unique to this request. You can use it to troubleshoot and locate issues.', 'type' => 'string', 'example' => 'EE316A19-xxxx-5043-9DF1-C04458ABC570', 'title' => ''], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ReleaseStatus' => ['description' => 'Indicates whether the release was successful.'."\n" + ."\n" + .'- **true**: The release was successful.'."\n" + ."\n" + .'- **false**: The release failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AbnormalPrivateDnsCount\\": 12,\\n \\"CreatedPrivateDnsCount\\": 6,\\n \\"DomainNameTotalCount\\": 5,\\n \\"NewDomainNameTotalCount\\": 2,\\n \\"NormalPrivateDnsCount\\": 21,\\n \\"PrivateDnsRegionList\\": [\\n {\\n \\"DomainNameCount\\": 10,\\n \\"NewDomainNameCount\\": 1,\\n \\"PrivateDnsCount\\": 1,\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"RequestId\\": \\"5716ED52-1B82-5DE1-8695-EFEC453D****\\"\\n}","type":"json"}]', - ], - 'CreatePrivateDnsEndpoint' => [ - 'summary' => '创建私网DNS终端节点', - 'methods' => [ - 'get', - 'post', + 'title' => 'ReleasePostInstance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleasePostInstance'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleasePostInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"EE316A19-xxxx-5043-9DF1-C04458ABC570\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": true\\n}","type":"json"}]', + ], + 'ResetNatFirewallRuleHitCount' => [ + 'summary' => 'Resets the hit count of a NAT firewall rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226205', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '171494', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '', - ], - ], - [ - 'name' => 'PrivateDnsType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Custom', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-uf6b5lyul0x******', - ], - ], - [ - 'name' => 'PrimaryVSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-uf6b0dkyryer8******'."\n", - ], - ], - [ - 'name' => 'StandbyVSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-8vb6jk75wfcwn******'."\n", - ], - ], - [ - 'name' => 'PrimaryVSwitchIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.1.1.1'."\n", - ], - ], - [ - 'name' => 'StandbyVSwitchIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.2.2.2', - ], - ], - [ - 'name' => 'IpProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'UDP', - ], - ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - ], - [ - 'name' => 'FirewallType', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewall', - ], - 'required' => true, - 'maxItems' => 3, - 'minItems' => 1, - ], - ], - [ - 'name' => 'PrimaryDns', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'StandbyDns', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.2', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'required' => true, 'example' => '3de3aed5-6de7-4ecd-9106-cfe994b9c49f', 'title' => ''], ], [ - 'name' => 'MemberUid', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => 'The ID of the NAT Gateway.', 'type' => 'string', 'required' => false, 'example' => 'ngw-zm0h3c1exm5bifuorg8c5', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '850A84D6************00090125EEB1', - ], - 'AccessInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'pd-12345', - ], - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '132', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsType', - 'errorMessage' => 'private dns type error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsPrivateZoneConfigure', - 'errorMessage' => 'private dns parameter error.', - ], - [ - 'errorCode' => 'ErrorVswitchId', - 'errorMessage' => 'vswitch id error.', - ], - [ - 'errorCode' => 'ErrorVswitchIpAddress', - 'errorMessage' => 'vswitch ip error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpAddress', - 'errorMessage' => 'private dns ip address error.', - ], - [ - 'errorCode' => 'ErrorVswitchNoAvailableIP', - 'errorMessage' => 'the vswitch has no available ip.', - ], - [ - 'errorCode' => 'ErrorVfwVpcNoAvailable', - 'errorMessage' => 'the vpc is cloud firewall vpc, please reselect vpc.', - ], - [ - 'errorCode' => 'ErrorProxyVswitchNoAvailable', - 'errorMessage' => 'the vswitch is cloud firewall vswitch, please reselect vswitch.', - ], - [ - 'errorCode' => 'ErrorFirewallTypeDuplicates', - 'errorMessage' => 'firewallType duplicates.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpSame', - 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsEndpointQuotaExceeded', - 'errorMessage' => 'Private DNS endpoint resource exceeds the quota limit.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"TaskId\\": \\"132\\"\\n}","type":"json"}]', - ], - 'ModifyPrivateDnsEndpoint' => [ - 'summary' => '修改私网DNS终端节点', - 'methods' => [ - 'get', - 'post', + 'title' => 'ResetNatFirewallRuleHitCount', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetNatFirewallRuleHitCount'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetNatFirewallRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666\\"\\n}","type":"json"}]', + ], + 'ResetRuleHitCount' => [ + 'summary' => 'Resets the hit count of a rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226261', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68520', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'PrivateDnsType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Custom', - ], - ], - [ - 'name' => 'PrimaryDns', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], - ], - [ - 'name' => 'StandbyDns', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.2', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The source IP address of the requester.', 'title' => '', 'example' => '112.64.126.XXX'], ], [ - 'name' => 'AccessInstanceName', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '', - ], + 'schema' => ['type' => 'string', 'required' => false, 'description' => 'The language of the response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese (default)'."\n" + ."\n" + .'- **en**: English', 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'RegionNo', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['type' => 'string', 'required' => true, 'description' => 'The unique ID of the access control policy.', 'title' => '', 'example' => '211fd804-30f5-470f-ab26-c465a4****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54', - ], + 'Module' => ['type' => 'string', 'description' => 'The application module.', 'title' => '', 'example' => 'sg_server'], + 'RequestId' => ['type' => 'string', 'description' => 'The ID of the request.', 'title' => '', 'example' => '706B2093-CBA0-51B2-BEBF-58903FC6****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsNotFound', - 'errorMessage' => 'private dns not found.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpAddress', - 'errorMessage' => 'private dns ip address error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpSame', - 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\"\\n}","type":"json"}]', - ], - 'DeletePrivateDnsEndpoint' => [ - 'summary' => '删除私网DNS终端节点', - 'methods' => [ - 'get', - 'post', + 'title' => 'ResetRuleHitCount', + 'description' => 'This operation resets the hit count of an access control policy in a VPC firewall policy group.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'This operation is limited to 10 queries per second (QPS) per user. If you exceed this limit, API calls are throttled, which may impact your business. Plan your calls accordingly.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"706B2093-CBA0-51B2-BEBF-58903FC6****\\"\\n}","type":"json"}]', + ], + 'ResetVpcFirewallRuleHitCount' => [ + 'summary' => 'Resets the hit count of an access control policy in a specified VPC firewall policy group to zero.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226262', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68521', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RegionNo', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The unique ID of the access control policy.'."\n" + ."\n" + .'To reset the hit count of an access control policy, specify the unique ID of the policy. You can call the [DescribeVpcFirewallControlPolicy](~~159758~~) operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221a****', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '822B9125-6E1A-551C-8EAF-6E7****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsOperationDenied', - 'errorMessage' => 'private dns operation is not allowed.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'The ACL does not exist.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7****\\"\\n}","type":"json"}]', - ], - 'DescribePrivateDnsDomainNameList' => [ - 'summary' => '查询私网DNS域名列表', - 'methods' => [ - 'get', + 'title' => 'ResetVpcFirewallRuleHitCount', + 'description' => 'This operation resets the hit count of a specific access control policy in a VPC firewall policy group to zero.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'This operation has a queries per second (QPS) limit of 10 per user. Calls that exceed this limit are throttled, which may affect your business. Call this operation at a reasonable rate.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetVpcFirewallRuleHitCount'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetVpcFirewallRuleHitCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","type":"json"}]', + ], + 'SetAutoProtectNewAssets' => [ + 'summary' => 'Enables automatic protection for new assets.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -50903,155 +42049,80 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226316', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68526', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'DomainName', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => 'The source IP address of the visitor.', 'type' => 'string', 'required' => false, 'example' => '60.182.79.XXX', 'title' => ''], ], [ - 'name' => 'PageNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The language. Valid values are zh (Chinese) and **en** (English). The default value is **zh**.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'AutoProtect', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'Specifies whether to enable automatic traffic redirection. Valid values:'."\n" + ."\n" + .'**true****false**', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '822B9125-6E1A-551C-8EAF-6E7AE74****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DomainNameList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '[\\"example.com\\"]', - ], - ], + 'Module' => ['description' => 'The firewall module.', 'type' => 'string', 'example' => 'api_server', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], ], + 'description' => 'The response parameters.', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsNotFound', - 'errorMessage' => 'private dns not found.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsRegionNotAvailable', - 'errorMessage' => 'private dns region not available.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], + ['errorCode' => 'ErrorNoInstanceInDb', 'errorMessage' => 'no instance for process in db.', 'description' => 'The specified instance does not exist.'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => 'This operation is not supported when the instance is in the current state.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE74****\\",\\n \\"TotalCount\\": 132,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"DomainNameList\\": [\\n \\"[\\\\\\\\\\\\\\"example.com\\\\\\\\\\\\\\"]\\"\\n ]\\n}","type":"json"}]', - ], - 'AddPrivateDnsDomainName' => [ - 'summary' => '添加私网DNS域名', - 'methods' => [ - 'post', + 'title' => 'SetAutoProtectNewAssets', + 'description' => 'Each Cloud Firewall instance supports up to 100 associations with TLS inspection policies.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SetAutoProtectNewAssets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"api_server\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'SwitchSecurityProxy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -51060,56 +42131,36 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226307', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68530', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cfw-xxx', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], ], [ - 'name' => 'RegionNo', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shenzhen', - ], + 'schema' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'proxy-natbf******'], ], [ - 'name' => 'DomainNameList', + 'name' => 'Switch', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "internal.xxx.com",'."\n" - .' "api.xxx.com"'."\n" - .' ]', - ], - 'required' => true, - 'maxItems' => 1000, - 'minItems' => 1, - ], + 'schema' => ['description' => 'The security protection switch. Valid values:'."\n" + ."\n" + .'- open: Enables security protection.'."\n" + ."\n" + .'- close: Disables security protection.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'open'], ], ], 'responses' => [ @@ -51117,397 +42168,743 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'F1E55690-3ABA-58FA-90E3-593EF******'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsNotFound', - 'errorMessage' => 'private dns not found.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsDomainName', - 'errorMessage' => 'private dns domain name error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsDomainNameMaxLimit', - 'errorMessage' => 'the number of private DNS domain names exceeds the maximum limit.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParamProxyNameError', 'errorMessage' => 'proxy name invalid.', 'description' => 'Invalid NAT firewall name.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorProxyStatusNotNormal', 'errorMessage' => 'proxy status is not normal.', 'description' => 'The current NAT instance does not have a firewall enabled.'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'internal error.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - ], - 'DeletePrivateDnsDomainName' => [ - 'summary' => '删除私网DNS域名', - 'methods' => [ - 'post', + 'title' => 'SwitchSecurityProxy', + 'summary' => 'Enables or disables a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSecurityProxy'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SwitchSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1E55690-3ABA-58FA-90E3-593EF******\\"\\n}","type":"json"}]', + ], + 'UpdateAITrafficAnalysisStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226315', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], + 'schema' => ['type' => 'string', 'description' => 'The enabling status. Valid values:'."\n" + ."\n" + .'- **open**: Enables the feature.'."\n" + ."\n" + .'- **close**: Disables the feature.', 'required' => false, 'title' => '', 'example' => 'normal'], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['type' => 'string', 'title' => '', 'description' => 'Id of the request', 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810'], + ], + 'title' => '', + 'description' => 'Schema of Response', + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateAITrafficAnalysisStatus', + 'summary' => 'Changes the enabling status of AI-powered traffic analysis.', + 'description' => 'The analysis covers all data for your Cloud Firewall instance from the date of purchase.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DomainNameList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"example.com\\"]', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], ], - 'required' => true, - 'maxItems' => 100, - 'minItems' => 1, ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', + ], + 'UpdateAckClusterConnector' => [ + 'summary' => 'Updates an ACK cluster connector.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the ACK cluster connector. You can call the [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~) operation to query the list of ACK cluster connectors.'."\n" + ."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): Queries a list of ACK cluster connectors.', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], + ], + [ + 'name' => 'ConnectorName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'example' => 'ack-cluster-connector-name', 'title' => ''], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => 'The synchronization interval for the ACK cluster connector. Valid values: 2 to 60. Unit: seconds.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-0009012****', + 'AckClusterConnector' => [ + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'The ID of the ACK cluster connector. You can call the [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~) operation to query the list of ACK cluster connectors.'."\n" + ."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~): Queries a list of ACK cluster connectors.', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab', 'title' => ''], + 'ConnectorName' => ['description' => 'The name of the ACK cluster connector. The name must be 1 to 64 characters in length and can contain Chinese characters, letters, digits, periods (.), underscores (\\_), and hyphens (-).', 'type' => 'string', 'example' => 'ack-cluster-connector-name', 'title' => ''], + 'MemberUid' => ['description' => 'The Alibaba Cloud account ID (UID) of the account to which the ACK cluster resources belong.', 'type' => 'string', 'example' => '135809047715****'."\n", 'title' => ''], + 'RegionNo' => ['description' => 'The region ID of the ACK cluster connector. You can call the [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~) operation to query the list of regions for synchronization nodes.'."\n" + ."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~): Queries the list of sync node regions.'."\n" + ."\n" + .'> For more information about the regions that Cloud Firewall supports for ACK cluster connectors, see [ACK cluster synchronization nodes](~~2865120~~).', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''], + 'ClusterId' => ['description' => 'The ID of the ACK cluster. You can call the [DescribeAckClusters](~~DescribeAckClusters~~) operation to query the list of ACK clusters.'."\n" + ."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~): Queries a list of ACK clusters.', 'type' => 'string', 'example' => 'c57ecf39ff32c415e8549a7df27a7e947', 'title' => ''], + 'ClusterName' => ['description' => 'The name of the ACK cluster.', 'type' => 'string', 'example' => 'ack-cluster-name', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the VPC to which the ACK cluster belongs.', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****', 'title' => ''], + 'PrimaryVswitchId' => ['description' => 'The primary vSwitch of the ACK cluster connector. You can call the [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~) operation to query the list of vSwitches for synchronization nodes.'."\n" + ."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Queries a list of vSwitches for synchronization nodes.', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****', 'title' => ''], + 'PrimaryVswitchZoneId' => ['description' => 'The zone of the primary vSwitch for the ACK cluster connector. You can call the [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~) operation to query the list of zones for synchronization nodes.'."\n" + ."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Queries in batches the list of zones for the vSwitches of sync nodes.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''], + 'PrimaryVswitchIp' => ['description' => 'The IP address of the primary vSwitch for the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.1.1', 'title' => ''], + 'StandbyVswitchId' => ['description' => 'The standby vSwitch of the ACK cluster connector. You can call the [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~) operation to query the list of vSwitches for synchronization nodes.'."\n" + ."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~): Batch queries the list of vSwitches for synchronization nodes.', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****', 'title' => ''], + 'StandbyVswitchZoneId' => ['description' => 'The zone of the standby vSwitch for the ACK cluster connector. You can call the [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~) operation to query the list of zones for synchronization nodes.'."\n" + ."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~): Batch queries the list of zones for the vSwitches of synchronization nodes.', 'type' => 'string', 'example' => 'cn-beijing-h', 'title' => ''], + 'StandbyVswitchIp' => ['description' => 'The IP address of the standby vSwitch for the ACK cluster connector.', 'type' => 'string', 'example' => '10.100.2.1', 'title' => ''], + 'Ttl' => ['description' => 'The synchronization interval for the ACK cluster connector. Valid values: 2 to 60. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'ConnectorStatus' => [ + 'description' => 'The instance status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'The connector is being initialized.', 'deleting' => 'The connector is being deleted.', 'ready' => 'Normal.'], + 'type' => 'string', + 'example' => 'ready', + 'title' => '', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'The health check status of the ACK cluster connector.', + 'enumValueTitles' => ['init' => 'The connector is being initialized.', 'healthy' => 'Healthy.', 'unhealthy' => 'Unhealthy.'], + 'type' => 'string', + 'example' => 'healthy', + 'title' => '', + ], + 'CreateTime' => ['description' => 'The UNIX timestamp when the ACK cluster connector was created. Unit: seconds.', 'type' => 'string', 'example' => '1724982259', 'title' => ''], + ], + 'description' => 'The ACK cluster connector.', + 'title' => '', + 'example' => '', ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '5D16AADE-DA2E-5CAB-AA3B-AA197D97****'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid is invalid.', 'description' => 'The aliUid is invalid.'], + ], 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsDomainName', - 'errorMessage' => 'private dns domain name error.', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', 'errorMessage' => 'The ACK cluster connector status is not allow operate.', 'description' => 'The ACK cluster connector status is not allow operate.'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => 'The specified resource ACK cluster connector is not found.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', - ], - 'DeletePrivateDnsAllDomainName' => [ - 'summary' => '清空私网DNS域名', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateAckClusterConnector', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c57ecf39ff32c415e8549a7df27a7e947\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"5D16AADE-DA2E-5CAB-AA3B-AA197D97****\\"\\n}","type":"json"}]', + ], + 'UpdateAclCheckDetailStatus' => [ + 'summary' => 'Modify the status of ACL check details.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226320', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '219361', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AccessInstanceId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The language.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese (default)'], 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', + 'required' => false, + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'RegionNo', + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => 'The ACL check task ID.', 'type' => 'string', 'required' => true, 'example' => 'task-c92d4544ef7b6a42', 'title' => ''], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => 'The unique identifier ID of the ACL policy in the ACL check details.', 'type' => 'string', 'required' => true, 'example' => 'bbbb43c9-a931-4d89-9939-86d509139a20', 'title' => ''], + ], + [ + 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The modified status.', + 'enumValueTitles' => ['Pending' => 'Pending', 'Ignored' => 'Ignored', 'Processed' => 'Processed'], 'type' => 'string', 'required' => true, - 'example' => 'cn-hangzhou', + 'enum' => ['Pending', 'Processed', 'Ignored'], + 'example' => 'Pending', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF****', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '850A84D6************00090125EEB1'], + 'CheckRecord' => [ + 'description' => 'The ACL check record.', + 'type' => 'object', + 'properties' => [ + 'Acls' => [ + 'description' => 'The list of ACL check results.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ACL check result.', + 'type' => 'object', + 'properties' => [ + 'Acl' => [ + 'description' => 'The ACL check result.', + 'type' => 'object', + 'properties' => [ + 'Direction' => ['description' => 'The direction of traffic controlled by the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **in**: Inbound traffic.'."\n" + .'- **out**: Outbound traffic.', 'type' => 'string', 'example' => 'in', 'title' => ''], + 'Order' => ['description' => 'The priority of the access control policy.'."\n" + ."\n" + .'Priority values start from 1 and increase sequentially. A smaller value indicates a higher priority.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SourceType' => ['description' => 'The type of source address in the access control policy. Valid values:'."\n" + ."\n" + .'- **net**: Source CIDR block.'."\n" + .'- **group**: Source address book.'."\n" + .'- **location**: Source region.', 'type' => 'string', 'example' => 'net', 'title' => ''], + 'ApplicationName' => ['description' => 'The application type supported by the access control policy. Valid values:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + ."\n" + .'> The supported application types depend on the protocol type (Proto). When Proto is set to TCP, ApplicationNameList supports all the preceding application types. When both ApplicationNameList and ApplicationName are specified, ApplicationNameList takes precedence.'."\n", 'type' => 'string', 'example' => 'ANY', 'title' => ''], + 'HitTimes' => ['description' => 'The number of hits on the access control policy.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Description' => ['description' => 'The description of the access control policy.', 'type' => 'string', 'example' => 'test_policy', 'title' => ''], + 'SourceGroupType' => ['description' => 'The type of source address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: IP address book, which contains one or more IP address ranges.'."\n" + ."\n" + .'- **tag**: ECS tag-based address book, which contains the IP addresses of ECS instances with one or more specific tags.'."\n" + ."\n" + .'- **domain**: Domain address book, which contains one or more domain addresses.'."\n" + ."\n" + .'- **threat**: Threat intelligence address book, which contains one or more malicious IP addresses or domain names.'."\n" + ."\n" + .'- **backsrc**: Back-to-origin address book, which contains the back-to-origin addresses of one or more Anti-DDoS or WAF instances.', 'type' => 'string', 'example' => 'ip', 'title' => ''], + 'DnsResultTime' => ['description' => 'The timestamp of DNS resolution. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DnsResult' => ['description' => 'The DNS resolution result.', 'type' => 'string', 'example' => '192.168.0.1/32', 'title' => ''], + 'Proto' => ['description' => 'The protocol type of traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + .'- **ANY**: All protocol types.'."\n" + .'> If you do not set this parameter, all protocol types are queried.', 'type' => 'string', 'example' => 'ANY', 'title' => ''], + 'DestinationGroupType' => ['description' => 'The type of destination address book in the access control policy. Valid values:'."\n" + ."\n" + .'- **ip**: IP address book, which contains one or more IP address ranges.'."\n" + ."\n" + .'- **tag**: ECS tag-based address book, which contains the IP addresses of ECS instances with one or more specific tags.'."\n" + ."\n" + .'- **domain**: Domain address book, which contains one or more domain addresses.'."\n" + ."\n" + .'- **threat**: Threat intelligence address book, which contains one or more malicious IP addresses or domain names.'."\n" + ."\n" + .'- **backsrc**: Back-to-origin address book, which contains the back-to-origin addresses of one or more Anti-DDoS or WAF instances.', 'type' => 'string', 'example' => 'domain', 'title' => ''], + 'Destination' => ['description' => 'The destination address in the access control policy. Fuzzy queries are supported. The value varies depending on the value of DestinationType.'."\n" + ."\n" + .'- If DestinationType is set to `net`, the destination address is a CIDR block. Example: 10.0.3.0/24.'."\n" + ."\n" + .'- If DestinationType is set to `domain`, the destination address is a domain name. Example: aliyun.'."\n" + ."\n" + .'- If DestinationType is set to `group`, the destination address is the name of an address book. Example: db_group.'."\n" + ."\n" + .'- If DestinationType is set to `location`, the destination address is a region name. For specific region location codes, see AddControlPolicy. Example: ["BJ11", "ZB"].'."\n" + ."\n" + .'> If you do not set this parameter, destination addresses of all types are queried.', 'type' => 'string', 'example' => 'kms.cn-shanghai.aliyuncs.com', 'title' => ''], + 'HitLastTime' => ['description' => 'The timestamp of the last hit. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141', 'title' => ''], + 'DestPortGroup' => ['description' => 'The type of destination port in the access control policy. Valid values:'."\n" + .'- **port**: Port.'."\n" + .'- **group**: Port address book.', 'type' => 'string', 'example' => 'port', 'title' => ''], + 'AclUuid' => ['description' => 'The unique ID of the access control policy.', 'type' => 'string', 'example' => '1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c', 'title' => ''], + 'DestPortType' => ['description' => 'The type of destination port in the access control policy. Valid values:'."\n" + .'- **port**: Port.'."\n" + .'- **group**: Port address book.', 'type' => 'string', 'example' => 'port', 'title' => ''], + 'Source' => ['description' => 'The source address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- If **SourceType** is set to `net`, Source is the source CIDR block.'."\n" + ."\n" + .' Example: 10.2.4.0/24'."\n" + ."\n" + .'- If **SourceType** is set to `group`, Source is the name of the source address book.'."\n" + ."\n" + .' Example: db_group', 'type' => 'string', 'example' => '10.71.94.24', 'title' => ''], + 'DestinationType' => ['description' => 'The type of destination address in the access control policy.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **net**: Destination CIDR block.'."\n" + .'- **group**: Destination address book.'."\n" + .'- **domain**: Destination domain name.', 'type' => 'string', 'example' => 'group', 'title' => ''], + 'DestPort' => ['description' => 'The destination port of traffic in the access control policy.', 'type' => 'string', 'example' => '22/22', 'title' => ''], + 'IpVersion' => ['description' => 'The IP version of the asset protected by Cloud Firewall. Valid values:'."\n" + ."\n" + .'- **4** (default): IPv4.'."\n" + .'- **6**: IPv6.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'AclAction' => ['description' => 'The action that Cloud Firewall performs on the traffic in the access control policy. Valid values:'."\n" + ."\n" + .'- **accept**: Allow.'."\n" + .'- **drop**: Deny.'."\n" + .'- **log**: Monitor.', 'type' => 'string', 'example' => 'log', 'title' => ''], + 'Release' => ['description' => 'The status of the access control policy. By default, the policy is enabled after it is created. Valid values:'."\n" + ."\n" + .'- **true**: Enable the access control policy.'."\n" + .'- **false**: Disable the access control policy.', 'type' => 'string', 'example' => 'true', 'title' => ''], + 'ApplicationId' => ['description' => 'The application ID of the traffic in the access control policy.', 'type' => 'string', 'example' => 'HTTP', 'title' => ''], + 'DestinationGroupCidrs' => [ + 'description' => 'The CIDR blocks in the destination address book of the access control policy.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The CIDR blocks in the destination address book of the access control policy.'."\n", 'type' => 'string', 'example' => '192.168.0.1/32', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'DestPortGroupPorts' => [ + 'description' => 'The ports in the destination port address book.', + 'type' => 'array', + 'items' => ['description' => 'The ports in the destination port address book.', 'type' => 'string', 'example' => '22/22', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'SourceGroupCidrs' => [ + 'description' => 'The CIDR blocks in the source address book of the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The CIDR blocks in the source address book of the access control policy.', 'type' => 'string', 'example' => '192.168.0.1/32', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'ApplicationNameList' => [ + 'description' => 'The application types supported by the access control policy.', + 'type' => 'array', + 'items' => ['description' => 'The application types supported by the access control policy.', 'type' => 'string', 'example' => 'SSH', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'SpreadCnt' => ['description' => 'The number of access control policy specifications consumed, which is the cumulative count of specifications consumed by each policy.'."\n" + .'Specifications consumed by a single policy = Number of source CIDR blocks × Number of destination addresses (IP CIDR blocks, regions, or domain names) × Number of applications × Number of port ranges.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the policy was created. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'ModifyTime' => ['description' => 'The time when the policy was last modified. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400', 'title' => ''], + 'RepeatType' => ['description' => 'The recurrence type of the validity period of the access control policy. Valid values:'."\n" + .'- **Permanent** (default): Always.'."\n" + .'- **None**: One-time.'."\n" + .'- **Daily**: Daily.'."\n" + .'- **Weekly**: Weekly.'."\n" + .'- **Monthly**: Monthly.', 'type' => 'string', 'example' => 'None', 'title' => ''], + 'RepeatDays' => [ + 'description' => 'The recurrence days of the validity period of the access control policy.'."\n" + .'- If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty collection.'."\n" + .' Example: []'."\n" + .'- If RepeatType is set to Weekly, RepeatDays must not be empty.'."\n" + .' Example: [0, 6]'."\n" + .'> When RepeatType is set to Weekly, RepeatDays must not contain duplicate values.'."\n" + .'- If RepeatType is set to `Monthly`, RepeatDays must not be empty.'."\n" + .' Example: [1, 31]'."\n" + .'> When RepeatType is set to Monthly, RepeatDays must not contain duplicate values.', + 'type' => 'array', + 'items' => ['description' => 'The recurrence days of the validity period of the access control policy.'."\n" + .'- If RepeatType is set to `Permanent`, `None`, or `Daily`, RepeatDays is an empty collection.'."\n" + .' Example: []'."\n" + .'- If RepeatType is set to Weekly, RepeatDays must not be empty.'."\n" + .' Example: [0, 6]'."\n" + .'> When RepeatType is set to Weekly, RepeatDays must not contain duplicate values.'."\n" + .'- If RepeatType is set to `Monthly`, RepeatDays must not be empty.'."\n" + .' Example: [1, 31]'."\n" + .'> When RepeatType is set to Monthly, RepeatDays must not contain duplicate values.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'RepeatStartTime' => ['description' => 'The recurrence start time of the validity period of the policy. The value is in HH:mm format using the 24-hour clock, such as 08:00. The value must be on the hour or half hour, and must be at least 30 minutes earlier than the recurrence end time.'."\n" + .'> When RepeatType is set to Permanent or None, RepeatStartTime is empty. When RepeatType is set to Daily, Weekly, or Monthly, RepeatStartTime is required.', 'type' => 'string', 'example' => '08:00', 'title' => ''], + 'RepeatEndTime' => ['description' => 'The recurrence end time of the validity period of the policy. The value is in HH:mm format using the 24-hour clock, such as 23:30. The value must be on the hour or half hour, and must be at least 30 minutes later than the recurrence start time.'."\n" + .'> When RepeatType is set to Permanent or None, RepeatEndTime is empty. When RepeatType is set to Daily, Weekly, or Monthly, RepeatEndTime is required.', 'type' => 'string', 'example' => '23:30', 'title' => ''], + 'StartTime' => ['description' => 'The start time of the query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1736130347', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the query. The value is a UNIX timestamp. Unit: seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1752754426', 'title' => ''], + 'AddressListCount' => ['description' => 'The number of addresses in the address book.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'GroupUuid' => ['description' => 'The unique ID of the address book.'."\n" + ."\n" + .'> You can call [DescribeAddressBook](~~DescribeAddressBook~~) to query the ID.', 'type' => 'string', 'example' => '5a96a798-9b73-47f7-831e-1d7aa3c987a9', 'title' => ''], + 'AutoAddTagEcs' => ['description' => 'Indicates whether the public IP addresses of newly matched ECS instances (newly purchased ECS instances with configured tags or ECS instances with modified tags) are automatically added to the address book.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'GroupName' => ['description' => 'The name of the address book.', 'type' => 'string', 'example' => 'subscribe', 'title' => ''], + 'ReferenceCount' => ['description' => 'The number of times the address book is referenced.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'GroupType' => ['description' => 'The type of the address book. Valid values:'."\n" + ."\n" + .'- **ip**: IP address book.'."\n" + ."\n" + .'- **domain**: Domain address book.'."\n" + ."\n" + .'- **port**: Port address book.'."\n" + ."\n" + .'- **tag**: ECS tag-based address book.'."\n" + ."\n" + .'- **allCloud**: Cloud service address book.'."\n" + ."\n" + .'- **threat**: Threat intelligence address book.', 'type' => 'string', 'example' => 'port', 'title' => ''], + 'TagRelation' => ['description' => 'The logical relationship among multiple ECS tags.', 'type' => 'string', 'example' => 'and', 'title' => ''], + 'TagList' => [ + 'description' => 'The ECS tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ECS tag.', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'The ECS tag value.', 'type' => 'string', 'example' => 'tfTestAcc0', 'title' => ''], + 'TagKey' => ['description' => 'The ECS tag key.', 'type' => 'string', 'example' => 'produce', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'AddressList' => [ + 'description' => 'The addresses in the address book.', + 'type' => 'array', + 'items' => ['description' => 'The addresses in the address book.', 'type' => 'string', 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'NatGatewayId' => ['description' => 'The ID of the NAT gateway.', 'type' => 'string', 'example' => 'ngw-gw85zno51npz7lgc04z89', 'title' => ''], + 'DomainResolveType' => ['description' => 'The domain name resolution method of the access control policy. Valid values:'."\n" + ."\n" + .'* **FQDN**: FQDN-based resolution.'."\n" + .'* **DNS**: DNS-based dynamic resolution.'."\n" + .'* **FQDN_AND_DNS**: FQDN and DNS-based dynamic resolution.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'VpcFirewallId' => ['description' => 'The instance ID of the VPC firewall.', 'type' => 'string', 'example' => 'cen-cw4z051hr8x53qniv5', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'AclStatus' => ['description' => 'The ACL check status.', 'type' => 'string', 'example' => 'configuring', 'title' => ''], + 'AclAssessmentDetail' => ['description' => 'The assessment details of this ACL policy.', 'type' => 'string', 'example' => 'No traffic hit policy.', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RecordAssessmentDetail' => ['description' => 'The assessment details of this ACL check record.', 'type' => 'string', 'example' => 'Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.'."\n", 'title' => ''], + 'CheckName' => ['description' => 'The ACL check name. Valid values:'."\n" + ."\n" + .'- **PolicyHitCountZero**: Policies with no traffic hits.'."\n" + ."\n" + .'- **PolicySourceDestinationSame**: Invalid policies with the same source and destination.'."\n" + ."\n" + .'- **PolicyDuplicate**: Duplicate redundant policies.'."\n" + ."\n" + .'- **PolicyConflict**: Business conflict policies.'."\n" + ."\n" + .'- **DefaultPolicyNotDeny**: Default policy is not Deny All allowlist mechanism.'."\n" + ."\n" + .'- **PolicyPortHighRisk**: Policies that allow traffic through high-risk ports.'."\n" + ."\n" + .'- **PolicyTooLoose**: Overly permissive control policies.'."\n" + ."\n" + .'- **AddressBookIpSeparated**: Duplicate, overlapping, or scattered IP address books.'."\n" + ."\n" + .'- **AddressBookPortSeparated**: Duplicate, overlapping, or scattered port address books.'."\n" + ."\n" + .'- **AddressBookDomainValid**: Domain address book validity check.', 'type' => 'string', 'example' => 'PolicyHitCountZero', 'title' => ''], + 'Description' => ['description' => 'The rule description.', 'type' => 'string', 'example' => 'dwd_mysql_lingwan_faxing_chat_config_di', 'title' => ''], + 'LastCheckTime' => ['description' => 'The timestamp of the last check. Unit: seconds.', 'type' => 'string', 'example' => '1724982259', 'title' => ''], + 'Level' => ['description' => 'The risk level.', 'type' => 'string', 'example' => 'High', 'title' => ''], + 'PolicyTotalCount' => ['description' => 'The total number of policies.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TaskId' => ['description' => 'The ACL check task ID.', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAclCheckNotExist', 'errorMessage' => 'ACL check not exist.', 'description' => 'The access control configuration check does not exist.'], + ['errorCode' => 'ErrorAclCheckDetailNotExist', 'errorMessage' => 'ACL check detail not exist.', 'description' => 'The details of the access control configuration check do not exist.'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF****\\"\\n}","type":"json"}]', - ], - 'DescribeLogStoreInfo' => [ - 'summary' => 'Get Log Service Information', - 'methods' => [ - 'post', - 'get', + 'title' => 'Modify ACL Check Detail Status', + 'description' => '## QPS Limit'."\n" + .'The single-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Please call this API appropriately.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAclCheckDetailStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"CheckRecord\\": {\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.168.0.1/32\\",\\n \\"Proto\\": \\"ANY\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"port\\",\\n \\"AclUuid\\": \\"1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"10.71.94.24\\",\\n \\"DestinationType\\": \\"group\\",\\n \\"DestPort\\": \\"22/22\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"HTTP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"22/22\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"SSH\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"None\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1736130347,\\n \\"EndTime\\": 1752754426,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"5a96a798-9b73-47f7-831e-1d7aa3c987a9\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"subscribe\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"port\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"produce\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-gw85zno51npz7lgc04z89\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"cen-cw4z051hr8x53qniv5\\"\\n },\\n \\"AclStatus\\": \\"configuring\\",\\n \\"AclAssessmentDetail\\": \\"No traffic hit policy.\\"\\n }\\n ],\\n \\"RecordAssessmentDetail\\": \\"Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.\\\\n\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"dwd_mysql_lingwan_faxing_chat_config_di\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"PolicyTotalCount\\": 1,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n}","type":"json"}]', + ], + 'UpdatePostpayUserInternetStatus' => [ + 'summary' => 'Updates the status of the Internet Border firewall switch module for a pay-as-you-go user.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68305', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], + 'abilityTreeCode' => '205829', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-zsk39m******', 'title' => ''], + ], + [ + 'name' => 'Operate', + 'in' => 'query', + 'schema' => ['description' => 'The operation type. Currently, only the activation operation is supported.'."\n" + ."\n" + .'- open: activation.', 'type' => 'string', 'required' => false, 'example' => 'open', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Ttl' => [ - 'description' => 'Log storage duration. Unit: days.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - 'title' => '日志存储时长。单位:天。', - ], - 'RequestId' => [ - 'description' => 'The ID of this request.', - 'type' => 'string', - 'example' => 'C6C3B72B********E95FB0A161', - 'title' => '本次请求的id。', - ], - 'Quota' => [ - 'description' => 'Available log storage capacity. Unit: Byte.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000000', - 'title' => '存储容量阈值,单位字节。', - ], - 'ProjectName' => [ - 'description' => 'The Project name of the log service.', - 'type' => 'string', - 'example' => 'project-xxx-cn-hangzhou', - 'title' => '日志服务project的名称。', - ], - 'LogStoreName' => [ - 'description' => 'The name of the SLS LogStore in the log service.', - 'type' => 'string', - 'example' => 'xxx-logstore', - 'title' => '日志服务的logStore名称。', - ], - 'Used' => [ - 'description' => 'Used storage capacity. Unit: Byte.'."\n" - ."\n" - .'> The statistics of the log service have a delay of approximately two hours.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - 'title' => '已使用的日志分析容量。', - ], - 'RegionId' => [ - 'description' => 'The region ID for log delivery.', - 'type' => 'string', - 'example' => 'cn-shanghai', - 'title' => '日志投递的地域ID。', - ], - 'InfoList' => [ - 'title' => '信息列表。', - 'type' => 'array', - 'items' => [ - 'title' => '信息列表。', - 'type' => 'object', - 'properties' => [ - 'Ttl' => [ - 'title' => '日志存储时长。单位:天。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '180', - ], - 'Quota' => [ - 'title' => '存储容量阈值,单位字节。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000000', - ], - 'ProjectName' => [ - 'title' => '日志服务的Project名称。', - 'type' => 'string', - 'example' => 'cloudfirewall-project-14151892848****-cn-hangzhou', - ], - 'LogStoreName' => [ - 'title' => '日志服务的logStore名称。', - 'type' => 'string', - 'example' => 'xxx-logstore', - ], - 'Used' => [ - 'title' => '已存储的日志量,单位:Byte(字节)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21852955752', - ], - 'MaxSplitShard' => [ - 'title' => '弹性扩展shard数目可以支持的最大值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'Shard' => [ - 'title' => '当前已经使用的shard数目。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RegionId' => [ - 'title' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'Site' => [ - 'title' => '该logStore所属的站点。cn:中国内地、intl:非中国内地。', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], - 'LogVersion' => [ - 'title' => '日志版本。1:代表有1个logStore,2:代表有两个logStore。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalQuota' => [ - 'title' => '用户购买的日志存储的总容量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000000', - ], - 'LogModifyQuota' => [ - 'title' => '用户可以进行日志模式切换的次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'type' => 'string', - 'example' => '用户进行日志修改所产生的任务id。', - ], + 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-000901******'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB access error.'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => 'Parameters are insufficient.'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ttl\\": 20,\\n \\"RequestId\\": \\"C6C3B72B********E95FB0A161\\",\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"project-xxx-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 0,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InfoList\\": [\\n {\\n \\"Ttl\\": 180,\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"cloudfirewall-project-14151892848****-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 21852955752,\\n \\"MaxSplitShard\\": 4,\\n \\"Shard\\": 2,\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"Site\\": \\"cn\\"\\n }\\n ],\\n \\"LogVersion\\": 2,\\n \\"TotalQuota\\": 50000000,\\n \\"LogModifyQuota\\": 2,\\n \\"TaskId\\": \\"用户进行日志修改所产生的任务id。\\"\\n}","type":"json"}]', - 'title' => 'Get Log Service Information', - 'translator' => 'machine', - ], - 'DescribeTrafficLog' => [ - 'summary' => '查询日志', - 'methods' => [ - 'post', - 'get', + 'title' => 'Update the Internet border firewall switch module status for a pay-as-you-go user', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-000901******\\"\\n}","type":"json"}]', + ], + 'UpdatePostpayUserNatStatus' => [ + 'summary' => 'Updates the status of a NAT border firewall for a pay-as-you-go instance.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -51519,3370 +42916,205 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68392', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], + 'abilityTreeCode' => '200723', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '139.217.234.XXX', - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cfw_elasticity_public_cn-************'], ], [ - 'name' => 'Lang', + 'name' => 'Operate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'The type of operation. Valid value:'."\n" + ."\n" + .'- open: Enables the NAT border firewall.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'open'], ], [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the response message. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090******'], ], - 'example' => 'zh', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => 'A parameter error occurred.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'UpdatePostpayUserNatStatus', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1730946241', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090******\\"\\n}","type":"json"}]', + ], + 'UpdatePostpayUserVpcStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1742926322', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '224794', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'AppId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '7', - ], + 'schema' => ['description' => 'The ID of the Cloud Firewall instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'cfw_elasticity_public_cn-************'], ], [ - 'name' => 'CurrentPage', + 'name' => 'Operate', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The operation to perform. Currently, only the open operation is supported.'."\n" + ."\n" + .'- open: Enables the VPC border firewall.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'open'], ], [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese'."\n" + ."\n" + .'- en: English', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-2F71C8******'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'UpdatePostpayUserVpcStatus', + 'summary' => 'Updates the status of the VPC border firewall for a pay-as-you-go user.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '8b115ae3-da64-4b80-81c1-1cd2dd42****', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8******\\"\\n}","type":"json"}]', + ], + 'UpdateSecurityProxy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68536', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'DstIP', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '182.92.206.XXX', - ], + 'schema' => ['description' => 'The language of the content within the response. Valid values:'."\n" + ."\n" + .'- **zh** (default): Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'SrcIP', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.68.60.XXX', - ], + 'schema' => ['description' => 'The ID of the NAT firewall.', 'type' => 'string', 'required' => true, 'example' => 'proxy-natfdc73073e031****8e0d', 'title' => ''], ], [ - 'name' => 'SrcPrivateIP', + 'name' => 'ProxyName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.100.134.XX', - ], + 'schema' => ['description' => 'The name of the NAT firewall. The name can contain uppercase and lowercase letters, Chinese characters, digits, and underscores (_). The name must be 4 to 50 characters in length and cannot start with an underscore.', 'type' => 'string', 'required' => true, 'example' => 'proxy_auto_heyuan', 'title' => ''], ], [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'in' => '', - 'out' => '', - ], - 'example' => 'out', - ], - ], - [ - 'name' => 'AssetRegion', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'RuleResult', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - '', - '', - ], - 'example' => '0', - ], - ], - [ - 'name' => 'IpProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'icmp', - ], - ], - [ - 'name' => 'SrcPort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '8082', - ], - ], - [ - 'name' => 'DstPort', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '9876', - ], - ], - [ - 'name' => 'AttackType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - '', - '', - '', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'RuleSource', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - '', - '', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'VulLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '', - '', - '', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'Isp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'Location', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], - ], - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'FlowType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'UnidirectionalFlow' => '', - 'BidirectionalFlow' => '', - ], - 'example' => 'All', - ], - ], - [ - 'name' => 'FirewallType', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'DnsFirewall' => '', - 'VpcFirewall' => '', - 'InternetFirewall' => '', - ], - 'example' => 'VpcFirewall', - ], - ], - [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-a42bbb7b887148c9****', - ], - ], - [ - 'name' => 'SrcVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9309pkwe06lv****tk4', - ], - ], - [ - 'name' => 'DstVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz95m1aq9b0h****vk1yb', - ], - ], - [ - 'name' => 'SrcVpcRegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], - [ - 'name' => 'DstVpcRegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], - ], - [ - 'name' => 'DomainUrl', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 4 => 'IPv4', - 6 => 'IPv6', - ], - 'example' => '4', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '128599825273****', - ], - ], - [ - 'name' => 'NatFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-7a9c8901ed394****', - ], - ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-2zew6yn017hhzbm****', - ], - ], - [ - 'name' => 'AclPreState', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], - ], - [ - 'name' => 'AclPreRuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '00000000-0000-0000-0000-000000000000', - ], - ], - [ - 'name' => 'AppDpiState', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'success', - ], - ], - [ - 'name' => 'TlsScopeId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tis-98fd64c5****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '633D92D1-768A-547F-8ADC-2870CF0A99F6', - ], - 'PageInfo' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'in', - ], - 'AttackType' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '', - '', - '', - '', - '', - ], - 'example' => '0', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '14151892****7022', - ], - 'CountryId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'US', - ], - 'DstPort' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'SrcPrivateIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '172.16.101.7', - ], - 'IpProtocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp', - ], - 'DomainName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'aliyun.com', - ], - 'RuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '00000000-0000-0000-0000-000000000000', - ], - 'AppName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'HTTP', - ], - 'AttackApp' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'WebLogic', - ], - 'PacketCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'AppId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RuleResult' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'pass', - ], - 'Ext' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'DstIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2.2.2.2', - ], - 'PacketBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '355', - ], - 'InBytes' => [ - 'description' => '', - 'type' => 'string', - 'example' => '125', - ], - 'IspId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '50075069', - ], - 'Isp' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FOP Dmytro Nedilskyi', - ], - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'SrcPort' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20206', - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1751423363', - ], - 'VpcFirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-4045ca7***', - ], - 'CityId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'FI', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1751423362', - ], - 'CloseReason' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tcp_fin', - ], - 'OutBytes' => [ - 'description' => '', - 'type' => 'string', - 'example' => '230', - ], - 'VulLevel' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RuleSource' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'OutPackets' => [ - 'description' => '', - 'type' => 'string', - 'example' => '11', - ], - 'InPackets' => [ - 'description' => '', - 'type' => 'string', - 'example' => '12', - ], - 'SrcIP' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'Location' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'DomainUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'xxx.com', - ], - 'CloudInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-*', - ], - 'AclPreState' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'normal', - ], - 'AclPreRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2', - ], - 'AclPreRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'AppDpiState' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'success', - ], - 'Rules' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sharepoint', - ], - 'RuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '17', - ], - ], - ], - ], - 'SrcVpc' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-8vba1c1em97h0ji71****', - ], - 'VpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'yi-vpc', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - 'DstVpc' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-8vba1c1em97h0ji71b****', - ], - 'VpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'yi-vpc', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - 'PrivateIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '172.21.234.XXX', - ], - 'PrivatePort' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'TlsRuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tir-xxx', - ], - 'TlsRuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'TlsScopeId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tls-xxx', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorAliUidBlackList', - 'errorMessage' => 'The specified aliUid is invalid.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorTrafficSlsFirewallType', - 'errorMessage' => 'The firewall type of traffic log is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorPortError', - 'errorMessage' => 'The port is invalid.', - ], - [ - 'errorCode' => 'ErrorIpProtocolError', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorAttackTypeError', - 'errorMessage' => 'The attack type is invalid.', - ], - [ - 'errorCode' => 'ErrorVulLevelFailed', - 'errorMessage' => 'VulLevel has failed.', - ], - [ - 'errorCode' => 'ErrorRuleResultError', - 'errorMessage' => 'The rule result is invalid.', - ], - [ - 'errorCode' => 'ErrorAppIdError', - 'errorMessage' => 'An app ID error occurred.', - ], - [ - 'errorCode' => 'ErrorFlowType', - 'errorMessage' => 'The flow type is invalid.', - ], - [ - 'errorCode' => 'ErrorIspError', - 'errorMessage' => 'The ISP name is invalid.', - ], - [ - 'errorCode' => 'ErrorLocationError', - 'errorMessage' => 'The location name is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorSLSLogStore', - 'errorMessage' => 'Failed to get SLS logstore.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"633D92D1-768A-547F-8ADC-2870CF0A99F6\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2\\n },\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"AttackType\\": 0,\\n \\"MemberUid\\": \\"14151892****7022\\",\\n \\"CountryId\\": \\"US\\",\\n \\"DstPort\\": 80,\\n \\"SrcPrivateIP\\": \\"172.16.101.7\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"DomainName\\": \\"aliyun.com\\",\\n \\"RuleId\\": \\"00000000-0000-0000-0000-000000000000\\",\\n \\"AppName\\": \\"HTTP\\",\\n \\"AttackApp\\": \\"WebLogic\\",\\n \\"PacketCount\\": 23,\\n \\"AppId\\": 6,\\n \\"RuleResult\\": 0,\\n \\"Ext\\": \\"无\\",\\n \\"DstIP\\": \\"2.2.2.2\\",\\n \\"PacketBytes\\": 355,\\n \\"InBytes\\": \\"125\\",\\n \\"IspId\\": \\"50075069\\",\\n \\"Isp\\": \\"FOP Dmytro Nedilskyi\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SrcPort\\": 20206,\\n \\"RuleName\\": \\"test\\",\\n \\"EndTime\\": 1751423363,\\n \\"VpcFirewallId\\": \\"vfw-4045ca7***\\",\\n \\"CityId\\": \\"FI\\",\\n \\"StartTime\\": 1751423362,\\n \\"CloseReason\\": \\"tcp_fin\\",\\n \\"OutBytes\\": \\"230\\",\\n \\"VulLevel\\": 0,\\n \\"RuleSource\\": \\"0\\",\\n \\"OutPackets\\": \\"11\\",\\n \\"InPackets\\": \\"12\\",\\n \\"SrcIP\\": \\"1.1.1.1\\",\\n \\"Location\\": \\"杭州\\",\\n \\"DomainUrl\\": \\"xxx.com\\",\\n \\"CloudInstanceId\\": \\"ngw-*\\",\\n \\"AclPreState\\": \\"normal\\",\\n \\"AclPreRuleId\\": \\"2\\",\\n \\"AclPreRuleName\\": \\"test\\",\\n \\"AppDpiState\\": \\"success\\",\\n \\"Rules\\": [\\n {\\n \\"RuleName\\": \\"sharepoint\\",\\n \\"RuleId\\": \\"17\\"\\n }\\n ],\\n \\"SrcVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-beijing\\"\\n },\\n \\"DstVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71b****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"PrivateIp\\": \\"172.21.234.XXX\\",\\n \\"PrivatePort\\": 80,\\n \\"TlsRuleId\\": \\"tir-xxx\\",\\n \\"TlsRuleName\\": \\"test\\",\\n \\"TlsScopeId\\": \\"tls-xxx\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeSlsAnalyzeOpenStatus' => [ - 'summary' => '获取SLS开启状态', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68367', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'OpenStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'false', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6CC01A2B-92FB-535C-9415-9A951C20****', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OpenStatus\\": \\"false\\",\\n \\"RequestId\\": \\"6CC01A2B-92FB-535C-9415-9A951C20****\\"\\n}","type":"json"}]', - ], - 'DescribeClearAuthInfo' => [ - 'summary' => '获取清空授权信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68232', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1755964800', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '8DDEE254-5639-5548-82D1-AAAC7347****', - ], - 'LeftTimes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1755964800,\\n \\"RequestId\\": \\"8DDEE254-5639-5548-82D1-AAAC7347****\\",\\n \\"LeftTimes\\": 20\\n}","type":"json"}]', - ], - 'DescribeLocationInfo' => [ - 'summary' => '获取位置信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68303', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '180.169.141.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CD3BE433-FAB0-55D8-918A-69B306****', - ], - 'CnCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '340', - ], - 'OverseasCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '238', - ], - 'OverseasList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'LocId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'US', - ], - 'LocName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'CnList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'LocId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3301', - ], - 'LocName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'CnProvinceList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ProvinceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Cities' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'LocId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '123', - ], - 'LocName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CD3BE433-FAB0-55D8-918A-69B306****\\",\\n \\"CnCount\\": 340,\\n \\"OverseasCount\\": 238,\\n \\"OverseasList\\": [\\n {\\n \\"LocId\\": \\"US\\",\\n \\"LocName\\": \\"美国\\"\\n }\\n ],\\n \\"CnList\\": [\\n {\\n \\"LocId\\": \\"3301\\",\\n \\"LocName\\": \\"杭州市\\"\\n }\\n ],\\n \\"CnProvinceList\\": [\\n {\\n \\"ProvinceName\\": \\"浙江\\",\\n \\"Cities\\": [\\n {\\n \\"LocId\\": \\"123\\",\\n \\"LocName\\": \\"杭州。\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeIspInfo' => [ - 'summary' => '获取ISP信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68302', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '39.91.37.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IspId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'isp-dhyw2lxfpc****', - ], - 'IspName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"IspId\\": 0,\\n \\"IspName\\": \\"电信\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeCreatedNatFirewall' => [ - 'summary' => '获取已经创建的 NAT 防火墙', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '116773', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '121.225.255.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '072B5287-8A85-529E-BD47-F8AC2DB1****', - ], - 'CreatedNatFirewalls' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NatFirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cfw-adk2ad45sf4t8****', - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-uf6i0zkjtz4t2sttf****', - ], - 'NatGatewayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-text', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"072B5287-8A85-529E-BD47-F8AC2DB1****\\",\\n \\"CreatedNatFirewalls\\": [\\n {\\n \\"NatFirewallId\\": \\"cfw-adk2ad45sf4t8****\\",\\n \\"NatGatewayId\\": \\"ngw-uf6i0zkjtz4t2sttf****\\",\\n \\"NatGatewayName\\": \\"ngw-text\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeBatchSlsDispatchStatus' => [ - 'summary' => '获取日志分发状态', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68214', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - 'title' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - 'title' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7036EBAB-F85F-5AAE-976F-C75AEE59****', - 'title' => '返回结果的请求id。', - ], - 'LogstoreName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rs-stats', - 'title' => '日志服务的logStore名称。', - ], - 'ProjectName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cloudfirewallnew-project-199053910542****-cn-hangzhou', - 'title' => '日志服务的project。', - ], - 'ItemList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DispatchName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '互联网流量日志、VPC流量日志、NAT流量日志', - 'title' => '投递类型中文名称。', - ], - 'DispatchValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'internet_log', - 'title' => '分类日志的key。取值:'."\n" - ."\n" - .'**internet_log**'."\n" - ."\n" - .'**vpc_firewall_log**'."\n" - ."\n" - .'**nat_firewall_log**'."\n" - ."\n" - .'**ipv6_firewall_log**'."\n" - ."\n" - .'**dns_firewall_log**。', - ], - 'SearchName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'log_type', - 'title' => '固定为log_type,无需关注。', - ], - 'Enable' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '该投递类型开关情况。', - ], - 'ConfigStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'success_finished', - 'title' => '配置状态。', - ], - 'FilterKeys' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'other' => '', - 'attack' => '', - 'acl' => 'ACL', - ], - 'example' => 'attack', - 'title' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', - ], - 'title' => '互联网和VPC的详细投递配置。', - ], - ], - 'title' => '日志投递配置详情。', - ], - 'title' => '日志投递配置详情。', - ], - 'LogVersion' => [ - 'title' => '日志版本,1代表只有1个logStore,2代表有2个。', - 'type' => 'string', - 'example' => '1', - ], - 'InfoList' => [ - 'title' => 'logStore的详细信息列表', - 'type' => 'array', - 'items' => [ - 'title' => '信息列表。', - 'type' => 'object', - 'properties' => [ - 'LogstoreName' => [ - 'title' => '日志服务的logStore名称。', - 'type' => 'string', - 'example' => 'cloudfirewall-logstore', - ], - 'ProjectName' => [ - 'title' => '日志服务的Project名称。', - 'type' => 'string', - 'example' => 'cloudfirewall-project-1204872307283650-cn-hangzhou', - ], - 'ItemList' => [ - 'title' => '日志投递配置详情。', - 'type' => 'array', - 'items' => [ - 'title' => '日志投递配置详情。', - 'type' => 'object', - 'properties' => [ - 'DispatchName' => [ - 'title' => '投递类型中文名称。', - 'type' => 'string', - 'example' => '互联网流量日志、VPC流量日志、NAT流量日志', - ], - 'DispatchValue' => [ - 'title' => '分类日志的key。取值:'."\n" - ."\n" - .'**internet_log**'."\n" - ."\n" - .'**vpc_firewall_log**'."\n" - ."\n" - .'**nat_firewall_log**'."\n" - ."\n" - .'**ipv6_firewall_log**'."\n" - ."\n" - .'**dns_firewall_log**', - 'type' => 'string', - 'example' => 'ipv6_firewall_log', - ], - 'SearchName' => [ - 'title' => '固定为log_type,无需关注。', - 'type' => 'string', - 'example' => 'log_type', - ], - 'Enable' => [ - 'title' => '该投递类型开关情况。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConfigStatus' => [ - 'title' => '配置状态。', - 'type' => 'string', - 'example' => 'success_finished', - ], - 'FilterKeys' => [ - 'title' => '互联网和VPC的详细投递配置。', - 'type' => 'array', - 'items' => [ - 'title' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', - 'type' => 'string', - 'example' => 'attack,other', - ], - ], - ], - ], - ], - 'Site' => [ - 'title' => 'cn代表中国内地,intl代表非中国内地,global代表全球。', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvokeError', - 'errorMessage' => 'Invoke rosttea\'s api failed.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7036EBAB-F85F-5AAE-976F-C75AEE59****\\",\\n \\"LogstoreName\\": \\"rs-stats\\",\\n \\"ProjectName\\": \\"cloudfirewallnew-project-199053910542****-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"互联网流量日志\\",\\n \\"DispatchValue\\": \\"internet_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack\\"\\n ]\\n }\\n ],\\n \\"LogVersion\\": \\"1\\",\\n \\"InfoList\\": [\\n {\\n \\"LogstoreName\\": \\"cloudfirewall-logstore\\",\\n \\"ProjectName\\": \\"cloudfirewall-project-1204872307283650-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"互联网流量日志、VPC流量日志、NAT流量日志\\",\\n \\"DispatchValue\\": \\"ipv6_firewall_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack,other\\"\\n ]\\n }\\n ],\\n \\"Site\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateSlsLogDispatch' => [ - 'summary' => 'Create Cloud Firewall SLS Log Delivery', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '214748', - 'abilityTreeNodes' => [ - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SlsRegionId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The region ID of the Simple Log Service project.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ap-southeast-1', - ], - ], - [ - 'name' => 'Ttl', - 'in' => 'formData', - 'schema' => [ - 'description' => 'The log retention period. Unit: days.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '850A84D6************00090125EEB1', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\"\\n}","type":"json"}]', - 'title' => 'CreateSlsLogDispatch', - 'translator' => 'machine', - ], - 'ModifySlsDispatchStatus' => [ - 'summary' => '修改SLS投递', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68482', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'EnableStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'title' => '投递: true:有效,false:不投递。', - ], - ], - [ - 'name' => 'DispatchValue', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'internet_log', - 'title' => '分类日志的key'."\n" - .'共有以下取值:'."\n" - .'['."\n" - .'"internet_log",'."\n" - .'"vpc_firewall_log",'."\n" - .'"nat_firewall_log",'."\n" - .'"ipv6_firewall_log",'."\n" - .'"dns_firewall_log"'."\n" - .']', - ], - ], - [ - 'name' => 'FilterKeys', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'attack,acl', - 'title' => '查询指定过滤条件的场景。用 ","拼接'."\n" - .'['."\n" - .'"attack.acl,other",'."\n" - .'"attack",'."\n" - .'"acl",'."\n" - .'"other",'."\n" - .'"acl,other"'."\n" - .']。', - ], - ], - [ - 'name' => 'NewRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - 'title' => '区域。', - ], - ], - [ - 'name' => 'Site', - 'in' => 'query', - 'schema' => [ - 'title' => '这个字段用来指示修改哪个站点,如果日志版本为1,这个字段可以不填,或者global,如果日志版本为2,这个字段必须填,cn或者intl', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CE901E31-4AE9-579D-AC37-D2F1BB43****', - 'title' => '返回结果的请求id。', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalOperation', - 'errorMessage' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE901E31-4AE9-579D-AC37-D2F1BB43****\\"\\n}","type":"json"}]', - ], - 'ModifyUserSlsLogStorageTime' => [ - 'summary' => '修改用户日志存储时间', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68491', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vipcloudfw-cn-uqm3fz****', - 'title' => '云防火墙的id。', - ], - ], - [ - 'name' => 'StorageTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '180', - 'title' => '日志存储时间(单位:天)。可选值:-**0**:最近一天-**30**:最近30天', - ], - ], - [ - 'name' => 'LogVersion', - 'in' => 'query', - 'schema' => [ - 'title' => '日志版本,主要有1(1个logStore)和2(2个logStore)', - 'type' => 'integer', - 'format' => 'int32', - 'docRequired' => false, - 'example' => '1', - 'default' => '1', - 'enum' => [ - '1', - '2', - ], - ], - ], - [ - 'name' => 'SlsRegionId', - 'in' => 'query', - 'schema' => [ - 'title' => 'SLS地域ID。', - 'type' => 'string', - 'example' => 'ap-southeast-1', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', - 'title' => '本次请求的id。', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', - ], - 'ClearLogStoreStorage' => [ - 'summary' => '清空防火墙日志', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68112', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Site', - 'in' => 'query', - 'schema' => [ - 'title' => '代表要清空的站点名称,如果只有1个logStore,可以不填,如果有2个logStore,需要填cn或者intl。', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HttpStatusCode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - 'title' => 'http状态码。', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '21C27710-2DB1-5F2A-8588-72D0541B****', - 'title' => '本次请求的id。', - ], - 'Success' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - 'title' => '返回结果。取值:-**true**:表示成功-**false**:表示失败', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"21C27710-2DB1-5F2A-8588-72D0541B****\\",\\n \\"Success\\": true\\n}","type":"json"}]', - ], - 'DescribeUserAlarmConfig' => [ - 'summary' => '获取用户告警配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68397', - 'abilityTreeNodes' => [ - 'FEATUREcfwHNNY65', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '59.82.135.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9D250177-4F11-58B8-9AFE-A4624FF1****', - ], - 'AlarmConfig' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AlarmPeriod' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'AlarmValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => '80', - ], - 'AlarmHour' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'AlarmType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'weeklyReport' => 'weeklyReport', - 'trafficPreAlert' => 'trafficPreAlert', - 'outgoingRiskAll' => 'outgoingRiskAll', - 'Middlethreat' => 'Middlethreat', - 'bandwidth' => 'bandwidth', - 'ipsHighthreat' => 'ipsHighthreat', - 'outgoingRiskNonWhite' => 'outgoingRiskNonWhite', - 'ipsIgnoreResolved' => 'ipsIgnoreResolved', - ], - 'example' => 'bandwidth', - ], - 'AlarmNotify' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 'sms/email', - 'sms', - 'email', - 'none', - ], - 'example' => '1', - ], - 'AlarmWeekDay' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], - 'NotifyConfig' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NotifyValue' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'NotifyType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mail', - ], - ], - ], - ], - 'ContactConfig' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Email' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1530811****@qq.com'."\n", - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1531123****', - ], - 'MobilePhone' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - 'AlarmLang' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - 'DefaultContact' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Email' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1530811****@qq.com', - ], - 'MobilePhone' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1531123****', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'internal error: sql select.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D250177-4F11-58B8-9AFE-A4624FF1****\\",\\n \\"AlarmConfig\\": [\\n {\\n \\"AlarmPeriod\\": 30,\\n \\"AlarmValue\\": \\"80\\",\\n \\"AlarmHour\\": 0,\\n \\"AlarmType\\": \\"bandwidth\\",\\n \\"AlarmNotify\\": 1,\\n \\"AlarmWeekDay\\": 0\\n }\\n ],\\n \\"NotifyConfig\\": [\\n {\\n \\"NotifyValue\\": \\"0\\",\\n \\"NotifyType\\": \\"mail\\"\\n }\\n ],\\n \\"ContactConfig\\": [\\n {\\n \\"Status\\": 1,\\n \\"Email\\": \\"1530811****@qq.com\\\\n\\",\\n \\"Name\\": \\"1531123****\\",\\n \\"MobilePhone\\": \\"张三\\"\\n }\\n ],\\n \\"AlarmLang\\": \\"zh\\",\\n \\"DefaultContact\\": {\\n \\"Name\\": \\"张三\\",\\n \\"Email\\": \\"1530811****@qq.com\\",\\n \\"MobilePhone\\": \\"1531123****\\",\\n \\"Status\\": \\"0\\"\\n }\\n}","type":"json"}]', - ], - 'ModifyUserAlarmConfig' => [ - 'summary' => '修改用户告警配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68489', - 'abilityTreeNodes' => [ - 'FEATUREcfwHNNY65', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '117.129.64.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AlarmConfig', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'AlarmValue' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'on', - ], - 'AlarmType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'weeklyReport' => 'weeklyReport', - 'trafficPreAlert' => 'trafficPreAlert', - 'outgoingRiskAll' => 'outgoingRiskAll', - 'ipsMiddlethreat' => 'ipsMiddlethreat', - 'bandwidth' => 'bandwidth', - 'ipsHighthreat' => 'ipsHighthreat', - 'outgoingRiskNonWhite' => 'outgoingRiskNonWhite', - 'ipsIgnoreResolved' => 'ipsIgnoreResolved', - ], - 'example' => 'bandwidth', - ], - 'AlarmPeriod' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '8:00~20:00', - '', - ], - 'example' => '0', - ], - 'AlarmHour' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - 'AlarmNotify' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'sms/email', - 'sms', - 'email', - 'none', - ], - 'example' => '0', - ], - 'AlarmWeekDay' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NotifyConfig', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'NotifyType' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'mail' => 'mail', - 'sms' => 'sms', - ], - 'example' => 'mail', - ], - 'NotifyValue' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1351234****', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'ContactConfig', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '', - '', - ], - 'example' => '1', - ], - 'Email' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '91632****@qq.com', - ], - 'MobilePhone' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1351234****'."\n", - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Ben', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'AlarmLang', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'UseDefaultContact', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3B168A0F-A43D-5FD0-8059-B51BDD6E****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAlarmConfig', - 'errorMessage' => 'invalid alarmConfig.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersNotifyConfig', - 'errorMessage' => 'invalid notifyConfig.', - ], - [ - 'errorCode' => 'ErrorParamSms', - 'errorMessage' => 'invalid sms number.', - ], - [ - 'errorCode' => 'ErrorParamEmail', - 'errorMessage' => 'invalid email address.', - ], - [ - 'errorCode' => 'ErrorParamCountExceed', - 'errorMessage' => 'sms or email count exceed.', - ], - [ - 'errorCode' => 'ErrorDBDeleteError', - 'errorMessage' => 'A database delete error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql update.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'internal error: sql insert.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B168A0F-A43D-5FD0-8059-B51BDD6E****\\"\\n}","type":"json"}]', - ], - 'DescribeInstanceRdAccounts' => [ - 'summary' => '获取实例RD账号', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68270', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.170.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], - ], - [ - 'name' => 'MemberDisplayName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cloudfirewall_2', - ], - ], - [ - 'name' => 'MemberDesc', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'renewal', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '06D1EC07-C9EB-58AC-A750-C87C9A0****', - ], - 'Accounts' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'DisplayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'AccountId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '171054237268****', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorNoInstanceInDb', - 'errorMessage' => 'no instance for process in db.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrorInstanceAliuidNotDaMa', - 'errorMessage' => 'instance aliuid not DA or MA.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06D1EC07-C9EB-58AC-A750-C87C9A0****\\",\\n \\"Accounts\\": [\\n {\\n \\"DisplayName\\": \\"test\\",\\n \\"AccountId\\": \\"171054237268****\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeInstanceMembers' => [ - 'summary' => 'Queries the information about members in Cloud Firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68269', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => 'The page number. Default value: **1**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries per page.'."\n" - ."\n" - .'Default value: **20**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'The UID of the member.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], - ], - [ - 'name' => 'MemberDisplayName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the member.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cloudfirewall_2', - ], - ], - [ - 'name' => 'MemberDesc', - 'in' => 'query', - 'schema' => [ - 'description' => 'The remarks of the member. The remarks must be 1 to 256 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'renewal', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A531AE1A-FBA2-48B6-BAB8-84D02BD409EE', - ], - 'PageInfo' => [ - 'description' => 'The pagination information.'."\n", - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'The number of entries per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => 'The total number of the members.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - ], - ], - 'Members' => [ - 'description' => 'The information about the member.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MemberDesc' => [ - 'description' => 'The remarks of the member.'."\n", - 'type' => 'string', - 'example' => 'renewal', - ], - 'MemberDisplayName' => [ - 'description' => 'The name of the member.'."\n", - 'type' => 'string', - 'example' => 'cloudfirewall_2', - ], - 'CreateTime' => [ - 'description' => 'The time when the member was added to Cloud Firewall. The value is a timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1615189819', - ], - 'MemberUid' => [ - 'description' => 'The UID of the member.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '258039427902****', - ], - 'MemberStatus' => [ - 'description' => 'The status of the member. Valid values:'."\n" - ."\n" - .'* **normal**'."\n" - .'* **deleting**'."\n", - 'type' => 'string', - 'example' => 'normal', - ], - 'ModifyTime' => [ - 'description' => 'The time when the member was last modified. The value is a timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1615189819', - ], - ], - ], - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A531AE1A-FBA2-48B6-BAB8-84D02BD409EE\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 20\\n },\\n \\"Members\\": [\\n {\\n \\"MemberDesc\\": \\"renewal\\",\\n \\"MemberDisplayName\\": \\"cloudfirewall_2\\",\\n \\"CreateTime\\": 1615189819,\\n \\"MemberUid\\": 0,\\n \\"MemberStatus\\": \\"normal\\",\\n \\"ModifyTime\\": 1615189819\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n A531AE1A-FBA2-48B6-BAB8-84D02BD409EE\\n \\n 1\\n 20\\n 20\\n \\n \\n renewal\\n cloudfirewall_2\\n 1615189819\\n normal\\n 1615189819\\n \\n","errorExample":""}]', - 'title' => 'DescribeInstanceMembers', - 'description' => 'You can use this operation to query the information about members in Cloud Firewall.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AddInstanceMembers' => [ - 'summary' => 'Adds members to Cloud Firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68097', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Members', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The members.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'None.'."\n", - 'type' => 'object', - 'properties' => [ - 'MemberDesc' => [ - 'description' => 'The remarks of the member. The value must be 1 to 256 characters in length.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'renewal', - ], - 'MemberUid' => [ - 'description' => 'The UID of the member. You can add up to 20 members to Cloud Firewall at a time.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '258039427902****', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 100, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'B40A54DF-C142-44F7-8441-B31C1EADB36E', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrotMaxInstanceMemberNumExceed', - 'errorMessage' => 'The maximum number of firewall instance members is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInstanceTooManyMembersOnce', - 'errorMessage' => 'too many members once.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberAlreadyExist', - 'errorMessage' => 'instance member is already exist.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberIsMaster', - 'errorMessage' => 'instance member is master account.', - ], - [ - 'errorCode' => 'ErrorInstanceAliuidNotDaMa', - 'errorMessage' => 'instance aliuid not DA or MA.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'internal error: sql insert.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberNotBelongRd', - 'errorMessage' => 'instance member not belong rd.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberNotStsGrant', - 'errorMessage' => 'instance member is not sts grant.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B40A54DF-C142-44F7-8441-B31C1EADB36E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B40A54DF-C142-44F7-8441-B31C1EADB36E\\n","errorExample":""}]', - 'title' => 'AddInstanceMembers', - 'description' => 'You can call this operation to add members to Cloud Firewall.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyInstanceMemberAttributes' => [ - 'summary' => 'Updates the information about members in Cloud Firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68474', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Members', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The members that to be modified.', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'MemberDesc' => [ - 'description' => 'The remarks of the member in Cloud Firewall.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'renewal', - ], - 'MemberUid' => [ - 'description' => 'The UID of the member in Cloud Firewall.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '123412341234****', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 100, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'AB74E747-BA5C-492C-87DD-CEA67FCFFFE5', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrorInstanceTooManyMembersOnce', - 'errorMessage' => 'too many members once.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB74E747-BA5C-492C-87DD-CEA67FCFFFE5\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB74E747-BA5C-492C-87DD-CEA67FCFFFE5\\n","errorExample":""}]', - 'title' => 'ModifyInstanceMemberAttributes', - 'description' => 'You can call the ModifyInstanceMemberAttributes operation to update the information about members in Cloud Firewall. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second for each account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteInstanceMembers' => [ - 'summary' => 'Removes members from Cloud Firewall.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68151', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'MemberUids', + 'name' => 'StrictMode', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'The UIDs of the members.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The UID of the member.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], - 'required' => true, - 'example' => '1234123412341234', - 'maxItems' => 200, - ], + 'schema' => ['description' => 'Specifies whether to enable strict mode. Valid values:'."\n" + ."\n" + .'- 1: strict mode.'."\n" + .'- 0: loose mode.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -54890,257 +43122,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '03E8AA70-0CC9-42EA-97AA-EA68377930B4', - ], + 'Module' => ['description' => 'The application module.', 'type' => 'string', 'example' => 'ips_server', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '9E2CCAB4-E789-5BC9-88DC-5CE0358E****', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorInstanceTooManyMembersOnce', - 'errorMessage' => 'too many members once.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberHasFirewall', - 'errorMessage' => 'instance member has firewall resource.', - ], + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => 'A database update error occurred.'], ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'The aliuid is invalid.'], + ['errorCode' => 'ErrorParamProxyNameError', 'errorMessage' => 'proxy name invalid.', 'description' => 'Invalid NAT firewall name.'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['errorCode' => 'ErrorProxyStatusNotNormal', 'errorMessage' => 'proxy status is not normal.', 'description' => 'The current NAT instance does not have a firewall enabled.'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => 'Update operation log error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"03E8AA70-0CC9-42EA-97AA-EA68377930B4\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 03E8AA70-0CC9-42EA-97AA-EA68377930B4\\n","errorExample":""}]', - 'title' => 'DeleteInstanceMembers', - 'description' => 'You can call this operation to remove up to 20 members from Cloud Firewall at a time. Separate multiple members with commas (,). After a member is removed, Cloud Firewall can no longer access the cloud resources of the member. Proceed with caution. Before you call this operation, call the [DescribeInstanceMembers](~~271704~~) operation to obtain the information about the members that are added to Cloud Firewall.'."\n" - ."\n" - .'## [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDownloadTask' => [ - 'summary' => 'Queries file download tasks, including the task information and download URLs.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174551', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', + 'title' => 'Update a NAT firewall', + 'summary' => 'Updates a NAT firewall.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => 'The number of entries per page. Default value: 10. Maximum value: 50.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => 'The page number.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], + 'ramActions' => [ [ - 'name' => 'TaskType', - 'in' => 'query', - 'schema' => [ - 'title' => '任务类型', - 'description' => 'The type of the task. For more information about task types, see the descriptions in the "DescribeDownloadTaskType" topic. If you do not specify this parameter, all files are queried by default.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewallAsset', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of tasks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '3F2BED13-F3D0-5984-80D6-D5F298CFEA88', - ], - 'Tasks' => [ - 'description' => 'The tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The task information.'."\n", - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'The task ID.'."\n", - 'type' => 'string', - 'example' => '1111', - ], - 'TaskName' => [ - 'title' => '名称', - 'description' => 'The name of the task.'."\n", - 'type' => 'string', - 'example' => 'Internet Boundary Firewall Assets - IPv4', - ], - 'Status' => [ - 'title' => '', - 'description' => 'The status of the task. Valid values:'."\n" - ."\n" - .'* **finish**'."\n" - .'* **start**'."\n" - .'* **error**'."\n" - .'* **expire**: The task file is invalid and cannot be downloaded.'."\n", - 'type' => 'string', - 'example' => 'finish', - ], - 'FileURL' => [ - 'description' => 'The URL of the OSS file.'."\n", - 'type' => 'string', - 'example' => 'https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D', - ], - 'FileSize' => [ - 'title' => '', - 'description' => 'The size of the file.'."\n", - 'type' => 'string', - 'example' => '24.04KB', - ], - 'CreateTime' => [ - 'description' => 'The time when the task was created. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1706595827', - ], - 'ExpireTime' => [ - 'description' => 'The time when the task expires. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1714371828', - ], - 'TaskType' => [ - 'description' => 'The type of the task.'."\n", - 'type' => 'string', - 'example' => 'InternetFirewallAsset', - ], - ], - ], - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"3F2BED13-F3D0-5984-80D6-D5F298CFEA88\\",\\n \\"Tasks\\": [\\n {\\n \\"TaskId\\": \\"1111\\",\\n \\"TaskName\\": \\"互联网边界防火墙资产-IPv4\\",\\n \\"Status\\": \\"finish\\",\\n \\"FileURL\\": \\"https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D\\",\\n \\"FileSize\\": \\"24.04KB\\",\\n \\"CreateTime\\": 1706595827,\\n \\"ExpireTime\\": 1714371828,\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDownloadTask', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\",\\n \\"RequestId\\": \\"9E2CCAB4-E789-5BC9-88DC-5CE0358E****\\"\\n}","type":"json"}]', ], - 'DescribeDownloadTaskType' => [ - 'summary' => 'Queries the types of download tasks. The type corresponds to the TaskType fields in the download task-related operations.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UseAclBackupData' => [ + 'summary' => 'Restores an access control backup.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -55149,63 +43183,35 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '175450', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], + 'abilityTreeCode' => '68538', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => 'The number of entries per page. Default value: 10. Maximum value: 50.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '123.113.99.XXX', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The page number. Pages start from page 1. Default value: **1**.'."\n", + 'description' => 'The language of the response.', + 'enumValueTitles' => ['en' => 'English', 'zh' => 'Chinese'], 'type' => 'string', 'required' => false, - 'example' => '1', + 'example' => 'zh', + 'title' => '', ], ], [ - 'name' => 'TaskType', + 'name' => 'BackUpTime', 'in' => 'query', - 'schema' => [ - 'title' => '任务类型', - 'description' => 'The type of the task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewallAsset', - ], + 'schema' => ['description' => 'The backup time. This value is a Unix timestamp in seconds. For example: 1672502400.', 'type' => 'string', 'required' => true, 'example' => '1743683400'."\n", 'title' => ''], ], ], 'responses' => [ @@ -55213,3315 +43219,4483 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B835494C-D093-5524-BBDE-BD272077B40E', - ], - 'TaskTypeArray' => [ - 'description' => 'The task types.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TaskName' => [ - 'title' => '名称', - 'description' => 'The name of the task type.'."\n", - 'type' => 'string', - 'example' => 'Internet Boundary Firewall Assets', - ], - 'TaskType' => [ - 'description' => 'The type of the task.'."\n", - 'type' => 'string', - 'example' => 'InternetFirewallAsset', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', 'title' => ''], ], - 'description' => '', + 'description' => 'The response object.', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'The aliUid parameter is invalid.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => 'Parameter error.'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => 'An error occurred while querying database.'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => 'An error occurred while deleting the database.'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => 'An error occurred while updating the database.'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => 'An error occurred while performing an insert operation in the database.'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => 'An error occurred while encoding JSON.'], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"B835494C-D093-5524-BBDE-BD272077B40E\\",\\n \\"TaskTypeArray\\": [\\n {\\n \\"TaskName\\": \\"互联网边界防火墙资产\\",\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDownloadTaskType', - ], - 'CreateDownloadTask' => [ - 'summary' => 'Creates a file download task.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174565', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], - 'tenantRelevance' => 'publicInformation', + 'title' => 'UseAclBackupData', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => 'The language of the content within the response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'TaskType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the task. For more information about task types, see the descriptions in the "DescribeDownloadTaskType" topic.', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewallAsset', - ], - ], - [ - 'name' => 'TaskData', - 'in' => 'query', - 'schema' => [ - 'description' => 'The query condition of the download task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"SearchItem\\":\\"\\",\\"UserType\\":\\"buy\\",\\"IpVersion\\":\\"4\\"}', - ], - ], + 'ramActions' => [ [ - 'name' => 'TimeZone', - 'in' => 'query', - 'schema' => [ - 'description' => 'The time zone of the time information in the downloaded file. The value must be an identifier of a time zone in the Internet Assigned Numbers Authority (IANA) database. The default value is Asia/Shanghai, which indicates UTC+8.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Asia/Shanghai', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UseAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => 'The unique ID of the task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DEE923', - ], - 'TaskName' => [ - 'title' => '', - 'description' => 'The name of the file download task.'."\n", - 'type' => 'string', - 'example' => 'Internet Boundary Firewall Assets - IPv4', - ], - 'Status' => [ - 'description' => 'The status of the task. Valid values:'."\n" - ."\n" - .'finish: The task finished. You can query the task to obtain the download link of the file.'."\n" - ."\n" - .'start: The task start.'."\n" - ."\n" - .'error: An error occurred.'."\n" - ."\n" - .'expire: The task file is invalid and cannot be downloaded.', - 'type' => 'string', - 'example' => 'start', - ], - ], - 'description' => '', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => 'China (Hohhot)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-heyuan', 'regionName' => 'China (Heyuan)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => 'China (Chengdu)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => 'China (Guangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw-intl.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'vpc' => 'cloudfw-intl.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => 'UAE (Dubai)', 'areaId' => 'middleEast', 'areaName' => 'Middle East', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => 'China East 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => 'China North 2 Finance (Preview)', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'ErrorAckClusterConnectorAddressGroupReference', 'message' => 'The ACK cluster connector has address group, can not be deleted.', 'http_code' => 400, 'description' => 'The ACK cluster connector has address group, can not be deleted.'], + ['code' => 'ErrorAckClusterConnectorBusy', 'message' => 'The ACK cluster connector is operating.', 'http_code' => 400, 'description' => 'The ACK cluster connector is operating.'], + ['code' => 'ErrorAckClusterConnectorExist', 'message' => 'The ACK cluster connector already exist.', 'http_code' => 400, 'description' => 'The ACK cluster connector already exist.'], + ['code' => 'ErrorAckClusterConnectorNotFound', 'message' => 'The specified resource ACK cluster connector is not found.', 'http_code' => 404, 'description' => 'The specified resource ACK cluster connector is not found.'], + ['code' => 'ErrorAckClusterConnectorReverseEndpointIpNotAllocated', 'message' => 'The IP is already allocated, failed to create reverse endpoint.', 'http_code' => 400, 'description' => 'The IP is already allocated, failed to create reverse endpoint.'], + ['code' => 'ErrorAckClusterConnectorStatusNotAllowOperate', 'message' => 'The ACK cluster connector status is not allow operate.', 'http_code' => 400, 'description' => 'The ACK cluster connector status is not allow operate.'], + ['code' => 'ErrorAckClusterMissingRoleForCloudFWRbacPermission', 'message' => 'The ACK cluster doesn\'t grant AliyunServiceRoleForCloudFW RBAC permission.', 'http_code' => 400, 'description' => 'The ACK cluster does not have RBAC permissions granted to the AliyunServiceRoleForCloudFW role.The ACK cluster doesn\'t grant AliyunServiceRoleForCloudFW RBAC permission.'], + ['code' => 'ErrorAckClusterNetworkOnlySupportTerway', 'message' => 'The ACK cluster network only support Terway.', 'http_code' => 400, 'description' => 'The ACK cluster network only support Terway.'], + ['code' => 'ErrorAckClusterNotFound', 'message' => 'The specified resource ACK cluster is not found.', 'http_code' => 400, 'description' => 'The specified resource ACK cluster is not found.'], + ['code' => 'ErrorAckClusterQueryClusterNamespace', 'message' => 'Failed to query cluster namespaces.', 'http_code' => 400, 'description' => 'Failed to query cluster namespaces.'], + ['code' => 'ErrorAckClusterSpecOnlySupportAckPro', 'message' => 'The ACK cluster spec only support ack.pro.small.', 'http_code' => 400, 'description' => 'The ACK cluster spec only support ack.pro.small.'], + ['code' => 'ErrorAckNotOpen', 'message' => 'ACK service is not open.', 'http_code' => 400, 'description' => 'ACK service is not open.'], + ['code' => 'ErrorAckVpcAndVSwitchVpcMismatched', 'message' => 'The ACK VPC and vSwitch VPC are mismatched.', 'http_code' => 400, 'description' => 'The ACK VPC and vSwitch VPC are mismatched.'], + ['code' => 'ErrorAclCheckBusy', 'message' => 'ACL check is busy.', 'http_code' => 400, 'description' => 'The access control configuration check is ongoing. Try again later.'], + ['code' => 'ErrorAclCheckDetailNotExist', 'message' => 'ACL check detail not exist.', 'http_code' => 400, 'description' => 'The details of the access control configuration check do not exist.'], + ['code' => 'ErrorAclCheckNotExist', 'message' => 'ACL check not exist.', 'http_code' => 400, 'description' => 'The access control configuration check does not exist.'], + ['code' => 'ErrorAclCheckQuotaUnavailable', 'message' => 'ACL check quota unavailable.', 'http_code' => 400, 'description' => 'The quota for access control configuration checks is insufficient.'], + ['code' => 'ErrorAclCoverage', 'message' => 'The ACL coverage is invalid.', 'http_code' => 400, 'description' => 'The ACL coverage is invalid.'], + ['code' => 'ErrorAclDomainAnyCountExceed', 'message' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'http_code' => 400, 'description' => 'The domain name is resolved to more than 200 IP addresses. We recommend that you set Application in your access control policy to HTTPS, HTTPS, SMTP, SMTPS, or SSL.'], + ['code' => 'ErrorAclDomainConfigConflict', 'message' => 'A conflict occurred while configuring domains using ACL.', 'http_code' => 400, 'description' => 'A conflict occurred while configuring domains using ACL.'], + ['code' => 'ErrorAclEffectiveTimeNonPermanent', 'message' => 'ACL rule is not allowed to update status when effective is not permanent.', 'http_code' => 400, 'description' => 'ACL rule is not allowed to update status when effective is not permanent.'], + ['code' => 'ErrorAclExtendedCountExceed', 'message' => 'ACL or extended ACL rules are not matched.', 'http_code' => 400, 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['code' => 'ErrorAclExtendedCountExceed', 'message' => 'acl or expand acl count exceed.', 'http_code' => 400, 'description' => 'The quota for access control policies or extra access control policies is exhausted.'], + ['code' => 'ErrorAclIdError', 'message' => 'The ACL ID is invalid.', 'http_code' => 400, 'description' => 'The ACL ID is invalid.'], + ['code' => 'ErrorAclNotExist', 'message' => 'The ACL does not exist.', 'http_code' => 400, 'description' => 'The ACL does not exist.'], + ['code' => 'ErrorAclRuleDuplicate', 'message' => 'acl rule duplicate.', 'http_code' => 400, 'description' => 'The same strategy exists.'], + ['code' => 'ErrorAclStartTimeOrEndTime', 'message' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', 'http_code' => 400, 'description' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.'], + ['code' => 'ErrorAddressCountExceed', 'message' => 'The maximum number of addresses is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of address is exceeded.'], + ['code' => 'ErrorAddressCountExceed', 'message' => 'address count exceed.', 'http_code' => 400, 'description' => 'The number of addresses in the address book exceeds the limit.'], + ['code' => 'ErrorAddressGroupCountExceed', 'message' => 'The maximum number of address group is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of address group is exceeded.'], + ['code' => 'ErrorAddressGroupExist', 'message' => 'The address group already exists.', 'http_code' => 400, 'description' => 'The address group already exists.'], + ['code' => 'ErrorAddressGroupNotExist', 'message' => 'The address group does not exist.', 'http_code' => 400, 'description' => 'The address group does not exist.'], + ['code' => 'ErrorAddressGroupReference', 'message' => 'The address group is in use and cannot be deleted.', 'http_code' => 400, 'description' => 'The address group is in use and cannot be deleted.'], + ['code' => 'ErrorAliUid', 'message' => 'The aliuid is invalid.', 'http_code' => 400, 'description' => 'The aliuid is invalid.'], + ['code' => 'ErrorAliUid', 'message' => 'Aliuid invalid.', 'http_code' => 400, 'description' => 'The aliuid is invalid.'], + ['code' => 'ErrorAliUidBlackList', 'message' => 'The specified aliUid is invalid.', 'http_code' => 400, 'description' => 'The specified aliUid is invalid.'], + ['code' => 'ErrorApiAuth', 'message' => 'The signature is invalid.', 'http_code' => 400, 'description' => 'The signature is invalid.'], + ['code' => 'ErrorApiAuth', 'message' => 'parameter sign error.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorApiAuth', 'message' => 'api authentication error.', 'http_code' => 400, 'description' => 'Authentication failed.'], + ['code' => 'ErrorApiError', 'message' => 'api error.', 'http_code' => 400, 'description' => 'API error.'], + ['code' => 'ErrorAppGroupIsExist', 'message' => 'app group name is exist.', 'http_code' => 400, 'description' => 'The specified application group already exists.'], + ['code' => 'ErrorAppGroupNameTooLong', 'message' => 'app group name too long.', 'http_code' => 400, 'description' => 'The name of the application group exceeds the length limit.'], + ['code' => 'ErrorAppGroupNotEmpty', 'message' => 'app group name not empty.', 'http_code' => 400, 'description' => 'An application exists within the application group.'], + ['code' => 'ErrorAppGroupNotMatchBiz', 'message' => 'app group not match biz.', 'http_code' => 400, 'description' => 'The application group and business group do not match.'], + ['code' => 'ErrorAppIdError', 'message' => 'An app ID error occurred.', 'http_code' => 400, 'description' => 'An app ID error occurred.'], + ['code' => 'ErrorAppIdError', 'message' => 'app id error', 'http_code' => 400, 'description' => 'The specified application is invalid. Try again.'], + ['code' => 'ErrorAppIsExist', 'message' => 'app is exist.', 'http_code' => 400, 'description' => 'The application already exists.'], + ['code' => 'ErrorAppTooManyProc', 'message' => 'app with too many proc.', 'http_code' => 400, 'description' => 'The number of application processes exceeds the limit.'], + ['code' => 'ErrorAssetDirectionError', 'message' => 'Asset IP and direction must be specified at the same time.', 'http_code' => 400, 'description' => 'Asset IP and direction must be specified at the same time.'], + ['code' => 'ErrorAssetIPPort', 'message' => 'The asset IP address and port cannot be empty at the same time.', 'http_code' => 400, 'description' => 'The asset IP address and port cannot be empty at the same time.'], + ['code' => 'ErrorAssetsStatus', 'message' => 'assetStatus is invalid.', 'http_code' => 400, 'description' => 'The assetStatus is invalid.'], + ['code' => 'ErrorAssetSynchronizationNotCompleted', 'message' => 'VPC firewall asset synchronization is not completed.', 'http_code' => 400, 'description' => 'VPC perimeter firewall asset synchronization incomplete'], + ['code' => 'ErrorAttackTypeError', 'message' => 'The attack type is invalid.', 'http_code' => 400, 'description' => 'The attack type is invalid.'], + ['code' => 'ErrorAttackTypeError', 'message' => 'attack type invalid.', 'http_code' => 400, 'description' => 'The specified type is invalid. Select again.'], + ['code' => 'ErrorAuthentication', 'message' => 'An authentication error occurred.', 'http_code' => 401, 'description' => 'An authentication error occurred.'], + ['code' => 'ErrorAuthentication', 'message' => 'authentication error', 'http_code' => 400, 'description' => 'The authentication failed.'], + ['code' => 'ErrorBackupCountExceed', 'message' => 'The maximum number of backups is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of backups is exceeded.'], + ['code' => 'ErrorBeaverCaptureEnv', 'message' => 'Do not support directly issuing packet capture tasks for packet capture.', 'http_code' => 400, 'description' => 'The government cloud and financial cloud environment do not support directly issuing a package capture task to capture a package, please 'ErrorCenFirewallVpcNumLimit', 'message' => 'The number of vpcs in this cen is limited to open the vpc firewall.', 'http_code' => 400, 'description' => 'Cloud Enterprise Network (CEN) VPC limit, cannot enable VPC firewall'], + ['code' => 'ErrorCenId', 'message' => 'CEN ID is error', 'http_code' => 400, 'description' => 'The ID of the CEN instance is invalid.'], + ['code' => 'ErrorCenManualFirewallCreate', 'message' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall.', 'http_code' => 400, 'description' => 'A VPC firewall in manual mode already exists in the CEN. You cannot create a VPC firewall.'], + ['code' => 'ErrorCenManualFirewallExist', 'message' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall in automatic mode.', 'http_code' => 400, 'description' => 'This CEN already has a VPC firewall in manual mode. You cannot create a VPC firewall in automatic mode.'], + ['code' => 'ErrorCenNotSupportCCN', 'message' => 'Cloud enterprise network CCN instance does not support opening VPC firewall', 'http_code' => 400, 'description' => 'The VPC firewall cannot be enabled for CCN instances that are attached to CEN instances.'], + ['code' => 'ErrorCenNotSupportCCN', 'message' => 'vpc firewall CEN does not support ccn, cannot open vpc firewall.', 'http_code' => 400, 'description' => 'The VPC firewall cannot be enabled for a CCN instance.'], + ['code' => 'ErrorCenNotSupportMultipleAccounts', 'message' => 'The current version of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect Cloud Enterprise Network. Upgrade the specifications and try again.', 'http_code' => 400, 'description' => 'The current edition of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect CEN. Upgrade the specifications and try again.'], + ['code' => 'ErrorCenNotSupportTREnterprise', 'message' => 'The VPC firewall does not support TR Enterprise edition in this region, and the VPC firewall cannot be enabled.', 'http_code' => 400, 'description' => 'VPC Firewall does not support TR Enterprise Edition in this region and cannot be enabled.'], + ['code' => 'ErrorCenNotSupportTREnterprise', 'message' => 'VPC firewall does not support TR Enterprise Edition protection in this region.', 'http_code' => 400, 'description' => 'The VPC border firewall does not support TR Enterprise Edition in this region, and the VPC border firewall cannot be enabled.'], + ['code' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'message' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'http_code' => 400, 'description' => 'VPC firewalls do not support the CEN-TR automatic mode.'], + ['code' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'message' => 'This account does not support CEN Transit Router Enterprise Edition auto mode protection by default, please contact Cloud Firewall Support team.', 'http_code' => 400, 'description' => 'This account does not support the automatic mode of Cloud Firewall for CEN Enterprise Edition. Please contact the Cloud Firewall service team to add white before operation.'], + ['code' => 'ErrorCenRouteMapExist', 'message' => 'cen route map is exist.', 'http_code' => 400, 'description' => 'Creating a VPC perimeter firewall is not allowed RouteMap it already exists. Please contact the cloud firewall after-sales technical support.'], + ['code' => 'ErrorCenTRAssociationCustomRouteTable', 'message' => 'CEN-TR association custom route table.', 'http_code' => 400, 'description' => 'The VPC boundary firewall does not support the custom route table associated with the CEN-TR network instance connection, and the VPC boundary firewall cannot be enabled.'], + ['code' => 'ErrorCenTRAssociationNotFound', 'message' => 'CEN-TR attachment association not found.', 'http_code' => 400, 'description' => 'CEN-TR attachment association not found.'], + ['code' => 'ErrorCenTRManualModifySwitchStatus', 'message' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to close it, please delete the VPC firewall.', 'http_code' => 400, 'description' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to disable it, please delete the VPC boundary firewall.'], + ['code' => 'ErrorCenVbrNotSupport', 'message' => 'The cloud enterprise network VBR does not support firewall', 'http_code' => 400, 'description' => 'The firewall cannot be enabled for VBRs that are attached to CEN instances.'], + ['code' => 'ErrorCenVbrNotSupport', 'message' => 'CEN vbr not support firewall.', 'http_code' => 400, 'description' => 'CEN vbr does not support opening a firewall'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'The VPC of cloud enterprise network conflicts with the VPC of high-speed channel. The firewall cannot be opened. Please select again.', 'http_code' => 400, 'description' => 'Conflicts occur between the VPC of CEN and the VPC of Express Connect. You cannot enable the firewall. Specify another value.'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'The VPC of the cloud enterprise network conflicts with the VPC of the high-speed channel, and the firewall cannot be opened. Please select again', 'http_code' => 400, 'description' => 'Conflicts occur between the VPC of CEN and the VPC of Express Connect. You cannot enable the firewall. Specify another value.'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'Cen vpc and ec vpc conflict.', 'http_code' => 400, 'description' => 'Cloud Enterprise Network VPC conflicts with Express Connect VPC and firewall cannot be enabled. Please select again.'], + ['code' => 'ErrorCenVpcFirewallExist', 'message' => 'VPC firewall in automatic mode already exists in this CEN network. You are not allowed to create a VPC firewall in manual mode.', 'http_code' => 400, 'description' => 'This CEN already has a VPC firewall in automatic mode. You cannot create a VPC firewall in manual mode.'], + ['code' => 'ErrorCidrFormat', 'message' => 'Network segment CIDR format error, please select again', 'http_code' => 400, 'description' => 'The format of the specified CIDR block is invalid. Enter another value.'], + ['code' => 'ErrorCidrFormat', 'message' => 'cidr ip format error', 'http_code' => 400, 'description' => 'The format of the specified CIDR block is invalid. Specify another value.'], + ['code' => 'ErrorCidrFormat', 'message' => 'Cidr ip format error.', 'http_code' => 400, 'description' => 'CIDR format error, please re-select'], + ['code' => 'ErrorCidrIp', 'message' => 'strategy rule cidr ip invalid.', 'http_code' => 400, 'description' => 'The CIDR block is invalid. Enter another value.'], + ['code' => 'ErrorCidrIpAddress', 'message' => 'Target network segment error, please reselect', 'http_code' => 400, 'description' => 'The destination CIDR block is invalid. Specify another value.'], + ['code' => 'ErrorCidrIpAddress', 'message' => 'cidr ip error.', 'http_code' => 400, 'description' => 'The destination network segment is incorrect, please select again.'], + ['code' => 'ErrorCommitNotSupport', 'message' => 'strategy rule commit not support.', 'http_code' => 400, 'description' => 'You cannot submit the specified policy.'], + ['code' => 'ErrorCommitStatus', 'message' => 'strategy commit status invalid.', 'http_code' => 400, 'description' => 'The status is invalid.'], + ['code' => 'ErrorConfigureStatus', 'message' => 'firewall configure status invalid.', 'http_code' => 400, 'description' => 'Firewall status parameter error, please re-select.'], + ['code' => 'ErrorConnectType', 'message' => 'connect type invalid', 'http_code' => 400, 'description' => 'The specified network instance is invalid. Specify another value.'], + ['code' => 'ErrorConnectType', 'message' => 'Connect type invalid.', 'http_code' => 400, 'description' => 'Incorrect selection of interworking type. Please select again.'], + ['code' => 'ErrorCreateNetworkInterface', 'message' => 'network interface create failed', 'http_code' => 400, 'description' => 'Failed to create the network interface.'], + ['code' => 'ErrorCreateSecurityGroup', 'message' => 'create security group failed', 'http_code' => 400, 'description' => 'Failed to create the security group.'], + ['code' => 'ErrorCustomRouteEntryMax', 'message' => 'The number of target network segments exceeds the maximum limit. Please reduce the number of network segments', 'http_code' => 400, 'description' => 'The number of destination CIDR blocks exceeds the upper limit. Reduce the number of CIDR blocks.'], + ['code' => 'ErrorCustomRouteEntryMax', 'message' => 'custom route exceeds maximum limit.', 'http_code' => 400, 'description' => 'The number of target CIDR blocks exceeds the maximum number. Reduce the number of CIDR blocks.'], + ['code' => 'ErrorDataTypeError', 'message' => 'The data type is invalid.', 'http_code' => 400, 'description' => 'The data type is invalid.'], + ['code' => 'ErrorDataTypeLocalPeerIp', 'message' => 'The VPC firewall data type is invalid or the peer IP address is invalid.', 'http_code' => 400, 'description' => 'The VPC firewall data type is invalid or the peer IP address is invalid.'], + ['code' => 'ErrorDataTypeVpcFirewall', 'message' => 'The VPC firewall data type is invalid.', 'http_code' => 400, 'description' => 'The VPC firewall data type is invalid.'], + ['code' => 'ErrorDataValueError', 'message' => 'The data value is invalid.', 'http_code' => 400, 'description' => 'The data value is invalid.'], + ['code' => 'ErrorDBDelete', 'message' => 'An error occurred while deleting the database.', 'http_code' => 400, 'description' => 'An error occurred while deleting the database.'], + ['code' => 'ErrorDBDelete', 'message' => 'Internal error: sql delete.', 'http_code' => 400, 'description' => 'Internal error: SQL delete operation'], + ['code' => 'ErrorDBDeleteError', 'message' => 'A database delete error occurred.', 'http_code' => 400, 'description' => 'An error occurred while deleting the database.'], + ['code' => 'ErrorDbFailed', 'message' => 'Query db failed.', 'http_code' => 400, 'description' => 'DB access error.'], + ['code' => 'ErrorDBInsert', 'message' => 'An error occurred while performing an insert operation in the database.', 'http_code' => 400, 'description' => 'An error occurred while performing an insert operation in the database.'], + ['code' => 'ErrorDBInsert', 'message' => 'internal error: sql insert.', 'http_code' => 400, 'description' => 'Request error, database insert failed'], + ['code' => 'ErrorDBInsertError', 'message' => 'A database insert error occurred.', 'http_code' => 400, 'description' => 'An error occurred while performing an insert operation in the database.'], + ['code' => 'ErrorDBInsertError', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'An error occurred while inserting data into the database.'], + ['code' => 'ErrorDBNoRow', 'message' => 'No rows in database.', 'http_code' => 400, 'description' => 'No data found.'], + ['code' => 'ErrorDBOperation', 'message' => 'Internal error: db operation.', 'http_code' => 400, 'description' => 'Internal error: database operation'], + ['code' => 'ErrorDBSelect', 'message' => 'An error occurred while querying database.', 'http_code' => 400, 'description' => 'An error occurred while querying database.'], + ['code' => 'ErrorDBSelect', 'message' => 'internal error: sql select.', 'http_code' => 400, 'description' => 'Request error, database query failed.'], + ['code' => 'ErrorDBSelectError', 'message' => 'A database select error occurred.', 'http_code' => 400, 'description' => 'The error message returned because an internal error has occurred in querying the database.'], + ['code' => 'ErrorDBSelectError', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'An error occurred while querying the database.'], + ['code' => 'ErrorDBTxError', 'message' => 'A database transaction error occurred.', 'http_code' => 400, 'description' => 'The error message returned because an internal error has occurred in the database transaction.'], + ['code' => 'ErrorDBTxError', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'A database transaction error occurred.'], + ['code' => 'ErrorDBUpdate', 'message' => 'internal error: sql updat.', 'http_code' => 400, 'description' => 'An error occurred while updating the database.'], + ['code' => 'ErrorDBUpdate', 'message' => 'internal error: sql update.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorDBUpdateError', 'message' => 'A database update error occurred.', 'http_code' => 200, 'description' => 'A database update error occurred.'], + ['code' => 'ErrorDBUpdateError', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'An error occurred while updating the database.'], + ['code' => 'ErrorDefaultRouteConflicts', 'message' => 'Default route conflicts.', 'http_code' => 400, 'description' => 'A default route already exists in the routing table bound to the selected switch.'], + ['code' => 'ErrorDeleteNetworkInterface', 'message' => 'network interface delete failed', 'http_code' => 400, 'description' => 'Failed to delete the network interface. Try again.'], + ['code' => 'ErrorDeleteSecurityGroup', 'message' => 'delete security group failed', 'http_code' => 400, 'description' => 'Failed to delete the security group.'], + ['code' => 'ErrorDescription', 'message' => 'strategy rule description invalid.', 'http_code' => 400, 'description' => 'The description is invalid. Enter another value.'], + ['code' => 'ErrorDestCidrEmpty', 'message' => 'The target network segment is empty and cannot be created', 'http_code' => 400, 'description' => 'The destination CIDR block is not specified. The firewall cannot be created.'], + ['code' => 'ErrorDestCidrEmpty', 'message' => 'destination cidr empty.', 'http_code' => 400, 'description' => 'The destination CIDR block is empty and cannot be created.'], + ['code' => 'ErrorDestCidrError', 'message' => 'The target network segment is wrong. Please configure the target network segment correctly.', 'http_code' => 400, 'description' => 'The specified destination CIDR block is invalid. Enter another value.'], + ['code' => 'ErrorDestCidrError', 'message' => 'The destination CIDR block is invalid.', 'http_code' => 400, 'description' => 'The specified destination CIDR block is invalid. Enter another value.'], + ['code' => 'ErrorDestCidrError', 'message' => 'Destination CIDR invalid.', 'http_code' => 400, 'description' => 'The destination CIDR block is incorrect. Configure the destination CIDR block correctly.'], + ['code' => 'ErrorDifferentRegionNoError', 'message' => 'VPC firewall only supports the same region and does not support cross region', 'http_code' => 400, 'description' => 'VPC firewalls can be created only in the same region.'], + ['code' => 'ErrorDifferentRegionNoError', 'message' => 'the vpc border firewall only supports the same region and does not support cross-regional.', 'http_code' => 400, 'description' => 'The VPC border firewall only supports the same region and does not support cross-region.'], + ['code' => 'ErrorDirectionError', 'message' => 'The direction is invalid.', 'http_code' => 400, 'description' => 'The direction is invalid.'], + ['code' => 'ErrorDirectionError', 'message' => 'direction invalid.', 'http_code' => 400, 'description' => 'The specified direction is invalid. Select again.'], + ['code' => 'ErrorDnatNotSupport', 'message' => 'Secure proxy does not support DNAT entries.', 'http_code' => 400, 'description' => 'NAT firewall does not support DNAT.'], + ['code' => 'ErrorDnatNotSupport', 'message' => 'NAT firewall does not support DAT entries.', 'http_code' => 400, 'description' => 'NAT firewall does not support DNAT.'], + ['code' => 'ErrorDomainName', 'message' => 'The domain name is invalid.', 'http_code' => 400, 'description' => 'The domain name is invalid.'], + ['code' => 'ErrorDomainResolve', 'message' => 'An error occurred while resolving the domain.', 'http_code' => 400, 'description' => 'An error occurred while resolving the domain.'], + ['code' => 'ErrorDomainResolve', 'message' => 'A domain resolution error occurred.', 'http_code' => 400, 'description' => 'An error occurred while resolving the domain.'], + ['code' => 'ErrorDstType', 'message' => 'The dst type is invalid.', 'http_code' => 400, 'description' => 'The destination type is invalid.'], + ['code' => 'ErrorDuplicateTrFwPolicyName', 'message' => 'Duplicate firewall policy Name.', 'http_code' => 400, 'description' => 'Duplicate drainage scene name.'], + ['code' => 'ErrorEcsNotFound', 'message' => 'ECS is not found.', 'http_code' => 400, 'description' => 'ECS is not found.'], + ['code' => 'ErrorEcsOpenApi', 'message' => 'ecs open api failed', 'http_code' => 400, 'description' => 'Failed to call the ECS API.'], + ['code' => 'ErrorEmptyDomainResolveType', 'message' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', 'http_code' => 400, 'description' => 'Empty domain name resolution mode is not supported.'], + ['code' => 'ErrorEniPermissionNotFound', 'message' => 'network interface permission not found', 'http_code' => 400, 'description' => 'Failed to obtain ENI-related permissions.'], + ['code' => 'ErrorEwNotEnable', 'message' => 'east-west firewall not enable.', 'http_code' => 400, 'description' => 'The internal firewall is not enabled.'], + ['code' => 'ErrorFilterListError', 'message' => 'The filter list is invalid.', 'http_code' => 400, 'description' => 'The filter list is invalid.'], + ['code' => 'ErrorFirewallCandidateReference', 'message' => 'Firewall Candidate referrence count greater than one.', 'http_code' => 400, 'description' => 'Drainage instances exist in multiple drainage scenarios.'], + ['code' => 'ErrorFirewallCannotClose', 'message' => 'The firewall status is invalid, can not close.', 'http_code' => 400, 'description' => 'The firewall cannot be disabled because the status of the firewall is invalid. Try again later.'], + ['code' => 'ErrorFirewallCannotClose', 'message' => 'firewall cannot close.', 'http_code' => 400, 'description' => 'The firewall status is incorrect and cannot be closed. Please try again later.'], + ['code' => 'ErrorFirewallCannotOpen', 'message' => 'The firewall status is invalid, can not open.', 'http_code' => 400, 'description' => 'The firewall cannot be enabled because the status of the firewall is invalid. Try again later.'], + ['code' => 'ErrorFirewallCannotOpen', 'message' => 'firewall cannot open.', 'http_code' => 400, 'description' => 'The firewall status is incorrect and cannot be opened. Please try again later.'], + ['code' => 'ErrorFirewallExistDeleting', 'message' => 'There is a VPC firewall that is being deleted, and it is not allowed to create.', 'http_code' => 400, 'description' => 'The VPC firewall being deleted is not allowed to be created.'], + ['code' => 'ErrorFirewallId', 'message' => 'Firewall ID is invalid.', 'http_code' => 400, 'description' => 'The ID of the firewall is invalid.'], + ['code' => 'ErrorFirewallInstanceNotReady', 'message' => 'firewall instance not ready, please try again later.', 'http_code' => 400, 'description' => 'The firewall instance is not ready. Please try again later.'], + ['code' => 'ErrorFirewallName', 'message' => 'firewall name invalid', 'http_code' => 400, 'description' => 'The name of the firewall is invalid. Enter another value.'], + ['code' => 'ErrorFirewallName', 'message' => 'Firewall name invalid.', 'http_code' => 400, 'description' => 'Firewall name error, please re-enter.'], + ['code' => 'ErrorFirewallNotConfig', 'message' => 'Firewall not config', 'http_code' => 400, 'description' => 'The firewall is not configured.'], + ['code' => 'ErrorFirewallNotConfig', 'message' => 'can\'t switch firewall, please configure firewall first.', 'http_code' => 400, 'description' => 'The firewall is not configured, please create a new configuration first.'], + ['code' => 'ErrorFirewallNotFound', 'message' => 'Firewall not found', 'http_code' => 400, 'description' => 'The firewall does not exist.'], + ['code' => 'ErrorFirewallNotFound', 'message' => 'firewall not found.', 'http_code' => 400, 'description' => 'The specified firewall does not exist. Select it again.'], + ['code' => 'ErrorFirewallQuotaNotEmpty', 'message' => 'The quota for VPC firewalls is exceeded.', 'http_code' => 400, 'description' => 'The quota is insufficient. You cannot configure the VPC firewall. Increase the quota.'], + ['code' => 'ErrorFirewallQuotaNotEmpty', 'message' => 'insufficient quota, unable to configure firewall, please increase quota.', 'http_code' => 400, 'description' => 'The quota is insufficient to configure the VPC firewall. Increase the quota first.'], + ['code' => 'ErrorFirewallStatus', 'message' => 'Firewall status error, please try again later.', 'http_code' => 400, 'description' => 'The status of the firewall is invalid. Try again later.'], + ['code' => 'ErrorFirewallStatus', 'message' => 'firewall status error.', 'http_code' => 400, 'description' => 'Firewall status error, please try again later.'], + ['code' => 'ErrorFirewallStatusCannotModify', 'message' => 'Current firewall status, configuration not allowed', 'http_code' => 400, 'description' => 'You cannot configure the firewall because the status of the firewall is invalid.'], + ['code' => 'ErrorFirewallStatusCannotModify', 'message' => 'The firewall staus can not modify.', 'http_code' => 400, 'description' => 'You cannot configure the firewall because the status of the firewall is invalid.'], + ['code' => 'ErrorFirewallStatusClosed', 'message' => 'firewall is already closed.', 'http_code' => 400, 'description' => 'The firewall is turned off.'], + ['code' => 'ErrorFirewallStatusOpened', 'message' => 'Firewall already opened.', 'http_code' => 400, 'description' => 'The firewall is enabled.'], + ['code' => 'ErrorFirewallStatusOpened', 'message' => 'firewall is already opened.', 'http_code' => 400, 'description' => 'Firewall turned on.'], + ['code' => 'ErrorFirewallSwitch', 'message' => 'The firewall enabling parameter is incorrect. Please select again.', 'http_code' => 400, 'description' => 'The specified switch of the firewall is invalid. Enter another value.'], + ['code' => 'ErrorFirewallSwitch', 'message' => 'firewall switch invalid.', 'http_code' => 400, 'description' => 'Firewall switch parameter error, please re-select.'], + ['code' => 'ErrorFirewallType', 'message' => 'The specified firewall type is invalid.', 'http_code' => 400, 'description' => 'The firewall type of traffic log is invalid.'], + ['code' => 'ErrorFirewallTypeDuplicates', 'message' => 'firewallType duplicates.', 'http_code' => 400, 'description' => 'Private DNS endpoint already exists for selected firewall boundary'], + ['code' => 'ErrorFirewallUpdating', 'message' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'http_code' => 400, 'description' => 'The firewall cannot be operated. The firewall is in an updated state. Please check whether any drainage templates are being created, deleted, updated, opened or closed.'], + ['code' => 'ErrorFlowType', 'message' => 'The flow type is invalid.', 'http_code' => 400, 'description' => 'The flow type is invalid.'], + ['code' => 'ErrorGetAvailableEcs', 'message' => 'get available ecs failed', 'http_code' => 400, 'description' => 'Failed to obtain valid ECS instances.'], + ['code' => 'ErrorGetCenRoute', 'message' => 'get cen domain route failed.', 'http_code' => 400, 'description' => 'The specified connection type is invalid. Enter another value.'], + ['code' => 'ErrorGetSlsLog', 'message' => 'Failed to get SLS log.', 'http_code' => 400, 'description' => 'Failed to get SLS log.'], + ['code' => 'ErrorGetSlsLog', 'message' => 'get sls log failed.', 'http_code' => 400, 'description' => 'Failed to get sls log.'], + ['code' => 'ErrorGetSlsLogStore', 'message' => 'Failed to get SLS logstore.', 'http_code' => 400, 'description' => 'Failed to get SLS logstore.'], + ['code' => 'ErrorGetSlsLogStore', 'message' => 'get sls log store failed', 'http_code' => 400, 'description' => 'Failed to obtain the logs.'], + ['code' => 'ErrorGroupNameFailed', 'message' => 'The group name is invalid.', 'http_code' => 400, 'description' => 'The group name is invalid.'], + ['code' => 'ErrorHubvpcCannotCreate', 'message' => 'HUB VPC could not create vpc firewall', 'http_code' => 400, 'description' => 'You are not allowed to create a firewall for a HUB VPC.'], + ['code' => 'ErrorIllegalFwStatusUpdate', 'message' => 'Can not set firewall status.', 'http_code' => 400, 'description' => 'Unable to update firewall state.'], + ['code' => 'ErrorIllegalRoutePolicyScopeUpdate', 'message' => 'Can not update policy scope.', 'http_code' => 400, 'description' => 'The peer-to-peer scenario cannot be configured to update the drainage template range.'], + ['code' => 'ErrorIllegalRoutePolicyStatusUpdate', 'message' => 'Can not update policy status.', 'http_code' => 400, 'description' => 'Unable to update routing template status, please check if routing template status is being updated'], + ['code' => 'ErrorIllegalTrFirewallVswCidr', 'message' => 'Illegal tr firewall vswitch cidr.', 'http_code' => 400, 'description' => 'an illegal tr firewall subnet segment. check whether there is a conflict between the subnet segments.'], + ['code' => 'ErrorInstanceAliuidIsMember', 'message' => 'instance uid is member account.', 'http_code' => 400, 'description' => 'The UID of the account for which a firewall needs to be created already exists in the UID list of Cloud Firewall members.'], + ['code' => 'ErrorInstanceAliuidNotDaMa', 'message' => 'instance aliuid not DA or MA.', 'http_code' => 400, 'description' => 'The Alibaba Cloud account to which Cloud Firewall belongs is not specified as a delegated administrator account or management account.'], + ['code' => 'ErrorInstanceMemberAlreadyExist', 'message' => 'instance member is already exist.', 'http_code' => 400, 'description' => 'The member is already added to Cloud Firewall.'], + ['code' => 'ErrorInstanceMemberHasFirewall', 'message' => 'instance member has firewall resource.', 'http_code' => 400, 'description' => 'A forward proxy, a DNS firewall, or a VPC firewall whose Routing Mode is Manual is created for the member.'], + ['code' => 'ErrorInstanceMemberHasFirewall', 'message' => 'A forward proxy, DNS resolution, a DNS firewall, or a VPC firewall whose Routing Mode is Manual is created for the member.', 'http_code' => 400, 'description' => 'Member accounts have forward proxy, DNS resolution, DNS firewall, or manual vpc firewall.'], + ['code' => 'ErrorInstanceMemberIsMaster', 'message' => 'instance member is master account.', 'http_code' => 400, 'description' => 'A firewall is enabled for an asset of the member.'], + ['code' => 'ErrorInstanceMemberNotBelongRd', 'message' => 'instance member not belong rd.', 'http_code' => 400, 'description' => 'The member to be added does not belong to the resource directory.'], + ['code' => 'ErrorInstanceMemberNotStsGrant', 'message' => 'instance member is not sts grant.', 'http_code' => 400, 'description' => 'The member of the Cloud Firewall instance to be added is not authorized.'], + ['code' => 'ErrorInstanceNotInDB', 'message' => 'no instance for process in db', 'http_code' => 400, 'description' => 'The instance does not exist.'], + ['code' => 'ErrorInstanceNotPostpay', 'message' => 'instance is not postpay', 'http_code' => 400, 'description' => 'You can call this operation only if your Cloud Firewall uses the pay-as-you-go billing method.'], + ['code' => 'ErrorInstanceOpenIpNumExceed', 'message' => 'The maximum number of protected assets has been reached.', 'http_code' => 400, 'description' => 'The maximum number of protected assets has been reached.'], + ['code' => 'ErrorInstanceOpenIpRegionNumExceed', 'message' => 'open ip region num exceed.', 'http_code' => 400, 'description' => 'Your zone protection quota is insufficient.'], + ['code' => 'ErrorInstanceStatusNotNormal', 'message' => 'This operation is not supported when the instance is in the current state.', 'http_code' => 400, 'description' => 'This operation is not supported when the instance is in the current state.'], + ['code' => 'ErrorInstanceTooManyMembersOnce', 'message' => 'too many members once.', 'http_code' => 400, 'description' => 'The number of members to be added or deleted at a time exceeds the limit.'], + ['code' => 'ErrorInteral', 'message' => 'Internal err.', 'http_code' => 400, 'description' => 'Unknown error.'], + ['code' => 'ErrorInternal', 'message' => 'internal error', 'http_code' => 400, 'description' => 'An internal error occurred.'], + ['code' => 'ErrorInternal', 'message' => 'internal err.', 'http_code' => 400, 'description' => 'Internal Error'], + ['code' => 'ErrorIntervalError', 'message' => 'The interval is invalid.', 'http_code' => 400, 'description' => 'The interval is invalid.'], + ['code' => 'ErrorInvalidLevel', 'message' => 'invalid level.', 'http_code' => 400, 'description' => 'The specified level is not supported.'], + ['code' => 'ErrorInvalidMemberUid', 'message' => 'Member uid is invalid', 'http_code' => 400, 'description' => 'The member is invalid.'], + ['code' => 'ErrorInvalidMemberUidStatus', 'message' => 'invalid member uid status.', 'http_code' => 400, 'description' => 'The status of the member account is invalid. This operation is not supported.'], + ['code' => 'ErrorInvalidPrefixList', 'message' => 'The prefix list is invalid.', 'http_code' => 400, 'description' => 'The prefixes are invalid.'], + ['code' => 'ErrorInvalidTrFirewallType', 'message' => 'Firewall type is invalid.', 'http_code' => 400, 'description' => 'The firewall type cannot be identified.'], + ['code' => 'ErrorIpFormat', 'message' => 'The IP address is invalid.', 'http_code' => 400, 'description' => 'The IP address is invalid.'], + ['code' => 'ErrorIpFormat', 'message' => 'ip invalid.', 'http_code' => 400, 'description' => 'The specified IP address is invalid. Enter another value.'], + ['code' => 'ErrorIpProtocolError', 'message' => 'The protocol is invalid.', 'http_code' => 400, 'description' => 'The protocol is invalid.'], + ['code' => 'ErrorIspError', 'message' => 'The ISP name is invalid.', 'http_code' => 400, 'description' => 'The ISP name is invalid.'], + ['code' => 'ErrorJsonDecode', 'message' => 'decoding json failed', 'http_code' => 400, 'description' => 'Failed to parse JSON data.'], + ['code' => 'ErrorJsonEncode', 'message' => 'encoding json failed', 'http_code' => 400, 'description' => 'Failed to encode JSON data.'], + ['code' => 'ErrorLimitCountFailed', 'message' => 'The limit count is invalid.', 'http_code' => 400, 'description' => 'The limit is invalid.'], + ['code' => 'ErrorLimitFailed', 'message' => 'The limit is invalid.', 'http_code' => 400, 'description' => 'The limit count is invalid.'], + ['code' => 'ErrorLocalVpcIdPeerVpcIdError', 'message' => 'local vpc id and peer vpc id cannot be empty at the same time.', 'http_code' => 400, 'description' => 'The firewall VPC parameter is incorrect. Select another one.'], + ['code' => 'ErrorLocationError', 'message' => 'The location name is invalid.', 'http_code' => 400, 'description' => 'The location name is invalid.'], + ['code' => 'ErrorLocationMismatch', 'message' => 'The location is not supported.', 'http_code' => 400, 'description' => 'The location is not supported.'], + ['code' => 'ErrorMarshalJSON', 'message' => 'An error occurred while encoding JSON.', 'http_code' => 400, 'description' => 'An error occurred while encoding JSON.'], + ['code' => 'ErrorMarshalJSON', 'message' => 'An error occurred. Try again later.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorMarshalJSON', 'message' => 'internal error: marshal json.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorMarshalJSON', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'Internal error.'], + ['code' => 'ErrorMaxAppGroupNum', 'message' => 'reach max app group num.', 'http_code' => 400, 'description' => 'The number of application groups exceeds the upper limit.'], + ['code' => 'ErrorMaxAppNum', 'message' => 'reach max app num.', 'http_code' => 400, 'description' => 'The number of applications exceeds the upper limit.'], + ['code' => 'ErrorMaxBizNum', 'message' => 'reach max biz num.', 'http_code' => 400, 'description' => 'The number of business groups exceeds the upper limit.'], + ['code' => 'ErrorMaxInstanceMemberNumExceed', 'message' => 'max instance member num exceed.', 'http_code' => 400, 'description' => 'The number of members added to Cloud Firewall exceeds the limit.'], + ['code' => 'ErrorMethodNotSupport', 'message' => 'The method is not supported.', 'http_code' => 400, 'description' => 'The method is not supported.'], + ['code' => 'ErrorMethodNotSupport', 'message' => 'method not support', 'http_code' => 400, 'description' => 'The method is not supported.'], + ['code' => 'ErrorMethodNotSupport', 'message' => 'method not support.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorNatGatewayNotAvailable', 'message' => 'Nat gateway not available.', 'http_code' => 400, 'description' => 'The NAT gateway status is unavailable and cannot be operated.'], + ['code' => 'ErrorNetworkInstanceIdError', 'message' => 'Network InstanceId ID is invalid', 'http_code' => 400, 'description' => 'The ID of the network instance is invalid.'], + ['code' => 'ErrorNetworkInstanceIdError', 'message' => 'Network InstanceId ID is invalid.', 'http_code' => 400, 'description' => 'The network instance ID is invalid.'], + ['code' => 'ErrorNetworkInterfaceNotFound', 'message' => 'The NIC of the firewall is invalid. Check its configurations.', 'http_code' => 400, 'description' => 'The NIC of the firewall is invalid. Check the parameter.'], + ['code' => 'ErrorNetworkInterfaceNotFound', 'message' => 'firewall network interface not found.', 'http_code' => 400, 'description' => 'Firewall network card error, please confirm the network card configuration.'], + ['code' => 'ErrorNoAppGroupInDb', 'message' => 'no app group name in db.', 'http_code' => 400, 'description' => 'The specified application group does not exist.'], + ['code' => 'ErrorNoAppInDb', 'message' => 'no app in db.', 'http_code' => 400, 'description' => 'The application does not exist.'], + ['code' => 'ErrorNoBizInDb', 'message' => 'no biz in db.', 'http_code' => 400, 'description' => 'The specified business group does not exist.'], + ['code' => 'ErrorNoEcsFound', 'message' => 'no ecs found.', 'http_code' => 400, 'description' => 'The ECS instance does not exist.'], + ['code' => 'ErrorNoEcsFoundWithApp', 'message' => 'no ecs found with app.', 'http_code' => 400, 'description' => 'The ECS instance associated with the specified application does not exist.'], + ['code' => 'ErrorNoInstanceInDb', 'message' => 'no instance for process in db.', 'http_code' => 400, 'description' => 'The specified instance does not exist.'], + ['code' => 'ErrorNotFound', 'message' => 'Not found.', 'http_code' => 200, 'description' => 'Not found.'], + ['code' => 'ErrorNotNeedCommit', 'message' => 'strategy no need to submit, no rules change.', 'http_code' => 400, 'description' => 'The rule is not changed. You do not need to publish the rule.'], + ['code' => 'ErrorNotPostpayUser', 'message' => 'not Postpay User.', 'http_code' => 400, 'description' => 'Non-pay-as-you-go Users.'], + ['code' => 'ErrorObjectGroupName', 'message' => 'The object groupName is invalid.', 'http_code' => 400, 'description' => 'The object groupName is invalid.'], + ['code' => 'ErrorObjectList', 'message' => 'The objectList is invalid.', 'http_code' => 400, 'description' => 'The objectList is invalid.'], + ['code' => 'ErrorObjectOperation', 'message' => 'The objectOperation is invalid.', 'http_code' => 400, 'description' => 'The objectOperation is invalid.'], + ['code' => 'ErrorObjectType', 'message' => 'The objectType is invalid.', 'http_code' => 400, 'description' => 'The objectType is invalid.'], + ['code' => 'ErrorOnlyLocalAllowed', 'message' => 'Only local addresses are allowed.', 'http_code' => 400, 'description' => 'Only local addresses are allowed.'], + ['code' => 'ErrorOnlyLocalAllowed', 'message' => 'Only requests from local addresses are allowed.', 'http_code' => 400, 'description' => 'Only requests from local addresses are allowed.'], + ['code' => 'ErrorOnlyLocalAllowed', 'message' => 'only local address request allowed.', 'http_code' => 400, 'description' => 'Request error, please try again later.'], + ['code' => 'ErrorOpenApiError', 'message' => 'An OpenAPI interface error occurred.', 'http_code' => 400, 'description' => 'An OpenAPI interface error occurred.'], + ['code' => 'ErrorOpenApiError', 'message' => 'openapi error.', 'http_code' => 400, 'description' => 'An error occurred while calling an external operation.'], + ['code' => 'ErrorOpsFirewallMaxNum', 'message' => 'maximum number of vpc firewalls.', 'http_code' => 400, 'description' => 'The maximum number of configured VPC firewalls has been reached. Purchase an expansion.'], + ['code' => 'ErrorOrderFailed', 'message' => 'The order is invalid.', 'http_code' => 400, 'description' => 'The order is invalid.'], + ['code' => 'ErrorOutgoingIgnoredReachLimit', 'message' => 'outgoing ignored list reach limit', 'http_code' => 400, 'description' => 'The number of the whitelists for outbound connections reaches the upper limit.'], + ['code' => 'ErrorOwnerId', 'message' => 'owner id invalid.', 'http_code' => 400, 'description' => 'The account is incorrect, please re-enter.'], + ['code' => 'ErrorOwnerIdUnauthorized', 'message' => 'owner id not authorized.', 'http_code' => 400, 'description' => 'The account is not authorized and Cloud Firewall has not been purchased.'], + ['code' => 'ErrorPageNo', 'message' => 'Either page number or page size is invalid.', 'http_code' => 400, 'description' => 'Either page number or page size is invalid.'], + ['code' => 'ErrorParamCountExceed', 'message' => 'sms or email count exceed.', 'http_code' => 400, 'description' => 'The number of addresses exceeds the upper limit.'], + ['code' => 'ErrorParamDomain', 'message' => 'The parameter Domain is invalid.', 'http_code' => 400, 'description' => 'The parameter Domain is invalid.'], + ['code' => 'ErrorParamEmail', 'message' => 'invalid email address.', 'http_code' => 400, 'description' => 'The email address is invalid.'], + ['code' => 'ErrorParameterIpVersion', 'message' => 'The IP version is invalid.', 'http_code' => 400, 'description' => 'The IP version is invalid.'], + ['code' => 'ErrorParameters', 'message' => 'A parameter error occurred.', 'http_code' => 400, 'description' => 'A parameter error occurred.'], + ['code' => 'ErrorParameters', 'message' => 'Error Parameters', 'http_code' => 400, 'description' => 'The parameter is invalid.'], + ['code' => 'ErrorParameters', 'message' => 'Parameters error.', 'http_code' => 400, 'description' => 'Parameter error.'], + ['code' => 'ErrorParameters', 'message' => 'parameters invalid.', 'http_code' => 400, 'description' => 'Parameter error, please check and try again.'], + ['code' => 'ErrorParametersAclUuid', 'message' => 'Specified parameter AclUuid is not valid.', 'http_code' => 400, 'description' => 'Specified parameter AclUuid is not valid.'], + ['code' => 'ErrorParametersAction', 'message' => 'The action is invalid.', 'http_code' => 400, 'description' => 'The action is invalid.'], + ['code' => 'ErrorParametersAlarmConfig', 'message' => 'invalid alarmConfig.', 'http_code' => 400, 'description' => 'The value of the AlarmConfig parameter is invalid.'], + ['code' => 'ErrorParametersAppId', 'message' => 'The appId is invalid.', 'http_code' => 400, 'description' => 'The appId is invalid.'], + ['code' => 'ErrorParametersAppId', 'message' => 'The AppId parameter is incorrect.', 'http_code' => 400, 'description' => 'The AppId parameter is invalid.'], + ['code' => 'ErrorParametersAppId', 'message' => 'Invalid parameters applicationNameList.', 'http_code' => 400, 'description' => 'Invalid parameter.'], + ['code' => 'ErrorParametersAppIds', 'message' => 'Invalid parameters applicationNameList.', 'http_code' => 400, 'description' => 'Request error, please try again later.'], + ['code' => 'ErrorParametersApplicationName', 'message' => 'Specified parameter ApplicationName is not valid.', 'http_code' => 400, 'description' => 'Specified parameter ApplicationName is not valid.'], + ['code' => 'ErrorParametersApplicationNameList', 'message' => 'Specified parameter ApplicationNameList is not valid.', 'http_code' => 400, 'description' => 'Specified parameter ApplicationNameList is not valid.'], + ['code' => 'ErrorParametersAppName', 'message' => 'Specified parameter ApplicationName is not valid.', 'http_code' => 400, 'description' => 'Specified parameter ApplicationName is not valid.'], + ['code' => 'ErrorParametersDestination', 'message' => 'The destination is invalid.', 'http_code' => 400, 'description' => 'The destination is invalid.'], + ['code' => 'ErrorParametersDestination', 'message' => 'The Destination parameter is invalid.', 'http_code' => 400, 'description' => 'The Destination parameter is invalid.'], + ['code' => 'ErrorParametersDestinationCount', 'message' => 'Exceeding the number of countries in a single ACL.', 'http_code' => 400, 'description' => 'Exceeds the number of selected areas for one ACL. It is recommended to split it into multiple ACLs.'], + ['code' => 'ErrorParametersDestPort', 'message' => 'The dst_port is invalid.', 'http_code' => 400, 'description' => 'The dst_port is invalid.'], + ['code' => 'ErrorParametersDirection', 'message' => 'The direction is invalid.', 'http_code' => 400, 'description' => 'The direction is invalid.'], + ['code' => 'ErrorParametersFirewallId', 'message' => 'Invalid VPC firewall ID.', 'http_code' => 400, 'description' => 'The VPC firewall ID is invalid.'], + ['code' => 'ErrorParametersFtpNotSupport', 'message' => 'domain destination not support ftp.', 'http_code' => 400, 'description' => 'FTP application is not supported when the policy destination is a domain name'], + ['code' => 'ErrorParametersGroupAddress', 'message' => 'The IP address of the address group is invalid.', 'http_code' => 400, 'description' => 'The IP address of the address group is invalid.'], + ['code' => 'ErrorParametersGroupPort', 'message' => 'The group port is invalid.', 'http_code' => 400, 'description' => 'The group port is invalid.'], + ['code' => 'ErrorParametersGroupPort', 'message' => 'invalid group port.', 'http_code' => 400, 'description' => 'Address book port error.'], + ['code' => 'ErrorParametersGroupType', 'message' => 'The group type is invalid.', 'http_code' => 400, 'description' => 'The group type is invalid.'], + ['code' => 'ErrorParametersGroupType', 'message' => 'invalid group type.', 'http_code' => 400, 'description' => 'Invalid group type.'], + ['code' => 'ErrorParametersHTTPHost', 'message' => 'The host is invalid.', 'http_code' => 400, 'description' => 'The host is invalid.'], + ['code' => 'ErrorParametersHTTPHost', 'message' => 'Invalid parameters httpHost.', 'http_code' => 400, 'description' => 'Invalid host.'], + ['code' => 'ErrorParametersMemberUid', 'message' => 'invalid memberUid.', 'http_code' => 400, 'description' => 'Invalid memberUid.'], + ['code' => 'ErrorParametersNatGatewayId', 'message' => 'Invalid parameters NatGatewayId.', 'http_code' => 400, 'description' => 'The request parameter NatGatewayId is invalid or does not exist.'], + ['code' => 'ErrorParametersNewOrder', 'message' => 'The newOrder is invalid.', 'http_code' => 400, 'description' => 'The newOrder is invalid.'], + ['code' => 'ErrorParametersNotifyConfig', 'message' => 'invalid notifyConfig.', 'http_code' => 400, 'description' => 'The value of the NotifyConfig parameter is invalid.'], + ['code' => 'ErrorParametersOldOrder', 'message' => 'The oldOrder is invalid.', 'http_code' => 400, 'description' => 'The oldOrder is invalid.'], + ['code' => 'ErrorParametersPageSizeOrNo', 'message' => 'Either pageSize or pageNo is invalid.', 'http_code' => 400, 'description' => 'Either pageSize or pageNo is invalid.'], + ['code' => 'ErrorParametersPatches', 'message' => 'invalid patches.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorParametersProto', 'message' => 'The protocol is invalid.', 'http_code' => 400, 'description' => 'The protocol is invalid.'], + ['code' => 'ErrorParametersProtoAppsMismatch', 'message' => 'The protocol and applicationName mismatch.', 'http_code' => 400, 'description' => 'The protocol and applicationName mismatch.'], + ['code' => 'ErrorParametersSource', 'message' => 'The source is invalid.', 'http_code' => 400, 'description' => 'The source is invalid.'], + ['code' => 'ErrorParametersSourceTarget', 'message' => 'Source and target firewall is same.', 'http_code' => 400, 'description' => 'Source and target firewall is same.'], + ['code' => 'ErrorParametersSwitchPairs', 'message' => 'invalid switch pairs.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorParametersSwitchValue', 'message' => 'invalid switch value.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorParametersTagKey', 'message' => 'The tag key is invalid.', 'http_code' => 400, 'description' => 'The TagKey parameter is invalid.'], + ['code' => 'ErrorParametersTagKey', 'message' => 'invalid tag key.', 'http_code' => 400, 'description' => 'Invalid tag key'], + ['code' => 'ErrorParametersTagList', 'message' => 'The tag list is invalid.', 'http_code' => 400, 'description' => 'The tag list is invalid.'], + ['code' => 'ErrorParametersTagList', 'message' => 'invalid tag list.', 'http_code' => 400, 'description' => 'Invalid tag list.'], + ['code' => 'ErrorParametersTagRelation', 'message' => 'The tag relation is invalid.', 'http_code' => 400, 'description' => 'The TagRelation parameter is invalid.'], + ['code' => 'ErrorParametersTagRelation', 'message' => 'invalid tag relation.', 'http_code' => 400, 'description' => 'Invalid tag relation.'], + ['code' => 'ErrorParametersTarget', 'message' => 'Target VPC Firewall ID not exist.', 'http_code' => 400, 'description' => 'Target VPC Firewall ID not exist.'], + ['code' => 'ErrorParametersUid', 'message' => 'The aliUid is invalid.', 'http_code' => 200, 'description' => 'The aliUid is invalid.'], + ['code' => 'ErrorParametersUid', 'message' => 'The aliUid parameter is invalid.', 'http_code' => 400, 'description' => 'The aliUid parameter is invalid.'], + ['code' => 'ErrorParametersUid', 'message' => 'invalid aliUid.', 'http_code' => 400, 'description' => 'Invalid Aliuid.'], + ['code' => 'ErrorParametersVfwUUID', 'message' => 'Vpc firewall ID invalid', 'http_code' => 400, 'description' => 'The ID of the VPC firewall is invalid.'], + ['code' => 'ErrorParametersVpcFirewallId', 'message' => 'Specified parameter VpcFirewallId is not valid.', 'http_code' => 400, 'description' => 'Specified parameter VpcFirewallId is not valid.'], + ['code' => 'ErrorParametersWhitelistIP', 'message' => 'Invalid whitelistIp.', 'http_code' => 400, 'description' => 'The IP address is invalid.'], + ['code' => 'ErrorParameterUseDnsLimit', 'message' => 'invalid acl domain destination appname', 'http_code' => 400, 'description' => 'The application type that you specified for the domain name in the outbound access control policy is invalid.'], + ['code' => 'ErrorParamProxyIdError', 'message' => 'proxy id invalid.', 'http_code' => 400, 'description' => 'Invalid proxyId.'], + ['code' => 'ErrorParamProxyNameError', 'message' => 'proxy name invalid.', 'http_code' => 400, 'description' => 'Invalid NAT firewall name.'], + ['code' => 'ErrorParamsInvalid', 'message' => 'Invalid Params', 'http_code' => 400, 'description' => 'The parameter is invalid.'], + ['code' => 'ErrorParamSms', 'message' => 'invalid sms number.', 'http_code' => 400, 'description' => 'The specified mobile number used to receive text messages is invalid.'], + ['code' => 'ErrorParamsNotEnough', 'message' => 'Parameters are insufficient.', 'http_code' => 400, 'description' => 'Parameters are insufficient.'], + ['code' => 'ErrorParamsOutOfRange', 'message' => 'params out of range.', 'http_code' => 400, 'description' => 'The specified parameter value is invalid.'], + ['code' => 'ErrorParamUuidOrOrderMiss', 'message' => 'Either uuid or oldOrder is invalid.', 'http_code' => 400, 'description' => 'Either uuid or oldOrder is invalid.'], + ['code' => 'ErrorPeriodError', 'message' => 'The period is invalid.', 'http_code' => 400, 'description' => 'The period is invalid.'], + ['code' => 'ErrorPeriodError', 'message' => 'period invalid.', 'http_code' => 400, 'description' => 'Time range selection is incorrect, please select again.'], + ['code' => 'ErrorPolicySrcAndDestConflict', 'message' => 'Policy has same destination candidate as source candidtes.', 'http_code' => 400, 'description' => 'The main drainage instance conflicts with the sub-drainage instance in the drainage template.'], + ['code' => 'ErrorPortCountExceed', 'message' => 'The maixmum number of port in the group is exceeded.', 'http_code' => 400, 'description' => 'The maixmum number of port in the group is exceeded.'], + ['code' => 'ErrorPortError', 'message' => 'The port is invalid.', 'http_code' => 400, 'description' => 'The port is invalid.'], + ['code' => 'ErrorPortError', 'message' => 'port invalid.', 'http_code' => 400, 'description' => 'The specified port is invalid. Enter another value.'], + ['code' => 'ErrorPortRange', 'message' => 'strategy rule port range invalid.', 'http_code' => 400, 'description' => 'The port in the policy is invalid. Enter another value.'], + ['code' => 'ErrorPrefixListNotMatchIPVer', 'message' => 'The prefix list does not match the address families.', 'http_code' => 400, 'description' => 'The prefixes do not match other IP address families.'], + ['code' => 'ErrorPrimaryStandbyVswitchSameZone', 'message' => 'The primary and standby vSwitch are in the same availability zone.', 'http_code' => 400, 'description' => 'The primary and standby vSwitch are in the same availability zone.'], + ['code' => 'ErrorPrivateDnsDomainName', 'message' => 'private dns domain name error.', 'http_code' => 400, 'description' => 'Private DNS domain name error'], + ['code' => 'ErrorPrivateDnsDomainNameMaxLimit', 'message' => 'the number of private DNS domain names exceeds the maximum limit.', 'http_code' => 400, 'description' => 'The number of private DNS domain names exceeds the maximum specification limit'], + ['code' => 'ErrorPrivateDnsIpAddress', 'message' => 'private dns ip address error.', 'http_code' => 400, 'description' => 'Private DNS IP Error'], + ['code' => 'ErrorPrivateDnsIpSame', 'message' => 'the primary and backup DNS IP cannot be the same.', 'http_code' => 400, 'description' => 'The primary and secondary IP addresses of a private DNS cannot be the same.'], + ['code' => 'ErrorPrivateDnsNotFound', 'message' => 'private dns not found.', 'http_code' => 400, 'description' => 'The specified private DNS does not exist'], + ['code' => 'ErrorPrivateDnsOperationDenied', 'message' => 'private dns operation is not allowed.', 'http_code' => 400, 'description' => 'Operation not allowed'], + ['code' => 'ErrorPrivateDnsPrivateZoneConfigure', 'message' => 'private dns parameter error.', 'http_code' => 400, 'description' => 'Private DNS configuration parameter error'], + ['code' => 'ErrorPrivateDnsRegionNotAvailable', 'message' => 'private dns region not available.', 'http_code' => 400, 'description' => 'Private dns zones are not available.'], + ['code' => 'ErrorPrivateDnsType', 'message' => 'private dns type error.', 'http_code' => 400, 'description' => 'Private DNS type error'], + ['code' => 'ErrorProcNameTooLong', 'message' => 'proc name too long.', 'http_code' => 400, 'description' => 'The process name exceeds the length limit.'], + ['code' => 'ErrorProtocolError', 'message' => 'The IP protocol is invalid.', 'http_code' => 400, 'description' => 'The IP protocol is invalid.'], + ['code' => 'ErrorProxyClusterNotAvailable', 'message' => 'Can not find available cluster for nat firewall.', 'http_code' => 400, 'description' => 'Failed to assign cluster for nat firewall.'], + ['code' => 'ErrorProxyExist', 'message' => 'firewall already exist.', 'http_code' => 400, 'description' => 'Firewall already exists.'], + ['code' => 'ErrorProxyNumQuotaTop', 'message' => 'Proxy num reaches maximum.', 'http_code' => 400, 'description' => 'Insufficient quota.'], + ['code' => 'ErrorProxyRouteEntryConflicts', 'message' => 'Proxy custom route table Nat Gateway and Attachment route entry conflict.', 'http_code' => 400, 'description' => 'The custom route table of the NAT gateway has a route entry with the next hop of NatGateway and Attachment.'], + ['code' => 'ErrorProxySnatIpEmpty', 'message' => 'SNAT entry is empty.', 'http_code' => 400, 'description' => 'SNAT entry is empty.'], + ['code' => 'ErrorProxyStatusCreating', 'message' => 'Proxy is configuring.', 'http_code' => 400, 'description' => 'The NAT firewall is not operational because it is being configured.'], + ['code' => 'ErrorProxyStatusNotNormal', 'message' => 'proxy status is not normal.', 'http_code' => 400, 'description' => 'The current NAT instance does not have a firewall enabled.'], + ['code' => 'ErrorProxyVpcNotSupportAdvFeature', 'message' => 'This vpc advanced feature is not supported.', 'http_code' => 400, 'description' => 'The VPC contains ECS instances that do not support advanced features of VPC.'], + ['code' => 'ErrorProxyVswitchNoAvailable', 'message' => 'the vswitch is cloud firewall vswitch, please reselect vswitch.', 'http_code' => 400, 'description' => 'The specified switch is a switch automatically created by the NAT firewall, please reselect the switch'], + ['code' => 'ErrorPublicIPNotExist', 'message' => 'The public IP address does not exist.', 'http_code' => 400, 'description' => 'The public network IP address does not exist.'], + ['code' => 'ErrorQueryEcsByUid', 'message' => 'An error occurred while querying ECS.', 'http_code' => 400, 'description' => 'An error occurred while querying ECS.'], + ['code' => 'ErrorQueryEcsByUid', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'An error occurred while querying the ECS instance.'], + ['code' => 'ErrorReadBodyFailed', 'message' => 'Failed to read post body.', 'http_code' => 400, 'description' => 'Failed to read the post body.'], + ['code' => 'ErrorRecordLog', 'message' => 'An error occurred while updating the operation log.', 'http_code' => 400, 'description' => 'An error occurred while updating the operation log.'], + ['code' => 'ErrorRecordLog', 'message' => 'update operation log error.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorRecordLog', 'message' => 'record operation log error.', 'http_code' => 400, 'description' => 'Update operation log error.'], + ['code' => 'ErrorRegionAssetError', 'message' => 'RegionId and asset IP cannot be specified at the same time.', 'http_code' => 400, 'description' => 'Region ID and asset IP cannot be specified at the same time.'], + ['code' => 'ErrorRegionNo', 'message' => 'regionNo error.', 'http_code' => 400, 'description' => 'Region selection error, please re-enter.'."\n"], + ['code' => 'ErrorRegionNoDisable', 'message' => 'There are unsupported regions, please reselect', 'http_code' => 400, 'description' => 'Some regions are not supported. Specify supported regions.'], + ['code' => 'ErrorRegionNoDisable', 'message' => 'Region disable.', 'http_code' => 400, 'description' => 'There are unsupported regions, please select again.'], + ['code' => 'ErrorRegionNoError', 'message' => 'The region is invalid.', 'http_code' => 400, 'description' => 'The region is invalid.'], + ['code' => 'ErrorRegionNoError', 'message' => 'Region is error, please reselect', 'http_code' => 400, 'description' => 'The specified region is invalid. Enter another value.'], + ['code' => 'ErrorRegionNoError', 'message' => 'Region invalid.', 'http_code' => 400, 'description' => 'Region selection error, please re-enter.'], + ['code' => 'ErrorRemarkTooLong', 'message' => 'remark too long.', 'http_code' => 400, 'description' => 'The description exceeds the length limit.'], + ['code' => 'ErrorReservedNameStartWithAt', 'message' => 'Reserved name start with letter At.', 'http_code' => 400, 'description' => 'The application groups and business groups whose names start with the at sign (@) are reserved by the system.'], + ['code' => 'ErrorResourceIpFailed', 'message' => 'Resource type and IP cannot exist at the same time.', 'http_code' => 400, 'description' => 'Resource type and IP cannot exist at the same time.'], + ['code' => 'ErrorResourceType', 'message' => 'The resource type is invalid.', 'http_code' => 400, 'description' => 'The resource type is invalid.'], + ['code' => 'ErrorRevision', 'message' => 'strategy commit revision invalid.', 'http_code' => 400, 'description' => 'The version number is invalid.'], + ['code' => 'ErrorRiskLevel', 'message' => 'The risk level is invalid.', 'http_code' => 400, 'description' => 'The risk level is invalid.'], + ['code' => 'ErrorRouteEntryNotFound', 'message' => 'route entry not found.', 'http_code' => 400, 'description' => 'The route entry does not exist.'], + ['code' => 'ErrorRouteTableNotFound', 'message' => 'route table not found.', 'http_code' => 400, 'description' => 'Routing table does not exist'], + ['code' => 'ErrorRuleCommitting', 'message' => 'strategy rule committing, please wait.', 'http_code' => 400, 'description' => 'The rule is being published. Try again later.'], + ['code' => 'ErrorRuleDirection', 'message' => 'strategy rule direction invalid.', 'http_code' => 400, 'description' => 'The specified direction is invalid.'], + ['code' => 'ErrorRuleExist', 'message' => 'strategy rule exist.', 'http_code' => 400, 'description' => 'The policy already exists.'], + ['code' => 'ErrorRuleGroupIdNetWorkType', 'message' => 'strategy rule group id network type invalid.', 'http_code' => 400, 'description' => 'The network type of the rule is incorrect. Select again.'], + ['code' => 'ErrorRuleGroupIdNotExist', 'message' => 'strategy group id not exist.', 'http_code' => 400, 'description' => 'Request error, policy group does not exist.'], + ['code' => 'ErrorRuleGroupUUID', 'message' => 'strategy group uuid invalid.', 'http_code' => 400, 'description' => 'The specified policy group does not exist.'], + ['code' => 'ErrorRuleIpProtocol', 'message' => 'strategy rule ip protocol invalid.', 'http_code' => 400, 'description' => 'The specified protocol is invalid.'], + ['code' => 'ErrorRuleMaxLimit', 'message' => 'strategy rule number specification limit.', 'http_code' => 400, 'description' => 'The specified page does not exist.'], + ['code' => 'ErrorRuleNotExist', 'message' => 'strategy rule not exist.', 'http_code' => 400, 'description' => 'The policy does not exist.'], + ['code' => 'ErrorRuleOperation', 'message' => 'strategy rule operation invalid.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorRulePolicy', 'message' => 'strategy rule policy invalid.', 'http_code' => 400, 'description' => 'The specified policy is invalid.'], + ['code' => 'ErrorRulePriority', 'message' => 'strategy rule priority invalid.', 'http_code' => 400, 'description' => 'The priority of the policy is invalid. Enter another value.'], + ['code' => 'ErrorRuleResultError', 'message' => 'The rule result is invalid.', 'http_code' => 400, 'description' => 'The rule result is invalid.'], + ['code' => 'ErrorRuleSourceError', 'message' => 'The rule source is invalid.', 'http_code' => 400, 'description' => 'The rule source is invalid.'], + ['code' => 'ErrorRuleUUID', 'message' => 'strategy rule uuid invalid.', 'http_code' => 400, 'description' => 'policy rule uuid disabled'], + ['code' => 'ErrorSameCidrIp', 'message' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'http_code' => 400, 'description' => 'The CIDR block is already in use. Specify another CIDR block.'], + ['code' => 'ErrorSameCidrIp', 'message' => 'the same route exists in the configuration.', 'http_code' => 400, 'description' => 'The same network segment cannot be configured repeatedly. Please select the network segment again.'], + ['code' => 'ErrorSecurityRisk', 'message' => 'The security risk is invalid.', 'http_code' => 400, 'description' => 'The security risk is invalid.'], + ['code' => 'ErrorSecuritySuggest', 'message' => 'The security suggest is invalid.', 'http_code' => 400, 'description' => 'The security suggest is invalid.'], + ['code' => 'ErrorShowPort', 'message' => 'The show port is invalid.', 'http_code' => 400, 'description' => 'The show port is invalid.'], + ['code' => 'ErrorSlbOpenApi', 'message' => 'An SLB OpenAPI error occurred.', 'http_code' => 400, 'description' => 'An SLB OpenAPI error occurred.'], + ['code' => 'ErrorSlbOpenApi', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'An internal error occurred while calling an SLB operation.'], + ['code' => 'ErrorSLSLog', 'message' => 'Failed to get SLS log.', 'http_code' => 400, 'description' => 'Failed to get SLS log.'], + ['code' => 'ErrorSLSLogStore', 'message' => 'Failed to get SLS logstore.', 'http_code' => 400, 'description' => 'Failed to obtain the Log Service logstore.'], + ['code' => 'ErrorSnatIpQuotaExceed', 'message' => 'The number of SNAT IP exceeds the specification.', 'http_code' => 400, 'description' => 'The number of NAT Gateway EIPs exceeds the specifications supported by a single NAT firewall.'], + ['code' => 'ErrorSortError', 'message' => 'The sort is invalid.', 'http_code' => 400, 'description' => 'The sort is invalid.'], + ['code' => 'ErrorSourceCodeError', 'message' => 'The source code is invalid.', 'http_code' => 400, 'description' => 'The source code is invalid.'], + ['code' => 'ErrorSrcDstIPError', 'message' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', 'http_code' => 400, 'description' => 'The source public IP address and destination public IP address cannot be specified at the same time.'], + ['code' => 'ErrorSrcMand', 'message' => 'Source is mandatory for this action.', 'http_code' => 400, 'description' => 'This operation requires the specified source.'], + ['code' => 'ErrorStartEcsFirewall', 'message' => 'start ecs firewall error.', 'http_code' => 400, 'description' => 'Failed to enable firewall, please try again.'], + ['code' => 'ErrorStartTimeOrEndTime', 'message' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', 'http_code' => 400, 'description' => 'The start time or end time is invalid. The time must be an hour or half an hour, and the start time must be 30 minutes earlier than the end time.'], + ['code' => 'ErrorStopEcsFirewall', 'message' => 'stop ecs firewall error.', 'http_code' => 400, 'description' => 'Firewall shutdown failed, please try again.'], + ['code' => 'ErrorStrategyGroupInstanceLimit', 'message' => 'strategy group instance spec limit.', 'http_code' => 400, 'description' => 'The number of policy groups to which the instance is added exceeds the limit.'], + ['code' => 'ErrorStrategyGroupLimit', 'message' => 'strategy group count limit.', 'http_code' => 400, 'description' => 'The number of policy groups exceeds the limit.'], + ['code' => 'ErrorStrategyGroupNotAllowModify', 'message' => 'strategy group not allow modify.', 'http_code' => 400, 'description' => 'You cannot modify the specified policy group.'], + ['code' => 'ErrorStrategyGroupNotExist', 'message' => 'strategy group uuid not exist.', 'http_code' => 400, 'description' => 'The ECS security group does not exist.'], + ['code' => 'ErrorStrategyGroupReferenced', 'message' => 'strategy group reference count is not 0.', 'http_code' => 400, 'description' => 'The specified policy group is still referenced.'], + ['code' => 'ErrorStrategyGroupRuleLimit', 'message' => 'strategy group rule spec limit.', 'http_code' => 400, 'description' => 'The number of rules in the specified policy group exceeds the limit.'], + ['code' => 'ErrorStrategyTemplateAlreadExist', 'message' => 'strategy template alread exist.', 'http_code' => 400, 'description' => 'The specified policy group template already exists.'], + ['code' => 'ErrorStrategyTemplateNotExist', 'message' => 'strategy template not exist.', 'http_code' => 400, 'description' => 'The specified policy group template already exists.'], + ['code' => 'ErrorTagCountExceed', 'message' => 'The maximum number of tag is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of tag is exceeded.'], + ['code' => 'ErrorTagCountExceed', 'message' => 'tag count exceed.', 'http_code' => 400, 'description' => 'The number of tags exceeds the upper limit,.'], + ['code' => 'ErrorTimeError', 'message' => 'The time is invalid.', 'http_code' => 400, 'description' => 'The time is invalid.'], + ['code' => 'ErrorTimeError', 'message' => 'time range invalid.', 'http_code' => 400, 'description' => 'The specified time is invalid. Select again.'], + ['code' => 'ErrorTimeRangeFailed', 'message' => 'start time must less then end time.', 'http_code' => 400, 'description' => 'Time parameter out of range.'], + ['code' => 'ErrorTrafficSlsFirewallType', 'message' => 'The firewall type of traffic log is invalid.', 'http_code' => 400, 'description' => 'The firewall type of traffic log is invalid.'], + ['code' => 'ErrorTrafficType', 'message' => 'The traffic type is invalid.', 'http_code' => 400, 'description' => 'The traffic type is invalid.'], + ['code' => 'ErrorTrFirewallCenManegedRouteMapConflict', 'message' => 'Cen TR firewall route table has cen managed route map conflict.', 'http_code' => 400, 'description' => 'if a routing policy of the old version of cen enterprise edition with a priority of 5000 exists, contact after-sales service to update the routing policy.'], + ['code' => 'ErrorTrFirewallDoNotSupportPrefixList', 'message' => 'Cen TR firewall do not support prefix list.', 'http_code' => 400, 'description' => 'Cloud Firewall of CEN Enterprise Edition does not support prefix lists.'], + ['code' => 'ErrorTrFirewallEcmpRoute', 'message' => 'Cen TR ecmp next hop must add to route policy at the same time.', 'http_code' => 400, 'description' => 'The next hop of the CEN medium-price route must be added to the cloud firewall drainage scenario at the same time.'], + ['code' => 'ErrorTrFirewallEndToEndTrToAll', 'message' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', 'http_code' => 400, 'description' => 'Parameter error. In point-to-multipoint scenarios, the TR instance does not support ALL configuration.'], + ['code' => 'ErrorTrFirewallNotEmpty', 'message' => 'Can not delete firewall since firewall still attached to a firewall policy.', 'http_code' => 400, 'description' => 'The firewall cannot be deleted. There are still firewall drainage scenarios in the firewall.'], + ['code' => 'ErrorTrFirewallNotExist', 'message' => 'Cen TR firewall not exist', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorTrFirewallNotExist', 'message' => 'Cen TR firewall not exist.', 'http_code' => 400, 'description' => 'Cloud Enterprise Network Enterprise Edition firewall does not exist.'], + ['code' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', 'message' => 'TR firewall cannot only contain both ECR and TR.', 'http_code' => 400, 'description' => 'TR firewall cannot only contain both ECR and TR.'], + ['code' => 'ErrorTrFirewallOnlyContainsVpnAndTrCandidate', 'message' => 'The Cloud Enterprise Edition firewall drainage template contains only CEN-TR or only VPN instances.', 'http_code' => 400, 'description' => 'The Cloud Enterprise Edition firewall drainage template contains only CEN-TR or only VPN instances.'], + ['code' => 'ErrorTrFirewallRouteMapConflict', 'message' => 'Cen TR firewall route table has route map conflict.', 'http_code' => 400, 'description' => 'The CEN routing table and the cloud firewall have routing policy conflicts.'], + ['code' => 'ErrorTrFirewallRouteTableInUse', 'message' => 'Can not delete firewall. There\'s a firewall route table still associate with network instance.', 'http_code' => 400, 'description' => 'The firewall cannot be removed, and the firewall routing table is still bound to some network instances.'], + ['code' => 'ErrorTrFwBackUpAssocationNotExist', 'message' => 'Tr firewall back up association not Exist.', 'http_code' => 400, 'description' => 'The routing table configuration before the drainage scenario is enabled cannot be obtained. The routing table before the drainage scenario is enabled may have been deleted.'], + ['code' => 'ErrorTrFwVswCidrConflict', 'message' => 'Illegal tr firewall cidr configuration.', 'http_code' => 400, 'description' => 'Tr firewall configuration network segment is invalid.'], + ['code' => 'ErrorTrResourceNotReady', 'message' => 'Transit Router has not been detected by cloud firewall', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorTrRouteConflict', 'message' => 'There are routes have same destination cidr but next hop id in the same transit router route table.', 'http_code' => 400, 'description' => 'There are routes with the same destination network segment but different next hops in the CEN forwarding route table.'], + ['code' => 'ErrorTrRouteTableContainsRejectRoutes', 'message' => 'There are routes conflict in transit router route table.Please resolve route conflict before create route policy.', 'http_code' => 400, 'description' => 'There is a routing conflict in the routing table of the forwarding router. Resolve the routing conflict before creating a firewall drainage scenario.'], + ['code' => 'ErrorTrRouteTableContainsRejectRoutes', 'message' => 'There are routes conflict in transit router route table. Please resolve route conflict before create route policy.', 'http_code' => 400, 'description' => 'There is a routing conflict in the routing table of the forwarding router. Resolve the routing conflict before creating a firewall drainage scenario.'], + ['code' => 'ErrorUnmarshalJSON', 'message' => 'An error occurred while parsing JSON.', 'http_code' => 400, 'description' => 'An error occurred while decoding JSON.'], + ['code' => 'ErrorUnMarshalJSON', 'message' => 'internal error.', 'http_code' => 400, 'description' => 'Internal Error'], + ['code' => 'ErrorUnmarshalJSON', 'message' => 'internal error: unmarshal json.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorUnmarshalJSON', 'message' => 'An error occurred. Try again later.', 'http_code' => 400, 'description' => 'Request error, please try again later.'], + ['code' => 'ErrorUserCenTrNotEnabled', 'message' => 'This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team.', 'http_code' => 400, 'description' => 'This account does not support CEN Enterprise Edition Cloud Firewall for the time being. Please contact the Cloud Firewall service team to add white before operation.'], + ['code' => 'ErrorUserCredentials', 'message' => 'user credentials failed', 'http_code' => 400, 'description' => 'Access permissions required. You must grant permissions to the firewall.'], + ['code' => 'ErrorUserCredentials', 'message' => 'User credentials failed.', 'http_code' => 400, 'description' => 'Unauthorized, not accessible, please first authorize firewall permissions.'], + ['code' => 'ErrorUserNotFound', 'message' => 'User not found', 'http_code' => 400, 'description' => 'The user does not exist.'], + ['code' => 'ErrorUUIDNew', 'message' => 'The UUID is invalid.', 'http_code' => 400, 'description' => 'The UUID is invalid.'], + ['code' => 'ErrorUUIDNew', 'message' => 'internal error: uuid.', 'http_code' => 400, 'description' => 'An error occurred. Try again later.'], + ['code' => 'ErrorVfwVpcNoAvailable', 'message' => 'the vpc is cloud firewall vpc, please reselect vpc.', 'http_code' => 400, 'description' => 'The specified VPC is automatically created by Cloud Firewall. Select a new VPC.'], + ['code' => 'ErrorVpcAndTrNotInTheSameAccount', 'message' => 'Vpc and transit router should in the account when create cloud firewall manual mode.', 'http_code' => 400, 'description' => 'When creating a cloud firewall in the cloud enterprise network manual mode, the VPC and forwarding router configured for the firewall must be under the same account.'], + ['code' => 'ErrorVpcAndVSwitchMismatched', 'message' => 'The VPC and vSwitch are mismatched.', 'http_code' => 400, 'description' => 'The VPC and VSwitch do not match.'], + ['code' => 'ErrorVpcCustomRouteTableWithVswitch', 'message' => 'VPC has a custom routing table and is associated with vswitch. It is not allowed to create VPC firewall', 'http_code' => 400, 'description' => 'You are not allowed to create a VPC firewall for a VPC in which custom route tables exist and vSwitches are associated with the custom route tables.'], + ['code' => 'ErrorVpcCustomRouteTableWithVswitch', 'message' => 'vpc exist custom route table with vswitch, can not create vpc firewall.', 'http_code' => 400, 'description' => 'The VPC has a custom route table and is associated with a vswitch. You cannot create a VPC firewall.'], + ['code' => 'ErrorVpcDoNotSupportSubnetRouting', 'message' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.', 'http_code' => 400, 'description' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.'], + ['code' => 'ErrorVpcFirewallExist', 'message' => 'The firewall has been configured and cannot be created repeatedly.', 'http_code' => 400, 'description' => 'The firewall is configured and cannot be repeatedly created.'], + ['code' => 'ErrorVpcFirewallExist', 'message' => 'Vpc firewall already exist.', 'http_code' => 400, 'description' => 'The firewall is already configured and cannot be configured repeatedly.'], + ['code' => 'ErrorVpcFirewallId', 'message' => 'The VPC firewall ID is invalid.', 'http_code' => 400, 'description' => 'The VPC firewall ID is invalid.'], + ['code' => 'ErrorVpcFirewallIdNotFound', 'message' => 'The VPC firewall ID is not found.', 'http_code' => 400, 'description' => 'The VPC firewall ID is not found.'], + ['code' => 'ErrorVpcFirewallNotFound', 'message' => 'The specified VPC firewall does not exist. Please select again.', 'http_code' => 400, 'description' => 'The specified VPC firewall does not exist. Enter another value.'], + ['code' => 'ErrorVpcFirewallNotFound', 'message' => 'The specified VPC firewall does not exist, please select again.', 'http_code' => 400, 'description' => 'The specified VPC firewall does not exist. Enter another value.'], + ['code' => 'ErrorVpcFirewallNotFound', 'message' => 'Vpc firewall not found.', 'http_code' => 400, 'description' => 'The specified VPC firewall does not exist. Select another one.'], + ['code' => 'ErrorVpcFirewallVpcNumLimit', 'message' => 'The number of vpcs in this region is limited to open the vpc firewall.', 'http_code' => 400, 'description' => 'The VPC boundary firewall cannot be enabled because of the limited number of VPCs in this region.'], + ['code' => 'ErrorVpcFirewallZoneId', 'message' => 'VPC firewall zone error.', 'http_code' => 400, 'description' => 'VPC firewall zone selection error'], + ['code' => 'ErrorVpcId', 'message' => 'The VPC ID is invalid.', 'http_code' => 400, 'description' => 'The VPC ID is invalid.'], + ['code' => 'ErrorVpcIdError', 'message' => 'vpc id invalid', 'http_code' => 400, 'description' => 'The specified VPC is invalid. Specify another value.'], + ['code' => 'ErrorVpcIdError', 'message' => 'Vpc ID invalid.', 'http_code' => 400, 'description' => 'The VPC is incorrectly selected. Select another VPC.'], + ['code' => 'ErrorVpcIdNotMatch', 'message' => 'vpc id not match.', 'http_code' => 400, 'description' => 'The application and VPC instance do not match.'], + ['code' => 'ErrorVpcIdPara', 'message' => 'vpc id and firewall id parameter not exist.', 'http_code' => 400, 'description' => 'The firewall VPC parameter is incorrect. Select another one.'], + ['code' => 'ErrorVpcOpenApi', 'message' => 'vpc open api failed', 'http_code' => 400, 'description' => 'Failed to call the VPC API.'], + ['code' => 'ErrorVSwitchAndPrivateIpAddressMismatched', 'message' => 'The vSwitch and privateIpAddress are mismatched.', 'http_code' => 400, 'description' => 'The vSwitch and privateIpAddress are mismatched.'], + ['code' => 'ErrorVswitchCidrIpNumNotEnough', 'message' => 'No enough private proxy IP in vswitch cidr.', 'http_code' => 400, 'description' => 'The firewall switch does not have enough private IP addresses.'], + ['code' => 'ErrorVswitchCidrNotInVpc', 'message' => 'Vswitch CIDR address not in vpc.', 'http_code' => 400, 'description' => 'The CIDR block address of the switch does not belong to the current VPC.'], + ['code' => 'ErrorVswitchCidrNotInVpc', 'message' => 'The CIDR block address of the switch does not belong to the current VPC.', 'http_code' => 400, 'description' => 'The CIDR block address of the switch does not belong to the current VPC.'], + ['code' => 'ErrorVswitchId', 'message' => 'vswitch id error.', 'http_code' => 400, 'description' => 'Switch Error'], + ['code' => 'ErrorVswitchIpAddress', 'message' => 'vswitch ip error.', 'http_code' => 400, 'description' => 'Switch IP Error'], + ['code' => 'ErrorVswitchNoAvailableCidr', 'message' => 'No available CIDR to create a vswitch.', 'http_code' => 400, 'description' => 'There is no free CIDR block in the VPC to create a VSwitch.'], + ['code' => 'ErrorVswitchNoAvailableIP', 'message' => 'the vswitch has no available ip.', 'http_code' => 400, 'description' => 'No IP available for the specified switch'], + ['code' => 'ErrorVswitchNotFound', 'message' => 'vswitch not found', 'http_code' => 400, 'description' => 'The vSwitch does not exist. Select another vSwitch.'], + ['code' => 'ErrorVswitchRouteConflict', 'message' => 'Vswitch route conflict error.', 'http_code' => 400, 'description' => 'The entered VSwitch CIDR block conflicts with the existing VSwitch CIDR block.'], + ['code' => 'ErrorVswitchRouteConflict', 'message' => 'vswitch route conflict.', 'http_code' => 400, 'description' => 'The entered VSwitch CIDR block conflicts with the existing VSwitch CIDR block.'], + ['code' => 'ErrorVulLevelFailed', 'message' => 'VulLevel has failed.', 'http_code' => 400, 'description' => 'VulLevel has failed.'], + ['code' => 'ErrotMaxInstanceMemberNumExceed', 'message' => 'The maximum number of firewall instance members is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of firewall instance members is exceeded.'], + ['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => 'This request uses the same client token as the previous request, but not the same. Do not reuse client tokens in different requests unless the request is the same.'], + ['code' => 'IllegalOperation', 'message' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.', 'http_code' => 400, 'description' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.'], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 400, 'description' => 'Request processing failed due to some unknown error.'], + ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 401, 'description' => 'You are not authorized to perform this operation.'], + ['code' => 'UnknownError', 'message' => 'An unknown error occurred.', 'http_code' => 400, 'description' => 'An unknown error occurred.'], + ['code' => 'ErrorAckClusterConnectorExist', 'message' => 'ACK cluster connector resource exceeds the quota limit.', 'http_code' => 400, 'description' => 'ACK cluster connector resource exceeds the quota limit.'], + ['code' => 'ErrorPrivateDnsEndpointQuotaExceeded', 'message' => 'Private DNS endpoint resource exceeds the quota limit.', 'http_code' => 400, 'description' => 'The resources of the private network DNS synchronization node exceed the quota limit.'], + ['code' => 'ErrorAckClusterConnectorQuotaExceeded', 'message' => 'ACK cluster connector resource exceeds the quota limit.', 'http_code' => 400, 'description' => 'ACK cluster connector resource exceeds the quota limit.'], + ['code' => 'ErrorBandwidthPenalty', 'message' => 'Cloud Firewall bandwidth is being overused.', 'http_code' => 400, 'description' => 'Cloud Firewall bandwidth is being overused.'], + ['code' => 'ErrorGeneralInstanceSpecFull', 'message' => 'Cloud Firewall instance specifications are full.', 'http_code' => 400, 'description' => 'Cloud Firewall instance specifications are full.'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC.', 'http_code' => 400, 'description' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC and the firewall cannot be enabled. Please select'], + ['code' => 'ErrorFirewallQuotaNotEmpty', 'message' => 'Insufficient cloud firewall quota.', 'http_code' => 400, 'description' => 'Insufficient cloud firewall quota.'], + ['code' => 'ErrorParametersAddressGroupAddressDuplicate', 'message' => 'The address in the address book already exists.', 'http_code' => 400, 'description' => 'The address in the address book already exists.'], + ['code' => 'ErrorParametersAddressGroupAddressNotFound', 'message' => 'The address to be deleted does not exist in the address book.', 'http_code' => 400, 'description' => 'The address to be deleted does not exist in the address book.'], + ['code' => 'ErrorNetworkInstanceIdBothEmpty', 'message' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.', 'http_code' => 400, 'description' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.'], + ['code' => 'ErrorNetworkInstanceIdSame', 'message' => 'The NetworkInstanceId and PeerNetworkInstanceId parameters cannot be the same.', 'http_code' => 400, 'description' => 'Parameter NetworkInstanceId and PeerNetworkInstanceId cannot be the same'], + ['code' => 'InvalidParameter.AddressBook.%s', 'message' => 'The address book address %s is already exist.', 'http_code' => 400, 'description' => 'The address book address %s is already exist.'], + ['code' => 'InvalidParameter.AddressBook.AddressDuplicate', 'message' => 'The address book address %s is already exist.', 'http_code' => 400, 'description' => 'The address book address %s is already exist.'], + ['code' => 'ErrorCrossRegionCloudServiceStaticRoute', 'message' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.', 'http_code' => 400, 'description' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.'], + ['code' => 'ErrorVpcRouteTableQuotaLimit', 'message' => 'The number of VPC routing tables has reached the specification limit.', 'http_code' => 400, 'description' => 'The number of VPC route tables reaches the maximum specification'], + ['code' => 'ErrorNatCustomRouteEntryDifferent', 'message' => 'The custom route entries in the routing tables are inconsistent.', 'http_code' => 400, 'description' => 'The custom route entries in the routing tables are inconsistent.'], + ['code' => 'ErrorSnatEntryQuotaExceed', 'message' => 'SNAT entry quota exceeded.', 'http_code' => 400, 'description' => 'The number of SNAT entries reaches the specification limit'], + ['code' => 'ErrorTrFirewallPolicyNotFound', 'message' => 'TR firewall policy does not exist.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorNatVpnRouteEntryQuotaLimit', 'message' => 'The number of VPN routes has reached the quota.', 'http_code' => 400, 'description' => 'VPN route arrival specification limit'], + ['code' => 'ErrorFirewallVSwitchCidrConflict', 'message' => 'Firewall switch network segment conflicts with business network segment.', 'http_code' => 400, 'description' => 'Firewall switch network segment conflicts with business network segment'], + ['code' => 'ErrorCandidateHasIPv6Route', 'message' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', 'http_code' => 400, 'description' => 'Cloud Enterprise Network TR Enterprise Firewall does not support Ipv6 routing'], + ['code' => 'ErrorRouteTableIdNotFound', 'message' => 'Route table id not found.', 'http_code' => 400, 'description' => 'Routing table ID not found'], + ['code' => 'ErrorTlsInspectTrialPost', 'message' => 'postpay 1.0 version do not support trial TLS inspection.', 'http_code' => 400, 'description' => 'The volume 1.0 version does not support the trial TLS inspection function.'], + ['code' => 'RepeatInFiveMinutes', 'message' => 'Repeat operation in five minutes, please try later.', 'http_code' => 400, 'description' => 'Repeat operation is not allowed for five minutes. Please try again later.'], + ['code' => 'ErrorParametersMemberUidMismatch', 'message' => 'The memberUid mismatch the aliUid.', 'http_code' => 400, 'description' => 'The memberUid mismatch the aliUid.'], + ['code' => 'LogStoreNotExist', 'message' => 'The specified logstore does not exist. It may have been deleted manually. Please go to the SLS console to view detailed information.', 'http_code' => 403, 'description' => 'The specified LogStore does not exist. It may have been manually deleted. Please go to the SLS console to view detailed information.'], + ['code' => 'ErrorBuiltInAppStatusDisabled', 'message' => 'Parameter BuiltInApplicationActions are not Enabled.', 'http_code' => 400, 'description' => 'Parameter BuiltInApplicationActions is not Enabled'], + ['code' => 'ErrorAppTemplateQuotaLimit', 'message' => 'The application template count exceed the quota.', 'http_code' => 400, 'description' => 'The number of application templates exceeds the specification limit'], + ['code' => 'ErrorApplicationControlFeatureDisabled', 'message' => 'Application control feature not enabled.', 'http_code' => 400, 'description' => 'The application control function is not activated'], + ['code' => 'ErrorParameterAction', 'message' => 'Parameter action error.', 'http_code' => 400, 'description' => 'Parameter action error'], + ['code' => 'ErrorApplicationIdNotFound', 'message' => 'Application ID not found.', 'http_code' => 400, 'description' => 'Application ID does not exist'], + ['code' => 'ErrorApplicationIdDuplicate', 'message' => 'Application ID duplicate.', 'http_code' => 400, 'description' => 'Duplicate Application ID'], + ['code' => 'ErrorApplicationTemplateNotFound', 'message' => 'Application template not found.', 'http_code' => 400, 'description' => 'Application template does not exist'], + ['code' => 'ErrorApplicationCustomRuleExist', 'message' => 'The application template contains custom rules.', 'http_code' => 400, 'description' => 'Custom rule exists in application template'], + ['code' => 'ErrorBuiltInApplicationActionType', 'message' => 'Parameter builtInApplicationActionType input error.', 'http_code' => 400, 'description' => 'Parameter builtInApplicationActionType input error'], + ['code' => 'ErrorApplicationCustomRulePriorityExist', 'message' => 'Application custom rule priority exist.', 'http_code' => 400, 'description' => 'Custom rule priority already exists'], + ['code' => 'ErrorApplicationCustomRuleNotFound', 'message' => 'Application custom rule not found.', 'http_code' => 400, 'description' => 'Custom rule does not exist'], + ['code' => 'ErrorApplicationCustomRuleQuotaLimit', 'message' => 'The application custom rule count exceed the quota.', 'http_code' => 400, 'description' => 'The number of custom rules exceeds the specification limit'], + ['code' => 'ErrorApplicationCustomRuleNumLimit', 'message' => 'The number of custom rules entered exceeds the limit.', 'http_code' => 400, 'description' => 'The number of custom rules entered exceeds the limit'], + ['code' => 'ErrorApplicationCustomRuleAppNumLimit', 'message' => 'Application custom rule application number limit.', 'http_code' => 400, 'description' => 'Limit on number of applications within custom rules'], + ['code' => 'ErrorApplicationCustomRulePriorityInvalid', 'message' => 'Application custom rule priority invalid.', 'http_code' => 400, 'description' => 'Custom Rule Priority Error'], + ['code' => 'ErrorApplicationCustomRulePriorityDuplicate', 'message' => 'Application custom rule priority duplicate.', 'http_code' => 400, 'description' => 'Custom Rule Priority Duplicate'], + ['code' => 'ErrorApplicationCustomRuleNameNotFound', 'message' => 'Application custom rule name not found.', 'http_code' => 400, 'description' => 'Custom rule name does not exist'], + ['code' => 'ErrorApplicationCustomRuleIdDuplicate', 'message' => 'Application custom rule id duplicate.', 'http_code' => 400, 'description' => 'Duplicate Custom Rule ID'], + ['code' => 'ErrorApplicationCustomRuleAppIdEmpty', 'message' => 'Application ID for application custom rule is empty.', 'http_code' => 400, 'description' => 'Application ID for application custom rule is empty'], + ['code' => 'ErrorWebFilterRuleTemplateNotFound', 'message' => 'Web filter template not found.', 'http_code' => 400, 'description' => 'Web filtering template does not exist'], + ['code' => 'ErrorWebFilterRuleTemplateQuotaLimit', 'message' => 'Web filter template count exceed the quota.', 'http_code' => 400, 'description' => 'Web Filtering Template Super Spec'], + ['code' => 'ErrorWebFilterRuleUrlInvalid', 'message' => 'Web filter rule url invalid.', 'http_code' => 400, 'description' => 'The URL for the web filtering rule is illegal'], + ['code' => 'ErrorWebFilterRuleUrlDuplicate', 'message' => 'Web filter rule URL duplicate.', 'http_code' => 400, 'description' => 'Duplicate URL for Web Filtering Rule'], + ['code' => 'ErrorWebFilterRuleNotFound', 'message' => 'Web filter rule not found.', 'http_code' => 400, 'description' => 'Web filtering rule does not exist'], + ['code' => 'ErrorWebFilterRuleQuotaLimit', 'message' => 'Web filter rule count exceed the quota.', 'http_code' => 400, 'description' => 'The number of Web filtering rules exceeds the specification limit'], + ['code' => 'ErrorWebFilterRuleNumLimit', 'message' => 'Number of Web filtering rules exceeded.', 'http_code' => 400, 'description' => 'Number of Web filtering rules exceeded'], + ['code' => 'ErrorWebFilterRuleIdDuplicate', 'message' => 'Web filter rule ID duplicate.', 'http_code' => 400, 'description' => 'Duplicate Web Filtering Rule ID'], + ['code' => 'ErrorWebFilterRuleConditionCount', 'message' => 'Wrong number of Web filtering rule matching conditions.', 'http_code' => 400, 'description' => 'Wrong number of Web filtering rule matching conditions'], + ['code' => 'ErrorWebFilterRuleConditionKey', 'message' => 'Web Filtering Rule Match Criteria Field Error.', 'http_code' => 400, 'description' => 'Web Filtering Rule Match Criteria Field Error'], + ['code' => 'ErrorTemplateNameInvalid', 'message' => 'Parameter template name invalid.', 'http_code' => 400, 'description' => 'Template name error'], + ['code' => 'ErrorDescriptionInvalid', 'message' => 'Parameter description invalid.', 'http_code' => 400, 'description' => 'Parameter description error'], + ['code' => 'ErrorTemplateUsedInAcl', 'message' => 'This template has been used in ACL.', 'http_code' => 400, 'description' => 'Template referenced by ACL policy'], + ['code' => 'ErrorWebFilterFeatureDisabled', 'message' => 'Web filter feature not enabled.', 'http_code' => 400, 'description' => 'Web filtering not enabled'], + ['code' => 'ErrorWebFilterTemplateNotFound', 'message' => 'Web filter template not found.', 'http_code' => 400, 'description' => 'Web filtering template does not exist'], + ['code' => 'ErrorWebFilterTemplateQuotaLimit', 'message' => 'The number of Web filter templates exceeds the specification limit.', 'http_code' => 400, 'description' => 'The number of Web filtering templates exceeds the specification limit'], + ['code' => 'ERR_FEATURE_NAME_INVALID', 'message' => 'feature name is invalid.', 'http_code' => 400, 'description' => 'Function name is incorrect'], + ['code' => 'ERR_FEATURE_STATUS_INVALID', 'message' => 'feature status parameter error.', 'http_code' => 400, 'description' => 'Function status parameter error'], + ['code' => 'ERR_FEATURE_NOT_SUPPORT_DISABLE', 'message' => 'Feature does not support disable.', 'http_code' => 400, 'description' => 'Function does not support shutdown'], + ['code' => 'ERR_FEATURE_NOT_SUPPORT_POSTPAY', 'message' => 'The pay-as-you-go 1.0 version does not support the current features.', 'http_code' => 400, 'description' => 'The pay-as-you-go 1.0 version does not support the current features.'], + ['code' => 'ErrorRuleNameInvalid', 'message' => 'Parameter rule name invalid.', 'http_code' => 400, 'description' => 'Rule name error'], + ['code' => 'ERR_RESOURCE_NOT_SUPPORT', 'message' => 'This operation is not currently supported by the resource.Please try again later.', 'http_code' => 400, 'description' => 'This operation is not currently supported by the resource. Please try again later.'], + ['code' => 'ErrorParameters', 'message' => 'Parameters error. ruleName is required.', 'http_code' => 400, 'description' => 'Parameter error. ruleName is required.'], + ['code' => 'ErrorAsyncQueryFailed', 'message' => 'The current query has timed out. We suggest shortening the query time range and trying again.', 'http_code' => 400, 'description' => 'The current query has timed out. We suggest shortening the query time range and trying again.'], + ['code' => 'ErrorAgentPolicyOutboundDuplicate', 'message' => 'An agent outbound policy already exists for this user and protected.', 'http_code' => 400, 'description' => 'The agent_outbound policy for this user and protectedEip already exists.'."\n"], + ['code' => 'ErrorParametersSource', 'message' => 'The protectedEip parameter is invalid. Cannot be empty or 0.0.0.0/0.', 'http_code' => 400, 'description' => 'The protectedEip parameter is invalid. It cannot be empty or 0.0.0.0/0.'], + ['code' => 'ErrorDBSelect', 'message' => 'An error occurred while querying the database.', 'http_code' => 400, 'description' => 'An error occurred while querying the database.'], + ['code' => 'ErrorDBInsert', 'message' => 'An error occurred while inserting into the database.', 'http_code' => 400, 'description' => 'An error occurred while inserting data into the database.'], + ['code' => 'ErrorAgentPolicyDomainInvalid', 'message' => 'The domainRaw parameter is invalid. Must be a JSON array like ["a.com","b.com"].', 'http_code' => 400, 'description' => 'The domainRaw parameter is invalid. Must be a JSON array, such as ["a.com","B .com"].'."\n"], + ['code' => 'ErrorAclExtendedCountExceed', 'message' => 'ACL or expanded ACL count exceeds the quota limit.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorParametersDestination', 'message' => 'The protectedEip parameter is invalid.', 'http_code' => 400, 'description' => 'The protectedEip parameter is invalid.'."\n"], + ['code' => 'ErrorParametersAction', 'message' => 'The action parameter is invalid. Must be accept/drop/log.', 'http_code' => 400, 'description' => 'Invalid operation parameter. It must be accept/drop/log.'], + ['code' => 'ErrorAgentPolicyPortInvalid', 'message' => 'The portGroupRaw parameter is invalid. Must be a JSON array of port strings.', 'http_code' => 400, 'description' => 'The portGroupRaw parameter is invalid. Must be a JSON array of port strings.'."\n"], + ['code' => 'ErrorUUIDNew', 'message' => 'Failed to generate UUID.', 'http_code' => 400, 'description' => 'Unable to generate a UUID.'], + ['code' => 'ErrorParameters', 'message' => 'A request parameter is invalid.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorAgentPolicyGroupCreate', 'message' => 'Failed to update domain address group.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorAgentPolicyDomainInvalid', 'message' => 'The domainRaw parameter is invalid.', 'http_code' => 400, 'description' => 'The domainRaw parameter is invalid.'."\n"], + ['code' => 'ErrorAgentPolicyAclCreate', 'message' => 'Failed to update ACL rule.', 'http_code' => 400, 'description' => 'Unable to update ACL rule.'."\n"], + ['code' => 'ErrorAgentPolicyResetFailed', 'message' => 'Failed to reset agent policy.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorDBUpdate', 'message' => 'An error occurred while updating the database.', 'http_code' => 400, 'description' => 'An error occurred while updating the database.'], + ['code' => 'ErrorTimeInvalid', 'message' => 'The time range parameter is invalid.', 'http_code' => 400, 'description' => 'The time range parameter is invalid.'], + ['code' => 'ErrorDBDelete', 'message' => 'An error occurred while deleting from the database.', 'http_code' => 400, 'description' => 'Error removing from database.'."\n"], + ['code' => 'ErrorParameters', 'message' => 'Parameters error. policyId is required.', 'http_code' => 400, 'description' => 'Parameter error. policyId is required.'."\n"], + ['code' => 'MissingParameter', 'message' => 'Required parameter is missing.', 'http_code' => 400, 'description' => 'A required parameter is missing.'], + ['code' => 'ErrorAgentPolicyPortInvalid', 'message' => 'The portGroupRaw parameter is invalid.', 'http_code' => 400, 'description' => 'The portGroupRaw parameter is invalid.'."\n"], + ['code' => 'ErrorSTControlListInvalid', 'message' => 'Invalid controlListRaw. Must be a non-empty JSON string array.', 'http_code' => 400, 'description' => 'Invalid controlListRaw. It must be a non-empty array of JSON strings.'], + ['code' => 'ErrorSTControlTypeInvalid', 'message' => 'Invalid controlType. Must be skill or tool.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorSTControlModeInvalid', 'message' => 'Invalid mode. Must be blacklist or whitelist.', 'http_code' => 400, 'description' => 'Invalid mode. It must be either a blacklist or a whitelist.'], + ['code' => 'ErrorAgentPolicyAclCreate', 'message' => 'Failed to create ACL rule.', 'http_code' => 400, 'description' => 'Failed to create ACL rule.'."\n"], + ['code' => 'ErrorAddressCountExceed', 'message' => 'The number of addresses in the address group exceeds the limit.', 'http_code' => 400, 'description' => 'The number of addresses in the address group has exceeded the limit.'], + ['code' => 'ErrorAgentPolicyGroupCreate', 'message' => 'Failed to create domain address group.', 'http_code' => 400, 'description' => 'Failed to create domain address group.'."\n"], + ['code' => 'ErrorSTControlSkillModeConflict', 'message' => 'Skill mode conflict: same eip already has rules with a different mode.', 'http_code' => 400, 'description' => 'the aliuid and eip already have a skill/tool control policy with the rule name.'."\n"], + ['code' => 'ErrorSTControlPolicyAlreadyExist', 'message' => 'A skill/tool control policy with this ruleName already exists for this aliuid and eip.', 'http_code' => 400, 'description' => 'For this Alibaba Cloud account and the Elastic IP address, a skill/tool control policy with this rule name already exists.'], + ['code' => 'ErrorSTControlPolicyNotExist', 'message' => 'The specified skill/tool control policy does not exist.', 'http_code' => 400, 'description' => 'The specified skill/tool control policy does not exist.'], + ['code' => 'ErrorAgentPolicyNotExist', 'message' => 'The specified agent policy does not exist.', 'http_code' => 400, 'description' => 'The specified proxy policy does not exist.'], + ['code' => 'ErrorSTControlItemNotFound', 'message' => 'One or more items in controlListRaw not found in agentFwResourceItem.', 'http_code' => 400, 'description' => 'One or more items in controlListRaw were not found in agent_fw_resource_item.'], + ['code' => 'ErrorSTControlEipInvalid', 'message' => 'The EIP is invalid or not found in agentFwResource for this user.', 'http_code' => 400, 'description' => 'No valid EIP was found in the user’s agent_fw_resource.'], + ['code' => 'ErrorAgentPolicyTypeInvalid', 'message' => 'The policyType parameter is invalid. Must be networkExposure/modelAccess/agentOutbound.', 'http_code' => 400, 'description' => ''], + ['code' => 'ErrorUserNotEnableTrService', 'message' => 'The user has not open transit router service.', 'http_code' => 400, 'description' => 'The forwarding router service is not enabled'], + ['code' => 'ErrorNatCustomRouteEntryDifferent', 'message' => 'Custom route entries for routing table %s and %s are inconsistent.', 'http_code' => 400, 'description' => 'Custom route entries for routing table %s and %s are inconsistent'], + ['code' => 'ErrorNotBuyUser', 'message' => 'Not buy user.', 'http_code' => 400, 'description' => 'Your account has not activated the Cloud Firewall and cannot call the API.'], + ['code' => 'ErrorTrFirewallRouteMapMiss', 'message' => 'Route table %s contains a route map with priority %d, while route table %s does not contain a route map with priority %d.', 'http_code' => 400, 'description' => 'Routing table% s has a routing policy with priority% d, routing table% s does not have a routing policy with priority% d'], + ['code' => 'ErrorTrFirewallRouteMapDifferent', 'message' => 'The RouteMap with priority %d has inconsistent configurations between the route table %s and the route table %s.', 'http_code' => 400, 'description' => 'Routing policy with priority% d is configured inconsistently in routing table% s and routing table% s'], + ['code' => 'ErrorTrFirewallEcmpRouteMiss', 'message' => 'The next hop of the equivalent route must also be added to the cloud firewall traffic redirection scenario. The missing traffic redirection instance is %s.', 'http_code' => 400, 'description' => 'The next hop of the equivalent route must be added to the cloud firewall drainage scenario at the same time, and the drainage object% s is missing.'], + ['code' => 'ErrorTrFirewallRouteMapMiss', 'message' => 'Route table %s contains a route map with priority %s, while route table %s does not contain a route map with priority %s.', 'http_code' => 400, 'description' => 'Route table %s contains a route map with priority %s, while route table %s does not contain a route map with priority %s.'], + ['code' => 'ErrorTrFirewallRouteMapDifferent', 'message' => 'The RouteMap with priority %s has inconsistent configurations between the route table %s and the route table %s.', 'http_code' => 400, 'description' => 'The RouteMap with priority %s has inconsistent configurations between the route table %s and the route table %s.'], + ['code' => 'ErrorSwitchZoneTaskDoing', 'message' => 'zone switch task in progress.', 'http_code' => 400, 'description' => 'Zone modification task in progress'], + ['code' => 'ErrorFirewallZoneId', 'message' => 'Firewall zone error.', 'http_code' => 400, 'description' => 'Firewall zone selection error'], + ['code' => 'ErrorTrAttachmentZoneId', 'message' => 'TR attachment zone error.', 'http_code' => 400, 'description' => ''], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallConfigure'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchCopyVpcFirewallControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2RoutePolicyScope'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetTrafficTrend'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallPolicyBackUpAssociationList'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenConfigure'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefaultIPSConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventPayload'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventGroup'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTrFirewallV2'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNatFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallList'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallSwitchStatus'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallCenConfigure'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableAllFwSwitch'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteVpcFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallPolicyPriorUsed'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallTrafficTrend'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallAclGroupList'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVulnerabilityProtectedList'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableFwSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeACLProtectTrend'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFirewallV2RoutePolicies'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserAssetIPTrafficInfo'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAddressBook'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetOpenIp'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyPriorUsed'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceMembers'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicyTemplate'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetStatistic'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetNatFirewallRuleHitCount'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableAllFwSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetVpcFirewallRuleHitCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcListLite'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreInfo'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicyPosition'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlsLogDispatch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2List'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInvadeEventList'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2RoutePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDownloadTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficTotal'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTaskType'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallDefaultIPSConfig'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallCenConfigure'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallPolicyPriorUsed'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFirewallV2RoutePolicySwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDestinationIP'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceRiskLevels'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicyBatch'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSecurityProxy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstanceMembers'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallIPSWhitelist'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAddressBook'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallV2RoutePolicyList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyObjectGroupOperation'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCfwRiskLevelSummary'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSignatureLibVersion'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddControlPolicy'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallConfigure'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcZone'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2Detail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAddressBook'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleasePostInstance'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallIPSWhitelist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceMemberAttributes'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallConfigure'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAddressBook'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicyPosition'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResolve'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenSwitchStatus'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSecurityProxy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyAdvancedConfig'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSecurityProxy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefaultIPSConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicy'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableFwSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPolicyAdvancedConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2RouteList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicyPosition'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePrefixLists'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserBuyVersion'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDefaultIPSConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddInstanceMembers'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDomain'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2Configuration'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDownloadTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetRiskList'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatAclPageStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallControlPolicy'], + ], + ], + 'ram' => [ + 'productCode' => 'CloudFirewall', + 'productName' => 'Cloud Firewall', + 'ramCodes' => ['yundun-cloudfirewall'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'SwitchSecurityProxy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SwitchSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', + [ + 'apiName' => 'ModifyVpcFirewallCenConfigure', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": 132,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DEE923\\",\\n \\"TaskName\\": \\"互联网边界防火墙资产-IPv4\\",\\n \\"Status\\": \\"start\\"\\n}","type":"json"}]', - 'title' => 'CreateDownloadTask', - ], - 'DeleteDownloadTask' => [ - 'summary' => 'Deletes file download tasks.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyAddressBook', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DeleteVpcFirewallConfigure', + 'description' => '', 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174566', - 'abilityTreeNodes' => [ - 'FEATUREcfwHCOW32', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the file download task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4376', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '064022A8-F415-572C-B3C1-657152833F11', - ], - ], - 'description' => '', + [ + 'apiName' => 'ModifyDefaultIPSConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBDeleteError', - 'errorMessage' => 'A database delete error occurred.', + [ + 'apiName' => 'DescribeUserIPSWhitelist', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"064022A8-F415-572C-B3C1-657152833F11\\"\\n}","type":"json"}]', - 'title' => 'DeleteDownloadTask', - 'description' => 'You can call this operation to delete file download tasks and delete the files.'."\n" - ."\n" - .'**'."\n" - ."\n" - .'**Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.'."\n", - 'responseParamsDescription' => 'If the request is successful, the task is deleted.'."\n", - ], - 'DescribeAclBackupList' => [ - 'summary' => '获取ACL备份列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreatePrivateDnsEndpoint', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreatePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ModifyIpsRulesToDefault', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68169', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRulesToDefault', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '110.191.179.XXX', + [ + 'apiName' => 'DescribeCreatedNatFirewall', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCreatedNatFirewall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'CreateIpsPrivateAssoc', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', + ], + [ + 'apiName' => 'DescribeInvadeEventStatistic', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', + ], + [ + 'apiName' => 'ReleasePostInstance', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleasePostInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '32', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6C9105F2-9F31-5A62-8D52-FA65A3E5****', - ], - 'Backups' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'BackUpTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1743683400', - ], - 'AclCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'description', - ], - ], - ], - ], - ], + [ + 'apiName' => 'ModifySlsDispatchStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + [ + 'apiName' => 'DescribePolicyAdvancedConfig', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 32,\\n \\"RequestId\\": \\"6C9105F2-9F31-5A62-8D52-FA65A3E5****\\",\\n \\"Backups\\": [\\n {\\n \\"BackUpTime\\": 1743683400,\\n \\"AclCount\\": 10,\\n \\"Description\\": \\"description\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'AddAclBackupData' => [ - 'summary' => '备份ACL', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyVpcFirewallControlPolicyPosition', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68092', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', + [ + 'apiName' => 'ModifyPolicyAdvancedConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '115.194.124.XXX', + [ + 'apiName' => 'DescribeRegionResourceTypeAutoEnable', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeOutgoingDestination', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestination', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bj-001', + ], + [ + 'apiName' => 'DescribeAssetList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Asset', 'arn' => 'acs:cloudfirewall::{#accountId}:asset/{#Type}'], ], ], - [ - 'name' => 'BackUpTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1743683400'."\n", + ], + [ + 'apiName' => 'DescribeInstanceRiskLevels', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRiskLevels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '244EA37C-D2AB-54A7-B6E3-7ED0E9A1****', - ], - ], + [ + 'apiName' => 'DescribeConfiguredDestinationIP', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', + [ + 'apiName' => 'DescribeAccessInstanceRegionList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', + ], + ], + [ + 'apiName' => 'DescribeControlPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}/controlpolicyorder/{#Direction}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'ModifyVpcFirewallConfigure', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], - [ - 'errorCode' => 'ErrorBackupCountExceed', - 'errorMessage' => 'The maximum number of backups is exceeded.', + ], + ], + [ + 'apiName' => 'EnableSdlProtectedAsset', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:EnableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', + ], + ], + [ + 'apiName' => 'ModifyPrivateDnsEndpoint', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallPolicyPriorUsed', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPolicyPriorUsed', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteControlPolicy', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"244EA37C-D2AB-54A7-B6E3-7ED0E9A1****\\"\\n}","type":"json"}]', - ], - 'UseAclBackupData' => [ - 'summary' => '使用ACL备份', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'UpdateSecurityProxy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateTrFirewallV2', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeAckClusterNamespaces', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68538', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', + [ + 'apiName' => 'CreateInstanceSyncTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateInstanceSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '123.113.99.XXX', + [ + 'apiName' => 'ModifyControlPolicyPriority', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPriority', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'CreateVpcFirewallTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'BackUpTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1743683400'."\n", + ], + [ + 'apiName' => 'DescribeTrFirewallsV2List', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2List', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - ], + [ + 'apiName' => 'DescribeVpcFirewallControlPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', + [ + 'apiName' => 'DescribeRiskEventTopAttackType', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', + ], + ], + [ + 'apiName' => 'DescribeFirewallVSwitch', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'DescribeAclChecks', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclChecks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', + ], + ], + [ + 'apiName' => 'ModifyUserIPSWhitelist', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', + ], + ], + [ + 'apiName' => 'DeleteFirewallV2RoutePolicies', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteFirewallV2RoutePolicies', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', + ], + ], + [ + 'apiName' => 'ModifyObjectGroupOperation', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyObjectGroupOperation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + ], + ], + [ + 'apiName' => 'ModifyThreatIntelligenceSwitch', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch/{#CategoryId}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeInternetOpenIp', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'ReleaseExpiredInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleaseExpiredInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - ], - 'DeleteAclBackupData' => [ - 'summary' => '删除ACL备份', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeNetworkInstanceRelationList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeCtrlInstanceMemberAccounts', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCtrlInstanceMemberAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeVpcFirewallDomainRelationList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68138', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', + [ + 'apiName' => 'CreateVpcFirewallCenConfigure', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', + [ + 'apiName' => 'DescribeTransitRouterResourcesList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTransitRouterResourcesList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeVpcFirewallAssetList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'BackUpTime', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1743683400'."\n", + ], + [ + 'apiName' => 'ModifyVpcFirewallIPSWhitelist', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '75E60025-43C5-5635-B7B7-272C5246****', - ], - ], + [ + 'apiName' => 'DescribeVpcFirewallDefaultIPSConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyFirewallV2RoutePolicySwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyFirewallV2RoutePolicySwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'PutEnableFwSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75E60025-43C5-5635-B7B7-272C5246****\\"\\n}","type":"json"}]', - ], - 'DescribeSecurityMode' => [ - 'summary' => '获取安全模式', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribePrepayBillTotal', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrepayBillTotal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeCfwRiskLevelSummary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCfwRiskLevelSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'PutDisableFwSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68358', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', + [ + 'apiName' => 'ModifyVpcFirewallAclEngineMode', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallAclEngineMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '218.108.54.XX', + [ + 'apiName' => 'CreateNatFirewallControlPolicy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:natfirewallcontrolpolicy/*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeInvadeEcsTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEcsTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg_server', - 'deprecated' => true, - ], - 'SecurityMode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C6D68A02-54D5-5F5C-A8AA-6D6C2874****', - ], - ], + [ + 'apiName' => 'DescribeRiskEventTopAttackAsset', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', + [ + 'apiName' => 'DescribeInternetTrafficTop', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', + ], + ], + [ + 'apiName' => 'DescribeNetworkInstanceList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeDefaultIPSConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"SecurityMode\\": 1,\\n \\"RequestId\\": \\"C6D68A02-54D5-5F5C-A8AA-6D6C2874****\\"\\n}","type":"json"}]', - ], - 'DescribePageDocuments' => [ - 'summary' => '获取文档', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeOpenIpAccessSrcStat', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOpenIpAccessSrcStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeSdlLastPayload', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlLastPayload', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeInvadeEventList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeInvadeEventNameList', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68334', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '223.167.221.XXX', + [ + 'apiName' => 'ModifyNatFirewallControlPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'ModifyVpcFirewallSwitchStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '', - 'zh' => '', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'PutDisableAllFwSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', + ], + [ + 'apiName' => 'DescribePrivateDnsEndpointDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], ], - [ - 'name' => 'PageName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'overview' => '', - 'access' => '', - 'switch' => '', - ], - 'example' => 'overview', + ], + [ + 'apiName' => 'DeleteDownloadTask', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TabName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'internet', + ], + [ + 'apiName' => 'ModifyTrFirewallV2RoutePolicyScope', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2RoutePolicyScope', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg_server', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '7C81E1AD-08C0-5E09-853B-FDC77B90****', - ], - 'ImageUrl' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png', - ], - 'More' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png', - ], - 'Title' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - 'Docs' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'https://notify-center-test.ybaobx.com/webhook/arms', - ], - 'Title' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], + [ + 'apiName' => 'ClearLogStoreStorage', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ClearLogStoreStorage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', + [ + 'apiName' => 'DescribeAssetStatistic', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'DeleteSecurityProxy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ], + ], + [ + 'apiName' => 'DescribeUnprotectedVulnTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedVulnTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeDownloadTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeResourceTypeAutoEnable', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"7C81E1AD-08C0-5E09-853B-FDC77B90****\\",\\n \\"ImageUrl\\": \\"https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png\\",\\n \\"More\\": {\\n \\"Url\\": \\"https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png\\",\\n \\"Title\\": \\"test\\"\\n },\\n \\"Docs\\": [\\n {\\n \\"Url\\": \\"https://notify-center-test.ybaobx.com/webhook/arms\\",\\n \\"Title\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeDomainResolve' => [ - 'summary' => 'Queries Domain Name System (DNS) records.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeInternetOpenDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeSdlEventSdList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventSdList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyNatFirewallControlPolicyPosition', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicyPosition', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeVpcFirewallTrafficAssetList', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68245', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallTrafficAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', + [ + 'apiName' => 'DescribeInternetServiceNameList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetServiceNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeFirewallVswitchResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVswitchResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeTrFirewallsV2Detail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2Detail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], ], ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => 'The domain name whose DNS record you want to query.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', + ], + [ + 'apiName' => 'DescribeAITrafficAnalysisStatus', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], ], ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'The IP version of the asset that is protected by Cloud Firewall. Valid values:'."\n" - ."\n" - .'* **4**: IPv4 (default)'."\n" - .'* **6**: IPv6'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6', + ], + [ + 'apiName' => 'DescribePostpayUserInternetStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'ResolveResult' => [ - 'description' => 'The details about the DNS record of the domain name.'."\n", - 'type' => 'object', - 'properties' => [ - 'IpAddrs' => [ - 'description' => 'The IP address to which the domain name is resolved. Multiple IP addresses are separated by commas (,).'."\n", - 'type' => 'string', - 'example' => '11.1.X.X,12.1.X.X', - ], - 'UpdateTime' => [ - 'description' => 'The time when the domain name was resolved. The value of this parameter is a timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579091739', - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'DeletePrivateDnsAllDomainName', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsAllDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallCenDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid is invalid.', + [ + 'apiName' => 'GetTlsInspectCertificateDownloadUrl', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:GetTlsInspectCertificateDownloadUrl', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], ], ], - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', + ], + [ + 'apiName' => 'ModifyVpcFirewallDefaultIPSConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'DescribeDnsFirewallPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', + ], + ], + [ + 'apiName' => 'AddControlPolicy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyInstanceMemberAttributes', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyInstanceMemberAttributes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeSensitiveSwitch', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"ResolveResult\\": {\\n \\"IpAddrs\\": \\"11.1.X.X,12.1.X.X\\",\\n \\"UpdateTime\\": 1579091739\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n 11.1.X.X,12.1.X.X\\n 1579091739\\n \\n","errorExample":""}]', - 'title' => 'DescribeDomainResolve', - 'description' => 'You can use this operation to query the DNS record of a domain name. This operation can retrieve DNS records only from Alibaba Cloud DNS. Before you can call this operation, make sure that your domain name is hosted on Alibaba Cloud DNS.'."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFirewallDropStatistics' => [ - 'summary' => '获取防火墙DROP数据统计', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeSecurityProxyResources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxyResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeAckClusterConnectors', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnectors', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeTrFirewallV2RoutePolicyList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallV2RoutePolicyList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribePrivateDnsEndpointList', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68258', - 'abilityTreeNodes' => [ - 'FEATUREcfw9GLVIS', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'IpsDropCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'TotalDropCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'BEA1D173-D5DB-582E-9637-438D5CE3****', - ], - 'VulnDropCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'AclDropCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - ], + [ + 'apiName' => 'DescribeMemberInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeMemberInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + [ + 'apiName' => 'DescribeVpcFirewallIPSWhitelist', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteAckClusterConnector', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'UpdatePostpayUserInternetStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsDropCnt\\": 20,\\n \\"TotalDropCnt\\": 50,\\n \\"RequestId\\": \\"BEA1D173-D5DB-582E-9637-438D5CE3****\\",\\n \\"VulnDropCnt\\": 10,\\n \\"AclDropCnt\\": 20\\n}","type":"json"}]', - ], - 'DescribeUserAssetIPTrafficInfo' => [ - 'summary' => 'Queries the information about the traffic of a specified asset that belongs to your Alibaba Cloud account.', - 'methods' => [ - 'get', + [ + 'apiName' => 'DescribeInternetDropTrafficTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteAddressBook', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeFirewallTrafficTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeInvadeEventDetail', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '143435', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - 'FEATUREcfwVWCDEU', - 'FEATUREcfwG6EEQD', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言', - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'default' => 'zh', - 'enum' => [ - 'zh', - 'en', - ], + [ + 'apiName' => 'DescribePrefixLists', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrefixLists', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AssetIP', - 'in' => 'query', - 'schema' => [ - 'title' => '资产IP', - 'description' => 'The IP address of the asset.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX', + ], + [ + 'apiName' => 'DescribeControlPolicyDomainResolve', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicyDomainResolve', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TrafficTime', - 'in' => 'query', - 'schema' => [ - 'title' => '时间', - 'description' => 'The time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1656923760', + ], + [ + 'apiName' => 'AddInstanceMembers', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instancemember/*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'StartTime' => [ - 'title' => '开始时间', - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1656837360', - ], - 'EndTime' => [ - 'title' => '结束时间', - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: seconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1656923760', - ], - 'InBps' => [ - 'description' => 'The network throughput, which indicates the inbound traffic rate. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4520', - ], - 'OutBps' => [ - 'description' => 'The network throughput, which indicates the outbound traffic rate. Unit: bit/s.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4180', - ], - 'InPps' => [ - 'description' => 'The inbound network throughput, which indicates the number of packets that are sent inbound per second. Unit: packets per second (pps).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '233', - ], - 'OutPps' => [ - 'description' => 'The outbound network throughput, which indicates the number of packets that are sent outbound per second. Unit: pps.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '224', - ], - 'SessionCount' => [ - 'description' => 'The number of requests.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'NewConn' => [ - 'description' => 'The new connection creation rate.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43', - ], - ], + [ + 'apiName' => 'DescribeSdlEventList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeRiskEventStatistic', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeVpcFirewallDomainList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"StartTime\\": 1656837360,\\n \\"EndTime\\": 1656923760,\\n \\"InBps\\": 4520,\\n \\"OutBps\\": 4180,\\n \\"InPps\\": 233,\\n \\"OutPps\\": 224,\\n \\"SessionCount\\": 50,\\n \\"NewConn\\": 43\\n}","errorExample":""},{"type":"xml","example":"\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n 1656837360\\n 1656923760\\n 4520\\n 4180\\n 233\\n 224\\n 50\\n 43\\n","errorExample":""}]', - 'title' => 'DescribeUserAssetIPTrafficInfo', - ], - 'DescribeCfwRiskLevelSummary' => [ - 'summary' => 'Queries the firewall risk level.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'BatchDeleteVpcFirewallControlPolicy', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchDeleteVpcFirewallControlPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeNatFirewallControlPolicy', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteNatFirewallControlPolicyBatch', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicyBatch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'AddAclBackupData', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174512', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response.'."\n" - ."\n" - .'Valid values:'."\n" - ."\n" - .'* **zh** (default): Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'DescribeOutgoingRiskTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of your Cloud Firewall.'."\n" - ."\n" - .'> For more information about Cloud Firewall supported regions, see [Supported regions](~~195657~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', + ], + [ + 'apiName' => 'DescribeTrFirewallPolicyBackUpAssociationList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallPolicyBackUpAssociationList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], ], ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The instance type.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'EcsEIP', + ], + [ + 'apiName' => 'DescribeLogStoreInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLogStoreInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'F1F30435-FA0A-52DA-A5DE-C16FD6C171DA', - ], - 'RiskList' => [ - 'description' => 'The list of risks.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type.'."\n", - 'type' => 'string', - 'example' => 'ResourceNotProtected', - ], - 'Num' => [ - 'description' => 'The number of at-risk Elastic Compute Service (ECS) instances.'."\n", - 'type' => 'string', - 'example' => '50', - ], - 'Level' => [ - 'description' => 'The risk levels. Valid values:'."\n" - ."\n" - .'* **medium**'."\n", - 'type' => 'string', - 'example' => 'medium', - ], - ], - ], - ], - ], - 'description' => '', + [ + 'apiName' => 'DescribeTrFirewallsV2RouteList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2RouteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'CreateVpcFirewallCenManualConfigure', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenManualConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'UpdatePostpayUserVpcStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1F30435-FA0A-52DA-A5DE-C16FD6C171DA\\",\\n \\"RiskList\\": [\\n {\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Num\\": \\"50\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeCfwRiskLevelSummary', - ], - 'DescribeRiskSecurityGroupDetail' => [ - 'summary' => '获取风险安全组详情', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribePostpayUserNatStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeletePrivateDnsEndpoint', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeVpcFirewallAclGroupList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'UpdateAclCheckDetailStatus', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68354', - 'abilityTreeNodes' => [ - 'FEATUREcfw9GLVIS', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAclCheckDetailStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '220.189.117.XXX', + [ + 'apiName' => 'DescribeAccessInstanceZoneList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceZoneList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeVpcFirewallCenList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeAssetRiskList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetRiskList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RuleUuid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3b1adf8d-1949-4c8e-809b-fb92ee11****', + ], + [ + 'apiName' => 'ModifyIpsRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'sg-2vc0p803vgxumn6r****', + ], + [ + 'apiName' => 'DescribePostpayBill', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayBill', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test-instance-name', + ], + [ + 'apiName' => 'DescribeNatFirewallPolicyPriorUsed', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', + ], + [ + 'apiName' => 'ModifyUserAlarmConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '10', + ], + [ + 'apiName' => 'DeleteControlPolicyTemplate', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicyTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', + ], + [ + 'apiName' => 'DescribePostpayTrafficTotal', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficTotal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'PageNo' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '33C94306-2064-5A06-9645-01419967****', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RiskSgDetail' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-8vbuzirdl3w1r7exw****', - ], - 'RiskLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'high', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shanghai'."\n", - ], - 'InstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test-instance-name', - ], - 'EcsCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'sg-2vc0p803vgxumn6r****', - ], - 'EcsInfo' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'PublicIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.107.141.XXX', - ], - 'EcsInstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tyf_test', - ], - 'PrivateIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '172.24.121.XXX', - ], - 'EcsInstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-bp1gra23yai47d8e****', - ], - ], - ], - ], - 'RuleInfo' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'high', - ], - 'RuleStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'enable', - ], - 'Suggestion' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - 'RuleUuid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4c1e72c9-6690-408b-9048-065f0f10****', - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'AddAddressBook', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeAckClusters', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"33C94306-2064-5A06-9645-01419967****\\",\\n \\"TotalCount\\": 5,\\n \\"RiskSgDetail\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RegionNo\\": \\"cn-shanghai\\\\n\\",\\n \\"InstanceName\\": \\"test-instance-name\\",\\n \\"EcsCount\\": 10,\\n \\"InstanceId\\": \\"sg-2vc0p803vgxumn6r****\\",\\n \\"EcsInfo\\": [\\n {\\n \\"PublicIp\\": \\"47.107.141.XXX\\",\\n \\"EcsInstanceName\\": \\"tyf_test\\",\\n \\"PrivateIp\\": \\"172.24.121.XXX\\",\\n \\"EcsInstanceId\\": \\"i-bp1gra23yai47d8e****\\"\\n }\\n ],\\n \\"RuleInfo\\": [\\n {\\n \\"RiskLevel\\": \\"high\\",\\n \\"RuleStatus\\": \\"enable\\",\\n \\"Suggestion\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"RuleUuid\\": \\"4c1e72c9-6690-408b-9048-065f0f10****\\",\\n \\"RuleName\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'DescribeSecurityProxy' => [ - 'summary' => 'Queries information about NAT firewalls.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'UpdateAckClusterConnector', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeInternetSlb', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeNatAclPageStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatAclPageStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyControlPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeOutgoingRiskDomainAndIpCount', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68360', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskDomainAndIpCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'DescribeOutgoingDomain', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDnsFirewallPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'CreateTrFirewallV2RoutePolicy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2RoutePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'proxy-nat80d763eb0dee4eacaec9', + ], + [ + 'apiName' => 'DescribeNatFirewallPrecheckDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'nat-idmp-fir', + ], + [ + 'apiName' => 'DescribeVpcFirewallAssetRegionList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + ], + [ + 'apiName' => 'DescribeRiskEventPayload', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventPayload', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', + ], + [ + 'apiName' => 'DescribeVpcFirewallDropTrafficTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-zm0h3c1exm5bifuorg8c5', + ], + [ + 'apiName' => 'DescribePostpayTrafficDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', + ], + [ + 'apiName' => 'CreateSecurityProxy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'CreateAckClusterConnector', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'DescribeInstanceRdAccounts', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRdAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', + ], + [ + 'apiName' => 'DescribeAclRuleCount', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclRuleCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'ProxyList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-wz9xn35tq33hunzvpu0se', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'normal', - ], - 'RegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ap-southeast-1', - ], - 'NatGatewayName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ecs-slb-eip-waf', - ], - 'MemberUid' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1797733170015112', - ], - 'ProxyId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'proxy-nat4921f192b6cf438d93f8', - ], - 'ProxyName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nat-idmp-fir', - ], - 'VpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-bp1kw9igsq0yyzeanqamx', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-5gu2qqfmjmwl8ktzgfekl', - ], - 'CidrBlock' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'NatGatewayId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-2zex8sf4s5vus8rq3rjqo', - ], - 'Detail' => [ - 'description' => '', - 'type' => 'string', - 'example' => '“”', - ], - 'SnatIpList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => '""', - ], - ], - 'StrictMode' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeSdlStatistic', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', + [ + 'apiName' => 'DescribeClearAuthInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeClearAuthInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallPrecheckDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'DescribeSecurityProxy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ], + ], + [ + 'apiName' => 'DescribePrivateDnsDomainNameList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsDomainNameList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'Cloudfw::2017-12-07::DescribeNatFirewallList', + [ + 'apiName' => 'DescribeVpcZone', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'returnType' => 'synchronous', ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeFirewallTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"ProxyList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9xn35tq33hunzvpu0se\\",\\n \\"Status\\": \\"normal\\",\\n \\"RegionNo\\": \\"ap-southeast-1\\",\\n \\"NatGatewayName\\": \\"ecs-slb-eip-waf\\",\\n \\"MemberUid\\": \\"1797733170015112\\",\\n \\"ProxyId\\": \\"proxy-nat4921f192b6cf438d93f8\\",\\n \\"ProxyName\\": \\"nat-idmp-fir\\",\\n \\"VpcName\\": \\"vpc-bp1kw9igsq0yyzeanqamx\\",\\n \\"VSwitchId\\": \\"vsw-5gu2qqfmjmwl8ktzgfekl\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"NatGatewayId\\": \\"ngw-2zex8sf4s5vus8rq3rjqo\\",\\n \\"Detail\\": \\"“”\\",\\n \\"SnatIpList\\": [\\n \\"\\\\\\"\\\\\\"\\"\\n ],\\n \\"StrictMode\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeSecurityProxy', - ], - 'CreateVpcFirewallCenManualConfigure' => [ - 'summary' => '创建VPC防火墙手动配置', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'UpdateAITrafficAnalysisStatus', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeOutgoingStatistic', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyVpcFirewallControlPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68134', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', + [ + 'apiName' => 'DescribeOutgoingDestinationIPDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIPDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'DescribeOutgoingAssetList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VpcFirewallName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '', + ], + [ + 'apiName' => 'ModifySensitiveSwitch', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cen-37nddhri7jf0d2****', + ], + [ + 'apiName' => 'DescribeLocationInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLocationInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-8vbwbo90rq0anm6t****', + ], + [ + 'apiName' => 'DescribePrivateDnsStatistics', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-qzeaol304m***', + ], + [ + 'apiName' => 'DescribeVpcFirewallList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', + ], + [ + 'apiName' => 'DescribeNetworkTrafficTopRatio', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkTrafficTopRatio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'VpcFirewallId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', - ], - ], + [ + 'apiName' => 'DeleteIpsPrivateAssoc', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', + [ + 'apiName' => 'DescribeVpcListLite', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcListLite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', + ], + [ + 'apiName' => 'DeleteAclBackupData', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', + ], + ], + [ + 'apiName' => 'DescribeOutgoingDestinationCategory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'firewall name invalid', + ], + ], + [ + 'apiName' => 'DescribeAccessInstanceVpcList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVpcList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorCenId', - 'errorMessage' => 'CEN ID is error', + ], + ], + [ + 'apiName' => 'AddDnsFirewallPolicy', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/*'], ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', + ], + ], + [ + 'apiName' => 'DescribeSdlEventStatistic', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', + ], + ], + [ + 'apiName' => 'DescribeAccessInstanceTask', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'DescribeAclBackupList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclBackupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist, please select again.', + ], + ], + [ + 'apiName' => 'AddPrivateDnsDomainName', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddPrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', + ], + ], + [ + 'apiName' => 'DescribeVfwIPSConfigList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVfwIPSConfigList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', + ], + ], + [ + 'apiName' => 'DescribeOutgoingDomainDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomainDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyTrFirewallV2Configuration', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2Configuration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeRiskEventGroup', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', - ], - 'BatchCopyVpcFirewallControlPolicy' => [ - 'summary' => 'Copies all access control policies from a policy group of a source virtual private cloud (VPC) firewall to a policy group of a destination VPC firewall.', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DeletePrivateDnsDomainName', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ModifyCfwInstance', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyCfwInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeAclCheck', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeRiskEventTopAttackApp', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyControlPolicyPosition', + 'description' => '', 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeCode' => '104390', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - 'deprecated' => true, + [ + 'apiName' => 'DescribeInternetOpenService', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeAddressBook', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], ], ], - [ - 'name' => 'SourceVpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy group of the source VPC firewall. Valid values:'."\n" - ."\n" - .'* If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a Cloud Enterprise Network (CEN) instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.'."\n" - .'* If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the IDs of policy groups.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', + ], + [ + 'apiName' => 'CreateVpcFirewallConfigure', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/*'], ], ], - [ - 'name' => 'TargetVpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the policy group of the destination VPC firewall. Valid values:'."\n" - ."\n" - .'* If the VPC firewall protects mutual access traffic between a VPC and a specified network instance that is attached to a CEN instance, the value of this parameter is the ID of the CEN instance. The network instance can be a VPC, a VBR, or a CCN instance.'."\n" - .'* If the VPC firewall protects traffic between two VPCs that are connected by using an Express Connect circuit, the value of this parameter is the instance ID of the VPC firewall.'."\n" - ."\n" - .'> You can call the [DescribeVpcFirewallAclGroupList](~~159760~~) operation to query the IDs of policy groups.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-e37d3a04cf79446a****', + ], + [ + 'apiName' => 'ModifyVpcFirewallCenSwitchStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', - ], - ], + [ + 'apiName' => 'DescribePolicyPriorUsed', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', + [ + 'apiName' => 'DeleteVpcFirewallControlPolicy', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', + ], + ], + [ + 'apiName' => 'DescribeDownloadTaskType', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTaskType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallSummaryInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallSummaryInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParametersTarget', - 'errorMessage' => 'Target VPC Firewall ID not exist.', + ], + ], + [ + 'apiName' => 'DescribeOutgoingTag', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingTag', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParametersSourceTarget', - 'errorMessage' => 'Source and target firewall is same.', + ], + ], + [ + 'apiName' => 'DescribeAckClusterPodLabels', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterPodLabels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'CreateNatFirewallPreCheck', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeInternetOpenStatistic', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', - 'title' => 'BatchCopyVpcFirewallControlPolicy', - 'description' => 'You can call the BatchCopyVpcFirewallControlPolicy operation to copy all access control policies from a policy group of a source VPC firewall to a policy group of a destination VPC firewall. '."\n" - ."\n" - .'Before you call this operation, we recommend that you back up access control policies. For more information about how to back up an access control policy, see [Back up an access control policy](https://www.alibabacloud.com/help/en/cloud-firewall/latest/back-up-and-roll-back-an-access-control-policy). '."\n" - ."\n" - .'After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced. '."\n" - ."\n" - .'The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account. '."\n" - ."\n" - .'## Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. When the number of calls to this operation per second exceeds the limit, throttling is triggered. Throttling may affect your business. We recommend that you take note of the limit on this operation.', - ], - 'ModifyControlPolicyPosition' => [ - 'summary' => 'Modifies the priority of an IPv4 access control policy for the Internet firewall. An IPv4 access control policy refers to a policy whose source IP address and destination IP address are IPv4 addresses.', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribePageDocuments', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePageDocuments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeUserAssetIPTrafficInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAssetIPTrafficInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteDnsFirewallPolicy', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'CreateNatFirewallSyncTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ResetVpcFirewallRuleHitCount', + 'description' => '', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68468', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetVpcFirewallRuleHitCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address of the request.'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', + [ + 'apiName' => 'DescribeNatFirewallAclGroupList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the response. Valid values:'."\n" - ."\n" - .'* zh: Chinese (default)'."\n" - .'* en: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeAttackAppCategory', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAttackAppCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => 'The direction of the traffic to which the IPv4 access control policy applies. Valid values:'."\n" - ."\n" - .'* in: inbound traffic'."\n" - .'* out: outbound traffic'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'in', + ], + [ + 'apiName' => 'DescribeRegionInfo', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NewOrder', - 'in' => 'query', - 'schema' => [ - 'description' => 'The new priority of the IPv4 access control policy. You must specify a numeric value for this parameter. The value 1 indicates the highest priority. A larger value indicates a lower priority.'."\n" - ."\n" - .'> The new priority cannot exceed the priority range of the IPv4 access control policy. Otherwise, an error occurs when you call this operation. Before you call this operation, we recommend that you use the [DescribePolicyPriorUsed](~~138862~~) operation to query the priority range of the IPv4 access control policy in the specified direction.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '1', + ], + [ + 'apiName' => 'DeleteInstanceMembers', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], ], ], - [ - 'name' => 'OldOrder', - 'in' => 'query', - 'schema' => [ - 'description' => 'The original priority of the IPv4 access control policy.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '5', + ], + [ + 'apiName' => 'CreateVpcFirewallControlPolicy', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', - ], - ], - 'description' => '', + [ + 'apiName' => 'BatchCopyVpcFirewallControlPolicy', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchCopyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeNatFirewallList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', + [ + 'apiName' => 'DescribeNatFirewallTrafficTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', + ], + ], + [ + 'apiName' => 'DescribeIPSRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIPSRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParametersOldOrder', - 'errorMessage' => 'The oldOrder is invalid.', + ], + ], + [ + 'apiName' => 'DescribeAclCheckQuota', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheckQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', + ], + ], + [ + 'apiName' => 'DescribeTrafficLog', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrafficLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', + ], + ], + [ + 'apiName' => 'DescribeOutgoingDestinationIP', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', + ], + ], + [ + 'apiName' => 'DescribeInternetTimeTop', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'Cloudfw::2017-12-07::ModifyControlPolicyPriority', + [ + 'apiName' => 'DeleteNatFirewallControlPolicy', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], ], - 'returnType' => 'synchronous', ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'ModifyResourceTypeAutoEnable', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', - 'title' => 'ModifyControlPolicyPosition', - 'description' => 'You can use this operation to modify the priority of an IPv4 access control policy for the Internet firewall. No API operations are provided for you to modify the priority of an IPv6 access control policy for the Internet firewall.'."\n" - ."\n" - .'## [](#qps)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeVpcFirewallTrafficAssetList' => [ - 'summary' => '查询VPC互访的资产信息', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeAclWhitelist', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DescribeInternetOpenPort', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateAclCheck', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeSignatureLibVersion', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwG6EEQD', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSignatureLibVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'DescribeUserBuyVersion', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserBuyVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', + ], + [ + 'apiName' => 'CreateSlsLogDispatch', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSlsLogDispatch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instance/{#InstanceId}'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', + ], + [ + 'apiName' => 'DescribeSlsAnalyzeOpenStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlsAnalyzeOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'PutEnableAllFwSwitch', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'SetAutoProtectNewAssets', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SetAutoProtectNewAssets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'IP', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '47.92.x.x', + ], + [ + 'apiName' => 'DescribeDomainResolve', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDomainResolve', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Domain', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:domain/{#Domain}'], ], ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'www.****.com', + ], + [ + 'apiName' => 'DescribeNatFirewallDropTrafficTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'enum' => [], + ], + [ + 'apiName' => 'DescribeFirewallDropStatistics', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallDropStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'SessionCount', - 'enum' => [], + ], + [ + 'apiName' => 'DescribeInstanceMembers', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-m5ewlqkuf7orclr1****', + ], + [ + 'apiName' => 'DescribeVpcFirewallCenSummaryList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenSummaryList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'IsAITraffic', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'true', + ], + [ + 'apiName' => 'DescribeVpcFirewallDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****', - ], - 'DataList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'IP' => [ - 'title' => '域名', - 'description' => '', - 'type' => 'string', - 'example' => 'a.com', - ], - 'VpcId' => [ - 'title' => '域名', - 'description' => '', - 'type' => 'string', - 'example' => 'a.com', - ], - 'TotalBytes' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '253023143', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'IpsHitCnt' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'VpcName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-bp1mos0vhefmx5ah6****', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeUnprotectedPortTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedPortTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', + [ + 'apiName' => 'DescribeBatchSlsDispatchStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeBatchSlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'CreateVpcFirewallPrecheck', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallPrecheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', + ], + ], + [ + 'apiName' => 'DescribeThreatIntelligenceSwitch', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', + ], + ], + [ + 'apiName' => 'UpdatePostpayUserNatStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', + ], + ], + [ + 'apiName' => 'DescribeFirewallDropTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallDropTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', + ], + ], + [ + 'apiName' => 'DescribePostpayUserVpcStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallZone', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', + ], + ], + [ + 'apiName' => 'DescribeAckClusterConnector', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', + ], + ], + [ + 'apiName' => 'DescribeConfiguredDomainNames', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDomainNames', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', + ], + ], + [ + 'apiName' => 'DescribeNatFirewallTimeTop', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ], + ], + [ + 'apiName' => 'DescribeInternetTrafficTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteTrFirewallV2', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'ResetNatFirewallRuleHitCount', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetNatFirewallRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\",\\n \\"DataList\\": [\\n {\\n \\"IP\\": \\"a.com\\",\\n \\"VpcId\\": \\"a.com\\",\\n \\"TotalBytes\\": 253023143,\\n \\"SessionCount\\": 12,\\n \\"IpsHitCnt\\": 10,\\n \\"VpcName\\": \\"vpc-bp1mos0vhefmx5ah6****\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'SetAutoProtectNewAssets' => [ - 'summary' => '开启自动保护新入资产', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'AddDomainResolveRealtimeTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDomainResolveRealtimeTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeNatFirewallQuota', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeSecurityMode', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeVpcFirewallAccessDetail', + 'description' => '', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68526', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAccessDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '60.182.79.XXX', + [ + 'apiName' => 'DescribePostpayEnabledProtection', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayEnabledProtection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'CreateDownloadTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'AutoProtect', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', + ], + [ + 'apiName' => 'DescribeSdlEventDetail', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Module' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'api_server', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - ], + [ + 'apiName' => 'DescribeRiskSecurityGroupDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskSecurityGroupDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', + [ + 'apiName' => 'ResetRuleHitCount', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', + ], + ], + [ + 'apiName' => 'DescribeIspInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIspInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorNoInstanceInDb', - 'errorMessage' => 'no instance for process in db.', + ], + ], + [ + 'apiName' => 'DescribeACLProtectTrend', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeACLProtectTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', + ], + ], + [ + 'apiName' => 'DescribeUserAlarmConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeAclApps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeAccessInstanceVSwitchList', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"api_server\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - ], - 'DescribeRegionResourceTypeAutoEnable' => [ - 'summary' => '查询地域和资产类型引流设置', - 'path' => '', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeVulnerabilityProtectedList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVulnerabilityProtectedList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DescribeSlrGrant', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlrGrant', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteVpcFirewallCenConfigure', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', + [ + 'apiName' => 'DescribeIpsPrivateAssoc', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'ModifyUserSlsLogStorageTime', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserSlsLogStorageTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'RegionResourceAutoEnable' => [ - 'description' => '', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'boolean', - 'example' => 'RegionResourceAutoEnable: {'."\n" - .'"cn-shenzhen": {'."\n" - .'"SlbEIP": false,'."\n" - .'}', - 'description' => '', - ], - 'description' => '', - ], - ], - ], + [ + 'apiName' => 'ListTlsInspectCACertificates', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ListTlsInspectCACertificates', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + [ + 'apiName' => 'UseAclBackupData', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UseAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DisableSdlProtectedAsset', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DisableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionResourceAutoEnable\\": {\\n \\"key\\": {\\n \\"key\\": true\\n }\\n }\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'cloudfw.ap-southeast-1.aliyuncs.com', + [ + 'apiName' => 'DescribeVpcFirewallManualVSwitchList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallManualVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ['validationType' => 'always', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ['validationType' => 'always', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/*'], + ['validationType' => 'always', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], + ['validationType' => 'always', 'resourceType' => 'Asset', 'arn' => 'acs:cloudfirewall::{#accountId}:asset/{#Type}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}/controlpolicyorder/{#Direction}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/*'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ['validationType' => 'always', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch/{#CategoryId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ['validationType' => 'always', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:natfirewallcontrolpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ['validationType' => 'always', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], + ['validationType' => 'always', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], + ['validationType' => 'always', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ['validationType' => 'always', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ['validationType' => 'always', 'resourceType' => 'InstanceMember', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instancemember/*'], + ['validationType' => 'always', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], + ['validationType' => 'conditional', 'resourceType' => 'Instance', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:domain/{#Domain}'], + ['validationType' => 'always', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch'], + ['validationType' => 'always', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], ], ], ]; -- cgit v1.2.3