diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/ahas-openapi | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/ahas-openapi')
| -rw-r--r-- | data/en_us/ahas-openapi/2019-09-01/api-docs.php | 8549 |
1 files changed, 8549 insertions, 0 deletions
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 @@ +<?php return [ + 'version' => '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":"<GetMetricsOfAppResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <AppName>ahas-demo</AppName>\\n <Namespace>default</Namespace>\\n <InnerMetrics>\\n <RtP99>7</RtP99>\\n <SuccessQpsAvg>143</SuccessQpsAvg>\\n <PassedQpsP99>143</PassedQpsP99>\\n <RtAvg>6.5</RtAvg>\\n <Count>0</Count>\\n <ThreadStd>1</ThreadStd>\\n <PassedQpsAvg>143</PassedQpsAvg>\\n <ExceptionP95>0</ExceptionP95>\\n <SuccessQpsMax>143</SuccessQpsMax>\\n <RtP95>7</RtP95>\\n <BlockedQpsMin>86</BlockedQpsMin>\\n <BlockedQps>173</BlockedQps>\\n <Timestamp>1596593014000</Timestamp>\\n <ThreadP95>1</ThreadP95>\\n <RtStd>0.7</RtStd>\\n <PassedQpsMin>143</PassedQpsMin>\\n <BlockedQpsP99>86</BlockedQpsP99>\\n <PassedQpsMax>143</PassedQpsMax>\\n <ExceptionMax>0</ExceptionMax>\\n <SuccessQps>286</SuccessQps>\\n <SuccessQpsP75>143</SuccessQpsP75>\\n <ThreadP75>1</ThreadP75>\\n <SuccessQpsStd>0</SuccessQpsStd>\\n <ExceptionMin>0</ExceptionMin>\\n <PassedQpsP75>143</PassedQpsP75>\\n <PassedQps>286</PassedQps>\\n <ThreadMax>1</ThreadMax>\\n <SuccessQpsP99>143</SuccessQpsP99>\\n <SuccessQpsMin>143</SuccessQpsMin>\\n <ThreadP99>1</ThreadP99>\\n <ExceptionStd>0</ExceptionStd>\\n <BlockedQpsP95>86</BlockedQpsP95>\\n <Thread>2</Thread>\\n <ThreadMin>1</ThreadMin>\\n <RtMin>7</RtMin>\\n <BlockedQpsAvg>86</BlockedQpsAvg>\\n <ThreadAvg>1</ThreadAvg>\\n <BlockedQpsP75>86</BlockedQpsP75>\\n <RtP75>7</RtP75>\\n <ExceptionP99>0</ExceptionP99>\\n <ExceptionP75>0</ExceptionP75>\\n <SuccessQpsP95>143</SuccessQpsP95>\\n <Rt>6.5</Rt>\\n <PassedQpsP95>143</PassedQpsP95>\\n <RtMax>7</RtMax>\\n <BlockedQpsStd>0</BlockedQpsStd>\\n <BlockedQpsMax>86</BlockedQpsMax>\\n <Exception>0</Exception>\\n <ExceptionAvg>0</ExceptionAvg>\\n <PassedQpsStd>143</PassedQpsStd>\\n </InnerMetrics>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetMetricsOfAppResponse>","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":"<GetMetricsOfResourceResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94E*****10</RequestId>\\n <Data>\\n <AppName>ahas-demo</AppName>\\n <Resource>handleService</Resource>\\n <Namespace>default</Namespace>\\n <InnerMetrics>\\n <RtP99>7</RtP99>\\n <SuccessQpsAvg>143</SuccessQpsAvg>\\n <PassedQpsP99>143</PassedQpsP99>\\n <RtAvg>6.5</RtAvg>\\n <Count>2</Count>\\n <ThreadStd>0</ThreadStd>\\n <PassedQpsAvg>143</PassedQpsAvg>\\n <ExceptionP95>0</ExceptionP95>\\n <SuccessQpsMax>143</SuccessQpsMax>\\n <RtP95>7</RtP95>\\n <BlockedQpsMin>86</BlockedQpsMin>\\n <BlockedQps>173</BlockedQps>\\n <Timestamp>1596593014000</Timestamp>\\n <ThreadP95>1</ThreadP95>\\n <RtStd>0.7</RtStd>\\n <PassedQpsMin>143</PassedQpsMin>\\n <BlockedQpsP99>86</BlockedQpsP99>\\n <PassedQpsMax>143</PassedQpsMax>\\n <ExceptionMax>0</ExceptionMax>\\n <SuccessQps>286</SuccessQps>\\n <SuccessQpsP75>143</SuccessQpsP75>\\n <ThreadP75>1</ThreadP75>\\n <SuccessQpsStd>0</SuccessQpsStd>\\n <ExceptionMin>0</ExceptionMin>\\n <PassedQpsP75>143</PassedQpsP75>\\n <PassedQps>286</PassedQps>\\n <ThreadMax>1</ThreadMax>\\n <SuccessQpsP99>143</SuccessQpsP99>\\n <SuccessQpsMin>143</SuccessQpsMin>\\n <ThreadP99>1</ThreadP99>\\n <ExceptionStd>0</ExceptionStd>\\n <BlockedQpsP95>86</BlockedQpsP95>\\n <Thread>2</Thread>\\n <ThreadMin>1</ThreadMin>\\n <RtMin>6.5</RtMin>\\n <BlockedQpsAvg>86</BlockedQpsAvg>\\n <ThreadAvg>1</ThreadAvg>\\n <BlockedQpsP75>86</BlockedQpsP75>\\n <RtP75>7</RtP75>\\n <ExceptionP99>0</ExceptionP99>\\n <ExceptionP75>0</ExceptionP75>\\n <SuccessQpsP95>143</SuccessQpsP95>\\n <Rt>6.5</Rt>\\n <PassedQpsP95>143</PassedQpsP95>\\n <RtMax>7</RtMax>\\n <BlockedQpsStd>0</BlockedQpsStd>\\n <BlockedQpsMax>86</BlockedQpsMax>\\n <Exception>0</Exception>\\n <ExceptionAvg>0</ExceptionAvg>\\n <PassedQpsStd>0</PassedQpsStd>\\n </InnerMetrics>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</GetMetricsOfResourceResponse>","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":"<CreateFlowRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94E*****10</RequestId>\\n <Code>200</Code>\\n <Data>\\n <RefResource>handleServiceB</RefResource>\\n <ClusterFallbackThreshold>30</ClusterFallbackThreshold>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <StatDurationMs>5000</StatDurationMs>\\n <ClusterThresholdType>0</ClusterThresholdType>\\n <RuleId>123</RuleId>\\n <RelationStrategy>0</RelationStrategy>\\n <AppName>ahas-demo</AppName>\\n <Resource>handleServiceA</Resource>\\n <ClusterEstimatedMaxQps>5000</ClusterEstimatedMaxQps>\\n <ControlBehavior>0</ControlBehavior>\\n <MaxQueueingTimeMs>2000</MaxQueueingTimeMs>\\n <ClusterFallbackStrategy>0</ClusterFallbackStrategy>\\n <WarmUpPeriodSec>30</WarmUpPeriodSec>\\n <ClusterMode>true</ClusterMode>\\n <ThresholdMode>2</ThresholdMode>\\n <Threshold>300</Threshold>\\n <Enable>true</Enable>\\n </Data>\\n <Success>true</Success>\\n</CreateFlowRuleResponse>","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":"<DeleteFlowRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RuleId>123</RuleId>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DeleteFlowRuleResponse>","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":"<EnableFlowRuleResponse>\\n<Message>null</Message>\\n<RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n<Data>\\n <RefResource>handleServiceB</RefResource>\\n <ClusterMode>true</ClusterMode>\\n <RuleId>123</RuleId>\\n <Resource>handleServiceA</Resource>\\n <MaxQueueingTimeMs>2000</MaxQueueingTimeMs>\\n <Namespace>default</Namespace>\\n <AppName>ahas-demo</AppName>\\n <WarmUpPeriodSec>30</WarmUpPeriodSec>\\n <ClusterThresholdType>0</ClusterThresholdType>\\n <ClusterFallbackStrategy>1</ClusterFallbackStrategy>\\n <ControlBehavior>0</ControlBehavior>\\n <ClusterFallbackThreshold>30</ClusterFallbackThreshold>\\n <Enable>true</Enable>\\n <RelationStrategy>0</RelationStrategy>\\n <LimitOrigin>default</LimitOrigin>\\n <ClusterEstimatedMaxQps>3000</ClusterEstimatedMaxQps>\\n <Threshold>50</Threshold>\\n <StatDurationMs>5000</StatDurationMs>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>\\n</EnableFlowRuleResponse>","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":"<DisableFlowRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RefResource>handleServiceB</RefResource>\\n <ClusterFallbackThreshold>30</ClusterFallbackThreshold>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <StatDurationMs>5000</StatDurationMs>\\n <ClusterThresholdType>0</ClusterThresholdType>\\n <RuleId>123</RuleId>\\n <RelationStrategy>0</RelationStrategy>\\n <AppName>ahas-demo</AppName>\\n <Resource>handleServiceA</Resource>\\n <MaxQueueingTimeMs>2000</MaxQueueingTimeMs>\\n <ClusterEstimatedMaxQps>5000</ClusterEstimatedMaxQps>\\n <ControlBehavior>0</ControlBehavior>\\n <WarmUpPeriodSec>30</WarmUpPeriodSec>\\n <ClusterFallbackStrategy>0</ClusterFallbackStrategy>\\n <Threshold>300</Threshold>\\n <ClusterMode>true</ClusterMode>\\n <Enable>false</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DisableFlowRuleResponse>","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":"<ModifyFlowRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94E*****10</RequestId>\\n <Data>\\n <RefResource>handleServiceB</RefResource>\\n <ClusterFallbackThreshold>0</ClusterFallbackThreshold>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <StatDurationMs>0</StatDurationMs>\\n <ClusterThresholdType>0</ClusterThresholdType>\\n <RuleId>123</RuleId>\\n <RelationStrategy>0</RelationStrategy>\\n <AppName>ahas-demo</AppName>\\n <Resource>handleServiceA</Resource>\\n <MaxQueueingTimeMs>2000</MaxQueueingTimeMs>\\n <ClusterEstimatedMaxQps>0</ClusterEstimatedMaxQps>\\n <ControlBehavior>0</ControlBehavior>\\n <WarmUpPeriodSec>30</WarmUpPeriodSec>\\n <ClusterFallbackStrategy>0</ClusterFallbackStrategy>\\n <Threshold>50</Threshold>\\n <ThresholdMode>2</ThresholdMode>\\n <ClusterMode>false</ClusterMode>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ModifyFlowRuleResponse>","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":"<ListFlowRulesOfAppResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <RefResource>handleServiceB</RefResource>\\n <ClusterFallbackThreshold>0</ClusterFallbackThreshold>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <StatDurationMs>0</StatDurationMs>\\n <ClusterThresholdType>0</ClusterThresholdType>\\n <RuleId>123</RuleId>\\n <RelationStrategy>0</RelationStrategy>\\n <AppName>ahas-demo</AppName>\\n <Resource>handleServiceA</Resource>\\n <ClusterEstimatedMaxQps>0</ClusterEstimatedMaxQps>\\n <ControlBehavior>0</ControlBehavior>\\n <MaxQueueingTimeMs>2000</MaxQueueingTimeMs>\\n <ClusterFallbackStrategy>0</ClusterFallbackStrategy>\\n <WarmUpPeriodSec>30</WarmUpPeriodSec>\\n <ClusterMode>false</ClusterMode>\\n <Threshold>30</Threshold>\\n <Enable>true</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListFlowRulesOfAppResponse>","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":"<ListFlowRulesOfResourceResponse>\\n <Message>null </Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94E*****10</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <RefResource>handleServiceB</RefResource>\\n <ClusterFallbackThreshold>0</ClusterFallbackThreshold>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <StatDurationMs>0</StatDurationMs>\\n <ClusterThresholdType>0</ClusterThresholdType>\\n <RuleId>123</RuleId>\\n <RelationStrategy>0</RelationStrategy>\\n <AppName>ahas-demo</AppName>\\n <Resource>handleServiceA</Resource>\\n <ClusterEstimatedMaxQps>0</ClusterEstimatedMaxQps>\\n <ControlBehavior>0</ControlBehavior>\\n <MaxQueueingTimeMs>2000</MaxQueueingTimeMs>\\n <ClusterFallbackStrategy>0</ClusterFallbackStrategy>\\n <WarmUpPeriodSec>30</WarmUpPeriodSec>\\n <ClusterMode>false</ClusterMode>\\n <ThresholdMode>2</ThresholdMode>\\n <Threshold>30</Threshold>\\n <Enable>true</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListFlowRulesOfResourceResponse>","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":"<CreateDegradeRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <SlowRtMs>2000</SlowRtMs>\\n <HalfOpenRecoveryStepNum>1</HalfOpenRecoveryStepNum>\\n <Namespace>default</Namespace>\\n <StatDurationMs>2000</StatDurationMs>\\n <RuleId>1</RuleId>\\n <Strategy>0</Strategy>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <HalfOpenBaseAmountPerStep>5</HalfOpenBaseAmountPerStep>\\n <RecoveryTimeoutMs>5000</RecoveryTimeoutMs>\\n <MinRequestAmount>10</MinRequestAmount>\\n <Threshold>0.6</Threshold>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</CreateDegradeRuleResponse>","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":"<DeleteDegradeRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RuleId>123</RuleId>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DeleteDegradeRuleResponse>","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":"<EnableDegradeRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <SlowRtMs>2000</SlowRtMs>\\n <HalfOpenRecoveryStepNum>1</HalfOpenRecoveryStepNum>\\n <Namespace>default</Namespace>\\n <StatDurationMs>2000</StatDurationMs>\\n <RuleId>123</RuleId>\\n <Strategy>200</Strategy>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <HalfOpenBaseAmountPerStep>5</HalfOpenBaseAmountPerStep>\\n <RecoveryTimeoutMs>5000</RecoveryTimeoutMs>\\n <MinRequestAmount>10</MinRequestAmount>\\n <Threshold>0.6</Threshold>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</EnableDegradeRuleResponse>","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":"<DisableDegradeRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <SlowRtMs>2000</SlowRtMs>\\n <HalfOpenRecoveryStepNum>1</HalfOpenRecoveryStepNum>\\n <Namespace>default </Namespace>\\n <StatDurationMs>2000</StatDurationMs>\\n <RuleId>123</RuleId>\\n <Strategy>0</Strategy>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <HalfOpenBaseAmountPerStep>5</HalfOpenBaseAmountPerStep>\\n <RecoveryTimeoutMs>5000</RecoveryTimeoutMs>\\n <MinRequestAmount>10</MinRequestAmount>\\n <Threshold>0.6</Threshold>\\n <Enable>false</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DisableDegradeRuleResponse>","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":"<ListDegradeRulesOfAppResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <SlowRtMs>2000</SlowRtMs>\\n <HalfOpenRecoveryStepNum>1</HalfOpenRecoveryStepNum>\\n <Namespace>default</Namespace>\\n <StatDurationMs>2000</StatDurationMs>\\n <RuleId>123</RuleId>\\n <Strategy>0</Strategy>\\n <Resource>handleServiceA</Resource>\\n <AppName>ahas-demo</AppName>\\n <HalfOpenBaseAmountPerStep>5</HalfOpenBaseAmountPerStep>\\n <RecoveryTimeoutMs>5000</RecoveryTimeoutMs>\\n <MinRequestAmount>10</MinRequestAmount>\\n <Threshold>0.6</Threshold>\\n <Enable>true</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListDegradeRulesOfAppResponse>","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":"<ListDegradeRulesOfResourceResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <SlowRtMs>2000</SlowRtMs>\\n <HalfOpenRecoveryStepNum>1</HalfOpenRecoveryStepNum>\\n <Namespace>default</Namespace>\\n <StatDurationMs>2000</StatDurationMs>\\n <RuleId>123</RuleId>\\n <Strategy>0</Strategy>\\n <Resource>handleSerivice</Resource>\\n <AppName>ahas-demo</AppName>\\n <HalfOpenBaseAmountPerStep>5</HalfOpenBaseAmountPerStep>\\n <RecoveryTimeoutMs>5000</RecoveryTimeoutMs>\\n <MinRequestAmount>10</MinRequestAmount>\\n <Threshold>0.6</Threshold>\\n <Enable>false</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListDegradeRulesOfResourceResponse>","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":"<ModifyDegradeRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <SlowRtMs>5000</SlowRtMs>\\n <HalfOpenRecoveryStepNum>2</HalfOpenRecoveryStepNum>\\n <Namespace>default</Namespace>\\n <StatDurationMs>2000</StatDurationMs>\\n <RuleId>123</RuleId>\\n <Strategy>0</Strategy>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <HalfOpenBaseAmountPerStep>3</HalfOpenBaseAmountPerStep>\\n <RecoveryTimeoutMs>2000</RecoveryTimeoutMs>\\n <MinRequestAmount>10</MinRequestAmount>\\n <Threshold>0.5</Threshold>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ModifyDegradeRuleResponse>","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":"<CreateIsolationRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RelationStrategy>0</RelationStrategy>\\n <Resource>handleServiceA</Resource>\\n <AppName>ahas-demo</AppName>\\n <RefResource>handleServiceB</RefResource>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <Threshold>10</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</CreateIsolationRuleResponse>","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":"<DeleteIsolationRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RuleId>123</RuleId>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DeleteIsolationRuleResponse>","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":"<EnableIsolationRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RelationStrategy>0</RelationStrategy>\\n <Resource>handleServiceA</Resource>\\n <AppName>ahas-demo</AppName>\\n <RefResource>handleServiceB</RefResource>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <Threshold>30</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</EnableIsolationRuleResponse>","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":"<DisableIsolationRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RelationStrategy>0</RelationStrategy>\\n <Resource>handleServiceA</Resource>\\n <AppName>ahas-demo</AppName>\\n <RefResource>handleServiceB</RefResource>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <Threshold>10</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>false</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DisableIsolationRuleResponse>","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":"<ListIsolationRulesOfAppResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <RelationStrategy>0</RelationStrategy>\\n <Resource>handleServiceA</Resource>\\n <AppName>ahas-demo</AppName>\\n <RefResource>hanldeServiceB</RefResource>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <Threshold>10</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListIsolationRulesOfAppResponse>","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":"<ListIsolationRulesOfResourceResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <RelationStrategy>0</RelationStrategy>\\n <Resource>handleServiceA</Resource>\\n <AppName>ahas-demo</AppName>\\n <RefResource>handleServiceB</RefResource>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <Threshold>10</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListIsolationRulesOfResourceResponse>","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":"<ModifyIsolationRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RelationStrategy>0</RelationStrategy>\\n <Resource>handleServiceA</Resource>\\n <AppName>ahas-demo</AppName>\\n <RefResource>handleServiceB</RefResource>\\n <Namespace>default</Namespace>\\n <LimitOrigin>default</LimitOrigin>\\n <Threshold>10</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ModifyIsolationRuleResponse>","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":"<CreateSystemRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <MetricType>4</MetricType>\\n <Threshold>0.6</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</CreateSystemRuleResponse>","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":"<DeleteSystemRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RuleId>123</RuleId>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DeleteSystemRuleResponse>","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":"<EnableSystemRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <MetricType>4</MetricType>\\n <Threshold>0.6</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</EnableSystemRuleResponse>","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":"<DisableSystemRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <MetricType>4</MetricType>\\n <Threshold>0.6</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>false</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DisableSystemRuleResponse>","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":"<ListSystemRulesResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <AppName>ahas-demo</AppName>\\n <Namespace>default</Namespace>\\n <MetricType>4</MetricType>\\n <Threshold>0.6</Threshold>\\n <Enable>true</Enable>\\n <RuleId>123</RuleId>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListSystemRulesResponse>","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":"<ModifySystemRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <MetricType>4</MetricType>\\n <Threshold>0.5</Threshold>\\n <RuleId>123</RuleId>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ModifySystemRuleResponse>","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":"<CreateHotParamRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <ParamIdx>1</ParamIdx>\\n <Namespace>default</Namespace>\\n <ParamFlowItemList>\\n <ItemValue>apple</ItemValue>\\n <ItemType>String</ItemType>\\n <Threshold>10</Threshold>\\n </ParamFlowItemList>\\n <StatDurationSec>1</StatDurationSec>\\n <BurstCount>2</BurstCount>\\n <RuleId>123</RuleId>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <MaxQueueingTimeMs>3000</MaxQueueingTimeMs>\\n <ControlBehavior>0</ControlBehavior>\\n <MetricType>0</MetricType>\\n <Threshold>20</Threshold>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</CreateHotParamRuleResponse>","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":"<CreateHotParamItemsResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <ParamIdx>1</ParamIdx>\\n <Namespace>default</Namespace>\\n <ParamFlowItemList>\\n <ItemValue>apple</ItemValue>\\n <ItemType>String</ItemType>\\n <Threshold>10</Threshold>\\n </ParamFlowItemList>\\n <StatDurationSec>1</StatDurationSec>\\n <BurstCount>2</BurstCount>\\n <RuleId>123</RuleId>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <MaxQueueingTimeMs>3000</MaxQueueingTimeMs>\\n <ControlBehavior>0</ControlBehavior>\\n <MetricType>1</MetricType>\\n <Threshold>50</Threshold>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</CreateHotParamItemsResponse>","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":"<DeleteHotParamRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <RuleId>123</RuleId>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</DeleteHotParamRuleResponse>","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":"<EnableHotParamRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <ParamIdx>1</ParamIdx>\\n <Namespace>default</Namespace>\\n <ParamFlowItemList>\\n <ItemValue>apple</ItemValue>\\n <ItemType>String </ItemType>\\n <Threshold>10</Threshold>\\n </ParamFlowItemList>\\n <StatDurationSec>1</StatDurationSec>\\n <BurstCount>2</BurstCount>\\n <RuleId>123</RuleId>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <MaxQueueingTimeMs>3000</MaxQueueingTimeMs>\\n <ControlBehavior>0</ControlBehavior>\\n <MetricType>0</MetricType>\\n <Threshold>20</Threshold>\\n <Enable>true</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</EnableHotParamRuleResponse>","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":"<DisableHotParamRuleResponse>\\n<Message>null</Message>\\n<RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n<Data>\\n <MetricType>0</MetricType>\\n <RuleId>123</RuleId>\\n <Resource>handleService</Resource>\\n <MaxQueueingTimeMs>3000</MaxQueueingTimeMs>\\n <Namespace>default</Namespace>\\n <AppName>ahas-demo</AppName>\\n <BurstCount>2</BurstCount>\\n <ParamFlowItemList>\\n <ItemValue>apple</ItemValue>\\n <ItemType>String</ItemType>\\n <Threshold>10</Threshold>\\n </ParamFlowItemList>\\n <ControlBehavior>0</ControlBehavior>\\n <StatDurationSec>1</StatDurationSec>\\n <Enable>false</Enable>\\n <ParamIdx>1</ParamIdx>\\n <Threshold>20</Threshold>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>\\n</DisableHotParamRuleResponse>","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":"<ListHotParamRulesOfAppResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <ParamIdx>1</ParamIdx>\\n <Namespace>default</Namespace>\\n <ParamFlowItemList>\\n <ItemValue>apple</ItemValue>\\n <ItemType>String</ItemType>\\n <Threshold>20</Threshold>\\n </ParamFlowItemList>\\n <StatDurationSec>1</StatDurationSec>\\n <BurstCount>2</BurstCount>\\n <RuleId>123</RuleId>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <MaxQueueingTimeMs>3000</MaxQueueingTimeMs>\\n <ControlBehavior>0</ControlBehavior>\\n <MetricType>0</MetricType>\\n <Threshold>20</Threshold>\\n <Enable>true</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListHotParamRulesOfAppResponse>","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":"<ListHotParamRulesOfResourceResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <PageIndex>1</PageIndex>\\n <Datas>\\n <ParamIdx>1</ParamIdx>\\n <Namespace>default</Namespace>\\n <ParamFlowItemList>\\n <ItemValue>apple</ItemValue>\\n <ItemType>String</ItemType>\\n <Threshold>10</Threshold>\\n </ParamFlowItemList>\\n <StatDurationSec>1</StatDurationSec>\\n <BurstCount>2</BurstCount>\\n <RuleId>123</RuleId>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <MaxQueueingTimeMs>3000</MaxQueueingTimeMs>\\n <ControlBehavior>0</ControlBehavior>\\n <MetricType>0</MetricType>\\n <Threshold>10</Threshold>\\n <Enable>true</Enable>\\n </Datas>\\n <TotalPage>3</TotalPage>\\n <PageSize>10</PageSize>\\n <TotalCount>23</TotalCount>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ListHotParamRulesOfResourceResponse>","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":"<ModifyHotParamRuleResponse>\\n <Message>null</Message>\\n <RequestId>3FEEAD12-CE22-4EDE-A729-CE94EC070610</RequestId>\\n <Data>\\n <ParamIdx>1</ParamIdx>\\n <Namespace>default</Namespace>\\n <ParamFlowItemList>\\n <ItemValue>apple</ItemValue>\\n <ItemType>String</ItemType>\\n <Threshold>20</Threshold>\\n </ParamFlowItemList>\\n <StatDurationSec>1</StatDurationSec>\\n <BurstCount>2</BurstCount>\\n <RuleId>123</RuleId>\\n <Resource>handleService</Resource>\\n <AppName>ahas-demo</AppName>\\n <MaxQueueingTimeMs>3000</MaxQueueingTimeMs>\\n <ControlBehavior>0</ControlBehavior>\\n <MetricType>1</MetricType>\\n <Threshold>20</Threshold>\\n <Enable>false</Enable>\\n </Data>\\n <Code>200</Code>\\n <Success>true</Success>\\n</ModifyHotParamRuleResponse>","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', + ], + ], +]; |
