From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/en_us/ahas-openapi/2019-09-01/api-docs.php | 8549 +++++++++++++++++++++++ 1 file changed, 8549 insertions(+) create mode 100644 data/en_us/ahas-openapi/2019-09-01/api-docs.php (limited to 'data/en_us/ahas-openapi') diff --git a/data/en_us/ahas-openapi/2019-09-01/api-docs.php b/data/en_us/ahas-openapi/2019-09-01/api-docs.php new file mode 100644 index 0000000..d97d301 --- /dev/null +++ b/data/en_us/ahas-openapi/2019-09-01/api-docs.php @@ -0,0 +1,8549 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'ahas-openapi', + 'version' => '2019-09-01', + ], + 'directories' => [ + [ + 'id' => 43866, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribeRegions', + 'GetLicenseKey', + 'ListActiveApps', + 'OpenAhasService', + ], + ], + [ + 'id' => 43884, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetMetricsOfApp', + 'GetSentinelAppSumMetric', + 'GetMetricsOfResource', + ], + ], + [ + 'id' => 43888, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateFlowRule', + 'DeleteFlowRule', + 'EnableFlowRule', + 'DisableFlowRule', + 'ModifyFlowRule', + 'ListFlowRulesOfApp', + 'ListFlowRulesOfResource', + ], + ], + [ + 'id' => 43896, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateDegradeRule', + 'DeleteDegradeRule', + 'EnableDegradeRule', + 'DisableDegradeRule', + 'ListDegradeRulesOfApp', + 'ListDegradeRulesOfResource', + 'ModifyDegradeRule', + ], + ], + [ + 'id' => 43904, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateIsolationRule', + 'DeleteIsolationRule', + 'EnableIsolationRule', + 'DisableIsolationRule', + 'ListIsolationRulesOfApp', + 'ListIsolationRulesOfResource', + 'ModifyIsolationRule', + ], + ], + [ + 'id' => 43912, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateSystemRule', + 'DeleteSystemRule', + 'EnableSystemRule', + 'DisableSystemRule', + 'ListSystemRules', + 'ModifySystemRule', + ], + ], + [ + 'id' => 43919, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateHotParamRule', + 'CreateHotParamItems', + 'DeleteHotParamRule', + 'EnableHotParamRule', + 'DisableHotParamRule', + 'ListHotParamRulesOfApp', + 'ListHotParamRulesOfResource', + 'ModifyHotParamRule', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'DescribeRegions' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '20659', + 'abilityTreeNodes' => [ + 'FEATUREahasF8SZSQ', + ], + ], + 'parameters' => [ + [ + 'name' => 'AcceptLanguage', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'Regions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocalName' => [ + 'type' => 'string', + ], + 'RegionEndpoint' => [ + 'type' => 'string', + ], + 'RegionId' => [ + 'type' => 'string', + ], + ], + ], + ], + 'Code' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'responseDemo' => null, + ], + 'GetLicenseKey' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '20678', + 'abilityTreeNodes' => [ + 'FEATUREahasF8SZSQ', + ], + ], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'Data' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument', + 'errorMessage' => 'The specified parameter is invalid.', + ], + ], + ], + 'responseDemo' => null, + ], + 'ListActiveApps' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'AppType', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => true, + 'maximum' => '2147483647', + 'minimum' => '0', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AppName' => [ + 'type' => 'string', + ], + 'LastHealthPingTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CurrentLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Namespace' => [ + 'type' => 'string', + ], + 'AppType' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'DirtyLevel' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'AhasAppName' => [ + 'type' => 'string', + ], + ], + ], + ], + 'Code' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument', + 'errorMessage' => 'The specified parameter is invalid.', + ], + ], + ], + 'responseDemo' => null, + ], + 'OpenAhasService' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'OrderId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '212307989980192', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"OrderId\\": \\"212307989980192\\"\\n}","type":"json"}]', + ], + 'GetMetricsOfApp' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1596081600000', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1596081780000', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'InnerMetrics' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RtP99' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '7', + ], + 'SuccessQpsAvg' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'PassedQpsP99' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'RtAvg' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '6.5', + ], + 'Count' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'ThreadStd' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'PassedQpsAvg' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'ExceptionP95' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SuccessQpsMax' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'RtP95' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '7', + ], + 'BlockedQpsMin' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '86', + ], + 'BlockedQps' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '173', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1596593014000', + ], + 'ThreadP95' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'RtStd' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.7', + ], + 'PassedQpsMin' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'BlockedQpsP99' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '86', + ], + 'PassedQpsMax' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'ExceptionMax' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SuccessQps' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '286', + ], + 'SuccessQpsP75' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'ThreadP75' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'SuccessQpsStd' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'ExceptionMin' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'PassedQpsP75' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'PassedQps' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '286', + ], + 'ThreadMax' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'SuccessQpsP99' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'SuccessQpsMin' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'ThreadP99' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'ExceptionStd' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'BlockedQpsP95' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '86', + ], + 'Thread' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '2', + ], + 'ThreadMin' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'RtMin' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '7', + ], + 'BlockedQpsAvg' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '86', + ], + 'ThreadAvg' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'BlockedQpsP75' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '86', + ], + 'RtP75' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '7', + ], + 'ExceptionP99' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'ExceptionP75' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'SuccessQpsP95' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'Rt' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '6.5', + ], + 'PassedQpsP95' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + 'RtMax' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '7', + ], + 'BlockedQpsStd' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'BlockedQpsMax' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '86', + ], + 'Exception' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'ExceptionAvg' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'PassedQpsStd' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '143', + ], + ], + ], + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Namespace\\": \\"default\\",\\n \\"InnerMetrics\\": [\\n {\\n \\"RtP99\\": 7,\\n \\"SuccessQpsAvg\\": 143,\\n \\"PassedQpsP99\\": 143,\\n \\"RtAvg\\": 6.5,\\n \\"Count\\": 0,\\n \\"ThreadStd\\": 1,\\n \\"PassedQpsAvg\\": 143,\\n \\"ExceptionP95\\": 0,\\n \\"SuccessQpsMax\\": 143,\\n \\"RtP95\\": 7,\\n \\"BlockedQpsMin\\": 86,\\n \\"BlockedQps\\": 173,\\n \\"Timestamp\\": 1596593014000,\\n \\"ThreadP95\\": 1,\\n \\"RtStd\\": 0.7,\\n \\"PassedQpsMin\\": 143,\\n \\"BlockedQpsP99\\": 86,\\n \\"PassedQpsMax\\": 143,\\n \\"ExceptionMax\\": 0,\\n \\"SuccessQps\\": 286,\\n \\"SuccessQpsP75\\": 143,\\n \\"ThreadP75\\": 1,\\n \\"SuccessQpsStd\\": 0,\\n \\"ExceptionMin\\": 0,\\n \\"PassedQpsP75\\": 143,\\n \\"PassedQps\\": 286,\\n \\"ThreadMax\\": 1,\\n \\"SuccessQpsP99\\": 143,\\n \\"SuccessQpsMin\\": 143,\\n \\"ThreadP99\\": 1,\\n \\"ExceptionStd\\": 0,\\n \\"BlockedQpsP95\\": 86,\\n \\"Thread\\": 2,\\n \\"ThreadMin\\": 1,\\n \\"RtMin\\": 7,\\n \\"BlockedQpsAvg\\": 86,\\n \\"ThreadAvg\\": 1,\\n \\"BlockedQpsP75\\": 86,\\n \\"RtP75\\": 7,\\n \\"ExceptionP99\\": 0,\\n \\"ExceptionP75\\": 0,\\n \\"SuccessQpsP95\\": 143,\\n \\"Rt\\": 6.5,\\n \\"PassedQpsP95\\": 143,\\n \\"RtMax\\": 7,\\n \\"BlockedQpsStd\\": 0,\\n \\"BlockedQpsMax\\": 86,\\n \\"Exception\\": 0,\\n \\"ExceptionAvg\\": 0,\\n \\"PassedQpsStd\\": 143\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n ahas-demo\\n default\\n \\n 7\\n 143\\n 143\\n 6.5\\n 0\\n 1\\n 143\\n 0\\n 143\\n 7\\n 86\\n 173\\n 1596593014000\\n 1\\n 0.7\\n 143\\n 86\\n 143\\n 0\\n 286\\n 143\\n 1\\n 0\\n 0\\n 143\\n 286\\n 1\\n 143\\n 143\\n 1\\n 0\\n 86\\n 2\\n 1\\n 7\\n 86\\n 1\\n 86\\n 7\\n 0\\n 0\\n 143\\n 6.5\\n 143\\n 7\\n 0\\n 86\\n 0\\n 0\\n 143\\n \\n \\n 200\\n true\\n","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetSentinelAppSumMetric' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'AcceptLanguage', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'RequestId' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + 'MetricData' => [ + 'type' => 'object', + 'properties' => [ + 'AppName' => [ + 'type' => 'string', + ], + 'PassCount' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'MachineCount' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'AvgRt' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'UserId' => [ + 'type' => 'string', + ], + 'Namespace' => [ + 'type' => 'string', + ], + 'TotalCount' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'BlockCount' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => null, + ], + 'GetMetricsOfResource' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'default', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'ahas-demo', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'handleService', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '1596081600000', + 'format' => 'int64', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '1596081780000', + 'format' => 'int64', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'cn-hangzhou', + 'required' => false, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'Message' => [ + 'description' => '', + 'example' => 'null', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94E*****10', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'AppName' => [ + 'description' => '', + 'example' => 'ahas-demo', + 'type' => 'string', + ], + 'Resource' => [ + 'description' => '', + 'example' => 'handleService', + 'type' => 'string', + ], + 'Namespace' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'InnerMetrics' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'RtP99' => [ + 'description' => '', + 'example' => '7', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQpsAvg' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQpsP99' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'RtAvg' => [ + 'description' => '', + 'example' => '6.5', + 'format' => 'float', + 'type' => 'number', + ], + 'Count' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ThreadStd' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQpsAvg' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'ExceptionP95' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQpsMax' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'RtP95' => [ + 'description' => '', + 'example' => '7', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQpsMin' => [ + 'description' => '', + 'example' => '86', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQps' => [ + 'description' => '', + 'example' => '173', + 'format' => 'float', + 'type' => 'number', + ], + 'Timestamp' => [ + 'description' => '', + 'example' => '1596593014000', + 'format' => 'int64', + 'type' => 'integer', + ], + 'ThreadP95' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'RtStd' => [ + 'description' => '', + 'example' => '0.7', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQpsMin' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQpsP99' => [ + 'description' => '', + 'example' => '86', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQpsMax' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'ExceptionMax' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQps' => [ + 'description' => '', + 'example' => '286', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQpsP75' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'ThreadP75' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQpsStd' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'ExceptionMin' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQpsP75' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQps' => [ + 'description' => '', + 'example' => '286', + 'format' => 'float', + 'type' => 'number', + ], + 'ThreadMax' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQpsP99' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQpsMin' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'ThreadP99' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'ExceptionStd' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQpsP95' => [ + 'description' => '', + 'example' => '86', + 'format' => 'float', + 'type' => 'number', + ], + 'Thread' => [ + 'description' => '', + 'example' => '2', + 'format' => 'float', + 'type' => 'number', + ], + 'ThreadMin' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'RtMin' => [ + 'description' => '', + 'example' => '6.5', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQpsAvg' => [ + 'description' => '', + 'example' => '86', + 'format' => 'float', + 'type' => 'number', + ], + 'ThreadAvg' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQpsP75' => [ + 'description' => '', + 'example' => '86', + 'format' => 'float', + 'type' => 'number', + ], + 'RtP75' => [ + 'description' => '', + 'example' => '7', + 'format' => 'float', + 'type' => 'number', + ], + 'ExceptionP99' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'ExceptionP75' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'SuccessQpsP95' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'Rt' => [ + 'description' => '', + 'example' => '6.5', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQpsP95' => [ + 'description' => '', + 'example' => '143', + 'format' => 'float', + 'type' => 'number', + ], + 'RtMax' => [ + 'description' => '', + 'example' => '7', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQpsStd' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'BlockedQpsMax' => [ + 'description' => '', + 'example' => '86', + 'format' => 'float', + 'type' => 'number', + ], + 'Exception' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'ExceptionAvg' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'PassedQpsStd' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'Code' => [ + 'description' => '', + 'example' => '200', + 'type' => 'string', + ], + 'Success' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94E*****10\\",\\n \\"Data\\": {\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Resource\\": \\"handleService\\",\\n \\"Namespace\\": \\"default\\",\\n \\"InnerMetrics\\": [\\n {\\n \\"RtP99\\": 7,\\n \\"SuccessQpsAvg\\": 143,\\n \\"PassedQpsP99\\": 143,\\n \\"RtAvg\\": 6.5,\\n \\"Count\\": 2,\\n \\"ThreadStd\\": 0,\\n \\"PassedQpsAvg\\": 143,\\n \\"ExceptionP95\\": 0,\\n \\"SuccessQpsMax\\": 143,\\n \\"RtP95\\": 7,\\n \\"BlockedQpsMin\\": 86,\\n \\"BlockedQps\\": 173,\\n \\"Timestamp\\": 1596593014000,\\n \\"ThreadP95\\": 1,\\n \\"RtStd\\": 0.7,\\n \\"PassedQpsMin\\": 143,\\n \\"BlockedQpsP99\\": 86,\\n \\"PassedQpsMax\\": 143,\\n \\"ExceptionMax\\": 0,\\n \\"SuccessQps\\": 286,\\n \\"SuccessQpsP75\\": 143,\\n \\"ThreadP75\\": 1,\\n \\"SuccessQpsStd\\": 0,\\n \\"ExceptionMin\\": 0,\\n \\"PassedQpsP75\\": 143,\\n \\"PassedQps\\": 286,\\n \\"ThreadMax\\": 1,\\n \\"SuccessQpsP99\\": 143,\\n \\"SuccessQpsMin\\": 143,\\n \\"ThreadP99\\": 1,\\n \\"ExceptionStd\\": 0,\\n \\"BlockedQpsP95\\": 86,\\n \\"Thread\\": 2,\\n \\"ThreadMin\\": 1,\\n \\"RtMin\\": 6.5,\\n \\"BlockedQpsAvg\\": 86,\\n \\"ThreadAvg\\": 1,\\n \\"BlockedQpsP75\\": 86,\\n \\"RtP75\\": 7,\\n \\"ExceptionP99\\": 0,\\n \\"ExceptionP75\\": 0,\\n \\"SuccessQpsP95\\": 143,\\n \\"Rt\\": 6.5,\\n \\"PassedQpsP95\\": 143,\\n \\"RtMax\\": 7,\\n \\"BlockedQpsStd\\": 0,\\n \\"BlockedQpsMax\\": 86,\\n \\"Exception\\": 0,\\n \\"ExceptionAvg\\": 0,\\n \\"PassedQpsStd\\": 0\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94E*****10\\n \\n ahas-demo\\n handleService\\n default\\n \\n 7\\n 143\\n 143\\n 6.5\\n 2\\n 0\\n 143\\n 0\\n 143\\n 7\\n 86\\n 173\\n 1596593014000\\n 1\\n 0.7\\n 143\\n 86\\n 143\\n 0\\n 286\\n 143\\n 1\\n 0\\n 0\\n 143\\n 286\\n 1\\n 143\\n 143\\n 1\\n 0\\n 86\\n 2\\n 1\\n 6.5\\n 86\\n 1\\n 86\\n 7\\n 0\\n 0\\n 143\\n 6.5\\n 143\\n 7\\n 0\\n 86\\n 0\\n 0\\n 0\\n \\n \\n 200\\n true\\n","errorExample":""}]', + 'extraInfo' => ' ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'title' => 'GetMetricsOfResource', + ], + 'CreateFlowRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'default', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'ahas-demo', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'RelationStrategy', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '0', + 'format' => 'int32', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '50', + 'format' => 'float', + 'required' => true, + 'type' => 'number', + ], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'true', + 'required' => false, + 'type' => 'boolean', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'handleServiceA', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'LimitOrigin', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'default', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'RefResource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'handleServiceB', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'ControlBehavior', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '0', + 'format' => 'int32', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'WarmUpPeriodSec', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '30', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'MaxQueueingTimeMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '2000', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'cn-hangzhou', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'ThresholdMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'Message' => [ + 'description' => '', + 'example' => 'null', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94E*****10', + 'type' => 'string', + ], + 'Code' => [ + 'description' => '', + 'example' => '200', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'RefResource' => [ + 'description' => '', + 'example' => 'handleServiceB', + 'type' => 'string', + ], + 'ClusterFallbackThreshold' => [ + 'description' => '', + 'example' => '30', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Namespace' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'LimitOrigin' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'StatDurationMs' => [ + 'description' => '', + 'example' => '5000', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterThresholdType' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'RuleId' => [ + 'description' => '', + 'example' => '123', + 'format' => 'int64', + 'type' => 'integer', + ], + 'RelationStrategy' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'AppName' => [ + 'description' => '', + 'example' => 'ahas-demo', + 'type' => 'string', + ], + 'Resource' => [ + 'description' => '', + 'example' => 'handleServiceA', + 'type' => 'string', + ], + 'ClusterEstimatedMaxQps' => [ + 'description' => '', + 'example' => '5000', + 'format' => 'float', + 'type' => 'number', + ], + 'ControlBehavior' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'example' => '2000', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterFallbackStrategy' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'WarmUpPeriodSec' => [ + 'description' => '', + 'example' => '30', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterMode' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + 'ThresholdMode' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Threshold' => [ + 'description' => '', + 'example' => '300', + 'format' => 'float', + 'type' => 'number', + ], + 'Enable' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + 'Success' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MaxQueueingTimeM', + 'errorMessage' => 'The specified MaxQueueingTimeMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RefResource', + 'errorMessage' => 'The specified RefResource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RelationStrategy', + 'errorMessage' => 'The specified RelationStrategy is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.WarmUpPeriodSec', + 'errorMessage' => 'The specified WarmUpPeriodSec is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94E*****10\\",\\n \\"Code\\": \\"200\\",\\n \\"Data\\": {\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"ClusterFallbackThreshold\\": 30,\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"StatDurationMs\\": 5000,\\n \\"ClusterThresholdType\\": 0,\\n \\"RuleId\\": 123,\\n \\"RelationStrategy\\": 0,\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"ClusterEstimatedMaxQps\\": 5000,\\n \\"ControlBehavior\\": 0,\\n \\"MaxQueueingTimeMs\\": 2000,\\n \\"ClusterFallbackStrategy\\": 0,\\n \\"WarmUpPeriodSec\\": 30,\\n \\"ClusterMode\\": true,\\n \\"ThresholdMode\\": 2,\\n \\"Threshold\\": 300,\\n \\"Enable\\": true\\n },\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94E*****10\\n 200\\n \\n handleServiceB\\n 30\\n default\\n default\\n 5000\\n 0\\n 123\\n 0\\n ahas-demo\\n handleServiceA\\n 5000\\n 0\\n 2000\\n 0\\n 30\\n true\\n 2\\n 300\\n true\\n \\n true\\n","errorExample":""}]', + 'extraInfo' => ' ', + 'responseParamsDescription' => ' ', + 'title' => 'CreateFlowRule', + ], + 'DeleteFlowRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RuleId\\": 123\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 123\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DeleteFlowRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableFlowRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'ClusterFallbackThreshold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'ClusterThresholdType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'ClusterEstimatedMaxQps' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '3000', + ], + 'WarmUpPeriodSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'ClusterFallbackStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '50', + ], + 'ClusterMode' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument', + 'errorMessage' => 'The specified parameter is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"ClusterFallbackThreshold\\": 30,\\n \\"Namespace\\": \\"default\\",\\n \\"StatDurationMs\\": 5000,\\n \\"LimitOrigin\\": \\"default\\",\\n \\"ClusterThresholdType\\": 0,\\n \\"RuleId\\": 123,\\n \\"RelationStrategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"MaxQueueingTimeMs\\": 2000,\\n \\"ControlBehavior\\": 0,\\n \\"ClusterEstimatedMaxQps\\": 3000,\\n \\"WarmUpPeriodSec\\": 30,\\n \\"ClusterFallbackStrategy\\": 1,\\n \\"Threshold\\": 50,\\n \\"ClusterMode\\": true,\\n \\"Enable\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"\\nnull\\n3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n\\n handleServiceB\\n true\\n 123\\n handleServiceA\\n 2000\\n default\\n ahas-demo\\n 30\\n 0\\n 1\\n 0\\n 30\\n true\\n 0\\n default\\n 3000\\n 50\\n 5000\\n\\n200\\ntrue\\n","errorExample":""}]', + 'title' => 'EnableFlowRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DisableFlowRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'ClusterFallbackThreshold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'ClusterThresholdType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'ClusterEstimatedMaxQps' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '5000', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'WarmUpPeriodSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'ClusterFallbackStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '300', + ], + 'ClusterMode' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"ClusterFallbackThreshold\\": 30,\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"StatDurationMs\\": 5000,\\n \\"ClusterThresholdType\\": 0,\\n \\"RuleId\\": 123,\\n \\"RelationStrategy\\": 0,\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"MaxQueueingTimeMs\\": 2000,\\n \\"ClusterEstimatedMaxQps\\": 5000,\\n \\"ControlBehavior\\": 0,\\n \\"WarmUpPeriodSec\\": 30,\\n \\"ClusterFallbackStrategy\\": 0,\\n \\"Threshold\\": 300,\\n \\"ClusterMode\\": true,\\n \\"Enable\\": false\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n handleServiceB\\n 30\\n default\\n default\\n 5000\\n 0\\n 123\\n 0\\n ahas-demo\\n handleServiceA\\n 2000\\n 5000\\n 0\\n 30\\n 0\\n 300\\n true\\n false\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DisableFlowRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyFlowRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'default', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '123', + 'format' => 'int64', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'RelationStrategy', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '50', + 'format' => 'float', + 'required' => false, + 'type' => 'number', + ], + ], + [ + 'name' => 'LimitOrigin', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'default', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'RefResource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'handleServiceB', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'ControlBehavior', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '0', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'WarmUpPeriodSec', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '30', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'MaxQueueingTimeMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '2000', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'cn-hangzhou', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'ThresholdMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'Message' => [ + 'description' => '', + 'example' => 'null', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94E*****10', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'RefResource' => [ + 'description' => '', + 'example' => 'handleServiceB', + 'type' => 'string', + ], + 'ClusterFallbackThreshold' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Namespace' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'LimitOrigin' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'StatDurationMs' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterThresholdType' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'RuleId' => [ + 'description' => '', + 'example' => '123', + 'format' => 'int64', + 'type' => 'integer', + ], + 'RelationStrategy' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'AppName' => [ + 'description' => '', + 'example' => 'ahas-demo', + 'type' => 'string', + ], + 'Resource' => [ + 'description' => '', + 'example' => 'handleServiceA', + 'type' => 'string', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'example' => '2000', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterEstimatedMaxQps' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'ControlBehavior' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'WarmUpPeriodSec' => [ + 'description' => '', + 'example' => '30', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterFallbackStrategy' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Threshold' => [ + 'description' => '', + 'example' => '50', + 'format' => 'float', + 'type' => 'number', + ], + 'ThresholdMode' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterMode' => [ + 'description' => '', + 'example' => 'false', + 'type' => 'boolean', + ], + 'Enable' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + 'Code' => [ + 'description' => '', + 'example' => '200', + 'type' => 'string', + ], + 'Success' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.ControlBehavior', + 'errorMessage' => 'The specified ControlBehavior is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RefResource', + 'errorMessage' => 'The specified RefResource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RelationStrategy', + 'errorMessage' => 'The specified RelationStrategy is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.WarmUpPeriodSec', + 'errorMessage' => 'The specified WarmUpPeriodSec is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94E*****10\\",\\n \\"Data\\": {\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"ClusterFallbackThreshold\\": 0,\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"StatDurationMs\\": 0,\\n \\"ClusterThresholdType\\": 0,\\n \\"RuleId\\": 123,\\n \\"RelationStrategy\\": 0,\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"MaxQueueingTimeMs\\": 2000,\\n \\"ClusterEstimatedMaxQps\\": 0,\\n \\"ControlBehavior\\": 0,\\n \\"WarmUpPeriodSec\\": 30,\\n \\"ClusterFallbackStrategy\\": 0,\\n \\"Threshold\\": 50,\\n \\"ThresholdMode\\": 2,\\n \\"ClusterMode\\": false,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94E*****10\\n \\n handleServiceB\\n 0\\n default\\n default\\n 0\\n 0\\n 123\\n 0\\n ahas-demo\\n handleServiceA\\n 2000\\n 0\\n 0\\n 30\\n 0\\n 50\\n 2\\n false\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'extraInfo' => ' ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'title' => 'ModifyFlowRule', + ], + 'ListFlowRulesOfApp' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'abilityTreeNodes' => [ + 'FEATUREahasSBJFYF', + ], + ], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'ClusterFallbackThreshold' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'ClusterThresholdType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'ClusterEstimatedMaxQps' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'ClusterFallbackStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'WarmUpPeriodSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'ClusterMode' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ThresholdMode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '30', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"ClusterFallbackThreshold\\": 0,\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"StatDurationMs\\": 0,\\n \\"ClusterThresholdType\\": 0,\\n \\"RuleId\\": 123,\\n \\"RelationStrategy\\": 0,\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"ClusterEstimatedMaxQps\\": 0,\\n \\"ControlBehavior\\": 0,\\n \\"MaxQueueingTimeMs\\": 2000,\\n \\"ClusterFallbackStrategy\\": 0,\\n \\"WarmUpPeriodSec\\": 30,\\n \\"ClusterMode\\": false,\\n \\"ThresholdMode\\": 2,\\n \\"Threshold\\": 30,\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n handleServiceB\\n 0\\n default\\n default\\n 0\\n 0\\n 123\\n 0\\n ahas-demo\\n handleServiceA\\n 0\\n 0\\n 2000\\n 0\\n 30\\n false\\n 30\\n true\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListFlowRulesOfApp', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListFlowRulesOfResource' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'default', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'ahas-demo', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'handleServiceA', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '10', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'cn-hangzhou', + 'required' => false, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'Message' => [ + 'description' => '', + 'example' => 'null ', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94E*****10', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Datas' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'RefResource' => [ + 'description' => '', + 'example' => 'handleServiceB', + 'type' => 'string', + ], + 'ClusterFallbackThreshold' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Namespace' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'LimitOrigin' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'StatDurationMs' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterThresholdType' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'RuleId' => [ + 'description' => '', + 'example' => '123', + 'format' => 'int64', + 'type' => 'integer', + ], + 'RelationStrategy' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'AppName' => [ + 'description' => '', + 'example' => 'ahas-demo', + 'type' => 'string', + ], + 'Resource' => [ + 'description' => '', + 'example' => 'handleServiceA', + 'type' => 'string', + ], + 'ClusterEstimatedMaxQps' => [ + 'description' => '', + 'example' => '0', + 'format' => 'float', + 'type' => 'number', + ], + 'ControlBehavior' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'example' => '2000', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterFallbackStrategy' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'WarmUpPeriodSec' => [ + 'description' => '', + 'example' => '30', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ClusterMode' => [ + 'description' => '', + 'example' => 'false', + 'type' => 'boolean', + ], + 'ThresholdMode' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Threshold' => [ + 'description' => '', + 'example' => '30', + 'format' => 'float', + 'type' => 'number', + ], + 'Enable' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'TotalPage' => [ + 'description' => '', + 'example' => '3', + 'format' => 'int32', + 'type' => 'integer', + ], + 'PageSize' => [ + 'description' => '', + 'example' => '10', + 'format' => 'int32', + 'type' => 'integer', + ], + 'TotalCount' => [ + 'description' => '', + 'example' => '23', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'Code' => [ + 'description' => '', + 'example' => '200', + 'type' => 'string', + ], + 'Success' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null \\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94E*****10\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"ClusterFallbackThreshold\\": 0,\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"StatDurationMs\\": 0,\\n \\"ClusterThresholdType\\": 0,\\n \\"RuleId\\": 123,\\n \\"RelationStrategy\\": 0,\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"ClusterEstimatedMaxQps\\": 0,\\n \\"ControlBehavior\\": 0,\\n \\"MaxQueueingTimeMs\\": 2000,\\n \\"ClusterFallbackStrategy\\": 0,\\n \\"WarmUpPeriodSec\\": 30,\\n \\"ClusterMode\\": false,\\n \\"ThresholdMode\\": 2,\\n \\"Threshold\\": 30,\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null \\n 3FEEAD12-CE22-4EDE-A729-CE94E*****10\\n \\n 1\\n \\n handleServiceB\\n 0\\n default\\n default\\n 0\\n 0\\n 123\\n 0\\n ahas-demo\\n handleServiceA\\n 0\\n 0\\n 2000\\n 0\\n 30\\n false\\n 2\\n 30\\n true\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'extraInfo' => ' ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'title' => 'ListFlowRulesOfResource', + ], + 'CreateDegradeRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'handleService', + ], + ], + [ + 'name' => 'Strategy', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '0', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'docRequired' => true, + 'example' => '0.6', + ], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'RecoveryTimeoutMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '5000', + ], + ], + [ + 'name' => 'StatDurationMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2000', + ], + ], + [ + 'name' => 'SlowRtMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2000', + ], + ], + [ + 'name' => 'MinRequestAmount', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'HalfOpenBaseAmountPerStep', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '5', + ], + ], + [ + 'name' => 'HalfOpenRecoveryStepNum', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SlowRtMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'HalfOpenRecoveryStepNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'HalfOpenBaseAmountPerStep' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'RecoveryTimeoutMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'MinRequestAmount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.HalfOpenBaseAmountPerStep', + 'errorMessage' => 'The specified HalfOpenBaseAmountPerStep is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.HalfOpenRecoveryStepNum', + 'errorMessage' => 'The specified HalfOpenRecoveryStepNum is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MinRequestAmount', + 'errorMessage' => 'The specified MinRequestAmount is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RecoveryTimeoutMs', + 'errorMessage' => 'The specified RecoveryTimeoutMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.SlowRtMS', + 'errorMessage' => 'The specified SlowRtMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.StatDurationMs', + 'errorMessage' => 'The specified StatDurationMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Strategy', + 'errorMessage' => 'The specified Strategy is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"SlowRtMs\\": 2000,\\n \\"HalfOpenRecoveryStepNum\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"StatDurationMs\\": 2000,\\n \\"RuleId\\": 1,\\n \\"Strategy\\": 0,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"HalfOpenBaseAmountPerStep\\": 5,\\n \\"RecoveryTimeoutMs\\": 5000,\\n \\"MinRequestAmount\\": 10,\\n \\"Threshold\\": 0.6,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 2000\\n 1\\n default\\n 2000\\n 1\\n 0\\n handleService\\n ahas-demo\\n 5\\n 5000\\n 10\\n 0.6\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'CreateDegradeRule', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteDegradeRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RuleId\\": 123\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 123\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DeleteDegradeRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableDegradeRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SlowRtMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'HalfOpenRecoveryStepNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'HalfOpenBaseAmountPerStep' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'RecoveryTimeoutMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'MinRequestAmount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"SlowRtMs\\": 2000,\\n \\"HalfOpenRecoveryStepNum\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"StatDurationMs\\": 2000,\\n \\"RuleId\\": 123,\\n \\"Strategy\\": 200,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"HalfOpenBaseAmountPerStep\\": 5,\\n \\"RecoveryTimeoutMs\\": 5000,\\n \\"MinRequestAmount\\": 10,\\n \\"Threshold\\": 0.6,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 2000\\n 1\\n default\\n 2000\\n 123\\n 200\\n handleService\\n ahas-demo\\n 5\\n 5000\\n 10\\n 0.6\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'EnableDegradeRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DisableDegradeRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SlowRtMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'HalfOpenRecoveryStepNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default ', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'HalfOpenBaseAmountPerStep' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'RecoveryTimeoutMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'MinRequestAmount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"SlowRtMs\\": 2000,\\n \\"HalfOpenRecoveryStepNum\\": 1,\\n \\"Namespace\\": \\"default \\",\\n \\"StatDurationMs\\": 2000,\\n \\"RuleId\\": 123,\\n \\"Strategy\\": 0,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"HalfOpenBaseAmountPerStep\\": 5,\\n \\"RecoveryTimeoutMs\\": 5000,\\n \\"MinRequestAmount\\": 10,\\n \\"Threshold\\": 0.6,\\n \\"Enable\\": false\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 2000\\n 1\\n default \\n 2000\\n 123\\n 0\\n handleService\\n ahas-demo\\n 5\\n 5000\\n 10\\n 0.6\\n false\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DisableDegradeRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListDegradeRulesOfApp' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SlowRtMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'HalfOpenRecoveryStepNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'HalfOpenBaseAmountPerStep' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'RecoveryTimeoutMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'MinRequestAmount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"SlowRtMs\\": 2000,\\n \\"HalfOpenRecoveryStepNum\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"StatDurationMs\\": 2000,\\n \\"RuleId\\": 123,\\n \\"Strategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"HalfOpenBaseAmountPerStep\\": 5,\\n \\"RecoveryTimeoutMs\\": 5000,\\n \\"MinRequestAmount\\": 10,\\n \\"Threshold\\": 0.6,\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n 2000\\n 1\\n default\\n 2000\\n 123\\n 0\\n handleServiceA\\n ahas-demo\\n 5\\n 5000\\n 10\\n 0.6\\n true\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListDegradeRulesOfApp', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListDegradeRulesOfResource' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'handleServiceA', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SlowRtMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'HalfOpenRecoveryStepNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleSerivice', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'HalfOpenBaseAmountPerStep' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'RecoveryTimeoutMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'MinRequestAmount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"SlowRtMs\\": 2000,\\n \\"HalfOpenRecoveryStepNum\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"StatDurationMs\\": 2000,\\n \\"RuleId\\": 123,\\n \\"Strategy\\": 0,\\n \\"Resource\\": \\"handleSerivice\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"HalfOpenBaseAmountPerStep\\": 5,\\n \\"RecoveryTimeoutMs\\": 5000,\\n \\"MinRequestAmount\\": 10,\\n \\"Threshold\\": 0.6,\\n \\"Enable\\": false\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n 2000\\n 1\\n default\\n 2000\\n 123\\n 0\\n handleSerivice\\n ahas-demo\\n 5\\n 5000\\n 10\\n 0.6\\n false\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListDegradeRulesOfResource', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyDegradeRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Strategy', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '0.5', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'RecoveryTimeoutMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2000', + ], + ], + [ + 'name' => 'StatDurationMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2000', + ], + ], + [ + 'name' => 'SlowRtMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3000', + ], + ], + [ + 'name' => 'MinRequestAmount', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'HalfOpenBaseAmountPerStep', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + [ + 'name' => 'HalfOpenRecoveryStepNum', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SlowRtMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5000', + ], + 'HalfOpenRecoveryStepNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'HalfOpenBaseAmountPerStep' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'RecoveryTimeoutMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + ], + 'MinRequestAmount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.HalfOpenBaseAmountPerStep', + 'errorMessage' => 'The specified HalfOpenBaseAmountPerStep is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.HalfOpenRecoveryStepNum', + 'errorMessage' => 'The specified HalfOpenRecoveryStepNum is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MinRequestAmount', + 'errorMessage' => 'The specified MinRequestAmount is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RecoveryTimeoutMs', + 'errorMessage' => 'The specified RecoveryTimeoutMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.SlowRtMS', + 'errorMessage' => 'The specified SlowRtMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Strategy', + 'errorMessage' => 'The specified Strategy is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"SlowRtMs\\": 5000,\\n \\"HalfOpenRecoveryStepNum\\": 2,\\n \\"Namespace\\": \\"default\\",\\n \\"StatDurationMs\\": 2000,\\n \\"RuleId\\": 123,\\n \\"Strategy\\": 0,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"HalfOpenBaseAmountPerStep\\": 3,\\n \\"RecoveryTimeoutMs\\": 2000,\\n \\"MinRequestAmount\\": 10,\\n \\"Threshold\\": 0.5,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 5000\\n 2\\n default\\n 2000\\n 123\\n 0\\n handleService\\n ahas-demo\\n 3\\n 2000\\n 10\\n 0.5\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ModifyDegradeRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateIsolationRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'RelationStrategy', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '0', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'handleServiceA', + ], + ], + [ + 'name' => 'LimitOrigin', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'RefResource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'handleServiceB', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RelationStrategy', + 'errorMessage' => 'The specified RelationStrategy is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RefResource', + 'errorMessage' => 'The specified RefResource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RelationStrategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"Threshold\\": 10,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 0\\n handleServiceA\\n ahas-demo\\n handleServiceB\\n default\\n default\\n 10\\n 123\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'CreateIsolationRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteIsolationRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RuleId\\": 123\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 123\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DeleteIsolationRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableIsolationRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'maximum' => '9223372036854775807', + 'minimum' => '0', + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '30', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RelationStrategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"Threshold\\": 30,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 0\\n handleServiceA\\n ahas-demo\\n handleServiceB\\n default\\n default\\n 30\\n 123\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'EnableIsolationRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DisableIsolationRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'maximum' => '100000000000000', + 'minimum' => '0', + 'example' => '123', + 'isFileTransferUrl' => false, + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RelationStrategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"Threshold\\": 10,\\n \\"RuleId\\": 123,\\n \\"Enable\\": false\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 0\\n handleServiceA\\n ahas-demo\\n handleServiceB\\n default\\n default\\n 10\\n 123\\n false\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DisableIsolationRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListIsolationRulesOfApp' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '2147483647', + 'minimum' => '0', + 'example' => '1', + 'isFileTransferUrl' => false, + 'default' => '0', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '2147483647', + 'minimum' => '0', + 'example' => '10', + 'isFileTransferUrl' => false, + 'default' => '0', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'hanldeServiceB', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"RelationStrategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"RefResource\\": \\"hanldeServiceB\\",\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"Threshold\\": 10,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n 0\\n handleServiceA\\n ahas-demo\\n hanldeServiceB\\n default\\n default\\n 10\\n 123\\n true\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListIsolationRulesOfApp', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListIsolationRulesOfResource' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'handleServiceA', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '2147483647', + 'minimum' => '0', + 'example' => '1', + 'isFileTransferUrl' => false, + 'default' => '0', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '2147483647', + 'minimum' => '0', + 'example' => '10', + 'isFileTransferUrl' => false, + 'default' => '0', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"RelationStrategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"Threshold\\": 10,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n 0\\n handleServiceA\\n ahas-demo\\n handleServiceB\\n default\\n default\\n 10\\n 123\\n true\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListIsolationRulesOfResource', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyIsolationRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'RelationStrategy', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => true, + 'example' => '0', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'docRequired' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'LimitOrigin', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'RefResource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'handleServiceB', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RelationStrategy' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceA', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'RefResource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleServiceB', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'LimitOrigin' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RelationStrategy', + 'errorMessage' => 'The specified RelationStrategy is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.RefResource', + 'errorMessage' => 'The specified RefResource is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RelationStrategy\\": 0,\\n \\"Resource\\": \\"handleServiceA\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"RefResource\\": \\"handleServiceB\\",\\n \\"Namespace\\": \\"default\\",\\n \\"LimitOrigin\\": \\"default\\",\\n \\"Threshold\\": 10,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 0\\n handleServiceA\\n ahas-demo\\n handleServiceB\\n default\\n default\\n 10\\n 123\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ModifyIsolationRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateSystemRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'MetricType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '4', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'docRequired' => true, + 'example' => '0.6', + ], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MetricType', + 'errorMessage' => 'The specified MetricType is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"MetricType\\": 4,\\n \\"Threshold\\": 0.6,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 4\\n 0.6\\n 123\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'CreateSystemRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteSystemRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RuleId\\": 123\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 123\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DeleteSystemRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableSystemRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"MetricType\\": 4,\\n \\"Threshold\\": 0.6,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 4\\n 0.6\\n 123\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'EnableSystemRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DisableSystemRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"MetricType\\": 4,\\n \\"Threshold\\": 0.6,\\n \\"RuleId\\": 123,\\n \\"Enable\\": false\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 4\\n 0.6\\n 123\\n false\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DisableSystemRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListSystemRules' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Namespace\\": \\"default\\",\\n \\"MetricType\\": 4,\\n \\"Threshold\\": 0.6,\\n \\"Enable\\": true,\\n \\"RuleId\\": 123\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n ahas-demo\\n default\\n 4\\n 0.6\\n true\\n 123\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListSystemRules', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifySystemRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'docRequired' => true, + 'example' => '0.5', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"MetricType\\": 4,\\n \\"Threshold\\": 0.5,\\n \\"RuleId\\": 123,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 4\\n 0.5\\n 123\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ModifySystemRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'CreateHotParamRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'default', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'ahas-demo', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'MetricType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '1', + 'format' => 'int32', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '20', + 'format' => 'float', + 'required' => true, + 'type' => 'number', + ], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'true', + 'required' => false, + 'type' => 'boolean', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => 'handleService', + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'ParamIdx', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '1', + 'format' => 'int32', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'StatDurationSec', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '1', + 'format' => 'int64', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'ControlBehavior', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'docRequired' => true, + 'example' => '0', + 'format' => 'int32', + 'required' => true, + 'type' => 'integer', + ], + ], + [ + 'name' => 'BurstCount', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'MaxQueueingTimeMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => '3000', + 'format' => 'int32', + 'required' => false, + 'type' => 'integer', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'cn-hangzhou', + 'required' => false, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'Message' => [ + 'description' => '', + 'example' => 'null', + 'type' => 'string', + ], + 'RequestId' => [ + 'description' => '', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'ParamIdx' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Namespace' => [ + 'description' => '', + 'example' => 'default', + 'type' => 'string', + ], + 'ParamFlowItemList' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'ItemValue' => [ + 'description' => '', + 'example' => 'apple', + 'type' => 'string', + ], + 'ItemType' => [ + 'description' => '', + 'example' => 'String', + 'type' => 'string', + ], + 'Threshold' => [ + 'description' => '', + 'example' => '10', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'StatDurationSec' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + 'BurstCount' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int32', + 'type' => 'integer', + ], + 'RuleId' => [ + 'description' => '', + 'example' => '123', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Resource' => [ + 'description' => '', + 'example' => 'handleService', + 'type' => 'string', + ], + 'AppName' => [ + 'description' => '', + 'example' => 'ahas-demo', + 'type' => 'string', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'example' => '3000', + 'format' => 'int32', + 'type' => 'integer', + ], + 'ControlBehavior' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'MetricType' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Threshold' => [ + 'description' => '', + 'example' => '20', + 'format' => 'float', + 'type' => 'number', + ], + 'Enable' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + 'Code' => [ + 'description' => '', + 'example' => '200', + 'type' => 'string', + ], + 'Success' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.BurstCount', + 'errorMessage' => 'The specified BurstCount is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.ControlBehavior', + 'errorMessage' => 'The specified ControlBehavior is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.DurationInSec', + 'errorMessage' => 'The specified DurationInSec is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MaxQueueingTimeM', + 'errorMessage' => 'The specified MaxQueueingTimeMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MetricType', + 'errorMessage' => 'The specified MetricType is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.ParamIdx', + 'errorMessage' => 'The specified ParamIdx is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"ParamIdx\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"ParamFlowItemList\\": [\\n {\\n \\"ItemValue\\": \\"apple\\",\\n \\"ItemType\\": \\"String\\",\\n \\"Threshold\\": 10\\n }\\n ],\\n \\"StatDurationSec\\": 1,\\n \\"BurstCount\\": 2,\\n \\"RuleId\\": 123,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"MaxQueueingTimeMs\\": 3000,\\n \\"ControlBehavior\\": 0,\\n \\"MetricType\\": 0,\\n \\"Threshold\\": 20,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n default\\n \\n apple\\n String\\n 10\\n \\n 1\\n 2\\n 123\\n handleService\\n ahas-demo\\n 3000\\n 0\\n 0\\n 20\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'extraInfo' => ' ', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'title' => 'CreateHotParamRule', + ], + 'CreateHotParamItems' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'Items', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '[{"itemType":"String","itemValue":"apple","threshold":50.0},{"itemType":"String","itemValue":"orange","threshold":20.0}]', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParamIdx' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'ParamFlowItemList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apple', + ], + 'ItemType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'String', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + ], + ], + ], + 'StatDurationSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'BurstCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3000', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '50', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.ParamItems', + 'errorMessage' => 'The specified Items is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"ParamIdx\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"ParamFlowItemList\\": [\\n {\\n \\"ItemValue\\": \\"apple\\",\\n \\"ItemType\\": \\"String\\",\\n \\"Threshold\\": 10\\n }\\n ],\\n \\"StatDurationSec\\": 1,\\n \\"BurstCount\\": 2,\\n \\"RuleId\\": 123,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"MaxQueueingTimeMs\\": 3000,\\n \\"ControlBehavior\\": 0,\\n \\"MetricType\\": 1,\\n \\"Threshold\\": 50,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n default\\n \\n apple\\n String\\n 10\\n \\n 1\\n 2\\n 123\\n handleService\\n ahas-demo\\n 3000\\n 0\\n 1\\n 50\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'CreateHotParamItems', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DeleteHotParamRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"RuleId\\": 123\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 123\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'DeleteHotParamRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'EnableHotParamRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParamIdx' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'ParamFlowItemList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apple', + ], + 'ItemType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'String ', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + ], + ], + ], + 'StatDurationSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'BurstCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3000', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '20', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"ParamIdx\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"ParamFlowItemList\\": [\\n {\\n \\"ItemValue\\": \\"apple\\",\\n \\"ItemType\\": \\"String \\",\\n \\"Threshold\\": 10\\n }\\n ],\\n \\"StatDurationSec\\": 1,\\n \\"BurstCount\\": 2,\\n \\"RuleId\\": 123,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"MaxQueueingTimeMs\\": 3000,\\n \\"ControlBehavior\\": 0,\\n \\"MetricType\\": 0,\\n \\"Threshold\\": 20,\\n \\"Enable\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n default\\n \\n apple\\n String \\n 10\\n \\n 1\\n 2\\n 123\\n handleService\\n ahas-demo\\n 3000\\n 0\\n 0\\n 20\\n true\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'EnableHotParamRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'DisableHotParamRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParamIdx' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'StatDurationSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'BurstCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3000', + ], + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '20', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ParamFlowItemList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apple', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'ItemType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'String', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument', + 'errorMessage' => 'The specified parameter is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"ParamIdx\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"StatDurationSec\\": 1,\\n \\"BurstCount\\": 2,\\n \\"RuleId\\": 123,\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"Resource\\": \\"handleService\\",\\n \\"ControlBehavior\\": 0,\\n \\"MaxQueueingTimeMs\\": 3000,\\n \\"MetricType\\": 0,\\n \\"Threshold\\": 20,\\n \\"Enable\\": false,\\n \\"ParamFlowItemList\\": [\\n {\\n \\"ItemValue\\": \\"apple\\",\\n \\"Threshold\\": 10,\\n \\"ItemType\\": \\"String\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\nnull\\n3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n\\n 0\\n 123\\n handleService\\n 3000\\n default\\n ahas-demo\\n 2\\n \\n apple\\n String\\n 10\\n \\n 0\\n 1\\n false\\n 1\\n 20\\n\\n200\\ntrue\\n","errorExample":""}]', + 'title' => 'DisableHotParamRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListHotParamRulesOfApp' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParamIdx' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'ParamFlowItemList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apple', + ], + 'ItemType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'String', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '20', + ], + ], + ], + ], + 'StatDurationSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'BurstCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3000', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '20', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"ParamIdx\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"ParamFlowItemList\\": [\\n {\\n \\"ItemValue\\": \\"apple\\",\\n \\"ItemType\\": \\"String\\",\\n \\"Threshold\\": 20\\n }\\n ],\\n \\"StatDurationSec\\": 1,\\n \\"BurstCount\\": 2,\\n \\"RuleId\\": 123,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"MaxQueueingTimeMs\\": 3000,\\n \\"ControlBehavior\\": 0,\\n \\"MetricType\\": 0,\\n \\"Threshold\\": 20,\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n 1\\n default\\n \\n apple\\n String\\n 20\\n \\n 1\\n 2\\n 123\\n handleService\\n ahas-demo\\n 3000\\n 0\\n 0\\n 20\\n true\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListHotParamRulesOfApp', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ListHotParamRulesOfResource' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'AppName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ahas-demo', + ], + ], + [ + 'name' => 'Resource', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'handleService', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Datas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ParamIdx' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'ParamFlowItemList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apple', + ], + 'ItemType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'String', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + ], + ], + ], + 'StatDurationSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'BurstCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3000', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + 'TotalPage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.AppName', + 'errorMessage' => 'The specified AppName is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Resource', + 'errorMessage' => 'The specified Resource is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Namespace', + 'errorMessage' => 'The specified Namespace is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"Datas\\": [\\n {\\n \\"ParamIdx\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"ParamFlowItemList\\": [\\n {\\n \\"ItemValue\\": \\"apple\\",\\n \\"ItemType\\": \\"String\\",\\n \\"Threshold\\": 10\\n }\\n ],\\n \\"StatDurationSec\\": 1,\\n \\"BurstCount\\": 2,\\n \\"RuleId\\": 123,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"MaxQueueingTimeMs\\": 3000,\\n \\"ControlBehavior\\": 0,\\n \\"MetricType\\": 0,\\n \\"Threshold\\": 10,\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalPage\\": 3,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 23\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n \\n 1\\n default\\n \\n apple\\n String\\n 10\\n \\n 1\\n 2\\n 123\\n handleService\\n ahas-demo\\n 3000\\n 0\\n 0\\n 10\\n true\\n \\n 3\\n 10\\n 23\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ListHotParamRulesOfResource', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ModifyHotParamRule' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'MetricType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'Enable', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'example' => '123', + ], + ], + [ + 'name' => 'ParamIdx', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'StatDurationSec', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ControlBehavior', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'BurstCount', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'MaxQueueingTimeMs', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3000', + ], + ], + [ + 'name' => 'AhasRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3FEEAD12-CE22-4EDE-A729-CE94EC070610', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ParamIdx' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'ParamFlowItemList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ItemValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'apple', + ], + 'ItemType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'String', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '20', + ], + ], + ], + ], + 'StatDurationSec' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'BurstCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123', + ], + 'Resource' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'handleService', + ], + 'AppName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ahas-demo', + ], + 'MaxQueueingTimeMs' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3000', + ], + 'ControlBehavior' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'MetricType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '20', + ], + 'Enable' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IllegalArgument.RuleId', + 'errorMessage' => 'The specified RuleId is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MetricType', + 'errorMessage' => 'The specified MetricType is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.Threshold', + 'errorMessage' => 'The specified Threshold is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.ParamIdx', + 'errorMessage' => 'The specified ParamIdx is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.ControlBehavior', + 'errorMessage' => 'The specified ControlBehavior is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.MaxQueueingTimeM', + 'errorMessage' => 'The specified MaxQueueingTimeMs is invalid.', + ], + [ + 'errorCode' => 'IllegalArgument.BurstCount', + 'errorMessage' => 'The specified BurstCount is invalid.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"3FEEAD12-CE22-4EDE-A729-CE94EC070610\\",\\n \\"Data\\": {\\n \\"ParamIdx\\": 1,\\n \\"Namespace\\": \\"default\\",\\n \\"ParamFlowItemList\\": [\\n {\\n \\"ItemValue\\": \\"apple\\",\\n \\"ItemType\\": \\"String\\",\\n \\"Threshold\\": 20\\n }\\n ],\\n \\"StatDurationSec\\": 1,\\n \\"BurstCount\\": 2,\\n \\"RuleId\\": 123,\\n \\"Resource\\": \\"handleService\\",\\n \\"AppName\\": \\"ahas-demo\\",\\n \\"MaxQueueingTimeMs\\": 3000,\\n \\"ControlBehavior\\": 0,\\n \\"MetricType\\": 1,\\n \\"Threshold\\": 20,\\n \\"Enable\\": false\\n },\\n \\"Code\\": \\"200\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n null\\n 3FEEAD12-CE22-4EDE-A729-CE94EC070610\\n \\n 1\\n default\\n \\n apple\\n String\\n 20\\n \\n 1\\n 2\\n 123\\n handleService\\n ahas-demo\\n 3000\\n 0\\n 1\\n 20\\n false\\n \\n 200\\n true\\n","errorExample":""}]', + 'title' => 'ModifyHotParamRule', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'ahas.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'ahas.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'ahas.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'ahas.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'ahas.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'ahas.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'ahas.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'ahas.eu-central-1.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3