diff options
Diffstat (limited to 'data/en_us/nis')
| -rw-r--r-- | data/en_us/nis/2021-12-16/api-docs.php | 10921 |
1 files changed, 5219 insertions, 5702 deletions
diff --git a/data/en_us/nis/2021-12-16/api-docs.php b/data/en_us/nis/2021-12-16/api-docs.php index a0163a1..4a5323e 100644 --- a/data/en_us/nis/2021-12-16/api-docs.php +++ b/data/en_us/nis/2021-12-16/api-docs.php @@ -1,664 +1,875 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'nis', - 'version' => '2021-12-16', - ], + 'info' => ['style' => 'RPC', 'product' => 'nis', 'version' => '2021-12-16'], 'directories' => [ [ - 'id' => 391923, - 'title' => null, + 'children' => ['StartNisTrafficRanking', 'DescribeNisTrafficRanking'], 'type' => 'directory', - 'children' => [ - 'StartNisTrafficRanking', - 'DescribeNisTrafficRanking', - ], + 'title' => 'Traffic analyzer', ], [ - 'id' => 391926, - 'title' => null, + 'children' => ['GetNisNetworkRanking', 'GetInternetTuple'], 'type' => 'directory', - 'children' => [ - 'GetNisNetworkRanking', - 'GetInternetTuple', - 'GetNatTopN', - 'GetVbrFlowTopN', - 'GetTransitRouterFlowTopN', - ], + 'title' => 'Network traffic analysis', ], [ - 'id' => 391932, - 'title' => null, + 'children' => ['CreateNetworkReachableAnalysis', 'CreateNetworkPath', 'CreateAndAnalyzeNetworkPath', 'DeleteNetworkPath', 'DeleteNetworkReachableAnalysis', 'GetNetworkReachableAnalysis'], 'type' => 'directory', - 'children' => [ - 'CreateNetworkReachableAnalysis', - 'CreateNetworkPath', - 'CreateAndAnalyzeNetworkPath', - 'DeleteNetworkPath', - 'DeleteNetworkReachableAnalysis', - 'GetNetworkReachableAnalysis', - ], + 'title' => 'Self-service diagnostics', ], [ - 'id' => 391939, - 'title' => null, + 'children' => ['GetNisNetworkMetrics'], 'type' => 'directory', - 'children' => [ - 'GetNisNetworkMetrics', - ], + 'title' => 'Network metrics', ], [ - 'id' => 391941, - 'title' => null, + 'children' => ['StartNisInspectionTask', 'UpdateNisInspectionTask', 'DeleteNisInspectionTask', 'ListNisInspectionTasks', 'DescribeNisInspectionTask', 'ListNisInspectionResourceType', 'DescribeNisInspectionReportStatus', 'DescribeNisInspectionReportSummary', 'DescribeNisInspectionReportCheckItems', 'DescribeNisInspectionRecommendationResources', 'ListNisInspectionTaskReports', 'DeleteNisInspectionReport'], + 'type' => 'directory', + 'title' => 'Network inspection', + ], + [ + 'children' => ['GetNatTopN', 'GetTransitRouterFlowTopN', 'GetVbrFlowTopN'], + 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'StartNisInspectionTask', - 'UpdateNisInspectionTask', - 'DeleteNisInspectionTask', - 'ListNisInspectionTasks', - 'DescribeNisInspectionTask', - 'ListNisInspectionResourceType', - 'DescribeNisInspectionReportStatus', - 'DescribeNisInspectionReportSummary', - 'DescribeNisInspectionReportCheckItems', - 'DescribeNisInspectionRecommendationResources', - 'ListNisInspectionTaskReports', - 'DeleteNisInspectionReport', - ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'StartNisTrafficRanking' => [ - 'summary' => '获取云网络流量指标排名', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateAndAnalyzeNetworkPath' => [ + 'summary' => 'Initiates a task for analyzing network reachability.', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '222984', - 'abilityTreeNodes' => [ - 'FEATUREnetana5MCZ6K', - 'FEATUREnetanaOV20CD', - 'FEATUREnetanaB9LIVJ', - 'FEATUREnetanaCEA895', - ], + 'abilityTreeCode' => '178742', + 'abilityTreeNodes' => ['FEATUREnetana59X9GB', 'FEATUREnetana98CV3P', 'FEATUREnetanaWZGUR4', 'FEATUREnetanaDZZVCZ', 'FEATUREnetana0CBIRP', 'FEATUREnetanaJGHZ2X', 'FEATUREnetanaRD137H', 'FEATUREnetanaCAWHBE', 'FEATUREnetana8JUW6E'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'RegionNo', + 'name' => 'SourceId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'cn-shanghai', - 'required' => true, - 'title' => '资源所在地域。', - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the source resource.', 'type' => 'string', 'required' => true, 'example' => 'i-uf62y8khhbkbdrp6****', 'title' => ''], ], [ - 'name' => 'TrafficAnalyzerId', + 'name' => 'SourceIpAddress', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'nta-262****ca07f', - 'required' => true, - 'title' => '资源所在地域。', - 'type' => 'string', - ], + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], ], [ - 'name' => 'TupleDimension', + 'name' => 'TargetIpAddress', 'in' => 'query', - 'allowEmptyValue' => true, + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '172.50.XX.XX', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source resource. Valid values:'."\n" + ."\n" + .'- **ecs**: the Elastic Compute Service (ECS) instance'."\n" + ."\n" + .'- **internetIp**: the public IP address'."\n" + ."\n" + .'- **vsw**: the vSwitch'."\n" + ."\n" + .'- **vpn**: the VPN gateway'."\n" + ."\n" + .'- **vbr**: the virtual border router (VBR)', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], + ], + [ + 'name' => 'SourcePort', + 'in' => 'query', + 'schema' => ['description' => 'The source port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'TargetId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the destination resource.', 'type' => 'string', 'required' => false, 'example' => 'i-m5eactvw7wtpktv5****', 'title' => ''], + ], + [ + 'name' => 'TargetType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination resource. Valid values:'."\n" + ."\n" + .'- **ecs**: the ECS instance'."\n" + ."\n" + .'- **internetIp**: the public IP address'."\n" + ."\n" + .'- **vsw**: the vSwitch'."\n" + ."\n" + .'- **vpn**: the VPN gateway'."\n" + ."\n" + .'- **vbr**: the VBR'."\n" + ."\n" + .'- **clb**: the Classic Load Balancer (CLB) instance', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'title' => ''], + ], + [ + 'name' => 'TargetPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'Protocol', + 'in' => 'query', + 'schema' => ['description' => 'The protocol type. Valid values:'."\n" + ."\n" + .'- **tcp**: Transmission Control Protocol (TCP)'."\n" + ."\n" + .'- **udp**: User Datagram Protocol (UDP)'."\n" + ."\n" + .'- **icmp**: Internet Control Message Protocol (ICMP)', 'type' => 'string', 'required' => false, 'example' => 'tcp', 'title' => ''], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the region for which you want to initiate a task for analyzing network reachability.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'enumValueTitles' => [ - 'Tuple5' => '', - 'Tuple1' => '', - 'Tuple2' => '', + 'title' => 'Schema of Response', + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B'], + 'NetworkReachableAnalysisId' => ['description' => 'The ID of the task for analyzing network reachability that you initiated.', 'type' => 'string', 'example' => 'nra-dfe9e53d2b524568****', 'title' => ''], + 'SourceId' => ['description' => 'The ID of the source resource.', 'type' => 'string', 'example' => 'i-uf62y8khhbkbdrp6****', 'title' => ''], + 'TargetId' => ['description' => 'The ID of the destination resource.', 'type' => 'string', 'example' => 'i-m5eactvw7wtpktv5****', 'title' => ''], + 'SourceType' => ['description' => 'The type of the source resource.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + 'TargetType' => ['description' => 'The type of the destination resource.', 'type' => 'string', 'example' => 'ecs', 'title' => ''], + 'SourcePort' => ['description' => 'The source port.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'TargetPort' => ['description' => 'The destination port.', 'type' => 'string', 'example' => '80', 'title' => ''], + 'Protocol' => ['description' => 'The protocol type.', 'type' => 'string', 'example' => 'tcp', 'title' => ''], + 'SourceIpAddress' => ['description' => 'The source IP address.', 'type' => 'string', 'example' => '192.168.XX.XX', 'title' => ''], + 'TargetIpAddress' => ['description' => 'The destination IP address.', 'type' => 'string', 'example' => '172.50.XX.XX', 'title' => ''], ], - 'example' => 'Tuple1', - 'required' => false, - 'title' => '资源所在地域。', - 'type' => 'string', - 'enum' => [ - 'Tuple1', - 'Tuple2', - 'Tuple5', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IllegalParam.InternetIP', 'errorMessage' => 'The specified IP address (%s) is not an internet IP address.', 'description' => 'The specified IP address (%s) is not a public IP address. The IP address must not fall within the following ranges: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, or 192.168.0.0 to 192.168.255.255.'], + ['errorCode' => 'IllegalParam.IP', 'errorMessage' => 'The specified IP address (%s) is invalid.', 'description' => 'The specified IP address (%s) is invalid.'], + ['errorCode' => 'Mismatch.SourceIdAndTargetId', 'errorMessage' => 'Reachability Analyzer does not support the scenario in which source and target Internet IP addresses and ECS instance ID (%s and %s) are bound.', 'description' => 'Reachability Analyzer does not support the scenario in which the public IP addresses of the source and destination are associated with the ECS instance (%s and %s).'], + ['errorCode' => 'IllegalParam.SourceAndTargetInternetIp', 'errorMessage' => 'Both source ID and target ID are IP addresses, but are not Internet IP addresses. Reachability Analyzer does not support the scenario.', 'description' => 'Both the source and destination are IP addresses, but not Alibaba Cloud public IP addresses. Reachability Analyzer supports only Alibaba Cloud public IP addresses.'], + ['errorCode' => 'IllegalParam.SourcePort', 'errorMessage' => 'The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536].', 'description' => 'The value of SourcePort is invalid. Valid values: 0 to 65536.'], + ['errorCode' => 'IllegalParam.TargetPort', 'errorMessage' => 'The specified TargetPort(%s) value is invalid. The value must be within the range of (0,65536].', 'description' => 'The value of TargetPort is invalid. Valid values: 0 to 65536.'], + ['errorCode' => 'IllegalParam.SourceId', 'errorMessage' => 'The specified SourceId(%s) may be not exist.', 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['errorCode' => 'IllegalParam.TargetId', 'errorMessage' => 'The specified TargetId(%s) may be not exist.', 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['errorCode' => 'IllegalParam.SourceIp', 'errorMessage' => 'Please enter a valid source IP.', 'description' => 'Please enter a valid source IP'], + ['errorCode' => 'IllegalParam.SourceType', 'errorMessage' => 'The specified source type (%s) is invalid.', 'description' => ''], + ['errorCode' => 'IllegalParam.Protocol', 'errorMessage' => 'The specified Protocol(%s) is invalid.', 'description' => 'The Protocol(%s) parameter is invalid.'], + ['errorCode' => 'IllegalParam.TargetType', 'errorMessage' => 'The specified target type (%s) is invalid.', 'description' => 'The specified destination type () is invalid.'], + ['errorCode' => 'IllegalParam.TargetIp', 'errorMessage' => 'The specified target ip (%s) is invalid.', 'description' => 'The specified destination IP() is not in the correct format.'], + ['errorCode' => 'IllegalParam.NotSupportHaVpn', 'errorMessage' => 'The specified VPN(%s), which is not currently supported for such instances.', 'description' => 'The specified VPN(), which is not currently supported for such instances.'], + ['errorCode' => 'IllegalParam.SourceNotBound', 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', 'description' => 'Elastic public network IP() is not bound to resources, and analysis is not supported for the time being.'], + ['errorCode' => 'IllegalParam.TargetNotBound', 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', 'description' => ''], + ['errorCode' => 'IllegalParam.NotPublicIp', 'errorMessage' => 'The specified (%s) is invalid.', 'description' => 'The specified parameter is illegal.'], + ['errorCode' => 'IllegalParam.SourceEqualTarget', 'errorMessage' => 'The specified source and destination are identical, which is not supported for analysis.', 'description' => 'The specified source and destination are the same, and analysis is not supported.'], + ['errorCode' => 'IllegalParam.TypeAndIdMismatch', 'errorMessage' => 'The specified instanceId (%s) and type do not match.', 'description' => 'The specified instanceId and its type do not match.'], + ], + 403 => [ + ['errorCode' => 'Forbidden.NetworkPath', 'errorMessage' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.', 'description' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'CreateAndAnalyzeNetworkPath', + 'description' => 'You can call this operation to initiate a task for analyzing network reachability by specifying only the information about the source and destination. You do not need to create a network path for reachability analysis. The analysis result is not recorded in the system. If you want to record the path parameters and analysis result in the Network Intelligence Service (NIS) console, we recommend that you call the **createNetworkReachableAnalysis** operation.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAndAnalyzeNetworkPath'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:CreateAndAnalyzeNetworkPath', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"NetworkReachableAnalysisId\\": \\"nra-dfe9e53d2b524568****\\",\\n \\"SourceId\\": \\"i-uf62y8khhbkbdrp6****\\",\\n \\"TargetId\\": \\"i-m5eactvw7wtpktv5****\\",\\n \\"SourceType\\": \\"ecs\\",\\n \\"TargetType\\": \\"ecs\\",\\n \\"SourcePort\\": \\"0\\",\\n \\"TargetPort\\": \\"80\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"SourceIpAddress\\": \\"192.168.XX.XX\\",\\n \\"TargetIpAddress\\": \\"172.50.XX.XX\\"\\n}","type":"json"}]', + ], + 'CreateNetworkPath' => [ + 'summary' => 'Creates a network path for reachability analysis.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TrafficScenario', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116922', + 'abilityTreeNodes' => ['FEATUREnetana59X9GB', 'FEATUREnetana98CV3P', 'FEATUREnetanaWZGUR4', 'FEATUREnetanaDZZVCZ', 'FEATUREnetana0CBIRP', 'FEATUREnetanaJGHZ2X', 'FEATUREnetanaRD137H', 'FEATUREnetanaCAWHBE', 'FEATUREnetana8JUW6E'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'VpcFlowLogAll', - 'required' => true, - 'title' => '按流量转发所使用的阿里云网络资源类型进行分析,枚举如下:'."\n" - .'AccessInternetIPV4:所有阿里云公网类型IPV4。'."\n" - .'AccessInternetIPV4Limited:所有受地域限速的阿里云公网类型IPV4。'."\n" - .'ElasticIP: 弹性公网EIP(IPV4)。'."\n" - .'PublicIpEcs: 绑定在ECS的固定公网IP(IPV4)。'."\n" - .'PublicIpClb: 绑定在CLB的固定公网IP(IPV4)。'."\n" - .'GA:全球加速。'."\n" - .'NAT:通过SNAT的访问公网流量。'."\n" - .'TR:流经云企业网转发路由器的流量。'."\n" - .'TRAttachment:流经云企业网连接实例的流量,包括地域内连接和跨地域连接。'."\n" - .'VBR:流经边界路由器的流量。'."\n" - .'GA:流经全球加速的流量。'."\n" - .'ECR:流经ECR的流量。'."\n" - .'VPC:流经VPC的流量。'."\n" - .'InternetProbing: 公网探测数据。'."\n" - .'IntranetProbing: 内网探测数据。', - 'type' => 'string', - 'enum' => [ - 'VpcFlowLogAll', - 'VpcFlowLogInternet', - 'TRFlowLog', - 'CbwpMetric', - ], - ], + 'schema' => ['description' => 'The region ID of the network path that you want to create.', 'type' => 'string', 'required' => false, 'maxLength' => 64, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Direction', + 'name' => 'NetworkPathName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'Out', - 'required' => true, - 'title' => '基于阿里云资源的网络流量方向:'."\n" - .'in:流入资源的流量方向。'."\n" - .'out:流出资源的流量方向。'."\n" - .'跨域流量分析因只采集出向流量,所以传入in也以out处理。'."\n" - .'地域内性能观测和地域间性能观测因需在Filter内指定源或目的,所以可以任意指定Direction。', - 'type' => 'string', - 'enum' => [ - 'In', - 'Out', - ], - ], + 'schema' => ['description' => 'The name of the network path.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'example' => 'ecs2PublicIp', 'title' => ''], ], [ - 'name' => 'GroupBy', + 'name' => 'SourceId', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The ID of the source resource.', 'type' => 'string', 'required' => true, 'example' => 'i-2zef4ngqfarepyun****', 'title' => ''], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the source resource. Valid values:'."\n" + ."\n" + .'- **ecs**: the Elastic Compute Service (ECS) instance'."\n" + ."\n" + .'- **internetIp**: the public IP address'."\n" + ."\n" + .'- **vsw**: the vSwitch'."\n" + ."\n" + .'- **vpn**: the VPN gateway'."\n" + ."\n" + .'- **vbr**: the virtual border router (VBR)', 'type' => 'string', 'required' => true, 'example' => 'ecs', 'title' => ''], + ], + [ + 'name' => 'SourceIpAddress', + 'in' => 'query', + 'schema' => ['description' => 'The source IP address.', 'type' => 'string', 'required' => false, 'example' => '172.17.XX.XX', 'title' => ''], + ], + [ + 'name' => 'SourcePort', + 'in' => 'query', + 'schema' => ['description' => 'The source port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '443', 'title' => ''], + ], + [ + 'name' => 'TargetId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the destination resource.', 'type' => 'string', 'required' => false, 'minimum' => '0', 'maxItems' => 24, 'example' => 'i-bp13d0e064gubm****', 'title' => ''], + ], + [ + 'name' => 'TargetType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the destination resource. Valid values:'."\n" + ."\n" + .'- **ecs**: the ECS instance'."\n" + ."\n" + .'- **internetIp**: the public IP address'."\n" + ."\n" + .'- **vsw**: the vSwitch'."\n" + ."\n" + .'- **vpn**: the VPN gateway'."\n" + ."\n" + .'- **vbr**: the VBR'."\n" + ."\n" + .'- **clb**: the Classic Load Balancer (CLB) instance', 'type' => 'string', 'required' => false, 'minimum' => '0', 'maxItems' => 24, 'example' => 'ecs', 'title' => ''], + ], + [ + 'name' => 'TargetIpAddress', + 'in' => 'query', + 'schema' => ['description' => 'The destination IP address.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX', 'title' => ''], + ], + [ + 'name' => 'TargetPort', + 'in' => 'query', + 'schema' => ['description' => 'The destination port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''], + ], + [ + 'name' => 'Protocol', + 'in' => 'query', + 'schema' => ['description' => 'The protocol type. Valid values:'."\n" + ."\n" + .'- **tcp**: Transmission Control Protocol (TCP)'."\n" + ."\n" + .'- **udp**: User Datagram Protocol (UDP)'."\n" + ."\n" + .'- **icmp**: Internet Control Message Protocol (ICMP)', 'type' => 'string', 'maxLength' => 16, 'required' => false, 'example' => 'tcp', 'title' => ''], + ], + [ + 'name' => 'NetworkPathDescription', + 'in' => 'query', + 'schema' => ['description' => 'The description of the network path.', 'type' => 'string', 'example' => 'Analysis ECS to ECS path', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The tags to add to the resource.', + 'type' => 'array', 'items' => [ 'description' => '', - 'example' => '["VpcId"]', - 'required' => false, - 'type' => 'string', - 'enum' => [ - 'VpcId', - 'VSwitchId', - 'CloudIp', - 'SourceIp', - 'DestinationIp', - 'Protocol', - 'SourcePort', - 'DestinationPort', - 'TrafficPath', - 'Country', - 'Province', - 'City', - 'Isp', - 'Asn', - 'TransitRouterAttachmentId', - 'Dscp', - 'TransitRouterPairAttachmentId', - 'TransitRouterSourceResourceId', - 'TransitRouterDestinationResourceId', - 'TransitRouterSourceNetworkInterface', - 'TransitRouterDestinationNetworkInterface', - 'TransitRouterId', - 'BindingResourceId', - 'BindingResourceType', - 'CbwpId', - 'PublicIpAddress', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => 'The key of tag N to add to the resource. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.'."\n" + ."\n" + .'You can add up to 20 tags in each call.', 'type' => 'string', 'required' => false, 'example' => 'role', 'title' => ''], + 'Value' => ['description' => 'The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.'."\n" + ."\n" + .'The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `aliyun` or `acs:`.', 'type' => 'string', 'required' => false, 'example' => 'ops', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, - 'type' => 'array', + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'OrderBy', + 'name' => 'ResourceGroupId', 'in' => 'query', + 'schema' => ['description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm27qsxjj****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NetworkPathId' => ['description' => 'The ID of the network path.', 'type' => 'string', 'example' => 'np-4cbf598673d14d27****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '92DD9FFB-06FB-56F7-83EF-5CEF98F5562A', 'title' => ''], + ], 'description' => '', - 'example' => 'Bytes', - 'required' => true, - 'title' => '指定公网流量进行排名的指标。大小写敏感。'."\n" - .' bps:每秒比特数。'."\n" - .' pps:每秒包数。'."\n" - .' ByteCount:累计字节数。'."\n" - .' PacketCount:累计包数。'."\n" - .'公网场景特有参数:'."\n" - .' rtt:tcp协议建立连接时的往返延迟。'."\n" - .' RetransmitRate:重传率。'."\n" - .'区域级限速场景特有参数:'."\n" - .' RatelimitDropPps:限速丢包速率。'."\n" - .'NAT场景特有参数:'."\n" - .' ActiveSessionCount:并发会话数。'."\n" - .' NewSessionPerSecond:每秒新建会话数。', - 'type' => 'string', - 'enum' => [ - 'Bytes', - 'Packets', - 'RoundTripTime', - 'PacketsLostNoRoute', - 'PacketsLostBlackhole', - 'PacketsLostTTLExpired', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IllegalParam.InternetIP', 'errorMessage' => 'The specified IP address (%s) is not an internet IP address.', 'description' => 'The specified IP address (%s) is not a public IP address. The IP address must not fall within the following ranges: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, or 192.168.0.0 to 192.168.255.255.'], + ['errorCode' => 'IllegalParam.IP', 'errorMessage' => 'The specified IP address (%s) is invalid.', 'description' => 'The specified IP address (%s) is invalid.'], + ['errorCode' => 'QuotaExceeded.NetworkPath', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => 'The specified number of network paths exceeds the upper limit. Usage: %s/%s.'], + ['errorCode' => 'ResourceAlreadyExist.NetworkPath', 'errorMessage' => 'The specified resource of %s already exists.', 'description' => 'The specified network path configuration %s already exists.'], + ['errorCode' => 'Mismatch.SourceIdAndTargetId', 'errorMessage' => 'Reachability Analyzer does not support the scenario in which source and target Internet IP addresses and ECS instance ID (%s and %s) are bound.', 'description' => 'Reachability Analyzer does not support the scenario in which the public IP addresses of the source and destination are associated with the ECS instance (%s and %s).'], + ['errorCode' => 'IllegalParam.SourceAndTargetInternetIp', 'errorMessage' => 'Both source ID and target ID are IP addresses, but are not Internet IP addresses. Reachability Analyzer does not support the scenario.', 'description' => 'Both the source and destination are IP addresses, but not Alibaba Cloud public IP addresses. Reachability Analyzer supports only Alibaba Cloud public IP addresses.'], + ['errorCode' => 'IllegalParam.SourcePort', 'errorMessage' => 'The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536].', 'description' => 'The value of SourcePort is invalid. Valid values: 0 to 65536.'], + ['errorCode' => 'IllegalParam.TargetPort', 'errorMessage' => 'The specified TargetPort(%s) value is invalid. The value must be within the range of (0,65536].', 'description' => 'The value of TargetPort is invalid. Valid values: 0 to 65536.'], + ['errorCode' => 'IllegalParam.SourceId', 'errorMessage' => 'The specified SourceId(%s) may be not exist.', 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['errorCode' => 'IllegalParam.TargetId', 'errorMessage' => 'The specified TargetId(%s) may be not exist.', 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['errorCode' => 'MissingParameter.TagValue', 'errorMessage' => 'You must specify Tag.N.Value.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''], + ['errorCode' => 'MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The Tag.N.Value parameter is invalid.', 'description' => ''], + ['errorCode' => 'IllegalParam.SourceIp', 'errorMessage' => 'Please enter a valid source IP.', 'description' => 'Please enter a valid source IP'], + ['errorCode' => 'IllegalParam.Protocol', 'errorMessage' => 'The specified Protocol(%s) is invalid.', 'description' => 'The Protocol(%s) parameter is invalid.'], + ['errorCode' => 'IllegalParam.TargetType', 'errorMessage' => 'The specified target type (%s) is invalid.', 'description' => 'The specified destination type () is invalid.'], + ['errorCode' => 'IllegalParam.SourceType', 'errorMessage' => 'The specified source type (%s) is invalid.', 'description' => ''], + ['errorCode' => 'IllegalParam.TargetIp', 'errorMessage' => 'The specified target ip (%s) is invalid.', 'description' => 'The specified destination IP() is not in the correct format.'], + ['errorCode' => 'IllegalParam.NotSupportHaVpn', 'errorMessage' => 'The specified VPN(%s), which is not currently supported for such instances.', 'description' => 'The specified VPN(), which is not currently supported for such instances.'], + ['errorCode' => 'IllegalParam.SourceNotBound', 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', 'description' => 'Elastic public network IP() is not bound to resources, and analysis is not supported for the time being.'], + ['errorCode' => 'IllegalParam.TargetNotBound', 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', 'description' => ''], + ['errorCode' => 'IllegalParam.NotPublicIp', 'errorMessage' => 'The specified (%s) is invalid.', 'description' => 'The specified parameter is illegal.'], + ['errorCode' => 'IllegalParam.SourceEqualTarget', 'errorMessage' => 'The specified source and destination are identical, which is not supported for analysis.', 'description' => 'The specified source and destination are the same, and analysis is not supported.'], + ['errorCode' => 'IllegalParam.TypeAndIdMismatch', 'errorMessage' => 'The specified instanceId (%s) and type do not match.', 'description' => 'The specified instanceId and its type do not match.'], + ], + 403 => [ + ['errorCode' => 'Forbidden.NetworkPath', 'errorMessage' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.', 'description' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NetworkPathId\\": \\"np-4cbf598673d14d27****\\",\\n \\"RequestId\\": \\"92DD9FFB-06FB-56F7-83EF-5CEF98F5562A\\"\\n}","type":"json"}]', + 'title' => 'CreateNetworkPath', + 'description' => '- You can call the **CreateNetworkPath** operation to create network paths in multiple networking scenarios and between multiple resources. After a path is created, the path parameters are saved for repeated analysis.'."\n" + ."\n" + .'- You can create up to 100 network paths within one Alibaba Cloud account.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNetworkPath'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:CreateNetworkPath', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkPath', 'arn' => 'acs:nis:*:{#accountId}:networkpath/*'], ], ], ], + ], + 'translator' => 'manual', + ], + 'CreateNetworkReachableAnalysis' => [ + 'summary' => 'Creates a task for analyzing network reachability.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Filter', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'style' => 'json', + 'schema' => ['description' => 'The ID of the region for which you want to create a task for analyzing network reachability.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + ], + [ + 'name' => 'NetworkPathId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the network path. You can call the [CreateNetworkPath](~~2366522~~) operation to obtain the ID of the network path.', 'type' => 'string', 'required' => true, 'example' => 'np-b2f618ceb2c84057****', 'title' => ''], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '', + 'description' => 'The tags to add to the resource.', + 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The information of the tag.', + 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '', - 'example' => 'FlowAction', - 'required' => false, - 'type' => 'string', - 'enum' => [ - 'FlowAction', - 'VpcId', - 'VSwitchId', - 'NetworkInterfaceId', - 'CloudIp', - 'DestinationIp', - 'SourceIp', - 'EcsId', - 'TrafficPath', - 'ClientCountry', - 'ClientCity', - 'ClientAsn', - 'ClientIsp', - 'SourcePort', - 'DestinationPort', - 'Protocol', - 'MinBytes', - 'MaxBytes', - 'MinRoundTripTime', - 'MaxRoundTripTime', - 'MinPackages', - 'MaxPackages', - 'TransitRouterAttachmentId', - 'Dscp', - 'TransitRouterPairAttachmentId', - 'MinPacketsLostBlackhole', - 'MaxPacketsLostBlackhole', - 'MinPacketsLostNoRoute', - 'MaxPacketsLostNoRoute', - 'MinPacketsLostTTLExpired', - 'MaxPacketsLostTTLExpired', - 'TransitRouterSourceResourceId', - 'TransitRouterSourceNetworkInterface', - 'TransitRouterDestinationResourceId', - 'TransitRouterDestinationNetworkInterface', - 'TransitRouterId', - 'PublicIpAddress', - 'InstanceId', - 'BindingResourceType', - 'BindingResourceId', - 'CbwpId', - ], - ], - 'Value' => [ - 'description' => '', - 'items' => [ - 'description' => '', - 'example' => 'Accept', - 'required' => false, - 'type' => 'string', - ], - 'required' => false, - 'type' => 'array', - ], - 'Operator' => [ - 'description' => '', - 'enumValueTitles' => [ - 'not in' => 'not in', - 'in' => 'in', - 'like' => 'like', - ], - 'example' => 'in', - 'required' => false, - 'type' => 'string', - ], + 'Key' => ['description' => 'The key of the tag to add to the resource. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.'."\n" + ."\n" + .'You can add up to 20 tags in each call.', 'type' => 'string', 'required' => false, 'example' => 'Team', 'title' => ''], + 'Value' => ['description' => 'The value of the tag to add to the resource. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `acs:` or `aliyun`. The tag value can be an empty string.'."\n" + ."\n" + .'You can add up to 20 tag values in each call.', 'type' => 'string', 'required' => false, 'example' => 'ops', 'title' => ''], ], 'required' => false, - 'type' => 'object', + 'title' => '', + 'example' => '', ], 'required' => false, - 'title' => '支持进一步指定流量的过滤条件,进行聚焦性流量分析。', - 'type' => 'array', + 'maxItems' => 21, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'BeginTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NetworkReachableAnalysisId' => ['description' => 'The ID of the task for analyzing network reachability.', 'type' => 'string', 'example' => 'nra-2fede05617494417****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + ], 'description' => '', - 'example' => '1638239092000', - 'format' => 'int64', - 'required' => true, - 'title' => '起始时间戳,单位毫秒。未指定时默认查最近1小时。', - 'type' => 'integer', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IncorrectStatus.NetworkPath', 'errorMessage' => 'The last analysis status of %s is %s. Please try again later.', 'description' => 'The Reachability Analyzer task %s is not completed. Try again after the task is completed.'], + ['errorCode' => 'QuotaExceeded.ParallelNraLimit', 'errorMessage' => 'The maximum number of parallel reachability analysis task is exceeded.', 'description' => 'The number of parallel Reachability Analyzer tasks exceeds the upper limit.'], + ['errorCode' => 'QuotaExceeded.MaxNraCount', 'errorMessage' => 'The maximum number of reachability analysis task is exceeded.', 'description' => 'The number of saved Reachability Analyzer tasks exceeds the upper limit.'], + ['errorCode' => 'IllegalParam.ZoneId', 'errorMessage' => 'The specified available zone (%s) is invalid.', 'description' => 'The specified zone (%s) is invalid.'], + ['errorCode' => 'IllegalParam.StepMinutes', 'errorMessage' => 'The specified sampling interval (%s) is invalid.', 'description' => 'The specified sampling interval (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTime', 'errorMessage' => 'The specified begin time (%s) is invalid.', 'description' => 'The specified start time (%s) is invalid.'], + ['errorCode' => 'IllegalParam.EndTime', 'errorMessage' => 'The specified end time (%s) is invalid.', 'description' => 'The specified end time (%s) is invalid.'], + ['errorCode' => 'Mismatch.BeginTimeAndEndTime', 'errorMessage' => 'The specified begin time must be earlier than the end time.', 'description' => 'The specified start time must be earlier than the end time.'], + ['errorCode' => 'MissingParameter.TagValue', 'errorMessage' => 'You must specify Tag.N.Value.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of Tags is exceeded.', 'description' => ''], + ['errorCode' => 'MissingParameter.TagKey', 'errorMessage' => 'You must specify Tag.N.Key.', 'description' => ''], + ['errorCode' => 'Duplicate.TagKey', 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagKey', 'errorMessage' => 'The Tag.N.Key parameter is invalid.', 'description' => ''], + ['errorCode' => 'InvalidParameter.TagValue', 'errorMessage' => 'The Tag.N.Value parameter is invalid.', 'description' => ''], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound.NetworkPath', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => ''], + ], + ], + 'title' => 'CreateNetworkReachableAnalysis', + 'description' => '- The **CreateNetworkReachableAnalysis** operation is used to create a task for analyzing the reachability of the network path that is created by calling the **CreateNetworkPath** operation and record the analysis results.'."\n" + ."\n" + .'- The **CreateNetworkReachableAnalysis** operation can be called to repeatedly analyze the reachability of a network path.'."\n" + ."\n" + .'- You can create up to 1,000 reachability analysis records within one Alibaba Cloud account.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNetworkReachableAnalysis'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:CreateNetworkReachableAnalysis', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NetworkReachableAnalysisId\\": \\"nra-2fede05617494417****\\",\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\"\\n}","type":"json"}]', + ], + 'DeleteNetworkPath' => [ + 'summary' => 'Deletes a network path.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116931', + 'abilityTreeNodes' => ['FEATUREnetana59X9GB', 'FEATUREnetana98CV3P', 'FEATUREnetanaWZGUR4', 'FEATUREnetanaDZZVCZ', 'FEATUREnetana0CBIRP', 'FEATUREnetanaJGHZ2X', 'FEATUREnetanaRD137H', 'FEATUREnetanaCAWHBE', 'FEATUREnetana8JUW6E'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => 'The region ID of the network path that you want to delete.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], + ], + [ + 'name' => 'NetworkPathIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'example' => '1684373700099', - 'format' => 'int64', + 'description' => 'The IDs of network paths.', + 'type' => 'array', + 'items' => ['description' => 'You can call the [CreateNetworkPath](~~2366522~~) operation to obtain the ID of the network path.', 'type' => 'string', 'required' => false, 'example' => 'np-10c31b7aca0e4486****', 'title' => ''], 'required' => true, - 'title' => '结束时间戳,单位毫秒。未指定时默认查最近1小时。只指定了BeginTime时查BeginTime之后的1小时。', - 'type' => 'integer', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Sort', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C4331873-C534-590F-A905-F66C53B88A47', 'title' => ''], + 'Data' => ['description' => 'Result of operation.'."\n" + ."\n" + .'- **true**: Delete Success.'."\n" + ."\n" + .'- **false**: Delete Fail.', 'type' => 'boolean', 'title' => '', 'example' => ''], + ], 'description' => '', - 'example' => 'Desc', - 'required' => false, - 'title' => '排序方式,'."\n" - .'asc:按正序排序。'."\n" - .'desc:按逆序排序。', - 'type' => 'string', - 'default' => 'Desc', - 'enum' => [ - 'Desc', - 'Asc', + 'title' => '', + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IllegalParam.DiskCategory', 'errorMessage' => 'The specified disk category (%s) is invalid.', 'description' => 'The specified disk category (%s) is invalid.'], + ['errorCode' => 'SizeExceeds.Zones', 'errorMessage' => 'The length of the specified available zones exceeds the limit.', 'description' => 'The specified number of zones exceeds the upper limit.'], + ['errorCode' => 'SizeExceeds.DiskCategories', 'errorMessage' => 'The length of the specified disk categories exceeds the limit.', 'description' => 'The specified number of disk categories exceeds the upper limit.'], + ['errorCode' => 'OperationDenied.ZonesConflict', 'errorMessage' => 'The specified available zones do not belong to the same region.', 'description' => 'The specified zones do not belong to the same region.'], + ['errorCode' => 'IllegalParam.ZoneId', 'errorMessage' => 'The specified available zone (%s) is invalid.', 'description' => 'The specified zone (%s) is invalid.'], + ['errorCode' => 'IllegalParam.StepMinutes', 'errorMessage' => 'The specified sampling interval (%s) is invalid.', 'description' => 'The specified sampling interval (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTime', 'errorMessage' => 'The specified begin time (%s) is invalid.', 'description' => 'The specified start time (%s) is invalid.'], + ['errorCode' => 'IllegalParam.EndTime', 'errorMessage' => 'The specified end time (%s) is invalid.', 'description' => 'The specified end time (%s) is invalid.'], + ['errorCode' => 'Mismatch.BeginTimeAndEndTime', 'errorMessage' => 'The specified begin time must be earlier than the end time.', 'description' => 'The specified start time must be earlier than the end time.'], + ['errorCode' => 'IllegalParam.NetworkPathId', 'errorMessage' => 'The parameter (%s) cannot be empty.', 'description' => 'The parameter (%s) cannot be empty.'], + ], + 403 => [ + ['errorCode' => 'Forbidden.NetworkPathId', 'errorMessage' => 'The user does not have permission on the instance parameter (%s).', 'description' => 'The user does not have permission to the instance resource (%s).'], + ], + [ + ['errorCode' => 'ResourceNotFound.NetworkPathId', 'errorMessage' => 'The instance resource (%s) does not exist.', 'description' => 'The instance resource (%s) does not exist.'], + ], + ], + 'title' => 'DeleteNetworkPath', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNetworkPath'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'nis:DeleteNetworkPath', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkPath', 'arn' => 'acs:nis:*:{#accountId}:networkpath/{#NetworkPathId}'], ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4331873-C534-590F-A905-F66C53B88A47\\",\\n \\"Data\\": false\\n}","type":"json"}]', + ], + 'DeleteNetworkReachableAnalysis' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TopN', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '116935', + 'abilityTreeNodes' => ['FEATUREnetana59X9GB', 'FEATUREnetana98CV3P', 'FEATUREnetanaWZGUR4', 'FEATUREnetanaDZZVCZ', 'FEATUREnetana0CBIRP', 'FEATUREnetanaJGHZ2X', 'FEATUREnetanaRD137H', 'FEATUREnetanaCAWHBE', 'FEATUREnetana8JUW6E'], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '10', - 'format' => 'int32', - 'required' => false, - 'title' => '展示排序靠前的数据。默认值:10。表示默认展示排序前 10 的数据。最大值:100。', - 'type' => 'integer', - ], + 'schema' => ['description' => 'The ID of the region for which you want to delete a task for analyzing network reachability.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ - 'name' => 'Language', + 'name' => 'NetworkReachableAnalysisIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'example' => 'zh-CN', - 'required' => false, - 'type' => 'string', - 'enum' => [ - 'zh-CN', - 'en-US', - ], + 'description' => 'The IDs of the tasks for analyzing network reachability.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the task for analyzing network reachability. You can call the [CreateNetworkReachableAnalysis](~~2366521~~) operation to obtain the ID of the task for analyzing network reachability.', 'type' => 'string', 'required' => false, 'example' => '[\\"nra-be3cff6bed3049f5****\\"]', 'title' => ''], + 'required' => true, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4838F3F2-30E1-5D82-B25A-B9FE33BC3E25', 'title' => ''], + 'Data' => ['description' => 'Result of operation.'."\n" + ."\n" + .'- **true**: Delete Success.'."\n" + ."\n" + .'- **false**: Delete Fail.', 'type' => 'boolean', 'title' => '', 'example' => ''], + ], 'description' => '', - 'example' => '2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+', - 'required' => false, - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IllegalParam.DiskCategory', 'errorMessage' => 'The specified disk category (%s) is invalid.', 'description' => 'The specified disk category (%s) is invalid.'], + ['errorCode' => 'SizeExceeds.Zones', 'errorMessage' => 'The length of the specified available zones exceeds the limit.', 'description' => 'The specified number of zones exceeds the upper limit.'], + ['errorCode' => 'SizeExceeds.DiskCategories', 'errorMessage' => 'The length of the specified disk categories exceeds the limit.', 'description' => 'The specified number of disk categories exceeds the upper limit.'], + ['errorCode' => 'OperationDenied.ZonesConflict', 'errorMessage' => 'The specified available zones do not belong to the same region.', 'description' => 'The specified zones do not belong to the same region.'], + ['errorCode' => 'IllegalParam.ZoneId', 'errorMessage' => 'The specified available zone (%s) is invalid.', 'description' => 'The specified zone (%s) is invalid.'], + ['errorCode' => 'IllegalParam.StepMinutes', 'errorMessage' => 'The specified sampling interval (%s) is invalid.', 'description' => 'The specified sampling interval (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTime', 'errorMessage' => 'The specified begin time (%s) is invalid.', 'description' => 'The specified start time (%s) is invalid.'], + ['errorCode' => 'IllegalParam.EndTime', 'errorMessage' => 'The specified end time (%s) is invalid.', 'description' => 'The specified end time (%s) is invalid.'], + ['errorCode' => 'Mismatch.BeginTimeAndEndTime', 'errorMessage' => 'The specified begin time must be earlier than the end time.', 'description' => 'The specified start time must be earlier than the end time.'], + ['errorCode' => 'IllegalParam.NetworkReachableAnalysisId', 'errorMessage' => 'The parameter (%s) cannot be empty.', 'description' => 'The parameter (%s) cannot be empty.'], + ], + 403 => [ + ['errorCode' => 'Forbidden.NetworkReachableAnalysisId', 'errorMessage' => 'The user does not have permission on the instance parameter (%s).', 'description' => 'The user does not have permission to the resource (%s).'], + ], [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '20', - 'format' => 'int32', - 'maximum' => '100', - 'minimum' => '1', - 'required' => false, - 'type' => 'integer', - 'default' => '20', + ['errorCode' => 'ResourceNotFound.NetworkReachableAnalysisId', 'errorMessage' => 'The instance resource (%s) does not exist.', 'description' => 'The resource (%s) does not exist.'], + ], + ], + 'title' => 'DeleteNetworkReachableAnalysis', + 'summary' => 'Deletes a task for analyzing network reachability.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNetworkReachableAnalysis'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'nis:DeleteNetworkReachableAnalysis', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/{#NetworkReachableAnalysisId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4838F3F2-30E1-5D82-B25A-B9FE33BC3E25\\",\\n \\"Data\\": false\\n}","type":"json"}]', + ], + 'DeleteNisInspectionReport' => [ + 'summary' => 'Deletes an inspection report.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StorageInterval', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226212', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], + ], + 'parameters' => [ + [ + 'name' => 'InspectionReportId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'nir-ffd1af****196d0'."\n", 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', - 'enumValueTitles' => [ - 1 => '1', - 10 => '10', - 60 => '60', - 1440 => '1440', + 'title' => 'RpcResponse<Boolean>', + 'description' => 'RpcResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', 'title' => ''], + 'Data' => ['description' => 'The result of the deletion.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], ], - 'example' => '10', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', + 'example' => '', ], ], ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'Forbidden.InspectionReportId', 'errorMessage' => 'This user does not have permission to this report parameter (%s).', 'description' => 'This user does not have permission to this report parameter (%s).'], + ], + [ + ['errorCode' => 'ResourceNotFound.InspectionReportId', 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', 'description' => ''], + ], + ], + 'title' => 'DeleteNisInspectionReport', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'nis:DeleteNisInspectionReport', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'DeleteNisInspectionTask' => [ + 'summary' => 'Deletes an inspection task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'abilityTreeCode' => '226555', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], + ], + 'parameters' => [ + [ + 'name' => 'InspectionTaskId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the inspection task.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'ni-209d****wfirfwc2yl'."\n", 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'RpcResponse<ArrayList<NtaNetworkRankingResponse>>', + 'title' => 'RpcResponse<Boolean>', + 'description' => 'RpcResponse', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941', - 'type' => 'string', - ], - 'NisTrafficRankingId' => [ - 'description' => '', - 'example' => 'task-6462a7b4c4a54b****', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'Data' => ['description' => 'The result of the deletion.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], ], - 'title' => 'RpcResponse<ArrayList<NtaNetworkRankingResponse>>', - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.NoPermission', - 'errorMessage' => 'The authentication result is successful but the verification fails.', - ], - [ - 'errorCode' => 'IllegalParam.RegionNo', - 'errorMessage' => 'The specified parameter RegionNo(%s) is illegal.', - ], - [ - 'errorCode' => 'DuplicatedParam.GroupBy', - 'errorMessage' => 'Duplicate data exists for the specified GroupBy(%s) parameter.', - ], - [ - 'errorCode' => 'IllegalParam.GroupBy', - 'errorMessage' => 'The specified param of GroupBy (%s) is invalid.', - ], - [ - 'errorCode' => 'DuplicatedParam.Filter', - 'errorMessage' => 'The specified Filter(%s) parameter has a duplicate Key.', - ], - [ - 'errorCode' => 'IllegalParam.UserOwesFees', - 'errorMessage' => 'User (%s) is overdue.', - ], - [ - 'errorCode' => 'IllegalParam.UserNotActivated', - 'errorMessage' => 'User (%s) did not provision service.', - ], - [ - 'errorCode' => 'IncorrectStatus.TrafficAnalyzerId', - 'errorMessage' => 'TrafficAnalyzerId (%s) is not in a valid status.', - ], - [ - 'errorCode' => 'IllegalParam.CloudIp', - 'errorMessage' => 'The specified CloudIp(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.SourceIp', - 'errorMessage' => 'Please enter a valid source IP.', - ], - [ - 'errorCode' => 'IllegalParam.SourcePort', - 'errorMessage' => 'The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536].', - ], - [ - 'errorCode' => 'IllegalParam.DestinationPort', - 'errorMessage' => 'The specified DestinationPort(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.Protocol', - 'errorMessage' => 'The specified Protocol(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinBytes', - 'errorMessage' => 'The format of the specified parameter MinBytes(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxBytes', - 'errorMessage' => 'The format of the specified parameter MaxBytes(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinRoundTripTime', - 'errorMessage' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxRoundTripTime', - 'errorMessage' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinPackages', - 'errorMessage' => 'The format of the specified parameter MinPackages(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxPackages', - 'errorMessage' => 'The format of the specified parameter MaxPackages(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParam.TupleDimension', - 'errorMessage' => 'The specified TupleDimension(%s) argument is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.OrderBy', - 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime', - 'errorMessage' => 'The param of BeginTimeAndEndTime is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.DestinationIp', - 'errorMessage' => 'The specified ip(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxPacketsLostTTLExpired', - 'errorMessage' => 'The format of the specified parameter MaxPacketsLostTTLExpired(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinPacketsLostTTLExpired', - 'errorMessage' => 'The format of the specified parameter MinPacketsLostTTLExpired(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxPacketsLostNoRoute', - 'errorMessage' => 'The format of the specified parameter MaxPacketsLostNoRoute(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinPacketsLostNoRoute', - 'errorMessage' => 'The format of the specified parameter MinPacketsLostNoRoute(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxPacketsLostBlackhole', - 'errorMessage' => 'The format of the specified parameter MaxPacketsLostBlackhole(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinPacketsLostBlackhole', - 'errorMessage' => 'The format of the specified parameter MinPacketsLostBlackhole(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParam.Filter', - 'errorMessage' => 'The specified Filter parameter (%s) is illegal.', - ], - [ - 'errorCode' => 'MissingParam.TransitRouterAttachmentId', - 'errorMessage' => 'TransitRouterAttachmentId required in the specified Filter and GroupBy parameters.', - ], - [ - 'errorCode' => 'QuotaExceeded.CheckRowReadLimit', - 'errorMessage' => 'The query time range exceeds the read data rows quota %s. Shorten the query interval.', - ], - [ - 'errorCode' => 'MissingParam.TransitRouterId', - 'errorMessage' => 'When querying cross-region network connections, you need to specify the forwarding router ID.', - ], - [ - 'errorCode' => 'MissingParam.CbwpId', - 'errorMessage' => 'The CbwpId filtered during the query cannot be empty.', - ], - [ - 'errorCode' => 'ResourceNotFound.TrafficAnalyzerIdOneTupleDimension', - 'errorMessage' => 'The specified traffic analyzer does not have a corresponding one-element group storage configuration.', - ], + ['errorCode' => 'IncorrectStatus.InspectionTaskNotInactive', 'errorMessage' => 'The specified task InspectionTaskId(%s) is not closed and cannot be deleted.', 'description' => 'The specified task InspectionTaskId(%s) is not closed and cannot be deleted.'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound.TrafficAnalyzerId', - 'errorMessage' => 'The specified resource TrafficAnalyzerId(%s) does not exist.', - ], - [ - 'errorCode' => 'ResourceNotFound.NtaNotStorageBucket', - 'errorMessage' => 'The data source bound to the traffic analyzer does not have a corresponding storage configuration.', - ], + ['errorCode' => 'ResourceNotFound.InspectionTaskId', 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941\\",\\n \\"NisTrafficRankingId\\": \\"task-6462a7b4c4a54b****\\"\\n}","type":"json"}]', - ], - 'DescribeNisTrafficRanking' => [ - 'summary' => '查询流量分析topN异步任务结果', - 'methods' => [ - 'get', - 'post', + 'title' => 'DeleteNisInspectionTask', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'nis:DeleteNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'DescribeNisInspectionRecommendationResources' => [ + 'summary' => 'Queries the instances of abnormal items identified in an inspection report.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -667,404 +878,118 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREnetana5MCZ6K', - 'FEATUREnetanaOV20CD', - ], + 'abilityTreeCode' => '226209', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], ], 'parameters' => [ [ - 'name' => 'NisTrafficRankingId', + 'name' => 'InspectionReportId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'task-6462a7b4c4a54b****', - ], + 'schema' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'nir-ffd1af****196d0'."\n", 'title' => ''], + ], + [ + 'name' => 'RecommendationCode', + 'in' => 'query', + 'schema' => ['description' => 'The recommendation code for the abnormal item.', 'type' => 'string', 'required' => true, 'maxLength' => 64, 'minLength' => 1, 'example' => 'nat_snat_cross_az_warn', 'title' => ''], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+', - ], + 'schema' => ['description' => 'The token that is used to query the next page of results. Set this parameter to the NextToken value returned from the last API call.', 'type' => 'string', 'required' => false, 'example' => 'hKrS+MVXkuOgztXnvdml16/uO3mvCyHxSjzdhx9VRUC+8umDTIV2Wg9TTOUrR7ve', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'default' => '20', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'Language', + 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The language to use.', + 'type' => 'string', + 'enum' => ['zh-CN', 'en-US'], 'required' => false, - 'maximum' => '100', - 'minimum' => '20', - 'example' => '20', - 'default' => '20', + 'example' => 'zh-CN', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'RpcResponse<QueryNtaNetworkRankingModel>', - 'description' => 'RpcResponse<QueryNtaNetworkRankingModel>', + 'title' => 'RpcResponse<NextTokenResult<DescribeNisInspectionRecommendationResourcesResponse>>', + 'description' => 'RpcResponse\\<NextTokenResult\\<DescribeNisInspectionRecommendationResourcesResponse>>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941', - ], - 'FlowRankingList' => [ - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'ResourceList' => [ + 'description' => 'The list of resources.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'RegionId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'VpcId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vpc-m5ec6i0h5xss***', - ], - 'VSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2zeekevlh****', - ], - 'NetworkInterfaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eni-8vbf2jxul***', - ], - 'EcsId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-uf6i1zi6yhq7h***', - ], - 'TrafficPath' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'all', - ], - 'Direction' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'in' => 'in', - 'out' => 'out', - ], - 'example' => 'in', - ], - 'SourceIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '47.92.245.***', - ], - 'SourcePort' => [ - 'description' => '', - 'type' => 'string', - 'example' => '5432', - ], - 'DestinationIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '192.168.***.0', - ], - 'DestinationPort' => [ - 'description' => '', - 'type' => 'string', - 'example' => '23', - ], - 'Protocol' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'TCP', - ], - 'ClientCountry' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ClientProvince' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ClientCity' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ClientIsp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ClientAsn' => [ - 'description' => '', - 'type' => 'string', - 'example' => '45102', - ], - 'Bytes' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'Packets' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'RoundTripTime' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '2', - ], - 'BytesRate' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.2', - ], - 'PacketsLostNoRoute' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '2', - ], - 'PacketsLostBlackhole' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '4', - ], - 'PacketsLostTTLExpired' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '7', - ], - 'TransitRouterId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tr-2zefvwy2fz3444***', - ], - 'TransitRouterAttachmentId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tr-attach-bfde1cd4cj***', - ], - 'Dscp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'DestinationRegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'TransitRouterPairAttachmentId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tr-attach-okvj1cd4cjp***', - ], - 'TransitRouterSourceResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tr-attach-hvve1cd4cjpj***', - ], - 'TransitRouterSourceAccountId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1906814138***', - ], - 'TransitRouterDestinationResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tr-attach-bfve1cd4cjp****', - ], - 'TransitRouterDestinationAccountId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1906814138****', - ], - 'SourceRegionNo' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'TransitRouterSourceAvailableZone' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-j', - ], - 'TransitRouterDestinationAvailableZone' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-j', - ], - 'TransitRouterDestinationVSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-2zeekevlhxpqxu****', - ], - 'TransitRouterSourceVSwitchId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'vsw-ikfdkevlhxpqxuz****', - ], - 'TransitRouterSourceNetworkInterface' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eni-8vbf2jxulma***', - ], - 'TransitRouterDestinationNetworkInterface' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eni-fdbf2jxulm***', - ], - 'PublicIpAddress' => [ - 'description' => '', - 'type' => 'string', - 'example' => '118.31.***.86', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'eip-fb6wzjl9hm****', - ], - 'BindingResourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EIP_NAT', - ], - 'BindingResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-ufwerthgvc*****', - ], + 'ResourceId' => ['description' => 'The ID of the abnormal instance.', 'type' => 'string', 'example' => 'ngw-p0wn04hi4****q2us6q7q', 'title' => ''], + 'ResourceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'Public NAT gateway', 'title' => ''], + 'AnalysisData' => ['description' => 'The details of the abnormal item.', 'type' => 'string', 'example' => "\n" + .'{ResourceId: "ngw-p0wn04hi4****q2us6q7q"}', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'NisTrafficRankingId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task-7619ecb1db9148bab9f4', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Complete', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '72', - ], + 'NextToken' => ['description' => 'The token to start the next query.', 'type' => 'string', 'example' => 'qt0DqY2lXxwBt9/ROQoS/7J9p90D1vF2vFbwzb/1oSWr3AxcM6/KpObZ7Z1PZdcV', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '192', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of entries returned on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'InspectionReportId' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'example' => 'nir-ffd1af****196d0'."\n", 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'Forbidden.NoPermission', - 'errorMessage' => 'The authentication result is successful but the verification fails.', - ], - [ - 'errorCode' => 'IllegalParam.NextToken', - 'errorMessage' => 'The specified argument NextToken(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxBytes', - 'errorMessage' => 'The format of the specified parameter MaxBytes(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinBytes', - 'errorMessage' => 'The format of the specified parameter MinBytes(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxRoundTripTime', - 'errorMessage' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinRoundTripTime', - 'errorMessage' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MaxPackages', - 'errorMessage' => 'The format of the specified parameter MaxPackages(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParamFormat.MinPackages', - 'errorMessage' => 'The format of the specified parameter MinPackages(%s) is not legal.', - ], - [ - 'errorCode' => 'IllegalParam.UserOwesFees', - 'errorMessage' => 'User (%s) is overdue.', - ], - [ - 'errorCode' => 'IllegalParam.UserNotActivated', - 'errorMessage' => 'User (%s) did not provision service.', - ], + ['errorCode' => 'IllegalParam.NextToken', 'errorMessage' => 'The specified nextToken(%s) is invalid.', 'description' => 'The NextToken(%s) parameter is set to an invalid value.'], ], 403 => [ - [ - 'errorCode' => 'OperationDenied.NisTrafficRankingId', - 'errorMessage' => 'The specified parameter NisTrafficRankingId(%s) user does not have permission to operate.', - ], + ['errorCode' => 'Forbidden.InspectionReportId', 'errorMessage' => 'This user does not have permission to this report parameter (%s).', 'description' => 'This user does not have permission to this report parameter (%s).'], ], [ - [ - 'errorCode' => 'ResourceNotFound.NisTrafficRankingId', - 'errorMessage' => 'The specified parameter NisTrafficRankingId(%s) does not exist.', - ], + ['errorCode' => 'ResourceNotFound.InspectionReportId', 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.RecommendationCode', 'errorMessage' => 'The specified parameter RecommendationCode(%s) does not exist.', 'description' => 'The specified parameter RecommendationCode(%s) does not exist.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941\\",\\n \\"FlowRankingList\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"VpcId\\": \\"vpc-m5ec6i0h5xss***\\",\\n \\"VSwitchId\\": \\"vsw-2zeekevlh****\\",\\n \\"NetworkInterfaceId\\": \\"eni-8vbf2jxul***\\",\\n \\"EcsId\\": \\"i-uf6i1zi6yhq7h***\\",\\n \\"TrafficPath\\": \\"all\\",\\n \\"Direction\\": \\"in\\",\\n \\"SourceIp\\": \\"47.92.245.***\\",\\n \\"SourcePort\\": \\"5432\\",\\n \\"DestinationIp\\": \\"192.168.***.0\\",\\n \\"DestinationPort\\": \\"23\\",\\n \\"Protocol\\": \\"TCP\\",\\n \\"ClientCountry\\": \\"中国\\",\\n \\"ClientProvince\\": \\"香港特别行政区\\",\\n \\"ClientCity\\": \\"九龙\\",\\n \\"ClientIsp\\": \\"阿里云\\",\\n \\"ClientAsn\\": \\"45102\\",\\n \\"Bytes\\": 100,\\n \\"Packets\\": 100,\\n \\"RoundTripTime\\": 2,\\n \\"BytesRate\\": 0.2,\\n \\"PacketsLostNoRoute\\": 2,\\n \\"PacketsLostBlackhole\\": 4,\\n \\"PacketsLostTTLExpired\\": 7,\\n \\"TransitRouterId\\": \\"tr-2zefvwy2fz3444***\\",\\n \\"TransitRouterAttachmentId\\": \\"tr-attach-bfde1cd4cj***\\",\\n \\"Dscp\\": \\"0\\",\\n \\"DestinationRegionNo\\": \\"cn-hangzhou\\",\\n \\"TransitRouterPairAttachmentId\\": \\"tr-attach-okvj1cd4cjp***\\",\\n \\"TransitRouterSourceResourceId\\": \\"tr-attach-hvve1cd4cjpj***\\",\\n \\"TransitRouterSourceAccountId\\": \\"1906814138***\\",\\n \\"TransitRouterDestinationResourceId\\": \\"tr-attach-bfve1cd4cjp****\\",\\n \\"TransitRouterDestinationAccountId\\": \\"1906814138****\\",\\n \\"SourceRegionNo\\": \\"cn-hangzhou\\",\\n \\"TransitRouterSourceAvailableZone\\": \\"cn-hangzhou-j\\",\\n \\"TransitRouterDestinationAvailableZone\\": \\"cn-hangzhou-j\\",\\n \\"TransitRouterDestinationVSwitchId\\": \\"vsw-2zeekevlhxpqxu****\\",\\n \\"TransitRouterSourceVSwitchId\\": \\"vsw-ikfdkevlhxpqxuz****\\",\\n \\"TransitRouterSourceNetworkInterface\\": \\"eni-8vbf2jxulma***\\",\\n \\"TransitRouterDestinationNetworkInterface\\": \\"eni-fdbf2jxulm***\\",\\n \\"PublicIpAddress\\": \\"118.31.***.86\\",\\n \\"InstanceId\\": \\"eip-fb6wzjl9hm****\\",\\n \\"BindingResourceType\\": \\"EIP_NAT\\",\\n \\"BindingResourceId\\": \\"ngw-ufwerthgvc*****\\"\\n }\\n ],\\n \\"NisTrafficRankingId\\": \\"task-7619ecb1db9148bab9f4\\",\\n \\"Status\\": \\"Complete\\",\\n \\"NextToken\\": \\"LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 72\\n}","type":"json"}]', - ], - 'GetNisNetworkRanking' => [ - 'summary' => '获取云网络指标排名', - 'methods' => [ - 'get', - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"ResourceList\\": [\\n {\\n \\"ResourceId\\": \\"ngw-p0wn04hi4****q2us6q7q\\",\\n \\"ResourceName\\": \\"Public NAT gateway\\",\\n \\"AnalysisData\\": \\"\\\\n{ResourceId: \\\\\\"ngw-p0wn04hi4****q2us6q7q\\\\\\"}\\"\\n }\\n ],\\n \\"NextToken\\": \\"qt0DqY2lXxwBt9/ROQoS/7J9p90D1vF2vFbwzb/1oSWr3AxcM6/KpObZ7Z1PZdcV\\",\\n \\"TotalCount\\": 192,\\n \\"MaxResults\\": 20,\\n \\"InspectionReportId\\": \\"nir-ffd1af****196d0\\\\n\\"\\n}","type":"json"}]', + 'title' => 'DescribeNisInspectionRecommendationResources', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionRecommendationResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'translator' => 'manual', + ], + 'DescribeNisInspectionReportCheckItems' => [ + 'summary' => 'Describes the details of check items in an inspection report.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1073,580 +998,1229 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '222984', - 'abilityTreeNodes' => [ - 'FEATUREnetana5MCZ6K', - 'FEATUREnetanaOV20CD', - 'FEATUREnetanaB9LIVJ', - 'FEATUREnetanaCEA895', - ], + 'abilityTreeCode' => '226206', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], ], 'parameters' => [ [ - 'name' => 'RegionNo', + 'name' => 'InspectionReportId', 'in' => 'query', - 'schema' => [ - 'title' => '资源所在地域。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'nir-ffd1af****196d0', 'title' => ''], ], [ 'name' => 'ResourceType', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '按流量转发所使用的阿里云网络资源类型进行分析,枚举如下:'."\n" - .'AccessInternetIPV4:所有阿里云公网类型IPV4。'."\n" - .'AccessInternetIPV4Limited:所有受地域限速的阿里云公网类型IPV4。'."\n" - .'ElasticIP: 弹性公网EIP(IPV4)。'."\n" - .'PublicIpEcs: 绑定在ECS的固定公网IP(IPV4)。'."\n" - .'PublicIpClb: 绑定在CLB的固定公网IP(IPV4)。'."\n" - .'GA:全球加速。'."\n" - .'NAT:通过SNAT的访问公网流量。'."\n" - .'TR:流经云企业网转发路由器的流量。'."\n" - .'TRAttachment:流经云企业网连接实例的流量,包括地域内连接和跨地域连接。'."\n" - .'VBR:流经边界路由器的流量。'."\n" - .'GA:流经全球加速的流量。'."\n" - .'ECR:流经ECR的流量。'."\n" - .'VPC:流经VPC的流量。'."\n" - .'InternetProbing: 公网探测数据。'."\n" - .'IntranetProbing: 内网探测数据。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'AccessInternetIpV4', - 'enum' => [ - 'AccessInternetIpV4', - 'AccessInternetIpV4Limited', - 'ElasticIP', - 'PublicIpEcs', - 'PublicIpClb', - 'NAT', - 'TR', - 'TRAttachment', - 'VBR', - 'GA', - 'ECR', - 'VPC', - 'InternetProbing', - 'IntranetProbing', + 'description' => 'The resource type.', + 'type' => 'array', + 'items' => [ + 'description' => 'The type of the associated resource.', + 'enumValueTitles' => ['NAT' => '', 'VPN' => '', 'NLB' => '', 'VBR' => '', 'ALB' => '', 'CLB' => '', 'EIP' => '', 'TR' => ''], + 'type' => 'string', + 'maxLength' => 32, + 'minLength' => 1, + 'required' => false, + 'example' => 'NAT', + 'title' => '', ], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'Direction', + 'name' => 'CategoryCode', 'in' => 'query', 'schema' => [ - 'title' => '基于阿里云资源的网络流量方向:'."\n" - .'in:流入资源的流量方向。'."\n" - .'out:流出资源的流量方向。'."\n" - .'跨域流量分析因只采集出向流量,所以传入in也以out处理。'."\n" - .'地域内性能观测和地域间性能观测因需在Filter内指定源或目的,所以可以任意指定Direction。', - 'description' => '', + 'description' => 'The category of the check item.', 'type' => 'string', - 'required' => true, - 'example' => 'in', - 'enum' => [ - 'in', - 'out', - ], + 'enum' => ['cost_optimizing', 'performance', 'security', 'stability', 'operational_excellence'], + 'required' => false, + 'example' => 'stability', + 'title' => '', ], ], [ - 'name' => 'GroupBy', + 'name' => 'RiskLevel', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '指定指标排名的维度,通用枚举如下:'."\n" - .' Tuple1:表示一元组,按资源端IP粒度聚合流量进行分析。'."\n" - .' Tuple2:表示二元组,按流的源目IP聚合进行分析。'."\n" - .' Tuple5:表示五元组,按流的源目IP、端口和协议进行分析。'."\n" - .' Protocol: 按协议类型维度进行聚合分析。'."\n" - .' SourcePort: 按源端口维度进行聚合分析。'."\n" - .' DestinationPort: 按目的端口维度进行聚合分析。'."\n" - .' InstanceId:按云上实例ID进行聚合分析。'."\n" - .'在公网流量分析场景,支持按互联网位置分布进行聚合排序,枚举值有:'."\n" - .' IpPair:按源和目的IP进行聚合分析。'."\n" - .' Country:按客户端国家维度进行聚合分析。'."\n" - .' City:按客户端城市维度进行聚合分析。'."\n" - .' ISP:按客户端运营商维度进行聚合分析。'."\n" - .' ASN:按客户端运营商ASN维度进行聚合分析。'."\n" - .' CityASN:按客户端城市和运营商维度进行聚合分析。'."\n" - .'在跨域流量分析场景,支持的枚举有:'."\n" - .' RegionPair:按云企业网联通的两端Region进行聚合分析。'."\n" - .'在NAT流量分析场景,支持的枚举有:'."\n" - .' IP:按ECS私网IP维度聚合分析。'."\n" - .'在公网探测场景,支持的枚举有:'."\n" - .' CountryIsp:按探测国家和探测运营商进行聚合分析。'."\n" - .' Province:按探测省份进行聚合分析。'."\n" - .' ProvinceIsp:按探测省份和探测运营商进行聚合分析。'."\n" - .'在云上内网探测场景,支持的枚举有:'."\n" - .' RegionPair:按探测地域对进行聚合分析。'."\n" - .' ZonePair:按某个地域内可用区对进行聚合分析。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Protocol', - 'enum' => [ - 'Tuple1', - 'Tuple2', - 'Tuple5', - 'Protocol', - 'SourcePort', - 'DestinationPort', - 'Country', - 'City', - 'ASN', - 'CityASN', - 'RegionPair', - 'InstanceId', - 'Ip', - 'CountryIsp', - 'ZonePair', - 'ISP', - 'IpPair', - 'Province', - 'ProvinceIsp', + 'description' => 'A collection of risk levels.', + 'type' => 'array', + 'items' => [ + 'description' => 'The risk level. If you do not specify this parameter, check items of all risk levels are returned. Valid values:'."\n" + ."\n" + .'- **HighRisk**: high risk'."\n" + ."\n" + .'- **MediumRisk**: medium risk'."\n" + ."\n" + .'- **LowRisk**: low risk'."\n" + ."\n" + .'- **NoRisk**: no risk', + 'type' => 'string', + 'enum' => ['HighRisk', 'MediumRisk', 'LowRisk', 'NoRisk'], + 'required' => false, + 'example' => 'HighRisk', + 'title' => '', ], + 'required' => false, + 'maxItems' => 20, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'OrderBy', + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token that is used in the next request to retrieve a new page of results. Set this parameter to the NextToken value returned from the previous call.', 'type' => 'string', 'required' => false, 'example' => 'hKrS+MVXkuOgztXnvdml16/uO3mvCyHxSjzdhx9VRUC+8umDTIV2Wg9TTOUrR7ve', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return on each page. Maximum value: 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'default' => '20', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'Language', 'in' => 'query', 'schema' => [ - 'title' => '指定公网流量进行排名的指标。大小写敏感。'."\n" - .' bps:每秒比特数。'."\n" - .' pps:每秒包数。'."\n" - .' ByteCount:累计字节数。'."\n" - .' PacketCount:累计包数。'."\n" - .'公网场景特有参数:'."\n" - .' rtt:tcp协议建立连接时的往返延迟。'."\n" - .' RetransmitRate:重传率。'."\n" - .'区域级限速场景特有参数:'."\n" - .' RatelimitDropPps:限速丢包速率。'."\n" - .'NAT场景特有参数:'."\n" - .' ActiveSessionCount:并发会话数。'."\n" - .' NewSessionPerSecond:每秒新建会话数。', - 'description' => '', + 'description' => 'The language of the content. Valid values: zh-CN and en-US.', 'type' => 'string', - 'required' => true, - 'example' => 'bps', - 'enum' => [ - 'rtt', - 'bps', - 'pps', - 'RetransmitRate', - 'ActiveSessionCount', - 'NewSessionPerSecond', - 'RatelimitDropPps', - 'ByteCount', - 'PacketCount', - ], + 'enum' => ['zh-CN', 'en-US'], + 'title' => '', + 'required' => false, + 'example' => 'zh-CN', ], ], - [ - 'name' => 'Filter', - 'in' => 'query', - 'style' => 'json', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '支持进一步指定流量的过滤条件,进行聚焦性流量分析。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'instanceId', - ], - 'Value' => [ + 'title' => 'RpcResponse<NextTokenResult<DescribeNisInspectionReportCheckItemsResponse>>', + 'description' => 'RpcResponse\\<NextTokenResult>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', 'title' => ''], + 'CheckItemList' => [ + 'description' => 'The list of check items.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceType' => ['description' => 'The resource type associated with the check item.', 'type' => 'string', 'example' => 'NAT', 'title' => ''], + 'CategoryCode' => ['description' => 'The category of the check item.', 'type' => 'string', 'example' => 'stability', 'title' => ''], + 'CheckItemCode' => ['description' => 'The code of the check item.', 'type' => 'string', 'example' => 'item_nat_water_level_check', 'title' => ''], + 'Description' => ['description' => 'The description of the check item.', 'type' => 'string', 'example' => '无', 'title' => ''], + 'CheckResultList' => [ + 'description' => 'The list of check results that indicates the number of risks at each risk level.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => 'The risk level. Valid values:'."\n" + ."\n" + .'- **HighRisk**'."\n" + ."\n" + .'- **MediumRisk**'."\n" + ."\n" + .'- **LowRisk**'."\n" + ."\n" + .'- **NoRisk**', 'type' => 'string', 'example' => 'LowRisk', 'title' => ''], + 'Count' => ['description' => 'The number of risks at the specified risk level in the inspection report.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RecommendationList' => [ + 'description' => 'The list of results for abnormal check items.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => 'The risk level. Valid values:'."\n" + ."\n" + .'- **HighRisk**'."\n" + ."\n" + .'- **MediumRisk**'."\n" + ."\n" + .'- **LowRisk**'."\n" + ."\n" + .'- **NoRisk**', 'type' => 'string', 'example' => 'LowRisk', 'title' => ''], + 'RecommendationCode' => ['description' => 'The inspection item is abnormal.', 'type' => 'string', 'example' => 'nat_snat_cross_az_warn', 'title' => ''], + 'Abnormality' => ['description' => 'The description of the abnormal item.', 'type' => 'string', 'example' => 'Multiple cross-zone resources share a single NAT gateway.', 'title' => ''], + 'Reason' => ['description' => 'The cause of the abnormality.', 'type' => 'string', 'example' => 'Multiple cross-zone resources share a single NAT gateway.', 'title' => ''], + 'Suggestion' => ['description' => 'The optimization suggestions.', 'type' => 'string', 'example' => 'Deploy NAT gateways in all zones where resources reside.', 'title' => ''], + 'Metadata' => ['description' => 'The metadata of the resource that corresponds to the abnormal item.', 'type' => 'string', 'example' => '{"Columns":[{"ColumnType":"id","ColumnTitle":"Resource ID","ColumnValue":"ResourceId"},{"ColumnType":"az","ColumnTitle":"NAT Deployment Zone","ColumnValue":"NatAZ"},{"ColumnType":"array.az","ColumnTitle":"Resource Deployment Zone","ColumnValue":"ForwardsAZs"},{"ColumnType":"region","ColumnTitle":"Region","ColumnValue":"RegionNo"}]}', 'title' => ''], + 'ReasonCode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SuggestionCode' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'CheckItemName' => ['description' => 'The name of the check item.', 'type' => 'string', 'example' => 'NAT high-availability deployment check', 'title' => ''], + 'DescriptionCode' => ['type' => 'string', 'example' => 'item_ep_high_availability_check_description', 'description' => '', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-2zxxxxz1d', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'required' => false, + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.', 'type' => 'string', 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'InspectionReportId' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'example' => 'nir-ffd1af****196d0', 'title' => ''], ], - 'required' => false, + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IncorrectStatus.InspectionReportNotFinish', 'errorMessage' => 'The specified task report InspectionReportId(%s) has not been completed.', 'description' => 'The specified task report InspectionReportId(%s) has not been completed.'], + ['errorCode' => 'IllegalParam.ResourceType', 'errorMessage' => 'The specified resourceType (%s) is invalid.', 'description' => 'The value of ResourceType is invalid.'], + ['errorCode' => 'IllegalParam.RiskLevel', 'errorMessage' => 'The specified argument RiskLevel(%s) is illegal.', 'description' => 'The specified argument RiskLevel(%s) is illegal.'], + ['errorCode' => 'IllegalParam.NextToken', 'errorMessage' => 'The specified nextToken(%s) is invalid.', 'description' => 'The NextToken(%s) parameter is set to an invalid value.'], + ['errorCode' => 'IllegalParam.UnsupportedResourceType', 'errorMessage' => 'The specified parameter ResourceType(%s) is invalid, with a resource type that is not currently supported.', 'description' => 'The specified parameter ResourceType(%s) is invalid, with a resource type that is not currently supported.'], + ], + 403 => [ + ['errorCode' => 'Forbidden.InspectionReportId', 'errorMessage' => 'This user does not have permission to this report parameter (%s).', 'description' => 'This user does not have permission to this report parameter (%s).'], + ], [ - 'name' => 'BeginTime', - 'in' => 'query', - 'schema' => [ - 'title' => '起始时间戳,单位毫秒。未指定时默认查最近1小时。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '253402271999000', - 'minimum' => '0', - 'example' => '1684373600099', - ], + ['errorCode' => 'ResourceNotFound.InspectionReportId', 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', 'description' => ''], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"CheckItemList\\": [\\n {\\n \\"ResourceType\\": \\"NAT\\",\\n \\"CategoryCode\\": \\"stability\\",\\n \\"CheckItemCode\\": \\"item_nat_water_level_check\\",\\n \\"Description\\": \\"无\\",\\n \\"CheckResultList\\": [\\n {\\n \\"RiskLevel\\": \\"LowRisk\\",\\n \\"Count\\": 0\\n }\\n ],\\n \\"RecommendationList\\": [\\n {\\n \\"RiskLevel\\": \\"LowRisk\\",\\n \\"RecommendationCode\\": \\"nat_snat_cross_az_warn\\",\\n \\"Abnormality\\": \\"Multiple cross-zone resources share a single NAT gateway.\\",\\n \\"Reason\\": \\"Multiple cross-zone resources share a single NAT gateway.\\",\\n \\"Suggestion\\": \\"Deploy NAT gateways in all zones where resources reside.\\",\\n \\"Metadata\\": \\"{\\\\\\"Columns\\\\\\":[{\\\\\\"ColumnType\\\\\\":\\\\\\"id\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"Resource ID\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"ResourceId\\\\\\"},{\\\\\\"ColumnType\\\\\\":\\\\\\"az\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"NAT Deployment Zone\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"NatAZ\\\\\\"},{\\\\\\"ColumnType\\\\\\":\\\\\\"array.az\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"Resource Deployment Zone\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"ForwardsAZs\\\\\\"},{\\\\\\"ColumnType\\\\\\":\\\\\\"region\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"Region\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"RegionNo\\\\\\"}]}\\",\\n \\"ReasonCode\\": \\"\\",\\n \\"SuggestionCode\\": \\"\\"\\n }\\n ],\\n \\"CheckItemName\\": \\"NAT high-availability deployment check\\",\\n \\"DescriptionCode\\": \\"item_ep_high_availability_check_description\\"\\n }\\n ],\\n \\"NextToken\\": \\"hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj\\",\\n \\"TotalCount\\": 11,\\n \\"MaxResults\\": 20,\\n \\"InspectionReportId\\": \\"nir-ffd1af****196d0\\"\\n}","type":"json"}]', + 'title' => 'DescribeNisInspectionReportCheckItems', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间戳,单位毫秒。未指定时默认查最近1小时。只指定了BeginTime时查BeginTime之后的1小时。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '253402271999000', - 'minimum' => '0', - 'example' => '1684379093000', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionReportCheckItems', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'translator' => 'manual', + ], + 'DescribeNisInspectionReportStatus' => [ + 'summary' => 'Describes the status of an inspection report.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Sort', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226204', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], + ], + 'parameters' => [ + [ + 'name' => 'InspectionReportId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'nir-2ca527b8de114ba4afb9', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '排序方式,'."\n" - .'asc:按正序排序。'."\n" - .'desc:按逆序排序。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'default' => 'desc', - 'enum' => [ - 'asc', - 'desc', + 'title' => 'RpcResponse<DescribeNisInspectionReportStatusResponse>', + 'description' => 'RpcResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'InspectionReportId' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'example' => 'nir-2ca527b8de114ba4afb9', 'title' => ''], + 'InspectionTaskId' => ['description' => 'The ID of the inspection task.', 'type' => 'string', 'example' => 'ni-8svmpe0yso****r7fh79', 'title' => ''], + 'Status' => [ + 'description' => 'The status of the inspection report.', + 'enumValueTitles' => ['Failed' => 'Failed.', 'Finish' => 'Finished.', 'On-going' => 'In progress.'], + 'type' => 'string', + 'example' => 'Finish', + 'title' => '', + ], + 'StartTime' => ['description' => 'The start time.', 'type' => 'string', 'example' => '2024-07-18 15:12:28', 'title' => ''], + 'EndTime' => ['description' => 'The end time.', 'type' => 'string', 'example' => '2024-07-18 15:13:07', 'title' => ''], + 'InspectionProject' => [ + 'description' => 'The type of inspection plan used for the task.', + 'enumValueTitles' => ['customized' => 'Custom scenario.', 'basic' => 'Basic scenario.'], + 'type' => 'string', + 'example' => 'basic', + 'title' => '', + ], + 'InspectionTaskName' => ['description' => 'The name of the inspection task.', 'type' => 'string', 'example' => 'Default', 'title' => ''], ], + 'example' => '', ], ], + ], + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'Forbidden.InspectionReportId', 'errorMessage' => 'This user does not have permission to this report parameter (%s).', 'description' => 'This user does not have permission to this report parameter (%s).'], + ], [ - 'name' => 'TopN', - 'in' => 'query', - 'schema' => [ - 'title' => '展示排序靠前的数据。默认值:10。表示默认展示排序前 10 的数据。最大值:100。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + ['errorCode' => 'ResourceNotFound.InspectionReportId', 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', 'description' => ''], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionReportId\\": \\"nir-2ca527b8de114ba4afb9\\",\\n \\"InspectionTaskId\\": \\"ni-8svmpe0yso****r7fh79\\",\\n \\"Status\\": \\"Finish\\",\\n \\"StartTime\\": \\"2024-07-18 15:12:28\\",\\n \\"EndTime\\": \\"2024-07-18 15:13:07\\",\\n \\"InspectionProject\\": \\"basic\\",\\n \\"InspectionTaskName\\": \\"Default\\"\\n}","type":"json"}]', + 'title' => 'DescribeNisInspectionReportStatus', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'UseCrossAccount', - 'in' => 'query', - 'schema' => [ - 'title' => '是否使用多账号访问模式', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionReportStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'translator' => 'manual', + ], + 'DescribeNisInspectionReportSummary' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AccountIds', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226211', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], + ], + 'parameters' => [ + [ + 'name' => 'InspectionReportId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '显式传递子账号ID', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"118639953821****\\"]', - ], - 'required' => false, - 'maxItems' => 10, - ], + 'schema' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'nir-38abb318b27b49cc9a01', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'RpcResponse<ArrayList<PublicFlowlogMetricModel>>', - 'description' => 'RpcResponse<ArrayList<PublicFlowlogMetricModel>>', + 'title' => 'RpcResponse<DescribeNisInspectionReportSummaryResponse>', + 'description' => 'RpcResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4838F3F2-30E1-5D82-B25A-B9FE33BC3E25', 'title' => ''], + 'InspectionReportId' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'example' => 'nir-38abb318b27b49cc9a01', 'title' => ''], + 'InspectionTaskId' => ['description' => 'The ID of the inspection task.', 'type' => 'string', 'example' => 'ni-8svmpe0yso2bhzr7fh79', 'title' => ''], + 'Status' => [ + 'description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'- Creating'."\n" + ."\n" + .'- Active'."\n" + ."\n" + .'- Running'."\n" + ."\n" + .'- Inactive', + 'enumValueTitles' => ['Creating' => 'Being created.', 'Active' => 'Enabled.', 'Running' => 'In progress.', 'Inactive' => 'Disabled.'], 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', + 'example' => 'Active', + 'title' => '', ], - 'Data' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RegionNo' => [ - 'title' => '阿里云地域ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'InstanceId' => [ - 'title' => '各场景下表示对应的云上资源实例ID,如跨域流量分析场景表示CenID,公网场景表示EipId、EcsId、ClbId等。', - 'description' => '', - 'type' => 'string', - 'example' => 'eip-sample*', - ], - 'BandwidthPackageId' => [ - 'title' => '带宽包实例ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'cbwp-sample*', - ], - 'SourceIp' => [ - 'title' => '源端IP。', - 'description' => '', - 'type' => 'string', - 'example' => '42.120.XX.XX', - ], - 'SourcePort' => [ - 'title' => '源端端口。', - 'description' => '', - 'type' => 'string', - 'example' => '443', - ], - 'SourceIsp' => [ - 'title' => '源端运营商。', - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'DestinationIp' => [ - 'title' => '目的端IP。', - 'description' => '', - 'type' => 'string', - 'example' => '2.2.XX.XX', - ], - 'DestinationPort' => [ - 'title' => '目的端端口。', - 'description' => '', - 'type' => 'string', - 'example' => '80', - ], - 'DestinationIsp' => [ - 'title' => '目的端运营商。', - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Protocol' => [ - 'title' => '网络协议。', - 'description' => '', - 'type' => 'string', - 'example' => '6', - ], - 'Country' => [ - 'title' => '客户端所在国家。', - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Province' => [ - 'title' => '客户端所在省份/州。', + 'StartTime' => ['description' => 'The start time.', 'type' => 'string', 'example' => '2024-06-03 09:35:00', 'title' => ''], + 'EndTime' => ['description' => 'The end time.', 'type' => 'string', 'example' => '2024-06-03 09:36:00'."\n", 'title' => ''], + 'Summary' => [ + 'description' => 'The summary information.', + 'type' => 'object', + 'properties' => [ + 'CheckItemCount' => ['description' => 'The number of inspection items.', 'type' => 'integer', 'format' => 'int32', 'example' => '11', 'title' => ''], + 'CheckResourceCount' => ['description' => 'The number of inspected resources.', 'type' => 'integer', 'format' => 'int32', 'example' => '123', 'title' => ''], + 'PassRateSummary' => [ + 'description' => 'The pass rate summary.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PassRateScope' => [ + 'description' => 'The scope of the pass rate.', + 'enumValueTitles' => ['Stability' => 'Stability.', 'Total' => 'Overall.'], + 'type' => 'string', + 'example' => 'Stability', + 'title' => '', + ], + 'PassRate' => ['description' => 'The pass rate.', 'type' => 'number', 'format' => 'double', 'example' => '0.98', 'title' => ''], + ], 'description' => '', - 'type' => 'string', + 'title' => '', 'example' => '', ], - 'City' => [ - 'title' => '客户端所在的城市。', - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Isp' => [ - 'title' => '客户端运营商。', + 'title' => '', + 'example' => '', + ], + 'RiskSummary' => [ + 'description' => 'The risk summary.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RiskType' => [ + 'description' => 'The risk type.', + 'enumValueTitles' => ['StabilityRisk' => 'Stability risk.', 'TotalRisk' => 'Overall risk.'], + 'type' => 'string', + 'example' => 'StabilityRisk', + 'title' => '', + ], + 'RiskLevel' => [ + 'description' => 'The risk level.', + 'enumValueTitles' => ['LowRisk' => 'Low risk.', 'HighRisk' => 'High risk.', 'MediumRisk' => 'Medium risk.', 'NoRisk' => 'No risk.'], + 'type' => 'string', + 'example' => 'HighRisk', + 'title' => '', + ], + 'RiskCount' => ['description' => 'The number of risks.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'ResourceCount' => ['description' => 'The number of resources associated with the risk.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + ], 'description' => '', - 'type' => 'string', + 'title' => '', 'example' => '', ], - 'Asn' => [ - 'title' => '客户端运营商的自治系统编号。', - 'description' => '', - 'type' => 'string', - 'example' => '129103', - ], - 'IP' => [ - 'title' => 'IP地址。', - 'description' => '', - 'type' => 'string', - 'example' => '120.238.XX.XX', - ], - 'DestinationRegionNo' => [ - 'title' => '目的端地域ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'VbrId' => [ - 'title' => '边界路由器实例ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'vbr-sample*', - ], - 'AttachmentId' => [ - 'title' => '转发路由器链接ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'tr-sample*', - ], - 'SourceZone' => [ - 'title' => '探测的源可用区。', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-a', - ], - 'DestinationZone' => [ - 'title' => '探测的目的可用区。', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'ByteCount' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '1024', - ], - 'PacketCount' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '66', - ], - 'RTT' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '23', - ], - 'RetransmitRate' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.1', - ], - 'InBps' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - 'InPps' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '3', - ], - 'OutBps' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '88', - ], - 'OutPps' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '8', - ], - 'NewSessionPerSecond' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '18', - ], - 'ActiveSessionCount' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '66', - ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime', - 'errorMessage' => 'It only supports querying data for up to 24 hours: %s.', - ], - [ - 'errorCode' => 'OperationFailed.DataTooMuch', - 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', - ], - [ - 'errorCode' => 'IllegalParam.OrderBy', - 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.ResourceType', - 'errorMessage' => 'The specified resourceType (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.GroupBy', - 'errorMessage' => 'The specified param of GroupBy (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.Direction', - 'errorMessage' => 'The specified direction (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.Filter.InstanceId', - 'errorMessage' => 'The specified InstanceId(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime5M', - 'errorMessage' => 'It only supports querying data for up to 5 minute when TupleType is 5 and the CloudIp and OtherIp are both empty: %s.', + 403 => [ + ['errorCode' => 'Forbidden.InspectionReportId', 'errorMessage' => 'This user does not have permission to this report parameter (%s).', 'description' => 'This user does not have permission to this report parameter (%s).'], + ], + [ + ['errorCode' => 'ResourceNotFound.InspectionReportId', 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', 'description' => ''], + ], + ], + 'title' => 'DescribeNisInspectionReportSummary', + 'summary' => 'Queries an inspection report summary.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionReportSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'IllegalParam.ServiceOffline', - 'errorMessage' => 'The service has been taken offline.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4838F3F2-30E1-5D82-B25A-B9FE33BC3E25\\",\\n \\"InspectionReportId\\": \\"nir-38abb318b27b49cc9a01\\",\\n \\"InspectionTaskId\\": \\"ni-8svmpe0yso2bhzr7fh79\\",\\n \\"Status\\": \\"Active\\",\\n \\"StartTime\\": \\"2024-06-03 09:35:00\\",\\n \\"EndTime\\": \\"2024-06-03 09:36:00\\\\n\\",\\n \\"Summary\\": {\\n \\"CheckItemCount\\": 11,\\n \\"CheckResourceCount\\": 123,\\n \\"PassRateSummary\\": [\\n {\\n \\"PassRateScope\\": \\"Stability\\",\\n \\"PassRate\\": 0.98\\n }\\n ],\\n \\"RiskSummary\\": [\\n {\\n \\"RiskType\\": \\"StabilityRisk\\",\\n \\"RiskLevel\\": \\"HighRisk\\",\\n \\"RiskCount\\": 3,\\n \\"ResourceCount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeNisInspectionTask' => [ + 'summary' => 'Queries the details of an inspection task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'abilityTreeCode' => '227206', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], + ], + 'parameters' => [ + [ + 'name' => 'InspectionTaskId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the inspection task.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'ni-8svmpe0yso2bhzr7fh79', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'RpcResponse<DescribeNisInspectionTaskResponse>', + 'description' => 'RpcResponse', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'InspectionTaskId' => ['description' => 'The ID of the inspection task.', 'type' => 'string', 'example' => 'ni-8svmpe0yso2bhzr7fh79', 'title' => ''], + 'InspectionName' => ['description' => 'The name of the inspection task.', 'type' => 'string', 'example' => 'Default', 'title' => ''], + 'Status' => ['description' => 'The running status of the task.'."\n" + ."\n" + .'Creating'."\n" + ."\n" + .'Active'."\n" + ."\n" + .'Running'."\n" + ."\n" + .'Inactive', 'type' => 'string', 'example' => 'Active', 'title' => ''], + 'InspectionProject' => ['description' => 'The type of inspection plan for the task. Valid values: basic and customized.', 'type' => 'string', 'example' => 'basic', 'title' => ''], + 'InspectionTriggerTime' => ['description' => 'The time when the inspection task was triggered.', 'type' => 'string', 'example' => '2024-07-01 15:15:57', 'title' => ''], + 'InspectionInterval' => ['description' => 'The inspection interval. The unit is **day**.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'LastUpdateReportId' => ['description' => 'The ID of the latest report.', 'type' => 'string', 'example' => 'nir-7c3dd178738a429abe6d', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2024-07-01 10:00:57'."\n", 'title' => ''], + 'LastUpdateTime' => ['description' => 'The time when the task was last updated.', 'type' => 'string', 'example' => '2024-07-01 10:00:59', 'title' => ''], + 'CheckResourceList' => [ + 'description' => 'The configuration of the inspected resources.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'EIP', 'title' => ''], + 'CheckScope' => [ + 'description' => 'The inspection rule.', + 'enumValueTitles' => ['Whitelist' => 'Allowlist.', 'BlackList' => 'Blocklist.', 'CheckAll' => 'All instances of the resource type are fully managed.'], + 'type' => 'string', + 'example' => 'CheckAll', + 'title' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'enumValueTitles' => [], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [ 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified InstanceId(%s) does not exist.', + ['errorCode' => 'ResourceNotFound.InspectionTaskId', 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', 'description' => ''], + ], + ], + 'title' => 'DescribeNisInspectionTask', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'ResourceNotFound.IpSets', - 'errorMessage' => 'The specified instance does not exist or does not have any acceleration region.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionTaskId\\": \\"ni-8svmpe0yso2bhzr7fh79\\",\\n \\"InspectionName\\": \\"Default\\",\\n \\"Status\\": \\"Active\\",\\n \\"InspectionProject\\": \\"basic\\",\\n \\"InspectionTriggerTime\\": \\"2024-07-01 15:15:57\\",\\n \\"InspectionInterval\\": \\"1\\",\\n \\"LastUpdateReportId\\": \\"nir-7c3dd178738a429abe6d\\",\\n \\"CreateTime\\": \\"2024-07-01 10:00:57\\\\n\\",\\n \\"LastUpdateTime\\": \\"2024-07-01 10:00:59\\",\\n \\"CheckResourceList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\",\\n \\"CheckScope\\": \\"CheckAll\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNisTrafficRanking' => [ + 'summary' => 'Query traffic ranking analysis results in Network Intelligence Service (NIS).', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREnetana5MCZ6K', 'FEATUREnetanaOV20CD'], + ], + 'parameters' => [ + [ + 'name' => 'NisTrafficRankingId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the traffic ranking analysis, returned by the `StartNisTrafficRanking` operation.', 'type' => 'string', 'required' => true, 'example' => 'task-6462a7b4c4a54b****', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The pagination token to retrieve the next page of results. Set this parameter to the `NextToken` value from the previous response.', 'type' => 'string', 'required' => false, 'example' => '2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100. Default: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '20', 'default' => '20', 'required' => false, 'example' => '20', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941', 'title' => ''], + 'FlowRankingList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region where the flow log resides.'."\n" + ."\n" + .'- This parameter is returned only for VPC flow log analysis.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'VpcId' => ['description' => 'The ID of the virtual private cloud (VPC).'."\n" + ."\n" + .'- This parameter is returned only for VPC flow log analysis.', 'type' => 'string', 'example' => 'vpc-m5ec6i0h5xss***', 'title' => ''], + 'VSwitchId' => ['description' => 'The ID of the vSwitch.'."\n" + ."\n" + .'- This parameter is returned only for VPC flow log analysis.', 'type' => 'string', 'example' => 'vsw-2zeekevlh****', 'title' => ''], + 'NetworkInterfaceId' => ['description' => 'The ID of the elastic network interface (ENI).'."\n" + ."\n" + .'- This parameter is returned only for VPC flow log analysis.', 'type' => 'string', 'example' => 'eni-8vbf2jxul***', 'title' => ''], + 'EcsId' => ['description' => 'The ID of the ECS instance for the management node.'."\n" + ."\n" + .'- This parameter is returned only for VPC flow log analysis.', 'type' => 'string', 'example' => 'i-uf6i1zi6yhq7h***', 'title' => ''], + 'TrafficPath' => ['description' => 'The traffic path.'."\n" + ."\n" + .'- This parameter is returned only for 2-tuple and 5-tuple analysis of VPC flow logs.', 'type' => 'string', 'example' => 'all', 'title' => ''], + 'Direction' => [ + 'description' => 'The direction of traffic relative to an Alibaba Cloud network resource. Valid values:'."\n" + ."\n" + .'- **in**: inbound traffic'."\n" + ."\n" + .'- **out**: outbound traffic', + 'enumValueTitles' => ['in' => 'in', 'out' => 'out'], + 'type' => 'string', + 'example' => 'in', + 'title' => '', + ], + 'SourceIp' => ['description' => 'The source IP address.'."\n" + ."\n" + .'- This parameter is returned only for 2-tuple analysis of traffic on Transit Routers (TRs) and in VPCs.', 'type' => 'string', 'example' => '47.92.245.***', 'title' => ''], + 'SourcePort' => ['description' => 'The source port.'."\n" + ."\n" + .'- This parameter is returned only for 5-tuple analysis of traffic on TRs and in VPCs.', 'type' => 'string', 'example' => '5432', 'title' => ''], + 'DestinationIp' => ['description' => 'The destination IP address.'."\n" + ."\n" + .'- This parameter is returned only for 2-tuple analysis of traffic on TRs and in VPCs.', 'type' => 'string', 'example' => '192.168.***.0', 'title' => ''], + 'DestinationPort' => ['description' => 'The destination port.'."\n" + ."\n" + .'- This parameter is returned only for 5-tuple analysis of traffic on TRs and in VPCs.', 'type' => 'string', 'example' => '23', 'title' => ''], + 'Protocol' => ['description' => 'The network protocol.'."\n" + ."\n" + .'- This parameter is returned only for 5-tuple analysis of traffic on TRs and in VPCs.', 'type' => 'string', 'example' => 'TCP', 'title' => ''], + 'ClientCountry' => ['description' => 'The country of the client.'."\n" + ."\n" + .'- This parameter is returned only for analysis of public-facing traffic in VPCs.', 'type' => 'string', 'example' => '中国', 'title' => ''], + 'ClientProvince' => ['description' => 'The province of the client.'."\n" + ."\n" + .'- This parameter is returned only for analysis of public-facing traffic in VPCs.', 'type' => 'string', 'example' => '香港特别行政区', 'title' => ''], + 'ClientCity' => ['description' => 'The city of the client.'."\n" + ."\n" + .'- This parameter is returned only for analysis of public-facing traffic in VPCs.', 'type' => 'string', 'example' => '九龙', 'title' => ''], + 'ClientIsp' => ['description' => 'The Internet Service Provider (ISP).'."\n" + ."\n" + .'- This parameter is returned only for analysis of public-facing traffic in VPCs.', 'type' => 'string', 'example' => '阿里云', 'title' => ''], + 'ClientAsn' => ['description' => 'The autonomous system number (ASN).'."\n" + ."\n" + .'- This parameter is returned only for analysis of public-facing traffic in VPCs.', 'type' => 'string', 'example' => '45102', 'title' => ''], + 'Bytes' => ['description' => 'The traffic volume.'."\n" + ."\n" + .'- This parameter is returned for analysis of traffic in VPCs, on TRs, and for Internet Shared Bandwidth instances.', 'type' => 'number', 'format' => 'double', 'example' => '100', 'title' => ''], + 'Packets' => ['description' => 'The number of packets.'."\n" + ."\n" + .'- This parameter is returned for flow log analysis of traffic in VPCs, on TRs, and for Internet Shared Bandwidth instances.', 'type' => 'number', 'format' => 'double', 'example' => '100', 'title' => ''], + 'RoundTripTime' => ['description' => 'The TCP round-trip time (RTT).'."\n" + ."\n" + .'- This parameter is returned only for VPC flow log analysis.', 'type' => 'number', 'format' => 'double', 'example' => '2', 'title' => ''], + 'BytesRate' => ['description' => 'The traffic percentage.'."\n" + ."\n" + .'- This parameter is returned only for analysis of traffic on TRs and in VPCs.', 'type' => 'number', 'format' => 'double', 'example' => '0.2', 'title' => ''], + 'PacketsLostNoRoute' => ['description' => 'The number of packets dropped because no route was found.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'number', 'format' => 'double', 'example' => '2', 'title' => ''], + 'PacketsLostBlackhole' => ['description' => 'The number of packets dropped due to blackhole routes.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'number', 'format' => 'double', 'example' => '4', 'title' => ''], + 'PacketsLostTTLExpired' => ['description' => 'The number of packets dropped due to TTL expiration.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'number', 'format' => 'double', 'example' => '7', 'title' => ''], + 'TransitRouterId' => ['description' => 'The ID of the TR instance.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => 'tr-2zefvwy2fz3444***', 'title' => ''], + 'TransitRouterAttachmentId' => ['description' => 'The ID of the network instance connection.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => 'tr-attach-bfde1cd4cj***', 'title' => ''], + 'Dscp' => ['description' => 'The Differentiated Services Code Point (DSCP) value.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'DestinationRegionNo' => ['description' => 'The destination region ID.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'TransitRouterPairAttachmentId' => ['description' => 'The ID of the TR peering connection.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => 'tr-attach-okvj1cd4cjp***', 'title' => ''], + 'TransitRouterSourceResourceId' => ['description' => 'The ID of the source cloud resource that is connected to the TR.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => 'tr-attach-hvve1cd4cjpj***', 'title' => ''], + 'TransitRouterSourceAccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the source cloud resource that is connected to the TR belongs.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => '1906814138***', 'title' => ''], + 'TransitRouterDestinationResourceId' => ['description' => 'The ID of the destination cloud resource that is connected to the TR.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => 'tr-attach-bfve1cd4cjp****', 'title' => ''], + 'TransitRouterDestinationAccountId' => ['description' => 'The ID of the Alibaba Cloud account to which the destination cloud resource that is connected to the TR belongs.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => '1906814138****', 'title' => ''], + 'SourceRegionNo' => ['description' => 'The source region ID.'."\n" + ."\n" + .'- This parameter is returned only for TR flow log analysis.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'TransitRouterSourceAvailableZone' => ['description' => 'The ID of the zone where the source cloud resource that is connected to the TR resides.'."\n" + ."\n" + .'- This parameter is returned only for analysis of traffic on VPC connections of a TR.', 'type' => 'string', 'example' => 'cn-hangzhou-j', 'title' => ''], + 'TransitRouterDestinationAvailableZone' => ['description' => 'The ID of the zone where the destination cloud resource that is connected to the TR resides.'."\n" + ."\n" + .'- This parameter is returned only for analysis of traffic on VPC connections of a TR.', 'type' => 'string', 'example' => 'cn-hangzhou-j', 'title' => ''], + 'TransitRouterDestinationVSwitchId' => ['description' => 'The ID of the vSwitch to which the destination cloud resource that is connected to the TR belongs.'."\n" + ."\n" + .'- This parameter is returned only for analysis of traffic on VPC connections of a TR.', 'type' => 'string', 'example' => 'vsw-2zeekevlhxpqxu****', 'title' => ''], + 'TransitRouterSourceVSwitchId' => ['description' => 'The ID of the vSwitch to which the source cloud resource that is connected to the TR belongs.'."\n" + ."\n" + .'- This parameter is returned only for analysis of traffic on VPC connections of a TR.', 'type' => 'string', 'example' => 'vsw-ikfdkevlhxpqxuz****', 'title' => ''], + 'TransitRouterSourceNetworkInterface' => ['description' => 'The ID of the ENI to which the source cloud resource that is connected to the TR belongs.'."\n" + ."\n" + .'- This parameter is returned only for analysis of traffic on VPC connections of a TR.', 'type' => 'string', 'example' => 'eni-8vbf2jxulma***', 'title' => ''], + 'TransitRouterDestinationNetworkInterface' => ['description' => 'The ID of the ENI to which the destination cloud resource that is connected to the TR belongs.'."\n" + ."\n" + .'- This parameter is returned only for analysis of traffic on VPC connections of a TR.', 'type' => 'string', 'example' => 'eni-fdbf2jxulm***', 'title' => ''], + 'PublicIpAddress' => ['description' => 'The public IP address that is associated with the EIP.'."\n" + ."\n" + .'- This parameter is returned only for analysis of metrics for Internet Shared Bandwidth instances.', 'type' => 'string', 'example' => '118.31.***.86', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the EIP that is associated with the Internet Shared Bandwidth instance.'."\n" + ."\n" + .'- This parameter is returned only for analysis of metrics for Internet Shared Bandwidth instances.', 'type' => 'string', 'example' => 'eip-fb6wzjl9hm****', 'title' => ''], + 'BindingResourceType' => ['description' => 'The type of the resource to which the EIP is bound.'."\n" + ."\n" + .'- This parameter is returned only for analysis of metrics for Internet Shared Bandwidth instances.'."\n" + ."\n" + .'- Valid values:'."\n" + ."\n" + .' - EIP\\_ECS: ECS instance'."\n" + ."\n" + .' - EIP\\_ENI: SLB instance'."\n" + ."\n" + .' - EIP\\_NAT: NAT gateway'."\n" + ."\n" + .' - EIP\\_SLB: ENI'."\n" + ."\n" + .' - HAVIP\\_ECS: HAVIP'."\n" + ."\n" + .' - TARGET\\_IP: IP address', 'type' => 'string', 'example' => 'EIP_NAT', 'title' => ''], + 'BindingResourceId' => ['description' => 'The ID of the resource to which the EIP is bound.'."\n" + ."\n" + .'- This parameter is returned only for analysis of metrics for Internet Shared Bandwidth instances.', 'type' => 'string', 'example' => 'ngw-ufwerthgvc*****', 'title' => ''], + 'BytesIncrease' => ['description' => 'The traffic volume increment.'."\n" + ."\n" + .'- This parameter is returned only when TrafficScenario is set to TRFlowlog and OrderBy is set to BytesIncrease or BytesIncreaseRatio.', 'type' => 'number', 'format' => 'double', 'example' => '12345', 'title' => ''], + 'BytesIncreaseRatio' => ['description' => 'The growth rate of the traffic volume.'."\n" + ."\n" + .'- This parameter is returned only when TrafficScenario is set to TRFlowlog and OrderBy is set to BytesIncrease or BytesIncreaseRatio.', 'type' => 'number', 'format' => 'double', 'example' => '0.5', 'title' => ''], + 'CenId' => ['description' => 'The ID of the Cloud Enterprise Network (CEN) instance.', 'type' => 'string', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The traffic ranking results.', + 'title' => '', + 'example' => '', + ], + 'NisTrafficRankingId' => ['description' => 'The ID of the traffic ranking analysis result.', 'type' => 'string', 'example' => 'task-7619ecb1db9148bab9f4', 'title' => ''], + 'Status' => ['description' => 'The status of the task.', 'type' => 'string', 'example' => 'Complete', 'title' => ''], + 'NextToken' => ['description' => 'The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.', 'type' => 'string', 'example' => 'LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '72', 'title' => ''], + ], + 'title' => '', + 'description' => 'RpcResponse', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Forbidden.NoPermission', 'errorMessage' => 'The authentication result is successful but the verification fails.', 'description' => 'The authentication result is successful but the verification fails.'], + ['errorCode' => 'IllegalParam.NextToken', 'errorMessage' => 'The specified argument NextToken(%s) is illegal.', 'description' => 'The specified argument NextToken(%s) is illegal.'."\n"], + ['errorCode' => 'IllegalParamFormat.MaxBytes', 'errorMessage' => 'The format of the specified parameter MaxBytes(%s) is not legal.', 'description' => 'The format of the specified parameter MaxBytes(%s) is not legal.'], + ['errorCode' => 'IllegalParamFormat.MinBytes', 'errorMessage' => 'The format of the specified parameter MinBytes(%s) is not legal.', 'description' => 'The format of the specified parameter MinBytes(%s) is not legal.'], + ['errorCode' => 'IllegalParamFormat.MaxRoundTripTime', 'errorMessage' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.', 'description' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.'], + ['errorCode' => 'IllegalParamFormat.MinRoundTripTime', 'errorMessage' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.', 'description' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.'."\n"], + ['errorCode' => 'IllegalParamFormat.MaxPackages', 'errorMessage' => 'The format of the specified parameter MaxPackages(%s) is not legal.', 'description' => 'The format of the specified parameter MaxPackages(%s) is not legal.'], + ['errorCode' => 'IllegalParamFormat.MinPackages', 'errorMessage' => 'The format of the specified parameter MinPackages(%s) is not legal.', 'description' => 'The format of the specified parameter MinPackages(%s) is not legal.'."\n"], + ['errorCode' => 'IllegalParam.UserOwesFees', 'errorMessage' => 'User (%s) is overdue.', 'description' => 'User (%s) is overdue.'], + ['errorCode' => 'IllegalParam.UserNotActivated', 'errorMessage' => 'User (%s) did not provision service.', 'description' => 'User (%s) did not provision service.'], + ], + 403 => [ + ['errorCode' => 'OperationDenied.NisTrafficRankingId', 'errorMessage' => 'The specified parameter NisTrafficRankingId(%s) user does not have permission to operate.', 'description' => 'The specified parameter NisTrafficRankingId(%s) user does not have permission to operate.'], + ], + [ + ['errorCode' => 'ResourceNotFound.NisTrafficRankingId', 'errorMessage' => 'The specified parameter NisTrafficRankingId(%s) does not exist.', 'description' => 'The specified parameter NisTrafficRankingId(%s) does not exist.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"Data\\": [\\n {\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"InstanceId\\": \\"eip-sample*\\",\\n \\"BandwidthPackageId\\": \\"cbwp-sample*\\",\\n \\"SourceIp\\": \\"42.120.XX.XX\\",\\n \\"SourcePort\\": \\"443\\",\\n \\"SourceIsp\\": \\"移动\\",\\n \\"DestinationIp\\": \\"2.2.XX.XX\\",\\n \\"DestinationPort\\": \\"80\\",\\n \\"DestinationIsp\\": \\"阿里云\\",\\n \\"Protocol\\": \\"6\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"四川省\\",\\n \\"City\\": \\"成都市\\",\\n \\"Isp\\": \\"移动\\",\\n \\"Asn\\": \\"129103\\",\\n \\"IP\\": \\"120.238.XX.XX\\",\\n \\"DestinationRegionNo\\": \\"cn-hangzhou\\",\\n \\"VbrId\\": \\"vbr-sample*\\",\\n \\"AttachmentId\\": \\"tr-sample*\\",\\n \\"SourceZone\\": \\"cn-hangzhou-a\\",\\n \\"DestinationZone\\": \\"cn-hangzhou-b\\",\\n \\"ByteCount\\": 1024,\\n \\"PacketCount\\": 66,\\n \\"RTT\\": 23,\\n \\"RetransmitRate\\": 0.1,\\n \\"InBps\\": 10,\\n \\"InPps\\": 3,\\n \\"OutBps\\": 88,\\n \\"OutPps\\": 8,\\n \\"NewSessionPerSecond\\": 18,\\n \\"ActiveSessionCount\\": 66\\n }\\n ]\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'DescribeNisTrafficRanking', + 'description' => '[Before using this API, review the billing method and pricing for NIS Traffic Analysis.](https://help.aliyun.com/zh/nis/product-overview/billing-method-new-version?spm=5176.25472526.console-base_help.dexternal.5b094887xwrWNE)'."\n" + ."\n" + .'Supported analysis scenarios:'."\n" + ."\n" + .'- All VPC flow logs'."\n" + ."\n" + .'- Public network VPC flow logs'."\n" + ."\n" + .'- All TR flow logs'."\n" + ."\n" + .'- Shared bandwidth metrics'."\n" + ."\n" + .'## VPC flow log analysis'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example value | Enum value |'."\n" + .'| ------------------- | ------- | -------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------- |'."\n" + .'| NisTrafficRankingId | string | true | The ID of the traffic analysis result. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | false | The token for the next page of results, obtained from the `NextToken` value of a previous response. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | false | The maximum number of results to return per page. Valid values: 1 to 100. Default: 20. | 20 | |'."\n" + ."\n" + .'### Return parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example | Enum value |'."\n" + .'| ------------------- | ------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------- |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic analysis result. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The status of the task. | Complete | |'."\n" + .'| NextToken | string | The token to retrieve the next page of results. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The number of entries per page. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| TotalCount | integer | The total number of returned entries. | 72 | |'."\n" + .'| FlowRankingList | array | An array of traffic analysis results. | | |'."\n" + ."\n" + .'#### FlowRankingList'."\n" + ."\n" + .'| Parameter | Type | Description | Example | Enum Value |'."\n" + .'| ------------------ | ------ | ----------------------------------------------------------------------------------------------------------------------------- | ------------------- | ---------- |'."\n" + .'| RegionId | string | The ID of the region where the flow log is located. | cn-hangzhou | |'."\n" + .'| VpcId | string | The VPC ID. | vpc-m5ec6i0h5xss*** | |'."\n" + .'| VSwitchId | string | The VSwitch ID. | vsw-2zeekevlh**** | |'."\n" + .'| NetworkInterfaceId | string | The elastic network interface ID. | eni-8vbf2jxul*** | |'."\n" + .'| EcsId | string | The ECS instance ID of the management node. | i-uf6i1zi6yhq7h*** | |'."\n" + .'| TrafficPath | string | The traffic path. | all | |'."\n" + .'| Direction | string | The traffic direction relative to the network resource. Valid values:<br>● `in`: ingress traffic.<br>● `out`: egress traffic. | in | -in / -out |'."\n" + .'| SourceIp | string | The source IP address.<br>● Returned only for 2-tuple grouping. | 47.92.245.*** | |'."\n" + .'| SourcePort | string | The source port.<br>● Returned only for 5-tuple grouping. | 5432 | |'."\n" + .'| DestinationIp | string | The destination IP address.<br>● Returned only for 2-tuple grouping. | 192.168.***.0 | |'."\n" + .'| DestinationPort | string | The destination port.<br>● Returned only for 5-tuple grouping. | 23 | |'."\n" + .'| Protocol | string | The network protocol.<br>● Returned only for 5-tuple grouping. | TCP | |'."\n" + .'| Bytes | number | The number of bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets. | 100 | |'."\n" + .'| RoundTripTime | number | The TCP RTT. | 2 | |'."\n" + .'| BytesRate | number | The percentage of total traffic. | 0.2 | |'."\n" + ."\n" + .'## Public network flow log analysis'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Value |'."\n" + .'| ------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----- |'."\n" + .'| NisTrafficRankingId | string | Yes | The ID of the traffic analysis result. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | No | The token for the next page of results. This is the `NextToken` returned from a previous API call. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | No | The page size. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + ."\n" + .'### Response parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example | Values |'."\n" + .'| ------------------- | ------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------ |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic analysis task. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The task status. | Complete | |'."\n" + .'| NextToken | string | The token for the next page. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The number of entries per page. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| TotalCount | integer | The total number of entries. | 72 | |'."\n" + .'| FlowRankingList | array | The list of traffic flow rankings. | | |'."\n" + ."\n" + .'#### FlowRankingList'."\n" + ."\n" + .'| Parameter | Type | Description | Example | Enum value |'."\n" + .'| ------------------ | ------ | ---------------------------------------------------------------------------------------------- | ------------------- | ---------- |'."\n" + .'| RegionId | string | The region ID. | cn-hangzhou | |'."\n" + .'| VpcId | string | The VPC ID. | vpc-m5ec6i0h5xss*** | |'."\n" + .'| VSwitchId | string | The VSwitch ID. | vsw-2zeekevlh**** | |'."\n" + .'| NetworkInterfaceId | string | The elastic network interface ID. | eni-8vbf2jxul*** | |'."\n" + .'| EcsId | string | The ECS instance ID of the management node. | i-uf6i1zi6yhq7h*** | |'."\n" + .'| TrafficPath | string | The traffic path. | all | |'."\n" + .'| Direction | string | The traffic direction. Valid values:<br>● `in`: Inbound traffic.<br>● `out`: Outbound traffic. | in | -in / -out |'."\n" + .'| SourceIp | string | The source IP address.<br>● Returned only when grouping by a 2-tuple. | 47.92.245.*** | |'."\n" + .'| SourcePort | string | The source port.<br>● Returned only when grouping by a 5-tuple. | 5432 | |'."\n" + .'| DestinationIp | string | The destination IP address.<br>● Returned only when grouping by a 2-tuple. | 192.168.***.0 | |'."\n" + .'| DestinationPort | string | The destination port.<br>● Returned only when grouping by a 5-tuple. | 23 | |'."\n" + .'| Protocol | string | The protocol.<br>● Returned only when grouping by a 5-tuple. | TCP | |'."\n" + .'| ClientCountry | string | The client country. | China | |'."\n" + .'| ClientProvince | string | The client province. | Hong Kong SAR | |'."\n" + .'| ClientCity | string | The client city. | Kowloon | |'."\n" + .'| ClientIsp | string | The client\'s ISP. | Alibaba Cloud | |'."\n" + .'| ClientAsn | string | The client\'s ASN. | 45102 | |'."\n" + .'| Bytes | number | The number of bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets. | 100 | |'."\n" + .'| RoundTripTime | number | The TCP round-trip time. | 2 | |'."\n" + .'| BytesRate | number | The traffic proportion. | 0.2 | |'."\n" + ."\n" + .'## TR flow log for cross-region scenarios'."\n" + ."\n" + .'### Parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example value | Enum value |'."\n" + .'| ------------------- | ------- | -------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------- |'."\n" + .'| NisTrafficRankingId | string | Yes | The ID of the traffic analysis result. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | No | The token for pagination, which is the `NextToken` value returned by the previous API call. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | No | The page size. Value range: 1 to 100. Default value: 20. | 20 | |'."\n" + ."\n" + .'### Returns'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enumerated value |'."\n" + .'| ------------------- | ------- | --------------------------------------------------------- | ---------------------------------------------------------------- | ---------------- |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic analysis result. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The task status. | Complete | |'."\n" + .'| NextToken | string | The token to retrieve the next page of results. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The page size. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| TotalCount | integer | The total number of entries. | 72 | |'."\n" + .'| FlowRankingList | array | The list of traffic analysis results. | | |'."\n" + ."\n" + .'#### FlowRankingList structure'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enum value |'."\n" + .'| ----------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | ---------- |'."\n" + .'| Direction | string | The traffic direction relative to the Alibaba Cloud network resource. Valid values:<br>● in: Inbound traffic.<br>● out: Outbound traffic. | in | in / out |'."\n" + .'| SourceIp | string | The source IP address.<br>● This parameter is returned only for 2-tuple analysis. | 47.92.245.*** | |'."\n" + .'| SourcePort | string | The source port.<br>● This parameter is returned only for 5-tuple analysis. | 5432 | |'."\n" + .'| DestinationIp | string | The destination IP address.<br>● This parameter is returned only for 2-tuple analysis. | 192.168.***.0 | |'."\n" + .'| DestinationPort | string | The destination port.<br>● This parameter is returned only for 5-tuple analysis. | 23 | |'."\n" + .'| Protocol | string | The network protocol.<br>● This parameter is returned only for 5-tuple analysis. | TCP | |'."\n" + .'| Dscp | string | The Differentiated Services Code Point (DSCP) value. | 0 | |'."\n" + .'| DestinationRegionNo | string | The destination region ID. | cn-hangzhou | |'."\n" + .'| SourceRegionNo | string | The source region ID. | cn-hangzhou | |'."\n" + .'| TransitRouterAttachmentId | string | The ID of the transit router attachment. | tr-attach-bfde1cd4cj*** | |'."\n" + .'| TransitRouterId | string | The ID of the Transit Router instance. | tr-2zefvwy2fz3444*** | |'."\n" + .'| TransitRouterPairAttachmentId | string | The ID of the transit router peering connection. | tr-attach-okvj1cd4cjp*** | |'."\n" + .'| Bytes | number | The number of bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets. | 100 | |'."\n" + .'| BytesRate | number | The traffic percentage. | 0.2 | |'."\n" + .'| PacketsLostNoRoute | number | The number of packets lost due to a missing route. | 2 | |'."\n" + .'| PacketsLostBlackhole | number | The number of packets lost due to a blackhole route. | 4 | |'."\n" + .'| PacketsLostTTLExpired | number | The number of packets lost due to TTL expiration. | 7 | |'."\n" + ."\n" + .'## TR flow log: VPC connection traffic'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example value | Value |'."\n" + .'| ------------------- | ------- | -------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----- |'."\n" + .'| NisTrafficRankingId | string | Yes | The ID of the traffic analysis. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | No | The pagination token. Set this parameter to the `NextToken` value from the previous call. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | No | The page size. Range: 1–100. Default: 20. | 20 | |'."\n" + ."\n" + .'### Response parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example | Enum |'."\n" + .'| ------------------- | ------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---- |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The traffic analysis task ID. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The task status. | Complete | |'."\n" + .'| NextToken | string | The token to retrieve the next page of results. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The maximum number of entries to return per page. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| TotalCount | integer | The total number of entries. | 72 | |'."\n" + .'| FlowRankingList | array | The list of traffic analysis results. | | |'."\n" + ."\n" + .'#### FlowRankingList structure'."\n" + ."\n" + .'| Parameter | Type | Description | Example | Value |'."\n" + .'| ---------------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ---------- |'."\n" + .'| Direction | string | The traffic direction relative to the Alibaba Cloud network instance. Valid values:<br>● `in`: inbound traffic.<br>● `out`: outbound traffic. | in | -in / -out |'."\n" + .'| SourceIp | string | The source IP address.<br>● This field is returned only when statistics are grouped by 2-tuple. | 47.92.245.*** | |'."\n" + .'| SourcePort | string | The source port.<br>● This field is returned only when statistics are grouped by 5-tuple. | 5432 | |'."\n" + .'| DestinationIp | string | The destination IP address.<br>● This field is returned only when statistics are grouped by 2-tuple. | 192.168.***.0 | |'."\n" + .'| DestinationPort | string | The destination port.<br>● This field is returned only when statistics are grouped by 5-tuple. | 23 | |'."\n" + .'| Protocol | string | The network protocol.<br>● This field is returned only when statistics are grouped by 5-tuple. | TCP | |'."\n" + .'| Dscp | string | The differentiated services code point (DSCP). | 0 | |'."\n" + .'| DestinationRegionNo | string | The destination region ID. | cn-hangzhou | |'."\n" + .'| SourceRegionNo | string | The source region ID. | cn-hangzhou | |'."\n" + .'| TransitRouterAttachmentId | string | The network attachment ID. | tr-attach-bfde1cd4cj*** | |'."\n" + .'| TransitRouterId | string | The Transit Router instance ID. | tr-2zefvwy2fz3444*** | |'."\n" + .'| TransitRouterPairAttachmentId | string | The Transit Router peering connection ID. | tr-attach-okvj1cd4cjp*** | |'."\n" + .'| TransitRouterSourceResourceId | string | The source network instance ID. | tr-attach-hvve1cd4cjpj*** | |'."\n" + .'| TransitRouterSourceAccountId | string | The source network instance\'s account ID. | 1906814138*** | |'."\n" + .'| TransitRouterSourceVSwitchId | string | The ID of the VSwitch associated with the source Transit Router\'s elastic network interface (ENI). | vsw-ikfdkevlhxpqxuz**** | |'."\n" + .'| TransitRouterSourceNetworkInterface | string | The source Transit Router ENI. | eni-8vbf2jxulma*** | |'."\n" + .'| TransitRouterSourceAvailableZone | string | The source availability zone ID. | cn-hangzhou-j | |'."\n" + .'| TransitRouterDestinationResourceId | string | The destination network instance ID. | tr-attach-bfve1cd4cjp**** | |'."\n" + .'| TransitRouterDestinationAccountId | string | The destination network instance\'s account ID. | 1906814138*** | |'."\n" + .'| TransitRouterDestinationVSwitchId | string | The ID of the VSwitch associated with the destination Transit Router\'s elastic network interface (ENI). | vsw-ikfdkevlhxpqxuz**** | |'."\n" + .'| TransitRouterDestinationNetworkInterface | string | The destination Transit Router ENI. | eni-7kcf2jxulma*** | |'."\n" + .'| TransitRouterDestinationAvailableZone | string | The destination availability zone ID. | cn-hangzhou-j | |'."\n" + .'| Bytes | number | The amount of data transferred, in bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets transferred. | 100 | |'."\n" + .'| BytesRate | number | The traffic percentage. | 0.2 | |'."\n" + .'| PacketsLostNoRoute | number | The number of packets dropped because no route was found. | 2 | |'."\n" + .'| PacketsLostBlackhole | number | The number of packets dropped due to blackhole routing. | 4 | |'."\n" + .'| PacketsLostTTLExpired | number | The number of packets dropped because their Time to Live (TTL) expired. | 7 | |'."\n" + ."\n" + .'## TR flow log: VBR access traffic'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example value | Value |'."\n" + .'| ------------------- | ------- | -------- | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----- |'."\n" + .'| NisTrafficRankingId | string | Yes | The ID of the traffic analysis result. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | No | The token from a previous response, used to retrieve the next page of results. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | No | The maximum number of entries to return per page. Valid values: 1 to 100. Default: 20. | 20 | |'."\n" + ."\n" + .'### Return parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example | Values |'."\n" + .'| ------------------- | ------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------ |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic analysis task. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The status of the task. | Complete | |'."\n" + .'| NextToken | string | The token used to retrieve the next page of results. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The page size. The value must be between 1 and 100. The default value is 20. | 20 | |'."\n" + .'| TotalCount | integer | The total number of entries returned. | 72 | |'."\n" + .'| FlowRankingList | array | A list of the traffic analysis results. | | |'."\n" + ."\n" + .'#### FlowRankingList structure'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Valid values |'."\n" + .'| ---------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ------------ |'."\n" + .'| Direction | string | The traffic direction relative to the Alibaba Cloud network instance. Valid values:<br>● `in`: Inbound traffic.<br>● `out`: Outbound traffic. | in | `in` / `out` |'."\n" + .'| SourceIp | string | The source IP address.<br>● This parameter is returned only when you aggregate by a 2-tuple. | 47.92.245.*** | |'."\n" + .'| SourcePort | string | The source port.<br>● This parameter is returned only when you aggregate by a 5-tuple. | 5432 | |'."\n" + .'| DestinationIp | string | The destination IP address.<br>● This parameter is returned only when you aggregate by a 2-tuple. | 192.168.***.0 | |'."\n" + .'| DestinationPort | string | The destination port.<br>● This parameter is returned only when you aggregate by a 5-tuple. | 23 | |'."\n" + .'| Protocol | string | The network protocol.<br>● This parameter is returned only when you aggregate by a 5-tuple. | TCP | |'."\n" + .'| Dscp | string | The Differentiated Services Code Point (DSCP) value. | 0 | |'."\n" + .'| DestinationRegionNo | string | The destination region ID. | cn-hangzhou | |'."\n" + .'| SourceRegionNo | string | The source region ID. | cn-hangzhou | |'."\n" + .'| TransitRouterAttachmentId | string | The network instance connection ID. | tr-attach-bfde1cd4cj*** | |'."\n" + .'| TransitRouterId | string | The Transit Router instance ID. | tr-2zefvwy2fz3444*** | |'."\n" + .'| TransitRouterPairAttachmentId | string | The Transit Router peering connection ID. | tr-attach-okvj1cd4cjp*** | |'."\n" + .'| TransitRouterSourceResourceId | string | The source network instance ID. | tr-attach-hvve1cd4cjpj*** | |'."\n" + .'| TransitRouterSourceAccountId | string | The account ID of the source network instance. | 1906814138*** | |'."\n" + .'| TransitRouterDestinationResourceId | string | The destination network instance ID. | tr-attach-bfve1cd4cjp**** | |'."\n" + .'| TransitRouterDestinationAccountId | string | The account ID of the destination network instance. | 1906814138*** | |'."\n" + .'| Bytes | number | The number of bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets. | 100 | |'."\n" + .'| BytesRate | number | The traffic proportion. | 0.2 | |'."\n" + .'| PacketsLostNoRoute | number | The number of packets lost because no route was found. | 2 | |'."\n" + .'| PacketsLostBlackhole | number | The number of packets discarded by a blackhole route. | 4 | |'."\n" + .'| PacketsLostTTLExpired | number | The number of packets discarded due to TTL expiration. | 7 | |'."\n" + ."\n" + .'## Transit Router flow logs: ECR access traffic scenario'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Valid values |'."\n" + .'| ------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- | ------------ |'."\n" + .'| NisTrafficRankingId | string | Yes | The ID of the traffic analysis task. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | No | The pagination token returned from a previous API call. Use this token to retrieve the next page of results. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | No | The maximum number of results to return per page. Valid values: 1 to 100. The default value is 20. | 20 | |'."\n" + ."\n" + .'### Response parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enum value |'."\n" + .'| ------------------- | ------- | --------------------------------------------------------- | ---------------------------------------------------------------- | ---------- |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic analysis task. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The task status. | Complete | |'."\n" + .'| NextToken | string | The token to retrieve the next page of results. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The page size. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| TotalCount | integer | The total count of entries. | 72 | |'."\n" + .'| FlowRankingList | array | The list of traffic analysis results. | | |'."\n" + ."\n" + .'#### FlowRankingList element structure'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Value |'."\n" + .'| ---------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ---------- |'."\n" + .'| Direction | string | The traffic direction relative to the Alibaba Cloud network instance. Valid values:<br>● `in`: Inbound traffic.<br>● `out`: Outbound traffic. | in | -in / -out |'."\n" + .'| SourceIp | string | The source IP address.<br>● This parameter is returned only for two-tuple analysis. | 47.92.245.*** | |'."\n" + .'| SourcePort | string | The source port.<br>● This parameter is returned only for five-tuple analysis. | 5432 | |'."\n" + .'| DestinationIp | string | The destination IP address.<br>● This parameter is returned only for two-tuple analysis. | 192.168.***.0 | |'."\n" + .'| DestinationPort | string | The destination port.<br>● This parameter is returned only for five-tuple analysis. | 23 | |'."\n" + .'| Protocol | string | The network protocol.<br>● This parameter is returned only for five-tuple analysis. | TCP | |'."\n" + .'| Dscp | string | The Differentiated Services Code Point (DSCP) value. | 0 | |'."\n" + .'| DestinationRegionNo | string | The destination region ID. | cn-hangzhou | |'."\n" + .'| SourceRegionNo | string | The source region ID. | cn-hangzhou | |'."\n" + .'| TransitRouterAttachmentId | string | The ID of the network instance connection. | tr-attach-bfde1cd4cj*** | |'."\n" + .'| TransitRouterId | string | The ID of the Transit Router instance. | tr-2zefvwy2fz3444*** | |'."\n" + .'| TransitRouterPairAttachmentId | string | The ID of the Transit Router peering connection. | tr-attach-okvj1cd4cjp*** | |'."\n" + .'| TransitRouterSourceResourceId | string | The ID of the source network instance. | tr-attach-hvve1cd4cjpj*** | |'."\n" + .'| TransitRouterSourceAccountId | string | The account ID of the source network instance. | 1906814138*** | |'."\n" + .'| TransitRouterDestinationResourceId | string | The ID of the destination network instance. | tr-attach-bfve1cd4cjp**** | |'."\n" + .'| TransitRouterDestinationAccountId | string | The account ID of the destination network instance. | 1906814138*** | |'."\n" + .'| Bytes | number | The number of bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets. | 100 | |'."\n" + .'| BytesRate | number | The traffic ratio. | 0.2 | |'."\n" + .'| PacketsLostNoRoute | number | The number of packets lost due to the lack of a route. | 2 | |'."\n" + .'| PacketsLostBlackhole | number | The number of packets lost due to a blackhole route. | 4 | |'."\n" + .'| PacketsLostTTLExpired | number | The number of packets lost because their TTL expired. | 7 | |'."\n" + ."\n" + .'## TR flow log: VPN access analysis'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Value |'."\n" + .'| ------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- | ----- |'."\n" + .'| NisTrafficRankingId | string | Yes | The ID of the traffic analysis result. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | No | The pagination token. Set this parameter to the `NextToken` returned from the previous API call. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | No | The maximum number of results to return per page. Valid values: 1 to 100. Default: 20. | 20 | |'."\n" + ."\n" + .'### Response parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enum value |'."\n" + .'| ------------------- | ------- | --------------------------------------------------------- | ---------------------------------------------------------------- | ---------- |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic analysis result. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The task status. | Complete | |'."\n" + .'| NextToken | string | A token to retrieve the next page of results. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The page size. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| TotalCount | integer | The total number of matching items. | 72 | |'."\n" + .'| FlowRankingList | array | The traffic analysis results. | | |'."\n" + ."\n" + .'#### FlowRankingList structure'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Value |'."\n" + .'| ---------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------- | ------------------------- | ------- |'."\n" + .'| Direction | string | The traffic direction for the network instance. Valid values:<br>● `in`: inbound traffic.<br>● `out`: outbound traffic. | in | in, out |'."\n" + .'| SourceIp | string | The source IP address.<br>● Returned only when statistics are collected for a 2-tuple. | 47.92.245.*** | |'."\n" + .'| SourcePort | string | The source port.<br>● Returned only when statistics are collected for a 5-tuple. | 5432 | |'."\n" + .'| DestinationIp | string | The destination IP address.<br>● Returned only when statistics are collected for a 2-tuple. | 192.168.***.0 | |'."\n" + .'| DestinationPort | string | The destination port.<br>● Returned only when statistics are collected for a 5-tuple. | 23 | |'."\n" + .'| Protocol | string | The protocol.<br>● Returned only when statistics are collected for a 5-tuple. | TCP | |'."\n" + .'| Dscp | string | The Differentiated Services Code Point (DSCP). | 0 | |'."\n" + .'| DestinationRegionNo | string | The destination region ID. | cn-hangzhou | |'."\n" + .'| SourceRegionNo | string | The source region ID. | cn-hangzhou | |'."\n" + .'| TransitRouterAttachmentId | string | The ID of the transit router attachment. | tr-attach-bfde1cd4cj*** | |'."\n" + .'| TransitRouterId | string | The ID of the Transit Router instance. | tr-2zefvwy2fz3444*** | |'."\n" + .'| TransitRouterPairAttachmentId | string | The ID of the transit router peering connection. | tr-attach-okvj1cd4cjp*** | |'."\n" + .'| TransitRouterSourceResourceId | string | The ID of the source network instance. | tr-attach-hvve1cd4cjpj*** | |'."\n" + .'| TransitRouterSourceAccountId | string | The account ID of the source network instance. | 1906814138*** | |'."\n" + .'| TransitRouterDestinationResourceId | string | The ID of the destination network instance. | tr-attach-bfve1cd4cjp**** | |'."\n" + .'| TransitRouterDestinationAccountId | string | The account ID of the destination network instance. | 1906814138*** | |'."\n" + .'| Bytes | number | The number of bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets. | 100 | |'."\n" + .'| BytesRate | number | The traffic ratio. | 0.2 | |'."\n" + .'| PacketsLostNoRoute | number | The number of packets lost because no route was found. | 2 | |'."\n" + .'| PacketsLostBlackhole | number | The number of packets lost to a blackhole route. | 4 | |'."\n" + .'| PacketsLostTTLExpired | number | The number of packets lost due to TTL expiration. | 7 | |'."\n" + ."\n" + .'## Shared bandwidth (CBWP) metrics'."\n" + ."\n" + .'### Parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Enum value |'."\n" + .'| ------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------- |'."\n" + .'| NisTrafficRankingId | string | Yes | The ID of the traffic analysis task. | task-6462a7b4c4a54b**** | |'."\n" + .'| NextToken | string | No | The token for the next page of results. This is the `NextToken` returned by the previous request. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | No | The page size. Range: 1 to 100. Default: 20. | 20 | |'."\n" + ."\n" + .'### Response parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enumerated values |'."\n" + .'| ------------------- | ------- | --------------------------------------------------------- | ---------------------------------------------------------------- | ----------------- |'."\n" + .'| \\- | object | RpcResponse | | |'."\n" + .'| RequestId | string | The request ID. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | |'."\n" + .'| NisTrafficRankingId | string | The traffic analysis task ID. | task-7619ecb1db9148bab9f4 | |'."\n" + .'| Status | string | The status of the task. | Complete | |'."\n" + .'| NextToken | string | The token for the next page of results. | LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+ | |'."\n" + .'| MaxResults | integer | The page size. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| TotalCount | integer | The total count of entries. | 72 | |'."\n" + .'| FlowRankingList | array | The flow ranking list. | | |'."\n" + ."\n" + .'#### FlowRankingList'."\n" + ."\n" + .'| Parameter | Type | Description | Value | Enumerated value |'."\n" + .'| ------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- | ------------------------------------------------------------- |'."\n" + .'| Direction | string | Specifies the traffic direction. Valid values:<br>● `in`: Inbound traffic.<br>● `out`: Outbound traffic. | in | -in / -out |'."\n" + .'| PublicIpAddress | string | The public IP address of the associated EIP. | 118.31.***.86 | |'."\n" + .'| InstanceId | string | The ID of the EIP associated with the Shared Bandwidth instance. | eip-fb6wzjl9hm**** | |'."\n" + .'| BindingResourceType | string | The type of instance associated with the EIP.<br>Valid values:<br>● `EIP_ECS`: An ECS instance.<br>● `EIP_ENI`: An Elastic Network Interface.<br>● `EIP_NAT`: A NAT Gateway instance.<br>● `EIP_SLB`: An SLB instance.<br>● `HAVIP_ECS`: A High-availability Virtual IP.<br>● `TARGET_IP`: An IP address. | EIP_NAT | EIP_ECS / EIP_ENI / EIP_NAT / EIP_SLB / HAVIP_ECS / TARGET_IP |'."\n" + .'| BindingResourceId | string | The ID of the instance associated with the EIP. | ngw-ufwerthgvc***** | |'."\n" + .'| Bytes | number | The amount of traffic in bytes. | 100 | |'."\n" + .'| Packets | number | The number of packets. | 100 | |', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisTrafficRanking', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941\\",\\n \\"FlowRankingList\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"VpcId\\": \\"vpc-m5ec6i0h5xss***\\",\\n \\"VSwitchId\\": \\"vsw-2zeekevlh****\\",\\n \\"NetworkInterfaceId\\": \\"eni-8vbf2jxul***\\",\\n \\"EcsId\\": \\"i-uf6i1zi6yhq7h***\\",\\n \\"TrafficPath\\": \\"all\\",\\n \\"Direction\\": \\"in\\",\\n \\"SourceIp\\": \\"47.92.245.***\\",\\n \\"SourcePort\\": \\"5432\\",\\n \\"DestinationIp\\": \\"192.168.***.0\\",\\n \\"DestinationPort\\": \\"23\\",\\n \\"Protocol\\": \\"TCP\\",\\n \\"ClientCountry\\": \\"中国\\",\\n \\"ClientProvince\\": \\"香港特别行政区\\",\\n \\"ClientCity\\": \\"九龙\\",\\n \\"ClientIsp\\": \\"阿里云\\",\\n \\"ClientAsn\\": \\"45102\\",\\n \\"Bytes\\": 100,\\n \\"Packets\\": 100,\\n \\"RoundTripTime\\": 2,\\n \\"BytesRate\\": 0.2,\\n \\"PacketsLostNoRoute\\": 2,\\n \\"PacketsLostBlackhole\\": 4,\\n \\"PacketsLostTTLExpired\\": 7,\\n \\"TransitRouterId\\": \\"tr-2zefvwy2fz3444***\\",\\n \\"TransitRouterAttachmentId\\": \\"tr-attach-bfde1cd4cj***\\",\\n \\"Dscp\\": \\"0\\",\\n \\"DestinationRegionNo\\": \\"cn-hangzhou\\",\\n \\"TransitRouterPairAttachmentId\\": \\"tr-attach-okvj1cd4cjp***\\",\\n \\"TransitRouterSourceResourceId\\": \\"tr-attach-hvve1cd4cjpj***\\",\\n \\"TransitRouterSourceAccountId\\": \\"1906814138***\\",\\n \\"TransitRouterDestinationResourceId\\": \\"tr-attach-bfve1cd4cjp****\\",\\n \\"TransitRouterDestinationAccountId\\": \\"1906814138****\\",\\n \\"SourceRegionNo\\": \\"cn-hangzhou\\",\\n \\"TransitRouterSourceAvailableZone\\": \\"cn-hangzhou-j\\",\\n \\"TransitRouterDestinationAvailableZone\\": \\"cn-hangzhou-j\\",\\n \\"TransitRouterDestinationVSwitchId\\": \\"vsw-2zeekevlhxpqxu****\\",\\n \\"TransitRouterSourceVSwitchId\\": \\"vsw-ikfdkevlhxpqxuz****\\",\\n \\"TransitRouterSourceNetworkInterface\\": \\"eni-8vbf2jxulma***\\",\\n \\"TransitRouterDestinationNetworkInterface\\": \\"eni-fdbf2jxulm***\\",\\n \\"PublicIpAddress\\": \\"118.31.***.86\\",\\n \\"InstanceId\\": \\"eip-fb6wzjl9hm****\\",\\n \\"BindingResourceType\\": \\"EIP_NAT\\",\\n \\"BindingResourceId\\": \\"ngw-ufwerthgvc*****\\",\\n \\"BytesIncrease\\": 12345,\\n \\"BytesIncreaseRatio\\": 0.5,\\n \\"CenId\\": \\"\\"\\n }\\n ],\\n \\"NisTrafficRankingId\\": \\"task-7619ecb1db9148bab9f4\\",\\n \\"Status\\": \\"Complete\\",\\n \\"NextToken\\": \\"LoeJLhK0fsDqYoXkXieZUqB2vWnccJtVnsyKu9KxFFOMQxtV8XckOg5lk7F2bhC+\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 72\\n}","type":"json"}]', ], 'GetInternetTuple' => [ 'summary' => 'Queries the rankings of Internet traffic data in the form of 1-tuple, 2-tuple, or 5-tuple. Internet traffic data can be ranked by metrics such as traffic volumes and the number of packets.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1657,26 +2231,19 @@ 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '173536', - 'abilityTreeNodes' => [ - 'FEATUREnetana5MCZ6K', - ], + 'abilityTreeNodes' => ['FEATUREnetana5MCZ6K'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region for which you want to query the Internet traffic.', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The ID of the region for which you want to query the Internet traffic.', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', 'title' => ''], ], [ 'name' => 'TupleType', 'in' => 'query', 'schema' => [ - 'title' => '查询的元组类型,枚举:1,2,5,分别表示一元组、二元组、五元组', + 'title' => '', 'description' => 'The type of the tuple. Valid values:'."\n" ."\n" .'* **1**: 1-tuple'."\n" @@ -1686,70 +2253,40 @@ 'format' => 'int32', 'required' => true, 'example' => '1', - 'enum' => [ - '1', - '2', - '5', - ], + 'enum' => ['1', '2', '5'], ], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询起始时间的毫秒时间戳。', - 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '253402271999000', - 'minimum' => '0', - 'example' => '1684373600099', - ], + 'schema' => ['title' => '', 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '253402271999000', 'minimum' => '0', 'example' => '1684373600099'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询结束时间的毫秒时间戳。', - 'description' => 'The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'maximum' => '253402271999000', - 'minimum' => '0', - 'example' => '1684373700099', - ], + 'schema' => ['title' => '', 'description' => 'The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '253402271999000', 'minimum' => '0', 'example' => '1684373700099'], ], [ 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'title' => '查询流量方向,取值:'."\n" - .'in:入云方向'."\n" - .'out:出云方向', + 'title' => '', 'description' => 'The direction of the Internet traffic that you want to query. Valid values:'."\n" ."\n" .'* **in**: inbound'."\n" .'* **out**: outbound', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'in' => 'in', - 'out' => 'out', - ], + 'enumValueTitles' => ['in' => 'in', 'out' => 'out'], 'example' => 'in', - 'enum' => [ - 'in', - 'out', - ], + 'enum' => ['in', 'out'], ], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => [ - 'title' => '根据什么指标排序,默认值为ByteCount,即按流量排序。', + 'title' => '', 'description' => 'The metric for data ranking. Default value: **ByteCount**. This value indicates that Internet traffic data is ranked by traffic volume.'."\n" ."\n" .'Valid values:'."\n" @@ -1761,93 +2298,52 @@ 'type' => 'string', 'required' => false, 'example' => 'ByteCount', - 'enum' => [ - 'Rtt', - 'ByteCount', - 'PacketCount', - 'RetransmitRate', - ], + 'enum' => ['Rtt', 'ByteCount', 'PacketCount', 'RetransmitRate'], ], ], [ 'name' => 'CloudIp', 'in' => 'query', - 'schema' => [ - 'title' => '五元组:云端IP。', - 'description' => 'The local IP address.', - 'type' => 'string', - 'required' => false, - 'example' => '112.74.XX.XX', - ], + 'schema' => ['title' => '', 'description' => 'The local IP address.', 'type' => 'string', 'required' => false, 'example' => '112.74.XX.XX'], ], [ 'name' => 'CloudPort', 'in' => 'query', - 'schema' => [ - 'title' => '五元组:云端端口', - 'description' => 'The local port.'."\n" - ."\n" - .'> This parameter is required only if you set GroupBy to CloudPort.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '443', - ], + 'schema' => ['title' => '', 'description' => 'The local port.'."\n" + ."\n" + .'> This parameter is required only if you set GroupBy to CloudPort.'."\n", 'type' => 'string', 'required' => false, 'example' => '443'], ], [ 'name' => 'OtherIp', 'in' => 'query', - 'schema' => [ - 'title' => '五元组:对端IP', - 'description' => 'The remote IP address.'."\n" - ."\n" - .'> This parameter is required only when you set **TupleType** to **2** or **5**.', - 'type' => 'string', - 'required' => false, - 'example' => '122.112.XX.XX', - ], + 'schema' => ['title' => '', 'description' => 'The remote IP address.'."\n" + ."\n" + .'> This parameter is required only when you set **TupleType** to **2** or **5**.', 'type' => 'string', 'required' => false, 'example' => '122.112.XX.XX'], ], [ 'name' => 'OtherPort', 'in' => 'query', - 'schema' => [ - 'title' => '五元组:对端端口', - 'description' => 'The remote port.'."\n" - ."\n" - .'> This parameter is required only when you set **TupleType** to **5**.', - 'type' => 'string', - 'required' => false, - 'example' => '40002', - ], + 'schema' => ['title' => '', 'description' => 'The remote port.'."\n" + ."\n" + .'> This parameter is required only when you set **TupleType** to **5**.', 'type' => 'string', 'required' => false, 'example' => '40002'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '实例Id', - 'description' => 'The ID of the Alibaba Cloud instance.', - 'type' => 'string', - 'required' => false, - 'example' => 'eip-sample*', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the Alibaba Cloud instance.', 'type' => 'string', 'required' => false, 'example' => 'eip-sample*'], ], [ 'name' => 'Protocol', 'in' => 'query', - 'schema' => [ - 'title' => '五元组:协议', - 'description' => 'The protocol number.'."\n" - ."\n" - .'> All protocols are supported. This parameter is required only when you set **TupleType** to **5**.', - 'type' => 'string', - 'required' => false, - 'example' => '6', - ], + 'schema' => ['title' => '', 'description' => 'The protocol number.'."\n" + ."\n" + .'> All protocols are supported. This parameter is required only when you set **TupleType** to **5**.', 'type' => 'string', 'required' => false, 'example' => '6'], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'title' => '排序方向:desc从大到小排序,asc从小到大排序。', + 'title' => '', 'description' => 'The order in which instances are ranked by Internet traffic. Valid values:'."\n" ."\n" .'* **desc**: the descending order'."\n" @@ -1856,76 +2352,41 @@ 'required' => false, 'example' => 'desc', 'default' => 'desc', - 'enum' => [ - 'desc', - 'asc', - ], + 'enum' => ['desc', 'asc'], ], ], [ 'name' => 'TopN', 'in' => 'query', - 'schema' => [ - 'title' => '默认10', - 'description' => 'Specifies top-N traffic data to display. Default value: **10**. This value specifies to display top-10 traffic data by default. Max value: **100**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['title' => '', 'description' => 'Specifies top-N traffic data to display. Default value: **10**. This value specifies to display top-10 traffic data by default. Max value: **100**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10'], ], [ 'name' => 'CloudIsp', 'in' => 'query', - 'schema' => [ - 'title' => '云端运营商。', - 'description' => 'The local Internet service provider (ISP).'."\n" - ."\n" - .'> In most cases, the value is Alibaba or Alibaba Cloud.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Alibaba', - ], + 'schema' => ['title' => '', 'description' => 'The local Internet service provider (ISP).'."\n" + ."\n" + .'> In most cases, the value is Alibaba or Alibaba Cloud.'."\n", 'type' => 'string', 'required' => false, 'example' => '阿里巴巴'], ], [ 'name' => 'OtherIsp', 'in' => 'query', - 'schema' => [ - 'title' => '对端运营商,查看运营商情况时,请指定此参数。', - 'description' => 'The remote ISP.'."\n" - ."\n" - .'> This parameter is required if you want to view the information about the remote ISP.', - 'type' => 'string', - 'required' => false, - 'example' => 'China Mobile', - ], + 'schema' => ['title' => '', 'description' => 'The remote ISP.'."\n" + ."\n" + .'> This parameter is required if you want to view the information about the remote ISP.', 'type' => 'string', 'required' => false, 'example' => '移动'], ], [ 'name' => 'OtherCountry', 'in' => 'query', - 'schema' => [ - 'title' => '对端国家。仅TupleType配置为5时,才需要配置该参数。', - 'description' => 'The remote country.'."\n" - ."\n" - .'> This parameter is required only if you set **TupleType** to **2** or **5**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'China', - ], + 'schema' => ['title' => '', 'description' => 'The remote country.'."\n" + ."\n" + .'> This parameter is required only if you set **TupleType** to **2** or **5**.'."\n", 'type' => 'string', 'required' => false, 'example' => '中国'], ], [ 'name' => 'OtherCity', 'in' => 'query', - 'schema' => [ - 'title' => '对端城市。仅TupleType配置为5时,才需要配置该参数。', - 'description' => 'The remote city.'."\n" - ."\n" - .'> This parameter is required only if you set **TupleType** to **2** or **5**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Hangzhou', - ], + 'schema' => ['title' => '', 'description' => 'The remote city.'."\n" + ."\n" + .'> This parameter is required only if you set **TupleType** to **2** or **5**.'."\n", 'type' => 'string', 'required' => false, 'example' => '杭州市'], ], [ 'name' => 'InstanceList', @@ -1934,13 +2395,10 @@ 'schema' => [ 'description' => 'The instance IDs for filtering.', 'type' => 'array', - 'items' => [ - 'description' => 'The instance ID for filtering.', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"eip-sample*\\"]', - ], + 'items' => ['description' => 'The instance ID for filtering.', 'type' => 'string', 'required' => false, 'example' => '[\\"eip-sample*\\"]', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ @@ -1950,46 +2408,31 @@ 'schema' => [ 'description' => 'The local IP addresses for filtering.', 'type' => 'array', - 'items' => [ - 'description' => 'The local IP address for filtering.', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"103.202.XX.XX\\"]', - ], + 'items' => ['description' => 'The local IP address for filtering.', 'type' => 'string', 'required' => false, 'example' => '[\\"103.212.XX.XX\\"]', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'UseMultiAccount', 'in' => 'query', - 'schema' => [ - 'title' => '是否使用多账号访问模式', - 'description' => 'Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.'."\n" - ."\n" - .'> By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.'."\n" + ."\n" + .'> By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], ], [ 'name' => 'AccountIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'title' => '显式传递子账号ID', + 'title' => '', 'description' => 'The IDs of member accounts.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the member account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '[123]', - ], + 'items' => ['description' => 'The ID of the member account.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[123]', 'title' => ''], 'required' => false, 'maxItems' => 10, + 'example' => '', ], ], ], @@ -2000,11 +2443,7 @@ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', 'title' => ''], 'Data' => [ 'description' => 'The ranking result of Internet traffic data.'."\n", 'type' => 'array', @@ -2012,291 +2451,101 @@ 'description' => 'The ranking result of instances by Internet traffic.', 'type' => 'object', 'properties' => [ - 'BeginTime' => [ - 'title' => '数据时间点', - 'description' => 'The beginning of the time range that you queried. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", - 'type' => 'string', - 'example' => '1684373600099', - ], - 'Direction' => [ - 'title' => '数据方向', - 'description' => 'The direction of Internet traffic. Valid values:'."\n" - ."\n" - .'* **in**: inbound'."\n" - .'* **out**: outbound'."\n", - 'type' => 'string', - 'example' => 'in', - ], - 'InstanceId' => [ - 'title' => '阿里侧IP归属的实例。', - 'description' => 'The ID of the instance to which the local IP address belongs.'."\n", - 'type' => 'string', - 'example' => 'eip-sample*', - ], - 'AccessRegion' => [ - 'title' => 'InstanceId为AnyCastEip时,流量进入阿里云的Pop点。', - 'description' => 'The access point of Alibaba Cloud.'."\n" - ."\n" - .'> This parameter is valid only if you set **InstanceId** to the instance ID of an Anycast elastic IP address (EIP).'."\n", - 'type' => 'string', - 'example' => 'cn-hongkong-pop', - ], - 'CloudIp' => [ - 'title' => '五元组云端IP', - 'description' => 'The local IP address.'."\n", - 'type' => 'string', - 'example' => '112.74.XX.XX', - ], - 'CloudPort' => [ - 'title' => '五元组云端端口', - 'description' => 'The local port.'."\n", - 'type' => 'string', - 'example' => '443', - ], - 'OtherIp' => [ - 'title' => '五元组对端IP', - 'description' => 'The remote IP address.'."\n", - 'type' => 'string', - 'example' => '122.112.XX.XX', - ], - 'OtherPort' => [ - 'title' => '五元组对端端口', - 'description' => 'The remote port.'."\n", - 'type' => 'string', - 'example' => '40002', - ], - 'Protocol' => [ - 'title' => '五元组协议', - 'description' => 'The protocol number.'."\n", - 'type' => 'string', - 'example' => '6', - ], - 'CloudCountry' => [ - 'title' => '云端国家/地区', - 'description' => 'The local country or region.'."\n", - 'type' => 'string', - 'example' => 'China', - ], - 'CloudProvince' => [ - 'title' => '云端省份', - 'description' => 'The local province.'."\n", - 'type' => 'string', - 'example' => 'Jiangsu', - ], - 'CloudCity' => [ - 'title' => '云端城市', - 'description' => 'The local city.'."\n", - 'type' => 'string', - 'example' => 'Nanjing', - ], - 'CloudIsp' => [ - 'title' => '云端ISP', - 'description' => 'The local ISP.'."\n", - 'type' => 'string', - 'example' => 'China Mobile', - ], - 'CloudProduct' => [ - 'title' => '云端ISP', - 'description' => 'The service code of the instance to which the local IP address belongs.'."\n", - 'type' => 'string', - 'example' => 'EIP', - ], - 'OtherCountry' => [ - 'title' => '对端国家/地区', - 'description' => 'The remote country or region.'."\n", - 'type' => 'string', - 'example' => 'United States', - ], - 'OtherProvince' => [ - 'title' => '对端省份', - 'description' => 'The remote province. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.'."\n", - 'type' => 'string', - 'example' => 'Texas', - ], - 'OtherCity' => [ - 'title' => '对端城市', - 'description' => 'The remote city. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.'."\n", - 'type' => 'string', - 'example' => 'Austin', - ], - 'OtherIsp' => [ - 'title' => '对端ISP', - 'description' => 'The remote ISP.'."\n", - 'type' => 'string', - 'example' => 'amazon.com', - ], - 'OtherProduct' => [ - 'title' => '对端ISP', - 'description' => 'The service code of the instance to which the remote IP address belongs. If the IP address is not on the cloud, this parameter is empty.'."\n", - 'type' => 'string', - 'example' => 'ECS', - ], - 'Rtt' => [ - 'title' => 'RTT 指标(us)', - 'description' => 'The round-trip time (RTT). Unit: milliseconds.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '10000', - ], - 'ByteCount' => [ - 'title' => '流量指标(byte)', - 'description' => 'The traffic volume. Unit: bytes.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '88', - ], - 'PacketCount' => [ - 'title' => '包数指标(个)', - 'description' => 'The number of packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '66', - ], - 'OutOrderCount' => [ - 'title' => '包数指标(个)', - 'description' => 'The number of disordered packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'InByteCount' => [ - 'title' => '包数指标(个)', - 'description' => 'The inbound traffic volume. Unit: bytes.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '88', - ], - 'OutByteCount' => [ - 'title' => '包数指标(个)', - 'description' => 'The outbound traffic volume. Unit: bytes.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '66', - ], - 'InPacketCount' => [ - 'title' => '入方向包数指标(个)', - 'description' => 'The number of inbound packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '33', - ], - 'OutPacketCount' => [ - 'title' => '出方向包数指标(个)', - 'description' => 'The number of outbound packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '22', - ], - 'InOutOrderCount' => [ - 'title' => '入方向乱序包数指标(个)', - 'description' => 'The number of inbound disordered packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '2', - ], - 'OutOutOrderCount' => [ - 'title' => '出方向乱序包数指标(个)', - 'description' => 'The number of outbound disordered packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'InRetranCount' => [ - 'title' => '入方向重传包数指标(个)', - 'description' => 'The number of inbound repeated packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '0', - ], - 'OutRetranCount' => [ - 'title' => '出方向重传包数指标(个)', - 'description' => 'The number of outbound repeated packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '1', - ], - 'RetransmitRate' => [ - 'title' => '重传率。', - 'description' => 'The retransmission rate of TCP packets.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '0.1', - ], + 'BeginTime' => ['title' => '', 'description' => 'The beginning of the time range that you queried. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n", 'type' => 'string', 'example' => '1684373600099'], + 'Direction' => ['title' => '', 'description' => 'The direction of Internet traffic. Valid values:'."\n" + ."\n" + .'* **in**: inbound'."\n" + .'* **out**: outbound'."\n", 'type' => 'string', 'example' => 'in'], + 'InstanceId' => ['title' => '', 'description' => 'The ID of the instance to which the local IP address belongs.'."\n", 'type' => 'string', 'example' => 'eip-sample*'], + 'AccessRegion' => ['title' => '', 'description' => 'The access point of Alibaba Cloud.'."\n" + ."\n" + .'> This parameter is valid only if you set **InstanceId** to the instance ID of an Anycast elastic IP address (EIP).'."\n", 'type' => 'string', 'example' => 'cn-hongkong-pop'], + 'CloudIp' => ['title' => '', 'description' => 'The local IP address.'."\n", 'type' => 'string', 'example' => '112.74.XX.XX'], + 'CloudPort' => ['title' => '', 'description' => 'The local port.'."\n", 'type' => 'string', 'example' => '443'], + 'OtherIp' => ['title' => '', 'description' => 'The remote IP address.'."\n", 'type' => 'string', 'example' => '122.112.XX.XX'], + 'OtherPort' => ['title' => '', 'description' => 'The remote port.'."\n", 'type' => 'string', 'example' => '40002'], + 'Protocol' => ['title' => '', 'description' => 'The protocol number.'."\n", 'type' => 'string', 'example' => '6'], + 'CloudCountry' => ['title' => '', 'description' => 'The local country or region.'."\n", 'type' => 'string', 'example' => '中国'], + 'CloudProvince' => ['title' => '', 'description' => 'The local province.'."\n", 'type' => 'string', 'example' => '江苏省'], + 'CloudCity' => ['title' => '', 'description' => 'The local city.'."\n", 'type' => 'string', 'example' => '南京市'], + 'CloudIsp' => ['title' => '', 'description' => 'The local ISP.'."\n", 'type' => 'string', 'example' => '移动'], + 'CloudProduct' => ['title' => '', 'description' => 'The service code of the instance to which the local IP address belongs.'."\n", 'type' => 'string', 'example' => 'EIP'], + 'OtherCountry' => ['title' => '', 'description' => 'The remote country or region.'."\n", 'type' => 'string', 'example' => '美国'], + 'OtherProvince' => ['title' => '', 'description' => 'The remote province. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.'."\n", 'type' => 'string', 'example' => '得克萨斯州'], + 'OtherCity' => ['title' => '', 'description' => 'The remote city. In most cases, this parameter is empty if you set **OtherCountry** to a country except China.'."\n", 'type' => 'string', 'example' => '奥斯汀'], + 'OtherIsp' => ['title' => '', 'description' => 'The remote ISP.'."\n", 'type' => 'string', 'example' => 'amazon.com'], + 'OtherProduct' => ['title' => '', 'description' => 'The service code of the instance to which the remote IP address belongs. If the IP address is not on the cloud, this parameter is empty.'."\n", 'type' => 'string', 'example' => 'ECS'], + 'Rtt' => ['title' => '', 'description' => 'The round-trip time (RTT). Unit: milliseconds.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '10000'], + 'ByteCount' => ['title' => '', 'description' => 'The traffic volume. Unit: bytes.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '88'], + 'PacketCount' => ['title' => '', 'description' => 'The number of packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '66'], + 'OutOrderCount' => ['title' => '', 'description' => 'The number of disordered packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'InByteCount' => ['title' => '', 'description' => 'The inbound traffic volume. Unit: bytes.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '88'], + 'OutByteCount' => ['title' => '', 'description' => 'The outbound traffic volume. Unit: bytes.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '66'], + 'InPacketCount' => ['title' => '', 'description' => 'The number of inbound packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '33'], + 'OutPacketCount' => ['title' => '', 'description' => 'The number of outbound packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '22'], + 'InOutOrderCount' => ['title' => '', 'description' => 'The number of inbound disordered packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '2'], + 'OutOutOrderCount' => ['title' => '', 'description' => 'The number of outbound disordered packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'InRetranCount' => ['title' => '', 'description' => 'The number of inbound repeated packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0'], + 'OutRetranCount' => ['title' => '', 'description' => 'The number of outbound repeated packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '1'], + 'RetransmitRate' => ['title' => '', 'description' => 'The retransmission rate of TCP packets.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '0.1'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.TopN', - 'errorMessage' => 'The TopN(%s) should not greater than 100.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime1H', - 'errorMessage' => 'It only supports querying data for up to 1 hour: %s.', - ], - [ - 'errorCode' => 'IllegalParam.GroupBy', - 'errorMessage' => 'The specified param of GroupBy (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.OrderBy', - 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.RegionId', - 'errorMessage' => 'The specified region ID (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime', - 'errorMessage' => 'It only supports querying data for up to 24 hours: %s.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime5M', - 'errorMessage' => 'It only supports querying data for up to 5 minute when TupleType is 5 and the CloudIp and OtherIp are both empty: %s.', - ], - [ - 'errorCode' => 'OperationFailed.DbConcurrentTooHigh', - 'errorMessage' => 'The operation failed due to too many concurrent queries. Please try again later.', - ], - [ - 'errorCode' => 'OperationFailed.DataTooMuch', - 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', - ], + ['errorCode' => 'IllegalParam.TopN', 'errorMessage' => 'The TopN(%s) should not greater than 100.', 'description' => 'Only top 100 are supported. Actual input: (%s).'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime1H', 'errorMessage' => 'It only supports querying data for up to 1 hour: %s.', 'description' => 'Maximum support for querying 1 hour of data: %s.'], + ['errorCode' => 'IllegalParam.GroupBy', 'errorMessage' => 'The specified param of GroupBy (%s) is invalid.', 'description' => 'The specified group field (%s) is invalid.'], + ['errorCode' => 'IllegalParam.OrderBy', 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', 'description' => 'The specified sort field (%s) is invalid.'], + ['errorCode' => 'IllegalParam.RegionId', 'errorMessage' => 'The specified region ID (%s) is invalid.', 'description' => 'The specified region ID (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime', 'errorMessage' => 'It only supports querying data for up to 24 hours: %s.', 'description' => 'The time range that you can query must be no longer than 24 hours.'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime5M', 'errorMessage' => 'It only supports querying data for up to 5 minute when TupleType is 5 and the CloudIp and OtherIp are both empty: %s.', 'description' => 'When TupleType = 5 and the CloudIp and OtherIp are both empty, you can only query data in a range of up to 5 minutes.'], + ['errorCode' => 'OperationFailed.DbConcurrentTooHigh', 'errorMessage' => 'The operation failed due to too many concurrent queries. Please try again later.', 'description' => 'The operation failed because there are too many current users. Please try again later.'], + ['errorCode' => 'OperationFailed.DataTooMuch', 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', 'description' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified InstanceId(%s) does not exist.', - ], - [ - 'errorCode' => 'ResourceNotFound.IpSets', - 'errorMessage' => 'The specified instance does not exist or does not have any acceleration region.', - ], + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified InstanceId(%s) does not exist.', 'description' => 'The specified InstanceId does not exist.'], + ['errorCode' => 'ResourceNotFound.IpSets', 'errorMessage' => 'The specified instance does not exist or does not have any acceleration region.', 'description' => 'The specified instance does not exist or does not have any acceleration region.'], ], ], 'staticInfo' => [ - 'substitutions' => [ - 'nis::2021-12-16::GetNisNetworkRanking', + 'substitutions' => ['nis::2021-12-16::GetNisNetworkRanking'], + ], + 'title' => 'GetInternetTuple', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetInternetTuple'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetInternetTuple', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"Data\\": [\\n {\\n \\"BeginTime\\": \\"1684373600099\\",\\n \\"Direction\\": \\"in\\",\\n \\"InstanceId\\": \\"eip-sample*\\",\\n \\"AccessRegion\\": \\"cn-hongkong-pop\\",\\n \\"CloudIp\\": \\"112.74.XX.XX\\",\\n \\"CloudPort\\": \\"443\\",\\n \\"OtherIp\\": \\"122.112.XX.XX\\",\\n \\"OtherPort\\": \\"40002\\",\\n \\"Protocol\\": \\"6\\",\\n \\"CloudCountry\\": \\"中国\\",\\n \\"CloudProvince\\": \\"江苏省\\",\\n \\"CloudCity\\": \\"南京市\\",\\n \\"CloudIsp\\": \\"移动\\",\\n \\"CloudProduct\\": \\"EIP\\",\\n \\"OtherCountry\\": \\"美国\\",\\n \\"OtherProvince\\": \\"得克萨斯州\\",\\n \\"OtherCity\\": \\"奥斯汀\\",\\n \\"OtherIsp\\": \\"amazon.com\\",\\n \\"OtherProduct\\": \\"ECS\\",\\n \\"Rtt\\": 10000,\\n \\"ByteCount\\": 88,\\n \\"PacketCount\\": 66,\\n \\"OutOrderCount\\": 1,\\n \\"InByteCount\\": 88,\\n \\"OutByteCount\\": 66,\\n \\"InPacketCount\\": 33,\\n \\"OutPacketCount\\": 22,\\n \\"InOutOrderCount\\": 2,\\n \\"OutOutOrderCount\\": 1,\\n \\"InRetranCount\\": 0,\\n \\"OutRetranCount\\": 1,\\n \\"RetransmitRate\\": 0.1\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetInternetTuple', ], 'GetNatTopN' => [ 'summary' => 'Queries the real-time SNAT performance ranking of a NAT gateway.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2307,62 +2556,34 @@ 'systemTags' => [ 'operationType' => 'list', 'abilityTreeCode' => '116918', - 'abilityTreeNodes' => [ - 'FEATUREnetana5MCZ6K', - ], + 'abilityTreeNodes' => ['FEATUREnetana5MCZ6K'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => 'Nat网关实例所属地域', - 'description' => 'The ID of the region in which the NAT gateway is deployed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the region in which the NAT gateway is deployed.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'title' => 'Nat网关实例ID', - 'description' => 'The ID of the NAT gateway.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-sample***', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the NAT gateway.'."\n", 'type' => 'string', 'required' => true, 'example' => 'ngw-sample***'], ], [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询指标的开始毫秒时间戳。如果不指定EndTime,则查询的是BeginTime指定的时间点的TopN情况。', - 'description' => 'The beginning of the time range to query in milliseconds. If you do not specify **EndTime**, the point in time specified by **BeginTime** is queried.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1638239092000', - ], + 'schema' => ['title' => '', 'description' => 'The beginning of the time range to query in milliseconds. If you do not specify **EndTime**, the point in time specified by **BeginTime** is queried.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1638239092000'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询指标的结束毫秒时间戳。BeginTime和EndTime的最大差距不能超过24小时,即86400000。', - 'description' => 'The end of the time range to query in milliseconds. The time range specified by **BeginTime** and **EndTime** cannot exceed **86400000** milliseconds (24 hours).'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1638239093000', - ], + 'schema' => ['title' => '', 'description' => 'The end of the time range to query in milliseconds. The time range specified by **BeginTime** and **EndTime** cannot exceed **86400000** milliseconds (24 hours).'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1638239093000'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => [ - 'title' => '按哪个指标倒叙排序取TopN。', + 'title' => '', 'description' => 'The metric that is used for real-time SNAT performance ranking. Valid values:'."\n" ."\n" .'* **InBps**: inbound data transfer. Unit: bit/s.'."\n" @@ -2380,25 +2601,12 @@ [ 'name' => 'TopN', 'in' => 'query', - 'schema' => [ - 'title' => '取最大多少条数据,默认10,最大100。', - 'description' => 'The number of entries to return for real-time SNAT performance ranking. Valid values: **1 to 100**. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '', 'description' => 'The number of entries to return for real-time SNAT performance ranking. Valid values: **1 to 100**. Default value: **10**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'title' => '查指定ip的指标,此时无需传topN和orderBy', - 'description' => 'Query ranking statistics for a specific IP address. If you specify this parameter, you do not need to specify **TopN** or **OrderBy**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.156.101', - ], + 'schema' => ['title' => '', 'description' => 'Query ranking statistics for a specific IP address. If you specify this parameter, you do not need to specify **TopN** or **OrderBy**.'."\n", 'type' => 'string', 'required' => false, 'example' => '192.168.156.101'], ], ], 'responses' => [ @@ -2406,562 +2614,1267 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '77C512B5-12f3-f892-BD94-88A98271C1A0', - ], + 'RequestId' => ['description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '77C512B5-12f3-f892-BD94-88A98271C1A0', 'title' => ''], 'NatGatewayTopN' => [ - 'title' => '以下指标取BeginTime到EndTime的均值。', + 'title' => '', 'description' => 'An array of statistics about real-time SNAT performance ranking.'."\n", 'type' => 'array', 'items' => [ 'description' => 'The fields that are included in the statistics about real-time SNAT performance ranking. The values of the fields are averages within the time range from **BeginTime** to **EndTime**.'."\n", 'type' => 'object', 'properties' => [ - 'Ip' => [ - 'title' => 'IP地址', - 'description' => 'The IP address.'."\n", - 'type' => 'string', - 'example' => '192.168.156.101', - ], - 'InBps' => [ - 'title' => '入方向流量,单位bps', - 'description' => 'The inbound data transfer. Unit: bit/s.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '100', - ], - 'OutBps' => [ - 'title' => '出方向流量,单位bps', - 'description' => 'The outbound data transfer. Unit: bit/s.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '200', - ], - 'InPps' => [ - 'title' => '入方向包速率(个/秒)', - 'description' => 'The inbound packet forwarding rate. Unit: packets per second.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'OutPps' => [ - 'title' => '出方向包速率', - 'description' => 'The outbound packet forwarding rate. Unit: packets per second.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '20', - ], - 'InFlowPerMinute' => [ - 'description' => 'This field is reserved and not in use.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'OutFlowPerMinute' => [ - 'description' => 'This field is reserved and not in use.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '10', - ], - 'NewSessionPerSecond' => [ - 'title' => '新建连接数(个/秒)', - 'description' => 'The new connection creation rate. Unit: connections per second.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '2', - ], - 'ActiveSessionCount' => [ - 'title' => '并发连接数(个)', - 'description' => 'The number of concurrent connections. Unit: connections.'."\n", - 'type' => 'number', - 'format' => 'float', - 'example' => '8', - ], + 'Ip' => ['title' => '', 'description' => 'The IP address.'."\n", 'type' => 'string', 'example' => '192.168.156.101'], + 'InBps' => ['title' => '', 'description' => 'The inbound data transfer. Unit: bit/s.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '100'], + 'OutBps' => ['title' => '', 'description' => 'The outbound data transfer. Unit: bit/s.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '200'], + 'InPps' => ['title' => '', 'description' => 'The inbound packet forwarding rate. Unit: packets per second.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'OutPps' => ['title' => '', 'description' => 'The outbound packet forwarding rate. Unit: packets per second.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '20'], + 'InFlowPerMinute' => ['description' => 'This field is reserved and not in use.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'OutFlowPerMinute' => ['description' => 'This field is reserved and not in use.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '10', 'title' => ''], + 'NewSessionPerSecond' => ['title' => '', 'description' => 'The new connection creation rate. Unit: connections per second.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '2'], + 'ActiveSessionCount' => ['title' => '', 'description' => 'The number of concurrent connections. Unit: connections.'."\n", 'type' => 'number', 'format' => 'float', 'example' => '8'], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], - 'IsTopNOpen' => [ - 'title' => '该实例是否开通TopN功能', - 'description' => 'Indicates whether Network Intelligence Service (NIS) is activated. The NatGatewayTopN parameter returns an empty array when NIS is not activated.'."\n" - ."\n" - .'* **true**: activated'."\n" - .'* **false**: not activated'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], + 'IsTopNOpen' => ['title' => '', 'description' => 'Indicates whether Network Intelligence Service (NIS) is activated. The NatGatewayTopN parameter returns an empty array when NIS is not activated.'."\n" + ."\n" + .'* **true**: activated'."\n" + .'* **false**: not activated'."\n", 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.TopN', - 'errorMessage' => 'The TopN(%s) should not greater than 100.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime', - 'errorMessage' => 'It only supports querying data for up to 7 days: %s.', - ], - [ - 'errorCode' => 'IllegalParam.ResourceId', - 'errorMessage' => 'The specified resourceId (%s) may be not exist.', - ], - [ - 'errorCode' => 'IllegalParam.OrderBy', - 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', - ], + ['errorCode' => 'IllegalParam.TopN', 'errorMessage' => 'The TopN(%s) should not greater than 100.', 'description' => 'Only top 100 are supported. Actual input: (%s).'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime', 'errorMessage' => 'It only supports querying data for up to 7 days: %s.', 'description' => 'You can query data within the last seven days: %s.'], + ['errorCode' => 'IllegalParam.ResourceId', 'errorMessage' => 'The specified resourceId (%s) may be not exist.', 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['errorCode' => 'IllegalParam.OrderBy', 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', 'description' => 'The specified sort field (%s) is invalid.'], ], ], 'staticInfo' => [ - 'substitutions' => [ - 'nis::2021-12-16::GetNisNetworkRanking', - ], + 'substitutions' => ['nis::2021-12-16::GetNisNetworkRanking'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"77C512B5-12f3-f892-BD94-88A98271C1A0\\",\\n \\"NatGatewayTopN\\": [\\n {\\n \\"Ip\\": \\"192.168.156.101\\",\\n \\"InBps\\": 100,\\n \\"OutBps\\": 200,\\n \\"InPps\\": 10,\\n \\"OutPps\\": 20,\\n \\"InFlowPerMinute\\": 10,\\n \\"OutFlowPerMinute\\": 10,\\n \\"NewSessionPerSecond\\": 2,\\n \\"ActiveSessionCount\\": 8\\n }\\n ],\\n \\"IsTopNOpen\\": true\\n}","type":"json"}]', 'title' => 'GetNatTopN', - ], - 'GetVbrFlowTopN' => [ - 'summary' => 'Queries the rankings of hybrid cloud traffic data in the form of 1-tuple, 2-tuple, or 5-tuple. Hybrid cloud traffic data can be ranked by metrics such as traffic volumes and the number of packets.', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNatTopN'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetNatTopN', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"77C512B5-12f3-f892-BD94-88A98271C1A0\\",\\n \\"NatGatewayTopN\\": [\\n {\\n \\"Ip\\": \\"192.168.156.101\\",\\n \\"InBps\\": 100,\\n \\"OutBps\\": 200,\\n \\"InPps\\": 10,\\n \\"OutPps\\": 20,\\n \\"InFlowPerMinute\\": 10,\\n \\"OutFlowPerMinute\\": 10,\\n \\"NewSessionPerSecond\\": 2,\\n \\"ActiveSessionCount\\": 8\\n }\\n ],\\n \\"IsTopNOpen\\": true\\n}","type":"json"}]', + ], + 'GetNetworkReachableAnalysis' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => true, + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '178894', - 'abilityTreeNodes' => [ - 'FEATUREnetanaOV20CD', - ], + 'abilityTreeNodes' => ['FEATUREnetana59X9GB', 'FEATUREnetana98CV3P', 'FEATUREnetanaWZGUR4', 'FEATUREnetanaDZZVCZ', 'FEATUREnetana0CBIRP', 'FEATUREnetanaJGHZ2X', 'FEATUREnetanaRD137H', 'FEATUREnetanaCAWHBE', 'FEATUREnetana8JUW6E'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '云端地域。', - 'description' => 'The local region.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The ID of the region for which you want to obtain the result of network reachability analysis.', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ - 'name' => 'BeginTime', + 'name' => 'NetworkReachableAnalysisId', 'in' => 'query', + 'schema' => ['description' => 'The ID of the task for analyzing network reachability. You can call the **CreateNetworkRearchableAnalysis** operation to obtain the ID of the task for analyzing network reachability.', 'type' => 'string', 'required' => true, 'example' => 'nra-90eef36a9e6e4662****', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '查询起始时间的毫秒时间戳。最大支持查24小时跨度的数据。', - 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1638239092000', + 'type' => 'object', + 'properties' => [ + 'NetworkPathId' => ['description' => 'The network path ID.', 'type' => 'string', 'example' => 'np-2a1332214fa346b6****', 'title' => ''], + 'NetworkReachableAnalysisId' => ['description' => 'The ID of the task for analyzing network reachability.', 'type' => 'string', 'example' => 'nra-8607514e71c1484****', 'title' => ''], + 'NetworkReachableAnalysisStatus' => ['description' => 'The state of the task for analyzing network reachability. Valid values:'."\n" + ."\n" + .'- **init**: The task is in progress.'."\n" + ."\n" + .'- **finish**: The task is complete.'."\n" + ."\n" + .'- **error**: An analysis error occurred.'."\n" + ."\n" + .'- **timeout**: The task timed out.', 'type' => 'string', 'example' => 'finish', 'title' => ''], + 'NetworkReachableAnalysisResult' => ['description' => 'The result of network reachability analysis, which includes the network topology, error codes of network unreachability, and rules of network unreachability.', 'type' => 'string', 'example' => '{'."\n" + .' "errorCode": "",'."\n" + .' "networkAclData": {'."\n" + .' "networkAclItems": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "nraId": "nra-f2c8701a36424094****",'."\n" + .' "requestId": "B931F8A0-620E-5230-B77F-3BD7F612****",'."\n" + .' "routeData": {'."\n" + .' "routeItems": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "securityGroupData": {'."\n" + .' "policy": "accept",'."\n" + .' "securityGroupItems": ['."\n" + .' {'."\n" + .' "description": "default_sg_access_rule",'."\n" + .' "matchedRule": {'."\n" + .' "bizProtocol": "ALL",'."\n" + .' "creatingTime": "2022-11-10T03:24:49Z",'."\n" + .' "description": "",'."\n" + .' "destinationCidr": "",'."\n" + .' "destinationGroupId": "sg-wz980j96p8y99co5****",'."\n" + .' "direction": "egress",'."\n" + .' "policy": "Accept",'."\n" + .' "portRange": "-1/-1",'."\n" + .' "priority": "1",'."\n" + .' "sourceCidr": "",'."\n" + .' "sourceGroupId": ""'."\n" + .' },'."\n" + .' "policy": "accept",'."\n" + .' "resourceId": "eni-wz92ce4saz1jzazg****",'."\n" + .' "securityGroupId": "sg-wz980j96p8y99co5****"'."\n" + .' },'."\n" + .' {'."\n" + .' "description": "user_acl_drop_rule",'."\n" + .' "matchedRule": {'."\n" + .' "bizProtocol": "",'."\n" + .' "creatingTime": "",'."\n" + .' "description": "",'."\n" + .' "destinationCidr": "",'."\n" + .' "destinationGroupId": "",'."\n" + .' "direction": "",'."\n" + .' "policy": "",'."\n" + .' "portRange": "",'."\n" + .' "priority": "",'."\n" + .' "sourceCidr": "",'."\n" + .' "sourceGroupId": ""'."\n" + .' },'."\n" + .' "policy": "",'."\n" + .' "resourceId": "eni-wz97vry93t6z4lbd****",'."\n" + .' "securityGroupId": "sg-wz980j96p8y99co****"'."\n" + .' }'."\n" + .' ],'."\n" + .' "securityGroupReportId": "sgr-4479d23bb37241aab****"'."\n" + .' },'."\n" + .' "status": "security_group_checking_target",'."\n" + .' "topologyData": {'."\n" + .' "positive": {'."\n" + .' "linkList": ['."\n" + .' {'."\n" + .' "id": "i-wz91dk7bor557hp93zyv-->eni-wz92ce4saz1jzazg****",'."\n" + .' "source": "i-wz91dk7bor557hp9****",'."\n" + .' "target": "eni-wz92ce4saz1jzazg****"'."\n" + .' },'."\n" + .' {'."\n" + .' "id": "eni-wz92ce4saz1jzazgi13d-->vsw-wz9slpwdcppwfrnee****",'."\n" + .' "source": "eni-wz92ce4saz1jzazg****",'."\n" + .' "target": "vsw-wz9slpwdcppwfrnee****"'."\n" + .' },'."\n" + .' {'."\n" + .' "id": "vsw-wz9slpwdcppwfrneebcrp-->eni-wz97vry93t6z4lbd****",'."\n" + .' "source": "vsw-wz9slpwdcppwfrnee****",'."\n" + .' "target": "eni-wz97vry93t6z4lbd****"'."\n" + .' },'."\n" + .' {'."\n" + .' "id": "eni-wz97vry93t6z4lbdgmfi-->i-wz91dk7bor557hp9****",'."\n" + .' "source": "eni-wz97vry93t6z4lbd****",'."\n" + .' "target": "i-wz91dk7bor557hp9****"'."\n" + .' }'."\n" + .' ],'."\n" + .' "nodeList": ['."\n" + .' {'."\n" + .' "aZone": "cn-shenzhen-d",'."\n" + .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" + .' "id": "i-wz91dk7bor557hp9****",'."\n" + .' "level": 1,'."\n" + .' "matchedRoute": {'."\n" + .' "nextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "nodeType": "VM",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "trafficLogs": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' {'."\n" + .' "aZone": "cn-shenzhen-d",'."\n" + .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" + .' "id": "i-wz91dk7bor557hp9****",'."\n" + .' "level": 3,'."\n" + .' "matchedRoute": {'."\n" + .' "nextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "nodeType": "VM",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "trafficLogs": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' {'."\n" + .' "aZone": "cn-shenzhen-d",'."\n" + .' "bizInsId": "vsw-wz9slpwdcppwfrnee****",'."\n" + .' "cidr": "192.168.0.0/24",'."\n" + .' "id": "vsw-wz9slpwdcppwfrnee****",'."\n" + .' "level": 2,'."\n" + .' "matchedRoute": {'."\n" + .' "nextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "nodeType": "VSW",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "trafficLogs": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' {'."\n" + .' "bizInsId": "eni-wz92ce4saz1jzazg****",'."\n" + .' "id": "eni-wz92ce4saz1jzazg****",'."\n" + .' "ip": "192.168.0.33",'."\n" + .' "mac": "00:XXXX:3e:16:7c:50",'."\n" + .' "matchedRoute": {'."\n" + .' "nextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "nodeType": "ENI",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "status": "InUse",'."\n" + .' "trafficLogs": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' {'."\n" + .' "bizInsId": "eni-wz97vry93t6z4lbd****",'."\n" + .' "id": "eni-wz97vry93t6z4lbd****",'."\n" + .' "ip": "192.168.0.34",'."\n" + .' "mac": "00:XXXX:3e:14:70:c2",'."\n" + .' "matchedRoute": {'."\n" + .' "nextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "nodeType": "ENI",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "status": "InUse",'."\n" + .' "trafficLogs": ['."\n" + .' '."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .' },'."\n" + .' "reverse": {'."\n" + .' "revLinkList": ['."\n" + .' {'."\n" + .' "id": "i-wz91dk7bor557hp93zys-->eni-wz97vry93t6z4lbd****",'."\n" + .' "source": "i-wz91dk7bor557hp9****",'."\n" + .' "target": "eni-wz97vry93t6z4lbd****"'."\n" + .' },'."\n" + .' {'."\n" + .' "id": "eni-wz97vry93t6z4lbdgmfi-->vsw-wz9slpwdcppwfrnee****",'."\n" + .' "source": "eni-wz97vry93t6z4lbd****",'."\n" + .' "target": "vsw-wz9slpwdcppwfrnee****"'."\n" + .' },'."\n" + .' {'."\n" + .' "id": "vsw-wz9slpwdcppwfrneebcrp-->eni-wz92ce4saz1jzazg****",'."\n" + .' "source": "vsw-wz9slpwdcppwfrnee****",'."\n" + .' "target": "eni-wz92ce4saz1jzazg****"'."\n" + .' },'."\n" + .' {'."\n" + .' "id": "eni-wz92ce4saz1jzazgi13d-->i-wz91dk7bor557hp9****",'."\n" + .' "source": "eni-wz92ce4saz1jzazg****",'."\n" + .' "target": "i-wz91dk7bor557hp9****"'."\n" + .' }'."\n" + .' ],'."\n" + .' "revNodeList": ['."\n" + .' {'."\n" + .' "aZone": "cn-shenzhen-d",'."\n" + .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" + .' "id": "i-wz91dk7bor557hp9****",'."\n" + .' "level": 1,'."\n" + .' "nodeType": "VM",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "revMatchedRoute": {'."\n" + .' "revNextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' }'."\n" + .' },'."\n" + .' {'."\n" + .' "aZone": "cn-shenzhen-d",'."\n" + .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" + .' "id": "i-wz91dk7bor557hp9****",'."\n" + .' "level": 3,'."\n" + .' "nodeType": "VM",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "revMatchedRoute": {'."\n" + .' "revNextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' }'."\n" + .' },'."\n" + .' {'."\n" + .' "aZone": "cn-shenzhen-d",'."\n" + .' "bizInsId": "vsw-wz9slpwdcppwfrnee****",'."\n" + .' "cidr": "192.168.0.0/24",'."\n" + .' "id": "vsw-wz9slpwdcppwfrnee****",'."\n" + .' "level": 2,'."\n" + .' "nodeType": "VSW",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "revMatchedRoute": {'."\n" + .' "revNextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' }'."\n" + .' },'."\n" + .' {'."\n" + .' "bizInsId": "eni-wz97vry93t6z4lbd****",'."\n" + .' "id": "eni-wz97vry93t6z4lbd****",'."\n" + .' "ip": "192.168.0.34",'."\n" + .' "mac": "00:XXXX:3e:14:70:c2",'."\n" + .' "nodeType": "ENI",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "revMatchedRoute": {'."\n" + .' "revNextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "status": "InUse"'."\n" + .' },'."\n" + .' {'."\n" + .' "bizInsId": "eni-wz92ce4saz1jzazg****",'."\n" + .' "id": "eni-wz92ce4saz1jzazg****",'."\n" + .' "ip": "192.168.0.33",'."\n" + .' "mac": "00:XXXX:3e:16:7c:50",'."\n" + .' "nodeType": "ENI",'."\n" + .' "regionNo": "cn-shenzhen-st3-a01",'."\n" + .' "regionNoAlias": "cn-shenzhen",'."\n" + .' "revMatchedRoute": {'."\n" + .' "revNextHopSet": ['."\n" + .' '."\n" + .' ]'."\n" + .' },'."\n" + .' "status": "InUse"'."\n" + .' }'."\n" + .' ]'."\n" + .' },'."\n" + .' "topologyReportId": "tpr-21cf60002715491b8****"'."\n" + .' }'."\n" + .'}', 'title' => ''], + 'Reachable' => ['description' => 'Indicates whether the network path is reachable. Valid values:'."\n" + ."\n" + .'- **true**: The network path is reachable.'."\n" + ."\n" + .'- **false**: The network path is unreachable.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the network path was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.', 'type' => 'string', 'example' => '2023-03-16T07:11:27Z', 'title' => ''], + 'AliUid' => ['description' => 'The unique ID (UID) of the Alibaba Cloud account.', 'type' => 'integer', 'format' => 'int64', 'example' => '123147627844****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DEE0FEAF-59AE-5CDD-AA07-626BC365D571', 'title' => ''], + 'NetworkPathParameter' => ['description' => 'The parameters of the network path.', 'type' => 'string', 'example' => '{'."\n" + .' "sourceId": "i-bp100g5pbp6kj4p9****",'."\n" + .' "sourceType": "ecs",'."\n" + .' "targetId": "i-t4n4ltwgbbomzb0g****",'."\n" + .' "targetType": "ecs"'."\n" + .'}', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'SizeExceeds.Zones', 'errorMessage' => 'The length of the specified available zones exceeds the limit.', 'description' => 'The specified number of zones exceeds the upper limit.'], + ['errorCode' => 'SizeExceeds.DiskCategories', 'errorMessage' => 'The length of the specified disk categories exceeds the limit.', 'description' => 'The specified number of disk categories exceeds the upper limit.'], + ['errorCode' => 'OperationDenied.ZonesConflict', 'errorMessage' => 'The specified available zones do not belong to the same region.', 'description' => 'The specified zones do not belong to the same region.'], + ['errorCode' => 'IllegalParam.ZoneId', 'errorMessage' => 'The specified available zone (%s) is invalid.', 'description' => 'The specified zone (%s) is invalid.'], + ['errorCode' => 'IllegalParam.StepMinutes', 'errorMessage' => 'The specified sampling interval (%s) is invalid.', 'description' => 'The specified sampling interval (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTime', 'errorMessage' => 'The specified begin time (%s) is invalid.', 'description' => 'The specified start time (%s) is invalid.'], + ['errorCode' => 'IllegalParam.EndTime', 'errorMessage' => 'The specified end time (%s) is invalid.', 'description' => 'The specified end time (%s) is invalid.'], + ['errorCode' => 'Mismatch.BeginTimeAndEndTime', 'errorMessage' => 'The specified begin time must be earlier than the end time.', 'description' => 'The specified start time must be earlier than the end time.'], + ['errorCode' => 'OperationDenied.NetworkReachableAnalysis', 'errorMessage' => 'The operation is not allowed because of invalid parameters.', 'description' => 'The request has invalid parameters. The current operation is not allowed.'], + ], + 403 => [ + ['errorCode' => 'Forbidden.NetworkReachableAnalysisId', 'errorMessage' => 'The user does not have permission on the instance parameter (%s).', 'description' => 'The user does not have permission to the resource (%s).'], + ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '查询结束时间的毫秒时间戳。最大支持查24小时跨度的数据。', - 'description' => 'The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1638239093000', + ['errorCode' => 'ResourceNotFound.NetworkReachableAnalysisId', 'errorMessage' => 'The instance resource (%s) does not exist.', 'description' => 'The resource (%s) does not exist.'], + ['errorCode' => 'ResourceNotFound.NetworkReachableAnalysis', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => 'The specified network path ID %s is invalid.'], + ], + ], + 'title' => 'GetNetworkReachableAnalysis', + 'summary' => 'Obtains the results of network reachability analysis.', + 'description' => '**GetNetworkReachableAnalysis** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can query the state of the task for analyzing network reachability.'."\n" + ."\n" + .'- The **init** state indicates that the task is in progress.'."\n" + ."\n" + .'- The **finish** state indicates that the task is complete. In this state, you can obtain the analysis result.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNetworkReachableAnalysis'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:GetNetworkReachableAnalysis', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/{#NetworkReachableAnalysisId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NetworkPathId\\": \\"np-2a1332214fa346b6****\\",\\n \\"NetworkReachableAnalysisId\\": \\"nra-8607514e71c1484****\\",\\n \\"NetworkReachableAnalysisStatus\\": \\"finish\\",\\n \\"NetworkReachableAnalysisResult\\": \\"{\\\\n \\\\\\"errorCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"networkAclData\\\\\\": {\\\\n \\\\\\"networkAclItems\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nraId\\\\\\": \\\\\\"nra-f2c8701a36424094****\\\\\\",\\\\n \\\\\\"requestId\\\\\\": \\\\\\"B931F8A0-620E-5230-B77F-3BD7F612****\\\\\\",\\\\n \\\\\\"routeData\\\\\\": {\\\\n \\\\\\"routeItems\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"securityGroupData\\\\\\": {\\\\n \\\\\\"policy\\\\\\": \\\\\\"accept\\\\\\",\\\\n \\\\\\"securityGroupItems\\\\\\": [\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"default_sg_access_rule\\\\\\",\\\\n \\\\\\"matchedRule\\\\\\": {\\\\n \\\\\\"bizProtocol\\\\\\": \\\\\\"ALL\\\\\\",\\\\n \\\\\\"creatingTime\\\\\\": \\\\\\"2022-11-10T03:24:49Z\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationGroupId\\\\\\": \\\\\\"sg-wz980j96p8y99co5****\\\\\\",\\\\n \\\\\\"direction\\\\\\": \\\\\\"egress\\\\\\",\\\\n \\\\\\"policy\\\\\\": \\\\\\"Accept\\\\\\",\\\\n \\\\\\"portRange\\\\\\": \\\\\\"-1/-1\\\\\\",\\\\n \\\\\\"priority\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"sourceCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"sourceGroupId\\\\\\": \\\\\\"\\\\\\"\\\\n },\\\\n \\\\\\"policy\\\\\\": \\\\\\"accept\\\\\\",\\\\n \\\\\\"resourceId\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"securityGroupId\\\\\\": \\\\\\"sg-wz980j96p8y99co5****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"user_acl_drop_rule\\\\\\",\\\\n \\\\\\"matchedRule\\\\\\": {\\\\n \\\\\\"bizProtocol\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"creatingTime\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationGroupId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"direction\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"policy\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"portRange\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"priority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"sourceCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"sourceGroupId\\\\\\": \\\\\\"\\\\\\"\\\\n },\\\\n \\\\\\"policy\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"resourceId\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"securityGroupId\\\\\\": \\\\\\"sg-wz980j96p8y99co****\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"securityGroupReportId\\\\\\": \\\\\\"sgr-4479d23bb37241aab****\\\\\\"\\\\n },\\\\n \\\\\\"status\\\\\\": \\\\\\"security_group_checking_target\\\\\\",\\\\n \\\\\\"topologyData\\\\\\": {\\\\n \\\\\\"positive\\\\\\": {\\\\n \\\\\\"linkList\\\\\\": [\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp93zyv-->eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazgi13d-->vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrneebcrp-->eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbdgmfi-->i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"nodeList\\\\\\": [\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 1,\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 3,\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"cidr\\\\\\": \\\\\\"192.168.0.0/24\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"level\\\\\\": 2,\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VSW\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.33\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:16:7c:50\\\\\\",\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.34\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:14:70:c2\\\\\\",\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"reverse\\\\\\": {\\\\n \\\\\\"revLinkList\\\\\\": [\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp93zys-->eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbdgmfi-->vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrneebcrp-->eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazgi13d-->i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"revNodeList\\\\\\": [\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 1,\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 3,\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"cidr\\\\\\": \\\\\\"192.168.0.0/24\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"level\\\\\\": 2,\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VSW\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.34\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:14:70:c2\\\\\\",\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.33\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:16:7c:50\\\\\\",\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"topologyReportId\\\\\\": \\\\\\"tpr-21cf60002715491b8****\\\\\\"\\\\n }\\\\n}\\",\\n \\"Reachable\\": true,\\n \\"CreateTime\\": \\"2023-03-16T07:11:27Z\\",\\n \\"AliUid\\": 0,\\n \\"RequestId\\": \\"DEE0FEAF-59AE-5CDD-AA07-626BC365D571\\",\\n \\"NetworkPathParameter\\": \\"{\\\\n \\\\\\"sourceId\\\\\\": \\\\\\"i-bp100g5pbp6kj4p9****\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"ecs\\\\\\",\\\\n \\\\\\"targetId\\\\\\": \\\\\\"i-t4n4ltwgbbomzb0g****\\\\\\",\\\\n \\\\\\"targetType\\\\\\": \\\\\\"ecs\\\\\\"\\\\n}\\"\\n}","type":"json"}]', + ], + 'GetNisNetworkMetrics' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '222161', + 'abilityTreeNodes' => ['FEATUREnetana5MCZ6K', 'FEATUREnetanaOV20CD', 'FEATUREnetanaB9LIVJ', 'FEATUREnetanaCEA895'], + ], + 'parameters' => [ [ - 'name' => 'Direction', + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'title' => '对于当前地域或IP的流量方向。'."\n" - .'in:从IDC访问阿里云'."\n" - .'out:从阿里云访问IDC', - 'description' => 'The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:'."\n" + 'description' => 'The type of Alibaba Cloud network resource that forwards traffic. Valid values:'."\n" ."\n" - .'* **in**: traffic from a data center to Alibaba Cloud'."\n" - .'* **out**: traffic from Alibaba Cloud to a data center'."\n", + .'- `AccessInternetIpV4`: All types of public IPv4 addresses provided by Alibaba Cloud.'."\n" + ."\n" + .'- `AccessInternetIpV4Limited`: All types of public IPv4 addresses provided by Alibaba Cloud that are subject to region-specific bandwidth limits.'."\n" + ."\n" + .'- `ElasticIP`: Elastic IP (EIP) addresses (IPv4).'."\n" + ."\n" + .'- `PublicIpEcs`: Fixed public IP addresses (IPv4) for ECS instances.'."\n" + ."\n" + .'- `PublicIpClb`: Fixed public IP addresses (IPv4) for CLB instances.'."\n" + ."\n" + .'- `NAT`: Internet traffic that passes through a NAT gateway via SNAT.'."\n" + ."\n" + .'- `TR`: Traffic that passes through a Cloud Enterprise Network (CEN) Transit Router.'."\n" + ."\n" + .'- `TRAttachment`: Traffic that passes through a CEN connection. This includes intra-region and inter-region connections. Intra-region connections support both inbound and outbound traffic. Inter-region connections support only outbound traffic.'."\n" + ."\n" + .'- `VBR`: Traffic that passes through a virtual border router (VBR).'."\n" + ."\n" + .'- `GA`: Traffic that passes through Global Accelerator (GA).'."\n" + ."\n" + .'- `InternetProbing`: Data from Internet probing.'."\n" + ."\n" + .'- `IntranetProbing`: Data from intranet probing.'."\n" + ."\n" + .'- `NisInspectionHistoryReportScore`: Historical inspection scores.', 'type' => 'string', 'required' => true, - 'example' => 'in', - 'enum' => [ - 'in', - 'out', - ], + 'enum' => ['AccessInternetIpV4', 'AccessInternetIpV4Limited', 'ElasticIP', 'PublicIpEcs', 'PublicIpClb', 'NAT', 'TR', 'TRAttachment', 'VBR', 'GA', 'InternetProbing', 'IntranetProbing', 'NisInspectionHistoryReportScore'], + 'title' => '', + 'example' => 'AccessInternetIPV4', ], ], [ - 'name' => 'GroupBy', + 'name' => 'MetricName', 'in' => 'query', 'schema' => [ - 'title' => '指定混合云流量排名的维度,大小写敏感。'."\n" - .'1Tuple:查询混合云流量中CEN、连接、VBR、IP维度的排名。'."\n" - .'2Tuple:查询混合云流量中两端IP维度的排名。'."\n" - .'5Tuple:查询混合云流量中两端IP、两端端口和协议维度的排名。'."\n" - .'CloudPort:查询混合云流量中云端端口的排名。'."\n" - .'OtherPort:查询混合云流量中IDC端端口的排名。'."\n" - .'Protocol:查询混合云流量中协议维度的排名。', - 'description' => 'The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:'."\n" + 'description' => 'The metric name. Valid values:'."\n" ."\n" - .'* **1Tuple**: queries the rankings of hybrid cloud traffic data for the Cloud Enterprise Network (CEN) instances, CEN connections, virtual border routers (VBRs), and IP addresses.'."\n" - .'* **2Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.'."\n" - .'* **5Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.'."\n" - .'* **CloudPort**: queries the rankings of hybrid cloud traffic data for the local ports.'."\n" - .'* **OtherPort**: queries the rankings of hybrid cloud traffic data for the remote ports.'."\n" - .'* **Protocol**: queries the rankings of hybrid cloud traffic data for the protocols.'."\n", + .'- `bps`: Bits per second.'."\n" + ."\n" + .'- `pps`: Packets per second.'."\n" + ."\n" + .'- `rtt`: The round-trip time (RTT) for TCP connection establishment.'."\n" + ."\n" + .'- `RetransmitRate`: The retransmission rate.'."\n" + ."\n" + .'- `RatelimitDropPps`: The rate of packet loss due to bandwidth limits.'."\n" + ."\n" + .'- `ActiveSessionCount`: Concurrent sessions.'."\n" + ."\n" + .'- `NewSessionPerSecond`: New sessions per second.'."\n" + ."\n" + .'- `BandwidthUtilization`: Bandwidth utilization.'."\n" + ."\n" + .'- `passRate`: Inspection pass rate.'."\n" + ."\n" + .'> If no RTT data is available for the specified time range, it indicates a persistent connection and no new connection was established during this period.', 'type' => 'string', 'required' => true, - 'example' => '1Tuple', - 'enum' => [ - '1Tuple', - '2Tuple', - '5Tuple', - 'CloudPort', - 'OtherPort', - 'Protocol', - ], + 'example' => 'bps', + 'enum' => ['rtt', 'bps', 'pps', 'RetransmitRate', 'ActiveSessionCount', 'NewSessionPerSecond', 'RatelimitDropPps', 'passRate', 'BandwidthUtilization'], + 'title' => '', ], ], [ - 'name' => 'OrderBy', + 'name' => 'Dimensions', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '按哪个指标倒序排序', - 'description' => 'The metric for ranking hybrid cloud traffic data. Default value: Bytes. This value specifies that hybrid cloud traffic data is ranked by traffic volumes.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Bytes', - 'default' => 'Bytes', - 'enum' => [ - 'Bytes', - 'Packets', + 'title' => '', + 'description' => 'An array of metric dimensions. For details on parameters in different scenarios, see [GetNisNetworkMetrics](~~2833348~~).', + 'type' => 'array', + 'items' => [ + 'description' => 'A metric dimension.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the dimension.', 'type' => 'string', 'required' => false, 'example' => 'instanceId', 'title' => ''], + 'Value' => ['description' => 'The value of the dimension.', 'type' => 'string', 'required' => false, 'example' => 'eip-sample*', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => true, + 'example' => 'bps', ], ], [ - 'name' => 'Sort', + 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。'."\n" - .'desc:降序'."\n" - .'asc:升序', - 'description' => 'The order for ranking hybrid cloud traffic data. Valid values:'."\n" - ."\n" - .'* **desc**: descending order'."\n" - .'* **asc**: ascending order'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'default' => 'desc', - 'enum' => [ - 'asc', - 'desc', - ], - ], + 'schema' => ['description' => 'The start of the time range to query. This value is a **Unix** timestamp in **ms**. If you do not specify this parameter, data from the last hour is queried. The earliest start time that you can specify is 7 days ago.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '253402271999000', 'minimum' => '0', 'title' => '', 'example' => '1638239092000'], ], [ - 'name' => 'TopN', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '取最大多少条数据,默认10,最大100。', - 'description' => 'Specifies top-N traffic data to display. Default value: **10**. This value specifies that top-10 traffic data is displayed by default. Maximum value: **100**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The end of the time range to query. This value is a **Unix** timestamp in **ms**. If you specify only `BeginTime`, data for the one-hour period after the specified `BeginTime` is queried. The time between the start time and the end time cannot exceed 24 hours.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '253402271999000', 'minimum' => '0', 'title' => '', 'example' => '1684373700099'], ], [ - 'name' => 'CenId', + 'name' => 'ScanBy', 'in' => 'query', 'schema' => [ - 'title' => 'CEN实例ID。', - 'description' => 'The CEN instance ID.'."\n", + 'description' => 'The sort order for the returned data points. Default value: TimestampAscending. Valid values:'."\n" + ."\n" + .'- `TimestampAscending`: sorts the results in chronological order.'."\n" + ."\n" + .'- `TimestampDescending`: sorts the results in reverse chronological order.', 'type' => 'string', + 'default' => 'TimestampAscending', + 'enum' => ['TimestampAscending', 'TimestampDescending'], + 'title' => '', 'required' => false, - 'example' => 'cen-ia8kw1zjv4hyal****', + 'example' => 'TimestampAscending', ], ], [ - 'name' => 'VirtualBorderRouterId', + 'name' => 'UseCrossAccount', 'in' => 'query', - 'schema' => [ - 'title' => '专线ID。', - 'description' => 'The ID of the VBR that is associated with the Express Connect circuit.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vbr-k1atj46citwuek42j****', - ], + 'schema' => ['description' => 'Specifies whether to use the multi-account access mode. This parameter is reserved and not supported.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'AttachmentId', + 'name' => 'AccountIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => 'CEN的连接ID。', - 'description' => 'The CEN connection ID.'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The IDs of member accounts to query.', + 'type' => 'array', + 'items' => ['description' => 'A member account ID.', 'type' => 'string', 'required' => false, 'example' => '118639953821****', 'title' => ''], 'required' => false, - 'example' => 'tr-attach-dnv870gmqzmb5u****', + 'maxItems' => 10, + 'example' => '', ], ], [ - 'name' => 'Protocol', + 'name' => 'StepMinutes', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '协议类型编号。常见协议号如下:'."\n" - .'1:ICMP'."\n" - .'4:IP'."\n" - .'6:TCP'."\n" - .'17:UDP'."\n" - .'41:IPv6', - 'description' => 'The protocol number.'."\n" - ."\n" - .'> All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6', + 'title' => 'RpcResponse<ArrayList<PublicFlowlogMetricModel>>', + 'description' => 'RpcResponse\\<ArrayList>', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', 'title' => ''], + 'Data' => [ + 'description' => 'The trend data for cloud network metrics.', + 'type' => 'object', + 'properties' => [ + 'Unit' => ['description' => 'The unit of the metric.', 'type' => 'string', 'example' => 'Bits/Second', 'title' => ''], + 'Metrics' => [ + 'description' => 'The metric trend data.', + 'type' => 'array', + 'items' => [ + 'description' => 'A data point in the time series.', + 'type' => 'object', + 'properties' => [ + 'TimeStamp' => ['description' => 'The timestamp of the data point. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1690684091100', 'title' => ''], + 'Value' => ['description' => 'The value of the metric.', 'type' => 'number', 'format' => 'double', 'example' => '88', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime', 'errorMessage' => 'It only supports querying data for up to 24 hours: %s.', 'description' => 'The time range that you can query must be no longer than 24 hours.'], + ['errorCode' => 'OperationFailed.DataTooMuch', 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', 'description' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.'], + ['errorCode' => 'IllegalParam.Dimensions', 'errorMessage' => 'The specified Dimensions(%s) is illegal.', 'description' => 'The specified Dimensions parameter is illegal.'], + ['errorCode' => 'IllegalParam.Dimensions.Direction', 'errorMessage' => 'The specified Dimensions.Direction(%s) is illegal.', 'description' => 'The specified Dimensions.Direction parameter is illegal.'], + ['errorCode' => 'IllegalParam.Dimensions.InstanceId', 'errorMessage' => 'The specified Dimensions.InstanceId(%s) is illegal.', 'description' => 'The specified Dimensions.InstanceId parameter is illegal.'], + ['errorCode' => 'IllegalParam.MetricName', 'errorMessage' => 'The specified MetricName(%s) is illegal.', 'description' => 'The specified MetricName parameter is illegal.'], + ['errorCode' => 'IllegalParam.ResourceType', 'errorMessage' => 'The specified resourceType (%s) is invalid.', 'description' => 'The value of ResourceType is invalid.'], + ['errorCode' => 'IllegalParam.Dimensions.DestinationZone', 'errorMessage' => 'The specified parameter Dimensions.DestinationZone (%s) is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.Dimensions.SourceZone', 'errorMessage' => 'The specified parameter Dimensions.SourceZone(%s) is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.IP', 'errorMessage' => 'The specified IP address (%s) is invalid.', 'description' => 'The specified IP address (%s) is invalid.'], + ['errorCode' => 'IllegalParam.RegionNo', 'errorMessage' => 'The specified parameter RegionNo(%s) is illegal.', 'description' => 'The specified argument RegionNo(%s) is illegal.'], + ['errorCode' => 'IllegalParam.Dimensions.InspectionTaskId', 'errorMessage' => 'The specified argument Dimensions.InspectionTaskId(%s) is illegal.', 'description' => 'The specified argument Dimensions.InspectionTaskId(%s) is illegal.'], + ['errorCode' => 'IllegalParam.Dimensions.DestinationRegionNo', 'errorMessage' => 'The specified parameter Dimensions.DestinationRegionNo(%s) is illegal.', 'description' => 'The specified Dimensions.DestinationRegionNo(%s) parameter is illegal.'], + ['errorCode' => 'IllegalParam.StepMinutes', 'errorMessage' => 'The specified StepMinutes parameter value is illegal, only %s minutes of data precision is supported.', 'description' => 'The specified StepMinutes parameter value is illegal, only %s minutes of data precision is supported.'], + ['errorCode' => 'IllegalParam.MaxTimeScope', 'errorMessage' => 'The query time range exceeds the limit. You can query up to %s days of data.', 'description' => 'The query time range exceeds the limit. You can query up to% s days of data.'], + ['errorCode' => 'IllegalParam.StepMinutesAndTime', 'errorMessage' => 'In the current query time range, data precision of only %s minutes is supported to ensure performance.', 'description' => 'In the current query time range, data precision of only %s minutes is supported to ensure performance.'], + ['errorCode' => 'UnsupportedRegion', 'errorMessage' => 'This feature is not supported in the current region.', 'description' => ''], + ['errorCode' => 'IllegalParam.SourceRegions', 'errorMessage' => 'SourceRegions Can be wrong.', 'description' => 'The Region parameter is incorrect. Please confirm whether the number of regions entered is incorrect (> 1), or the wrong RegionId is entered'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified InstanceId(%s) does not exist.', 'description' => 'The specified InstanceId does not exist.'], + ['errorCode' => 'ResourceNotFound.IpSets', 'errorMessage' => 'The specified instance does not exist or does not have any acceleration region.', 'description' => 'The specified instance does not exist or does not have any acceleration region.'], + ['errorCode' => 'ResourceNotFound.InspectionTaskId', 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetNisNetworkMetrics', + 'summary' => 'Retrieves detailed trend data on monitoring metrics for a specified Network Intelligence Service (NIS) network analysis scenario. This includes trends for traffic metrics in traffic analysis scenarios and for performance metrics in performance monitoring scenarios.', + 'description' => 'Notes on data synchronization:'."\n" + ."\n" + .'- API data is synchronized every six hours. Data available for querying is delayed by six hours.'."\n" + ."\n" + .'Supported analysis scenarios:'."\n" + ."\n" + .'- Internet performance monitoring'."\n" + ."\n" + .'- Cross-zone intranet performance monitoring'."\n" + ."\n" + .'- Cross-region intranet performance monitoring'."\n" + ."\n" + .'## Internet performance monitoring'."\n" + ."\n" + .'**Note**'."\n" + ."\n" + .'The maximum time range for a query is 24 hours. If you do not specify a time range, the system queries data from the last hour by default. The system returns one data point per minute.'."\n" + ."\n" + .'### **Request parameters**'."\n" + ."\n" + .'| **Parameter** | **Type** | **Required** | **Description** |'."\n" + .'| ------------- | -------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |'."\n" + .'| RegionNo | string | Yes | The Alibaba Cloud region of the probe source. |'."\n" + .'| ResourceType | string | Yes | Set to **InternetProbing** to query trend data for Internet performance monitoring. |'."\n" + .'| MetricName | string | Yes | The metric to query. Set to **rtt** for the probe\'s round-trip time. |'."\n" + .'| Dimensions | object[] | Yes | The filter conditions. |'."\n" + .'| -Name | string | Yes | The filter key. Valid values:<br>\\- **Country**: The country where the probe is located.<br>\\- **Province**: The province where the probe is located.<br>\\- **ISP**: The ISP of the probe.<br>**Note:** You must specify at least one of these parameters. |'."\n" + .'| -Value | string | Yes | The value for the filter key. Examples:<br>\\- Country: China<br>\\- Province: Zhejiang<br>\\- ISP: Alibaba<br>**Note:** The values for Country and Province must start with an uppercase letter. The value for ISP must match its display name in the console. |'."\n" + ."\n" + .'### **Response parameters**'."\n" + ."\n" + .'| **Parameter** | **Type** | **Description** |'."\n" + .'| ------------- | -------- | ----------------------------------------------------------------- |'."\n" + .'| RequestId | string | The request ID. |'."\n" + .'| Data | object | An object that contains the trend data for cloud network metrics. |'."\n" + .'| Metrics | array | An array of metric trend data points. |'."\n" + .'| -TimeStamp | long | The timestamp, in milliseconds. |'."\n" + .'| -Value | double | The value of the metric specified by **MetricName**. |'."\n" + .'| Unit | string | The unit for **Value**. |'."\n" + ."\n" + .'## Cross-zone intranet performance monitoring'."\n" + ."\n" + .'**Note**'."\n" + ."\n" + .'- If the query time range is longer than five days, one data point is returned per day.'."\n" + ."\n" + .'- If the query time range is longer than one day but no more than five days, one data point is returned per hour.'."\n" + ."\n" + .'- If the query time range is one day or shorter, one data point is returned every five minutes.'."\n" + ."\n" + .'### **Request parameters**'."\n" + ."\n" + .'| **Parameter** | **Type** | **Required** | **Description** |'."\n" + .'| ------------- | -------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The ID of the Alibaba Cloud region. |'."\n" + .'| ResourceType | string | Yes | Set to **IntranetProbing** to query trend data for cross-zone performance monitoring. |'."\n" + .'| MetricName | string | Yes | The metric to query. Set to **rtt** for the probe\'s round-trip time. |'."\n" + .'| Dimensions | object[] | Yes | The filter conditions. |'."\n" + .'| -Name | string | Yes | The filter key. Valid values:<br>\\- **SourceZone**: The source zone for the probe.<br>\\- **DestinationZone**: The destination zone for the probe. |'."\n" + .'| -Value | string | Yes | The value for the filter key. Examples:<br>\\- SourceZone: cn-hangzhou-j<br>\\- DestinationZone: cn-hangzhou-k |'."\n" + ."\n" + .'### **Response parameters**'."\n" + ."\n" + .'| **Parameter** | **Type** | **Description** |'."\n" + .'| ------------- | -------- | ----------------------------------------------------------------- |'."\n" + .'| RequestId | string | The request ID. |'."\n" + .'| Data | object | An object that contains the trend data for cloud network metrics. |'."\n" + .'| Metrics | array | An array of metric trend data points. |'."\n" + .'| -TimeStamp | long | The timestamp, in milliseconds. |'."\n" + .'| -Value | double | The value of the metric specified by **MetricName**. |'."\n" + .'| Unit | string | The unit for **Value**. |'."\n" + ."\n" + .'## **Cross-region intranet performance monitoring**'."\n" + ."\n" + .'**Note**'."\n" + ."\n" + .'- If the query time range is longer than five days, one data point is returned per day.'."\n" + ."\n" + .'- If the query time range is longer than one day but no more than five days, one data point is returned per hour.'."\n" + ."\n" + .'- If the query time range is one day or shorter, one data point is returned every five minutes.'."\n" + ."\n" + .'### **Request parameters**'."\n" + ."\n" + .'| **Parameter** | **Type** | **Required** | **Description** |'."\n" + .'| ------------- | -------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The ID of the Alibaba Cloud region. |'."\n" + .'| ResourceType | string | Yes | Set to **IntranetProbing** to query cross-region performance monitoring rankings. |'."\n" + .'| Direction | string | Yes | The probe direction. Valid values:<br>\\- **in**: The probe destination is the region specified by the **RegionNo** parameter.<br>\\- **out**: The probe source is the region specified by the **RegionNo** parameter. |'."\n" + .'| MetricName | string | Yes | The metric to query. Set to **rtt** for the probe\'s round-trip time. |'."\n" + .'| Dimensions | object[] | No | The filter conditions. |'."\n" + .'| -Name | string | No | The filter key. Valid value: **DestinationRegionNo**, which specifies the destination region of the probe. |'."\n" + .'| -Value | string | No | The ID of the destination region. Example: cn-shenzhen |'."\n" + ."\n" + .'### **Response parameters**'."\n" + ."\n" + .'| **Parameter** | **Type** | **Description** |'."\n" + .'| ------------- | -------- | ----------------------------------------------------------------- |'."\n" + .'| RequestId | string | The request ID. |'."\n" + .'| Data | object | An object that contains the trend data for cloud network metrics. |'."\n" + .'| Metrics | array | An array of metric trend data points. |'."\n" + .'| -TimeStamp | long | The timestamp, in milliseconds. |'."\n" + .'| -Value | double | The value of the metric specified by **MetricName**. |'."\n" + .'| Unit | string | The unit for **Value**. |', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNisNetworkMetrics'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'nis:GetNisNetworkMetrics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"Data\\": {\\n \\"Unit\\": \\"Bits/Second\\",\\n \\"Metrics\\": [\\n {\\n \\"TimeStamp\\": 1690684091100,\\n \\"Value\\": 88\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetNisNetworkRanking' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '222984', + 'abilityTreeNodes' => ['FEATUREnetana5MCZ6K', 'FEATUREnetanaOV20CD', 'FEATUREnetanaB9LIVJ', 'FEATUREnetanaCEA895'], + ], + 'parameters' => [ [ - 'name' => 'CloudIp', + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'The region where the resource is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-beijing'], + ], + [ + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'title' => '云端IP', - 'description' => 'The local IP address.'."\n", + 'description' => 'The type of the Alibaba Cloud network resource that is used for traffic forwarding. Valid values:'."\n" + ."\n" + .'- AccessInternetIpV4: all types of Alibaba Cloud public IPv4 addresses.'."\n" + ."\n" + .'- AccessInternetIpV4Limited: all types of Alibaba Cloud public IPv4 addresses that are subject to region-specific speed limits.'."\n" + ."\n" + .'- ElasticIP: elastic IP addresses (EIPs) (IPv4).'."\n" + ."\n" + .'- PublicIpEcs: fixed public IP addresses (IPv4) that are attached to ECS instances.'."\n" + ."\n" + .'- PublicIpClb: fixed public IP addresses (IPv4) that are attached to CLB instances.'."\n" + ."\n" + .'- NAT: Internet traffic that passes through SNAT.'."\n" + ."\n" + .'- TR: traffic that flows through a TransitRouter of a Cloud Enterprise Network (CEN) instance.'."\n" + ."\n" + .'- TRAttachment: traffic that flows through a CEN connection instance, including intra-region connections and inter-region connections.'."\n" + ."\n" + .'- VBR: traffic that flows through a virtual border router.'."\n" + ."\n" + .'- GA: traffic that flows through a Global Accelerator (GA) instance.'."\n" + ."\n" + .'- InternetProbing: data about Internet probe quality.'."\n" + ."\n" + .'- IntranetProbing: data about internal network probe quality.', 'type' => 'string', - 'required' => false, - 'example' => '112.74.XX.XX', + 'required' => true, + 'enum' => ['AccessInternetIpV4', 'AccessInternetIpV4Limited', 'ElasticIP', 'PublicIpEcs', 'PublicIpClb', 'NAT', 'TR', 'TRAttachment', 'VBR', 'GA', 'InternetProbing', 'IntranetProbing'], + 'title' => '', + 'example' => 'AccessInternetIpV4', ], ], [ - 'name' => 'OtherIp', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'title' => 'IDC侧IP', - 'description' => 'The remote IP address.'."\n", + 'description' => 'The direction of network traffic on the Alibaba Cloud resource. Valid values:'."\n" + ."\n" + .'- in: the inbound traffic direction.'."\n" + ."\n" + .'- out: the outbound traffic direction.'."\n" + ."\n" + .'><notice>'."\n" + ."\n" + .'Cross-domain traffic analysis collects only outbound traffic. Therefore, if you set this parameter to in, the value is automatically changed to out. For intra-region and inter-region performance monitoring, you must specify the source or destination in the Filter parameter. Therefore, the Direction parameter is invalid.'."\n" + ."\n" + .'></notice>', 'type' => 'string', - 'required' => false, - 'example' => '122.112.XX.XX', + 'required' => true, + 'enum' => ['in', 'out'], + 'title' => '', + 'example' => 'in', ], ], [ - 'name' => 'CloudPort', + 'name' => 'GroupBy', 'in' => 'query', 'schema' => [ - 'title' => '云端端口号', - 'description' => 'The local port.'."\n" + 'description' => 'The dimension for ranking metrics. The valid values vary based on the scenario.'."\n" + .'<br>Rankings of full stream data:'."\n" + ."\n" + .'- Tuple1: a 1-tuple that provides rankings of full stream data at the cloud IP address granularity.'."\n" + ."\n" + .'- Tuple2: a 2-tuple that provides rankings of full stream data at the source and destination IP address granularity.'."\n" + ."\n" + .'- Tuple5: a 5-tuple that provides rankings of full stream data at the granularity of source and destination IP addresses, ports, and protocols.'."\n" + ."\n" + .'Rankings of traffic statistics:'."\n" + ."\n" + .'- Protocol: aggregates traffic by protocol type.'."\n" + ."\n" + .'- SourcePort: aggregates traffic by source port.'."\n" + ."\n" + .'- DestinationPort: aggregates traffic by destination port.'."\n" + ."\n" + .'- InstanceId: aggregates traffic by cloud resource ID.'."\n" + ."\n" + .'- IpPair: aggregates traffic by source and destination IP address pair.'."\n" + ."\n" + .'- Country: aggregates traffic by client country.'."\n" + ."\n" + .'- Province: aggregates traffic by client province.'."\n" + ."\n" + .'- City: aggregates traffic by client city.'."\n" + ."\n" + .'- ISP: aggregates traffic by client ISP.'."\n" + ."\n" + .'- ASN: aggregates traffic by client ISP autonomous system number (ASN).'."\n" + ."\n" + .'- CityASN: aggregates traffic by client city and ISP ASN.'."\n" + ."\n" + .'- RegionPair: aggregates traffic for cross-region access over CEN.'."\n" ."\n" - .'> This parameter is required only if you set **GroupBy** to **CloudPort**.'."\n", + .'Rankings of network access performance:'."\n" + ."\n" + .'- CountryIsp: ranks the performance of Internet access from a specified region to different countries and ISPs.'."\n" + ."\n" + .'- Province: ranks the performance of access from a specified region to different provinces in China.'."\n" + ."\n" + .'- ProvinceIsp: ranks the performance of access from a specified region to different provinces and ISPs in China.'."\n" + ."\n" + .'- RegionPair: ranks the performance of cross-region access between Alibaba Cloud regions.'."\n" + ."\n" + .'- ZonePair: ranks the performance of access between zones in a specified region.', 'type' => 'string', - 'required' => false, - 'example' => '443', + 'required' => true, + 'enum' => ['Tuple1', 'Tuple2', 'Tuple5', 'Protocol', 'SourcePort', 'DestinationPort', 'Country', 'City', 'ASN', 'CityASN', 'RegionPair', 'InstanceId', 'CountryIsp', 'ZonePair', 'ISP', 'IpPair', 'Province', 'ProvinceIsp'], + 'title' => '', + 'example' => 'Protocol', ], ], [ - 'name' => 'OtherPort', + 'name' => 'OrderBy', 'in' => 'query', 'schema' => [ - 'title' => 'IDC侧端口号', - 'description' => 'The remote port.'."\n" + 'description' => 'The metric used to rank Internet traffic. This parameter is case-sensitive. Valid values:'."\n" + ."\n" + .'- bps: bits per second.'."\n" + ."\n" + .'- pps: packets per second.'."\n" + ."\n" + .'- ByteCount: the total number of bytes.'."\n" + ."\n" + .'- PacketCount: the total number of packets.'."\n" + ."\n" + .'- rtt: the RT when a TCP connection is established.'."\n" + ."\n" + .'- RetransmitRate: the retransmission rate.'."\n" ."\n" - .'> This parameter is required only if you set **GroupBy** to **OtherPort**.'."\n", + .'- RatelimitDropPps: the rate of packet loss due to speed limiting.'."\n" + ."\n" + .'- ActiveSessionCount: the number of concurrent sessions.'."\n" + ."\n" + .'- NewSessionPerSecond: the number of new sessions per second.', 'type' => 'string', - 'required' => false, - 'example' => '40002', + 'required' => true, + 'example' => 'bps', + 'enum' => ['rtt', 'bps', 'pps', 'RetransmitRate', 'ActiveSessionCount', 'NewSessionPerSecond', 'RatelimitDropPps', 'ByteCount', 'PacketCount'], + 'title' => '', ], ], [ - 'name' => 'AccountIds', + 'name' => 'Filter', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'title' => '子账号ID', - 'description' => 'The IDs of member accounts.'."\n", + 'title' => '', + 'description' => 'Specifies additional filter conditions to focus the network traffic analysis.', 'type' => 'array', 'items' => [ - 'description' => 'The ID of the member account.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'A list of filter conditions for querying resources.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the filter condition.', 'type' => 'string', 'required' => false, 'example' => 'instanceId', 'title' => ''], + 'Value' => ['description' => 'The value of the filter condition.', 'type' => 'string', 'required' => false, 'example' => 'lb-2zxxxxz1d', 'title' => ''], + ], 'required' => false, - 'example' => '[\\"118639953821****\\"]', + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 10, + 'example' => '', ], ], [ - 'name' => 'UseMultiAccount', + 'name' => 'BeginTime', + 'in' => 'query', + 'schema' => ['description' => 'The beginning of the time range to query. This is a UNIX timestamp. Unit: **ms**. If you do not specify this parameter, data from the last hour is queried.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '253402271999000', 'minimum' => '0', 'title' => '', 'example' => '1684373600099'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end of the time range to query. This is a UNIX timestamp. Unit: **ms**. If you do not specify this parameter, data from the last hour is queried. If you specify only BeginTime, data within 1 hour after the specified BeginTime is queried.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '253402271999000', 'minimum' => '0', 'title' => '', 'example' => '1684379093000'], + ], + [ + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => 'Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.'."\n" + 'description' => 'The sorting order. The default value is desc. Valid values:'."\n" + ."\n" + .'- asc: ascending order.'."\n" ."\n" - .'> By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.'."\n", - 'type' => 'boolean', + .'- desc: descending order.', + 'type' => 'string', + 'default' => 'desc', + 'enum' => ['asc', 'desc'], + 'title' => '', 'required' => false, - 'example' => 'false', + 'example' => 'desc', + ], + ], + [ + 'name' => 'TopN', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return. Default value: **10**. This indicates that the top 10 entries are returned. Maximum value: **100**.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'UseCrossAccount', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to use the multi-account access mode. This is a reserved parameter and is not supported.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'AccountIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '', + 'description' => 'The IDs of the member accounts.', + 'type' => 'array', + 'items' => ['description' => 'A list of member account IDs.', 'type' => 'string', 'required' => false, 'example' => '118639953821****', 'title' => ''], + 'required' => false, + 'maxItems' => 10, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'RpcResponse<VbrFlowlogTopNResponse>', - 'description' => 'The response parameters.'."\n", + 'title' => 'RpcResponse<ArrayList<PublicFlowlogMetricModel>>', + 'description' => 'RpcResponse\\<ArrayList>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - 'VirtualBorderRouterFlowlogTopN' => [ - 'description' => 'The ranking result of hybrid cloud traffic data.'."\n", + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'Data' => [ + 'description' => 'A collection of cloud network metric ranking data.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A row of cloud network metric ranking data.', 'type' => 'object', 'properties' => [ - 'CloudRegion' => [ - 'title' => 'region', - 'description' => 'The local region where the local IP address resides.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'CloudIp' => [ - 'title' => '源IP', - 'description' => 'The local IP address.'."\n", - 'type' => 'string', - 'example' => '120.24.X.X', - ], - 'OtherIp' => [ - 'title' => '目的IP', - 'description' => 'The remote IP address.'."\n", - 'type' => 'string', - 'example' => '222.85.X.X', - ], - 'CloudPort' => [ - 'title' => '源端口', - 'description' => 'The local port.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'OtherPort' => [ - 'title' => '目的端口', - 'description' => 'The remote port.'."\n", - 'type' => 'string', - 'example' => '10965', - ], - 'Protocol' => [ - 'title' => '协议', - 'description' => 'The protocol number.'."\n", - 'type' => 'string', - 'example' => '6', - ], - 'AttachmentId' => [ - 'title' => 'attachmentId', - 'description' => 'The CEN connection ID.'."\n", - 'type' => 'string', - 'example' => 'tr-attach-u6v1j3jre0fe9h****', - ], - 'VirtualBorderRouterId' => [ - 'title' => '专线Id', - 'description' => 'The ID of the VBR that is associated with the Express Connect circuit.'."\n", - 'type' => 'string', - 'example' => 'vbr-k1atj46citwuek42j****', - ], - 'Bytes' => [ - 'description' => 'The total volume of traffic in the specified time range.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '108', - ], - 'Packets' => [ - 'description' => 'The total number of packets in the specified time range.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '66', - ], - 'AccountId' => [ - 'title' => '子账号ID', - 'description' => 'The account ID.'."\n", - 'type' => 'string', - 'example' => '156237031628****', - ], + 'RegionNo' => ['description' => 'The ID of the Alibaba Cloud region.', 'type' => 'string', 'title' => '', 'example' => 'cn-shenzhen'], + 'InstanceId' => ['description' => 'The ID of the cloud resource instance. In a cross-domain traffic analysis scenario, this parameter indicates the CEN ID. In an Internet scenario, this parameter indicates the EIP ID, ECS ID, or CLB ID.', 'type' => 'string', 'title' => '', 'example' => 'eip-sample*'], + 'BandwidthPackageId' => ['description' => 'The ID of the bandwidth plan instance.', 'type' => 'string', 'title' => '', 'example' => 'cbwp-sample*'], + 'SourceIp' => ['description' => 'The source IP address.', 'type' => 'string', 'title' => '', 'example' => '42.120.XX.XX'], + 'SourcePort' => ['description' => 'The source port.', 'type' => 'string', 'title' => '', 'example' => '443'], + 'SourceIsp' => ['description' => 'The source ISP.', 'type' => 'string', 'title' => '', 'example' => '移动'], + 'DestinationIp' => ['description' => 'The destination IP address.', 'type' => 'string', 'title' => '', 'example' => '2.2.XX.XX'], + 'DestinationPort' => ['description' => 'The destination port.', 'type' => 'string', 'title' => '', 'example' => '80'], + 'DestinationIsp' => ['description' => 'The destination ISP.', 'type' => 'string', 'title' => '', 'example' => '阿里云'], + 'Protocol' => ['description' => 'The network protocol.', 'type' => 'string', 'title' => '', 'example' => '6'], + 'Country' => ['description' => 'The country where the client is located.', 'type' => 'string', 'title' => '', 'example' => '中国'], + 'Province' => ['description' => 'The province or state where the client is located.', 'type' => 'string', 'title' => '', 'example' => '四川省'], + 'City' => ['description' => 'The city where the client is located.', 'type' => 'string', 'title' => '', 'example' => '成都市'], + 'Isp' => ['description' => 'The client ISP.', 'type' => 'string', 'title' => '', 'example' => '移动'], + 'Asn' => ['description' => 'The ASN of the client ISP.', 'type' => 'string', 'title' => '', 'example' => '129103'], + 'IP' => ['description' => 'The IP address.', 'type' => 'string', 'title' => '', 'example' => '120.238.XX.XX'], + 'DestinationRegionNo' => ['description' => 'The ID of the destination region.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou'], + 'VbrId' => ['description' => 'The ID of the virtual border router instance.', 'type' => 'string', 'title' => '', 'example' => 'vbr-sample*'], + 'AttachmentId' => ['description' => 'The ID of the transit router connection.', 'type' => 'string', 'title' => '', 'example' => 'tr-sample*'], + 'SourceZone' => ['description' => 'The source zone of the probe.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-a'], + 'DestinationZone' => ['description' => 'The destination zone of the probe.', 'type' => 'string', 'title' => '', 'example' => 'cn-hangzhou-b'], + 'ByteCount' => ['description' => 'The traffic volume in bytes.', 'type' => 'number', 'format' => 'double', 'example' => '1024', 'title' => ''], + 'PacketCount' => ['description' => 'The number of packets.', 'type' => 'number', 'format' => 'double', 'example' => '66', 'title' => ''], + 'RTT' => ['description' => 'The latency. Unit: **ms**.', 'type' => 'number', 'format' => 'double', 'example' => '23', 'title' => ''], + 'RetransmitRate' => ['description' => 'The retransmission rate of TCP messages.', 'type' => 'number', 'format' => 'double', 'example' => '0.1', 'title' => ''], + 'InBps' => ['description' => 'The inbound bandwidth. Unit: bps.', 'type' => 'number', 'format' => 'double', 'example' => '10', 'title' => ''], + 'InPps' => ['description' => 'The inbound packet rate. Unit: packets/second.', 'type' => 'number', 'format' => 'double', 'example' => '3', 'title' => ''], + 'OutBps' => ['description' => 'The outbound bandwidth. Unit: bps.', 'type' => 'number', 'format' => 'double', 'example' => '88', 'title' => ''], + 'OutPps' => ['description' => 'The outbound packet rate. Unit: packets/second.', 'type' => 'number', 'format' => 'double', 'example' => '8', 'title' => ''], + 'NewSessionPerSecond' => ['description' => 'The number of new connections. Unit: connections/second.', 'type' => 'number', 'format' => 'double', 'example' => '18', 'title' => ''], + 'ActiveSessionCount' => ['description' => 'The number of concurrent connections. Unit: connections.', 'type' => 'number', 'format' => 'double', 'example' => '66', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.TopN', - 'errorMessage' => 'The TopN(%s) should not greater than 100.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTime', - 'errorMessage' => 'The specified begin time (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime', - 'errorMessage' => 'It only supports querying data for up to 7 days: %s.', - ], - [ - 'errorCode' => 'IllegalParam.Sort', - 'errorMessage' => 'The specified Sort(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.OrderBy', - 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', - ], - [ - 'errorCode' => 'OperationFailed.DataTooMuch', - 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', - ], - [ - 'errorCode' => 'IllegalParam.RegionId', - 'errorMessage' => 'The specified region ID (%s) is invalid.', - ], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime', 'errorMessage' => 'It only supports querying data for up to 24 hours: %s.', 'description' => 'The time range that you can query must be no longer than 24 hours.'], + ['errorCode' => 'OperationFailed.DataTooMuch', 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', 'description' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.'], + ['errorCode' => 'IllegalParam.OrderBy', 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', 'description' => 'The specified sort field (%s) is invalid.'], + ['errorCode' => 'IllegalParam.ResourceType', 'errorMessage' => 'The specified resourceType (%s) is invalid.', 'description' => 'The value of ResourceType is invalid.'], + ['errorCode' => 'IllegalParam.GroupBy', 'errorMessage' => 'The specified param of GroupBy (%s) is invalid.', 'description' => 'The specified group field (%s) is invalid.'], + ['errorCode' => 'IllegalParam.Direction', 'errorMessage' => 'The specified direction (%s) is invalid.', 'description' => 'The Direction parameter is invalid. Modify the parameter and try again.'], + ['errorCode' => 'IllegalParam.Filter.InstanceId', 'errorMessage' => 'The specified InstanceId(%s) is illegal.', 'description' => ''], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime5M', 'errorMessage' => 'It only supports querying data for up to 5 minute when TupleType is 5 and the CloudIp and OtherIp are both empty: %s.', 'description' => 'When TupleType = 5 and the CloudIp and OtherIp are both empty, you can only query data in a range of up to 5 minutes.'], + ['errorCode' => 'IllegalParam.ServiceOffline', 'errorMessage' => 'The service has been taken offline.', 'description' => 'The service has been taken offline.'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime1H', 'errorMessage' => 'It only supports querying data for up to 1 hour: %s.', 'description' => 'Maximum support for querying 1 hour of data: %s.'], + ['errorCode' => 'IllegalParam.RegionNo', 'errorMessage' => 'The specified parameter RegionNo(%s) is illegal.', 'description' => 'The specified argument RegionNo(%s) is illegal.'], + ], + 404 => [ + ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified InstanceId(%s) does not exist.', 'description' => 'The specified InstanceId does not exist.'], + ['errorCode' => 'ResourceNotFound.IpSets', 'errorMessage' => 'The specified instance does not exist or does not have any acceleration region.', 'description' => 'The specified instance does not exist or does not have any acceleration region.'], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'nis::2021-12-16::GetNisNetworkRanking', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetNisNetworkRanking', + 'summary' => 'This operation uses sorting algorithms and data processing to analyze and rank traffic across various cloud network resources. It also sorts metrics from Alibaba Cloud performance monitoring probes. This helps you quickly identify network bottlenecks, optimize resource configurations, and improve overall network performance.', + 'description' => 'This operation supports the following analysis scenarios:'."\n" + ."\n" + .'- Internet performance monitoring dashboard'."\n" + ."\n" + .'- Cross-zone internal network performance monitoring dashboard'."\n" + ."\n" + .'- Cross-region internal network performance monitoring dashboard'."\n" + ."\n" + .'## Internet performance monitoring dashboard scenario'."\n" + ."\n" + .'**Note**'."\n" + ."\n" + .'You do not need to specify a time to query the latest probe results.'."\n" + ."\n" + .'### **Request parameters**'."\n" + ."\n" + .'| **Name** | **Type** | **Required** | **Description** |'."\n" + .'| ------------ | -------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The Alibaba Cloud region where the monitoring node is located. |'."\n" + .'| ResourceType | string | Yes | Set the value to **InternetProbing**. This value indicates that you want to query the rankings of Internet performance monitoring. |'."\n" + .'| Direction | string | Yes | Set the value to **out**. This value indicates that the traffic direction is outbound. |'."\n" + .'| GroupBy | string | Yes | The dimension for ranking metrics. Valid values: **Country**: the country where the probe is located. **CountryIsp**: the country and ISP where the probe is located. **Province**: the province where the probe is located. **ProvinceIsp**: the province and ISP where the probe is located. |'."\n" + .'| OrderBy | string | Yes | The metric used for ranking. Set the value to **rtt**, which specifies the response time (RT) of the probe. |'."\n" + .'| Filter | object[] | No | The filter conditions. |'."\n" + .'| -Name | string | No | The filter condition. Valid values:<br>\\- **Country**: the country where the probe is located.<br>\\- **Province**: the province where the probe is located.<br>\\- **Isp**: the ISP of the probe. |'."\n" + .'| -Value | string | No | The value of the filter condition. |'."\n" + ."\n" + .'### **Response parameters**'."\n" + ."\n" + .'| **Name** | **Type** | **Description** |'."\n" + .'| --------- | -------- | -------------------------------------------------- |'."\n" + .'| RequestId | string | The request ID. |'."\n" + .'| Data | array | A collection of cloud network metric ranking data. |'."\n" + .'| Country | string | The country where the probe is located. |'."\n" + .'| Province | string | The province where the probe is located. |'."\n" + .'| Isp | string | The ISP of the probe. |'."\n" + .'| RTT | double | The RT of the probe. Unit: ms. |'."\n" + ."\n" + .'## Cross-zone internal network performance monitoring dashboard scenario'."\n" + ."\n" + .'**Note**'."\n" + ."\n" + .'The maximum time range that you can query is 1 hour.'."\n" + ."\n" + .'### **Request parameters**'."\n" + ."\n" + .'| **Name** | **Type** | **Required** | **Description** |'."\n" + .'| ------------ | -------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The Alibaba Cloud region. |'."\n" + .'| ResourceType | string | Yes | Set the value to **IntranetProbing**. This value indicates that you want to query the rankings of cross-zone performance monitoring. |'."\n" + .'| Direction | string | Yes | You must specify the source or destination of the probe in the **Filter** parameter. This means the direction is already determined. Therefore, setting this parameter to **in** or **out** has no effect. |'."\n" + .'| GroupBy | string | Yes | The dimension for ranking metrics. Set the value to **ZonePair**, which specifies that aggregation and analysis are performed by zone pair. |'."\n" + .'| OrderBy | string | Yes | The metric used for ranking. Set the value to **rtt**, which specifies the RT of the probe. |'."\n" + .'| Filter | object[] | Yes | The filter conditions. |'."\n" + .'| -Name | string | Yes | The filter condition. Valid values:<br>\\- **SourceZone**: the source zone of the probe.<br>\\- **DestinationZone**: the destination zone of the probe.<br>**Note:** You must specify at least one of **SourceZone** and **DestinationZone**. |'."\n" + .'| -Value | string | Yes | The value of the filter condition. |'."\n" + ."\n" + .'### **Response parameters**'."\n" + ."\n" + .'| **Name** | **Type** | **Description** |'."\n" + .'| --------------- | -------- | -------------------------------------------------- |'."\n" + .'| RequestId | string | The request ID. |'."\n" + .'| Data | array | A collection of cloud network metric ranking data. |'."\n" + .'| SourceZone | string | The source zone of the probe. |'."\n" + .'| DestinationZone | string | The destination zone of the probe. |'."\n" + .'| RTT | double | The RT of the probe. Unit: ms. |'."\n" + ."\n" + .'## **Cross-region internal network performance monitoring dashboard scenario**'."\n" + ."\n" + .'**Note**'."\n" + ."\n" + .'The maximum time range that you can query is 24 hours. If you do not specify a time range, data from the last hour is queried by default.'."\n" + ."\n" + .'### **Request parameters**'."\n" + ."\n" + .'| **Name** | **Type** | **Required** | **Description** |'."\n" + .'| ------------ | -------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The Alibaba Cloud region. |'."\n" + .'| ResourceType | string | Yes | Set the value to **IntranetProbing**. This value indicates that you want to query the rankings of cross-region performance monitoring. |'."\n" + .'| Direction | string | Yes | The probe direction. Valid values: **in**: The probe destination is the region specified by RegionNo. **out**: The probe source is the region specified by RegionNo. |'."\n" + .'| GroupBy | string | Yes | The dimension for ranking metrics. Set the value to **RegionPair**, which specifies that aggregation and analysis are performed by region pair. |'."\n" + .'| OrderBy | string | Yes | The metric used for ranking. Set the value to **rtt**, which specifies the RT of the probe. |'."\n" + .'| Filter | object[] | No | The filter conditions. |'."\n" + .'| -Name | string | No | The filter condition. Set the value to **DestinationRegionNo**. When **Direction** is set to **out**, you can use this parameter to specify the destination region of the probe. |'."\n" + .'| -Value | string | No | The destination region. |'."\n" + ."\n" + .'### **Response parameters**'."\n" + ."\n" + .'| **Name** | **Type** | **Description** |'."\n" + .'| ------------------- | -------- | -------------------------------------------------- |'."\n" + .'| RequestId | string | The request ID. |'."\n" + .'| Data | array | A collection of cloud network metric ranking data. |'."\n" + .'| RegionNo | string | The source region of the probe. |'."\n" + .'| DestinationRegionNo | string | The destination region of the probe. |'."\n" + .'| RTT | double | The RT of the probe. Unit: ms. |', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNisNetworkRanking'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'nis:GetNisNetworkRanking', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"VirtualBorderRouterFlowlogTopN\\": [\\n {\\n \\"CloudRegion\\": \\"cn-shanghai\\",\\n \\"CloudIp\\": \\"120.24.X.X\\",\\n \\"OtherIp\\": \\"222.85.X.X\\",\\n \\"CloudPort\\": \\"80\\",\\n \\"OtherPort\\": \\"10965\\",\\n \\"Protocol\\": \\"6\\",\\n \\"AttachmentId\\": \\"tr-attach-u6v1j3jre0fe9h****\\",\\n \\"VirtualBorderRouterId\\": \\"vbr-k1atj46citwuek42j****\\",\\n \\"Bytes\\": 108,\\n \\"Packets\\": 66,\\n \\"AccountId\\": \\"156237031628****\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'GetVbrFlowTopN', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"Data\\": [\\n {\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"InstanceId\\": \\"eip-sample*\\",\\n \\"BandwidthPackageId\\": \\"cbwp-sample*\\",\\n \\"SourceIp\\": \\"42.120.XX.XX\\",\\n \\"SourcePort\\": \\"443\\",\\n \\"SourceIsp\\": \\"移动\\",\\n \\"DestinationIp\\": \\"2.2.XX.XX\\",\\n \\"DestinationPort\\": \\"80\\",\\n \\"DestinationIsp\\": \\"阿里云\\",\\n \\"Protocol\\": \\"6\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"四川省\\",\\n \\"City\\": \\"成都市\\",\\n \\"Isp\\": \\"移动\\",\\n \\"Asn\\": \\"129103\\",\\n \\"IP\\": \\"120.238.XX.XX\\",\\n \\"DestinationRegionNo\\": \\"cn-hangzhou\\",\\n \\"VbrId\\": \\"vbr-sample*\\",\\n \\"AttachmentId\\": \\"tr-sample*\\",\\n \\"SourceZone\\": \\"cn-hangzhou-a\\",\\n \\"DestinationZone\\": \\"cn-hangzhou-b\\",\\n \\"ByteCount\\": 1024,\\n \\"PacketCount\\": 66,\\n \\"RTT\\": 23,\\n \\"RetransmitRate\\": 0.1,\\n \\"InBps\\": 10,\\n \\"InPps\\": 3,\\n \\"OutBps\\": 88,\\n \\"OutPps\\": 8,\\n \\"NewSessionPerSecond\\": 18,\\n \\"ActiveSessionCount\\": 66\\n }\\n ]\\n}","type":"json"}]', ], 'GetTransitRouterFlowTopN' => [ 'summary' => 'Queries the rankings of inter-region traffic data in the form of 1-tuple, 2-tuple, or 5-tuple. Inter-region traffic data can be ranked by metrics such as traffic volumes and the number of packets.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2974,57 +3887,29 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '174484', - 'abilityTreeNodes' => [ - 'FEATUREnetanaB9LIVJ', - ], + 'abilityTreeNodes' => ['FEATUREnetanaB9LIVJ'], ], 'parameters' => [ [ 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询起始时间的毫秒时间戳。最大支持查24小时跨度的数据。', - 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1684373600099', - ], + 'schema' => ['title' => '', 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1684373600099'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '查询结束时间的毫秒时间戳。最大支持查24小时跨度的数据。', - 'description' => 'The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1638239093000', - ], + 'schema' => ['title' => '', 'description' => 'The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1638239093000'], ], [ 'name' => 'TopN', 'in' => 'query', - 'schema' => [ - 'title' => '取最大多少条数据,默认10,最大100。', - 'description' => 'Specifies the maximum number of data entries to display. Default value: **10**. Maximum value: 100.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '10', - ], + 'schema' => ['title' => '', 'description' => 'Specifies the maximum number of data entries to display. Default value: **10**. Maximum value: 100.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '10'], ], [ 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'title' => '对于当前地域或IP的流量方向。'."\n" - .'in:入流量 '."\n" - .'out:出流量', + 'title' => '', 'description' => 'The direction of the inter-region traffic in the local regions or for the local IP addresses. Valid values:'."\n" ."\n" .'* **in**: inbound traffic'."\n" @@ -3032,24 +3917,14 @@ 'type' => 'string', 'required' => true, 'example' => 'in', - 'enum' => [ - 'in', - 'out', - ], + 'enum' => ['in', 'out'], ], ], [ 'name' => 'GroupBy', 'in' => 'query', 'schema' => [ - 'title' => '指定跨域流量排名的维度,大小写敏感。'."\n" - .'1Tuple:查询跨域流量中当前地域、CEN、IP维度的排名。'."\n" - .'2Tuple:查询跨域流量中两端地域、两端IP对维度的排名。'."\n" - .'5Tuple:查询跨域流量中两端IP、两端端口和协议维度的排名。'."\n" - .'Cen:查询跨域流量中CEN实例维度的排名。'."\n" - .'RegionPair:查询跨域流量中两端地域维度的排名。'."\n" - .'Port:查询跨域流量中端口维度的排名。'."\n" - .'Protocol:查询跨域流量中协议维度的排名。', + 'title' => '', 'description' => 'The dimension for ranking inter-region traffic data. The value of this parameter is case-sensitive. Valid values:'."\n" ."\n" .'* **1Tuple**: queries the rankings of inter-region traffic data for the local regions, Cloud Enterprise Network (CEN) instances, and IP addresses.'."\n" @@ -3062,124 +3937,64 @@ 'type' => 'string', 'required' => true, 'example' => '1Tuple', - 'enum' => [ - '1Tuple', - '2Tuple', - '5Tuple', - 'Cen', - 'RegionPair', - 'Port', - 'Protocol', - ], + 'enum' => ['1Tuple', '2Tuple', '5Tuple', 'Cen', 'RegionPair', 'Port', 'Protocol'], ], ], [ 'name' => 'ThisRegion', 'in' => 'query', - 'schema' => [ - 'title' => '当前地域。', - 'description' => 'The local region where the **local IP address** resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['title' => '', 'description' => 'The local region where the **local IP address** resides.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ 'name' => 'ThisIp', 'in' => 'query', - 'schema' => [ - 'title' => '当前IP地址。', - 'description' => 'The local IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.8.XX.XX', - ], + 'schema' => ['title' => '', 'description' => 'The local IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '1.8.XX.XX'], ], [ 'name' => 'ThisPort', 'in' => 'query', - 'schema' => [ - 'title' => '当前端口。', - 'description' => 'The local port.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['title' => '', 'description' => 'The local port.'."\n", 'type' => 'string', 'required' => false, 'example' => '80'], ], [ 'name' => 'OtherRegion', 'in' => 'query', - 'schema' => [ - 'title' => '对端地域。', - 'description' => 'The remote region.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ap-southeast-1', - ], + 'schema' => ['title' => '', 'description' => 'The remote region.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ap-southeast-1'], ], [ 'name' => 'OtherIp', 'in' => 'query', - 'schema' => [ - 'title' => '对端IP地址。', - 'description' => 'The remote IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '122.112.XX.XX', - ], + 'schema' => ['title' => '', 'description' => 'The remote IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '122.112.XX.XX'], ], [ 'name' => 'OtherPort', 'in' => 'query', - 'schema' => [ - 'title' => '对端端口。', - 'description' => 'The remote port.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10869', - ], + 'schema' => ['title' => '', 'description' => 'The remote port.'."\n", 'type' => 'string', 'required' => false, 'example' => '10869'], ], [ 'name' => 'Protocol', 'in' => 'query', - 'schema' => [ - 'title' => '协议类型编号。常见协议号如下:'."\n" - .'1:ICMP'."\n" - .'4:IP'."\n" - .'6:TCP'."\n" - .'17:UDP'."\n" - .'41:IPv6'."\n", - 'description' => 'The protocol number.'."\n" - ."\n" - .'> All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '6', - ], + 'schema' => ['title' => '', 'description' => 'The protocol number.'."\n" + ."\n" + .'> All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.'."\n", 'type' => 'string', 'required' => false, 'example' => '6'], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => [ - 'title' => '按哪个指标排序。', + 'title' => '', 'description' => 'The metric for ranking inter-region traffic data. Default value: Bytes. This value specifies that inter-region traffic data is ranked by traffic volume.'."\n", 'type' => 'string', 'required' => false, 'example' => 'Bytes', 'default' => 'Bytes', - 'enum' => [ - 'Bytes', - 'Packets', - ], + 'enum' => ['Bytes', 'Packets'], ], ], [ 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'title' => '排序方式。'."\n" - .'desc:降序'."\n" - .'asc:升序', + 'title' => '', 'description' => 'The order for ranking inter-region traffic data. Valid values:'."\n" ."\n" .'* **desc**: descending order'."\n" @@ -3188,33 +4003,18 @@ 'required' => false, 'example' => 'desc', 'default' => 'desc', - 'enum' => [ - 'desc', - 'asc', - ], + 'enum' => ['desc', 'asc'], ], ], [ 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'title' => 'CEN实例ID。', - 'description' => 'The CEN instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cen-ia8kw1zjv4hyal****', - ], + 'schema' => ['title' => '', 'description' => 'The CEN instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cen-ia8kw1zjv4hyal****'], ], [ 'name' => 'BandwithPackageId', 'in' => 'query', - 'schema' => [ - 'title' => 'CEN带宽包ID。', - 'description' => 'The ID of the CEN bandwidth plan.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cenbwp-ia8kw1zjv4hyal*****', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the CEN bandwidth plan.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cenbwp-ia8kw1zjv4hyal****'], ], [ 'name' => 'AccountIds', @@ -3223,27 +4023,18 @@ 'schema' => [ 'description' => 'The IDs of the member accounts.'."\n", 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the member account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '[\\"118639953821xxxx\\"]', - ], + 'items' => ['description' => 'The ID of the member account.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[\\"118639953821****\\"]', 'title' => ''], 'required' => false, + 'title' => '', + 'example' => '', ], ], [ 'name' => 'UseMultiAccount', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.'."\n" - ."\n" - .'> By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.'."\n" + ."\n" + .'> By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ @@ -3253,11 +4044,7 @@ 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', - ], + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', 'title' => ''], 'TransitRouterFlowTopN' => [ 'description' => 'The ranking result of inter-region traffic data.'."\n", 'type' => 'array', @@ -3265,1756 +4052,388 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'AccountId' => [ - 'title' => '账号ID。', - 'description' => 'The account ID.'."\n", - 'type' => 'string', - 'example' => '118639953821xxxx', - ], - 'CenId' => [ - 'title' => '跨域ID', - 'description' => 'The CEN instance ID.'."\n", - 'type' => 'string', - 'example' => 'cen-ia8kw1zjv4hyal****', - ], - 'ThisRegion' => [ - 'title' => '源regionId', - 'description' => 'The local region where the **local IP address** resides.'."\n", - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'ThisIp' => [ - 'title' => '源IP地址', - 'description' => 'The local IP address.'."\n", - 'type' => 'string', - 'example' => '1.8.XX.XX', - ], - 'ThisPort' => [ - 'title' => '源端口号', - 'description' => 'The local port.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'OtherRegion' => [ - 'title' => '目的regionId', - 'description' => 'The remote region where the **remote IP address** resides.'."\n", - 'type' => 'string', - 'example' => 'ap-southeast-1', - ], - 'OtherIp' => [ - 'title' => '目的IP地址', - 'description' => 'The remote IP address.'."\n", - 'type' => 'string', - 'example' => '47.216.XX.XX', - ], - 'OtherPort' => [ - 'title' => '目的端口号', - 'description' => 'The remote port.'."\n", - 'type' => 'string', - 'example' => '53470', - ], - 'Protocol' => [ - 'title' => '协议号', - 'description' => 'The protocol number.'."\n", - 'type' => 'string', - 'example' => '6', - ], - 'StartTime' => [ - 'title' => '开始时间', - 'description' => 'The beginning of the time range that you queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2023-01-31T05:40:00Z', - ], - 'EndTime' => [ - 'title' => '结束时间', - 'description' => 'The end of the time range that you queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2023-01-31T06:40:00Z', - ], - 'Packets' => [ - 'description' => 'The total number of packets in the specified time range.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '88', - ], - 'Bytes' => [ - 'description' => 'The total volume of traffic in the specified time range.'."\n", - 'type' => 'number', - 'format' => 'double', - 'example' => '188', - ], - 'BandwithPackageId' => [ - 'title' => '带宽包', - 'description' => 'The ID of the CEN bandwidth plan.'."\n", - 'type' => 'string', - 'example' => 'cenbwp-ia8kw1zjv4hyal****', - ], + 'AccountId' => ['title' => '', 'description' => 'The account ID.'."\n", 'type' => 'string', 'example' => '118639953821****'], + 'CenId' => ['title' => '', 'description' => 'The CEN instance ID.'."\n", 'type' => 'string', 'example' => 'cen-ia8kw1zjv4hyal****'], + 'ThisRegion' => ['title' => '', 'description' => 'The local region where the **local IP address** resides.'."\n", 'type' => 'string', 'example' => 'cn-shanghai'], + 'ThisIp' => ['title' => '', 'description' => 'The local IP address.'."\n", 'type' => 'string', 'example' => '1.8.XX.XX'], + 'ThisPort' => ['title' => '', 'description' => 'The local port.'."\n", 'type' => 'string', 'example' => '80'], + 'OtherRegion' => ['title' => '', 'description' => 'The remote region where the **remote IP address** resides.'."\n", 'type' => 'string', 'example' => 'ap-southeast-1'], + 'OtherIp' => ['title' => '', 'description' => 'The remote IP address.'."\n", 'type' => 'string', 'example' => '47.216.XX.XX'], + 'OtherPort' => ['title' => '', 'description' => 'The remote port.'."\n", 'type' => 'string', 'example' => '53470'], + 'Protocol' => ['title' => '', 'description' => 'The protocol number.'."\n", 'type' => 'string', 'example' => '6'], + 'StartTime' => ['title' => '', 'description' => 'The beginning of the time range that you queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2023-01-31T05:40:00Z'], + 'EndTime' => ['title' => '', 'description' => 'The end of the time range that you queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", 'type' => 'string', 'example' => '2023-01-31T06:40:00Z'], + 'Packets' => ['description' => 'The total number of packets in the specified time range.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '88', 'title' => ''], + 'Bytes' => ['description' => 'The total volume of traffic in the specified time range.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '188', 'title' => ''], + 'BandwithPackageId' => ['title' => '', 'description' => 'The ID of the CEN bandwidth plan.'."\n", 'type' => 'string', 'example' => 'cenbwp-ia8kw1zjv4hyal****'], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.TopN', - 'errorMessage' => 'The TopN(%s) should not greater than 100.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTime', - 'errorMessage' => 'The specified begin time (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime', - 'errorMessage' => 'It only supports querying data for up to 7 days: %s.', - ], - [ - 'errorCode' => 'IllegalParam.OrderBy', - 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.Sort', - 'errorMessage' => 'The specified Sort(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.AccountIds', - 'errorMessage' => 'The specified parameter accountId (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.inOrOut', - 'errorMessage' => 'Valid values for the inOrOut parameter: in and out.', - ], - [ - 'errorCode' => 'IllegalParam.EndTime', - 'errorMessage' => 'The specified end time (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.ThisRegion', - 'errorMessage' => 'The specified parameter thisRegion(%s) is illegal.', - ], + ['errorCode' => 'IllegalParam.TopN', 'errorMessage' => 'The TopN(%s) should not greater than 100.', 'description' => 'Only top 100 are supported. Actual input: (%s).'], + ['errorCode' => 'IllegalParam.BeginTime', 'errorMessage' => 'The specified begin time (%s) is invalid.', 'description' => 'The specified start time (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime', 'errorMessage' => 'It only supports querying data for up to 7 days: %s.', 'description' => 'You can query data within the last seven days: %s.'], + ['errorCode' => 'IllegalParam.OrderBy', 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', 'description' => 'The specified sort field (%s) is invalid.'], + ['errorCode' => 'IllegalParam.Sort', 'errorMessage' => 'The specified Sort(%s) is invalid.', 'description' => 'Valid values for the sort field: desc and asc.'], + ['errorCode' => 'IllegalParam.AccountIds', 'errorMessage' => 'The specified parameter accountId (%s) is invalid.', 'description' => 'The specified parameter accountId (%s) is invalid.'], + ['errorCode' => 'IllegalParam.inOrOut', 'errorMessage' => 'Valid values for the inOrOut parameter: in and out.', 'description' => 'Valid values for the inOrOut parameter: in and out.'], + ['errorCode' => 'IllegalParam.EndTime', 'errorMessage' => 'The specified end time (%s) is invalid.', 'description' => 'The specified end time (%s) is invalid.'], + ['errorCode' => 'IllegalParam.ThisRegion', 'errorMessage' => 'The specified parameter thisRegion(%s) is illegal.', 'description' => 'ThisRegion is illegal.'], + ['errorCode' => 'QuotaExceeded.CheckRowReadLimit', 'errorMessage' => 'The query time range (%s) exceeds the number of data rows limit. Shorten the query interval.', 'description' => ''], ], ], 'staticInfo' => [ - 'substitutions' => [ - 'nis::2021-12-16::GetNisNetworkRanking', - ], + 'substitutions' => ['nis::2021-12-16::GetNisNetworkRanking'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"TransitRouterFlowTopN\\": [\\n {\\n \\"AccountId\\": \\"118639953821****\\",\\n \\"CenId\\": \\"cen-ia8kw1zjv4hyal****\\",\\n \\"ThisRegion\\": \\"cn-shanghai\\",\\n \\"ThisIp\\": \\"1.8.XX.XX\\",\\n \\"ThisPort\\": \\"80\\",\\n \\"OtherRegion\\": \\"ap-southeast-1\\",\\n \\"OtherIp\\": \\"47.216.XX.XX\\",\\n \\"OtherPort\\": \\"53470\\",\\n \\"Protocol\\": \\"6\\",\\n \\"StartTime\\": \\"2023-01-31T05:40:00Z\\",\\n \\"EndTime\\": \\"2023-01-31T06:40:00Z\\",\\n \\"Packets\\": 88,\\n \\"Bytes\\": 188,\\n \\"BandwithPackageId\\": \\"cenbwp-ia8kw1zjv4hyal****\\"\\n }\\n ]\\n}","type":"json"}]', 'title' => 'GetTransitRouterFlowTopN', - ], - 'CreateNetworkReachableAnalysis' => [ - 'summary' => 'Creates a task for analyzing network reachability.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTransitRouterFlowTopN'], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region for which you want to create a task for analyzing network reachability.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'NetworkPathId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the network path. You can call the [CreateNetworkPath](~~2366522~~) operation to obtain the ID of the network path.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'np-b2f618ceb2c84057****', - ], - ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags to add to the resource.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The information of the tag.', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The key of the tag to add to the resource. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.'."\n" - ."\n" - .'You can add up to 20 tags in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Team', - ], - 'Value' => [ - 'description' => 'The value of the tag to add to the resource. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `acs:` or `aliyun`. The tag value can be an empty string.'."\n" - ."\n" - .'You can add up to 20 tag values in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ops', - ], - ], - 'required' => false, + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetTransitRouterFlowTopN', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'required' => false, - 'maxItems' => 21, ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NetworkReachableAnalysisId' => [ - 'description' => 'The ID of the task for analyzing network reachability.'."\n", - 'type' => 'string', - 'example' => 'nra-2fede05617494417****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IncorrectStatus.NetworkPath', - 'errorMessage' => 'The last analysis status of %s is %s. Please try again later.', - ], - [ - 'errorCode' => 'QuotaExceeded.ParallelNraLimit', - 'errorMessage' => 'The maximum number of parallel reachability analysis task is exceeded.', - ], - [ - 'errorCode' => 'QuotaExceeded.MaxNraCount', - 'errorMessage' => 'The maximum number of reachability analysis task is exceeded.', - ], - [ - 'errorCode' => 'IllegalParam.ZoneId', - 'errorMessage' => 'The specified available zone (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.StepMinutes', - 'errorMessage' => 'The specified sampling interval (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTime', - 'errorMessage' => 'The specified begin time (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.EndTime', - 'errorMessage' => 'The specified end time (%s) is invalid.', - ], - [ - 'errorCode' => 'Mismatch.BeginTimeAndEndTime', - 'errorMessage' => 'The specified begin time must be earlier than the end time.', - ], - [ - 'errorCode' => 'MissingParameter.TagValue', - 'errorMessage' => 'You must specify Tag.N.Value.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded.', - ], - [ - 'errorCode' => 'MissingParameter.TagKey', - 'errorMessage' => 'You must specify Tag.N.Key.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The Tag.N.Key parameter is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The Tag.N.Value parameter is invalid.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound.NetworkPath', - 'errorMessage' => 'The specified resource of %s is not found.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NetworkReachableAnalysisId\\": \\"nra-2fede05617494417****\\",\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\"\\n}","type":"json"}]', - 'title' => 'CreateNetworkReachableAnalysis', - 'description' => '* The **CreateNetworkReachableAnalysis** operation is used to create a task for analyzing the reachability of the network path that is created by calling the **CreateNetworkPath** operation and record the analysis results.'."\n" - .'* The **CreateNetworkReachableAnalysis** operation can be called to repeatedly analyze the reachability of a network path.'."\n" - .'* You can create up to 1,000 reachability analysis records within one Alibaba Cloud account.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"TransitRouterFlowTopN\\": [\\n {\\n \\"AccountId\\": \\"118639953821****\\",\\n \\"CenId\\": \\"cen-ia8kw1zjv4hyal****\\",\\n \\"ThisRegion\\": \\"cn-shanghai\\",\\n \\"ThisIp\\": \\"1.8.XX.XX\\",\\n \\"ThisPort\\": \\"80\\",\\n \\"OtherRegion\\": \\"ap-southeast-1\\",\\n \\"OtherIp\\": \\"47.216.XX.XX\\",\\n \\"OtherPort\\": \\"53470\\",\\n \\"Protocol\\": \\"6\\",\\n \\"StartTime\\": \\"2023-01-31T05:40:00Z\\",\\n \\"EndTime\\": \\"2023-01-31T06:40:00Z\\",\\n \\"Packets\\": 88,\\n \\"Bytes\\": 188,\\n \\"BandwithPackageId\\": \\"cenbwp-ia8kw1zjv4hyal****\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'CreateNetworkPath' => [ - 'summary' => 'Creates a network path for reachability analysis.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetVbrFlowTopN' => [ + 'summary' => 'Queries the rankings of hybrid cloud traffic data in the form of 1-tuple, 2-tuple, or 5-tuple. Hybrid cloud traffic data can be ranked by metrics such as traffic volumes and the number of packets.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '116922', - 'abilityTreeNodes' => [ - 'FEATUREnetana59X9GB', - 'FEATUREnetana98CV3P', - 'FEATUREnetanaWZGUR4', - 'FEATUREnetanaDZZVCZ', - 'FEATUREnetana0CBIRP', - 'FEATUREnetanaJGHZ2X', - 'FEATUREnetanaRD137H', - 'FEATUREnetanaCAWHBE', - 'FEATUREnetana8JUW6E', - ], + 'abilityTreeCode' => '178894', + 'abilityTreeNodes' => ['FEATUREnetanaOV20CD'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the network path that you want to create.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - 'maxLength' => 64, - ], + 'schema' => ['title' => '', 'description' => 'The local region.'."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ - 'name' => 'NetworkPathName', + 'name' => 'BeginTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the network path.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs2PublicIp', - 'maxLength' => 128, - ], + 'schema' => ['title' => '', 'description' => 'The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1638239092000'], ], [ - 'name' => 'SourceId', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the source resource.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-2zef4ngqfarepyun****', - ], + 'schema' => ['title' => '', 'description' => 'The end of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. The maximum time range that you can query is 24 hours.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1638239093000'], ], [ - 'name' => 'SourceType', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the source resource. Valid values:'."\n" + 'title' => '', + 'description' => 'The direction of the hybrid cloud traffic in the local regions or for the local IP addresses. Valid values:'."\n" ."\n" - .'* **ecs**: the Elastic Compute Service (ECS) instance'."\n" - .'* **internetIp**: the public IP address'."\n" - .'* **vsw**: the vSwitch'."\n" - .'* **vpn**: the VPN gateway'."\n" - .'* **vbr**: the virtual border router (VBR)'."\n", + .'* **in**: traffic from a data center to Alibaba Cloud'."\n" + .'* **out**: traffic from Alibaba Cloud to a data center'."\n", 'type' => 'string', 'required' => true, - 'example' => 'ecs', - ], - ], - [ - 'name' => 'SourceIpAddress', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.17.XX.XX', - ], - ], - [ - 'name' => 'SourcePort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The source port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '443', - ], - ], - [ - 'name' => 'TargetId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the destination resource.'."\n", - 'type' => 'string', - 'required' => false, - 'minimum' => '0', - 'example' => 'i-bp13d0e064gubm****', - 'maxItems' => 24, + 'example' => 'in', + 'enum' => ['in', 'out'], ], ], [ - 'name' => 'TargetType', + 'name' => 'GroupBy', 'in' => 'query', 'schema' => [ - 'description' => 'The type of the destination resource. Valid values:'."\n" - ."\n" - .'* **ecs**: the ECS instance'."\n" - .'* **internetIp**: the public IP address'."\n" - .'* **vsw**: the vSwitch'."\n" - .'* **vpn**: the VPN gateway'."\n" - .'* **vbr**: the VBR'."\n" - .'* **clb**: the Classic Load Balancer (CLB) instance'."\n", + 'title' => '', + 'description' => 'The dimension for ranking hybrid cloud traffic data. The value of this parameter is case-sensitive. Valid values:'."\n" + ."\n" + .'* **1Tuple**: queries the rankings of hybrid cloud traffic data for the Cloud Enterprise Network (CEN) instances, CEN connections, virtual border routers (VBRs), and IP addresses.'."\n" + .'* **2Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses.'."\n" + .'* **5Tuple**: queries the rankings of hybrid cloud traffic data for the local and remote IP addresses, local and remote ports, and protocols.'."\n" + .'* **CloudPort**: queries the rankings of hybrid cloud traffic data for the local ports.'."\n" + .'* **OtherPort**: queries the rankings of hybrid cloud traffic data for the remote ports.'."\n" + .'* **Protocol**: queries the rankings of hybrid cloud traffic data for the protocols.'."\n", 'type' => 'string', - 'required' => false, - 'minimum' => '0', - 'example' => 'ecs', - 'maxItems' => 24, + 'required' => true, + 'example' => '1Tuple', + 'enum' => ['1Tuple', '2Tuple', '5Tuple', 'CloudPort', 'OtherPort', 'Protocol'], ], ], [ - 'name' => 'TargetIpAddress', + 'name' => 'OrderBy', 'in' => 'query', 'schema' => [ - 'description' => 'The destination IP address.'."\n", + 'title' => '', + 'description' => 'The metric for ranking hybrid cloud traffic data. Default value: Bytes. This value specifies that hybrid cloud traffic data is ranked by traffic volumes.'."\n", 'type' => 'string', 'required' => false, - 'example' => '192.168.0.210', - ], - ], - [ - 'name' => 'TargetPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', + 'example' => 'Bytes', + 'default' => 'Bytes', + 'enum' => ['Bytes', 'Packets'], ], ], [ - 'name' => 'Protocol', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => 'The protocol type. Valid values:'."\n" + 'title' => '', + 'description' => 'The order for ranking hybrid cloud traffic data. Valid values:'."\n" ."\n" - .'* **tcp**: Transmission Control Protocol (TCP)'."\n" - .'* **udp**: User Datagram Protocol (UDP)'."\n" - .'* **icmp**: Internet Control Message Protocol (ICMP)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', - 'maxLength' => 16, - ], - ], - [ - 'name' => 'NetworkPathDescription', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the network path.'."\n", + .'* **desc**: descending order'."\n" + .'* **asc**: ascending order'."\n", 'type' => 'string', 'required' => false, - 'example' => 'Analyze the path from ECS to ECS', - ], - ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The tags to add to the resource.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => 'The key of tag N to add to the resource. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.'."\n" - ."\n" - .'You can add up to 20 tags in each call.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'role', - ], - 'Value' => [ - 'description' => 'The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.'."\n" - ."\n" - .'The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `aliyun` or `acs:`.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ops', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, + 'example' => 'desc', + 'default' => 'desc', + 'enum' => ['asc', 'desc'], ], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'TopN', 'in' => 'query', - 'schema' => [ - 'description' => 'The resource group ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm27qsxjj****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NetworkPathId' => [ - 'description' => 'The ID of the network path.'."\n", - 'type' => 'string', - 'example' => 'np-4cbf598673d14d27****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '92DD9FFB-06FB-56F7-83EF-5CEF98F5562A', - ], - ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalParam.InternetIP', - 'errorMessage' => 'The specified IP address (%s) is not an internet IP address.', - ], - [ - 'errorCode' => 'IllegalParam.IP', - 'errorMessage' => 'The specified IP address (%s) is invalid.', - ], - [ - 'errorCode' => 'QuotaExceeded.NetworkPath', - 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', - ], - [ - 'errorCode' => 'ResourceAlreadyExist.NetworkPath', - 'errorMessage' => 'The specified resource of %s already exists.', - ], - [ - 'errorCode' => 'Mismatch.SourceIdAndTargetId', - 'errorMessage' => 'Reachability Analyzer does not support the scenario in which source and target Internet IP addresses and ECS instance ID (%s and %s) are bound.', - ], - [ - 'errorCode' => 'IllegalParam.SourceAndTargetInternetIp', - 'errorMessage' => 'Both source ID and target ID are IP addresses, but are not Internet IP addresses. Reachability Analyzer does not support the scenario.', - ], - [ - 'errorCode' => 'IllegalParam.SourcePort', - 'errorMessage' => 'The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536].', - ], - [ - 'errorCode' => 'IllegalParam.TargetPort', - 'errorMessage' => 'The specified TargetPort(%s) value is invalid. The value must be within the range of (0,65536].', - ], - [ - 'errorCode' => 'IllegalParam.SourceId', - 'errorMessage' => 'The specified SourceId(%s) may be not exist.', - ], - [ - 'errorCode' => 'IllegalParam.TargetId', - 'errorMessage' => 'The specified TargetId(%s) may be not exist.', - ], - [ - 'errorCode' => 'MissingParameter.TagValue', - 'errorMessage' => 'You must specify Tag.N.Value.', - ], - [ - 'errorCode' => 'NumberExceed.Tags', - 'errorMessage' => 'The maximum number of Tags is exceeded.', - ], - [ - 'errorCode' => 'Duplicate.TagKey', - 'errorMessage' => 'The Tag.N.Key contains duplicate keys.', - ], - [ - 'errorCode' => 'MissingParameter.TagKey', - 'errorMessage' => 'You must specify Tag.N.Key.', - ], - [ - 'errorCode' => 'InvalidParameter.TagKey', - 'errorMessage' => 'The Tag.N.Key parameter is invalid.', - ], - [ - 'errorCode' => 'InvalidParameter.TagValue', - 'errorMessage' => 'The Tag.N.Value parameter is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.SourceIp', - 'errorMessage' => 'Please enter a valid source IP.', - ], - [ - 'errorCode' => 'IllegalParam.Protocol', - 'errorMessage' => 'The specified Protocol(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.TargetType', - 'errorMessage' => 'The specified target type (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.SourceType', - 'errorMessage' => 'The specified source type (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.TargetIp', - 'errorMessage' => 'The specified target ip (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.NotSupportHaVpn', - 'errorMessage' => 'The specified VPN(%s), which is not currently supported for such instances.', - ], - [ - 'errorCode' => 'IllegalParam.SourceNotBound', - 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', - ], - [ - 'errorCode' => 'IllegalParam.TargetNotBound', - 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', - ], - [ - 'errorCode' => 'IllegalParam.NotPublicIp', - 'errorMessage' => 'The specified (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.SourceEqualTarget', - 'errorMessage' => 'The specified source and destination are identical, which is not supported for analysis.', - ], - [ - 'errorCode' => 'IllegalParam.TypeAndIdMismatch', - 'errorMessage' => 'The specified instanceId (%s) and type do not match.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden.NetworkPath', - 'errorMessage' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.', - ], + 'schema' => ['title' => '', 'description' => 'Specifies top-N traffic data to display. Default value: **10**. This value specifies that top-10 traffic data is displayed by default. Maximum value: **100**.'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NetworkPathId\\": \\"np-4cbf598673d14d27****\\",\\n \\"RequestId\\": \\"92DD9FFB-06FB-56F7-83EF-5CEF98F5562A\\"\\n}","type":"json"}]', - 'title' => 'CreateNetworkPath', - 'description' => '* You can call the **CreateNetworkPath** operation to create network paths in multiple networking scenarios and between multiple resources. After a path is created, the path parameters are saved for repeated analysis.'."\n" - .'* You can create up to 100 network paths within one Alibaba Cloud account.'."\n", - ], - 'CreateAndAnalyzeNetworkPath' => [ - 'summary' => 'Initiates a task for analyzing network reachability.', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '178742', - 'abilityTreeNodes' => [ - 'FEATUREnetana59X9GB', - 'FEATUREnetana98CV3P', - 'FEATUREnetanaWZGUR4', - 'FEATUREnetanaDZZVCZ', - 'FEATUREnetana0CBIRP', - 'FEATUREnetanaJGHZ2X', - 'FEATUREnetanaRD137H', - 'FEATUREnetanaCAWHBE', - 'FEATUREnetana8JUW6E', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceId', + 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the source resource.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'i-uf62y8khhbkbdrp6****', - ], + 'schema' => ['title' => '', 'description' => 'The CEN instance ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'cen-ia8kw1zjv4hyal****'], ], [ - 'name' => 'SourceIpAddress', + 'name' => 'VirtualBorderRouterId', 'in' => 'query', - 'schema' => [ - 'description' => 'The source IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', - ], + 'schema' => ['title' => '', 'description' => 'The ID of the VBR that is associated with the Express Connect circuit.'."\n", 'type' => 'string', 'required' => false, 'example' => 'vbr-k1atj46citwuek42j****'], ], [ - 'name' => 'TargetIpAddress', + 'name' => 'AttachmentId', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination IP address.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '172.50.XX.XX', - ], + 'schema' => ['title' => '', 'description' => 'The CEN connection ID.'."\n", 'type' => 'string', 'required' => false, 'example' => 'tr-attach-dnv870gmqzmb5u****'], ], [ - 'name' => 'SourceType', + 'name' => 'Protocol', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the source resource. Valid values:'."\n" - ."\n" - .'* **ecs**: the Elastic Compute Service (ECS) instance'."\n" - .'* **internetIp**: the public IP address'."\n" - .'* **vsw**: the vSwitch'."\n" - .'* **vpn**: the VPN gateway'."\n" - .'* **vbr**: the virtual border router (VBR)'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'ecs', - ], + 'schema' => ['title' => '', 'description' => 'The protocol number.'."\n" + ."\n" + .'> All protocols are supported. This parameter is required only if you set **GroupBy** to **5Tuple** or **Protocol**.'."\n", 'type' => 'string', 'required' => false, 'example' => '6'], ], [ - 'name' => 'SourcePort', + 'name' => 'CloudIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The source port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '', 'description' => 'The local IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '112.74.XX.XX'], ], [ - 'name' => 'TargetId', + 'name' => 'OtherIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the destination resource.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'i-m5eactvw7wtpktv5****', - ], + 'schema' => ['title' => '', 'description' => 'The remote IP address.'."\n", 'type' => 'string', 'required' => false, 'example' => '122.112.XX.XX'], ], [ - 'name' => 'TargetType', + 'name' => 'CloudPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the destination resource. Valid values:'."\n" - ."\n" - .'* **ecs**: the ECS instance'."\n" - .'* **internetIp**: the public IP address'."\n" - .'* **vsw**: the vSwitch'."\n" - .'* **vpn**: the VPN gateway'."\n" - .'* **vbr**: the VBR'."\n" - .'* **clb**: the Classic Load Balancer (CLB) instance'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ecs', - ], + 'schema' => ['title' => '', 'description' => 'The local port.'."\n" + ."\n" + .'> This parameter is required only if you set **GroupBy** to **CloudPort**.'."\n", 'type' => 'string', 'required' => false, 'example' => '443'], ], [ - 'name' => 'TargetPort', + 'name' => 'OtherPort', 'in' => 'query', - 'schema' => [ - 'description' => 'The destination port.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['title' => '', 'description' => 'The remote port.'."\n" + ."\n" + .'> This parameter is required only if you set **GroupBy** to **OtherPort**.'."\n", 'type' => 'string', 'required' => false, 'example' => '40002'], ], [ - 'name' => 'Protocol', + 'name' => 'AccountIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The protocol type. Valid values:'."\n" - ."\n" - .'* **tcp**: Transmission Control Protocol (TCP)'."\n" - .'* **udp**: User Datagram Protocol (UDP)'."\n" - .'* **icmp**: Internet Control Message Protocol (ICMP)'."\n", - 'type' => 'string', + 'title' => '', + 'description' => 'The IDs of member accounts.'."\n", + 'type' => 'array', + 'items' => ['description' => 'The ID of the member account.'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '[\\"118639953821****\\"]', 'title' => ''], 'required' => false, - 'example' => 'tcp', + 'maxItems' => 10, + 'example' => '', ], ], [ - 'name' => 'RegionId', + 'name' => 'UseMultiAccount', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region for which you want to initiate a task for analyzing network reachability.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'Specifies whether to enable the multi-account management feature. Default value: **false**. This value specifies that the multi-account management feature is disabled.'."\n" + ."\n" + .'> By default, the multi-account management feature is not available. If you want to use this feature, contact your account manager to apply for permissions.'."\n", 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => 'RpcResponse<VbrFlowlogTopNResponse>', 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', - ], - 'NetworkReachableAnalysisId' => [ - 'description' => 'The ID of the task for analyzing network reachability that you initiated.'."\n", - 'type' => 'string', - 'example' => 'nra-dfe9e53d2b524568****', - ], - 'SourceId' => [ - 'description' => 'The ID of the source resource.'."\n", - 'type' => 'string', - 'example' => 'i-uf62y8khhbkbdrp6****'."\n", - ], - 'TargetId' => [ - 'description' => 'The ID of the destination resource.'."\n", - 'type' => 'string', - 'example' => 'i-m5eactvw7wtpktv5****'."\n", - ], - 'SourceType' => [ - 'description' => 'The type of the source resource.'."\n", - 'type' => 'string', - 'example' => 'ecs', - ], - 'TargetType' => [ - 'description' => 'The type of the destination resource.'."\n", - 'type' => 'string', - 'example' => 'ecs', - ], - 'SourcePort' => [ - 'description' => 'The source port.'."\n", - 'type' => 'string', - 'example' => '0', - ], - 'TargetPort' => [ - 'description' => 'The destination port.'."\n", - 'type' => 'string', - 'example' => '80', - ], - 'Protocol' => [ - 'description' => 'The protocol type.'."\n", - 'type' => 'string', - 'example' => 'tcp', - ], - 'SourceIpAddress' => [ - 'description' => 'The source IP address.'."\n", - 'type' => 'string', - 'example' => '192.168.XX.XX'."\n", - ], - 'TargetIpAddress' => [ - 'description' => 'The destination IP address.'."\n", - 'type' => 'string', - 'example' => '172.50.XX.XX'."\n", + 'RequestId' => ['description' => 'The request ID.'."\n", 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'VirtualBorderRouterFlowlogTopN' => [ + 'description' => 'The ranking result of hybrid cloud traffic data.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CloudRegion' => ['title' => 'region', 'description' => 'The local region where the local IP address resides.'."\n", 'type' => 'string', 'example' => 'cn-shanghai'], + 'CloudIp' => ['title' => '', 'description' => 'The local IP address.'."\n", 'type' => 'string', 'example' => '120.24.X.X'], + 'OtherIp' => ['title' => '', 'description' => 'The remote IP address.'."\n", 'type' => 'string', 'example' => '222.85.X.X'], + 'CloudPort' => ['title' => '', 'description' => 'The local port.'."\n", 'type' => 'string', 'example' => '80'], + 'OtherPort' => ['title' => '', 'description' => 'The remote port.'."\n", 'type' => 'string', 'example' => '10965'], + 'Protocol' => ['title' => '', 'description' => 'The protocol number.'."\n", 'type' => 'string', 'example' => '6'], + 'AttachmentId' => ['title' => 'attachmentId', 'description' => 'The CEN connection ID.'."\n", 'type' => 'string', 'example' => 'tr-attach-u6v1j3jre0fe9h****'], + 'VirtualBorderRouterId' => ['title' => '', 'description' => 'The ID of the VBR that is associated with the Express Connect circuit.'."\n", 'type' => 'string', 'example' => 'vbr-k1atj46citwuek42j****'], + 'Bytes' => ['description' => 'The total volume of traffic in the specified time range.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '108', 'title' => ''], + 'Packets' => ['description' => 'The total number of packets in the specified time range.'."\n", 'type' => 'number', 'format' => 'double', 'example' => '66', 'title' => ''], + 'AccountId' => ['title' => '', 'description' => 'The account ID.'."\n", 'type' => 'string', 'example' => '156237031628****'], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.InternetIP', - 'errorMessage' => 'The specified IP address (%s) is not an internet IP address.', - ], - [ - 'errorCode' => 'IllegalParam.IP', - 'errorMessage' => 'The specified IP address (%s) is invalid.', - ], - [ - 'errorCode' => 'Mismatch.SourceIdAndTargetId', - 'errorMessage' => 'Reachability Analyzer does not support the scenario in which source and target Internet IP addresses and ECS instance ID (%s and %s) are bound.', - ], - [ - 'errorCode' => 'IllegalParam.SourceAndTargetInternetIp', - 'errorMessage' => 'Both source ID and target ID are IP addresses, but are not Internet IP addresses. Reachability Analyzer does not support the scenario.', - ], - [ - 'errorCode' => 'IllegalParam.SourcePort', - 'errorMessage' => 'The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536].', - ], - [ - 'errorCode' => 'IllegalParam.TargetPort', - 'errorMessage' => 'The specified TargetPort(%s) value is invalid. The value must be within the range of (0,65536].', - ], - [ - 'errorCode' => 'IllegalParam.SourceId', - 'errorMessage' => 'The specified SourceId(%s) may be not exist.', - ], - [ - 'errorCode' => 'IllegalParam.TargetId', - 'errorMessage' => 'The specified TargetId(%s) may be not exist.', - ], - [ - 'errorCode' => 'IllegalParam.SourceIp', - 'errorMessage' => 'Please enter a valid source IP.', - ], - [ - 'errorCode' => 'IllegalParam.SourceType', - 'errorMessage' => 'The specified source type (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.Protocol', - 'errorMessage' => 'The specified Protocol(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.TargetType', - 'errorMessage' => 'The specified target type (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.TargetIp', - 'errorMessage' => 'The specified target ip (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.NotSupportHaVpn', - 'errorMessage' => 'The specified VPN(%s), which is not currently supported for such instances.', - ], - [ - 'errorCode' => 'IllegalParam.SourceNotBound', - 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', - ], - [ - 'errorCode' => 'IllegalParam.TargetNotBound', - 'errorMessage' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', - ], - [ - 'errorCode' => 'IllegalParam.NotPublicIp', - 'errorMessage' => 'The specified (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.SourceEqualTarget', - 'errorMessage' => 'The specified source and destination are identical, which is not supported for analysis.', - ], - [ - 'errorCode' => 'IllegalParam.TypeAndIdMismatch', - 'errorMessage' => 'The specified instanceId (%s) and type do not match.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden.NetworkPath', - 'errorMessage' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.', - ], + ['errorCode' => 'IllegalParam.TopN', 'errorMessage' => 'The TopN(%s) should not greater than 100.', 'description' => 'Only top 100 are supported. Actual input: (%s).'], + ['errorCode' => 'IllegalParam.BeginTime', 'errorMessage' => 'The specified begin time (%s) is invalid.', 'description' => 'The specified start time (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime', 'errorMessage' => 'It only supports querying data for up to 7 days: %s.', 'description' => 'You can query data within the last seven days: %s.'], + ['errorCode' => 'IllegalParam.Sort', 'errorMessage' => 'The specified Sort(%s) is invalid.', 'description' => 'Valid values for the sort field: desc and asc.'], + ['errorCode' => 'IllegalParam.OrderBy', 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', 'description' => 'The specified sort field (%s) is invalid.'], + ['errorCode' => 'OperationFailed.DataTooMuch', 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', 'description' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.'], + ['errorCode' => 'IllegalParam.RegionId', 'errorMessage' => 'The specified region ID (%s) is invalid.', 'description' => 'The specified region ID (%s) is invalid.'], + ['errorCode' => 'QuotaExceeded.CheckRowReadLimit', 'errorMessage' => 'The query time range (%s) exceeds the number of data rows limit. Shorten the query interval.', 'description' => ''], ], ], 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"NetworkReachableAnalysisId\\": \\"nra-dfe9e53d2b524568****\\",\\n \\"SourceId\\": \\"i-uf62y8khhbkbdrp6****\\",\\n \\"TargetId\\": \\"i-m5eactvw7wtpktv5****\\",\\n \\"SourceType\\": \\"ecs\\",\\n \\"TargetType\\": \\"ecs\\",\\n \\"SourcePort\\": \\"0\\",\\n \\"TargetPort\\": \\"80\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"SourceIpAddress\\": \\"192.168.XX.XX\\",\\n \\"TargetIpAddress\\": \\"172.50.XX.XX\\"\\n}","type":"json"}]', - 'title' => 'CreateAndAnalyzeNetworkPath', - 'description' => 'You can call this operation to initiate a task for analyzing network reachability by specifying only the information about the source and destination. You do not need to create a network path for reachability analysis. The analysis result is not recorded in the system. If you want to record the path parameters and analysis result in the Network Intelligence Service (NIS) console, we recommend that you call the **createNetworkReachableAnalysis** operation.'."\n", - ], - 'DeleteNetworkPath' => [ - 'summary' => 'Deletes a network path.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'substitutions' => ['nis::2021-12-16::GetNisNetworkRanking'], ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '116931', - 'abilityTreeNodes' => [ - 'FEATUREnetana59X9GB', - 'FEATUREnetana98CV3P', - 'FEATUREnetanaWZGUR4', - 'FEATUREnetanaDZZVCZ', - 'FEATUREnetana0CBIRP', - 'FEATUREnetanaJGHZ2X', - 'FEATUREnetanaRD137H', - 'FEATUREnetanaCAWHBE', - 'FEATUREnetana8JUW6E', + 'title' => 'GetVbrFlowTopN', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVbrFlowTopN'], ], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region ID of the network path that you want to delete.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'NetworkPathIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of network paths.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'You can call the [CreateNetworkPath](~~2366522~~) operation to obtain the ID of the network path.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'np-10c31b7aca0e4486****', - ], - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'C4331873-C534-590F-A905-F66C53B88A47', - ], - 'Data' => [ - 'type' => 'boolean', - 'description' => 'Result of operation.'."\n" - ."\n" - .'- **true**: Delete Success.'."\n" - .'- **false**: Delete Fail.', - 'example' => 'true', - ], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetVbrFlowTopN', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalParam.DiskCategory', - 'errorMessage' => 'The specified disk category (%s) is invalid.', - ], - [ - 'errorCode' => 'SizeExceeds.Zones', - 'errorMessage' => 'The length of the specified available zones exceeds the limit.', - ], - [ - 'errorCode' => 'SizeExceeds.DiskCategories', - 'errorMessage' => 'The length of the specified disk categories exceeds the limit.', - ], - [ - 'errorCode' => 'OperationDenied.ZonesConflict', - 'errorMessage' => 'The specified available zones do not belong to the same region.', - ], - [ - 'errorCode' => 'IllegalParam.ZoneId', - 'errorMessage' => 'The specified available zone (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.StepMinutes', - 'errorMessage' => 'The specified sampling interval (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTime', - 'errorMessage' => 'The specified begin time (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.EndTime', - 'errorMessage' => 'The specified end time (%s) is invalid.', - ], - [ - 'errorCode' => 'Mismatch.BeginTimeAndEndTime', - 'errorMessage' => 'The specified begin time must be earlier than the end time.', - ], - [ - 'errorCode' => 'IllegalParam.NetworkPathId', - 'errorMessage' => 'The parameter (%s) cannot be empty.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden.NetworkPathId', - 'errorMessage' => 'The user does not have permission on the instance parameter (%s).', - ], - ], - [ - [ - 'errorCode' => 'ResourceNotFound.NetworkPathId', - 'errorMessage' => 'The instance resource (%s) does not exist.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C4331873-C534-590F-A905-F66C53B88A47\\",\\n \\"Data\\": true\\n}","type":"json"}]', - 'title' => 'DeleteNetworkPath', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"VirtualBorderRouterFlowlogTopN\\": [\\n {\\n \\"CloudRegion\\": \\"cn-shanghai\\",\\n \\"CloudIp\\": \\"120.24.X.X\\",\\n \\"OtherIp\\": \\"222.85.X.X\\",\\n \\"CloudPort\\": \\"80\\",\\n \\"OtherPort\\": \\"10965\\",\\n \\"Protocol\\": \\"6\\",\\n \\"AttachmentId\\": \\"tr-attach-u6v1j3jre0fe9h****\\",\\n \\"VirtualBorderRouterId\\": \\"vbr-k1atj46citwuek42j****\\",\\n \\"Bytes\\": 108,\\n \\"Packets\\": 66,\\n \\"AccountId\\": \\"156237031628****\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DeleteNetworkReachableAnalysis' => [ - 'summary' => 'Deletes a task for analyzing network reachability.', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListNisInspectionResourceType' => [ + 'summary' => 'Lists the resource types available for inspection.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '116935', - 'abilityTreeNodes' => [ - 'FEATUREnetana59X9GB', - 'FEATUREnetana98CV3P', - 'FEATUREnetanaWZGUR4', - 'FEATUREnetanaDZZVCZ', - 'FEATUREnetana0CBIRP', - 'FEATUREnetanaJGHZ2X', - 'FEATUREnetanaRD137H', - 'FEATUREnetanaCAWHBE', - 'FEATUREnetana8JUW6E', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region for which you want to delete a task for analyzing network reachability.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'NetworkReachableAnalysisIds', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The IDs of the tasks for analyzing network reachability.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the task for analyzing network reachability. You can call the [CreateNetworkReachableAnalysis](~~2366521~~) operation to obtain the ID of the task for analyzing network reachability.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '[\\"nra-be3cff6bed3049f5****\\"]', - ], - 'required' => true, - ], - ], + 'abilityTreeCode' => '226557', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], + 'tenantRelevance' => 'publicInformation', ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'RpcResponse<ListNisInspectionResourceTypeResponse>', + 'description' => 'RpcResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '4838F3F2-30E1-5D82-B25A-B9FE33BC3E25', - ], - 'Data' => [ - 'type' => 'boolean', - 'description' => 'Result of operation.'."\n" - .'- **true**: Delete Success.'."\n" - .'- **false**: Delete Fail.', - 'example' => 'true', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', 'title' => ''], + 'ResourceTypeList' => [ + 'description' => 'The resource types for inspection.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceType' => ['description' => 'The resource type.', 'type' => 'string', 'example' => 'EIP', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalParam.DiskCategory', - 'errorMessage' => 'The specified disk category (%s) is invalid.', - ], - [ - 'errorCode' => 'SizeExceeds.Zones', - 'errorMessage' => 'The length of the specified available zones exceeds the limit.', - ], - [ - 'errorCode' => 'SizeExceeds.DiskCategories', - 'errorMessage' => 'The length of the specified disk categories exceeds the limit.', - ], - [ - 'errorCode' => 'OperationDenied.ZonesConflict', - 'errorMessage' => 'The specified available zones do not belong to the same region.', - ], - [ - 'errorCode' => 'IllegalParam.ZoneId', - 'errorMessage' => 'The specified available zone (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.StepMinutes', - 'errorMessage' => 'The specified sampling interval (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTime', - 'errorMessage' => 'The specified begin time (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.EndTime', - 'errorMessage' => 'The specified end time (%s) is invalid.', - ], - [ - 'errorCode' => 'Mismatch.BeginTimeAndEndTime', - 'errorMessage' => 'The specified begin time must be earlier than the end time.', - ], - [ - 'errorCode' => 'IllegalParam.NetworkReachableAnalysisId', - 'errorMessage' => 'The parameter (%s) cannot be empty.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden.NetworkReachableAnalysisId', - 'errorMessage' => 'The user does not have permission on the instance parameter (%s).', - ], - ], - [ - [ - 'errorCode' => 'ResourceNotFound.NetworkReachableAnalysisId', - 'errorMessage' => 'The instance resource (%s) does not exist.', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4838F3F2-30E1-5D82-B25A-B9FE33BC3E25\\",\\n \\"Data\\": true\\n}","type":"json"}]', - 'title' => 'DeleteNetworkReachableAnalysis', - ], - 'GetNetworkReachableAnalysis' => [ - 'summary' => 'Obtains the results of network reachability analysis.', - 'methods' => [ - 'get', - 'post', + 'title' => 'ListNisInspectionResourceType', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREnetana59X9GB', - 'FEATUREnetana98CV3P', - 'FEATUREnetanaWZGUR4', - 'FEATUREnetanaDZZVCZ', - 'FEATUREnetana0CBIRP', - 'FEATUREnetanaJGHZ2X', - 'FEATUREnetanaRD137H', - 'FEATUREnetanaCAWHBE', - 'FEATUREnetana8JUW6E', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region for which you want to obtain the result of network reachability analysis.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'NetworkReachableAnalysisId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task for analyzing network reachability. You can call the **CreateNetworkRearchableAnalysis** operation to obtain the ID of the task for analyzing network reachability.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'nra-90eef36a9e6e4662****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NetworkPathId' => [ - 'description' => 'The network path ID.'."\n", - 'type' => 'string', - 'example' => 'np-2a1332214fa346b6****', - ], - 'NetworkReachableAnalysisId' => [ - 'description' => 'The ID of the task for analyzing network reachability.'."\n", - 'type' => 'string', - 'example' => 'nra-8607514e71c1484****', - ], - 'NetworkReachableAnalysisStatus' => [ - 'description' => 'The state of the task for analyzing network reachability. Valid values:'."\n" - ."\n" - .'* **init**: The task is in progress.'."\n" - .'* **finish**: The task is complete.'."\n" - .'* **error**: An analysis error occurred.'."\n" - .'* **timeout**: The task timed out.'."\n", - 'type' => 'string', - 'example' => 'finish', - ], - 'NetworkReachableAnalysisResult' => [ - 'description' => 'The result of network reachability analysis, which includes the network topology, error codes of network unreachability, and rules of network unreachability.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "errorCode": "",'."\n" - .' "networkAclData": {'."\n" - .' "networkAclItems": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "nraId": "nra-f2c8701a36424094****",'."\n" - .' "requestId": "B931F8A0-620E-5230-B77F-3BD7F612****",'."\n" - .' "routeData": {'."\n" - .' "routeItems": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "securityGroupData": {'."\n" - .' "policy": "accept",'."\n" - .' "securityGroupItems": ['."\n" - .' {'."\n" - .' "description": "default_sg_access_rule",'."\n" - .' "matchedRule": {'."\n" - .' "bizProtocol": "ALL",'."\n" - .' "creatingTime": "2022-11-10T03:24:49Z",'."\n" - .' "description": "",'."\n" - .' "destinationCidr": "",'."\n" - .' "destinationGroupId": "sg-wz980j96p8y99co5****",'."\n" - .' "direction": "egress",'."\n" - .' "policy": "Accept",'."\n" - .' "portRange": "-1/-1",'."\n" - .' "priority": "1",'."\n" - .' "sourceCidr": "",'."\n" - .' "sourceGroupId": ""'."\n" - .' },'."\n" - .' "policy": "accept",'."\n" - .' "resourceId": "eni-wz92ce4saz1jzazg****",'."\n" - .' "securityGroupId": "sg-wz980j96p8y99co5****"'."\n" - .' },'."\n" - .' {'."\n" - .' "description": "user_acl_drop_rule",'."\n" - .' "matchedRule": {'."\n" - .' "bizProtocol": "",'."\n" - .' "creatingTime": "",'."\n" - .' "description": "",'."\n" - .' "destinationCidr": "",'."\n" - .' "destinationGroupId": "",'."\n" - .' "direction": "",'."\n" - .' "policy": "",'."\n" - .' "portRange": "",'."\n" - .' "priority": "",'."\n" - .' "sourceCidr": "",'."\n" - .' "sourceGroupId": ""'."\n" - .' },'."\n" - .' "policy": "",'."\n" - .' "resourceId": "eni-wz97vry93t6z4lbd****",'."\n" - .' "securityGroupId": "sg-wz980j96p8y99co****"'."\n" - .' }'."\n" - .' ],'."\n" - .' "securityGroupReportId": "sgr-4479d23bb37241aab****"'."\n" - .' },'."\n" - .' "status": "security_group_checking_target",'."\n" - .' "topologyData": {'."\n" - .' "positive": {'."\n" - .' "linkList": ['."\n" - .' {'."\n" - .' "id": "i-wz91dk7bor557hp93zyv-->eni-wz92ce4saz1jzazg****",'."\n" - .' "source": "i-wz91dk7bor557hp9****",'."\n" - .' "target": "eni-wz92ce4saz1jzazg****"'."\n" - .' },'."\n" - .' {'."\n" - .' "id": "eni-wz92ce4saz1jzazgi13d-->vsw-wz9slpwdcppwfrnee****",'."\n" - .' "source": "eni-wz92ce4saz1jzazg****",'."\n" - .' "target": "vsw-wz9slpwdcppwfrnee****"'."\n" - .' },'."\n" - .' {'."\n" - .' "id": "vsw-wz9slpwdcppwfrneebcrp-->eni-wz97vry93t6z4lbd****",'."\n" - .' "source": "vsw-wz9slpwdcppwfrnee****",'."\n" - .' "target": "eni-wz97vry93t6z4lbd****"'."\n" - .' },'."\n" - .' {'."\n" - .' "id": "eni-wz97vry93t6z4lbdgmfi-->i-wz91dk7bor557hp9****",'."\n" - .' "source": "eni-wz97vry93t6z4lbd****",'."\n" - .' "target": "i-wz91dk7bor557hp9****"'."\n" - .' }'."\n" - .' ],'."\n" - .' "nodeList": ['."\n" - .' {'."\n" - .' "aZone": "cn-shenzhen-d",'."\n" - .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" - .' "id": "i-wz91dk7bor557hp9****",'."\n" - .' "level": 1,'."\n" - .' "matchedRoute": {'."\n" - .' "nextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "nodeType": "VM",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "trafficLogs": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' {'."\n" - .' "aZone": "cn-shenzhen-d",'."\n" - .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" - .' "id": "i-wz91dk7bor557hp9****",'."\n" - .' "level": 3,'."\n" - .' "matchedRoute": {'."\n" - .' "nextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "nodeType": "VM",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "trafficLogs": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' {'."\n" - .' "aZone": "cn-shenzhen-d",'."\n" - .' "bizInsId": "vsw-wz9slpwdcppwfrnee****",'."\n" - .' "cidr": "192.168.0.0/24",'."\n" - .' "id": "vsw-wz9slpwdcppwfrnee****",'."\n" - .' "level": 2,'."\n" - .' "matchedRoute": {'."\n" - .' "nextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "nodeType": "VSW",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "trafficLogs": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' {'."\n" - .' "bizInsId": "eni-wz92ce4saz1jzazg****",'."\n" - .' "id": "eni-wz92ce4saz1jzazg****",'."\n" - .' "ip": "192.168.0.33",'."\n" - .' "mac": "00:XXXX:3e:16:7c:50",'."\n" - .' "matchedRoute": {'."\n" - .' "nextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "nodeType": "ENI",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "status": "InUse",'."\n" - .' "trafficLogs": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' {'."\n" - .' "bizInsId": "eni-wz97vry93t6z4lbd****",'."\n" - .' "id": "eni-wz97vry93t6z4lbd****",'."\n" - .' "ip": "192.168.0.34",'."\n" - .' "mac": "00:XXXX:3e:14:70:c2",'."\n" - .' "matchedRoute": {'."\n" - .' "nextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "nodeType": "ENI",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "status": "InUse",'."\n" - .' "trafficLogs": ['."\n" - .' '."\n" - .' ]'."\n" - .' }'."\n" - .' ]'."\n" - .' },'."\n" - .' "reverse": {'."\n" - .' "revLinkList": ['."\n" - .' {'."\n" - .' "id": "i-wz91dk7bor557hp93zys-->eni-wz97vry93t6z4lbd****",'."\n" - .' "source": "i-wz91dk7bor557hp9****",'."\n" - .' "target": "eni-wz97vry93t6z4lbd****"'."\n" - .' },'."\n" - .' {'."\n" - .' "id": "eni-wz97vry93t6z4lbdgmfi-->vsw-wz9slpwdcppwfrnee****",'."\n" - .' "source": "eni-wz97vry93t6z4lbd****",'."\n" - .' "target": "vsw-wz9slpwdcppwfrnee****"'."\n" - .' },'."\n" - .' {'."\n" - .' "id": "vsw-wz9slpwdcppwfrneebcrp-->eni-wz92ce4saz1jzazg****",'."\n" - .' "source": "vsw-wz9slpwdcppwfrnee****",'."\n" - .' "target": "eni-wz92ce4saz1jzazg****"'."\n" - .' },'."\n" - .' {'."\n" - .' "id": "eni-wz92ce4saz1jzazgi13d-->i-wz91dk7bor557hp9****",'."\n" - .' "source": "eni-wz92ce4saz1jzazg****",'."\n" - .' "target": "i-wz91dk7bor557hp9****"'."\n" - .' }'."\n" - .' ],'."\n" - .' "revNodeList": ['."\n" - .' {'."\n" - .' "aZone": "cn-shenzhen-d",'."\n" - .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" - .' "id": "i-wz91dk7bor557hp9****",'."\n" - .' "level": 1,'."\n" - .' "nodeType": "VM",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "revMatchedRoute": {'."\n" - .' "revNextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' }'."\n" - .' },'."\n" - .' {'."\n" - .' "aZone": "cn-shenzhen-d",'."\n" - .' "bizInsId": "i-wz91dk7bor557hp9****",'."\n" - .' "id": "i-wz91dk7bor557hp9****",'."\n" - .' "level": 3,'."\n" - .' "nodeType": "VM",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "revMatchedRoute": {'."\n" - .' "revNextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' }'."\n" - .' },'."\n" - .' {'."\n" - .' "aZone": "cn-shenzhen-d",'."\n" - .' "bizInsId": "vsw-wz9slpwdcppwfrnee****",'."\n" - .' "cidr": "192.168.0.0/24",'."\n" - .' "id": "vsw-wz9slpwdcppwfrnee****",'."\n" - .' "level": 2,'."\n" - .' "nodeType": "VSW",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "revMatchedRoute": {'."\n" - .' "revNextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' }'."\n" - .' },'."\n" - .' {'."\n" - .' "bizInsId": "eni-wz97vry93t6z4lbd****",'."\n" - .' "id": "eni-wz97vry93t6z4lbd****",'."\n" - .' "ip": "192.168.0.34",'."\n" - .' "mac": "00:XXXX:3e:14:70:c2",'."\n" - .' "nodeType": "ENI",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "revMatchedRoute": {'."\n" - .' "revNextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "status": "InUse"'."\n" - .' },'."\n" - .' {'."\n" - .' "bizInsId": "eni-wz92ce4saz1jzazg****",'."\n" - .' "id": "eni-wz92ce4saz1jzazg****",'."\n" - .' "ip": "192.168.0.33",'."\n" - .' "mac": "00:XXXX:3e:16:7c:50",'."\n" - .' "nodeType": "ENI",'."\n" - .' "regionNo": "cn-shenzhen-st3-a01",'."\n" - .' "regionNoAlias": "cn-shenzhen",'."\n" - .' "revMatchedRoute": {'."\n" - .' "revNextHopSet": ['."\n" - .' '."\n" - .' ]'."\n" - .' },'."\n" - .' "status": "InUse"'."\n" - .' }'."\n" - .' ]'."\n" - .' },'."\n" - .' "topologyReportId": "tpr-21cf60002715491b8****"'."\n" - .' }'."\n" - .'}', - ], - 'Reachable' => [ - 'description' => 'Indicates whether the network path is reachable. Valid values:'."\n" - ."\n" - .'* **true**: The network path is reachable.'."\n" - .'* **false**: The network path is unreachable.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CreateTime' => [ - 'description' => 'The time when the network path was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.'."\n", - 'type' => 'string', - 'example' => '2023-03-16T07:11:27Z', - ], - 'AliUid' => [ - 'description' => 'The unique ID (UID) of the Alibaba Cloud account.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123147627844****', - ], - 'RequestId' => [ - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => 'DEE0FEAF-59AE-5CDD-AA07-626BC365D571', - ], - 'NetworkPathParameter' => [ - 'description' => 'The parameters of the network path.'."\n", - 'type' => 'string', - 'example' => '{'."\n" - .' "sourceId": "i-bp100g5pbp6kj4p9****",'."\n" - .' "sourceType": "ecs",'."\n" - .' "targetId": "i-t4n4ltwgbbomzb0g****",'."\n" - .' "targetType": "ecs"'."\n" - .'}', - ], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:ListNisInspectionResourceType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'SizeExceeds.Zones', - 'errorMessage' => 'The length of the specified available zones exceeds the limit.', - ], - [ - 'errorCode' => 'SizeExceeds.DiskCategories', - 'errorMessage' => 'The length of the specified disk categories exceeds the limit.', - ], - [ - 'errorCode' => 'OperationDenied.ZonesConflict', - 'errorMessage' => 'The specified available zones do not belong to the same region.', - ], - [ - 'errorCode' => 'IllegalParam.ZoneId', - 'errorMessage' => 'The specified available zone (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.StepMinutes', - 'errorMessage' => 'The specified sampling interval (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.BeginTime', - 'errorMessage' => 'The specified begin time (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.EndTime', - 'errorMessage' => 'The specified end time (%s) is invalid.', - ], - [ - 'errorCode' => 'Mismatch.BeginTimeAndEndTime', - 'errorMessage' => 'The specified begin time must be earlier than the end time.', - ], - [ - 'errorCode' => 'OperationDenied.NetworkReachableAnalysis', - 'errorMessage' => 'The operation is not allowed because of invalid parameters.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden.NetworkReachableAnalysisId', - 'errorMessage' => 'The user does not have permission on the instance parameter (%s).', - ], - ], - [ - [ - 'errorCode' => 'ResourceNotFound.NetworkReachableAnalysisId', - 'errorMessage' => 'The instance resource (%s) does not exist.', - ], - [ - 'errorCode' => 'ResourceNotFound.NetworkReachableAnalysis', - 'errorMessage' => 'The specified resource of %s is not found.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NetworkPathId\\": \\"np-2a1332214fa346b6****\\",\\n \\"NetworkReachableAnalysisId\\": \\"nra-8607514e71c1484****\\",\\n \\"NetworkReachableAnalysisStatus\\": \\"finish\\",\\n \\"NetworkReachableAnalysisResult\\": \\"{\\\\n \\\\\\"errorCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"networkAclData\\\\\\": {\\\\n \\\\\\"networkAclItems\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nraId\\\\\\": \\\\\\"nra-f2c8701a36424094****\\\\\\",\\\\n \\\\\\"requestId\\\\\\": \\\\\\"B931F8A0-620E-5230-B77F-3BD7F612****\\\\\\",\\\\n \\\\\\"routeData\\\\\\": {\\\\n \\\\\\"routeItems\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"securityGroupData\\\\\\": {\\\\n \\\\\\"policy\\\\\\": \\\\\\"accept\\\\\\",\\\\n \\\\\\"securityGroupItems\\\\\\": [\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"default_sg_access_rule\\\\\\",\\\\n \\\\\\"matchedRule\\\\\\": {\\\\n \\\\\\"bizProtocol\\\\\\": \\\\\\"ALL\\\\\\",\\\\n \\\\\\"creatingTime\\\\\\": \\\\\\"2022-11-10T03:24:49Z\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationGroupId\\\\\\": \\\\\\"sg-wz980j96p8y99co5****\\\\\\",\\\\n \\\\\\"direction\\\\\\": \\\\\\"egress\\\\\\",\\\\n \\\\\\"policy\\\\\\": \\\\\\"Accept\\\\\\",\\\\n \\\\\\"portRange\\\\\\": \\\\\\"-1/-1\\\\\\",\\\\n \\\\\\"priority\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"sourceCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"sourceGroupId\\\\\\": \\\\\\"\\\\\\"\\\\n },\\\\n \\\\\\"policy\\\\\\": \\\\\\"accept\\\\\\",\\\\n \\\\\\"resourceId\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"securityGroupId\\\\\\": \\\\\\"sg-wz980j96p8y99co5****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"description\\\\\\": \\\\\\"user_acl_drop_rule\\\\\\",\\\\n \\\\\\"matchedRule\\\\\\": {\\\\n \\\\\\"bizProtocol\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"creatingTime\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"destinationGroupId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"direction\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"policy\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"portRange\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"priority\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"sourceCidr\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"sourceGroupId\\\\\\": \\\\\\"\\\\\\"\\\\n },\\\\n \\\\\\"policy\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"resourceId\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"securityGroupId\\\\\\": \\\\\\"sg-wz980j96p8y99co****\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"securityGroupReportId\\\\\\": \\\\\\"sgr-4479d23bb37241aab****\\\\\\"\\\\n },\\\\n \\\\\\"status\\\\\\": \\\\\\"security_group_checking_target\\\\\\",\\\\n \\\\\\"topologyData\\\\\\": {\\\\n \\\\\\"positive\\\\\\": {\\\\n \\\\\\"linkList\\\\\\": [\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp93zyv-->eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazgi13d-->vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrneebcrp-->eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbdgmfi-->i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"nodeList\\\\\\": [\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 1,\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 3,\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"cidr\\\\\\": \\\\\\"192.168.0.0/24\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"level\\\\\\": 2,\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VSW\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.33\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:16:7c:50\\\\\\",\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.34\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:14:70:c2\\\\\\",\\\\n \\\\\\"matchedRoute\\\\\\": {\\\\n \\\\\\"nextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\",\\\\n \\\\\\"trafficLogs\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"reverse\\\\\\": {\\\\n \\\\\\"revLinkList\\\\\\": [\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp93zys-->eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbdgmfi-->vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrneebcrp-->eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazgi13d-->i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"target\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"revNodeList\\\\\\": [\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 1,\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"i-wz91dk7bor557hp9****\\\\\\",\\\\n \\\\\\"level\\\\\\": 3,\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VM\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n },\\\\n {\\\\n \\\\\\"aZone\\\\\\": \\\\\\"cn-shenzhen-d\\\\\\",\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"cidr\\\\\\": \\\\\\"192.168.0.0/24\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"vsw-wz9slpwdcppwfrnee****\\\\\\",\\\\n \\\\\\"level\\\\\\": 2,\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"VSW\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n }\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz97vry93t6z4lbd****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.34\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:14:70:c2\\\\\\",\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"bizInsId\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"eni-wz92ce4saz1jzazg****\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.0.33\\\\\\",\\\\n \\\\\\"mac\\\\\\": \\\\\\"00:XXXX:3e:16:7c:50\\\\\\",\\\\n \\\\\\"nodeType\\\\\\": \\\\\\"ENI\\\\\\",\\\\n \\\\\\"regionNo\\\\\\": \\\\\\"cn-shenzhen-st3-a01\\\\\\",\\\\n \\\\\\"regionNoAlias\\\\\\": \\\\\\"cn-shenzhen\\\\\\",\\\\n \\\\\\"revMatchedRoute\\\\\\": {\\\\n \\\\\\"revNextHopSet\\\\\\": [\\\\n \\\\n ]\\\\n },\\\\n \\\\\\"status\\\\\\": \\\\\\"InUse\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"topologyReportId\\\\\\": \\\\\\"tpr-21cf60002715491b8****\\\\\\"\\\\n }\\\\n}\\",\\n \\"Reachable\\": true,\\n \\"CreateTime\\": \\"2023-03-16T07:11:27Z\\",\\n \\"AliUid\\": 0,\\n \\"RequestId\\": \\"DEE0FEAF-59AE-5CDD-AA07-626BC365D571\\",\\n \\"NetworkPathParameter\\": \\"{\\\\n \\\\\\"sourceId\\\\\\": \\\\\\"i-bp100g5pbp6kj4p9****\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"ecs\\\\\\",\\\\n \\\\\\"targetId\\\\\\": \\\\\\"i-t4n4ltwgbbomzb0g****\\\\\\",\\\\n \\\\\\"targetType\\\\\\": \\\\\\"ecs\\\\\\"\\\\n}\\"\\n}","type":"json"}]', - 'title' => 'GetNetworkReachableAnalysis', - 'description' => '**GetNetworkReachableAnalysis** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can query the state of the task for analyzing network reachability.'."\n" - ."\n" - .'* The **init** state indicates that the task is in progress.'."\n" - .'* The **finish** state indicates that the task is complete. In this state, you can obtain the analysis result.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"ResourceTypeList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'GetNisNetworkMetrics' => [ - 'summary' => '获取云网络指标趋势', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListNisInspectionTaskReports' => [ + 'summary' => 'Queries a list of inspection task reports.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5023,624 +4442,93 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '222161', - 'abilityTreeNodes' => [ - 'FEATUREnetana5MCZ6K', - 'FEATUREnetanaOV20CD', - 'FEATUREnetanaB9LIVJ', - 'FEATUREnetanaCEA895', - ], + 'abilityTreeCode' => '226119', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], ], 'parameters' => [ [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shenzhen', - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'title' => '按流量转发所使用的阿里云网络资源类型进行分析,已支持网络资源类型:'."\n" - .'AccessInternetIPV4:所有阿里云公网类型IPV4'."\n" - .'AccessInternetIPV4Limited:所有受地域限速的阿里云公网类型IPV4'."\n" - .'ElasticIP: 弹性公网EIP(IPV4)'."\n" - .'PublicIPEcs: 绑定在ECS的固定公网IP(IPV4)'."\n" - .'PublicIPClb: 绑定在CLB的固定公网IP(IPV4)'."\n" - .'NAT:通过SNAT的访问公网流量'."\n" - .'TR:流经云企业网转发路由器的流量'."\n" - .'TRAttachment:流经云企业网连接实例的流量,包括地域内连接和跨地域连接,地域内连接具备出入方向,跨地域连接仅具备出方向'."\n" - .'VBR:流经边界路由器的流量'."\n" - .'GA:流经全球加速的流量'."\n" - .'ECR:流经ECR的流量'."\n" - .'VPC:流经VPC的流量'."\n" - .'InternetProbing: 公网探测数据'."\n" - .'IntranetProbing: 内网探测数据', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'AccessInternetIPV4', - 'enum' => [ - 'AccessInternetIpV4', - 'AccessInternetIpV4Limited', - 'ElasticIP', - 'PublicIpEcs', - 'PublicIpClb', - 'NAT', - 'TR', - 'TRAttachment', - 'VBR', - 'GA', - 'ECR', - 'VPC', - 'InternetProbing', - 'IntranetProbing', - 'NisInspectionHistoryReportScore', - ], - ], - ], - [ - 'name' => 'MetricName', - 'in' => 'query', - 'schema' => [ - 'title' => '指标名。'."\n" - .'流量分析场景支持的公共参数:'."\n" - .' bps:每秒比特数。'."\n" - .' pps:每秒包数。'."\n" - .'公网场景特有参数:'."\n" - .' rtt:tcp协议建立连接时的往返延迟。'."\n" - .' RetransmitRate:重传率。'."\n" - .'区域级带宽场景特有参数:'."\n" - .' RatelimitDropPps:限速丢包速率。'."\n" - .' BandwidthUtilization:带宽利用率。'."\n" - .'NAT场景特有参数:'."\n" - .' ActiveSessionCount:并发会话数。'."\n" - .' NewSessionPerSecond:每秒新建会话数。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'bps', - 'enum' => [ - 'rtt', - 'bps', - 'pps', - 'RetransmitRate', - 'ActiveSessionCount', - 'NewSessionPerSecond', - 'RatelimitDropPps', - 'passRate', - ], - ], - ], - [ - 'name' => 'Dimensions', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '具体业务的Metric查询参数。各场景参数说明详见xxx部分。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'instanceId', - ], - 'Value' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'eip-sample*', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], - [ - 'name' => 'BeginTime', - 'in' => 'query', - 'schema' => [ - 'title' => '起始时间戳,单位毫秒。未指定时默认查最近1小时。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '253402271999000', - 'minimum' => '0', - 'example' => '1638239092000', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间戳,单位毫秒。未指定时默认查最近1小时。只指定了BeginTime时查BeginTime之后的一小时。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '253402271999000', - 'minimum' => '0', - 'example' => '1684373700099', - ], - ], - [ - 'name' => 'ScanBy', + 'name' => 'InspectionTaskId', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式,'."\n" - .'TimestampAscending:按时间正向排序。'."\n" - .'TimestampDescending:按时间逆向排序。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'TimestampAscending', - 'default' => 'TimestampAscending', - 'enum' => [ - 'TimestampAscending', - 'TimestampDescending', - ], - ], + 'schema' => ['description' => 'The ID of the inspection task.', 'type' => 'string', 'required' => true, 'maxLength' => 23, 'minLength' => 1, 'title' => '', 'example' => 'ni-8svmpe0yso2bhzr7fh79'], ], [ - 'name' => 'UseCrossAccount', - 'in' => 'query', - 'schema' => [ - 'title' => '是否使用多账号访问模式', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - ], - [ - 'name' => 'AccountIds', + 'name' => 'NextToken', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '显式传递子账号ID', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"118639953821****\\"]', - ], - 'required' => false, - 'maxItems' => 10, - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. You do not need to specify this parameter for the first query.', 'type' => 'string', 'required' => false, 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', 'title' => ''], ], [ - 'name' => 'StepMinutes', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'default' => '20', 'required' => false, 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'RpcResponse<ArrayList<PublicFlowlogMetricModel>>', - 'description' => 'RpcResponse<ArrayList<PublicFlowlogMetricModel>>', + 'title' => 'RpcResponse<NextTokenResult<ListNisInspectionTaskReportsResponse>>', + 'description' => 'RpcResponse\\<NextTokenResult>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', - ], - 'Data' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Unit' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Bits/Second', - ], - 'Metrics' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TimeStamp' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1690684091100', - ], - 'Value' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '88', - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0D213AF9-7B8A-51A8-B411-2D797A1A447B', 'title' => ''], + 'InspectionReportList' => [ + 'description' => 'The list of inspection reports.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InspectionReportId' => ['description' => 'The ID of the inspection report.', 'type' => 'string', 'example' => 'nir-7c3dd178738a429abe6d', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '34', 'title' => ''], + 'NextToken' => ['description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. If this parameter is not returned, it indicates that no more results are available.', 'type' => 'string', 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries returned per page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.BeginTimeAndEndTime', - 'errorMessage' => 'It only supports querying data for up to 24 hours: %s.', - ], - [ - 'errorCode' => 'OperationFailed.DataTooMuch', - 'errorMessage' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', - ], - [ - 'errorCode' => 'IllegalParam.Dimensions', - 'errorMessage' => 'The specified Dimensions(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Dimensions.Direction', - 'errorMessage' => 'The specified Dimensions.Direction(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Dimensions.InstanceId', - 'errorMessage' => 'The specified Dimensions.InstanceId(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.MetricName', - 'errorMessage' => 'The specified MetricName(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.ResourceType', - 'errorMessage' => 'The specified resourceType (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.Dimensions.DestinationZone', - 'errorMessage' => 'The specified parameter Dimensions.DestinationZone (%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Dimensions.SourceZone', - 'errorMessage' => 'The specified parameter Dimensions.SourceZone(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.IP', - 'errorMessage' => 'The specified IP address (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.RegionNo', - 'errorMessage' => 'The specified parameter RegionNo(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Dimensions.InspectionTaskId', - 'errorMessage' => 'The specified argument Dimensions.InspectionTaskId(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Dimensions.DestinationRegionNo', - 'errorMessage' => 'The specified parameter Dimensions.DestinationRegionNo(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.StepMinutes', - 'errorMessage' => 'The specified StepMinutes parameter value is illegal, only %s minutes of data precision is supported.', - ], - [ - 'errorCode' => 'IllegalParam.MaxTimeScope', - 'errorMessage' => 'The query time range exceeds the limit. You can query up to %s days of data.', - ], - [ - 'errorCode' => 'IllegalParam.StepMinutesAndTime', - 'errorMessage' => 'In the current query time range, data precision of only %s minutes is supported to ensure performance.', - ], - [ - 'errorCode' => 'UnsupportedRegion', - 'errorMessage' => 'This feature is not supported in the current region.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InstanceId', - 'errorMessage' => 'The specified InstanceId(%s) does not exist.', - ], - [ - 'errorCode' => 'ResourceNotFound.IpSets', - 'errorMessage' => 'The specified instance does not exist or does not have any acceleration region.', - ], - [ - 'errorCode' => 'ResourceNotFound.InspectionTaskId', - 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"Data\\": {\\n \\"Unit\\": \\"Bits/Second\\",\\n \\"Metrics\\": [\\n {\\n \\"TimeStamp\\": 1690684091100,\\n \\"Value\\": 88\\n }\\n ]\\n }\\n}","type":"json"}]', - ], - 'StartNisInspectionTask' => [ - 'summary' => '请补充描述开启任务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '227070', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], - ], - 'parameters' => [ - [ - 'name' => 'InspectionTaskId', - 'in' => 'query', - 'schema' => [ - 'title' => '巡检任务id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ni-8svmpe0yso****r7fh79', - 'maxLength' => 128, - 'minLength' => 1, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<StartNisInspectionTaskResponse>', - 'description' => 'RpcResponse<StartNisInspectionTaskResponse>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - 'InspectionReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-9923e262c106461d86ad', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IncorrectStatus.InspectionTaskNotActive', - 'errorMessage' => 'The specified task InspectionTaskId(%s) is not active and cannot be executed.', - ], - [ - 'errorCode' => 'DuplicatedParam.InspectionReportId', - 'errorMessage' => 'Specified InspectionReportId(%s) duplicated in task.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InspectionTaskId', - 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', - ], - [ - 'errorCode' => 'ResourceNotFound.InspectionResource', - 'errorMessage' => 'The specified InspectionTaskId(%s) resource does not exist.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionReportId\\": \\"nir-9923e262c106461d****\\"\\n}","type":"json"}]', - ], - 'UpdateNisInspectionTask' => [ - 'summary' => '修改巡检项', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '226556', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], - ], - 'parameters' => [ - [ - 'name' => 'InspectionTaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ni-8svmpe0yso2bhzr7fh79', - 'maxLength' => 128, - 'minLength' => 1, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Active', - 'enum' => [ - 'Inactive', - 'Active', - ], - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<Boolean>', - 'description' => 'RpcResponse<Boolean>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'True', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IncorrectStatus.InspectionTaskIsRunning', - 'errorMessage' => 'The specified task InspectionTaskId(%s) is in progress and cannot be closed.', - ], - [ - 'errorCode' => 'IncorrectStatus.InspectionTaskNotInactive', - 'errorMessage' => 'The specified task InspectionTaskId(%s) is not closed and cannot be opened.', - ], - [ - 'errorCode' => 'IllegalParam.Status', - 'errorMessage' => 'The specified parameter Status(%s) is invalid, can only be Active or InActive.', - ], + ['errorCode' => 'IllegalParam.NextToken', 'errorMessage' => 'The specified nextToken(%s) is invalid.', 'description' => 'The NextToken(%s) parameter is set to an invalid value.'], + ['errorCode' => 'IllegalParam.InspectionTaskId', 'errorMessage' => 'The specified argument InspectionTaskId(%s) is illegal.', 'description' => 'The specified argument InspectionTaskId(%s) is illegal.'], ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InspectionTaskId', - 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', - ], + ['errorCode' => 'ResourceNotFound.InspectionTaskId', 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', 'description' => ''], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"Data\\": true\\n}","type":"json"}]', - ], - 'DeleteNisInspectionTask' => [ - 'summary' => '删除巡检任务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '226555', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], + 'title' => 'ListNisInspectionTaskReports', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'InspectionTaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ni-209d****wfirfwc2yl'."\n", - 'maxLength' => 128, - 'minLength' => 1, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<Boolean>', - 'description' => 'RpcResponse<Boolean>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'True', - ], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:ListNisInspectionTaskReports', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IncorrectStatus.InspectionTaskNotInactive', - 'errorMessage' => 'The specified task InspectionTaskId(%s) is not closed and cannot be deleted.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InspectionTaskId', - 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"Data\\": true\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0D213AF9-7B8A-51A8-B411-2D797A1A447B\\",\\n \\"InspectionReportList\\": [\\n {\\n \\"InspectionReportId\\": \\"nir-7c3dd178738a429abe6d\\"\\n }\\n ],\\n \\"TotalCount\\": 34,\\n \\"NextToken\\": \\"hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', ], 'ListNisInspectionTasks' => [ - 'summary' => '巡检任务列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Lists the network inspection tasks.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5653,389 +4541,210 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '226558', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'InspectionTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ni-8svm******hzr7fh79', - 'maxLength' => 128, - 'minLength' => 1, - ], + 'schema' => ['description' => 'The ID of the network inspection task.', 'type' => 'string', 'maxLength' => 128, 'minLength' => 1, 'required' => false, 'example' => 'ni-8svm******hzr7fh79', 'title' => ''], ], [ 'name' => 'InspectionName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - 'maxLength' => 128, - 'minLength' => 1, - ], + 'schema' => ['description' => 'The name of the network inspection task.', 'type' => 'string', 'example' => 'NIS inspection', 'maxLength' => 128, 'minLength' => 1, 'required' => false, 'title' => ''], ], [ 'name' => 'InspectionProject', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of inspection solution that the network inspection task uses. Valid values: basic and customized.', + 'enumValueTitles' => ['customized' => 'customized', 'basic' => 'basic'], 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'customized' => 'customized', - 'basic' => 'basic', - ], - 'example' => 'basic', 'maxLength' => 64, 'minLength' => 1, + 'required' => false, + 'example' => 'basic', + 'title' => '', ], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The running status of the task. Valid values:'."\n" + ."\n" + .'- Creating'."\n" + ."\n" + .'- Active'."\n" + ."\n" + .'- Running'."\n" + ."\n" + .'- Inactive', + 'enumValueTitles' => ['Creating' => 'Creating', 'Active' => 'Active', 'Running' => 'Running', 'Inactive' => 'Inactive'], 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Creating' => 'Creating', - 'Active' => 'Active', - 'Running' => 'Running', - 'Inactive' => 'Inactive', - ], - 'example' => 'Active', 'maxLength' => 50, 'minLength' => 1, + 'required' => false, + 'example' => 'Active', + 'title' => '', ], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'hKrS+MVXkuOgztXnvdml1/R9jhHkiH8eW3CfaOYU0CEL7yiT0zae6J8v1zYNg+d1', - ], + 'schema' => ['description' => 'The token that is used to retrieve the next page of results. Set this parameter to the NextToken value returned from a previous call.', 'type' => 'string', 'required' => false, 'example' => 'hKrS+MVXkuOgztXnvdml1/R9jhHkiH8eW3CfaOYU0CEL7yiT0zae6J8v1zYNg+d1', 'title' => ''], ], [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'default' => '20', 'required' => false, 'example' => '20', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse<ListNisInspectTasksResponse>', - 'description' => 'RpcResponse<ListNisInspectTasksResponse>', + 'description' => 'RpcResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], 'InspectionTaskList' => [ - 'description' => '', + 'description' => 'The list of network inspection tasks.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InspectionTaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ni-8svm******hzr7fh79', - ], - 'InspectionName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Active', - ], - 'InspectionProject' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'basic', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-06-18 00:14:46', - ], - 'LastUpdateReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-b4c4c9******8a25e', - ], + 'InspectionTaskId' => ['description' => 'The ID of the network inspection task.', 'type' => 'string', 'example' => 'ni-8svm******hzr7fh79', 'title' => ''], + 'InspectionName' => ['description' => 'The name of the network inspection task.', 'type' => 'string', 'example' => 'NIS inspection', 'title' => ''], + 'Status' => ['description' => 'The running status of the task. Valid values:'."\n" + ."\n" + .'Creating: The task is being created.'."\n" + ."\n" + .'- Active'."\n" + ."\n" + .'- Running'."\n" + ."\n" + .'- Inactive', 'type' => 'string', 'example' => 'Active', 'title' => ''], + 'InspectionProject' => ['description' => 'The type of inspection solution that the network inspection task uses. Valid values: basic and customized.', 'type' => 'string', 'example' => 'basic', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2024-06-18 00:14:46', 'title' => ''], + 'LastUpdateReportId' => ['description' => 'The ID of the latest report.', 'type' => 'string', 'example' => 'nir-b4c4c9******8a25e', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'NextToken' => ['description' => 'The token to retrieve the next page of results. If the value of this parameter is not empty, it indicates that there are more results to retrieve. If this parameter is empty, all results have been returned.', 'type' => 'string', 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', 'title' => ''], + 'MaxResults' => ['description' => 'The number of entries per page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.NextToken', - 'errorMessage' => 'The specified argument NextToken(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.Status', - 'errorMessage' => 'The specified Status(%s) parameter is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.InspectionProject', - 'errorMessage' => 'The specified argument InspectionProject(%s) is illegal.', + ['errorCode' => 'IllegalParam.NextToken', 'errorMessage' => 'The specified argument NextToken(%s) is illegal.', 'description' => 'The specified argument NextToken(%s) is illegal.'."\n"], + ['errorCode' => 'IllegalParam.Status', 'errorMessage' => 'The specified Status(%s) parameter is illegal.', 'description' => 'The specified Status(%s) parameter is illegal.'], + ['errorCode' => 'IllegalParam.InspectionProject', 'errorMessage' => 'The specified argument InspectionProject(%s) is illegal.', 'description' => 'The specified parameter InspectionProject is illegal.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionTaskList\\": [\\n {\\n \\"InspectionTaskId\\": \\"ni-8svm******hzr7fh79\\",\\n \\"InspectionName\\": \\"NIS inspection\\",\\n \\"Status\\": \\"Active\\",\\n \\"InspectionProject\\": \\"basic\\",\\n \\"CreateTime\\": \\"2024-06-18 00:14:46\\",\\n \\"LastUpdateReportId\\": \\"nir-b4c4c9******8a25e\\"\\n }\\n ],\\n \\"NextToken\\": \\"hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 5\\n}","type":"json"}]', + 'title' => 'ListNisInspectionTasks', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:ListNisInspectionTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionTaskList\\": [\\n {\\n \\"InspectionTaskId\\": \\"ni-8svm******hzr7fh79\\",\\n \\"InspectionName\\": \\"nis巡检\\",\\n \\"Status\\": \\"Active\\",\\n \\"InspectionProject\\": \\"basic\\",\\n \\"CreateTime\\": \\"2024-06-18 00:14:46\\",\\n \\"LastUpdateReportId\\": \\"nir-b4c4c9******8a25e\\"\\n }\\n ],\\n \\"NextToken\\": \\"hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 5\\n}","type":"json"}]', + 'translator' => 'manual', ], - 'DescribeNisInspectionTask' => [ - 'summary' => '查询巡检任务', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartNisInspectionTask' => [ + 'summary' => 'Starts an inspection task to generate an inspection report.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'abilityTreeCode' => '227206', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], + 'operationType' => 'create', + 'abilityTreeCode' => '227070', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], ], 'parameters' => [ [ 'name' => 'InspectionTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ni-8svmpe0yso2bhzr7fh79', - 'maxLength' => 128, - 'minLength' => 1, - ], + 'schema' => ['description' => 'The inspection task ID.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'title' => '', 'example' => 'ni-8svmpe0yso****r7fh79'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'RpcResponse<DescribeNisInspectionTaskResponse>', - 'description' => 'RpcResponse<DescribeNisInspectionTaskResponse>', + 'title' => 'RpcResponse<StartNisInspectionTaskResponse>', + 'description' => 'RpcResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - 'InspectionTaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ni-8svmpe0yso2bhzr7fh79', - ], - 'InspectionName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Default', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Active', - ], - 'InspectionProject' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'basic', - ], - 'InspectionTriggerTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-07-01 15:15:57', - ], - 'InspectionInterval' => [ - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'LastUpdateReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-7c3dd178738a429abe6d', - ], - 'CreateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-07-01 10:00:57'."\n", - ], - 'LastUpdateTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-07-01 10:00:59', - ], - 'CheckResourceList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EIP', - ], - 'CheckScope' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Whitelist' => '', - 'BlackList' => '', - 'CheckAll' => '', - ], - 'example' => 'CheckAll', - ], - ], - ], - 'enumValueTitles' => [], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'InspectionReportId' => ['description' => 'The inspection report ID.', 'type' => 'string', 'example' => 'nir-9923e262c106461d****', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IncorrectStatus.InspectionTaskNotActive', 'errorMessage' => 'The specified task InspectionTaskId(%s) is not active and cannot be executed.', 'description' => 'The specified task InspectionTaskId(%s) is not open and cannot be executed.'], + ['errorCode' => 'DuplicatedParam.InspectionReportId', 'errorMessage' => 'Specified InspectionReportId(%s) duplicated in task.', 'description' => 'The specified InspectionReportId(%s) is duplicated in the task.'], + ], 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InspectionTaskId', - 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', - ], + ['errorCode' => 'ResourceNotFound.InspectionTaskId', 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.InspectionResource', 'errorMessage' => 'The specified InspectionTaskId(%s) resource does not exist.', 'description' => 'The specified InspectionTaskId(%s) resource does not exist.'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionTaskId\\": \\"ni-8svmpe0yso2bhzr7fh79\\",\\n \\"InspectionName\\": \\"Default\\",\\n \\"Status\\": \\"Active\\",\\n \\"InspectionProject\\": \\"basic\\",\\n \\"InspectionTriggerTime\\": \\"2024-07-01 15:15:57\\",\\n \\"InspectionInterval\\": \\"1\\",\\n \\"LastUpdateReportId\\": \\"nir-7c3dd178738a429abe6d\\",\\n \\"CreateTime\\": \\"2024-07-01 10:00:57\\\\n\\",\\n \\"LastUpdateTime\\": \\"2024-07-01 10:00:59\\",\\n \\"CheckResourceList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\",\\n \\"CheckScope\\": \\"CheckAll\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'ListNisInspectionResourceType' => [ - 'summary' => '巡检资源类型列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'StartNisInspectionTask', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226557', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<ListNisInspectionResourceTypeResponse>', - 'description' => 'RpcResponse<ListNisInspectionResourceTypeResponse>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', - ], - 'ResourceTypeList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'EIP', - ], - ], - ], - ], + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:StartNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"ResourceTypeList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionReportId\\": \\"nir-9923e262c106461d****\\"\\n}","type":"json"}]', ], - 'DescribeNisInspectionReportStatus' => [ - 'summary' => '查询报告状态', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartNisTrafficRanking' => [ + 'summary' => 'Initiates a traffic ranking task on the NIS traffic analyzer for a specified scope.', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -6044,1015 +4753,1823 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '226204', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], + 'abilityTreeCode' => '222984', + 'abilityTreeNodes' => ['FEATUREnetana5MCZ6K', 'FEATUREnetanaOV20CD', 'FEATUREnetanaB9LIVJ', 'FEATUREnetanaCEA895'], ], 'parameters' => [ [ - 'name' => 'InspectionReportId', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'nir-2ca527b8de114ba4afb9', - 'maxLength' => 128, - 'minLength' => 1, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<DescribeNisInspectionReportStatusResponse>', - 'description' => 'RpcResponse<DescribeNisInspectionReportStatusResponse>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - 'InspectionReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-2ca527b8de114ba4afb9', - ], - 'InspectionTaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ni-8svmpe0yso****r7fh79', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Failed' => '', - 'Finish' => '', - 'On-going' => '', - ], - 'example' => 'Finish', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-07-18 15:12:28', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-07-18 15:13:07', - ], - 'InspectionProject' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'customized' => '', - 'basic' => '', - ], - 'example' => 'basic', - ], - 'InspectionTaskName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'Forbidden.InspectionReportId', - 'errorMessage' => 'This user does not have permission to this report parameter (%s).', - ], + 'schema' => ['description' => 'The region where the resource is located.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-shanghai'], ], [ - [ - 'errorCode' => 'ResourceNotFound.InspectionReportId', - 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"InspectionReportId\\": \\"nir-2ca527b8de114ba4afb9\\",\\n \\"InspectionTaskId\\": \\"ni-8svmpe0yso****r7fh79\\",\\n \\"Status\\": \\"Finish\\",\\n \\"StartTime\\": \\"2024-07-18 15:12:28\\",\\n \\"EndTime\\": \\"2024-07-18 15:13:07\\",\\n \\"InspectionProject\\": \\"basic\\",\\n \\"InspectionTaskName\\": \\"默认\\"\\n}","type":"json"}]', - ], - 'DescribeNisInspectionReportSummary' => [ - 'summary' => '报告总结信息', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226211', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', + 'name' => 'TrafficAnalyzerId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the traffic analyzer.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'nta-262****ca07f'], ], - ], - 'parameters' => [ [ - 'name' => 'InspectionReportId', + 'name' => 'TupleDimension', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => '', + 'description' => 'The dimension for aggregating traffic data.'."\n" + ."\n" + .'The requirement for this parameter depends on the `TrafficScenario` value:'."\n" + ."\n" + .'- For `VpcFlowLogAll` and `VpcFlowLog` scenarios, this parameter is required. The value must match the aggregation properties configured in the traffic analyzer.'."\n" + ."\n" + .'- For `TRFlowLog` and `CbwpMetric` scenarios, this parameter is optional. The system automatically adapts to the aggregation properties of the traffic analyzer.', + 'enumValueTitles' => ['Tuple5' => '5-tuple', 'Tuple1' => '1-tuple', 'Tuple2' => '2-tuple'], 'type' => 'string', - 'required' => true, - 'example' => 'nir-38abb318b27b49cc9a01', - 'maxLength' => 128, - 'minLength' => 1, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<DescribeNisInspectionReportSummaryResponse>', - 'description' => 'RpcResponse<DescribeNisInspectionReportSummaryResponse>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '4838F3F2-30E1-5D82-B25A-B9FE33BC3E25', - ], - 'InspectionReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-38abb318b27b49cc9a01', - ], - 'InspectionTaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ni-8svmpe0yso2bhzr7fh79', - ], - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Creating' => '', - 'Active' => '', - 'Running' => '', - 'Inactive' => '', - ], - 'example' => 'Active', - ], - 'StartTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-06-03 09:35:00', - ], - 'EndTime' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2024-06-03 09:36:00'."\n", - ], - 'Summary' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CheckItemCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - 'CheckResourceCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123', - ], - 'PassRateSummary' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'PassRateScope' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'Stability' => '', - 'Total' => '', - ], - 'example' => 'Stability', - ], - 'PassRate' => [ - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.98', - ], - ], - ], - ], - 'RiskSummary' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RiskType' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'StabilityRisk' => '', - 'TotalRisk' => '', - ], - 'example' => 'StabilityRisk', - ], - 'RiskLevel' => [ - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [ - 'LowRisk' => '', - 'HighRisk' => '', - 'MediumRisk' => '', - 'NoRisk' => '', - ], - 'example' => 'HighRisk', - ], - 'RiskCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ResourceCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'Forbidden.InspectionReportId', - 'errorMessage' => 'This user does not have permission to this report parameter (%s).', + 'required' => false, + 'enum' => ['Tuple1', 'Tuple2', 'Tuple5'], + 'title' => '', + 'example' => 'Tuple1', ], ], [ - [ - 'errorCode' => 'ResourceNotFound.InspectionReportId', - 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', + 'name' => 'TrafficScenario', + 'in' => 'query', + 'schema' => [ + 'description' => 'The analysis scenario. Valid values:'."\n" + ."\n" + .'- `VpcFlowLogAll`: All VPC flow log analysis.'."\n" + ."\n" + .'- `VpcFlowLogInternet`: Internet-facing VPC flow log analysis.'."\n" + ."\n" + .'- `TRFlowLog`: All TR flow log analysis.'."\n" + ."\n" + .'- `CbwpMetric`: Internet Shared Bandwidth metric analysis.', + 'type' => 'string', + 'required' => true, + 'enum' => ['VpcFlowLogAll', 'VpcFlowLogInternet', 'TRFlowLog', 'CbwpMetric'], + 'title' => '', + 'example' => 'VpcFlowLogAll', ], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4838F3F2-30E1-5D82-B25A-B9FE33BC3E25\\",\\n \\"InspectionReportId\\": \\"nir-38abb318b27b49cc9a01\\",\\n \\"InspectionTaskId\\": \\"ni-8svmpe0yso2bhzr7fh79\\",\\n \\"Status\\": \\"Active\\",\\n \\"StartTime\\": \\"2024-06-03 09:35:00\\",\\n \\"EndTime\\": \\"2024-06-03 09:36:00\\\\n\\",\\n \\"Summary\\": {\\n \\"CheckItemCount\\": 11,\\n \\"CheckResourceCount\\": 123,\\n \\"PassRateSummary\\": [\\n {\\n \\"PassRateScope\\": \\"Stability\\",\\n \\"PassRate\\": 0.98\\n }\\n ],\\n \\"RiskSummary\\": [\\n {\\n \\"RiskType\\": \\"StabilityRisk\\",\\n \\"RiskLevel\\": \\"HighRisk\\",\\n \\"RiskCount\\": 3,\\n \\"ResourceCount\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', - ], - 'DescribeNisInspectionReportCheckItems' => [ - 'summary' => '报告巡检项列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226206', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], - ], - 'parameters' => [ [ - 'name' => 'InspectionReportId', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The traffic direction.'."\n" + ."\n" + .'`In`: Traffic that flows into the target resource.'."\n" + .'`Out`: Traffic that flows out of the target resource.'."\n" + ."\n" + .'- VPC flow log scenarios (`TrafficScenario = VpcFlowLogAll` or `VpcFlowLogInternet`):'."\n" + ."\n" + .' - `In`: Traffic that flows into the ENI.'."\n" + ."\n" + .' - `Out`: Traffic that flows out of the ENI.'."\n" + ."\n" + .'- TR flow log scenario (`TrafficScenario = TRFlowLog`):'."\n" + ."\n" + .' - `In`: Traffic that flows into the TR.'."\n" + ."\n" + .' - `Out`: Traffic that flows out of the TR.'."\n" + ."\n" + .'- Internet Shared Bandwidth metric analysis scenario (`TrafficScenario = CbwpMetric`):'."\n" + ."\n" + .' - `In`: Traffic that flows into the EIP.'."\n" + ."\n" + .' - `Out`: Traffic that flows out of the EIP.', 'type' => 'string', 'required' => true, - 'example' => 'nir-ffd1af****196d0', - 'maxLength' => 128, - 'minLength' => 1, + 'enum' => ['In', 'Out'], + 'title' => '', + 'example' => 'Out', ], ], [ - 'name' => 'ResourceType', + 'name' => 'GroupBy', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => '', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'An aggregation dimension. The supported dimensions vary based on the values of `TupleDimension` and `TrafficScenario`.'."\n" + ."\n" + .'- In VPC flow log scenarios (`TrafficScenario = VpcFlowLogAll` or `VpcFlowLogInternet`):'."\n" + ."\n" + .' - If `TupleDimension` is `Tuple1`, the following dimensions are supported:'."\n" + ."\n" + .' - `VpcId`: VPC ID'."\n" + ."\n" + .' - `VSwitchId`: vSwitch ID'."\n" + ."\n" + .' - `CloudIp`: cloud IP'."\n" + ."\n" + .' - If `TupleDimension` is `Tuple2`, the following dimensions are supported:'."\n" + ."\n" + .' - `VpcId`: VPC ID'."\n" + ."\n" + .' - `VSwitchId`: vSwitch ID'."\n" + ."\n" + .' - `SourceIp`: source IP'."\n" + ."\n" + .' - `DestinationIp`: destination IP'."\n" + ."\n" + .' - `TrafficPath`: traffic path'."\n" + ."\n" + .' - If `TupleDimension` is `Tuple5`, the following dimensions are supported:'."\n" + ."\n" + .' - `VpcId`: VPC ID'."\n" + ."\n" + .' - `VSwitchId`: vSwitch ID'."\n" + ."\n" + .' - `SourceIp`: source IP'."\n" + ."\n" + .' - `DestinationIp`: destination IP'."\n" + ."\n" + .' - `TrafficPath`: traffic path'."\n" + ."\n" + .' - `SourcePort`: source port'."\n" + ."\n" + .' - `DestinationPort`: destination port'."\n" + ."\n" + .' - `Protocol`: network protocol'."\n" + ."\n" + .' - In Internet-facing VPC scenarios (`TrafficScenario = VpcFlowLogInternet`), the following additional dimensions are supported:'."\n" + ."\n" + .' - `Country`: client country'."\n" + ."\n" + .' - `Province`: client province'."\n" + ."\n" + .' - `City`: client city'."\n" + ."\n" + .' - `Isp`: internet service provider (ISP)'."\n" + ."\n" + .' - `Asn`: autonomous system number (ASN)'."\n" + ."\n" + .'- In TR flow log scenarios (`TrafficScenario = TRFlowLog`, the tuple is adaptive, and `TupleDimension` is optional), the following dimensions are supported:'."\n" + ."\n" + .' - `TransitRouterAttachmentId`: Network instance connection ID (Required)'."\n" + ."\n" + .' - `TransitRouterId`: Transit Router (TR) instance ID'."\n" + ."\n" + .' - `SourceIp`: source IP'."\n" + ."\n" + .' - `DestinationIp`: destination IP'."\n" + ."\n" + .' - `Dscp`: differentiated services code point (DSCP)'."\n" + ."\n" + .' - `Protocol`: network protocol'."\n" + ."\n" + .' - `SourcePort`: source port'."\n" + ."\n" + .' - `DestinationPort`: destination port'."\n" + ."\n" + .' - In non-cross-region TR scenarios, the following additional dimensions are supported:'."\n" + ."\n" + .' - `TransitRouterSourceResourceId`: source network instance ID'."\n" + ."\n" + .' - `TransitRouterDestinationResourceId`: destination network instance ID'."\n" + ."\n" + .' - In VPC connection traffic scenarios, the following additional dimensions are supported:'."\n" + ."\n" + .' - `TransitRouterSourceNetworkInterface`: source TR ENI'."\n" + ."\n" + .' - `TransitRouterDestinationNetworkInterface`: destination TR ENI'."\n" + ."\n" + .'- In Internet Shared Bandwidth metric analysis scenarios (`TrafficScenario = CbwpMetric`, `TupleDimension` is optional), the following dimensions are supported:'."\n" + ."\n" + .' - `PublicIpAddress`: The public IP address of the EIP'."\n" + ."\n" + .' - `BindingResourceType`: The type of instance to which the EIP is bound'."\n" + ."\n" + .' - `BindingResourceId`: The ID of the instance to which the EIP is bound'."\n" + ."\n" + .' - `CbwpId`: Internet Shared Bandwidth instance ID', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'NAT' => 'NAT', - 'VPN' => 'VPN', - 'NLB' => 'NLB', - 'VBR' => 'VBR', - 'ALB' => 'ALB', - 'CLB' => 'CLB', - 'EIP' => 'EIP', - 'TR' => 'TR', + 'enum' => [ + 'VpcId', 'VSwitchId', 'CloudIp', 'SourceIp', 'DestinationIp', 'Protocol', 'SourcePort', 'DestinationPort', 'TrafficPath', 'Country', 'Province', 'City', 'Isp', 'Asn', 'TransitRouterAttachmentId', 'Dscp', 'TransitRouterPairAttachmentId', 'TransitRouterSourceResourceId', 'TransitRouterDestinationResourceId', 'TransitRouterSourceNetworkInterface', + 'TransitRouterDestinationNetworkInterface', 'TransitRouterId', 'BindingResourceId', 'BindingResourceType', 'CbwpId', 'PublicIpAddress', ], - 'example' => 'NAT', - 'maxLength' => 32, - 'minLength' => 1, + 'example' => '["VpcId"]', + 'title' => '', ], 'required' => false, - 'maxItems' => 20, + 'description' => 'The dimensions by which to aggregate and rank the traffic.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'CategoryCode', + 'name' => 'OrderBy', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The metric used to rank the traffic. The supported metrics vary based on the `TrafficScenario` value:'."\n" + ."\n" + .'- In VPC flow log scenarios (`TrafficScenario = VpcFlowLogAll` or `VpcFlowLogInternet`):'."\n" + ."\n" + .' - `Bytes`: The amount of traffic.'."\n" + ."\n" + .' - `Packets`: The number of packets.'."\n" + ."\n" + .' - `RoundTripTime`: TCP round-trip time (RTT).'."\n" + ."\n" + .'- In TR flow log scenarios (`TrafficScenario = TRFlowLog`):'."\n" + ."\n" + .' - `Bytes`: The amount of traffic.'."\n" + ."\n" + .' - `Packets`: The number of packets.'."\n" + ."\n" + .' - `PacketsLostNoRoute`: The number of packets lost due to no matching route.'."\n" + ."\n" + .' - `PacketsLostBlackhole`: The number of packets lost to a blackhole route.'."\n" + ."\n" + .' - `PacketsLostTTLExpired`: The number of packets lost because the TTL expired.'."\n" + ."\n" + .' - `BytesIncrease`: The increase in traffic.'."\n" + ."\n" + .' - `BytesIncreaseRatio`: The growth rate of traffic.'."\n" + ."\n" + .'- In Internet Shared Bandwidth metric analysis scenarios (`TrafficScenario = CbwpMetric`):'."\n" + ."\n" + .' - `Bytes`: The amount of traffic.'."\n" + ."\n" + .' - `Packets`: The number of packets.', 'type' => 'string', - 'required' => false, - 'example' => 'stability', - 'enum' => [ - 'cost_optimizing', - 'performance', - 'security', - 'stability', - 'operational_excellence', - ], + 'required' => true, + 'example' => 'Bytes', + 'enum' => ['Bytes', 'Packets', 'RoundTripTime', 'PacketsLostNoRoute', 'PacketsLostBlackhole', 'PacketsLostTTLExpired', 'BytesIncrease', 'BytesIncreaseRatio'], + 'title' => '', ], ], [ - 'name' => 'RiskLevel', + 'name' => 'Filter', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => '', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'HighRisk', - 'enum' => [ - 'HighRisk', - 'MediumRisk', - 'LowRisk', - 'NoRisk', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => 'The filter key. The supported keys vary based on the `TupleDimension` and `TrafficScenario` values.'."\n" + ."\n" + .'- In VPC flow log scenarios (`TrafficScenario = VpcFlowLogAll` or `VpcFlowLogInternet`):'."\n" + ."\n" + .' - If `TupleDimension` is `Tuple1`, the following keys are supported:'."\n" + ."\n" + .' - `FlowAction`: The action taken on traffic that matches a rule or policy. (Required, supports a single value)'."\n" + ."\n" + .' - `VpcId`: VPC ID. (Multiple values are supported)'."\n" + ."\n" + .' - `VSwitchId`: vSwitch ID. (Multiple values are supported)'."\n" + ."\n" + .' - `NetworkInterfaceId`: elastic network interface (ENI) ID. (Multiple values are supported)'."\n" + ."\n" + .' - `EcsId`: ECS instance ID. (Multiple values are supported)'."\n" + ."\n" + .' - `CloudIp`: cloud IP. (Multiple values are supported)'."\n" + ."\n" + .' - If `TupleDimension` is `Tuple2`, the following keys are supported:'."\n" + ."\n" + .' - `FlowAction`: The action taken on traffic that matches a rule or policy. (Required, supports a single value)'."\n" + ."\n" + .' - `VpcId`: VPC ID. (Multiple values are supported)'."\n" + ."\n" + .' - `VSwitchId`: vSwitch ID. (Multiple values are supported)'."\n" + ."\n" + .' - `NetworkInterfaceId`: ENI ID. (Multiple values are supported)'."\n" + ."\n" + .' - `EcsId`: ECS instance ID. (Multiple values are supported)'."\n" + ."\n" + .' - `SourceIp`: source IP (Multiple values are supported)'."\n" + ."\n" + .' - `DestinationIp`: destination IP (Multiple values are supported)'."\n" + ."\n" + .' - `TrafficPath`: Traffic path. (Multiple values are supported)'."\n" + ."\n" + .' - If `TupleDimension` is `Tuple5`, the following keys are supported:'."\n" + ."\n" + .' - `FlowAction`: The action taken on traffic that matches a rule or policy. (Required, supports a single value)'."\n" + ."\n" + .' - `VpcId`: VPC ID. (Multiple values are supported)'."\n" + ."\n" + .' - `VSwitchId`: vSwitch ID. (Multiple values are supported)'."\n" + ."\n" + .' - `NetworkInterfaceId`: ENI ID. (Multiple values are supported)'."\n" + ."\n" + .' - `EcsId`: ECS instance ID. (Multiple values are supported)'."\n" + ."\n" + .' - `SourceIp`: source IP'."\n" + ."\n" + .' - `DestinationIp`: destination IP'."\n" + ."\n" + .' - `TrafficPath`: Traffic path. (Multiple values are supported)'."\n" + ."\n" + .' - `SourcePort`: Source port. (Multiple values are supported)'."\n" + ."\n" + .' - `DestinationPort`: Destination port. (Multiple values are supported)'."\n" + ."\n" + .' - `Protocol`: Network protocol. (Multiple values are supported)'."\n" + ."\n" + .' - In Internet-facing VPC scenarios (`TrafficScenario = VpcFlowLogInternet`), the following additional keys are supported:'."\n" + ."\n" + .' - `ClientCountry`: Filters the analysis by client country. (Multiple values are supported)'."\n" + ."\n" + .' - `ClientCity`: Filters the analysis by client city. (Multiple values are supported)'."\n" + ."\n" + .' - `ClientAsn`: Filters the analysis by ASN. (Multiple values are supported)'."\n" + ."\n" + .' - `ClientIsp`: Filters the analysis by client ISP. (Multiple values are supported)'."\n" + ."\n" + .' - In all VPC scenarios, you can filter by traffic metrics:'."\n" + ."\n" + .' - `MinBytes`: The minimum traffic to include in the ranking, in bytes. (Supports a single value)'."\n" + ."\n" + .' - `MaxBytes`: The maximum traffic to include in the ranking, in bytes. (Supports a single value)'."\n" + ."\n" + .' - `MinRoundTripTime`: The minimum RTT to include in the ranking, in milliseconds (ms). (Supports a single value)'."\n" + ."\n" + .' - `MaxRoundTripTime`: The maximum RTT to include in the ranking, in ms. (Supports a single value)'."\n" + ."\n" + .' - `MinPackets`: The minimum number of packets to include in the ranking. (Supports a single value)'."\n" + ."\n" + .' - `MaxPackets`: The maximum number of packets to include in the ranking. (Supports a single value)'."\n" + ."\n" + .'***'."\n" + ."\n" + .'- In TR flow log scenarios (`TrafficScenario = TRFlowLog`):'."\n" + ."\n" + .' - For 2-tuple queries or queries that adapt to 2-tuple, the following keys are supported:'."\n" + ."\n" + .' - `TransitRouterAttachmentId`: Network instance connection ID. (Required, supports a single value)'."\n" + ."\n" + .' - `TransitRouterPairAttachmentId`: Peer TR connection ID. (Multiple values are supported)'."\n" + ."\n" + .' - `TransitRouterId`: TR instance ID. (Multiple values are supported)'."\n" + ."\n" + .' - `SourceIp`: source IP. (Supports a single value if `Operator` is `like`. Otherwise, multiple values are supported.)'."\n" + ."\n" + .' - `DestinationIp`: destination IP. (Supports a single value if `Operator` is `like`. Otherwise, multiple values are supported.)'."\n" + ."\n" + .' - `Dscp`: DSCP. (Multiple values are supported)'."\n" + ."\n" + .' - For 5-tuple queries or queries that adapt to 5-tuple, the preceding keys and the following keys are supported:'."\n" + ."\n" + .' - `Protocol`: Network protocol. (Multiple values are supported)'."\n" + ."\n" + .' - `SourcePort`: Source port. (Multiple values are supported)'."\n" + ."\n" + .' - `DestinationPort`: Destination port. (Multiple values are supported)'."\n" + ."\n" + .' - In non-cross-region TR scenarios, the following additional keys are supported:'."\n" + ."\n" + .' - `TransitRouterSourceResourceId`: Source network instance ID. (Multiple values are supported)'."\n" + ."\n" + .' - `TransitRouterDestinationResourceId`: Destination network instance ID. (Multiple values are supported)'."\n" + ."\n" + .' - In VPC connection traffic scenarios, the following additional keys are supported:'."\n" + ."\n" + .' - `TransitRouterSourceNetworkInterface`: Source TR ENI. (Multiple values are supported)'."\n" + ."\n" + .' - `TransitRouterDestinationNetworkInterface`: Destination TR ENI. (Multiple values are supported)'."\n" + ."\n" + .' - In all TR scenarios, you can filter by traffic metrics:'."\n" + ."\n" + .' - `MinBytes`: The minimum traffic to include in the ranking, in bytes. (Supports a single value)'."\n" + ."\n" + .' - `MaxBytes`: The maximum traffic to include in the ranking, in bytes. (Supports a single value)'."\n" + ."\n" + .' - `MinPackets`: The minimum number of packets to include in the ranking. (Supports a single value)'."\n" + ."\n" + .' - `MaxPackets`: The maximum number of packets to include in the ranking. (Supports a single value)'."\n" + ."\n" + .' - `MinPacketsLostNoRoute`: The minimum number of packets lost due to no matching route. (Supports a single value)'."\n" + ."\n" + .' - `MinPacketsLostBlackhole`: The minimum number of packets lost to a blackhole route. (Supports a single value)'."\n" + ."\n" + .' - `MinPacketsLostTTLExpired`: The minimum number of packets lost because the TTL expired. (Supports a single value)'."\n" + ."\n" + .' - `MaxPacketsLostNoRoute`: The maximum number of packets lost due to no matching route. (Supports a single value)'."\n" + ."\n" + .' - `MaxPacketsLostBlackhole`: The maximum number of packets lost to a blackhole route. (Supports a single value)'."\n" + ."\n" + .' - `MaxPacketsLostTTLExpired`: The maximum number of packets lost because the TTL expired. (Supports a single value)'."\n" + ."\n" + .'***'."\n" + ."\n" + .'- In Internet Shared Bandwidth metric analysis scenarios (`TrafficScenario = CbwpMetric`):'."\n" + ."\n" + .' - The following filter keys are supported:'."\n" + ."\n" + .' - `PublicIpAddress`: The public IP address of the EIP. (Supports a single value if `Operator` is `like`. Otherwise, multiple values are supported.)'."\n" + ."\n" + .' - `BindingResourceType`: The type of instance to which the EIP is bound. (Multiple values are supported)'."\n" + ."\n" + .' - `BindingResourceId`: The ID of the instance to which the EIP is bound. (Multiple values are supported)'."\n" + ."\n" + .' - `CbwpId`: Internet Shared Bandwidth instance ID. (Required, supports a single value)'."\n" + ."\n" + .' - `InstanceId`: The ID of an EIP associated with the Internet Shared Bandwidth instance. (Multiple values are supported)'."\n" + ."\n" + .' - In all Internet Shared Bandwidth scenarios, you can filter by traffic metrics:'."\n" + ."\n" + .' - `MinBytes`: The minimum traffic to include in the ranking, in bytes. (Supports a single value)'."\n" + ."\n" + .' - `MaxBytes`: The maximum traffic to include in the ranking, in bytes. (Supports a single value)'."\n" + ."\n" + .' - `MinPackets`: The minimum number of packets to include in the ranking. (Supports a single value)'."\n" + ."\n" + .' - `MaxPackets`: The maximum number of packets to include in the ranking. (Supports a single value)', + 'type' => 'string', + 'enum' => [ + 'FlowAction', 'VpcId', 'VSwitchId', 'NetworkInterfaceId', 'CloudIp', 'DestinationIp', 'SourceIp', 'EcsId', 'TrafficPath', 'ClientCountry', 'ClientCity', 'ClientAsn', 'ClientIsp', 'SourcePort', 'DestinationPort', 'Protocol', 'MinBytes', 'MaxBytes', 'MinRoundTripTime', 'MaxRoundTripTime', + 'MinPackages', 'MaxPackages', 'TransitRouterAttachmentId', 'Dscp', 'TransitRouterPairAttachmentId', 'MinPacketsLostBlackhole', 'MaxPacketsLostBlackhole', 'MinPacketsLostNoRoute', 'MaxPacketsLostNoRoute', 'MinPacketsLostTTLExpired', 'MaxPacketsLostTTLExpired', 'TransitRouterSourceResourceId', 'TransitRouterSourceNetworkInterface', 'TransitRouterDestinationResourceId', 'TransitRouterDestinationNetworkInterface', 'TransitRouterId', 'PublicIpAddress', 'InstanceId', 'BindingResourceType', 'BindingResourceId', + 'CbwpId', 'AttachmentType', + ], + 'required' => false, + 'example' => 'FlowAction', + 'title' => '', + ], + 'Value' => [ + 'type' => 'array', + 'items' => ['description' => 'The filter value that corresponds to the specified key.'."\n" + ."\n" + .'The supported values vary based on the `TupleDimension` and `TrafficScenario` values.'."\n" + ."\n" + .'- In VPC flow log scenarios (`TrafficScenario = VpcFlowLogAll` or `VpcFlowLogInternet`):'."\n" + ."\n" + .' - If `Key` is `FlowAction`, valid values are:'."\n" + ."\n" + .' - `Accept`: Traffic that is allowed by security groups and network ACLs. This is the default value.'."\n" + ."\n" + .' - `Reject`: Traffic that is denied by security groups and network ACLs.'."\n" + ."\n" + .'- In TR flow log scenarios (`TrafficScenario = TRFlowLog`):'."\n" + ."\n" + .' - If `Key` is `TransitRouterAttachmentId`, both the key and value are required. You must specify the ID of a VPC, VPN, VBR, ECR, cross-region connection, or network instance connection.'."\n" + ."\n" + .'- In Internet Shared Bandwidth metric analysis scenarios (`TrafficScenario = CbwpMetric`):'."\n" + ."\n" + .' - If `Key` is `CbwpId`, both the key and value are required. You must specify the ID of the Internet Shared Bandwidth instance.', 'type' => 'string', 'required' => false, 'example' => 'Accept', 'title' => ''], + 'description' => 'The value of the filter condition.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'Operator' => [ + 'description' => 'The operator for string matching, which is supported for specific keys. Default value: `in`. Valid values:'."\n" + ."\n" + .'- `in`: Equals'."\n" + ."\n" + .'- `not in`: Does not equal'."\n" + ."\n" + .'- `like`: Contains'."\n" + ."\n" + .'Support for the `like` operator varies based on the `TupleDimension` and `TrafficScenario` values.'."\n" + ."\n" + .'- In VPC flow log scenarios (`TrafficScenario = VpcFlowLogAll` or `VpcFlowLogInternet`):'."\n" + ."\n" + .' - The `like` operator is supported for the following keys:'."\n" + ."\n" + .' - `CloudIp`'."\n" + ."\n" + .' - `SourceIp`'."\n" + ."\n" + .' - `DestinationIp`'."\n" + ."\n" + .'- In TR flow log scenarios (`TrafficScenario = TRFlowLog`):'."\n" + ."\n" + .' - The `like` operator is supported for the following keys:'."\n" + ."\n" + .' - `SourceIp`'."\n" + ."\n" + .' - `DestinationIp`'."\n" + ."\n" + .'- In Internet Shared Bandwidth metric analysis scenarios (`TrafficScenario = CbwpMetric`):'."\n" + ."\n" + .' - The `like` operator is supported for the following key:'."\n" + ."\n" + .' - `PublicIpAddress`'."\n" + ."\n" + .'All other keys support only the `in` and `not in` operators.', + 'enumValueTitles' => ['not in' => 'not in', 'in' => 'in', 'like' => 'like'], + 'type' => 'string', + 'required' => false, + 'example' => 'in', + 'title' => '', + ], ], + 'description' => 'A filter condition, which consists of a `Key`, a `Value`, and an `Operator`.', + 'required' => false, + 'title' => '', + 'example' => '', ], 'required' => false, - 'maxItems' => 20, + 'title' => '', + 'description' => 'The filter conditions for the traffic analysis.', + 'example' => '', ], ], [ - 'name' => 'NextToken', + 'name' => 'BeginTime', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the query. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1638239092000'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query. This value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1684373700099'], + ], + [ + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'Specify the sort order for traffic analysis'."\n" + ."\n" + .'- ASC: Sorts in ascending order.'."\n" + ."\n" + .'- DESC: Sort in descending order.', 'type' => 'string', + 'default' => 'Desc', + 'enum' => ['Desc', 'Asc'], + 'title' => '', 'required' => false, - 'example' => 'hKrS+MVXkuOgztXnvdml16/uO3mvCyHxSjzdhx9VRUC+8umDTIV2Wg9TTOUrR7ve', + 'example' => 'Desc', ], ], [ - 'name' => 'MaxResults', + 'name' => 'TopN', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => 'Specifies the number of entries for the traffic ranking query.'."\n" + ."\n" + .'If you do not specify a value, the system analyzes and ranks all traffic data that meets the specified conditions, subject to performance limits.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'], ], [ 'name' => 'Language', 'in' => 'query', 'schema' => [ - 'title' => '语言,枚举:zh-CN,en-US', - 'description' => '', + 'description' => 'The language of the response. Valid values: `zh-CN` and `en-US`.', 'type' => 'string', + 'enum' => ['zh-CN', 'en-US'], 'required' => false, 'example' => 'zh-CN', - 'enum' => [ - 'zh-CN', - 'en-US', - ], + 'title' => '', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => 'The token used for pagination. To retrieve the next page of results, set this parameter to the value of `NextToken` from the previous response. For your first request, do not specify this parameter.', 'type' => 'string', 'required' => false, 'example' => '2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+', 'title' => ''], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Valid values: 1 to 100. Default value: 20.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '100', 'minimum' => '1', 'default' => '20', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'StorageInterval', + 'in' => 'query', + 'schema' => [ + 'description' => 'The aggregation period for the query, in minutes. The value must correspond to an aggregation period configured in the traffic analyzer. This allows you to query data from high-precision intervals (such as 1, 10, or 60 minutes) or long-term intervals (such as 1440 minutes for one day), depending on your analyzer\'s configuration.'."\n" + ."\n" + .'Bucket precision is used to query data for a specified aggregation period. It supports two types of precision: high precision (for example, 1 minute) or long period (for example, 1 day). The specific precision is determined by the traffic analysis sampling interval of high-precision traffic statistics or long-period traffic statistics when you create or edit a Traffic Analyzer.'."\n" + ."\n" + .'- Traffic Analyzer supports the following aggregation periods for tuples:'."\n" + ."\n" + .' - `1`: 1 minute'."\n" + ."\n" + .' - `10`: 10 minutes'."\n" + ."\n" + .' - `60`: 60 minutes (1 hour)'."\n" + ."\n" + .' - `1440`: 1440 minutes (1 day)'."\n" + ."\n" + .'- Aggregation periods have two typical uses:'."\n" + ."\n" + .' - High-precision traffic statistics: such as aggregation at 1-minute, 10-minute, and 60-minute intervals.'."\n" + ."\n" + .' - Long-period traffic statistics: such as aggregation at 1440-minute (1-day) intervals.'."\n" + ."\n" + .'- Pass a value for this field in your query to specify the aggregation period. For example:'."\n" + ."\n" + .' - Pass `10` to query short-period data with an aggregation granularity of 10 minutes.'."\n" + ."\n" + .' - Pass `1440` to query long-period data with an aggregation granularity of 1 day.', + 'enumValueTitles' => [1 => '1', 10 => '10', 60 => '60', 1440 => '1440'], + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'RpcResponse<NextTokenResult<DescribeNisInspectionReportCheckItemsResponse>>', - 'description' => 'RpcResponse<NextTokenResult<DescribeNisInspectionReportCheckItemsResponse>>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', - ], - 'CheckItemList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'NAT', - ], - 'CategoryCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'stability', - ], - 'CheckItemCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'item_nat_water_level_check', - ], - 'Description' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'CheckResultList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Count' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], - 'RecommendationList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'RecommendationCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nat_snat_cross_az_warn', - ], - 'Abnormality' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Reason' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Suggestion' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'Metadata' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'ReasonCode' => [ - 'type' => 'string', - ], - 'SuggestionCode' => [ - 'type' => 'string', - ], - ], - ], - ], - 'CheckItemName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'DescriptionCode' => [ - 'title' => '巡检项描述Code', - 'type' => 'string', - 'example' => 'item_ep_high_availability_check_description', - ], - ], - ], - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'InspectionReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-ffd1af****196d0', - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941', 'title' => ''], + 'NisTrafficRankingId' => ['description' => 'The ID of the traffic ranking task. Call DescribeNisTrafficRanking with this ID to get the analysis results.', 'type' => 'string', 'example' => 'task-6462a7b4c4a54b****', 'title' => ''], ], + 'title' => '', + 'description' => 'RpcResponse\\<ArrayList>', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IncorrectStatus.InspectionReportNotFinish', - 'errorMessage' => 'The specified task report InspectionReportId(%s) has not been completed.', - ], - [ - 'errorCode' => 'IllegalParam.ResourceType', - 'errorMessage' => 'The specified resourceType (%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.RiskLevel', - 'errorMessage' => 'The specified argument RiskLevel(%s) is illegal.', - ], - [ - 'errorCode' => 'IllegalParam.NextToken', - 'errorMessage' => 'The specified nextToken(%s) is invalid.', - ], - [ - 'errorCode' => 'IllegalParam.UnsupportedResourceType', - 'errorMessage' => 'The specified parameter ResourceType(%s) is invalid, with a resource type that is not currently supported.', - ], + ['errorCode' => 'Forbidden.NoPermission', 'errorMessage' => 'The authentication result is successful but the verification fails.', 'description' => 'The authentication result is successful but the verification fails.'], + ['errorCode' => 'IllegalParam.RegionNo', 'errorMessage' => 'The specified parameter RegionNo(%s) is illegal.', 'description' => 'The specified argument RegionNo(%s) is illegal.'], + ['errorCode' => 'DuplicatedParam.GroupBy', 'errorMessage' => 'Duplicate data exists for the specified GroupBy(%s) parameter.', 'description' => 'Duplicate data exists for the specified GroupBy(%s) parameter.'], + ['errorCode' => 'IllegalParam.GroupBy', 'errorMessage' => 'The specified param of GroupBy (%s) is invalid.', 'description' => 'The specified group field (%s) is invalid.'], + ['errorCode' => 'DuplicatedParam.Filter', 'errorMessage' => 'The specified Filter(%s) parameter has a duplicate Key.', 'description' => 'The specified Filter(%s) parameter has a duplicate Key.'."\n"], + ['errorCode' => 'IllegalParam.UserOwesFees', 'errorMessage' => 'User (%s) is overdue.', 'description' => 'User (%s) is overdue.'], + ['errorCode' => 'IllegalParam.UserNotActivated', 'errorMessage' => 'User (%s) did not provision service.', 'description' => 'User (%s) did not provision service.'], + ['errorCode' => 'IncorrectStatus.TrafficAnalyzerId', 'errorMessage' => 'TrafficAnalyzerId (%s) is not in a valid status.', 'description' => 'TrafficAnalyzerId(%s) is not valid.'], + ['errorCode' => 'IllegalParam.CloudIp', 'errorMessage' => 'The specified CloudIp(%s) is invalid.', 'description' => 'The CloudIp (%s) parameter is invalid.'], + ['errorCode' => 'IllegalParam.SourceIp', 'errorMessage' => 'Please enter a valid source IP.', 'description' => 'Please enter a valid source IP'], + ['errorCode' => 'IllegalParam.SourcePort', 'errorMessage' => 'The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536].', 'description' => 'The value of SourcePort is invalid. Valid values: 0 to 65536.'], + ['errorCode' => 'IllegalParam.DestinationPort', 'errorMessage' => 'The specified DestinationPort(%s) is invalid.', 'description' => 'The DestinationPort(%s) parameter is invalid.'], + ['errorCode' => 'IllegalParam.Protocol', 'errorMessage' => 'The specified Protocol(%s) is invalid.', 'description' => 'The Protocol(%s) parameter is invalid.'], + ['errorCode' => 'IllegalParamFormat.MinBytes', 'errorMessage' => 'The format of the specified parameter MinBytes(%s) is not legal.', 'description' => 'The format of the specified parameter MinBytes(%s) is not legal.'], + ['errorCode' => 'IllegalParamFormat.MaxBytes', 'errorMessage' => 'The format of the specified parameter MaxBytes(%s) is not legal.', 'description' => 'The format of the specified parameter MaxBytes(%s) is not legal.'], + ['errorCode' => 'IllegalParamFormat.MinRoundTripTime', 'errorMessage' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.', 'description' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.'."\n"], + ['errorCode' => 'IllegalParamFormat.MaxRoundTripTime', 'errorMessage' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.', 'description' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.'], + ['errorCode' => 'IllegalParamFormat.MinPackages', 'errorMessage' => 'The format of the specified parameter MinPackages(%s) is not legal.', 'description' => 'The format of the specified parameter MinPackages(%s) is not legal.'."\n"], + ['errorCode' => 'IllegalParamFormat.MaxPackages', 'errorMessage' => 'The format of the specified parameter MaxPackages(%s) is not legal.', 'description' => 'The format of the specified parameter MaxPackages(%s) is not legal.'], + ['errorCode' => 'IllegalParam.TupleDimension', 'errorMessage' => 'The specified TupleDimension(%s) argument is illegal.', 'description' => 'The specified TupleDimension(%s) argument is illegal.'], + ['errorCode' => 'IllegalParam.OrderBy', 'errorMessage' => 'The specified param of orderBy (%s) is invalid.', 'description' => 'The specified sort field (%s) is invalid.'], + ['errorCode' => 'IllegalParam.BeginTimeAndEndTime', 'errorMessage' => 'The param of BeginTimeAndEndTime is illegal.', 'description' => 'Wrong start end time. It may be because the start time is greater than the end time, or the range exceeds the maximum limit'], + ['errorCode' => 'IllegalParam.DestinationIp', 'errorMessage' => 'The specified ip(%s) is illegal.', 'description' => 'The specified ip(%s) is illegal.'], + ['errorCode' => 'IllegalParamFormat.MaxPacketsLostTTLExpired', 'errorMessage' => 'The format of the specified parameter MaxPacketsLostTTLExpired(%s) is not legal.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat.MinPacketsLostTTLExpired', 'errorMessage' => 'The format of the specified parameter MinPacketsLostTTLExpired(%s) is not legal.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat.MaxPacketsLostNoRoute', 'errorMessage' => 'The format of the specified parameter MaxPacketsLostNoRoute(%s) is not legal.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat.MinPacketsLostNoRoute', 'errorMessage' => 'The format of the specified parameter MinPacketsLostNoRoute(%s) is not legal.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat.MaxPacketsLostBlackhole', 'errorMessage' => 'The format of the specified parameter MaxPacketsLostBlackhole(%s) is not legal.', 'description' => ''], + ['errorCode' => 'IllegalParamFormat.MinPacketsLostBlackhole', 'errorMessage' => 'The format of the specified parameter MinPacketsLostBlackhole(%s) is not legal.', 'description' => ''], + ['errorCode' => 'IllegalParam.Filter', 'errorMessage' => 'The specified Filter parameter (%s) is illegal.', 'description' => ''], + ['errorCode' => 'MissingParam.TransitRouterAttachmentId', 'errorMessage' => 'TransitRouterAttachmentId required in the specified Filter and GroupBy parameters.', 'description' => ''], + ['errorCode' => 'QuotaExceeded.CheckRowReadLimit', 'errorMessage' => 'The query time range exceeds the read data rows quota %s. Shorten the query interval.', 'description' => ''], + ['errorCode' => 'MissingParam.TransitRouterId', 'errorMessage' => 'When querying cross-region network connections, you need to specify the forwarding router ID.', 'description' => ''], + ['errorCode' => 'MissingParam.CbwpId', 'errorMessage' => 'The CbwpId filtered during the query cannot be empty.', 'description' => 'The CbwpId filtered during the query cannot be empty.'], + ['errorCode' => 'ResourceNotFound.TrafficAnalyzerIdOneTupleDimension', 'errorMessage' => 'The specified traffic analyzer does not have a corresponding one-element group storage configuration.', 'description' => 'The specified traffic analyzer does not have a corresponding tuple storage configuration.'], + ['errorCode' => 'IllegalParam.AttachmentType', 'errorMessage' => 'Unsupported AttachmentType(%s) type.', 'description' => 'Unsupported AttachmentType(%s) type.'], ], - 403 => [ - [ - 'errorCode' => 'Forbidden.InspectionReportId', - 'errorMessage' => 'This user does not have permission to this report parameter (%s).', - ], + 404 => [ + ['errorCode' => 'ResourceNotFound.TrafficAnalyzerId', 'errorMessage' => 'The specified resource TrafficAnalyzerId(%s) does not exist.', 'description' => 'The specified resource TrafficAnalyzerId(%s) does not exist.'], + ['errorCode' => 'ResourceNotFound.NtaNotStorageBucket', 'errorMessage' => 'The data source bound to the traffic analyzer does not have a corresponding storage configuration.', 'description' => 'The data source bound to the traffic analyzer does not have a corresponding storage configuration.'], ], - [ - [ - 'errorCode' => 'ResourceNotFound.InspectionReportId', - 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'StartNisTrafficRanking', + 'description' => '[Before using this API, ensure you understand the billing methods and pricing for Network Intelligence Service.](https://help.aliyun.com/zh/nis/product-overview/billing-method-new-version?spm=5176.25472526.console-base_help.dexternal.5b094887xwrWNE)'."\n" + ."\n" + .'To use this interface, you first need to create a traffic analyzer and add a data source.'."\n" + ."\n" + .'[Create a traffic analyzer](https://help.aliyun.com/zh/nis/user-guide/traffic-analyzer-management?spm=a2c4g.11186623.help-menu-107955.d_1_3_0.7d2a2c07YsyRdP#39d1693bce6yp)'."\n" + ."\n" + .'[Add data source](https://help.aliyun.com/zh/nis/user-guide/data-source-management?spm=a2c4g.11186623.help-menu-107955.d_1_3_1.789140e9L0u62h#73845748bfstv)'."\n" + ."\n" + .'Analysis Scenarios:'."\n" + ."\n" + .'- VPC flow log analysis'."\n" + ."\n" + .'- Public network VPC flow log analysis'."\n" + ."\n" + .'- TR flow log analysis'."\n" + ."\n" + .'- Shared bandwidth metric analysis'."\n" + ."\n" + .'## VPC flow log analysis'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Value |'."\n" + .'| ----------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The ID of the region where the resource is located. | cn-shanghai | \\- |'."\n" + .'| TrafficAnalyzerId | string | Yes | The ID of the traffic analyzer. | nta-262****ca07f | \\- |'."\n" + .'| TrafficScenario | string | Yes | The analysis scenario. The value must be `VpcFlowLogAll` for VPC flow log analysis. | `VpcFlowLogAll` | VpcFlowLogAll |'."\n" + .'| Direction | string | Yes | The direction of network traffic relative to an elastic network interface (ENI). Valid values:<br>● `In`: Inbound traffic to an elastic network interface (ENI).<br>● `Out`: Outbound traffic from an ENI. | In | \\- In<br>\\- Out |'."\n" + .'| TupleDimension | string | Yes | The dimension for traffic aggregation. | Tuple1 | \\- Tuple1<br>\\- Tuple2<br>\\- Tuple5 |'."\n" + .'| GroupBy | array | No | Specifies one or more traffic dimensions for aggregation and ranking. | | \\- |'."\n" + .'| | string | No | The available aggregation dimensions vary based on the value:<br>● If is set to , the following dimensions are supported:<br> ■ : The VPC ID.<br> ■ : The vSwitch ID.<br> ■ : The elastic network interface ID.<br> ■ : The ECS ID.<br> ■ : The cloud IP address.<br>● If is set to , the following dimensions are supported:<br> ■ : The VPC ID.<br> ■ : The vSwitch ID.<br> ■ : The elastic network interface ID.<br> ■ : The ECS ID.<br> ■ : The source IP address.<br> ■ : The destination IP address.<br> ■ : The traffic path.<br>● If is set to , the following dimensions are supported:<br> ■ : The VPC ID.<br> ■ : The vSwitch ID.<br> ■ : The elastic network interface ID.<br> ■ : The ECS ID.<br> ■ : The source IP address.<br> ■ : The destination IP address.<br> ■ : The traffic path.<br> ■ : The source port.<br> ■ : The destination port. ■ : The network protocol. | \\["VpcId"] | \\- VpcId<br>\\- VSwitchId<br>\\- CloudIp<br>\\- SourceIp<br>\\- DestinationIp<br>\\- Protocol<br>\\- SourcePort<br>\\- DestinationPort<br>\\- TrafficPath<br>\\- Country<br>\\- Province<br>\\- City<br>\\- Isp<br>\\- Asn |'."\n" + .'| OrderBy | string | Yes | The metric used to rank the traffic. The supported metrics depend on the `TrafficScenario` value.<br>If `TrafficScenario` is set to `VpcFlowLogAll`:<br>●`Bytes`: The traffic volume in bytes.<br>●`Packets`: The number of packets.<br>●`RoundTripTime`: The TCP round-trip time (RTT). | Bytes | \\- Bytes<br>\\- Packets<br>\\- RoundTripTime |'."\n" + .'| Filter | array | No | Specifies filter conditions to refine the analysis. | | \\- |'."\n" + .'| | object | No | A filter condition object containing a key, value, and operator. | | \\- |'."\n" + .'| key | string | No | The key of the filter condition. Valid keys:<br>\\- If is , the following keys are supported: - : The action taken on the traffic when it matches a rule or policy. (. Only a single value is allowed.) - : The VPC ID. (Multiple values are allowed.) - `VSwitchId`: The vSwitch ID. (Multiple values are allowed.)<br> - `NetworkInterfaceId`: The elastic network interface ID. (Multiple values are allowed.) - : The ECS ID. (Multiple values are allowed.) - : The cloud IP address. (Multiple values are allowed.)- If is , the following keys are supported: - : The action taken on the traffic when it matches a rule or policy. (**Required**. Only a single value is allowed.) - : The VPC ID. (Multiple values are allowed.) - : The vSwitch ID. (Multiple values are allowed.)<br> - `NetworkInterfaceId`: The elastic network interface ID. (Multiple values are allowed.)<br> - `EcsId`: The ECS ID. (Multiple values are allowed.)<br> - `SourceIp`: The source IP address. (Multiple values are allowed.)<br> - `DestinationIp`: The destination IP address. (Multiple values are allowed.)<br> - `TrafficPath`: The traffic path. (Multiple values are allowed.)<br>\\- If is , the following keys are supported:<br> - `FlowAction`: The action taken on the traffic when it matches a rule or policy. (. Only a single value is allowed.)<br> - : The VPC ID. (Multiple values are allowed.) - : The vSwitch ID. (Multiple values are allowed.) - : The elastic network interface ID. (Multiple values are allowed.) - `EcsId`**Required**: The ECS ID. (Multiple values are allowed.)<br> - `SourceIp`: The source IP address. (Multiple values are allowed.)<br> - `DestinationIp`: The destination IP address. (Multiple values are allowed.)<br> - `TrafficPath`: The traffic path. (Multiple values are allowed.)<br> - `SourcePort`: The source port. (Multiple values are allowed.)<br> - `DestinationPort`: The destination port. (Multiple values are allowed.)<br> - `Protocol`: The network protocol. (Multiple values are allowed.)<br>\\- In VPC scenarios, you can also filter by the following traffic metrics: - `MinBytes`: The minimum traffic volume for ranking, in bytes. (Only a single value is allowed.)<br> - : The maximum traffic volume for ranking, in bytes. (Only a single value is allowed.)<br> - : The minimum RTT for ranking, in milliseconds (ms). (Only a single value is allowed.) - `MaxRoundTripTime`: The maximum RTT for ranking, in ms. (Only a single value is allowed.)<br> - `MinPackages`**Required**: The minimum number of packets for ranking. (Only a single value is allowed.)<br> - `MaxPackages`<br>`VSwitchId`<br>`NetworkInterfaceId`<br>`EcsId`<br>`SourceIp`<br>`DestinationIp`<br>`TrafficPath`<br>`SourcePort`<br>`DestinationPort`<br>`Protocol`<br>`MinBytes`<br>`MaxBytes`<br>`MinRoundTripTime`<br>`MaxRoundTripTime`<br>`MinPackages`<br>`MaxPackages`: The maximum number of packets for ranking. (Only a single value is allowed.) | FlowAction | \\- FlowAction<br>\\- VpcId<br>\\- VSwitchId<br>\\- NetworkInterfaceId<br>\\- CloudIp<br>\\- DestinationIp<br>\\- SourceIp<br>\\- EcsId<br>\\- TrafficPath<br>\\- SourcePort<br>\\- DestinationPort<br>\\- Protocol<br>\\- MinBytes<br>\\- MaxBytes<br>\\- MinRoundTripTime<br>\\- MaxRoundTripTime<br>\\- MinPackages<br>\\- MaxPackages |'."\n" + .'| value | array | No | The value of the filter condition. | | \\- |'."\n" + .'| | string | No | The filter value that corresponds to the specified key.<br>If the key is `FlowAction`, valid values are:<br> - `Accept``Accept`<br>`REJECT`: Allows traffic that is permitted by a security group or network ACL. - : Blocks traffic that is denied by a security group or network ACL. | Accept | If the key is `FlowAction`: `Accept` / `Reject` |'."\n" + .'| Operator | string | No | The operator for string matching. This parameter is supported only for specific keys. Default value: . Valid values:<br>● : is one of<br>● : is not one of<br>● : contains<br>The operator is supported as follows, depending on the and values:<br>If is set to :<br>The operator is supported for the following keys:<br> ○<br> ○<br> ○<br>All other keys support only the and operators. | in | \\- not in<br>\\- in<br>\\- like |'."\n" + .'| BeginTime | long | Yes | The start of the time range to query, specified as a UNIX timestamp in milliseconds. | 1638239092000 | \\- |'."\n" + .'| EndTime | long | Yes | The end of the time range to query, specified as a UNIX timestamp in milliseconds. | 1684373700099 | \\- |'."\n" + .'| Sort | string | No | The sort order of the results.<br>● `Asc`: Ascending.<br>● `Desc`: Descending. | Desc | \\- Desc<br>\\- Asc |'."\n" + .'| TopN | integer | No | The number of entries to return in the traffic ranking.<br>If you do not specify this parameter, all traffic data that meets the specified conditions is ranked and analyzed, subject to performance limits. | 10 | \\- |'."\n" + .'| Language | string | No | The language of the response. | zh-CN | \\- zh-CN<br>\\- en-US |'."\n" + .'| NextToken | string | No | A pagination token. To retrieve the next page of results, set this parameter to the NextToken value from the previous response. For the first request, leave this parameter empty. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | \\- |'."\n" + .'| MaxResults | integer | No | The number of entries to return on each page. Valid values: 1 to 100. Default value: 20. | 20 | |'."\n" + .'| StorageInterval | integer | No | The aggregation interval for the query, in minutes.<br>This parameter determines the granularity of the query results. The available intervals depend on the high-precision or long-term statistics settings configured for the traffic analyzer.<br>\\- Supported intervals:<br> - `1`: 1 minute<br> - `10`: 10 minutes<br> - `60`: 60 minutes (1 hour)<br> - `1440`: 1,440 minutes (1 day)<br>\\- Common use cases for aggregation intervals:<br> - High-precision statistics: Aggregation at intervals of 1, 10, or 60 minutes.<br>`10`<br>`1440` - Long-term statistics: Aggregation at an interval of 1,440 minutes (1 day). | 10 | \\- 1<br>\\- 10<br>\\- 60<br>\\- 1440 |'."\n" + ."\n" + .'### Return parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enum value |'."\n" + .'| ------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ---------- |'."\n" + .'| | object | RpcResponse | | \\- |'."\n" + .'| RequestId | string | The ID of the request. | 4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941 | \\- |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic ranking analysis. Use this ID in the `DescribeNisTrafficRanking` operation to retrieve the final analysis results. | task-6462a7b4c4a54b**** | \\- |'."\n" + ."\n" + .'## Public network VPC flow log analysis'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Valid values |'."\n" + .'| ----------------- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The ID of the region. | cn-shanghai | \\- |'."\n" + .'| TrafficAnalyzerId | string | Yes | The ID of the Traffic Analyzer. | nta-262****ca07f | \\- |'."\n" + .'| TrafficScenario | string | Yes | The analysis scenario.<br>● VPC flow log analysis for public internet traffic. | Fixed to `VpcFlowLogInternet` | VpcFlowLogInternet |'."\n" + .'| Direction | string | Yes | The network traffic direction.<br>● `In`: Inbound traffic to an ENI.<br>● `Out`: Outbound traffic from an ENI. | In | \\- In<br>\\- Out |'."\n" + .'| TupleDimension | string | Yes | The aggregation dimension for traffic data. | Tuple1 | \\- Tuple1<br>\\- Tuple2<br>\\- Tuple5 |'."\n" + .'| GroupBy | array | No | Specifies one or more traffic dimensions for aggregation and ranking. | | \\- |'."\n" + .'| | string | No | The available aggregation dimensions depend on the value of .<br>● If is set to , the following dimensions are supported:<br> ■ : VPC ID<br> ■ : vSwitch ID<br> ■ : ENI ID<br> ■ : ECS instance ID<br> ■ : cloud IP address<br>● If is set to , the following dimensions are supported:<br> ■ : VPC ID<br> ■ : vSwitch ID<br> ■ : ENI ID<br> ■ : ECS instance ID<br> ■ : source IP address<br> ■ : destination IP address<br> ■ : traffic path<br> ■ `Country`: Client country<br> ■ `Province`: Client province<br> ■ `City`: Client city<br> ■ `Isp`: ISP<br> ■ `Asn`: ASN<br>● If is set to , the following dimensions are supported:<br> ■ : VPC ID<br> ■ : vSwitch ID<br> ■ : ENI ID<br> ■ : ECS instance ID<br> ■ : source IP address<br> ■ : destination IP address<br> ■ : traffic path<br> ■ : source port<br> ■ : destination port<br> ■ : network protocol<br> ■ : Client country<br> ■ : Client province<br> ■ : Client city<br> ■ : ISP<br> ■ : ASN | \\["VpcId"] | \\- VpcId<br>\\- VSwitchId<br>\\- CloudIp<br>\\- SourceIp<br>\\- DestinationIp<br>\\- Protocol<br>\\- SourcePort<br>\\- DestinationPort<br>\\- TrafficPath<br>\\- Country<br>\\- Province<br>\\- City<br>\\- Isp<br>\\- Asn |'."\n" + .'| OrderBy | string | Yes | The metric used for traffic ranking. Valid values: `Bytes`, `Packets`, and `RoundTripTime`. | Bytes | \\- Bytes<br>\\- Packets<br>\\- RoundTripTime |'."\n" + .'| Filter | array | No | Specifies filter conditions for focused traffic analysis. | | \\- |'."\n" + .'| | object | No | A filter condition composed of a key, a value, and an operator. | | \\- |'."\n" + .'| key | string | No | The key of the filter condition. Valid values:<br>\\- If is set to , the following keys are supported: - `FlowAction`: The action taken on traffic that matches a rule or policy. (Required. Only a single value is allowed.)<br> - `VpcId`: The VPC ID. (Multiple values are allowed.)<br> - `VSwitchId`: The vSwitch ID. (Multiple values are allowed.)<br> - `NetworkInterfaceId`: The ENI ID. (Multiple values are allowed.)<br> - `EcsId`: The ECS instance ID. (Multiple values are allowed.)<br> - `CloudIp`: The cloud IP address. (Multiple values are allowed.)<br>\\- If is set to , the following keys are supported: - `FlowAction`: The action taken on traffic that matches a rule or policy. (Required. Only a single value is allowed.)<br> - : The VPC ID. (Multiple values are allowed.)<br> - `VSwitchId`: The vSwitch ID. (Multiple values are allowed.)<br> - `NetworkInterfaceId`: The ENI ID. (Multiple values are allowed.)<br> - `EcsId`: The ECS instance ID. (Multiple values are allowed.)<br> - `SourceIp`: The source IP address. (Multiple values are allowed.)<br> - `DestinationIp`: The destination IP address. (Multiple values are allowed.)<br> - `TrafficPath`: The traffic path. (Multiple values are allowed.)<br> - `ClientCountry`: Filters the analysis scope by country. (Multiple values are allowed.)<br> - `ClientCity`: Filters the analysis scope by city. (Multiple values are allowed.)<br> - `ClientAsn`: Filters the analysis scope by ASN. (Multiple values are allowed.) - : Filters the analysis scope by client ISP. (Multiple values are allowed.)<br>\\- If is set to , the following keys are supported: - `FlowAction`: The action taken on traffic that matches a rule or policy. (Required. Only a single value is allowed.)<br> - `VpcId`: The VPC ID. (Multiple values are allowed.)<br> - `VSwitchId`: The vSwitch ID. (Multiple values are allowed.)<br> - `NetworkInterfaceId`: The ENI ID. (Multiple values are allowed.)<br> - : The ECS instance ID. (Multiple values are allowed.)<br> - `SourceIp`: The source IP address.<br> - `DestinationIp`: The destination IP address.<br> - `TrafficPath`: The traffic path. (Multiple values are allowed.)<br> - `SourcePort`: The source port. (Multiple values are allowed.)<br> - `DestinationPort`: The destination port. (Multiple values are allowed.)<br> - `Protocol`: The network protocol. (Multiple values are allowed.)<br> - `ClientCountry`: Filters the analysis scope by country. (Multiple values are allowed.)<br> - `ClientCity`: Filters the analysis scope by city. (Multiple values are allowed.)<br> - `ClientAsn`: Filters the analysis scope by ASN. (Multiple values are allowed.)<br> - `ClientIsp`: Filters the analysis scope by client ISP. (Multiple values are allowed.)<br>\\- In VPC scenarios, you can also filter by the following traffic metrics: - `MinBytes`: The minimum traffic volume for ranking, in bytes. (Only a single value is allowed.)<br> - `MaxBytes`: The maximum traffic volume for ranking, in bytes. (Only a single value is allowed.)<br> - `MinRoundTripTime`: The minimum round-trip time (RTT) for ranking, in milliseconds. (Only a single value is allowed.)<br> - `MaxRoundTripTime`: The maximum round-trip time (RTT) for ranking, in milliseconds. (Only a single value is allowed.)<br> - `MinPackages`: The minimum number of packets for ranking. (Only a single value is allowed.)<br> - `MaxPackages`<br>`MinBytes`<br>`MaxBytes`<br>`MinRoundTripTime`<br>`MaxRoundTripTime`<br>`MinPackages`<br>`MaxPackages`: The maximum number of packets for ranking. (Only a single value is allowed.) | FlowAction | \\- FlowAction<br>\\- VpcId<br>\\- VSwitchId<br>\\- NetworkInterfaceId<br>\\- CloudIp<br>\\- DestinationIp<br>\\- SourceIp<br>\\- EcsId<br>\\- TrafficPath<br>\\- ClientCountry<br>\\- ClientCity<br>\\- ClientAsn<br>\\- ClientIsp<br>\\- SourcePort<br>\\- DestinationPort<br>\\- Protocol<br>\\- MinBytes<br>\\- MaxBytes<br>\\- MinRoundTripTime<br>\\- MaxRoundTripTime<br>\\- MinPackages<br>\\- MaxPackages |'."\n" + .'| value | array | No | The value of the filter condition. | | \\- |'."\n" + .'| | string | No | The filter value that corresponds to the specified key.<br>\\- If the key is , valid values are: - `Accept`: Traffic that is allowed by security groups and network ACLs. The recommended value is .<br> - `Reject``Accept`<br>`REJECT`: Traffic that is denied by security groups and network ACLs. | Accept | \\- |'."\n" + .'| Operator | string | No | The operator used to match the . Default value: .<br>● : Matches one of the specified values.<br>● : Does not match any of the specified values.<br>● : Contains.<br>● The operator is supported for the following keys:<br> ○<br> ○<br> ○<br>All other keys support only the and operators. | in | \\- not in<br>\\- in<br>\\- like |'."\n" + .'| BeginTime | long | Yes | The start time of the query, specified as a timestamp in milliseconds. | 1638239092000 | \\- |'."\n" + .'| EndTime | long | Yes | The end time of the query, specified as a timestamp in milliseconds. | 1684373700099 | \\- |'."\n" + .'| Sort | string | No | The sort order for the traffic analysis results.<br>● `Asc`: Ascending order.<br>● `Desc`: Descending order. | Desc | \\- Desc<br>\\- Asc |'."\n" + .'| TopN | integer | No | The number of top-ranked entries to return.<br>If this parameter is omitted, the service analyzes and ranks all traffic that meets the filter conditions, subject to performance limits. | 10 | \\- |'."\n" + .'| Language | string | No | The language of the response. Valid values: `zh-CN` and `en-US`. | zh-CN | \\- zh-CN<br>\\- en-US |'."\n" + .'| NextToken | string | No | The token to retrieve the next page of results. Omit this parameter for the first request. For subsequent requests, use the `NextToken` value from the previous response. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | \\- |'."\n" + .'| MaxResults | integer | No | The page size. Valid values: 1 to 100. Default: 20. | 20 | \\- |'."\n" + .'| StorageInterval | integer | No | The aggregation interval for traffic data, in minutes. This setting is also known as storage bucket precision.<br>The available intervals depend on the sampling interval configured for high-precision traffic statistics or long-period traffic statistics in the Traffic Analyzer.<br>\\- The following values are supported:<br> - `1`: 1 minute<br> - `10`: 10 minutes<br> - `60`: 60 minutes (1 hour)<br> - `1440`: 1,440 minutes (1 day)<br>\\- Typical use cases:<br> - High-precision traffic statistics: Aggregation at 1, 10, or 60-minute intervals.<br> - Long-period traffic statistics: Aggregation at a 1,440-minute (1-day) interval.<br>\\- Use this parameter to query data of a specific aggregation granularity. For example:<br>`10`<br>`1440` - Set this parameter to to query data aggregated at 10-minute intervals. - Set this parameter to to query data aggregated at 1-day intervals. | 10 | \\- 1<br>\\- 10<br>\\- 60<br>\\- 1440 |'."\n" + ."\n" + .'### Return parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enumerated value |'."\n" + .'| ------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ---------------- |'."\n" + .'| | object | RpcResponse | | \\- |'."\n" + .'| RequestId | string | The request ID. | | \\- |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic ranking analysis. Call the DescribeNisTrafficRanking operation with this ID to retrieve the final analysis results. | task-6462a7b4c4a54b**** | \\- |'."\n" + ."\n" + .'## Cross-region TR flow log analysis'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Valid values |'."\n" + .'| ----------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The region where the resource is located. | cn-shanghai | \\- |'."\n" + .'| TrafficAnalyzerId | string | Yes | The ID of the Traffic Analyzer. | nta-262****ca07f | \\- |'."\n" + .'| TrafficScenario | string | Yes | The traffic analysis scenario.<br>Set to `TRFlowLog` to analyze all Transit Router flow logs. | The value is fixed to `TRFlowLog`. | TRFlowLog |'."\n" + .'| Direction | string | Yes | The direction of network traffic relative to the Transit Router.<br>● `In`: Inbound traffic to the Transit Router.<br>● `Out`: Outbound traffic from the Transit Router. | In | \\- In<br>\\- Out |'."\n" + .'| TupleDimension | string | No | The dimension for aggregating traffic data. | Tuple2 | \\- Tuple2<br>\\- Tuple5 |'."\n" + .'| GroupBy | array | No | Specifies one or more traffic dimensions for aggregation and ranking. | | \\- |'."\n" + .'| | string | No | For Transit Router flow log scenarios, tuple detection is adaptive, and `TupleDimension` is optional. The following grouping dimensions are supported:<br>\\- `TransitRouterAttachmentId`: The network instance connection ID. (Required)<br>\\- `TransitRouterId`: The Transit Router instance ID.<br>\\- `SourceIp`: The source IP address.<br>\\- `DestinationIp`: The destination IP address.<br>\\- `Dscp`: The Differentiated Services Code Point.<br>\\- `Protocol`: The protocol.<br>\\- `SourcePort`: The source port.<br>\\- `DestinationPort`: The destination port. | \\["TransitRouterAttachmentId"] | \\- TransitRouterAttachmentId<br>\\- TransitRouterId<br>\\- SourceIp<br>\\- DestinationIp<br>\\- Dscp<br>\\- Protocol<br>\\- SourcePort<br>\\- DestinationPort |'."\n" + .'| OrderBy | string | Yes | The metric for ranking the traffic. Valid values:<br>\\- `Bytes`: Traffic volume in bytes.<br>\\- `Packets`: Number of packets.<br>\\- `PacketsLostNoRoute`: The number of packets lost because no route was found.<br>\\- `PacketsLostBlackhole`: The number of packets lost to a blackhole route.<br>\\- `PacketsLostTTLExpired`: The number of packets lost due to TTL expiration. | Bytes | \\- Bytes<br>\\- Packets<br>\\- PacketsLostNoRoute<br>\\- PacketsLostBlackhole<br>\\- PacketsLostTTLExpired |'."\n" + .'| Filter | array | No | Specifies filter conditions to narrow down the traffic analysis. | | \\- |'."\n" + .'| | object | No | A Key-Value-Operator object that defines a traffic filter condition. | | \\- |'."\n" + .'| key | string | No | The key of the filter condition. Supported keys vary based on the tuple dimension.<br>\\- When querying by 2-tuple (or when the query adapts to a 2-tuple), the following keys are supported:<br>\\- `TransitRouterAttachmentId`: The network instance connection ID. (Required, single value only)<br>\\- `TransitRouterPairAttachmentId`: The ID of the peer Transit Router connection. (Multiple values supported)<br>\\- `TransitRouterId`: The Transit Router instance ID. (Multiple values supported)<br>\\- `SourceIp`: The source IP address. (Supports multiple values, but only a single value if `Operator` is `like`)<br>\\- `DestinationIp`: The destination IP address. (Supports multiple values, but only a single value if `Operator` is `like`)<br>\\- `Dscp`: The Differentiated Services Code Point. (Multiple values supported)<br>\\- When querying by 5-tuple (or when the query adapts to a 5-tuple), the following keys are supported in addition to the 2-tuple keys:<br>\\- `Protocol`: The protocol. (Multiple values supported)<br>\\- `SourcePort`: The source port. (Multiple values supported)<br>\\- `DestinationPort`: The destination port. (Multiple values supported)<br>\\- In Transit Router scenarios, you can also filter by the following traffic metrics:<br>\\- `MinBytes`: The minimum traffic volume of a flow to include in the analysis, in bytes. (Single value only)<br>\\- `MaxBytes`: The maximum traffic volume of a flow to include in the analysis, in bytes. (Single value only)<br>\\- `MinPackages`: The minimum number of packets of a flow to include in the analysis. (Single value only)<br>\\- `MaxPackages`: The maximum number of packets of a flow to include in the analysis. (Single value only)<br>\\- `MinPacketsLostNoRoute`: The minimum number of packets lost because no route was found. (Single value only)<br>\\- `MinPacketsLostBlackhole`: The minimum number of packets lost to a blackhole route. (Single value only)<br>\\- `MinPacketsLostTTLExpired`: The minimum number of packets lost due to TTL expiration. (Single value only)<br>\\- `MaxPacketsLostNoRoute`: The maximum number of packets lost because no route was found. (Single value only)<br>\\- `MaxPacketsLostBlackhole`: The maximum number of packets lost to a blackhole route. (Single value only)<br>\\- `MaxPacketsLostTTLExpired`: The maximum number of packets lost due to TTL expiration. (Single value only) | TransitRouterAttachmentId | \\- TransitRouterAttachmentId<br>\\- TransitRouterPairAttachmentId<br>\\- TransitRouterId<br>\\- SourceIp<br>\\- DestinationIp<br>\\- Dscp<br>\\- Protocol<br>\\- SourcePort<br>\\- DestinationPort<br>\\- MinBytes<br>\\- MaxBytes<br>\\- MinPackages<br>\\- MaxPackages<br>\\- MinPacketsLostBlackhole<br>\\- MaxPacketsLostBlackhole<br>\\- MinPacketsLostNoRoute<br>\\- MaxPacketsLostNoRoute<br>\\- MinPacketsLostTTLExpired<br>\\- MaxPacketsLostTTLExpired |'."\n" + .'| value | array | No | The value for the filter condition. | | \\- |'."\n" + .'| | string | No | The filter value that corresponds to the specified `key`.<br>This parameter is required when `key` is `TransitRouterAttachmentId`. | tr-attach-dsvbe32hr*** | \\- |'."\n" + .'| Operator | string | No | The logical operator for the filter condition. The default value is `in`.<br>● `in`: The value matches one of the specified values in the `value` array.<br>● `not in`: The value does not match any of the specified values.<br>● `like`: The value contains the specified substring.<br>The `like` operator is supported only for the following keys:<br>○ `SourceIp`<br>○ `DestinationIp`<br>All other keys support only the `in` and `not in` operators. | in | \\- not in<br>\\- in<br>\\- like |'."\n" + .'| BeginTime | long | Yes | The start of the query time range, specified as a UNIX timestamp in milliseconds. | 1638239092000 | \\- |'."\n" + .'| EndTime | long | Yes | The end of the query time range, specified as a UNIX timestamp in milliseconds. | 1684373700099 | \\- |'."\n" + .'| Sort | string | No | The sort order for the traffic analysis results.<br>● `Asc`: Ascending order.<br>● `Desc`: Descending order. | Desc | \\- Desc<br>\\- Asc |'."\n" + .'| TopN | integer | No | The number of top-ranked entries to return.<br>If this parameter is not specified, the query analyzes all traffic data that meets the filter conditions, subject to performance limits. | 10 | \\- |'."\n" + .'| Language | string | No | The language of the response. Valid values: `zh-CN` and `en-US`. | zh-CN | \\- zh-CN<br>\\- en-US |'."\n" + .'| NextToken | string | No | The token for retrieving the next page of results. You do not need to specify this parameter for the first request. If more results are available, set this parameter to the `NextToken` value from the previous response. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | \\- |'."\n" + .'| MaxResults | integer | No | The number of entries to return on each page. Valid values: 1 to 100. Default value: 20. | 20 | \\- |'."\n" + .'| StorageInterval | integer | No | The aggregation period for the query, also known as bucket precision, in minutes.<br>The available precision depends on the sampling interval that you configure for the Traffic Analyzer.<br>\\- Supported values:<br>\\- `1` (1 minute)<br>\\- `10` (10 minutes)<br>\\- `60` (1 hour)<br>\\- `1440` (1 day)<br>\\- Common use cases:<br>\\- **High-precision statistics**: Use `1`, `10`, or `60` for fine-grained analysis.<br>\\- **Long-period statistics**: Use `1440` for daily aggregation.<br>\\- Example usage:<br>\\- Set the value to `10` to query data with an aggregation granularity of 10 minutes.<br>\\- Set the value to `1440` to query data with an aggregation granularity of 1 day. | 10 | \\- 1<br>\\- 10<br>\\- 60<br>\\- 1440 |'."\n" + ."\n" + .'### Return parameters'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enum value |'."\n" + .'| ------------------- | ------ | --------------------------------------------------------------------------------------------------------------- | ----------------------- | ---------- |'."\n" + .'| | object | RPC response | | \\- |'."\n" + .'| RequestId | string | The request ID. | | \\- |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic ranking result. Call `DescribeNisTrafficRanking` with this ID to get the analysis result. | task-6462a7b4c4a54b**** | \\- |'."\n" + ."\n" + .'## Shared bandwidth metrics'."\n" + ."\n" + .'### Request parameters'."\n" + ."\n" + .'| Parameter | Type | Required | Description | Example | Value |'."\n" + .'| ----------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |'."\n" + .'| RegionNo | string | Yes | The ID of the region where the resource is located. | cn-shanghai | \\- |'."\n" + .'| TrafficAnalyzerId | string | Yes | The ID of the traffic analyzer. | nta-262****ca07f | \\- |'."\n" + .'| TrafficScenario | string | Yes | The analysis scenario.<br>● `CbwpMetric`: Analyzes metrics for a Common Bandwidth Package. | CbwpMetric | CbwpMetric |'."\n" + .'| Direction | string | Yes | The direction of network traffic for an EIP.<br>● `In`: Inbound traffic to the EIP.<br>● `Out`: Outbound traffic from the EIP. | In | -In<br>-Out |'."\n" + .'| TupleDimension | string | No | The dimension for traffic aggregation. | Tuple1 | -Tuple1 |'."\n" + .'| GroupBy | array | No | The dimension(s) to use for traffic aggregation and ranking. | | \\- |'."\n" + .'| | string | No | When `TrafficScenario` is `CbwpMetric`, you can group by the following dimensions:<br>\\- `PublicIpAddress`: The public IP address of the associated EIP.<br>\\- `BindingResourceType`: The type of instance associated with the EIP.<br>\\- `BindingResourceId`: The ID of the instance associated with the EIP.<br>\\- `CbwpId`: The ID of the Common Bandwidth Package. | \\["BindingResourceId"] | \\- BindingResourceId<br>\\- BindingResourceType<br>\\- CbwpId<br>\\- PublicIpAddress |'."\n" + .'| OrderBy | string | Yes | The metric used to rank the traffic. Valid values:<br>\\- `Bytes`: bandwidth<br>\\- `Packets`: packets | Bytes | \\- Bytes<br>\\- Packets |'."\n" + .'| Filter | array | No | The filter conditions for the traffic analysis. | | \\- |'."\n" + .'| | object | No | A filter condition, specified as a key-value-operator object. | | \\- |'."\n" + .'| key | string | No | The filter key.<br>\\- You can filter by the following conditions:<br>\\- `PublicIpAddress`: The public IP address of the associated EIP. A single value is allowed if the `Operator` is `like`. Multiple values are allowed otherwise.<br>\\- `BindingResourceType`: The type of instance associated with the EIP. Multiple values are allowed.<br>\\- `BindingResourceId`: The ID of the instance associated with the EIP. Multiple values are allowed.<br>\\- `CbwpId`: The ID of the Common Bandwidth Package. Required. Only a single value is allowed.<br>\\- `InstanceId`: The ID of an EIP associated with the Common Bandwidth Package. Multiple values are allowed.<br>\\- You can filter by the following traffic metrics:<br>\\- `MinBytes`: The minimum traffic volume to include in the ranking, in bytes. Only a single value is allowed.<br>\\- `MaxBytes`: The maximum traffic volume to include in the ranking, in bytes. Only a single value is allowed.<br>\\- `MinPackages`: The minimum number of packets to include in the ranking. Only a single value is allowed.<br>\\- `MaxPackages`: The maximum number of packets to include in the ranking. Only a single value is allowed. | CbwpId | \\- PublicIpAddress<br>\\- InstanceId<br>\\- BindingResourceType<br>\\- BindingResourceId<br>\\- CbwpId<br>\\- MinBytes<br>\\- MaxBytes<br>\\- MinPackages<br>\\- MaxPackages |'."\n" + .'| value | array | No | The value of the filter condition. | | \\- |'."\n" + .'| | string | No | The filter value that corresponds to the specified key.<br>This parameter is required if `key` is `CbwpId`. The value must be the ID of the Common Bandwidth Package. | cbwp-advb35j2jn3*** | \\- |'."\n" + .'| Operator | string | No | The matching operator. This parameter applies only to specific keys. Default: `in`.<br>● `in`: equal to<br>● `not in`: not equal to<br>● `like`: contains<br>● The `like` operator is supported for the following key:<br>\\- `PublicIpAddress`<br>All other keys support only the `in` and `not in` operators. | in | \\- not in<br>\\- in<br>\\- like |'."\n" + .'| BeginTime | long | Yes | The start time of the query, specified as a millisecond timestamp. | 1638239092000 | \\- |'."\n" + .'| EndTime | long | Yes | The end time of the query, specified as a millisecond timestamp. | 1684373700099 | \\- |'."\n" + .'| Sort | string | No | The sort order of the results.<br>● `Asc`: ascending order.<br>● `Desc`: descending order. | Desc | \\- Desc<br>\\- Asc |'."\n" + .'| TopN | integer | No | The number of entries to return in the traffic ranking.<br>If you omit this parameter, all matching traffic data is ranked and returned, subject to performance limits. | 10 | \\- |'."\n" + .'| Language | string | No | The language of the response. Valid values: `zh-CN`, `en-US`. | zh-CN | \\- zh-CN<br>\\- en-US |'."\n" + .'| NextToken | string | No | The token used to retrieve the next page of results. You do not need to specify this parameter for the first request. For subsequent requests, set this to the `NextToken` value from the previous response. | 2A07PfBPlzmmNi/75Qca9SK73UfY48/+WBiREjfVfXqMQxtV8XckOg5lk7F2bhC+ | \\- |'."\n" + .'| MaxResults | integer | No | The number of entries to return on each page. Valid range: 1–100. Default: 20. | 20 | \\- |'."\n" + .'| StorageInterval | integer | No | Specifies the aggregation period for the query data, in minutes. The available values depend on the sampling interval configured for the traffic analyzer.<br>For example, set this parameter to `10` to query data with an aggregation granularity of 10 minutes. | 10 | \\- 1<br>\\- 10<br>\\- 60<br>\\- 1440 |'."\n" + ."\n" + .'### Return parameter'."\n" + ."\n" + .'| Parameter | Type | Description | Example value | Enumerated value |'."\n" + .'| ------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------- | ---------------- |'."\n" + .'| | object | RpcResponse | | \\- |'."\n" + .'| RequestId | string | The request ID. | | \\- |'."\n" + .'| NisTrafficRankingId | string | The ID of the traffic ranking analysis task. Call the `DescribeNisTrafficRanking` operation with this ID to retrieve the analysis results. | task-6462a7b4c4a54b**** | \\- |', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:StartNisTrafficRanking', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"CheckItemList\\": [\\n {\\n \\"ResourceType\\": \\"NAT\\",\\n \\"CategoryCode\\": \\"stability\\",\\n \\"CheckItemCode\\": \\"item_nat_water_level_check\\",\\n \\"Description\\": \\"无\\",\\n \\"CheckResultList\\": [\\n {\\n \\"RiskLevel\\": \\"LowRisk\\",\\n \\"Count\\": 0\\n }\\n ],\\n \\"RecommendationList\\": [\\n {\\n \\"RiskLevel\\": \\"LowRisk\\",\\n \\"RecommendationCode\\": \\"nat_snat_cross_az_warn\\",\\n \\"Abnormality\\": \\"多个跨可用区资源共用一台NAT网关\\",\\n \\"Reason\\": \\"多个跨可用区资源共用一台NAT网关\\",\\n \\"Suggestion\\": \\"建议在资源所在可用区均部署NAT网关,并配置您的SNAT/DNAT规则以确保资源使用同可用区内的NAT网关。这样可以确保即使某个可用区发生故障,其他可用区的资源仍能保持网络通信。\\",\\n \\"Metadata\\": \\"{\\\\\\"Columns\\\\\\":[{\\\\\\"ColumnType\\\\\\":\\\\\\"id\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"资源ID\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"ResourceId\\\\\\"},{\\\\\\"ColumnType\\\\\\":\\\\\\"az\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"NAT部署AZ\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"NatAZ\\\\\\"},{\\\\\\"ColumnType\\\\\\":\\\\\\"array.az\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"资源部署AZ\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"ForwardsAZs\\\\\\"},{\\\\\\"ColumnType\\\\\\":\\\\\\"region\\\\\\",\\\\\\"ColumnTitle\\\\\\":\\\\\\"地域\\\\\\",\\\\\\"ColumnValue\\\\\\":\\\\\\"RegionNo\\\\\\"}]}\\",\\n \\"ReasonCode\\": \\"\\",\\n \\"SuggestionCode\\": \\"\\"\\n }\\n ],\\n \\"CheckItemName\\": \\"NAT高可用部署检查\\",\\n \\"DescriptionCode\\": \\"item_ep_high_availability_check_description\\"\\n }\\n ],\\n \\"NextToken\\": \\"hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj\\",\\n \\"TotalCount\\": 11,\\n \\"MaxResults\\": 20,\\n \\"InspectionReportId\\": \\"nir-ffd1af****196d0\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4DAC4BE1-BEEA-5D84-BE06-E1B796F3B941\\",\\n \\"NisTrafficRankingId\\": \\"task-6462a7b4c4a54b****\\"\\n}","type":"json"}]', ], - 'DescribeNisInspectionRecommendationResources' => [ - 'summary' => '受影响资源列表', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateNisInspectionTask' => [ + 'summary' => 'Updates an inspection task.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226209', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '226556', + 'abilityTreeNodes' => ['FEATUREnetanaS7CH2P'], ], 'parameters' => [ [ - 'name' => 'InspectionReportId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'nir-ffd1af****196d0'."\n", - 'maxLength' => 128, - 'minLength' => 1, - ], - ], - [ - 'name' => 'RecommendationCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'nat_snat_cross_az_warn', - 'maxLength' => 64, - 'minLength' => 1, - ], - ], - [ - 'name' => 'NextToken', + 'name' => 'InspectionTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'hKrS+MVXkuOgztXnvdml16/uO3mvCyHxSjzdhx9VRUC+8umDTIV2Wg9TTOUrR7ve', - ], + 'schema' => ['description' => 'The ID of the inspection task.', 'type' => 'string', 'required' => true, 'maxLength' => 128, 'minLength' => 1, 'example' => 'ni-8svmpe0yso2bhzr7fh79', 'title' => ''], ], [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], - ], - [ - 'name' => 'Language', + 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The running status of the task.', 'type' => 'string', 'required' => false, - 'example' => 'zh-CN', - 'enum' => [ - 'zh-CN', - 'en-US', - ], + 'enum' => ['Inactive', 'Active'], + 'example' => 'Active', + 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'RpcResponse<NextTokenResult<DescribeNisInspectionRecommendationResourcesResponse>>', - 'description' => 'RpcResponse<NextTokenResult<DescribeNisInspectionRecommendationResourcesResponse>>', + 'title' => 'RpcResponse<Boolean>', + 'description' => 'RpcResponse', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', - ], - 'ResourceList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'ngw-p0wn04hi4****q2us6q7q', - ], - 'ResourceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'AnalysisData' => [ - 'description' => '', - 'type' => 'string', - 'example' => "\n" - .'{ResourceId: "ngw-p0wn04hi4****q2us6q7q"}', - ], - ], - ], - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'qt0DqY2lXxwBt9/ROQoS/7J9p90D1vF2vFbwzb/1oSWr3AxcM6/KpObZ7Z1PZdcV', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '192', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'InspectionReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-ffd1af****196d0'."\n", - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7F0D6EC-E19E-58AC-AC9F-08036763960F', 'title' => ''], + 'Data' => ['description' => 'The update result.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], ], + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IllegalParam.NextToken', - 'errorMessage' => 'The specified nextToken(%s) is invalid.', - ], + ['errorCode' => 'IncorrectStatus.InspectionTaskIsRunning', 'errorMessage' => 'The specified task InspectionTaskId(%s) is in progress and cannot be closed.', 'description' => 'The specified task InspectionTaskId(%s) is in progress and cannot be closed.'], + ['errorCode' => 'IncorrectStatus.InspectionTaskNotInactive', 'errorMessage' => 'The specified task InspectionTaskId(%s) is not closed and cannot be opened.', 'description' => 'The specified task InspectionTaskId(%s) is not closed and cannot be opened.'], + ['errorCode' => 'IllegalParam.Status', 'errorMessage' => 'The specified parameter Status(%s) is invalid, can only be Active or InActive.', 'description' => 'The specified parameter Status(%s) is invalid. It can only be Active or InActive.'], ], - 403 => [ - [ - 'errorCode' => 'Forbidden.InspectionReportId', - 'errorMessage' => 'This user does not have permission to this report parameter (%s).', - ], + 404 => [ + ['errorCode' => 'ResourceNotFound.InspectionTaskId', 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', 'description' => ''], ], + ], + 'title' => 'UpdateNisInspectionTask', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - [ - 'errorCode' => 'ResourceNotFound.InspectionReportId', - 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', - ], - [ - 'errorCode' => 'ResourceNotFound.RecommendationCode', - 'errorMessage' => 'The specified parameter RecommendationCode(%s) does not exist.', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'nis:UpdateNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"ResourceList\\": [\\n {\\n \\"ResourceId\\": \\"ngw-p0wn04hi4****q2us6q7q\\",\\n \\"ResourceName\\": \\"公网nat\\",\\n \\"AnalysisData\\": \\"\\\\n{ResourceId: \\\\\\"ngw-p0wn04hi4****q2us6q7q\\\\\\"}\\"\\n }\\n ],\\n \\"NextToken\\": \\"qt0DqY2lXxwBt9/ROQoS/7J9p90D1vF2vFbwzb/1oSWr3AxcM6/KpObZ7Z1PZdcV\\",\\n \\"TotalCount\\": 192,\\n \\"MaxResults\\": 20,\\n \\"InspectionReportId\\": \\"nir-ffd1af****196d0\\\\n\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F0D6EC-E19E-58AC-AC9F-08036763960F\\",\\n \\"Data\\": true\\n}","type":"json"}]', ], - 'ListNisInspectionTaskReports' => [ - 'summary' => '查询巡检报告列表', - 'methods' => [ - 'get', - 'post', + ], + 'endpoints' => [ + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'nis.aliyuncs.com', 'endpoint' => 'nis.aliyuncs.com', 'vpc' => 'nis.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'nis-intl.aliyuncs.com', 'endpoint' => 'nis-intl.aliyuncs.com', 'vpc' => 'nis-intl.vpc-proxy.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'Common.Timeout', 'message' => 'Timeout, please narrow your input time range.', 'http_code' => 500, 'description' => 'The interface request timed out, probably because you have too many requests at one time, please try to narrow the scope of your request'], + ['code' => 'DiagnosticItemSetId.NotFound', 'message' => 'The specified diagnosticItemSetId of %s is not found.', 'http_code' => 404, 'description' => 'The DiagnosticItemSetId parameter does not exist.'], + ['code' => 'DiagnosticItemSetId.NotFound', 'message' => 'The specified DiagnosticItemSetId is not found.', 'http_code' => 404, 'description' => 'Parameter DiagnosticItemSetId does not exist'], + ['code' => 'DryRunOperation', 'message' => 'Request validation has been passed with DryRun flag set.', 'http_code' => 400, 'description' => 'Parameter check passed'], + ['code' => 'Duplicate.TagKey', 'message' => 'The Tag.N.Key contains duplicate keys.', 'http_code' => 400, 'description' => 'The tag contains duplicate keys.'], + ['code' => 'DuplicatedParam.AddIps', 'message' => 'The specified AddIps parameter contains existing IP.', 'http_code' => 400, 'description' => 'The specified AddIps parameter contains existing IP.'], + ['code' => 'DuplicatedParam.Filter', 'message' => 'The specified Filter(%s) parameter has a duplicate Key.', 'http_code' => 400, 'description' => 'The specified Filter(%s) parameter has a duplicate Key.'."\n"], + ['code' => 'DuplicatedParam.GroupBy', 'message' => 'Duplicate data exists for the specified GroupBy(%s) parameter.', 'http_code' => 400, 'description' => 'Duplicate data exists for the specified GroupBy(%s) parameter.'], + ['code' => 'DuplicatedParam.InspectionReportId', 'message' => 'Specified InspectionReportId(%s) duplicated in task.', 'http_code' => 400, 'description' => 'The specified InspectionReportId(%s) is duplicated in the task.'], + ['code' => 'DuplicatedParam.TupleDimension', 'message' => 'Duplicate data exists for the specified TupleDimension(%s) parameter.', 'http_code' => 400, 'description' => 'Duplicate data exists for the specified TupleDimension(%s) parameter.'], + ['code' => 'Flowlog.AlreayExist', 'message' => 'This attachment already has existed flowlog instance.', 'http_code' => 400, 'description' => 'This attachment already has existed flowlog instance.'], + ['code' => 'Forbidden', 'message' => 'You are not authorized to operate on the specified resource. Contact the administrator to acquire the permission of AliyunNISReadOnlyAccess or AliyunNISFullAccess.', 'http_code' => 403, 'description' => 'You do not have the permissions to perform this operation. Contact the administrator to acquire the AliyunNISReadOnlyAccess or AliyunNISFullAccess permission.'], + ['code' => 'Forbidden.AnalysisTaskIds', 'message' => 'The user does not have the corresponding instance (%s) permission.', 'http_code' => 403, 'description' => 'The user does not have the corresponding instance (%s) permission.'], + ['code' => 'Forbidden.CreateServiceLinkedRole', 'message' => 'The user does not have permission: %s.', 'http_code' => 403, 'description' => 'The current user does not have the required permission: %s.'], + ['code' => 'Forbidden.DataSourceId', 'message' => 'The user does not have permission to operate this resource (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to operate this resource (%s).'], + ['code' => 'Forbidden.DiagnosisReportIds', 'message' => 'This user does not have permission to operate this resource (%s).', 'http_code' => 403, 'description' => 'This user does not have permission to operate this resource (%s).'], + ['code' => 'Forbidden.InsightId', 'message' => 'The user does not have permission on the instance parameter (%s).', 'http_code' => 403, 'description' => 'The user does not have permission on the instance parameter (%s).'], + ['code' => 'Forbidden.InspectionReportId', 'message' => 'This user does not have permission to this report parameter (%s).', 'http_code' => 403, 'description' => 'This user does not have permission to this report parameter (%s).'], + ['code' => 'Forbidden.MappingId', 'message' => 'The user does not have permission to operate this resource (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to operate this resource (%s).'], + ['code' => 'Forbidden.NetworkPath', 'message' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.', 'http_code' => 403, 'description' => 'The current user has not activated NIS and is not authorized to use the path analysis interface.'], + ['code' => 'Forbidden.NetworkPathId', 'message' => 'The user does not have permission on the instance parameter (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to the instance resource (%s).'], + ['code' => 'Forbidden.NetworkReachableAnalysisId', 'message' => 'The user does not have permission on the instance parameter (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to the resource (%s).'], + ['code' => 'Forbidden.NoPermission', 'message' => 'The authentication result is successful but the verification fails.', 'http_code' => 400, 'description' => 'The authentication result is successful but the verification fails.'], + ['code' => 'Forbidden.ReportId', 'message' => 'The user does not have permission on the instance parameter (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to the instance resource (%s).'], + ['code' => 'Forbidden.ResourceId', 'message' => 'The user does not have permission on the instance parameter (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to the instance resource (%s).'], + ['code' => 'Forbidden.TagKeys', 'message' => 'The request do not allow to operate the tag keys', 'http_code' => 400, 'description' => 'You do not have the permission to operate on this tag type.'], + ['code' => 'Forbidden.TaskId', 'message' => 'The user does not have permission on the instance parameter (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to change the instance parameter (%s)'], + ['code' => 'Forbidden.TrafficAnalyzerId', 'message' => 'The user does not have permission to operate this resource (%s).', 'http_code' => 403, 'description' => 'The user does not have permission to operate this resource (%s).'], + ['code' => 'ForbiddenException.UidNoPermission', 'message' => 'This user (%s) does not have AliyunServiceRoleForNis privileges.', 'http_code' => 403, 'description' => 'This user (%s) does not have AliyunServiceRoleForNis privileges.'], + ['code' => 'IllegalParam', 'message' => 'The specified parameter thisRegion(%s) is illegal.', 'http_code' => 400, 'description' => 'The thisRegion(%s) field is illegal'], + ['code' => 'IllegalParam.AccountIds', 'message' => 'The specified param of accountId (%s) is not in the optional range.', 'http_code' => 400, 'description' => 'The accountId (%s) parameter is set to an invalid value.'], + ['code' => 'IllegalParam.AccountIds', 'message' => 'The specified parameter accountId (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified parameter accountId (%s) is invalid.'], + ['code' => 'IllegalParam.AddIpsOrDeleteIps', 'message' => 'The specified AddIpsOrDeleteIps parameter is illegal.', 'http_code' => 400, 'description' => 'The specified AddIpsOrDeleteIps parameter is illegal.'], + ['code' => 'IllegalParam.AggregationInterval', 'message' => 'The parameter (%s) cannot be large or small.', 'http_code' => 400, 'description' => 'The parameter (%s) cannot be large or small.'], + ['code' => 'IllegalParam.AliUid', 'message' => 'The current uid (%s) has no inspection tasks.', 'http_code' => 400, 'description' => 'The current user (%s) has no patrol tasks.'], + ['code' => 'IllegalParam.AnalysisLogs', 'message' => 'The specified AnalysisLogs(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'The specified AnalysisLogs(%s) parameter cannot be empty.'], + ['code' => 'IllegalParam.AnalysisTaskIds', 'message' => 'The specified AnalysisTaskIds parameter is illegal.', 'http_code' => 400, 'description' => 'The specified AnalysisTaskIds parameter is illegal.'], + ['code' => 'IllegalParam.BeginTime', 'message' => 'The specified begin time (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified start time (%s) is invalid.'], + ['code' => 'IllegalParam.BeginTime', 'message' => 'The specified BeginTime parameter is illegal.', 'http_code' => 400, 'description' => 'The specified BeginTime parameter is illegal.'], + ['code' => 'IllegalParam.BeginTimeAndEndTime', 'message' => 'It only supports querying data for up to 7 days: %s.', 'http_code' => 400, 'description' => 'You can query data within the last seven days: %s.'], + ['code' => 'IllegalParam.BeginTimeAndEndTime', 'message' => 'It only supports querying data for up to 24 hours: %s.', 'http_code' => 400, 'description' => 'The time range that you can query must be no longer than 24 hours.'], + ['code' => 'IllegalParam.BeginTimeAndEndTime', 'message' => 'The param of BeginTimeAndEndTime is illegal.', 'http_code' => 400, 'description' => 'Wrong start end time. It may be because the start time is greater than the end time, or the range exceeds the maximum limit'], + ['code' => 'IllegalParam.BeginTimeAndEndTime1H', 'message' => 'It only supports querying data for up to 1 hour: %s.', 'http_code' => 400, 'description' => 'Maximum support for querying 1 hour of data: %s.'], + ['code' => 'IllegalParam.BeginTimeAndEndTime5M', 'message' => 'It only supports querying data for up to 5 minute when TupleType is 5 and the CloudIp and OtherIp are both empty: %s.', 'http_code' => 400, 'description' => 'When TupleType = 5 and the CloudIp and OtherIp are both empty, you can only query data in a range of up to 5 minutes.'], + ['code' => 'IllegalParam.CenId', 'message' => 'The parameter CenId is not specified.', 'http_code' => 400, 'description' => 'The CenId parameter is not specified.'], + ['code' => 'IllegalParam.CloudIp', 'message' => 'The specified CloudIp(%s) is invalid.', 'http_code' => 400, 'description' => 'The CloudIp (%s) parameter is invalid.'], + ['code' => 'IllegalParam.CloudPort', 'message' => 'The specified CloudPort(%s) is invalid.', 'http_code' => 400, 'description' => 'The CloudPort (%s) parameter is invalid.'], + ['code' => 'IllegalParam.DataSourceIdOrNtaId', 'message' => 'TrafficAnalyzerId and DataSourceId cannot be empty at the same time.', 'http_code' => 400, 'description' => 'TrafficAnalyzerId and DataSourceId cannot be empty at the same time.'], + ['code' => 'IllegalParam.DataSourceType', 'message' => 'The parameter (%s) is illegal.', 'http_code' => 400, 'description' => 'The parameter (%s) is illegal.'], + ['code' => 'IllegalParam.DestinationIp', 'message' => 'The specified ip(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified ip(%s) is illegal.'], + ['code' => 'IllegalParam.DestinationIpAddress', 'message' => 'The specified DestinationIpAddress(%s) is invalid.', 'http_code' => 400, 'description' => 'The DestinationIpAddress(%s) parameter is invalid.'], + ['code' => 'IllegalParam.DestinationPort', 'message' => 'The specified DestinationPort(%s) is invalid.', 'http_code' => 400, 'description' => 'The DestinationPort(%s) parameter is invalid.'], + ['code' => 'IllegalParam.DestinationSubnet', 'message' => 'The request parameter destination network segment (%s) is invalid.', 'http_code' => 400, 'description' => 'The request parameter destination network segment (%s) is invalid.'], + ['code' => 'IllegalParam.DestinationZones', 'message' => 'The param of DestinationZones is illegal.', 'http_code' => 400, 'description' => 'The destination zone entered is illegal and may not match the RegionId.'], + ['code' => 'IllegalParam.Dimensions', 'message' => 'The specified Dimensions(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions parameter is illegal.'], + ['code' => 'IllegalParam.Dimensions.DestinationRegionId', 'message' => 'The specified parameter Dimensions.DestinationRegionId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions.DestinationRegionId (%s) parameter is invalid.'], + ['code' => 'IllegalParam.Dimensions.DestinationRegionNo', 'message' => 'The specified parameter Dimensions.DestinationRegionNo(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions.DestinationRegionNo(%s) parameter is illegal.'], + ['code' => 'IllegalParam.Dimensions.DestinationZone', 'message' => 'The specified parameter Dimensions.DestinationZone (%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions.DestinationZone (%s) parameter is invalid.'], + ['code' => 'IllegalParam.Dimensions.Direction', 'message' => 'The specified Dimensions.Direction(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions.Direction parameter is illegal.'], + ['code' => 'IllegalParam.Dimensions.InspectionTaskId', 'message' => 'The specified argument Dimensions.InspectionTaskId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified argument Dimensions.InspectionTaskId(%s) is illegal.'], + ['code' => 'IllegalParam.Dimensions.InstanceId', 'message' => 'The specified Dimensions.InstanceId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions.InstanceId parameter is illegal.'], + ['code' => 'IllegalParam.Dimensions.ResourceType', 'message' => 'The specified Dimensions.ResourceType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions.ResourceType parameter is illegal.'], + ['code' => 'IllegalParam.Dimensions.SourceZone', 'message' => 'The specified parameter Dimensions.SourceZone(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Dimensions.SourceZone (%s) parameter is invalid.'], + ['code' => 'IllegalParam.Dimensions.TrafficScenario', 'message' => 'The argument Dimensions.TrafficScenario(%s) is illegal.', 'http_code' => 400, 'description' => 'The argument Dimensions.TrafficScenario(%s) is illegal.'], + ['code' => 'IllegalParam.Dimensions.TupleDimension', 'message' => 'The argument Dimensions.TupleDimension(%s) is illegal.', 'http_code' => 400, 'description' => 'The argument Dimensions.TupleDimension(%s) is illegal.'], + ['code' => 'IllegalParam.Direction', 'message' => 'The specified direction (%s) is invalid.', 'http_code' => 400, 'description' => 'The Direction parameter is invalid. Modify the parameter and try again.'], + ['code' => 'IllegalParam.DiskCategory', 'message' => 'The specified disk category (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified disk category (%s) is invalid.'], + ['code' => 'IllegalParam.EnableAndIntervalEmpty', 'message' => 'The specified parameter LogAggregationInterval and EnableNISTrafficAnalyzer cannot be both empty.', 'http_code' => 400, 'description' => 'The specified parameter LogAggregationInterval and EnableNISTrafficAnalyzer cannot be both empty.'], + ['code' => 'IllegalParam.EnableNISTrafficAnalyzer', 'message' => 'The specified EnableNISTrafficAnalyzer(%s) argument is illegal.', 'http_code' => 400, 'description' => 'The specified EnableNISTrafficAnalyzer(%s) argument is illegal.'], + ['code' => 'IllegalParam.EndTime', 'message' => 'The specified end time (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified end time (%s) is invalid.'], + ['code' => 'IllegalParam.EventType', 'message' => 'The specified EventType(%s) is invalid.', 'http_code' => 400, 'description' => 'The specified EventType(%s) is invalid.'], + ['code' => 'IllegalParam.ExtraInfo.NetworkInterfaceId', 'message' => 'The specified ExtraInfo.NetworkInterfaceId parameter is illegal.', 'http_code' => 400, 'description' => 'The specified ExtraInfo.NetworkInterfaceId parameter is illegal.'], + ['code' => 'IllegalParam.Filter.Combine', 'message' => 'The specified filter parameter(%s) is invalid.', 'http_code' => 400, 'description' => 'The current filter parameter is invalid.'], + ['code' => 'IllegalParam.Filter.FlowAction', 'message' => 'The parameter Filter.FlowAction(%s) is illegal.', 'http_code' => 400, 'description' => 'The parameter Filter.FlowAction(%s) is illegal.'], + ['code' => 'IllegalParam.Filter.InstanceId', 'message' => 'The specified InstanceId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified InstanceId (%s) parameter is invalid.'], + ['code' => 'IllegalParam.Filter.QueryByRelationshipType', 'message' => 'The specified filter parameter(%s) is invalid.', 'http_code' => 400, 'description' => 'The specified filter parameter (%s) is illegal.'], + ['code' => 'IllegalParam.Filter.QueryByResourceType', 'message' => 'The specified filter parameter(%s) is invalid.', 'http_code' => 400, 'description' => 'The filter parameter (%s) is illegal.'], + ['code' => 'IllegalParam.FlowLogIntervalGreaterThanNta', 'message' => 'The FlowLog sampling interval (%s) specified is greater than the minimum sampling interval of the traffic analyzer.', 'http_code' => 400, 'description' => 'The FlowLog sampling interval (%s) specified is greater than the minimum sampling interval of the traffic analyzer.'], + ['code' => 'IllegalParam.FlowLogNotSupport', 'message' => 'The parameter MetricName(%s) is illegal.', 'http_code' => 400, 'description' => 'The parameter MetricName(%s) is illegal.'], + ['code' => 'IllegalParam.FlowLogStatusNotInactive', 'message' => 'FlowLog status is not Inactive.', 'http_code' => 400, 'description' => 'flowLog state is not Inactive'], + ['code' => 'IllegalParam.GroupBy', 'message' => 'The specified param of GroupBy (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified group field (%s) is invalid.'], + ['code' => 'IllegalParam.inOrOut', 'message' => 'Valid values for the inOrOut parameter: in and out.', 'http_code' => 400, 'description' => 'Valid values for the inOrOut parameter: in and out.'], + ['code' => 'IllegalParam.InsightId', 'message' => 'The specified InsightId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified InsightId parameter is illegal.'], + ['code' => 'IllegalParam.InsightIds', 'message' => 'The specified InsightIds(%s) parameter is illegal.', 'http_code' => 400, 'description' => 'The specified InsightIds parameter is illegal.'], + ['code' => 'IllegalParam.InspectionProject', 'message' => 'The specified argument InspectionProject(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified parameter InspectionProject is illegal.'], + ['code' => 'IllegalParam.InspectionType', 'message' => 'The specified inspectionType (%s) is not supported.', 'http_code' => 400, 'description' => 'Illegal parameter inspectionType'], + ['code' => 'IllegalParam.InstanceChargeType', 'message' => 'The specified InstanceChargeType is invalid.', 'http_code' => 404, 'description' => '?The value of InstanceChargeType is invalid.'], + ['code' => 'IllegalParam.InstanceIps', 'message' => 'The specified InstanceIps (%s) is invliad.', 'http_code' => 400, 'description' => 'The specified InstanceIps parameter is illegal.'], + ['code' => 'IllegalParam.InternetIP', 'message' => 'The specified IP address (%s) is not an internet IP address.', 'http_code' => 400, 'description' => 'The specified IP address (%s) is not a public IP address. The IP address must not fall within the following ranges: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, or 192.168.0.0 to 192.168.255.255.'], + ['code' => 'IllegalParam.Interval', 'message' => 'The specified Interval(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Interval(%s) argument is illegal.'], + ['code' => 'IllegalParam.IntervalImmutable', 'message' => 'The sample time of this parameter information (%s) cannot be modified.', 'http_code' => 400, 'description' => 'The sample time of this parameter information (%s) cannot be modified.'], + ['code' => 'IllegalParam.IP', 'message' => 'The specified IP address (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified IP address (%s) is invalid.'], + ['code' => 'IllegalParam.IpType', 'message' => 'The specified IpType (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified IpType parameter is illegal.'], + ['code' => 'IllegalParam.IpTypeAndBindType', 'message' => 'It it not support the combination of IpType and BindType(%s).', 'http_code' => 400, 'description' => 'The combination of IpType and BindType(%s) is not supported.'], + ['code' => 'IllegalParam.Ipv4Prefix', 'message' => 'The parameter Ipv4Prefix is invalid.', 'http_code' => 400, 'description' => 'The value of Ipv4Prefix is invalid.'], + ['code' => 'IllegalParam.Kaleidoscope', 'message' => 'The user RFQ call kaleidoscope error.', 'http_code' => 400, 'description' => 'The user RFQ call kaleidoscope error.'], + ['code' => 'IllegalParam.LogAggregationInterval', 'message' => 'The specified LogAggregationInterval(%s) argument is illegal.', 'http_code' => 400, 'description' => 'The specified LogAggregationInterval(%s) argument is illegal.'], + ['code' => 'IllegalParam.LogId', 'message' => 'The specified LogId(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'LogId cannot be empty'], + ['code' => 'IllegalParam.MappingId', 'message' => 'The parameter (%) is illegal.', 'http_code' => 400, 'description' => 'The parameter (%) is illegal.'], + ['code' => 'IllegalParam.MaxResult', 'message' => 'The specified param of MaxResult (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified maximum number of query MaxResult(%s) exceeds the query limit.'], + ['code' => 'IllegalParam.MaxTimeScope', 'message' => 'The query time range exceeds the limit. You can query up to %s days of data.', 'http_code' => 400, 'description' => 'The query time range exceeds the limit. You can query up to% s days of data.'], + ['code' => 'IllegalParam.MetricName', 'message' => 'The specified MetricName(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified MetricName parameter is illegal.'], + ['code' => 'IllegalParam.MetricType', 'message' => 'The specified metricType (%s) is not supported.', 'http_code' => 400, 'description' => 'The value of metricType is invalid. Valid values: sp and fp.'], + ['code' => 'IllegalParam.MetricType', 'message' => 'The specified MetricType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified MetricType parameter is illegal.'], + ['code' => 'IllegalParam.Name', 'message' => 'The specified Name(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Name parameter is invalid. The specified Name parameter may be too long.'], + ['code' => 'IllegalParam.NetworkPathId', 'message' => 'The parameter (%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter (%s) cannot be empty.'], + ['code' => 'IllegalParam.NetworkReachableAnalysisId', 'message' => 'The parameter (%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter (%s) cannot be empty.'], + ['code' => 'IllegalParam.NextToken', 'message' => 'The specified nextToken(%s) is invalid.', 'http_code' => 400, 'description' => 'The NextToken(%s) parameter is set to an invalid value.'], + ['code' => 'IllegalParam.NextToken', 'message' => 'The specified argument NextToken(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified argument NextToken(%s) is illegal.'."\n"], + ['code' => 'IllegalParam.NextToken', 'message' => 'The specified NextToken(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified parameter NextToken is illegal.'], + ['code' => 'IllegalParam.NextToken', 'message' => 'The specified parameter NextToken is illegal.', 'http_code' => 400, 'description' => 'The specified parameter NextToken is illegal.'], + ['code' => 'IllegalParam.NotPublicIp', 'message' => 'The specified (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified parameter is illegal.'], + ['code' => 'IllegalParam.NotSupportHaVpn', 'message' => 'The specified VPN(%s), which is not currently supported for such instances.', 'http_code' => 400, 'description' => 'The specified VPN(), which is not currently supported for such instances.'], + ['code' => 'IllegalParam.NotTr', 'message' => 'The specified TR(%s), which is not currently supported for such instances.', 'http_code' => 400, 'description' => 'The specified transit router (TR) (%s) is not an Enterprise Edition instance. This type of instance is not supported.'], + ['code' => 'IllegalParam.NtaIntervalLessThanFlowLog', 'message' => 'The sampling interval of the specified traffic analyzer is less than the maximum sampling interval of the associated network log (%s).', 'http_code' => 400, 'description' => 'The specified Traffic Analyzer sampling interval is less than the maximum sampling interval (%s) of the associated network logs.'], + ['code' => 'IllegalParam.NullSystemParam', 'message' => 'The system parameter (%s) is not specified. This problem occurs mostly when called through the SDK.', 'http_code' => 400, 'description' => 'The system parameter (%s) is not specified. This problem occurs mostly when called through the SDK.'], + ['code' => 'IllegalParam.ObjectId', 'message' => 'The specified objectId (%s) is not supported.', 'http_code' => 400, 'description' => 'Illegal parameter objectId'], + ['code' => 'IllegalParam.ObjectType', 'message' => 'The specified objectType (%s) is not supported.', 'http_code' => 400, 'description' => 'Parameter objectType not supported'], + ['code' => 'IllegalParam.OrderBy', 'message' => 'The specified param of orderBy (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified sort field (%s) is invalid.'], + ['code' => 'IllegalParam.OtherIp', 'message' => 'The specified OtherIp(%s) is invalid.', 'http_code' => 400, 'description' => 'The OtherIp (%s) parameter is invalid.'], + ['code' => 'IllegalParam.OtherPort', 'message' => 'The specified OtherPort(%s) is invalid.', 'http_code' => 400, 'description' => 'The OtherPort (%s) parameter is invalid.'], + ['code' => 'IllegalParam.Period', 'message' => 'The specified Period is invalid.', 'http_code' => 404, 'description' => 'The value of Period is invalid.'], + ['code' => 'IllegalParam.Period', 'message' => 'The specified period (%s) is not supported.', 'http_code' => 400, 'description' => 'The parameter period is illegal.'], + ['code' => 'IllegalParam.ProductId', 'message' => 'The specified ProductId is invalid.', 'http_code' => 404, 'description' => 'The value of ProductId is invalid.'], + ['code' => 'IllegalParam.Protocol', 'message' => 'The specified Protocol(%s) is invalid.', 'http_code' => 400, 'description' => 'The Protocol(%s) parameter is invalid.'], + ['code' => 'IllegalParam.QueryTimeRange', 'message' => 'The specified query time range is too long. You can query data less than %s.', 'http_code' => 400, 'description' => 'The specified query time range is too long. You can query data less than% s.'], + ['code' => 'IllegalParam.Reachable', 'message' => 'The specified reachable (%s) is invalid. It must be one of the following: true, false, or null.', 'http_code' => 400, 'description' => 'The value of Reachable (%s) is invalid. Valid values: true, false, and null.'], + ['code' => 'IllegalParam.RegionId', 'message' => 'The specified region ID (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified region ID (%s) is invalid.'], + ['code' => 'IllegalParam.RegionId', 'message' => 'The specified RegionId parameter is illegal.', 'http_code' => 400, 'description' => 'The specified RegionId parameter is illegal.'], + ['code' => 'IllegalParam.regionId', 'message' => 'The specified RegionID (%s) is invalid.', 'http_code' => 400, 'description' => "\n" + ."\n" + .'The specified RegionID (%s) is invalid.'], + ['code' => 'IllegalParam.RegionId', 'message' => 'The specified parameter RegionId(%s) is illegal.', 'http_code' => 400, 'description' => 'RegionId parameter is illegal'], + ['code' => 'IllegalParam.RegionIdAndIpMap', 'message' => 'The specified RegionIdAndIpMap(%s) is invalid.', 'http_code' => 400, 'description' => 'The RegionIdAndIpMap(%s) parameter is set to an invalid value. You must set this parameter in JSON format. Set the key to a valid region and the value to IP addresses separated by commas (,).'], + ['code' => 'IllegalParam.RegionIdAndIpMap.Ips', 'message' => 'The specified (%s) in RegionIdAndIpMap is invalid, which should be ip address separated by comma.', 'http_code' => 400, 'description' => 'The (%s) of the RegionIdAndIpMap parameter is invalid. You must separate IP addresses with commas (,).'], + ['code' => 'IllegalParam.RegionIdAndIpMap.RegionId', 'message' => 'The specified (%s) in RegionIdAndIpMap is an invalid region.', 'http_code' => 400, 'description' => 'The (%s) of the RegionIdAndIpMap parameter is set to an invalid value.'], + ['code' => 'IllegalParam.RegionIdNotSupported', 'message' => 'The specified parameter RegionId(%s) is not supported.', 'http_code' => 400, 'description' => 'The specified parameter RegionId(%s) is not supported.'], + ['code' => 'IllegalParam.RegionIds', 'message' => 'The specified RegionIds (%s) is invalid.', 'http_code' => 400, 'description' => 'The RegionIds parameter is set to an invalid value.'], + ['code' => 'IllegalParam.RegionNo', 'message' => 'The specified parameter RegionNo(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified argument RegionNo(%s) is illegal.'], + ['code' => 'IllegalParam.RelationshipType', 'message' => 'The specified param of RelationshipType (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified RelationshipType (%s) is invalid.'], + ['code' => 'IllegalParam.ReportId', 'message' => 'The specified reportId (%s) may be not exist.', 'http_code' => 400, 'description' => 'Parameter reportId does not exist'], + ['code' => 'IllegalParam.ResourceId', 'message' => 'The specified resourceId (%s) may be not exist.', 'http_code' => 400, 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['code' => 'IllegalParam.ResourcePoolName', 'message' => 'The parameter ResourcePoolName is invalid.', 'http_code' => 400, 'description' => 'The value of ResourcePoolName is invalid.'], + ['code' => 'IllegalParam.ResourceType', 'message' => 'The specified resourceType (%s) is invalid.', 'http_code' => 400, 'description' => 'The value of ResourceType is invalid.'], + ['code' => 'IllegalParam.ResourceType', 'message' => 'The specified resourceType (%s) is not supported.', 'http_code' => 400, 'description' => 'The specified resource type is not supported.'], + ['code' => 'IllegalParam.ResourceType', 'message' => 'The specified argument ResourceType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified argument ResourceType(%s) is illegal.'], + ['code' => 'IllegalParam.ResourceType', 'message' => 'The specified ResourceType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified parameter ResourceType is illegal.'], + ['code' => 'IllegalParam.ResourceType', 'message' => 'The specified parameter ResourceType is illegal.', 'http_code' => 400, 'description' => 'The specified parameter ResourceType is illegal.'], + ['code' => 'IllegalParam.Retentions', 'message' => 'The specified Retentions(%s) argument is illegal.', 'http_code' => 400, 'description' => 'The specified Retentions(%s) argument is illegal.'], + ['code' => 'IllegalParam.RiskLevel', 'message' => 'The specified argument RiskLevel(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified argument RiskLevel(%s) is illegal.'], + ['code' => 'IllegalParam.RiskType', 'message' => 'The specified riskType (%s) is not supported.', 'http_code' => 400, 'description' => 'Illegal parameter riskType'], + ['code' => 'IllegalParam.ServiceOffline', 'message' => 'The service has been taken offline.', 'http_code' => 400, 'description' => 'The service has been taken offline.'], + ['code' => 'IllegalParam.Sort', 'message' => 'The specified Sort(%s) is invalid.', 'http_code' => 400, 'description' => 'Valid values for the sort field: desc and asc.'], + ['code' => 'IllegalParam.SourceAndTargetInternetIp', 'message' => 'Both source ID and target ID are IP addresses, but are not Internet IP addresses. Reachability Analyzer does not support the scenario.', 'http_code' => 400, 'description' => 'Both the source and destination are IP addresses, but not Alibaba Cloud public IP addresses. Reachability Analyzer supports only Alibaba Cloud public IP addresses.'], + ['code' => 'IllegalParam.SourceEqualTarget', 'message' => 'The specified source and destination are identical, which is not supported for analysis.', 'http_code' => 400, 'description' => 'The specified source and destination are the same, and analysis is not supported.'], + ['code' => 'IllegalParam.SourceId', 'message' => 'The specified SourceId(%s) may be not exist.', 'http_code' => 400, 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['code' => 'IllegalParam.SourceIp', 'message' => 'Please enter a valid source IP.', 'http_code' => 400, 'description' => 'Please enter a valid source IP'], + ['code' => 'IllegalParam.SourceIpAddress', 'message' => 'The specified SourceIpAddress(%s) is invalid.', 'http_code' => 400, 'description' => 'The SourceIpAddress(%s) parameter is invalid.'], + ['code' => 'IllegalParam.SourceNotBound', 'message' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', 'http_code' => 400, 'description' => 'Elastic public network IP() is not bound to resources, and analysis is not supported for the time being.'], + ['code' => 'IllegalParam.SourcePort', 'message' => 'The specified SourcePort(%s) value is invalid. The value must be within the range of (0,65536].', 'http_code' => 400, 'description' => 'The value of SourcePort is invalid. Valid values: 0 to 65536.'], + ['code' => 'IllegalParam.SourcePort', 'message' => 'The specified SourcePort(%s) is invalid.', 'http_code' => 400, 'description' => 'The SourcePort(%s) parameter is invalid.'], + ['code' => 'IllegalParam.SourceRegions', 'message' => 'SourceRegions Can be wrong.', 'http_code' => 400, 'description' => 'The Region parameter is incorrect. Please confirm whether the number of regions entered is incorrect (> 1), or the wrong RegionId is entered'], + ['code' => 'IllegalParam.SourceSubnet', 'message' => 'The request source network segment parameter (%s) is invalid.', 'http_code' => 400, 'description' => 'The request source network segment parameter (%s) is invalid.'], + ['code' => 'IllegalParam.SourceType', 'message' => 'The specified source type (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified source type (%s) is invalid.'], + ['code' => 'IllegalParam.SourceZones', 'message' => 'The param of SourceZones is illegal.', 'http_code' => 400, 'description' => 'The input source zone is invalid and may not match the RegionId.'], + ['code' => 'IllegalParam.Status', 'message' => 'The specified parameter Status(%s) is invalid, can only be Active or InActive.', 'http_code' => 400, 'description' => 'The specified parameter Status(%s) is invalid. It can only be Active or InActive.'], + ['code' => 'IllegalParam.Status', 'message' => 'The specified Status(%s) parameter is illegal.', 'http_code' => 400, 'description' => 'The specified Status(%s) parameter is illegal.'], + ['code' => 'IllegalParam.StatusNotInactive', 'message' => 'The specified TrafficAnalyzerId resource state (%s) is not stopped. Please stop and try again.', 'http_code' => 400, 'description' => 'The specified TrafficAnalyzerId resource state (%s) is not stopped. Please stop and try again.'], + ['code' => 'IllegalParam.StepMinutes', 'message' => 'The specified sampling interval (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified sampling interval (%s) is invalid.'], + ['code' => 'IllegalParam.StepMinutes', 'message' => 'The specified argument StepMinutes(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified argument StepMinutes(%s) is illegal.'], + ['code' => 'IllegalParam.StepMinutes', 'message' => 'The specified StepMinutes parameter value is illegal, only% s minutes of data precision is supported.', 'http_code' => 400, 'description' => 'The specified StepMinutes parameter value is illegal, only% s minutes of data precision is supported.'], + ['code' => 'IllegalParam.StepMinutes', 'message' => 'The specified StepMinutes parameter value is illegal, only %s minutes of data precision is supported.', 'http_code' => 400, 'description' => 'The specified StepMinutes parameter value is illegal, only %s minutes of data precision is supported.'], + ['code' => 'IllegalParam.StepMinutesAndTime', 'message' => 'In the current query time range, data precision of only% s minutes is supported to ensure performance.', 'http_code' => 400, 'description' => 'In the current query time range, data precision of only% s minutes is supported to ensure performance.'], + ['code' => 'IllegalParam.StepMinutesAndTime', 'message' => 'In the current query time range, data precision of only %s minutes is supported to ensure performance.', 'http_code' => 400, 'description' => 'In the current query time range, data precision of only %s minutes is supported to ensure performance.'], + ['code' => 'IllegalParam.SystemParam', 'message' => 'A system parameter was not specified. This problem occurs mostly when called through the SDK.', 'http_code' => 400, 'description' => 'A system parameter was not specified. This problem occurs mostly when called through the SDK.'], + ['code' => 'IllegalParam.TargetId', 'message' => 'The specified TargetId(%s) may be not exist.', 'http_code' => 400, 'description' => 'The specified instance (%s) may not exist. Check the spelling.'], + ['code' => 'IllegalParam.TargetIp', 'message' => 'The specified target ip (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified destination IP() is not in the correct format.'], + ['code' => 'IllegalParam.TargetNotBound', 'message' => 'Elastic public network IP(%s) is not bound to resources, and analysis is not supported for the time being.', 'http_code' => 400, 'description' => 'The elastic IP address (%s) is not associated with a resource. Analysis is not supported.'], + ['code' => 'IllegalParam.TargetPort', 'message' => 'The specified TargetPort(%s) value is invalid. The value must be within the range of (0,65536].', 'http_code' => 400, 'description' => 'The value of TargetPort is invalid. Valid values: 0 to 65536.'], + ['code' => 'IllegalParam.TargetType', 'message' => 'The specified target type (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified destination type () is invalid.'], + ['code' => 'IllegalParam.TaskId', 'message' => 'The specified taskId (%s) may be not exist.', 'http_code' => 400, 'description' => 'Parameter taskId does not exist'], + ['code' => 'IllegalParam.TaskId', 'message' => 'The specified TaskId(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'The specified TaskId(%s) parameter cannot be empty.'], + ['code' => 'IllegalParam.TaskStatus', 'message' => 'The specified taskStatus (%s) is not supported.', 'http_code' => 400, 'description' => 'The parameter taskStatus is not in the supported inspection task state.'], + ['code' => 'IllegalParam.ThisRegion', 'message' => 'The specified parameter thisRegion(%s) is illegal.', 'http_code' => 400, 'description' => 'ThisRegion is illegal.'], + ['code' => 'IllegalParam.TopN', 'message' => 'The TopN(%s) should not greater than 100.', 'http_code' => 400, 'description' => 'Only top 100 are supported. Actual input: (%s).'], + ['code' => 'IllegalParam.TrafficAnalyzerId', 'message' => 'The specified TrafficAnalyzerId(%s) argument is illegal.', 'http_code' => 400, 'description' => 'The specified TrafficAnalyzerId(%s) argument is illegal.'], + ['code' => 'IllegalParam.TriggerTime', 'message' => 'The specified triggerTime (%s) is not supported.', 'http_code' => 400, 'description' => 'Illegal parameter triggerTime'], + ['code' => 'IllegalParam.TupleDimension', 'message' => 'The specified TupleDimension(%s) argument is illegal.', 'http_code' => 400, 'description' => 'The specified TupleDimension(%s) argument is illegal.'], + ['code' => 'IllegalParam.TypeAndIdMismatch', 'message' => 'The specified instanceId (%s) and type do not match.', 'http_code' => 400, 'description' => 'The specified instanceId and its type do not match.'], + ['code' => 'IllegalParam.UnsupportedRegion', 'message' => 'The specified regionId(%s) is not supported.', 'http_code' => 400, 'description' => 'The specified region is not supported.'], + ['code' => 'IllegalParam.UnsupportedResourceType', 'message' => 'The specified parameter ResourceType(%s) is invalid, with a resource type that is not currently supported.', 'http_code' => 400, 'description' => 'The specified parameter ResourceType(%s) is invalid, with a resource type that is not currently supported.'], + ['code' => 'IllegalParam.UserNotActivated', 'message' => 'User (%s) did not provision service.', 'http_code' => 400, 'description' => 'User (%s) did not provision service.'], + ['code' => 'IllegalParam.UserOwesFees', 'message' => 'User (%s) is overdue.', 'http_code' => 400, 'description' => 'User (%s) is overdue.'], + ['code' => 'IllegalParam.VpnType', 'message' => '%s, and this type of instance is currently not supported.', 'http_code' => 400, 'description' => '%s. This instance type is not currently supported.'], + ['code' => 'IllegalParam.ZoneId', 'message' => 'The specified available zone (%s) is invalid.', 'http_code' => 400, 'description' => 'The specified zone (%s) is invalid.'], + ['code' => 'IllegalParameter.StorageConfiguration', 'message' => 'The specified StorageConfiguration parameter is invalid. It is expected to be in JSON format with the specified project and logstore.', 'http_code' => 400, 'description' => 'The specified StorageConfiguration parameter is invalid. it is expected to be in json format with the specified project and logstore.'], + ['code' => 'IllegalParamFormat.ItemCodes', 'message' => 'The param format of %s is illegal.', 'http_code' => 400, 'description' => 'Parameter format is not correct'], + ['code' => 'IllegalParamFormat.MaxBytes', 'message' => 'The format of the specified parameter MaxBytes(%s) is not legal.', 'http_code' => 400, 'description' => 'The format of the specified parameter MaxBytes(%s) is not legal.'], + ['code' => 'IllegalParamFormat.MaxPackages', 'message' => 'The format of the specified parameter MaxPackages(%s) is not legal.', 'http_code' => 400, 'description' => 'The format of the specified parameter MaxPackages(%s) is not legal.'], + ['code' => 'IllegalParamFormat.MaxRoundTripTime', 'message' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.', 'http_code' => 400, 'description' => 'The format of the specified parameter MaxRoundTripTime(%s) is not legal.'], + ['code' => 'IllegalParamFormat.MinBytes', 'message' => 'The format of the specified parameter MinBytes(%s) is not legal.', 'http_code' => 400, 'description' => 'The format of the specified parameter MinBytes(%s) is not legal.'], + ['code' => 'IllegalParamFormat.MinPackages', 'message' => 'The format of the specified parameter MinPackages(%s) is not legal.', 'http_code' => 400, 'description' => 'The format of the specified parameter MinPackages(%s) is not legal.'."\n"], + ['code' => 'IllegalParamFormat.MinRoundTripTime', 'message' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.', 'http_code' => 400, 'description' => 'The format of the specified parameter MinRoundTripTime(%s) is not legal.'."\n"], + ['code' => 'IllegalParamSize.DestinationRegions', 'message' => 'The param size of DestinationRegions is %s, what is illegal.', 'http_code' => 400, 'description' => 'DestinationRegions input parameter quantity (%s) is illegal, please confirm whether it is empty or exceeds the quantity limit'], + ['code' => 'IllegalParamSize.SourceRegions', 'message' => 'The param size of SourceRegions is %s, what is illegal.', 'http_code' => 400, 'description' => 'SourceRegions input parameter quantity (%s) is illegal, please confirm whether it is empty or exceeds the quantity limit'], + ['code' => 'IncorrectBusinessStatus.AliyunServiceRoleForNis', 'message' => 'The operation is not allowed before creating ServiceLinkedRole:%s.', 'http_code' => 400, 'description' => 'Before you call this operation, we recommend that you create the service-linked role: %s.'], + ['code' => 'IncorrectStatus.flowlog', 'message' => 'This action is not allowed in the current flow log status.', 'http_code' => 400, 'description' => 'The current status does not allow this operation, please try again later.'], + ['code' => 'IncorrectStatus.InspectionReportNotFinish', 'message' => 'The specified task report InspectionReportId(%s) has not been completed.', 'http_code' => 400, 'description' => 'The specified task report InspectionReportId(%s) has not been completed.'], + ['code' => 'IncorrectStatus.InspectionTaskIsRunning', 'message' => 'The specified task InspectionTaskId(%s) is in progress and cannot be closed.', 'http_code' => 400, 'description' => 'The specified task InspectionTaskId(%s) is in progress and cannot be closed.'], + ['code' => 'IncorrectStatus.InspectionTaskNotActive', 'message' => 'The specified task InspectionTaskId(%s) is not active and cannot be executed.', 'http_code' => 400, 'description' => 'The specified task InspectionTaskId(%s) is not open and cannot be executed.'], + ['code' => 'IncorrectStatus.InspectionTaskNotInactive', 'message' => 'The specified task InspectionTaskId(%s) is not closed and cannot be deleted.', 'http_code' => 400, 'description' => 'The specified task InspectionTaskId(%s) is not closed and cannot be deleted.'], + ['code' => 'IncorrectStatus.InspectionTaskNotInactive', 'message' => 'The specified task InspectionTaskId(%s) is not closed and cannot be opened.', 'http_code' => 400, 'description' => 'The specified task InspectionTaskId(%s) is not closed and cannot be opened.'], + ['code' => 'IncorrectStatus.NetworkPath', 'message' => 'The last analysis status of %s is %s. Please try again later.', 'http_code' => 400, 'description' => 'The Reachability Analyzer task %s is not completed. Try again after the task is completed.'], + ['code' => 'IncorrectStatus.ResourceId', 'message' => 'The %s has %s diagnosis task. Please try again later.', 'http_code' => 400, 'description' => 'The instance %s has unfinished diagnostic tasks, try again later.'], + ['code' => 'IncorrectStatus.ResourceIdJustFinish', 'message' => 'Wait for at least one minute after the diagnosis (%s) of the resource ID is finished, and then try again.', 'http_code' => 400, 'description' => 'The diagnostic task (%s) just finished. Wait at least 1 minute and try again later.'], + ['code' => 'IncorrectStatus.TaskId', 'message' => 'The current state of the specified TaskId(%s) does not support modification. Please try again later.', 'http_code' => 400, 'description' => 'The current state of the specified TaskId(%s) does not support modification. Please try again later.'], + ['code' => 'IncorrectStatus.TrafficAnalyzerId', 'message' => 'TrafficAnalyzerId (%s) is not in a valid status.', 'http_code' => 400, 'description' => 'TrafficAnalyzerId(%s) is not valid.'], + ['code' => 'Insufficient.Balance', 'message' => 'Your account available limit is less than 0, please recharge before trying to purchase.', 'http_code' => 400, 'description' => 'Your account available limit is less than 0, please recharge before trying to purchase.'], + ['code' => 'InvalidInstanceIds.NotFound', 'message' => 'The instanceIds are not found', 'http_code' => 400, 'description' => 'The specified InstanceIds are invalid.'], + ['code' => 'InvalidInstanceType.NotFound', 'message' => 'The instance type is not found', 'http_code' => 400, 'description' => 'The specified InstanceType is invalid.'], + ['code' => 'InvalidParameter.TagKey', 'message' => 'The Tag.N.Key parameter is invalid.', 'http_code' => 400, 'description' => 'The Key parameter of the tag is invalid.'], + ['code' => 'InvalidParameter.TagValue', 'message' => 'The Tag.N.Value parameter is invalid.', 'http_code' => 400, 'description' => 'The Value parameter of the tag is invalid.'], + ['code' => 'InvalidParameter.TrAttachment', 'message' => 'Can not find related resources from input tr-attachment id.', 'http_code' => 400, 'description' => 'The associated resource cannot be found through the cross-region connection instance you entered.'], + ['code' => 'InvalidResourceType.NotFound', 'message' => 'The resource type is not found', 'http_code' => 400, 'description' => 'The specified ResourceType is invalid.'], + ['code' => 'InvalidTagKey', 'message' => 'The tag keys are not valid.', 'http_code' => 400, 'description' => 'The specified TagKey is invalid.'], + ['code' => 'InvalidTagValue', 'message' => 'The tag values are not valid.', 'http_code' => 400, 'description' => 'The specified TagValue is invalid.'], + ['code' => 'ItemCode.NotFound', 'message' => 'The specified itemCode of %s is not found.', 'http_code' => 404, 'description' => 'The parameter ItemCode does not exist.'], + ['code' => 'ItemCode.NotFound', 'message' => 'The specified ItemCode is not found.', 'http_code' => 404, 'description' => 'Parameter ItemCode does not exist'], + ['code' => 'Mismatch.BeginTime', 'message' => 'Missing parameter BeginTime', 'http_code' => 400, 'description' => 'The BeginTime parameter is not set.'], + ['code' => 'Mismatch.BeginTimeAndEndTime', 'message' => 'The specified begin time must be earlier than the end time.', 'http_code' => 400, 'description' => 'The specified start time must be earlier than the end time.'], + ['code' => 'Mismatch.SourceIdAndTargetId', 'message' => 'Reachability Analyzer does not support the scenario in which source and target Internet IP addresses and ECS instance ID (%s and %s) are bound.', 'http_code' => 400, 'description' => 'Reachability Analyzer does not support the scenario in which the public IP addresses of the source and destination are associated with the ECS instance (%s and %s).'], + ['code' => 'MismatchParameter.TrAttachmentAndRegion', 'message' => 'The tr attachment id can not match the regionId.', 'http_code' => 400, 'description' => 'The cross-domain connection instance entered does not match the regionId.'], + ['code' => 'MissingParam', 'message' => 'The parameter %s is empty.', 'http_code' => 400, 'description' => 'The parameter %s is empty.'], + ['code' => 'MissingParam.AnalysisLogs', 'message' => 'The specified AnalysisLogs(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'AnalysisLogs cannot be empty'], + ['code' => 'MissingParam.AnalysisSettings', 'message' => 'The AnalysisSettings(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'The AnalysisSettings(%s) parameter cannot be empty.'], + ['code' => 'MissingParam.BeginTime', 'message' => 'The parameter BeginTime(%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter BeginTime(%s) cannot be empty.'], + ['code' => 'MissingParam.Dimensions.Direction', 'message' => 'The parameter Dimensions.Direction(%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter Dimensions.Direction(%s) cannot be empty.'], + ['code' => 'MissingParam.Dimensions.RegionId', 'message' => 'The parameter Dimensions.RegionId(%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter Dimensions.RegionId(%s) cannot be empty.'], + ['code' => 'MissingParam.Dimensions.TrafficAnalyzerId', 'message' => 'The parameter Dimensions.TrafficAnalyzerId(%) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter Dimensions.TrafficAnalyzerId(%) cannot be empty.'], + ['code' => 'MissingParam.Dimensions.TrafficScenario', 'message' => 'The Dimensions.TrafficScenario(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'The Dimensions.TrafficScenario(%s) parameter cannot be empty.'], + ['code' => 'MissingParam.Dimensions.TupleDimension', 'message' => 'The parameter Dimensions.TupleDimension(%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter Dimensions.TupleDimension(%s) cannot be empty.'], + ['code' => 'MissingParam.EnableAndIntervalEmpty', 'message' => 'The specified parameter LogAggregationInterval and EnableNISTrafficAnalyzer cannot be both empty.', 'http_code' => 400, 'description' => 'The specified parameter LogAggregationInterval and EnableNISTrafficAnalyzer cannot both be empty.'], + ['code' => 'MissingParam.EndTime', 'message' => 'The parameter EndTime(%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter EndTime(%s) cannot be empty.'], + ['code' => 'MissingParam.IdleCountModelList', 'message' => 'You must specify IdleCountModelList.', 'http_code' => 404, 'description' => 'The required parameter IdleCountModelList is not set.'], + ['code' => 'MissingParam.Interval', 'message' => 'The specified Interval(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'Interval cannot be empty'], + ['code' => 'MissingParam.MetricType', 'message' => 'The param of MetricType is missing.', 'http_code' => 400, 'description' => 'Missing MetricType parameter.'], + ['code' => 'MissingParam.Period', 'message' => 'You must specify Period.', 'http_code' => 404, 'description' => 'The required parameter Period is not set.'], + ['code' => 'MissingParam.ProductId', 'message' => 'You must specify ProductId.', 'http_code' => 404, 'description' => 'The required parameter ProductId is not set.'], + ['code' => 'MissingParam.regionId', 'message' => 'The param of regionId is missing.', 'http_code' => 400, 'description' => 'Please enter RegionId'], + ['code' => 'MissingParam.RegionId', 'message' => 'The param of regionId is missing.', 'http_code' => 400, 'description' => 'Please enter RegionId'."\n"], + ['code' => 'MissingParam.Retentions', 'message' => 'The Retentions(%s) parameter cannot be empty.', 'http_code' => 400, 'description' => 'The Retentions(%s) parameter cannot be empty.'], + ['code' => 'MissingParam.TrafficPath', 'message' => 'The specified TrafficPath parameter cannot be empty.', 'http_code' => 400, 'description' => 'The specified TrafficPath parameter cannot be empty.'], + ['code' => 'MissingParam.TrafficType', 'message' => 'The specified TrafficType parameter cannot be empty.', 'http_code' => 400, 'description' => 'The specified TrafficType parameter cannot be empty.'], + ['code' => 'MissingParam.TupleDimension', 'message' => 'The specified TupleDimension parameter cannot be empty.', 'http_code' => 400, 'description' => 'The specified TupleDimension parameter cannot be empty.'], + ['code' => 'MissingParameter.ResourceIdsOrTags', 'message' => 'ResourceId and Tag cannot be empty at the same time.', 'http_code' => 400, 'description' => 'ResourceId and Tag cannot be null at the same time.'], + ['code' => 'MissingParameter.TagKey', 'message' => 'You must specify Tag.N.Key.', 'http_code' => 400, 'description' => 'The Key of the Tag must be specified.'], + ['code' => 'MissingParameter.TagValue', 'message' => 'You must specify Tag.N.Value.', 'http_code' => 400, 'description' => 'The Value of the Tag must be specified.'], + ['code' => 'NoPermission.Account', 'message' => 'The accountId is not a member of the user\'s account.', 'http_code' => 403, 'description' => 'Cross-account is not a member account of the user.'], + ['code' => 'NoPermission.Uid', 'message' => 'The uid is not DA or MA.', 'http_code' => 403, 'description' => 'User is not an administrator or a delegated administrator'], + ['code' => 'NotSupported.Instance', 'message' => '%s, and this type of instance is currently not supported.', 'http_code' => 400, 'description' => 'This type of instance is not currently supported.'], + ['code' => 'NumberExceed.Tags', 'message' => 'The maximum number of Tags is exceeded.', 'http_code' => 400, 'description' => 'The maximum number of tags has been exceeded.'], + ['code' => 'OperationDenied.NetworkReachableAnalysis', 'message' => 'The operation is not allowed because of invalid parameters.', 'http_code' => 400, 'description' => 'The request has invalid parameters. The current operation is not allowed.'], + ['code' => 'OperationDenied.NisTrafficRankingId', 'message' => 'The specified parameter NisTrafficRankingId(%s) user does not have permission to operate.', 'http_code' => 403, 'description' => 'The specified parameter NisTrafficRankingId(%s) user does not have permission to operate.'], + ['code' => 'OperationDenied.NtaStop', 'message' => 'Refuse to stop the operation. There are instances in the traffic analyzer that enable flow logs.', 'http_code' => 400, 'description' => 'Refuse to stop the operation. There are instances in the traffic analyzer that enable flow logs.'], + ['code' => 'OperationDenied.TaskId', 'message' => 'The specified parameter TaskId(%s) user does not have permission to operate.', 'http_code' => 403, 'description' => 'The specified parameter TaskId(%s) user does not have permission to operate.'."\n"], + ['code' => 'OperationDenied.TaskNotComplete', 'message' => 'Task(%s) not completed.', 'http_code' => 400, 'description' => 'Task not completed'], + ['code' => 'OperationDenied.ZonesConflict', 'message' => 'The specified available zones do not belong to the same region.', 'http_code' => 400, 'description' => 'The specified zones do not belong to the same region.'], + ['code' => 'OperationFailed.CloseNonPublicFlowAnalysis', 'message' => 'The operation(%s) is failed.', 'http_code' => 500, 'description' => 'The %s operation failed. Try again later or submit a ticket.'], + ['code' => 'OperationFailed.DataToMuch', 'message' => 'Too many simultaneous times or memory limitations.', 'http_code' => 400, 'description' => 'Too many simultaneous times or memory limitations.'], + ['code' => 'OperationFailed.DataTooMuch', 'message' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.', 'http_code' => 400, 'description' => 'Too much data has been queried under the specified conditions. Shorten the query time, specify more precise filtering conditions, or try again later.'], + ['code' => 'OperationFailed.DbConcurrentTooHigh', 'message' => 'The operation failed due to too many concurrent queries in DB. Please try again.', 'http_code' => 400, 'description' => 'The operation failed due to too many concurrent queries in DB. Please try again.'], + ['code' => 'OperationFailed.DbConcurrentTooHigh', 'message' => 'The operation failed due to too many concurrent queries. Please try again later.', 'http_code' => 400, 'description' => 'The operation failed because there are too many current users. Please try again later.'], + ['code' => 'OperationFailed.ExceedPurchaseLimit', 'message' => 'You have reached the limit of purchase quantity.', 'http_code' => 400, 'description' => 'The quantity you want to purchase exceeds the remaining available quota. Select a different quantity.'], + ['code' => 'OperationFailed.ExceedPurchaseLimit', 'message' => 'Your current purchase quantity exceeds the available quantity margin, please re-select the quantity.', 'http_code' => 400, 'description' => 'Your current purchase quantity exceeds the available quantity margin, please re-select the quantity.'], + ['code' => 'OperationFailed.InternalError', 'message' => 'An internal error occurred.', 'http_code' => 400, 'description' => 'An internal error occurred.'], + ['code' => 'OperationFailed.InvokeApi', 'message' => 'Failed to invoke the API operation.', 'http_code' => 400, 'description' => 'Failed to call the API operation.'], + ['code' => 'OperationFailed.NoPermission', 'message' => 'You are not authorized to call the API operation.', 'http_code' => 400, 'description' => 'You do not have the permissions to call this operation.'], + ['code' => 'OperationFailed.NotSupport', 'message' => 'Do not support you to buy this product.', 'http_code' => 400, 'description' => 'Do not support you to buy this product.'], + ['code' => 'OperationFailed.OpenNonPublicFlowAnalysis', 'message' => 'The operation(%s) is failed.', 'http_code' => 500, 'description' => 'The %s operation failed. Try again later or submit a ticket.'], + ['code' => 'OperationFailed.ProductInfo', 'message' => 'Failed to obtain product information.', 'http_code' => 400, 'description' => 'Failed to obtain product information.'], + ['code' => 'OperationFailed.QueryIpPoolFailed', 'message' => 'Failed to query IP resource pool.', 'http_code' => 400, 'description' => 'Failed to query the IP resource repository.'], + ['code' => 'OperationFailed.ServiceOverloaded', 'message' => 'The number of relative resources has exceeded the service limit.', 'http_code' => 503, 'description' => 'Too much data is queried under the specified conditions. Reduce the number of resource relationship query layers (Depth), specify a more precise query relationship, and then try again.'], + ['code' => 'OperationFailed.UnableToPurchase', 'message' => 'The product code does not have the product tag on the cloud of the group and cannot be purchased (it is recommended to purchase pay-as-you-go products in the group internal scenario to avoid the release of the package year and the package month).', 'http_code' => 400, 'description' => 'The product code does not have the product tag on the cloud of the group and cannot be purchased (it is recommended to purchase pay-as-you-go products in the group internal scenario to avoid the release of the package year and the package month)'], + ['code' => 'OptInRequired.FlowLog', 'message' => 'You are not authorized to use the requested service of flowLog.', 'http_code' => 400, 'description' => 'You do not have permission to use VPC flow logs. The VPC flow log may not be enabled.'], + ['code' => 'OptInRequired.FlowLogService', 'message' => 'The flow log service has not been activated. Please activate it and try again.', 'http_code' => 400, 'description' => 'The flow log service has not been activated. Please activate it and try again.'], + ['code' => 'ParameterCenInstanceId', 'message' => 'The specified CEN instance id does not exist.', 'http_code' => 404, 'description' => 'The specified CEN instance ID does not exist.'], + ['code' => 'QuotaExceeded.AnalysisLogs', 'message' => 'The AnalysisLogs cannot exceed 100.', 'http_code' => 400, 'description' => 'The AnalysisLogs cannot exceed 100'], + ['code' => 'QuotaExceeded.FlowLogCountQuota', 'message' => 'The FlowLog quantity has reached the quota limit (current quantity:%s). To increase the quota, go to the quota center to apply (https://quotas.console.aliyun.com/products/vpc/quotas).', 'http_code' => 400, 'description' => 'The FlowLog quantity has reached the quota limit (current quantity:%s). To increase the quota, go to the quota center to apply (https://quotas.console.aliyun.com/products/vpc/quotas?query=flowlog).'], + ['code' => 'QuotaExceeded.MaxNraCount', 'message' => 'The maximum number of reachability analysis task is exceeded.', 'http_code' => 400, 'description' => 'The number of saved Reachability Analyzer tasks exceeds the upper limit.'], + ['code' => 'QuotaExceeded.NetworkPath', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => 'The specified number of network paths exceeds the upper limit. Usage: %s/%s.'], + ['code' => 'QuotaExceeded.ParallelDiagnosisLimit', 'message' => 'The number of parallel diagnostic tasks exceeds the upper limit.', 'http_code' => 400, 'description' => 'The number of parallel diagnostic tasks has exceeded the specification.'], + ['code' => 'QuotaExceeded.ParallelInspectionLimit', 'message' => 'The quota of %s is exceeded, usage %s, limit %s.', 'http_code' => 400, 'description' => 'Inspection object exceeds quota'], + ['code' => 'QuotaExceeded.ParallelNraLimit', 'message' => 'The maximum number of parallel reachability analysis task is exceeded.', 'http_code' => 400, 'description' => 'The number of parallel Reachability Analyzer tasks exceeds the upper limit.'], + ['code' => 'Rd.Absent.Error', 'message' => 'Permission denied,current user is not in RD.', 'http_code' => 404, 'description' => 'The multi-account access mode is being used, but the current account has not opened the resource directory, and the access is denied. Use Resource Directory Administrator to access or exit multi-account mode'], + ['code' => 'ResourceAlreadyAssociated.NatGatewayId', 'message' => 'The TopN feature has been enabled for the NAT gateway (%s).', 'http_code' => 400, 'description' => 'The TopN feature is already enabled for the NAT gateway (%s). You do not need to enable the feature again.'], + ['code' => 'ResourceAlreadyExist.AliUid', 'message' => 'The specified inspection task of %s already exists.', 'http_code' => 400, 'description' => 'The user\'s inspection task already exists.'], + ['code' => 'ResourceAlreadyExist.NetworkPath', 'message' => 'The specified resource of %s already exists.', 'http_code' => 400, 'description' => 'The specified network path configuration %s already exists.'], + ['code' => 'ResourceAlreadyExist.SourceVpc', 'message' => 'This feature has already been enabled for the VPC (%s).', 'http_code' => 400, 'description' => 'This feature is already enabled for VPC %s.'], + ['code' => 'ResourceNotFound.AnalysisTaskIds', 'message' => 'The instance resource (%s) does not exist.', 'http_code' => 404, 'description' => 'The instance resource (%s) does not exist.'], + ['code' => 'ResourceNotFound.CommodityCode', 'message' => 'The specified Commodity ID (%s) is not be activated.', 'http_code' => 400, 'description' => 'The specified product (%s) cannot be disabled because the product is not activated.'], + ['code' => 'ResourceNotFound.CommodityCode', 'message' => '%s can not be deactivated because it has not been activated.', 'http_code' => 404, 'description' => 'Failed to disable service %s because the service is not activated.'], + ['code' => 'ResourceNotFound.DataSourceId', 'message' => 'The resource (%s) information does not exist.', 'http_code' => 404, 'description' => 'The resource (%s) information does not exist.'], + ['code' => 'ResourceNotFound.DiagnosisReportId', 'message' => 'The specified resource of %s is not found.', 'http_code' => 404, 'description' => 'The specified diagnostic report ID %s is invalid.'], + ['code' => 'ResourceNotFound.DiagnosisReportIds', 'message' => 'The resource (%s) does not exist.', 'http_code' => 404, 'description' => 'The resource (%s) does not exist.'], + ['code' => 'ResourceNotFound.DiagnosisTask', 'message' => 'The specified resource of %s is not found.', 'http_code' => 404, 'description' => 'The specified diagnostic task ID %s does not exist.'], + ['code' => 'ResourceNotFound.Flowlog', 'message' => 'The specified resource does not exist.', 'http_code' => 400, 'description' => 'The specified resource does not exist.'], + ['code' => 'ResourceNotFound.InsightId', 'message' => 'The specified InsightId(%s) parameter does not exist.', 'http_code' => 404, 'description' => 'The specified InsightId(%s) parameter does not exist.'], + ['code' => 'ResourceNotFound.InspectionReportId', 'message' => 'The specified InspectionReportId(%s) is not found.', 'http_code' => 404, 'description' => 'The specified InspectionReportId (%s) does not exist.'], + ['code' => 'ResourceNotFound.InspectionResource', 'message' => 'The specified InspectionTaskId(%s) resource does not exist.', 'http_code' => 404, 'description' => 'The specified InspectionTaskId(%s) resource does not exist.'], + ['code' => 'ResourceNotFound.InspectionTaskId', 'message' => 'The specified InspectionTaskId(%s) is not found.', 'http_code' => 404, 'description' => 'The specified InspectionTaskId (%s) does not exist.'], + ['code' => 'ResourceNotFound.InstanceId', 'message' => 'The specified InstanceId(%s) does not exist.', 'http_code' => 404, 'description' => 'The specified InstanceId does not exist.'], + ['code' => 'ResourceNotFound.InstanceId2', 'message' => 'The parameter InstanceId2(%s) instance resource specified does not exist.', 'http_code' => 404, 'description' => 'The parameter InstanceId2(%s) instance resource specified does not exist.'], + ['code' => 'ResourceNotFound.IpSets', 'message' => 'The specified instance does not exist or does not have any acceleration region.', 'http_code' => 404, 'description' => 'The specified instance does not exist or does not have any acceleration region.'], + ['code' => 'ResourceNotFound.MappingId', 'message' => 'The resource (%s) does not exist.', 'http_code' => 404, 'description' => 'The resource (%s) does not exist.'], + ['code' => 'ResourceNotFound.NetworkPath', 'message' => 'The specified resource of %s is not found.', 'http_code' => 400, 'description' => 'The specified network path %s does not exist.'], + ['code' => 'ResourceNotFound.NetworkPathId', 'message' => 'The instance resource (%s) does not exist.', 'http_code' => 404, 'description' => 'The instance resource (%s) does not exist.'], + ['code' => 'ResourceNotFound.NetworkReachableAnalysis', 'message' => 'The specified resource of %s is not found.', 'http_code' => 404, 'description' => 'The specified network path ID %s is invalid.'], + ['code' => 'ResourceNotFound.NetworkReachableAnalysisId', 'message' => 'The instance resource (%s) does not exist.', 'http_code' => 404, 'description' => 'The resource (%s) does not exist.'], + ['code' => 'ResourceNotFound.NisTrafficRankingId', 'message' => 'The specified parameter NisTrafficRankingId(%s) does not exist.', 'http_code' => 404, 'description' => 'The specified parameter NisTrafficRankingId(%s) does not exist.'], + ['code' => 'ResourceNotFound.RecommendationCode', 'message' => 'The specified parameter RecommendationCode(%s) does not exist.', 'http_code' => 404, 'description' => 'The specified parameter RecommendationCode(%s) does not exist.'], + ['code' => 'ResourceNotFound.ReportId', 'message' => 'The instance resource (%s) does not exist.', 'http_code' => 404, 'description' => 'The instance resource (%s) does not exist'], + ['code' => 'ResourceNotFound.ResourceId', 'message' => 'The instance resource (%s) does not exist.', 'http_code' => 404, 'description' => 'The instance (%s) resource does not exist.'], + ['code' => 'ResourceNotFound.TaskId', 'message' => 'The specified TaskId(%s) parameter does not exist.', 'http_code' => 400, 'description' => 'The specified TaskId(%s) parameter does not exist.'], + ['code' => 'ResourceNotFound.TaskId', 'message' => 'The specified parameter TaskId(%s) does not exist.', 'http_code' => 404, 'description' => 'The specified parameter TaskId(%s) does not exist.'], + ['code' => 'ResourceNotFound.Tr.Vpc', 'message' => 'No ENI is available under the VPC covered by this Intra-region traffic analysis.', 'http_code' => 400, 'description' => 'No ENI is available under the VPC covered by this Intra-region traffic analysis.'], + ['code' => 'ResourceNotFound.TrafficAnalyzerId', 'message' => 'The specified TrafficAnalyzerId(%s) resource does not exist.', 'http_code' => 400, 'description' => 'The specified TrafficAnalyzerId(%s) resource does not exist.'], + ['code' => 'ResourceNotFound.TrafficAnalyzerId', 'message' => 'The specified resource TrafficAnalyzerId(%s) does not exist.', 'http_code' => 404, 'description' => 'The specified resource TrafficAnalyzerId(%s) does not exist.'], + ['code' => 'ResourceNotSupport.Depth', 'message' => 'The specified Depth(%s) is invalid.', 'http_code' => 400, 'description' => 'The specified resource relationship level Depth(%s) exceeds the query limit.'], + ['code' => 'ResourceNotSupport.IP', 'message' => 'The specified IP(%s) does not exist.', 'http_code' => 400, 'description' => 'The specified IP (%s) does not exist.'], + ['code' => 'ResourceNotSupport.ResourceType', 'message' => 'The specified ResourceType(%s) is not invalid.', 'http_code' => 400, 'description' => 'The specified ResourceType(%s) does not support querying resource relationships.'], + ['code' => 'Route.Node.Expired', 'message' => 'The node is expired. Refresh the page.', 'http_code' => 400, 'description' => 'The node has expired, please refresh the page.'], + ['code' => 'SizeExceeds.DestinationRegions', 'message' => 'The length of the specified destination regions exceeds the limit.', 'http_code' => 400, 'description' => 'The specified number of destination regions exceeds the upper limit.'], + ['code' => 'SizeExceeds.DestinationZones', 'message' => 'The length of the specified destination zones exceeds the limit.', 'http_code' => 400, 'description' => 'The specified number of destination zones exceeds the upper limit.'], + ['code' => 'SizeExceeds.DiskCategories', 'message' => 'The length of the specified disk categories exceeds the limit.', 'http_code' => 400, 'description' => 'The specified number of disk categories exceeds the upper limit.'], + ['code' => 'SizeExceeds.MaxResults', 'message' => 'The value of maxResults exceeds the limit.', 'http_code' => 400, 'description' => 'The specified value of maxResults exceeds the upper limit.'], + ['code' => 'SizeExceeds.SourceRegions', 'message' => 'The length of the specified source regions exceeds the limit.', 'http_code' => 400, 'description' => 'The specified number of source regions exceeds the upper limit.'], + ['code' => 'SizeExceeds.SourceZones', 'message' => 'The length of the specified source zones exceeds the limit.', 'http_code' => 400, 'description' => 'The specified number of source zones exceeds the upper limit.'], + ['code' => 'SizeExceeds.Zones', 'message' => 'The length of the specified available zones exceeds the limit.', 'http_code' => 400, 'description' => 'The specified number of zones exceeds the upper limit.'], + ['code' => 'SystemBusy', 'message' => 'The system is busy. Please try again later.', 'http_code' => 400, 'description' => 'The system is busy. Try again later.'], + ['code' => 'SystemBusy', 'message' => 'The system is busy now. Please try again later.', 'http_code' => 500, 'description' => 'The system is busy. Please try again later.'], + ['code' => 'UnsupportedFeature.QueryTimeRange', 'message' => 'The specified query time range is too long. You can query data less than %s.', 'http_code' => 400, 'description' => 'The specified query time range is too long. You can query data less than% s.'."\n"], + ['code' => 'IllegalParam.Language', 'message' => 'Unsupported Language(%s) language type.', 'http_code' => 400, 'description' => 'Unsupported Language(%s) language type.'], + ['code' => 'MissingParam.TaskParameters', 'message' => 'The TaskParameters parameter cannot be empty.', 'http_code' => 400, 'description' => 'The TaskParameters parameter cannot be empty.'], + ['code' => 'MissingParam.SessionId', 'message' => 'The SessionId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The SessionId parameter cannot be empty.'], + ['code' => 'IllegalParam.Vote', 'message' => 'Vote(%s) user feedback type not supported.', 'http_code' => 400, 'description' => 'Vote(%s) user feedback type not supported.'], + ['code' => 'MissingParam.TaskType', 'message' => 'The TaskType parameter cannot be empty.', 'http_code' => 400, 'description' => 'The TaskType parameter cannot be empty.'], + ['code' => 'IllegalParam.MissingTimeRange', 'message' => 'The (StartTime,EndTime) time range must be passed in together.', 'http_code' => 400, 'description' => 'The (StartTime,EndTime) time range must be passed in together.'], + ['code' => 'IllegalParam.TaskType', 'message' => 'Unsupported TaskType(%s) task type.', 'http_code' => 400, 'description' => 'Unsupported TaskType(%s) task type.'], + ['code' => 'IllegalParam.Order', 'message' => 'Unsupported Order(%s) sort type.', 'http_code' => 400, 'description' => 'Unsupported Order(%s) sort type.'], + ['code' => 'IllegalParam.TaskParametersType', 'message' => 'Unsupported TaskParameters.Type(%s) task parameter type.', 'http_code' => 400, 'description' => 'Unsupported TaskParameters.Type(%s) task parameter type.'], + ['code' => 'Forbidden.CreateTask', 'message' => 'The user has a running task and creation is prohibited.', 'http_code' => 403, 'description' => 'The user has a running task and creation is prohibited.'], + ['code' => 'QuotaExceeded.SessionTask', 'message' => 'The current session has reached the maximum number of submitted tasks (%s).', 'http_code' => 400, 'description' => 'The current session has reached the maximum number of submitted tasks (%s).'], + ['code' => 'MissingParam.Value', 'message' => 'The Value parameter is not nullable.', 'http_code' => 400, 'description' => 'The Value parameter is not nullable.'], + ['code' => 'DuplicatedParam.Type', 'message' => 'The Type(%s) parameter is duplicate.', 'http_code' => 400, 'description' => 'The Type(%s) parameter is duplicate.'], + ['code' => 'IncorrectStatus.NtaInvalidOperationState', 'message' => 'The traffic analyzer is not started. Please start before binding the data source.', 'http_code' => 400, 'description' => 'The traffic analyzer is not started. Please start before binding the data source.'], + ['code' => 'IllegalParam.NtaNotOneTuple', 'message' => 'When binding a shared bandwidth, the traffic analyzer has at least one tuple for high-precision statistics and long-period statistics.', 'http_code' => 400, 'description' => 'When binding a shared bandwidth, the traffic analyzer has at least one tuple for high-precision statistics and long-period statistics.'], + ['code' => 'IncorrectStatus.NtaStatusInvalid', 'message' => 'Traffic Analyzer %s is currently at %s and does not support binding data sources.', 'http_code' => 400, 'description' => 'Traffic Analyzer% s is currently at% s and does not support binding data sources.'], + ['code' => 'IllegalParam.TrDataSourceVersion', 'message' => 'The Forwarding Router (TR) flow log version is too low. Traffic analysis is not supported.', 'http_code' => 400, 'description' => 'The Forwarding Router (TR) flow log version is too low. Traffic analysis is not supported.'], + ['code' => 'IllegalParam.Status', 'message' => 'Unsupported Status(%s) type.', 'http_code' => 400, 'description' => 'Unsupported Status(%s) type.'], + ['code' => 'IllegalParam.MonitorScopeType', 'message' => 'Unsupported MonitorScopeType(%s) type.', 'http_code' => 400, 'description' => 'Unsupported MonitorScopeType(%s) type.'], + ['code' => 'MissingParam.MetricSubscriptionId', 'message' => 'The MetricSubscriptionId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The MetricSubscriptionId parameter cannot be empty.'], + ['code' => 'MissingParam.FromAz', 'message' => 'The FromAz parameter is not nullable.', 'http_code' => 400, 'description' => 'The FromAz parameter is not nullable.'], + ['code' => 'IllegalParam.NameSpaceMetricType', 'message' => 'Unsupported NameSpaceMetricType(%s) type.', 'http_code' => 400, 'description' => 'Unsupported NameSpaceMetricType(%s) type.'], + ['code' => 'MissingParam.Type', 'message' => 'The Type parameter cannot be null or empty.', 'http_code' => 400, 'description' => 'The Type parameter cannot be null or empty.'], + ['code' => 'IllegalParamLength.Description', 'message' => 'The Description parameter exceeds the maximum length (%s) limit.', 'http_code' => 400, 'description' => 'The Description parameter exceeds the maximum length (%s) limit.'], + ['code' => 'OperationDenied.AliUid', 'message' => 'The current account (%s) does not have permission to operate on this subscription object (%s).', 'http_code' => 403, 'description' => 'The current account (%s) does not have permission to operate on this subscription object (%s).'], + ['code' => 'IllegalParam.Order', 'message' => 'Unsupported Order(%s) type.', 'http_code' => 400, 'description' => 'Unsupported Order(%s) type.'], + ['code' => 'MissingParam.MonitorScope', 'message' => 'The MonitorScope parameter cannot be empty.', 'http_code' => 400, 'description' => 'The MonitorScope parameter cannot be empty.'], + ['code' => 'ResourceNotFound.MetricSubscriptionIds', 'message' => 'The current resource MetricSubscriptionIds(%s) does not exist.', 'http_code' => 404, 'description' => 'The current resource MetricSubscriptionIds(%s) does not exist.'], + ['code' => 'MissingParam.NameSpace', 'message' => 'The NameSpace parameter cannot be empty.', 'http_code' => 400, 'description' => 'The NameSpace parameter cannot be empty.'], + ['code' => 'MissingParam.MetricType', 'message' => 'The MetricType parameter cannot be empty.', 'http_code' => 400, 'description' => 'The MetricType parameter cannot be empty.'], + ['code' => 'MissingParam.ToRegion', 'message' => 'The ToRegion parameter cannot be empty.', 'http_code' => 400, 'description' => 'The ToRegion parameter cannot be empty.'], + ['code' => 'IllegalParam.Type', 'message' => 'Unsupported Type(%s) type.', 'http_code' => 400, 'description' => 'Unsupported Type(%s) type.'], + ['code' => 'IncorrectStatus.EntityInstanceId', 'message' => 'The current resource EntityInstanceId(%s) state (%s) is not available for this operation.', 'http_code' => 400, 'description' => 'The current resource EntityInstanceId(%s) state (%s) is not available for this operation.'], + ['code' => 'IllegalParam.NextToken', 'message' => 'Unsupported NextToken(%s) type.', 'http_code' => 400, 'description' => 'Unsupported NextToken(%s) type.'], + ['code' => 'ResourceNotFound.MetricSubscriptionId', 'message' => 'The current resource MetricSubscriptionId(%s) does not exist.', 'http_code' => 404, 'description' => 'The current resource MetricSubscriptionId(%s) does not exist.'], + ['code' => 'MissingParam.MetricSubscriptionName', 'message' => 'The MetricSubscriptionName parameter cannot be empty.', 'http_code' => 400, 'description' => 'The MetricSubscriptionName parameter cannot be empty.'], + ['code' => 'MissingParam.Config', 'message' => 'The Config parameter cannot be null or empty.', 'http_code' => 400, 'description' => 'The Config parameter cannot be null or empty.'], + ['code' => 'MissingParam.FromRegion', 'message' => 'The FromRegion parameter cannot be empty.', 'http_code' => 400, 'description' => 'The FromRegion parameter cannot be empty.'], + ['code' => 'MissingParam.ToAz', 'message' => 'The ToAz parameter cannot be null or empty.', 'http_code' => 400, 'description' => 'The ToAz parameter cannot be null or empty.'], + ['code' => 'ResourceAlreadyExist.SubscriptionObject', 'message' => 'Duplicate configuration already exists for the subscription object.', 'http_code' => 400, 'description' => 'Duplicate configuration already exists for the subscription object.'], + ['code' => 'MissingParam.CbwpId', 'message' => 'The CbwpId filtered during the query cannot be empty.', 'http_code' => 400, 'description' => 'The CbwpId filtered during the query cannot be empty.'], + ['code' => 'IllegalParam.NtaNotOneTuple', 'message' => 'The traffic analyzer does not have a unary configured and cannot bind to shared bandwidth. Please configure the tuple before binding.', 'http_code' => 400, 'description' => 'The traffic analyzer does not have a unary configured and cannot bind to shared bandwidth. Please configure the tuple before binding.'], + ['code' => 'ResourceNotFound.TrafficAnalyzerIdOneTupleDimension', 'message' => 'The specified traffic analyzer does not have a corresponding one-element group storage configuration.', 'http_code' => 400, 'description' => 'The specified traffic analyzer does not have a corresponding tuple storage configuration.'], + ['code' => 'IllegalParam.NtaIdBindCbwpNeedOneTuple', 'message' => 'The traffic analyzer cannot cancel the unary group when binding the shared bandwidth data source.', 'http_code' => 400, 'description' => 'The traffic analyzer cannot cancel the unary group when binding the shared bandwidth data source.'], + ['code' => 'IllegalParam.NtaIdBindTrNotOnlyOneTuple', 'message' => 'When the traffic analyzer binds to the tr data source, you cannot configure only the one-tuple.', 'http_code' => 400, 'description' => 'When the traffic analyzer binds the tr data source, you cannot configure only the unary group.'], + ['code' => 'IllegalParam.SmartAlb', 'message' => 'The specified Application Type Load Balancing ALB(%s) is a Smart Edition and is not currently supported for such instances.', 'http_code' => 400, 'description' => 'The specified Application Type Load Balancing ALB(%s) is a Smart Edition and is not currently supported for such instances.'."\n"], + ['code' => 'ResourceNotFound.NtaNotStorageBucket', 'message' => 'The data source bound to the traffic analyzer does not have a corresponding storage configuration.', 'http_code' => 404, 'description' => 'The data source bound to the traffic analyzer does not have a corresponding storage configuration.'], + ['code' => 'InvalidParameter.ResourceType', 'message' => 'The ResourceType parameter (%s) is illegal.', 'http_code' => 400, 'description' => 'The parameter (%s) is illegal.'], + ['code' => 'IllegalParam.SDK.EndpointResolvingError', 'message' => 'the domain name called by the sdk is invalid.', 'http_code' => 400, 'description' => 'the domain name called by the sdk is invalid.'], + ['code' => 'IllegalParam.OppositeVpcId', 'message' => 'The request parameter (%s) is illegal.', 'http_code' => 400, 'description' => 'The request parameter (%s) is illegal.'], + ['code' => 'IllegalParam.TransitRouterId', 'message' => 'The request parameter (%s) is illegal.', 'http_code' => 400, 'description' => 'The request parameter (%s) is illegal.'], + ['code' => 'IllegalParam.VpcId', 'message' => 'The request parameter (%s) is illegal.', 'http_code' => 400, 'description' => 'The request parameter (%s) is illegal.'], + ['code' => 'IllegalParam.InspectionTaskId', 'message' => 'The specified argument InspectionTaskId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified argument InspectionTaskId(%s) is illegal.'], + ['code' => 'ResourceNotFound.NisMetricSubscriptionId', 'message' => 'The current resource NisMetricSubscriptionId(%s) does not exist.', 'http_code' => 400, 'description' => 'The current resource NisMetricSubscriptionId(%s) does not exist.'], + ['code' => 'IllegalParam.MetricType', 'message' => 'Unsupported MetricType(%s) type.', 'http_code' => 400, 'description' => 'Unsupported MetricType(%s) type.'], + ['code' => 'MissingParam.NisMetricSubscriptionId', 'message' => 'The NisMetricSubscriptionId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The NisMetricSubscriptionId parameter cannot be empty.'], + ['code' => 'IllegalParam.RelatedFieldsKey', 'message' => 'Unsupported RelatedFieldsKey(%s) type.', 'http_code' => 400, 'description' => 'Unsupported RelatedFieldsKey(%s) type.'], + ['code' => 'OptInRequired.Cms', 'message' => 'The user has not yet activated the (Cms) service.', 'http_code' => 400, 'description' => 'The user has not yet activated the (Cms) service.'], + ['code' => 'MissingParam.DeliveryRegion', 'message' => 'The DeliveryRegion parameter cannot be empty.', 'http_code' => 400, 'description' => 'The DeliveryRegion parameter cannot be empty.'], + ['code' => 'Forbidden'."\0".'.GetCmsService', 'message' => 'The user does not have permission to access the (cms:GetCmsService) service.', 'http_code' => 403, 'description' => 'The user does not have permission to access the (cms:GetCmsService) service.'], + ['code' => 'IncorrectStatus.NisMetricSubscriptionId', 'message' => 'The current resource NisMetricSubscriptionId(%s) state (%s) is not available for this operation.', 'http_code' => 400, 'description' => 'The current resource NisMetricSubscriptionId(%s) state (%s) is not available for this operation.'], + ['code' => 'IllegalParam.NisMetricFieldName', 'message' => 'Unsupported NisMetricFieldName(%s) type.', 'http_code' => 400, 'description' => 'Unsupported NisMetricFieldName(%s) type.'], + ['code' => 'MissingParam.NisMetricFieldName', 'message' => 'The NisMetricFieldName parameter cannot be empty.', 'http_code' => 400, 'description' => 'The NisMetricFieldName parameter cannot be empty.'], + ['code' => 'IllegalParam.NameSpace', 'message' => 'Unsupported NameSpace(%s) type.', 'http_code' => 400, 'description' => 'Unsupported NameSpace(%s) type.'], + ['code' => 'IllegalParamLength.NisMetricSubscriptionName', 'message' => 'The NisMetricSubscriptionName parameter exceeds the maximum length (%s) limit.', 'http_code' => 400, 'description' => 'The NisMetricSubscriptionName parameter exceeds the maximum length (%s) limit.'], + ['code' => 'ResourceNotFound.NisMetricSubscriptionIds', 'message' => 'The current resource NisMetricSubscriptionIds(%s) does not exist.', 'http_code' => 400, 'description' => 'The current resource NisMetricSubscriptionIds(%s) does not exist.'], + ['code' => 'QuotaExceeded.DeliveryAliUid', 'message' => 'The maximum quota for user postings has been exceeded with% s/%s.', 'http_code' => 400, 'description' => 'The maximum quota for user postings has been exceeded with% s/%s.'], + ['code' => 'QuotaExceeded.DeliveryMonitorScope', 'message' => 'The maximum quota for MonitorScope delivery has been exceeded with% s/%s.', 'http_code' => 400, 'description' => 'The maximum quota for MonitorScope delivery has been exceeded with% s/%s.'], + ['code' => 'MissingParam.NisMetricSubscriptionName', 'message' => 'The NisMetricSubscriptionName parameter cannot be empty.', 'http_code' => 400, 'description' => 'The NisMetricSubscriptionName parameter cannot be empty.'], + ['code' => 'IllegalParam.AzToAzValue', 'message' => 'Unsupported value for Az pair (%s).', 'http_code' => 400, 'description' => 'Unsupported value for Az pair (%s).'], + ['code' => 'ResourceNotFound.NisMetricSubscriptionIds', 'message' => 'The current resource NisMetricSubscriptionIds(%s) does not exist.', 'http_code' => 404, 'description' => 'The current resource NisMetricSubscriptionIds(%s) does not exist.'], + ['code' => 'IllegalParam.DeliveryRegion', 'message' => 'Unsupported DeliveryRegion(%s) value.', 'http_code' => 400, 'description' => 'Unsupported DeliveryRegion(%s) value.'], + ['code' => 'IllegalParam.RegionToRegionValue', 'message' => 'Unsupported Region pair (%s) value.', 'http_code' => 400, 'description' => 'Unsupported Region pair (%s) value.'], + ['code' => 'ResourceNotFound.NisMetricSubscriptionId', 'message' => 'The current resource NisMetricSubscriptionId(%s) does not exist.', 'http_code' => 404, 'description' => 'The current resource NisMetricSubscriptionId(%s) does not exist.'], + ['code' => 'IllegalParam.NisMetricSubscriptionId', 'message' => 'Unsupported NisMetricSubscriptionId(%s) value.', 'http_code' => 400, 'description' => 'Unsupported NisMetricSubscriptionId(%s) value.'], + ['code' => 'IllegalParam'."\0".'.DescriptionLanguage', 'message' => 'Unsupported DescriptionLanguage(%s) type.', 'http_code' => 400, 'description' => 'Unsupported DescriptionLanguage(%s) type.'], + ['code' => 'Forbidden.GetPrometheusUserSetting', 'message' => 'The user does not have permission to access the (cms:GetPrometheusUserSetting) service.', 'http_code' => 403, 'description' => 'The user does not have permission to access the (cms:GetPrometheusUserSetting) service.'], + ['code' => 'UnsupportedRegion', 'message' => 'The current (%s) service does not support this (%s) region.', 'http_code' => 400, 'description' => 'The current (%s) service does not support this (%s) region.'], + ['code' => 'UnsupportedFeature.DestinationIp', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.CloudIp', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.SourceIp', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.DestinationPort', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.VpcId', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.VSwitchId', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.SourcePort', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.TrafficPath', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'UnsupportedFeature.Protocol', 'message' => 'Filtering by current field (%s) is not supported under this tuple.', 'http_code' => 400, 'description' => 'Filtering by current field (%s) is not supported under this tuple.'], + ['code' => 'ResourceAlreadyExist.SubscriptionObject', 'message' => 'Duplicate configuration already exists for subscription object (%s).', 'http_code' => 400, 'description' => 'Duplicate configuration already exists for subscription object (%s).'], + ['code' => 'QuotaExceeded.DeliveryMonitorScope', 'message' => 'The maximum quota for% s delivery has been exceeded with% s/%s.', 'http_code' => 400, 'description' => 'The maximum quota for% s delivery has been exceeded with% s/%s.'], + ['code' => 'IllegalParam.DescriptionLanguage', 'message' => 'Unsupported DescriptionLanguage(%s) type.', 'http_code' => 400, 'description' => 'Unsupported DescriptionLanguage(%s) type.'], + ['code' => 'QuotaExceeded.DeliveryMonitorScope', 'message' => 'The maximum quota for %s delivery has been exceeded with %s/%s.', 'http_code' => 400, 'description' => 'The maximum quota for %s delivery has been exceeded with %s/%s.'], + ['code' => 'IllegalParam.ownerId', 'message' => 'The param of ownerId is illegal.', 'http_code' => 400, 'description' => 'The parameter ownerId is illegal.'], + ['code' => 'IllegalParam.AttachmentType', 'message' => 'Unsupported AttachmentType(%s) type.', 'http_code' => 400, 'description' => 'Unsupported AttachmentType(%s) type.'], + ['code' => 'IllegalParam.MaxResults', 'message' => 'The specified parameter MaxResults is illegal.', 'http_code' => 400, 'description' => 'The specified parameter MaxResults is illegal.'], + ['code' => 'IllegalParam.Provider', 'message' => 'The specified parameter Provider(s%) is invalid.', 'http_code' => 400, 'description' => 'The specified parameter Provider(s%) is invalid.'], + ['code' => 'IllegalParam.RawPayload', 'message' => 'This parameter (%s) has exceeded the maximum length, please re-enter.', 'http_code' => 400, 'description' => 'This parameter (%s) has exceeded the maximum length, please re-enter.'], + ['code' => 'MissingParam.RawPayload', 'message' => 'The parameter (%s) is not nullable.', 'http_code' => 400, 'description' => 'The parameter (%s) is not nullable.'], + ['code' => 'MissingParam.AlertSource', 'message' => 'The parameter (%s) is not nullable.', 'http_code' => 400, 'description' => 'The parameter (%s) is not nullable.'], + ['code' => 'MissingParam.AliUid', 'message' => 'The current user cannot be empty.', 'http_code' => 400, 'description' => 'The current user cannot be empty.'], + ['code' => 'MissingParam.GroupBy', 'message' => 'The GroupBy parameter cannot be empty.', 'http_code' => 400, 'description' => 'The GroupBy parameter cannot be empty.'], + ['code' => 'OperationFailed.NoRealNameAuthentication', 'message' => 'You have not verified your real name.', 'http_code' => 400, 'description' => 'You have not verified your real name.'], + ['code' => 'NextToken.PAGE_SERVICE_ERROR', 'message' => 'Token is illegal, paging service error.', 'http_code' => 400, 'description' => 'Token is illegal, paging service error.'], + ['code' => 'IllegalParam.Title', 'message' => 'This parameter (%s) cannot be empty or longer than 256.', 'http_code' => 400, 'description' => 'This parameter (%s) cannot be empty or longer than 256.'], + ['code' => 'IllegalParam.ContextId', 'message' => 'The parameter (%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter (%s) cannot be empty.'], + ['code' => 'IllegalParam.Id', 'message' => 'The parameter (%s) cannot be empty.', 'http_code' => 400, 'description' => 'The parameter (%s) cannot be empty.'], + ['code' => 'IllegalParam.ResourceSelector.ResourceId', 'message' => 'The parameter ResourceId is invalid.', 'http_code' => 400, 'description' => 'Parameter ResourceId exception'], + ['code' => 'IllegalParam.ResourceSelector.ResourceType', 'message' => 'The parameter is illegal.', 'http_code' => 400, 'description' => 'Illegal parameter ResourceType'], + ['code' => 'IllegalParam.ResourceSelector.RegionId', 'message' => 'The param of ResourceSelector.ResourceId is illegal.', 'http_code' => 400, 'description' => 'Illegal parameter ResourceId'], + ['code' => 'IllegalParam.Minute', 'message' => 'The specified Minute(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Minute(%s) is illegal.'], + ['code' => 'IllegalParam.IntervalMinutes', 'message' => 'The specified IntervalMinutes(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified IntervalMinutes(%s) is illegal.'], + ['code' => 'OperationDenied.JobStatus', 'message' => 'The current job status does not allow this operation.', 'http_code' => 403, 'description' => 'The current job status does not allow this operation.'], + ['code' => 'QuotaExceeded.ScheduledJob', 'message' => 'The number of scheduled jobs exceeds the quota limit.', 'http_code' => 400, 'description' => 'The number of scheduled jobs exceeds the quota limit.'], + ['code' => 'IllegalParam.SkillId', 'message' => 'The SkillId must be an inspection or diagnose type.', 'http_code' => 400, 'description' => 'The SkillId must be an inspection or diagnose type.'], + ['code' => 'IllegalParam.DaysOfWeek', 'message' => 'The specified DaysOfWeek(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified DaysOfWeek(%s) is illegal.'], + ['code' => 'IllegalParam.Product', 'message' => 'The specified Product(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Product(%s) is illegal.'], + ['code' => 'IllegalParam.ChannelId', 'message' => 'The specified ChannelId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified ChannelId(%s) is illegal.'], + ['code' => 'IllegalParam.ScheduleType', 'message' => 'The specified ScheduleType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified ScheduleType(%s) is illegal.'], + ['code' => 'MissingParam.JobName', 'message' => 'The JobName parameter cannot be empty.', 'http_code' => 400, 'description' => 'The JobName parameter cannot be empty.'], + ['code' => 'IllegalParam.TemplateConfig', 'message' => 'The specified TemplateConfig(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified TemplateConfig(%s) is illegal.'], + ['code' => 'MissingParam.Time', 'message' => 'The Time parameter cannot be empty.', 'http_code' => 400, 'description' => 'The Time parameter cannot be empty.'], + ['code' => 'IllegalParam.Time', 'message' => 'The specified Time(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Time(%s) is illegal.'], + ['code' => 'MissingParam.ContextId', 'message' => 'The ContextId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The ContextId parameter cannot be empty.'], + ['code' => 'MissingParam.Date', 'message' => 'The Date parameter cannot be empty.', 'http_code' => 400, 'description' => 'The Date parameter cannot be empty.'], + ['code' => 'MissingParam.IntervalMinutes', 'message' => 'The IntervalMinutes parameter cannot be empty.', 'http_code' => 400, 'description' => 'The IntervalMinutes parameter cannot be empty.'], + ['code' => 'MissingParam.RunId', 'message' => 'The RunId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The RunId parameter cannot be empty.'], + ['code' => 'MissingParam.ChannelType', 'message' => 'The ChannelType parameter cannot be empty.', 'http_code' => 400, 'description' => 'The ChannelType parameter cannot be empty.'], + ['code' => 'IllegalParam.Status', 'message' => 'The specified Status(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Status(%s) is illegal.'], + ['code' => 'IllegalParam.TaskMode', 'message' => 'The specified TaskMode(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified TaskMode(%s) is illegal.'], + ['code' => 'MissingParam.Enabled', 'message' => 'The Enabled parameter cannot be empty.', 'http_code' => 400, 'description' => 'The Enabled parameter cannot be empty.'], + ['code' => 'MissingParam.Channels', 'message' => 'The Channels parameter cannot be empty.', 'http_code' => 400, 'description' => 'The Channels parameter cannot be empty.'], + ['code' => 'DuplicatedParam.Channel', 'message' => 'The Channel is duplicated.', 'http_code' => 400, 'description' => 'The Channel is duplicated.'], + ['code' => 'MissingParam.ChannelId', 'message' => 'The ChannelId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The ChannelId parameter cannot be empty.'], + ['code' => 'MissingParam.ScheduleType', 'message' => 'The ScheduleType parameter cannot be empty.', 'http_code' => 400, 'description' => 'The ScheduleType parameter cannot be empty.'], + ['code' => 'MissingParam.JobId', 'message' => 'The JobId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The JobId parameter cannot be empty.'], + ['code' => 'IllegalParam.EndTime', 'message' => 'The specified EndTime(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified EndTime(%s) is illegal.'], + ['code' => 'MissingParam.CustomConfig', 'message' => 'The CustomConfig parameter cannot be empty.', 'http_code' => 400, 'description' => 'The CustomConfig parameter cannot be empty.'], + ['code' => 'IllegalParam.SortBy', 'message' => 'The specified SortBy(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified SortBy(%s) is illegal.'], + ['code' => 'MissingParam.TemplateConfig', 'message' => 'The TemplateConfig parameter cannot be empty.', 'http_code' => 400, 'description' => 'The TemplateConfig parameter cannot be empty.'], + ['code' => 'IllegalParam.SortOrder', 'message' => 'The specified SortOrder(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified SortOrder(%s) is illegal.'], + ['code' => 'MissingParam.DaysOfWeek', 'message' => 'The DaysOfWeek parameter cannot be empty.', 'http_code' => 400, 'description' => 'The DaysOfWeek parameter cannot be empty.'], + ['code' => 'IllegalParam.TriggerType', 'message' => 'The specified TriggerType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified TriggerType(%s) is illegal.'], + ['code' => 'OperationDenied.AliUid', 'message' => 'The specified AliUid is not authorized to operate this resource.', 'http_code' => 403, 'description' => 'The specified AliUid is not authorized to operate this resource.'], + ['code' => 'IllegalParam.ChannelType', 'message' => 'The specified ChannelType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified ChannelType(%s) is illegal.'], + ['code' => 'IllegalParam.BeginTime', 'message' => 'The specified BeginTime(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified BeginTime(%s) is illegal.'], + ['code' => 'MissingParam.TaskMode', 'message' => 'The TaskMode parameter cannot be empty.', 'http_code' => 400, 'description' => 'The TaskMode parameter cannot be empty.'], + ['code' => 'IllegalParam.CustomConfig', 'message' => 'The specified CustomConfig(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified CustomConfig(%s) is illegal.'], + ['code' => 'MissingParam.DayOfMonth', 'message' => 'The DayOfMonth parameter cannot be empty.', 'http_code' => 400, 'description' => 'The DayOfMonth parameter cannot be empty.'], + ['code' => 'MissingParam.SkillId', 'message' => 'The SkillId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The SkillId parameter cannot be empty.'], + ['code' => 'MissingParam.ExecutionId', 'message' => 'The ExecutionId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The ExecutionId parameter cannot be empty.'], + ['code' => 'MissingParam.Minute', 'message' => 'The Minute parameter cannot be empty.', 'http_code' => 400, 'description' => 'The Minute parameter cannot be empty.'], + ['code' => 'QuotaExceeded.NotificationChannels', 'message' => 'The number of notification channels exceeds the quota limit.', 'http_code' => 400, 'description' => 'The number of notification channels exceeds the quota limit.'], + ['code' => 'IllegalParam.DayOfMonth', 'message' => 'The specified DayOfMonth(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified DayOfMonth(%s) is illegal.'], + ['code' => 'ResourceNotFound.JobId', 'message' => 'The specified JobId(%s) does not exist.', 'http_code' => 404, 'description' => 'The specified JobId(%s) does not exist.'], + ['code' => 'MissingParam.UserAuthId', 'message' => 'The UserAuthId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The UserAuthId parameter cannot be empty.'], + ['code' => 'IllegalParam.Date', 'message' => 'The specified Date(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified Date(%s) is illegal.'], + ['code' => 'IllegalParamLength.JobName', 'message' => 'The JobName exceeds the maximum length limit of 128.', 'http_code' => 400, 'description' => 'The JobName exceeds the maximum length limit of 128.'], + ['code' => 'IllegalParam.IntervalMinutesTooShort', 'message' => 'The IntervalMinutes must be at least 10.', 'http_code' => 400, 'description' => 'The IntervalMinutes must be at least 10.'], + ['code' => 'IllegalParam.TemplateConfigSkillCount', 'message' => 'The TemplateConfig can only contain one skill.', 'http_code' => 400, 'description' => 'The TemplateConfig can only contain one skill.'], + ['code' => 'IllegalParam.BizType', 'message' => 'The specified BizType(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified BizType(%s) is illegal.'], + ['code' => 'InvalidParameter', 'message' => 'Invalid parameter.', 'http_code' => 400, 'description' => 'Invalid parameter.'], + ['code' => 'ResourceNotFound.InspectionResource', 'message' => 'The current resource InspectionResource(%s) does not exist.', 'http_code' => 404, 'description' => 'The current resource InspectionResource(%s) does not exist.'], + ['code' => 'MissingParam.AgentTaskBindingId', 'message' => 'The AgentTaskBindingId parameter cannot be empty.', 'http_code' => 400, 'description' => 'The AgentTaskBindingId parameter cannot be empty.'], + ['code' => 'IllegalParam.BizId', 'message' => 'The specified BizId(%s) is illegal.', 'http_code' => 400, 'description' => 'The specified BizId(%s) is illegal.'], + ['code' => 'IllegalParam.ActionParam', 'message' => 'Illegal parameter ActionParam.', 'http_code' => 400, 'description' => 'Illegal parameter ActionParam.'], + ['code' => 'NidUnknownError', 'message' => 'The NID service is not available.', 'http_code' => 400, 'description' => 'The NID service is not available.'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNetworkPath'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAndAnalyzeNetworkPath'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNetworkPath'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVbrFlowTopN'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNetworkReachableAnalysis'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNisNetworkRanking'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNetworkReachableAnalysis'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNetworkReachableAnalysis'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetTransitRouterFlowTopN'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNisNetworkMetrics'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetNatTopN'], + ['threshold' => '10', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetInternetTuple'], + ], + ], + 'ram' => [ + 'productCode' => 'NIS', + 'productName' => 'Network Intelligence Service', + 'ramCodes' => ['nis'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetNisNetworkRanking', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'nis:GetNisNetworkRanking', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetVbrFlowTopN', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetVbrFlowTopN', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeNisInspectionReportStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionReportStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListNisInspectionTaskReports', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226119', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', + 'ramAction' => [ + 'action' => 'nis:ListNisInspectionTaskReports', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InspectionTaskId', - 'in' => 'query', - 'schema' => [ - 'title' => '巡检任务id', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'ni-8svmpe0yso2bhzr7fh79', - 'maxLength' => 23, - 'minLength' => 1, + [ + 'apiName' => 'ListNisInspectionResourceType', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:ListNisInspectionResourceType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', + ], + [ + 'apiName' => 'DescribeNisTrafficRanking', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisTrafficRanking', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', + ], + [ + 'apiName' => 'DeleteNisInspectionReport', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'nis:DeleteNisInspectionReport', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<NextTokenResult<ListNisInspectionTaskReportsResponse>>', - 'description' => 'RpcResponse<NextTokenResult<ListNisInspectionTaskReportsResponse>>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '0D213AF9-7B8A-51A8-B411-2D797A1A447B', - ], - 'InspectionReportList' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InspectionReportId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'nir-7c3dd178738a429abe6d', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '34', - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - ], + [ + 'apiName' => 'DescribeNisInspectionReportSummary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionReportSummary', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalParam.NextToken', - 'errorMessage' => 'The specified nextToken(%s) is invalid.', + [ + 'apiName' => 'DeleteNisInspectionTask', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'nis:DeleteNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], - [ - 'errorCode' => 'IllegalParam.InspectionTaskId', - 'errorMessage' => 'The specified argument InspectionTaskId(%s) is illegal.', + ], + ], + [ + 'apiName' => 'DeleteNetworkReachableAnalysis', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'nis:DeleteNetworkReachableAnalysis', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/{#NetworkReachableAnalysisId}'], ], ], - 404 => [ - [ - 'errorCode' => 'ResourceNotFound.InspectionTaskId', - 'errorMessage' => 'The specified InspectionTaskId(%s) is not found.', + ], + [ + 'apiName' => 'GetNetworkReachableAnalysis', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:GetNetworkReachableAnalysis', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/{#NetworkReachableAnalysisId}'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0D213AF9-7B8A-51A8-B411-2D797A1A447B\\",\\n \\"InspectionReportList\\": [\\n {\\n \\"InspectionReportId\\": \\"nir-7c3dd178738a429abe6d\\"\\n }\\n ],\\n \\"TotalCount\\": 34,\\n \\"NextToken\\": \\"hKrS+MVXkuOgztXnvdml194Cz/lMNdmr+DEh0th6dVlNEo/F148UPCh2itDku7Qj\\",\\n \\"MaxResults\\": 20\\n}","type":"json"}]', - ], - 'DeleteNisInspectionReport' => [ - 'summary' => '删除报告', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeNisInspectionTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeNisInspectionRecommendationResources', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionRecommendationResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListNisInspectionTasks', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:ListNisInspectionTasks', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CreateNetworkPath', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:CreateNetworkPath', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkPath', 'arn' => 'acs:nis:*:{#accountId}:networkpath/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteNetworkPath', + 'description' => '', 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226212', - 'abilityTreeNodes' => [ - 'FEATUREnetanaS7CH2P', + 'ramAction' => [ + 'action' => 'nis:DeleteNetworkPath', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkPath', 'arn' => 'acs:nis:*:{#accountId}:networkpath/{#NetworkPathId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InspectionReportId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'nir-ffd1af****196d0'."\n", - 'maxLength' => 128, - 'minLength' => 1, + [ + 'apiName' => 'CreateNetworkReachableAnalysis', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:CreateNetworkReachableAnalysis', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'RpcResponse<Boolean>', - 'description' => 'RpcResponse<Boolean>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'D5E98683-355B-5867-8D3D-A24755F6895B', - ], - 'Data' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'True', - ], - ], + [ + 'apiName' => 'StartNisInspectionTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:StartNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 403 => [ - [ - 'errorCode' => 'Forbidden.InspectionReportId', - 'errorMessage' => 'This user does not have permission to this report parameter (%s).', + [ + 'apiName' => 'GetNisNetworkMetrics', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'nis:GetNisNetworkMetrics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'ResourceNotFound.InspectionReportId', - 'errorMessage' => 'The specified InspectionReportId(%s) is not found.', + ], + [ + 'apiName' => 'StartNisTrafficRanking', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:StartNisTrafficRanking', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateNisInspectionTask', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'nis:UpdateNisInspectionTask', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTransitRouterFlowTopN', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetTransitRouterFlowTopN', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAndAnalyzeNetworkPath', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'nis:CreateAndAnalyzeNetworkPath', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetInternetTuple', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetInternetTuple', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetNatTopN', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:GetNatTopN', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeNisInspectionReportCheckItems', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'nis:DescribeNisInspectionReportCheckItems', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NIS', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5E98683-355B-5867-8D3D-A24755F6895B\\",\\n \\"Data\\": true\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'nis.aliyuncs.com', ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'nis-intl.aliyuncs.com', + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'InspectionReport', 'arn' => 'acs:nis::{#accountId}:inspectionreport/*'], + ['validationType' => 'always', 'resourceType' => 'InspectionTask', 'arn' => 'acs:nis::{#accountId}:inspectiontask/*'], + ['validationType' => 'always', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/{#NetworkReachableAnalysisId}'], + ['validationType' => 'always', 'resourceType' => 'NetworkPath', 'arn' => 'acs:nis:*:{#accountId}:networkpath/*'], + ['validationType' => 'always', 'resourceType' => 'NetworkPath', 'arn' => 'acs:nis:*:{#accountId}:networkpath/{#NetworkPathId}'], + ['validationType' => 'always', 'resourceType' => 'NetworkReachableAnalysis', 'arn' => 'acs:nis:*:{#accountId}:networkreachableanalysis/*'], ], ], ]; |
