summaryrefslogtreecommitdiff
path: root/data/en_us/hdr/2017-09-25
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/hdr/2017-09-25
downloadacs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz
acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip
Diffstat (limited to 'data/en_us/hdr/2017-09-25')
-rw-r--r--data/en_us/hdr/2017-09-25/api-docs.php5371
1 files changed, 5371 insertions, 0 deletions
diff --git a/data/en_us/hdr/2017-09-25/api-docs.php b/data/en_us/hdr/2017-09-25/api-docs.php
new file mode 100644
index 0000000..c38a74d
--- /dev/null
+++ b/data/en_us/hdr/2017-09-25/api-docs.php
@@ -0,0 +1,5371 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'hdr',
+ 'version' => '2017-09-25',
+ ],
+ 'directories' => [
+ [
+ 'id' => 151406,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'RegisterServers',
+ 'UnregisterServer',
+ 'DescribeServer',
+ 'DescribeServers',
+ ],
+ ],
+ [
+ 'id' => 151411,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeSitePairs',
+ 'DescribeSite',
+ 'DeleteSitePair',
+ 'CreateSitePair',
+ 'DescribeSitePair',
+ ],
+ ],
+ [
+ 'id' => 151417,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'EnableReplication',
+ 'DisableReplication',
+ 'TestFailover',
+ 'TestCleanup',
+ 'DescribeRecoveryPoints',
+ 'ChangeRecoveryPoint',
+ 'CommitFailover',
+ 'ForcedFailover',
+ ],
+ ],
+ [
+ 'id' => 151426,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'TriggerReversedRegister',
+ 'DescribeInfrastructures',
+ 'ReversedEnableReplication',
+ 'ReversedDisableReplication',
+ 'Failback',
+ ],
+ ],
+ [
+ 'id' => 180810,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateRecoveryPlan',
+ 'DeleteRecoveryPlan',
+ 'DescribeRecoveryPlan',
+ 'DescribeRecoveryPlans',
+ 'UpdateRecoveryPlan',
+ ],
+ ],
+ [
+ 'id' => 151432,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeAvailableInstanceTypes',
+ 'DescribeTasks',
+ 'DescribeTask',
+ ],
+ ],
+ [
+ 'id' => 193000,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeSitePairStatistics',
+ 'DescribeSummary',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'RegisterServers' => [
+ 'summary' => '注册保护实例',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrE49XN0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '站点对ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 's-000cm9ax8sgzwujrzdwt',
+ ],
+ ],
+ [
+ 'name' => 'ServerInstancesInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '注册服务器信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"[{\\"instanceId\\":\\"i-uf60ngpe9sseu5gsgu45\\",\\"privateIpAddress\\":\\"192.168.1.198\\",\\"osType\\":\\"linux\\",\\"osName\\":\\"CentOS 7.8 64位\\",\\"cpu\\":2,\\"memory\\":4294967296,\\"hostName\\":\\"hdr-test\\"}]"',
+ ],
+ ],
+ [
+ 'name' => 'AgentPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '代理服务端口,默认9080',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '9080',
+ 'default' => '9080',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D76E741C-68B7-5281-8C5B-698AD06B0D89',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0001nlbcl4bynbb67x4w',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"D76E741C-68B7-5281-8C5B-698AD06B0D89\\",\\n \\"TaskId\\": \\"t-0001nlbcl4bynbb67x4w\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UnregisterServer' => [
+ 'summary' => '注销保护实例',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sr-000jf20efavec47ucq5g',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D2E81EC9-B206-54EA-BBCF-9D4D6AFE7AA8',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"D2E81EC9-B206-54EA-BBCF-9D4D6AFE7AA8\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeServer' => [
+ 'summary' => '查询保护实例信息',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-0005qxusucbiga738e9s',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PrimarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-0001jntih0phb0i2w1ya',
+ ],
+ 'ServerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-0005qxusucbiip0g6t93',
+ ],
+ 'RecoveryUseDhcp' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BBCC4082-98DF-5804-96C6-0E74C37C5867',
+ ],
+ 'RecoveryMemory' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4294967296',
+ ],
+ 'SourceGatewayVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'IncrementalSyncStartTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'CrashConsistentPointPolicy' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{\\"scheduleType\\":\\"CRON\\",\\"expression\\":\\"0 0 */1 * * 0,1,2,3,4,5,6\\",\\"initialDelay\\":0}',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RecoveryPostScriptContent' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'echo \\"127.0.0.1 kubernetes.docker.internal\\" >> /etc/hosts',
+ ],
+ 'TestRecoveredInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp13zgzv13am2n2z92lb',
+ ],
+ 'ReplicationNetwork' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vsw-bp1g0s2u3b2kbn46kiy53',
+ ],
+ 'RecoveryUseEssd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TargetGatewayVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp13zgzv13am2n2z92lb',
+ ],
+ 'OsType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'linux',
+ ],
+ 'FullSyncStartTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'ReplicationUseSsd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Rpo' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '45',
+ ],
+ 'Consistent' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'FullSyncTotalSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '365072220160',
+ ],
+ 'RecoveredIpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.2.2',
+ ],
+ 'Alias' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bsdewmpci_rz',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'replicating',
+ ],
+ 'TestFailoverStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testFailovered',
+ ],
+ 'ReplicationUseEssd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'OsDetail' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CentOS;7.9.2009',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'TestRecoveredIpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.2.2',
+ ],
+ 'SecondarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-000imvpcegvbh6i5kd2u',
+ ],
+ 'FullSyncProgress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '17',
+ ],
+ 'RecoveryInstanceType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ecs.c5.2xlarge',
+ ],
+ 'IpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30.42.105.6',
+ ],
+ 'RecoveryInstanceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HDR_Recovery-sr-000bzkmmlwghq3soqry2',
+ ],
+ 'OriginalInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp19axn91irnsi9204xg',
+ ],
+ 'RecoveredInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp19axn91irnsi9204xg',
+ ],
+ 'RecoveryReserveIp' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Memory' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8589934591',
+ ],
+ 'RecoveryIpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.2.2',
+ ],
+ 'RecoveryNetwork' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vsw-uf61v3bg6r790ir22jqv4',
+ ],
+ 'Errno' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cdr.console.plugin.failed_to_connect',
+ ],
+ 'ReplicationUseOriginalInstance' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Hostname' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'iZ2ze0jazgwtuxettbk1ywZ',
+ ],
+ 'RecoveryCpu' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'AgentPort' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '9080',
+ ],
+ 'ReplicationUseDhcp' => [
+ 'description' => '-',
+ 'type' => 'boolean',
+ 'example' => '-',
+ ],
+ 'TestRecoveredInstanceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HDR_Recovery-sr-000c2rz7q8tak59pt6sw',
+ ],
+ 'AgentVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'FullSyncCurrentSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3285276688384',
+ ],
+ 'ReplicationInfrastructureType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'aliyun',
+ ],
+ 'Cpu' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'RecoveryPostScriptType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'ReplicationInfrastructureId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'is-000bzkmmlwgibbduuoff',
+ ],
+ 'ConnectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ 'Operations' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '"{\\"Resynchronize\\":true,\\"TestFailover\\":true,\\"TestCleanup\\":true,\\"ChangeRecoveryPoint\\":true,\\"UnregisterServer\\":true,\\"ReversedEnableReplication\\":true,\\"ReversedDisableReplication\\":true,\\"DisableReplication\\":true,\\"CommitFailover\\":true,\\"RestartServer\\":true,\\"UpgradeServer\\":true,\\"ForcedFailover\\":true,\\"RepairReplication\\":true,\\"EnableReplication\\":true,\\"TriggerReversedRegister\\":true,\\"SetupAgent\\":true,\\"TriggerRegister\\":true,\\"CollectSupportBundle\\":true,\\"Failback\\":true}"',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0004ka624vrza82g46ne',
+ ],
+ 'RecoveryUseSsd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Disks' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[{\\"id\\":\\"0\\",\\"boot\\":true,\\"size\\":500363689984}]',
+ ],
+ 'RecoveryEssdPerformanceLevel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PL1',
+ ],
+ 'LatestRecoveryPointTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PrimarySiteId\\": \\"si-0001jntih0phb0i2w1ya\\",\\n \\"ServerId\\": \\"sr-0005qxusucbiip0g6t93\\",\\n \\"RecoveryUseDhcp\\": false,\\n \\"RequestId\\": \\"BBCC4082-98DF-5804-96C6-0E74C37C5867\\",\\n \\"RecoveryMemory\\": 4294967296,\\n \\"SourceGatewayVersion\\": \\"3.7.3\\",\\n \\"IncrementalSyncStartTime\\": 0,\\n \\"CrashConsistentPointPolicy\\": \\"{\\\\\\\\\\\\\\"scheduleType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CRON\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expression\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0 0 */1 * * 0,1,2,3,4,5,6\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"initialDelay\\\\\\\\\\\\\\":0}\\",\\n \\"Success\\": true,\\n \\"RecoveryPostScriptContent\\": \\"echo \\\\\\\\\\\\\\"127.0.0.1 kubernetes.docker.internal\\\\\\\\\\\\\\" >> /etc/hosts\\",\\n \\"TestRecoveredInstanceId\\": \\"i-bp13zgzv13am2n2z92lb\\",\\n \\"ReplicationNetwork\\": \\"vsw-bp1g0s2u3b2kbn46kiy53\\",\\n \\"RecoveryUseEssd\\": false,\\n \\"TargetGatewayVersion\\": \\"i-bp13zgzv13am2n2z92lb\\",\\n \\"OsType\\": \\"linux\\",\\n \\"FullSyncStartTime\\": 0,\\n \\"ReplicationUseSsd\\": false,\\n \\"Rpo\\": 45,\\n \\"Consistent\\": false,\\n \\"FullSyncTotalSize\\": 365072220160,\\n \\"RecoveredIpAddress\\": \\"192.168.2.2\\",\\n \\"Alias\\": \\"bsdewmpci_rz\\",\\n \\"Status\\": \\"replicating\\",\\n \\"TestFailoverStatus\\": \\"testFailovered\\",\\n \\"ReplicationUseEssd\\": false,\\n \\"OsDetail\\": \\"CentOS;7.9.2009\\",\\n \\"Message\\": \\"successful\\",\\n \\"TestRecoveredIpAddress\\": \\"192.168.2.2\\",\\n \\"SecondarySiteId\\": \\"si-000imvpcegvbh6i5kd2u\\",\\n \\"FullSyncProgress\\": 17,\\n \\"RecoveryInstanceType\\": \\"ecs.c5.2xlarge\\",\\n \\"IpAddress\\": \\"30.42.105.6\\",\\n \\"RecoveryInstanceName\\": \\"HDR_Recovery-sr-000bzkmmlwghq3soqry2\\",\\n \\"OriginalInstanceId\\": \\"i-bp19axn91irnsi9204xg\\",\\n \\"RecoveredInstanceId\\": \\"i-bp19axn91irnsi9204xg\\",\\n \\"RecoveryReserveIp\\": false,\\n \\"Code\\": \\"200\\",\\n \\"Memory\\": 8589934591,\\n \\"RecoveryIpAddress\\": \\"192.168.2.2\\",\\n \\"RecoveryNetwork\\": \\"vsw-uf61v3bg6r790ir22jqv4\\",\\n \\"Errno\\": \\"cdr.console.plugin.failed_to_connect\\",\\n \\"ReplicationUseOriginalInstance\\": false,\\n \\"Hostname\\": \\"iZ2ze0jazgwtuxettbk1ywZ\\",\\n \\"RecoveryCpu\\": 4,\\n \\"AgentPort\\": 9080,\\n \\"ReplicationUseDhcp\\": false,\\n \\"TestRecoveredInstanceName\\": \\"HDR_Recovery-sr-000c2rz7q8tak59pt6sw\\",\\n \\"AgentVersion\\": \\"3.7.3\\",\\n \\"FullSyncCurrentSize\\": 3285276688384,\\n \\"ReplicationInfrastructureType\\": \\"aliyun\\",\\n \\"Cpu\\": 4,\\n \\"RecoveryPostScriptType\\": \\"SHELL\\",\\n \\"ReplicationInfrastructureId\\": \\"is-000bzkmmlwgibbduuoff\\",\\n \\"ConnectionStatus\\": \\"connected\\",\\n \\"Operations\\": \\"\\\\\\"{\\\\\\\\\\\\\\"Resynchronize\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TestFailover\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TestCleanup\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ChangeRecoveryPoint\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"UnregisterServer\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ReversedEnableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ReversedDisableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DisableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"CommitFailover\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"RestartServer\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"UpgradeServer\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ForcedFailover\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"RepairReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EnableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TriggerReversedRegister\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"SetupAgent\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TriggerRegister\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"CollectSupportBundle\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Failback\\\\\\\\\\\\\\":true}\\\\\\"\\",\\n \\"TaskId\\": \\"t-0004ka624vrza82g46ne\\",\\n \\"RecoveryUseSsd\\": false,\\n \\"Disks\\": \\"[{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"boot\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"size\\\\\\\\\\\\\\":500363689984}]\\",\\n \\"RecoveryEssdPerformanceLevel\\": \\"PL1\\",\\n \\"LatestRecoveryPointTime\\": \\"1661419052\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeServers' => [
+ 'summary' => '查询受保护服务器列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 's-0007rvzart0u501t4e5r',
+ ],
+ ],
+ [
+ 'name' => 'ServerIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"[\\"sr-0005qxusucbi38lqfc2q\\",\\"sr-0005qxusucbi38lqfc2r\\"]"',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D2B255D3-9736-5169-B488-C735A8BBCD79',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'Servers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'server' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RecoveredInstanceName' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'example' => '-',
+ ],
+ 'PrimarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-000cm9ax8sgplgye2vc4',
+ ],
+ 'ServerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-000cm9ax8sh2381wa7kv',
+ ],
+ 'RecoveryUseDhcp' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RecoveryMemory' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8589934592',
+ ],
+ 'SourceGatewayVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'IncrementalSyncStartTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1646049677',
+ ],
+ 'CrashConsistentPointPolicy' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '"{\\"scheduleType\\":\\"CRON\\",\\"expression\\":\\"0 0 */1 * * 0,1,2,3,4,5,6\\",\\"initialDelay\\":0}"',
+ ],
+ 'RecoveryPostScriptContent' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '"echo \\"127.0.0.1 kubernetes.docker.internal\\" >> /etc/hosts"',
+ ],
+ 'TestRecoveredInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp13zgzv13am2n2z92lb',
+ ],
+ 'ReplicationNetwork' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vsw-2zey7xe0m8dbqrks2jb9h',
+ ],
+ 'RecoveryUseEssd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TargetGatewayVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'OsType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'linux',
+ ],
+ 'FullSyncStartTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'ReplicationUseSsd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Rpo' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '30',
+ ],
+ 'Consistent' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'FullSyncTotalSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '150202220544',
+ ],
+ 'RecoveredIpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.2.2',
+ ],
+ 'Alias' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-ecs',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'replicating',
+ ],
+ 'TestFailoverStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testFailovered',
+ ],
+ 'ReplicationUseEssd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'OsDetail' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CentOS;7.9.2009',
+ ],
+ 'TestRecoveredIpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.2.2',
+ ],
+ 'SecondarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-0007o5em8n6mhm8hee1l',
+ ],
+ 'FullSyncProgress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'RecoveryInstanceType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ecs.r6.3xlarge',
+ ],
+ 'IpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30.42.105.6',
+ ],
+ 'RecoveryInstanceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HDR_Recovery-sr-000c2rz7q8tak59pt6sw',
+ ],
+ 'OriginalInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp19axn91irnsi9204xg',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp19axn91irnsi9204xg',
+ ],
+ 'RecoveredInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp19axn91irnsi9204xg',
+ ],
+ 'RecoveryReserveIp' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Memory' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4294967295',
+ ],
+ 'RecoveryIpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.2.2',
+ ],
+ 'RecoveryNetwork' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vsw-uf63qu8ocjcly44tai570',
+ ],
+ 'Errno' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cdr.console.plugin.alicloud.agent_deploy_already_installed',
+ ],
+ 'ReplicationUseOriginalInstance' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Hostname' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'RecoveryCpu' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'AgentPort' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '9080',
+ ],
+ 'ReplicationUseDhcp' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TestRecoveredInstanceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HDR_Recovery-sr-000c2rz7q8tak59pt6sw',
+ ],
+ 'AgentVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'FullSyncCurrentSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1603469836288',
+ ],
+ 'ReplicationInfrastructureType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'aliyun',
+ ],
+ 'Cpu' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'RecoveryPostScriptType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'ReplicationInfrastructureId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'is-0004ka624vrxd9xsvs4f',
+ ],
+ 'ConnectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ 'Operations' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '"{\\"Resynchronize\\":true,\\"TestFailover\\":true,\\"TestCleanup\\":true,\\"ChangeRecoveryPoint\\":true,\\"UnregisterServer\\":true,\\"ReversedEnableReplication\\":true,\\"ReversedDisableReplication\\":true,\\"DisableReplication\\":true,\\"CommitFailover\\":true,\\"RestartServer\\":true,\\"UpgradeServer\\":true,\\"ForcedFailover\\":true,\\"RepairReplication\\":true,\\"EnableReplication\\":true,\\"TriggerReversedRegister\\":true,\\"SetupAgent\\":true,\\"TriggerRegister\\":true,\\"CollectSupportBundle\\":true,\\"Failback\\":true}"',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0007rvzart0v31c0x93q',
+ ],
+ 'RecoveryUseSsd' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Disks' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[{\\"id\\":\\"0\\",\\"boot\\":true,\\"size\\":500363689984}]',
+ ],
+ 'RecoveryEssdPerformanceLevel' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PL3',
+ ],
+ 'LatestRecoveryPointTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D2B255D3-9736-5169-B488-C735A8BBCD79\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 2,\\n \\"TotalCount\\": 10,\\n \\"Servers\\": {\\n \\"server\\": [\\n {\\n \\"RecoveredInstanceName\\": \\"recovered_server\\",\\n \\"PrimarySiteId\\": \\"si-000cm9ax8sgplgye2vc4\\",\\n \\"ServerId\\": \\"sr-000cm9ax8sh2381wa7kv\\",\\n \\"RecoveryUseDhcp\\": true,\\n \\"RecoveryMemory\\": 8589934592,\\n \\"SourceGatewayVersion\\": \\"3.7.3\\",\\n \\"IncrementalSyncStartTime\\": 1646049677,\\n \\"CrashConsistentPointPolicy\\": \\"\\\\\\"{\\\\\\\\\\\\\\"scheduleType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"CRON\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expression\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0 0 */1 * * 0,1,2,3,4,5,6\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"initialDelay\\\\\\\\\\\\\\":0}\\\\\\"\\",\\n \\"RecoveryPostScriptContent\\": \\"\\\\\\"echo \\\\\\\\\\\\\\"127.0.0.1 kubernetes.docker.internal\\\\\\\\\\\\\\" >> /etc/hosts\\\\\\"\\",\\n \\"TestRecoveredInstanceId\\": \\"i-bp13zgzv13am2n2z92lb\\",\\n \\"ReplicationNetwork\\": \\"vsw-2zey7xe0m8dbqrks2jb9h\\",\\n \\"RecoveryUseEssd\\": false,\\n \\"TargetGatewayVersion\\": \\"3.7.3\\",\\n \\"OsType\\": \\"linux\\",\\n \\"FullSyncStartTime\\": 0,\\n \\"ReplicationUseSsd\\": true,\\n \\"Rpo\\": 30,\\n \\"Consistent\\": true,\\n \\"FullSyncTotalSize\\": 150202220544,\\n \\"RecoveredIpAddress\\": \\"192.168.2.2\\",\\n \\"Alias\\": \\"test-ecs\\",\\n \\"Status\\": \\"replicating\\",\\n \\"TestFailoverStatus\\": \\"testFailovered\\",\\n \\"ReplicationUseEssd\\": false,\\n \\"OsDetail\\": \\"CentOS;7.9.2009\\",\\n \\"TestRecoveredIpAddress\\": \\"192.168.2.2\\",\\n \\"SecondarySiteId\\": \\"si-0007o5em8n6mhm8hee1l\\",\\n \\"FullSyncProgress\\": 0,\\n \\"RecoveryInstanceType\\": \\"ecs.r6.3xlarge\\",\\n \\"IpAddress\\": \\"30.42.105.6\\",\\n \\"RecoveryInstanceName\\": \\"HDR_Recovery-sr-000c2rz7q8tak59pt6sw\\",\\n \\"OriginalInstanceId\\": \\"i-bp19axn91irnsi9204xg\\",\\n \\"InstanceId\\": \\"i-bp19axn91irnsi9204xg\\",\\n \\"RecoveredInstanceId\\": \\"i-bp19axn91irnsi9204xg\\",\\n \\"RecoveryReserveIp\\": true,\\n \\"Memory\\": 4294967295,\\n \\"RecoveryIpAddress\\": \\"192.168.2.2\\",\\n \\"RecoveryNetwork\\": \\"vsw-uf63qu8ocjcly44tai570\\",\\n \\"Errno\\": \\"cdr.console.plugin.alicloud.agent_deploy_already_installed\\",\\n \\"ReplicationUseOriginalInstance\\": false,\\n \\"Hostname\\": \\"test\\",\\n \\"RecoveryCpu\\": 4,\\n \\"AgentPort\\": 9080,\\n \\"ReplicationUseDhcp\\": false,\\n \\"TestRecoveredInstanceName\\": \\"HDR_Recovery-sr-000c2rz7q8tak59pt6sw\\",\\n \\"AgentVersion\\": \\"3.7.3\\",\\n \\"FullSyncCurrentSize\\": 1603469836288,\\n \\"ReplicationInfrastructureType\\": \\"aliyun\\",\\n \\"Cpu\\": 4,\\n \\"RecoveryPostScriptType\\": \\"SHELL\\",\\n \\"ReplicationInfrastructureId\\": \\"is-0004ka624vrxd9xsvs4f\\",\\n \\"ConnectionStatus\\": \\"connected\\",\\n \\"Operations\\": \\"\\\\\\"{\\\\\\\\\\\\\\"Resynchronize\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TestFailover\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TestCleanup\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ChangeRecoveryPoint\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"UnregisterServer\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ReversedEnableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ReversedDisableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"DisableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"CommitFailover\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"RestartServer\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"UpgradeServer\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"ForcedFailover\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"RepairReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"EnableReplication\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TriggerReversedRegister\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"SetupAgent\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"TriggerRegister\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"CollectSupportBundle\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Failback\\\\\\\\\\\\\\":true}\\\\\\"\\",\\n \\"TaskId\\": \\"t-0007rvzart0v31c0x93q\\",\\n \\"RecoveryUseSsd\\": true,\\n \\"Disks\\": \\"[{\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"boot\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"size\\\\\\\\\\\\\\":500363689984}]\\",\\n \\"RecoveryEssdPerformanceLevel\\": \\"PL3\\",\\n \\"LatestRecoveryPointTime\\": 1661419052\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeSitePairs' => [
+ 'summary' => '查询站点对列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cloud2cloud',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ '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',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '24CFBF97-EAD7-5D53-8D50-7F9E9D20C3A3',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '28',
+ ],
+ 'SitePairs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'sitePair' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SitePairType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cloud2cloud',
+ ],
+ 'LocalSiteName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'local-site',
+ ],
+ 'SecondarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-0007nrkb2riv9yalg8s8',
+ ],
+ 'PrimarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-000as7kbj0cmlp3tt60m',
+ ],
+ 'Version' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'ServerCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '14',
+ ],
+ 'CloudSiteName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cloud-site',
+ ],
+ 'SitePairId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 's-0003obqyc8f8lx2pf6m9',
+ ],
+ 'SecondarySiteName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SH',
+ ],
+ 'PrimarySiteName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HZ',
+ ],
+ 'CreatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1636092147',
+ ],
+ 'ReplicationStatistics' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Healthy' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4',
+ ],
+ 'Warning' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'Critical' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'NotApplicable' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"24CFBF97-EAD7-5D53-8D50-7F9E9D20C3A3\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 5,\\n \\"TotalCount\\": 28,\\n \\"SitePairs\\": {\\n \\"sitePair\\": [\\n {\\n \\"SitePairType\\": \\"cloud2cloud\\",\\n \\"LocalSiteName\\": \\"local-site\\",\\n \\"SecondarySiteId\\": \\"si-0007nrkb2riv9yalg8s8\\",\\n \\"PrimarySiteId\\": \\"si-000as7kbj0cmlp3tt60m\\",\\n \\"Version\\": \\"3.7.3\\",\\n \\"ServerCount\\": 14,\\n \\"CloudSiteName\\": \\"cloud-site\\",\\n \\"SitePairId\\": \\"s-0003obqyc8f8lx2pf6m9\\",\\n \\"SecondarySiteName\\": \\"SH\\",\\n \\"PrimarySiteName\\": \\"HZ\\",\\n \\"CreatedTime\\": 1636092147,\\n \\"ReplicationStatistics\\": {\\n \\"Healthy\\": 4,\\n \\"Warning\\": 0,\\n \\"Critical\\": 0,\\n \\"NotApplicable\\": 0\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeSite' => [
+ 'summary' => '查询站点信息',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SiteId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'si-000bzkmmlwh01trrecuw',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vpc-bp1c3byhnaoj3u96sgk12',
+ ],
+ 'Type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cloud',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'B30A844D-E4CF-5382-A0D4-3DE76A8AD2AE',
+ ],
+ 'SiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-000bzkmmlwh01trrecuw',
+ ],
+ 'UserSecurityGroupId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sg-bp1466glrmpqfsq4zpjs',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'ZoneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai-l',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SH',
+ ],
+ 'RegionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcId\\": \\"vpc-bp1c3byhnaoj3u96sgk12\\",\\n \\"Type\\": \\"cloud\\",\\n \\"RequestId\\": \\"B30A844D-E4CF-5382-A0D4-3DE76A8AD2AE\\",\\n \\"SiteId\\": \\"si-000bzkmmlwh01trrecuw\\",\\n \\"UserSecurityGroupId\\": \\"sg-bp1466glrmpqfsq4zpjs\\",\\n \\"Success\\": true,\\n \\"ZoneId\\": \\"cn-shanghai-l\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Name\\": \\"SH\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSitePair' => [
+ 'summary' => '删除站点对',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 's-0003obqyc8f8a6u3bfw4',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '26365F46-16D9-5A56-B1EF-62D12C04E071',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"26365F46-16D9-5A56-B1EF-62D12C04E071\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'CreateSitePair' => [
+ 'summary' => '创建站点对',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'cloud2cloud' => 'cloud2cloud',
+ 'zone2zone' => 'zone2zone',
+ ],
+ 'example' => 'cloud2cloud',
+ ],
+ ],
+ [
+ 'name' => 'PrimarySiteName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'PrimarySiteType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cloud',
+ ],
+ ],
+ [
+ 'name' => 'PrimarySiteRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'PrimarySiteVpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-uf6j3rao8wkr7hb4uopv2',
+ ],
+ ],
+ [
+ 'name' => 'PrimarySiteZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou-g',
+ ],
+ ],
+ [
+ 'name' => 'SecondarySiteName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'SecondarySiteType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cloud',
+ ],
+ ],
+ [
+ 'name' => 'SecondarySiteRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'SecondarySiteVpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-bp1wu55gbyqd7gh3yu3ey',
+ ],
+ ],
+ [
+ 'name' => 'SecondarySiteZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou-i',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D14F1EB0-30B7-5A38-92E7-C2D11077D5CA',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'SitePairId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 's-000bvn4shsuhq4cph5i8',
+ ],
+ 'SecondarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-000imvpcegvbh6i5kd2u',
+ ],
+ 'PrimarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-0001jntih0phb0i2w1ya',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D14F1EB0-30B7-5A38-92E7-C2D11077D5CA\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"SitePairId\\": \\"s-000bvn4shsuhq4cph5i8\\",\\n \\"SecondarySiteId\\": \\"si-000imvpcegvbh6i5kd2u\\",\\n \\"PrimarySiteId\\": \\"si-0001jntih0phb0i2w1ya\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSitePair' => [
+ 'summary' => '查询站点对',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 's-0007rvzart0c4cn130df',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SitePairType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cloud2cloud',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'SecondarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-0007rvzart0a2wpup82m',
+ ],
+ 'PrimarySiteId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-0001jntih0phb0i2w1ya',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '700F1972-16A2-5639-A937-D2A6D61557B8',
+ ],
+ 'Version' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'SitePairId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 's-000j6lhiuvdqakqa6k7l',
+ ],
+ 'SecondarySiteName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'CreatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1637293095',
+ ],
+ 'PrimarySiteName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"SitePairType\\": \\"cloud2cloud\\",\\n \\"Success\\": true,\\n \\"Message\\": \\"successful\\",\\n \\"SecondarySiteId\\": \\"si-0007rvzart0a2wpup82m\\",\\n \\"PrimarySiteId\\": \\"si-0001jntih0phb0i2w1ya\\",\\n \\"RequestId\\": \\"700F1972-16A2-5639-A937-D2A6D61557B8\\",\\n \\"Version\\": \\"3.7.3\\",\\n \\"Code\\": \\"200\\",\\n \\"SitePairId\\": \\"s-000j6lhiuvdqakqa6k7l\\",\\n \\"SecondarySiteName\\": \\"杭州D区\\",\\n \\"CreatedTime\\": 1637293095,\\n \\"PrimarySiteName\\": \\"杭州F区\\"\\n}","type":"json"}]',
+ ],
+ 'EnableReplication' => [
+ 'summary' => '启动复制',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '受保护服务器ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-0005qxusucbo6yomzb9x',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationUseSsd',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '复影实例是否使用SSD云盘',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationUseEssd',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '复影实例是否使用ESSD云盘',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationNetwork',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '复制网络VSwitch ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp1g0s2u3b2kbn46kiy53',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryNetwork',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '恢复网络VSwitch ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp1g0s2u3b2kbn46kiy53',
+ ],
+ ],
+ [
+ 'name' => 'CrashConsistentPointPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '恢复点策略',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"scheduleType":"CRON","expression":"0 0 */1 * * 0,1,2,3,4,5,6","initialDelay":0}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E50FE4A6-C876-5D6F-8A09-93442308AA7B',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"E50FE4A6-C876-5D6F-8A09-93442308AA7B\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DisableReplication' => [
+ 'summary' => '停止复制',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '受保护服务器ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000cvyfewfi6fzi9zoql',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'B7F69F73-51C4-5D3F-B2BE-E1BD99022C15',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"B7F69F73-51C4-5D3F-B2BE-E1BD99022C15\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'TestFailover' => [
+ 'summary' => '容灾切换演练',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '受保护服务器ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000cvyfewfi7eudxml1a',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练的实例名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test-failover-instance',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例的CPU核数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ 'default' => '2',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryMemory',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例的内存大小,单位MB',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4294967296',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练的实例规格,未指定时按照指定的CPU核数、内存大小自动寻找可用规格',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ecs.c5.large ',
+ 'default' => 'null',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseSsd',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例是否使用SSD类型的云盘',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseEssd',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例是否使用ESSD类型的云盘',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryNetwork',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => [
+ 'title' => '演练实例所在的VSwitch ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp1g0s2u3b2kbn46kiy53',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryReserveIp',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例是否保留源机的IP(需要演练所在的VSwitch包含相应网段)',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseDhcp',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例是否使用DHCP指定IP',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryIpAddress',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例的IP',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10.10.10.10',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例启动后执行脚本类型,可选项:SHELL',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHELL',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptContent',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例启动后执行脚本',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'echo \\"127.0.0.1 kubernetes.docker.internal\\" >> /etc/hosts',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPointId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例使用的恢复点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rp-0001cgurtbrvrkj2p2pp',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPointTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1646046000',
+ ],
+ ],
+ [
+ 'name' => 'EipAddressId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '演练实例绑定的弹性公网IP ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eip-bp1nf283u9p060q4gim7m',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryEssdPerformanceLevel',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PL3',
+ 'default' => 'PL1',
+ 'enum' => [
+ 'PL0',
+ 'PL1',
+ 'PL2',
+ 'PL3',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6758891B-CF5A-5CA6-BF59-633573B91140',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-000h3k00ckeknbukn5a5',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"6758891B-CF5A-5CA6-BF59-633573B91140\\",\\n \\"TaskId\\": \\"t-000h3k00ckeknbukn5a5\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'TestCleanup' => [
+ 'summary' => '清理容灾切换演练',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '受保护服务器ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000cvyfewfi6fzi9zoql',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '531E3DB9-3ED6-5F06-A09A-721F279CB64B',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-000bzkmmlwh6tpzhitdz',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"531E3DB9-3ED6-5F06-A09A-721F279CB64B\\",\\n \\"TaskId\\": \\"t-000bzkmmlwh6tpzhitdz\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeRecoveryPoints' => [
+ 'summary' => '查询恢复点列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-0008fj9dbe1xzlg6805i',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1633503912',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8260C928-1A54-545A-A3F2-51E6327D28E6',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '15',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'RecoveryPoints' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'recoveryPoint' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationConsistent' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'RecoveryPointTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1637118000',
+ ],
+ 'Disabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'RecoveryPointId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'rp-0000syrdl2f8a7te4063',
+ ],
+ 'Used' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'DisableReason' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'inconsistent',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"8260C928-1A54-545A-A3F2-51E6327D28E6\\",\\n \\"TotalCount\\": 15,\\n \\"Success\\": true,\\n \\"RecoveryPoints\\": {\\n \\"recoveryPoint\\": [\\n {\\n \\"ApplicationConsistent\\": false,\\n \\"RecoveryPointTime\\": 1637118000,\\n \\"Disabled\\": false,\\n \\"RecoveryPointId\\": \\"rp-0000syrdl2f8a7te4063\\",\\n \\"Used\\": false,\\n \\"DisableReason\\": \\"inconsistent\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ChangeRecoveryPoint' => [
+ 'summary' => '更换恢复点',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000bak4sdet6gv8q0c2j',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'HDR_Recovery-sr-000c9550g8gycc8oi4fb-cpr',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryMemory',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4294967296',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ecs.r6.3xlarge',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseSsd',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseEssd',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryNetwork',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-uf61v3bg6r790ir22jqv4',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryReserveIp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseDhcp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryIpAddress',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '192.168.2.2',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHELL',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptContent',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'echo \\"127.0.0.1 kubernetes.docker.internal\\" >> /etc/hosts',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPointId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rp-0001625ljmig7ahibe0y',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPointTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1637002799',
+ ],
+ ],
+ [
+ 'name' => 'EipAddressId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eip-2zelae2qye2ztjfj82f9z',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryEssdPerformanceLevel',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PL1',
+ 'default' => 'PL1',
+ 'enum' => [
+ 'PL0',
+ 'PL1',
+ 'PL2',
+ 'PL3',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BBCC4082-98DF-5804-96C6-0E74C37C5867',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0007wl5r0hvxrj68rrbg',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"BBCC4082-98DF-5804-96C6-0E74C37C5867\\",\\n \\"TaskId\\": \\"t-0007wl5r0hvxrj68rrbg\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'CommitFailover' => [
+ 'summary' => '确认容灾切换',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000bzkmmlwghq3soqry2',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '18603D03-FEA4-5FA8-878F-B03F11578F5F',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0007wl5r0hvxrj68rrbg',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"18603D03-FEA4-5FA8-878F-B03F11578F5F\\",\\n \\"TaskId\\": \\"t-0007wl5r0hvxrj68rrbg\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'ForcedFailover' => [
+ 'summary' => '容灾切换',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000ih1rl47q6hksc910d',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'HDR_Recovery-sr-000bzkmmlwghq3soqry2',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryMemory',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4294967296',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ecs.r5.3xlarge',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseSsd',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseEssd',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryNetwork',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp1fh05y7ybq9kep6rtwu',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryReserveIp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseDhcp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryIpAddress',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '192.168.2.2',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHELL',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptContent',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'echo \\"127.0.0.1 kubernetes.docker.internal\\" >> /etc/hosts',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPointId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rp-000184qxs690bth6jyqn',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPointTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1636526948',
+ ],
+ ],
+ [
+ 'name' => 'EipAddressId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eip-bp1x7nua6eab8m4vsis9k',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryEssdPerformanceLevel',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PL2',
+ 'default' => 'PL1',
+ 'enum' => [
+ 'PL0',
+ 'PL1',
+ 'PL2',
+ 'PL3',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '26DF0E81-08E2-5AE3-96AA-05F5F826261C',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-000ios55mggw4ifiy3nc',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"26DF0E81-08E2-5AE3-96AA-05F5F826261C\\",\\n \\"TaskId\\": \\"t-000ios55mggw4ifiy3nc\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'TriggerReversedRegister' => [
+ 'summary' => '开始反向注册保护实例',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-0007rvzart0bneyhl4q1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1D39F0BE-B3F9-5AA9-AD49-BE8CD7B4BF7B',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-000fzufp79idzl6bniso',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1D39F0BE-B3F9-5AA9-AD49-BE8CD7B4BF7B\\",\\n \\"TaskId\\": \\"t-000fzufp79idzl6bniso\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeInfrastructures' => [
+ 'summary' => '查询基础设施列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SiteId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'si-0005btelnqjwguycypba',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '32AC7E7F-5484-548D-8D3F-905238B75080',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Infrastructures' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'infrastructure' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'aliyun',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ 'IpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '172.18.122.66',
+ ],
+ 'InfrastructureId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'is-0005qxusucbig0c42dlo',
+ ],
+ 'Errno' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cdr.console.plugin.failed_to_connect',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'si-0006w0mxd3w8jiifu77l-infrastructure1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32AC7E7F-5484-548D-8D3F-905238B75080\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 2,\\n \\"TotalCount\\": 1,\\n \\"Infrastructures\\": {\\n \\"infrastructure\\": [\\n {\\n \\"Type\\": \\"aliyun\\",\\n \\"Status\\": \\"connected\\",\\n \\"IpAddress\\": \\"172.18.122.66\\",\\n \\"InfrastructureId\\": \\"is-0005qxusucbig0c42dlo\\",\\n \\"Errno\\": \\"cdr.console.plugin.failed_to_connect\\",\\n \\"Name\\": \\"si-0006w0mxd3w8jiifu77l-infrastructure1\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ReversedEnableReplication' => [
+ 'summary' => '保护实例启动反向复制',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000cm9ax8sh2381wa7kv',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationUseOriginalInstance',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationInfrastructureId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'is-000bzkmmlwgibbduuoff',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationLocation',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationComputeResource',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationDatastore',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationNetwork',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp1ii4x07tey6sisg4blp',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationUseDhcp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationIpAddress',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationNetMask',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationDns',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ReplicationGateway',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryNetwork',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp1xmea0mkjtxqoubk7q8',
+ ],
+ ],
+ [
+ 'name' => 'CrashConsistentPointPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'AppConsistentPointPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'ShadowInstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D5CF3A51-1F39-5B16-AC0C-AD9B632D100D',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0004ka624vrxwublmqw6',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"D5CF3A51-1F39-5B16-AC0C-AD9B632D100D\\",\\n \\"TaskId\\": \\"t-0004ka624vrxwublmqw6\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'ReversedDisableReplication' => [
+ 'summary' => '保护实例停止反向复制',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrF01CKY',
+ 'FEATUREhdrEJMNXE',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000cm9ax8sh2i6pc16u9',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5904D638-152A-5F1F-8652-E535EABF3ABA',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"5904D638-152A-5F1F-8652-E535EABF3ABA\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'Failback' => [
+ 'summary' => '容灾恢复',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ServerId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sr-000bzkmmlwghj95tnx15',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInfrastructureId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'is-0007rvzart0rz2byr2x0',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'HDR_Recovery-sr-0007rvzart0rz2bv9fzm',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryMemory',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4294967296',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryInstanceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ecs.c5.2xlarge',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryNetwork',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp1xmea0mkjtxqoubk7q8',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryReserveIp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryUseDhcp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryIpAddress',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '192.168.2.2',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHELL',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPostScriptContent',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"echo \\"127.0.0.1 kubernetes.docker.internal\\" >> /etc/hosts"',
+ ],
+ ],
+ [
+ 'name' => 'RecoveryPointId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rp-0001625ljmig7ahibe0y',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '56CF7F68-C07B-5BE2-BE82-09D8E9719076',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0004ka624vrza82g46ne',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"56CF7F68-C07B-5BE2-BE82-09D8E9719076\\",\\n \\"TaskId\\": \\"t-0004ka624vrza82g46ne\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'CreateRecoveryPlan' => [
+ 'summary' => '创建恢复计划',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 's-xxxxxxxxxxxxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test1',
+ ],
+ ],
+ [
+ 'name' => 'Direction',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'forward',
+ ],
+ ],
+ [
+ 'name' => 'Content',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "groups": ['."\n"
+ .' {'."\n"
+ .' "name": "Group-1",'."\n"
+ .' "id": "Group-1",'."\n"
+ .' "servers": ['."\n"
+ .' {'."\n"
+ .' "name": "sr-xxxxxxxxxxxxxxxxxx",'."\n"
+ .' "serverId": "sr-xxxxxxxxxxxxxxxxxx",'."\n"
+ .' "testFailoverAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-tfo",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' },'."\n"
+ .' "testCleanupAction": {},'."\n"
+ .' "changeRecoveryPointAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-cpr",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' },'."\n"
+ .' "forcedFailoverAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-ffo",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FEC3D491-15BB-5C8F-902E-773794FF1B29',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-00055g8sxr0ys0g99n83',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"FEC3D491-15BB-5C8F-902E-773794FF1B29\\",\\n \\"TaskId\\": \\"t-00055g8sxr0ys0g99n83\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteRecoveryPlan' => [
+ 'summary' => '删除恢复计划',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RecoveryPlanId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rp-xxxxxxxxxxxxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '36C9E5CF-D575-5074-9A3E-79251448D708',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0006ezqwy1swxqgcrfvx',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"36C9E5CF-D575-5074-9A3E-79251448D708\\",\\n \\"TaskId\\": \\"t-0006ezqwy1swxqgcrfvx\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeRecoveryPlan' => [
+ 'summary' => '查询恢复计划信息',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RecoveryPlanId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rp-xxxxxxxxxxxxxxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'init',
+ ],
+ 'Direction' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'forward',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6F3884EC-AECB-52EF-AFE3-BC13A9688DEB',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Content' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{'."\n"
+ .' "groups": ['."\n"
+ .' {'."\n"
+ .' "name": "Group-1",'."\n"
+ .' "id": "Group-1",'."\n"
+ .' "servers": ['."\n"
+ .' {'."\n"
+ .' "name": "sr-xxxxxxxxxxxxxxxxxx",'."\n"
+ .' "serverId": "sr-xxxxxxxxxxxxxxxxxx",'."\n"
+ .' "testFailoverAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-tfo",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' },'."\n"
+ .' "testCleanupAction": {},'."\n"
+ .' "changeRecoveryPointAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-cpr",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' },'."\n"
+ .' "forcedFailoverAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-ffo",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ ],
+ 'RecoveryPlanId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'rp-xxxxxxxxxxxxxxxxxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"init\\",\\n \\"Direction\\": \\"forward\\",\\n \\"RequestId\\": \\"6F3884EC-AECB-52EF-AFE3-BC13A9688DEB\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Name\\": \\"test\\",\\n \\"Content\\": \\"{\\\\n \\\\\\"groups\\\\\\": [\\\\n {\\\\n \\\\\\"name\\\\\\": \\\\\\"Group-1\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"Group-1\\\\\\",\\\\n \\\\\\"servers\\\\\\": [\\\\n {\\\\n \\\\\\"name\\\\\\": \\\\\\"sr-xxxxxxxxxxxxxxxxxx\\\\\\",\\\\n \\\\\\"serverId\\\\\\": \\\\\\"sr-xxxxxxxxxxxxxxxxxx\\\\\\",\\\\n \\\\\\"testFailoverAction\\\\\\": {\\\\n \\\\\\"eipAddressId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryPostScriptContent\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryPostScriptType\\\\\\": \\\\\\"POWERSHELL\\\\\\",\\\\n \\\\\\"recoveryInstanceName\\\\\\": \\\\\\"HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-tfo\\\\\\",\\\\n \\\\\\"recoveryCpu\\\\\\": 2,\\\\n \\\\\\"recoveryMemory\\\\\\": 4294967296,\\\\n \\\\\\"recoveryUseEssd\\\\\\": false,\\\\n \\\\\\"recoveryUseSsd\\\\\\": false,\\\\n \\\\\\"recoveryReserveIp\\\\\\": false,\\\\n \\\\\\"recoveryUseDhcp\\\\\\": true,\\\\n \\\\\\"recoveryIpAddress\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryNetwork\\\\\\": \\\\\\"vsw-xxxxxxxxxxxxxxxxxx\\\\\\"\\\\n },\\\\n \\\\\\"testCleanupAction\\\\\\": {},\\\\n \\\\\\"changeRecoveryPointAction\\\\\\": {\\\\n \\\\\\"eipAddressId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryPostScriptContent\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryPostScriptType\\\\\\": \\\\\\"POWERSHELL\\\\\\",\\\\n \\\\\\"recoveryInstanceName\\\\\\": \\\\\\"HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-cpr\\\\\\",\\\\n \\\\\\"recoveryCpu\\\\\\": 2,\\\\n \\\\\\"recoveryMemory\\\\\\": 4294967296,\\\\n \\\\\\"recoveryUseEssd\\\\\\": false,\\\\n \\\\\\"recoveryUseSsd\\\\\\": false,\\\\n \\\\\\"recoveryReserveIp\\\\\\": false,\\\\n \\\\\\"recoveryUseDhcp\\\\\\": true,\\\\n \\\\\\"recoveryIpAddress\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryNetwork\\\\\\": \\\\\\"vsw-xxxxxxxxxxxxxxxxxx\\\\\\"\\\\n },\\\\n \\\\\\"forcedFailoverAction\\\\\\": {\\\\n \\\\\\"eipAddressId\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryPostScriptContent\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryPostScriptType\\\\\\": \\\\\\"POWERSHELL\\\\\\",\\\\n \\\\\\"recoveryInstanceName\\\\\\": \\\\\\"HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-ffo\\\\\\",\\\\n \\\\\\"recoveryCpu\\\\\\": 2,\\\\n \\\\\\"recoveryMemory\\\\\\": 4294967296,\\\\n \\\\\\"recoveryUseEssd\\\\\\": false,\\\\n \\\\\\"recoveryUseSsd\\\\\\": false,\\\\n \\\\\\"recoveryReserveIp\\\\\\": false,\\\\n \\\\\\"recoveryUseDhcp\\\\\\": true,\\\\n \\\\\\"recoveryIpAddress\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"recoveryNetwork\\\\\\": \\\\\\"vsw-xxxxxxxxxxxxxxxxxx\\\\\\"\\\\n }\\\\n }\\\\n ]\\\\n }\\\\n ]\\\\n}\\",\\n \\"RecoveryPlanId\\": \\"rp-xxxxxxxxxxxxxxxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRecoveryPlans' => [
+ 'summary' => '查询恢复计划列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 's-0005qxusucbii5ab6wuj',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F2812CD7-03E7-5774-9EE5-827D8398A670',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RecoveryPlans' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'recoveryPlan' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'init',
+ ],
+ 'Direction' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'forward',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-1',
+ ],
+ 'RecoveryPlanId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'rp-xxxxxxxxxxxxxxxxxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2812CD7-03E7-5774-9EE5-827D8398A670\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"RecoveryPlans\\": {\\n \\"recoveryPlan\\": [\\n {\\n \\"Status\\": \\"init\\",\\n \\"Direction\\": \\"forward\\",\\n \\"Name\\": \\"test-1\\",\\n \\"RecoveryPlanId\\": \\"rp-xxxxxxxxxxxxxxxxxx\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateRecoveryPlan' => [
+ 'summary' => '更新恢复计划',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RecoveryPlanId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rp-xxxxxxxxxxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test-1',
+ ],
+ ],
+ [
+ 'name' => 'Content',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "groups": ['."\n"
+ .' {'."\n"
+ .' "name": "Group-1",'."\n"
+ .' "id": "Group-1",'."\n"
+ .' "servers": ['."\n"
+ .' {'."\n"
+ .' "name": "sr-xxxxxxxxxxxxxxxxxx",'."\n"
+ .' "serverId": "sr-xxxxxxxxxxxxxxxxxx",'."\n"
+ .' "testFailoverAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-tfo",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' },'."\n"
+ .' "testCleanupAction": {},'."\n"
+ .' "changeRecoveryPointAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-cpr",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' },'."\n"
+ .' "forcedFailoverAction": {'."\n"
+ .' "eipAddressId": "",'."\n"
+ .' "recoveryPostScriptContent": "",'."\n"
+ .' "recoveryPostScriptType": "POWERSHELL",'."\n"
+ .' "recoveryInstanceName": "HDR_Recovery-sr-xxxxxxxxxxxxxxxxxx-ffo",'."\n"
+ .' "recoveryCpu": 2,'."\n"
+ .' "recoveryMemory": 4294967296,'."\n"
+ .' "recoveryUseEssd": false,'."\n"
+ .' "recoveryUseSsd": false,'."\n"
+ .' "recoveryReserveIp": false,'."\n"
+ .' "recoveryUseDhcp": true,'."\n"
+ .' "recoveryIpAddress": "",'."\n"
+ .' "recoveryNetwork": "vsw-xxxxxxxxxxxxxxxxxx"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'F1B86896-AB3E-5861-9E33-10486F056BB3',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-000ir69ra7neqp2p4qdv',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"F1B86896-AB3E-5861-9E33-10486F056BB3\\",\\n \\"TaskId\\": \\"t-000ir69ra7neqp2p4qdv\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeAvailableInstanceTypes' => [
+ 'summary' => '查询可用实例规格列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrF01CKY',
+ 'FEATUREhdrE49XN0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-beijing-g',
+ ],
+ ],
+ [
+ 'name' => 'DiskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'cloud_efficiency,cloud_essd,cloud_ssd' => 'cloud_efficiency,cloud_essd,cloud_ssd',
+ ],
+ 'example' => 'cloud_efficiency',
+ ],
+ ],
+ [
+ 'name' => 'ChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PostPaid' => 'PostPaid',
+ 'PrePaid' => 'PrePaid',
+ ],
+ 'example' => 'PostPaid',
+ 'default' => 'PostPaid',
+ 'enum' => [
+ 'PostPaid',
+ 'PrePaid',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Network',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'classic' => 'classic',
+ 'vpc' => 'vpc',
+ ],
+ 'example' => 'vpc',
+ 'default' => 'vpc',
+ ],
+ ],
+ [
+ 'name' => 'IoOptimized',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'memory' => 'memory',
+ 'vcpu' => 'vcpu',
+ ],
+ 'example' => 'vcpu',
+ 'default' => 'network',
+ ],
+ ],
+ [
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'asc' => 'asc',
+ 'desc' => 'desc',
+ ],
+ 'example' => 'asc',
+ 'default' => 'desc',
+ 'enum' => [
+ 'asc',
+ 'desc',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '-',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'UserClient',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1A7577E8-755A-5BF5-A6BA-B87286D0743F',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '11',
+ ],
+ 'InstanceTypes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'instanceType' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ecs.g5ne.xlarge',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1A7577E8-755A-5BF5-A6BA-B87286D0743F\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 11,\\n \\"InstanceTypes\\": {\\n \\"instanceType\\": [\\n \\"ecs.g5ne.xlarge\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeTasks' => [
+ 'summary' => '查询任务列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrF01CKY',
+ 'FEATUREhdrE49XN0',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 's-000cm9ax8sh22u8r9gs0',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'SortBy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'updatedTime' => 'updatedTime',
+ 'createdTime' => 'createdTime',
+ ],
+ 'example' => 'createdTime',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '86FFBA6E-D087-53E0-8593-4575925CB9DC',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '53',
+ ],
+ 'Tasks' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'task' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '90',
+ ],
+ 'UpdatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1637292645',
+ ],
+ 'StatusCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hdr.task.completed',
+ ],
+ 'TargetName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-000ftuch27gfuv8wvpyj',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CommitFailoverTask',
+ ],
+ 'CreatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1636092147',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-0007wl5r0hvxrp3c3x8z',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"86FFBA6E-D087-53E0-8593-4575925CB9DC\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 3,\\n \\"TotalCount\\": 53,\\n \\"Tasks\\": {\\n \\"task\\": [\\n {\\n \\"Progress\\": 90,\\n \\"UpdatedTime\\": 1637292645,\\n \\"StatusCode\\": \\"hdr.task.completed\\",\\n \\"TargetName\\": \\"sr-000ftuch27gfuv8wvpyj\\",\\n \\"Name\\": \\"CommitFailoverTask\\",\\n \\"CreatedTime\\": 1636092147,\\n \\"TaskId\\": \\"t-0007wl5r0hvxrp3c3x8z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeTask' => [
+ 'summary' => '查询任务详情',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't-0005qxusucbnl5efovq9',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Progress' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '8F8A2274-F2A5-5782-89A0-7FA442BFA16B',
+ ],
+ 'UpdatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1636452195',
+ ],
+ 'StatusCode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hdr.task.TestFailoverTask.waitStartFailover',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hdr.task.name.TestFailoverTask',
+ ],
+ 'TaskId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't-000bzkmmlwh57miq4mwh',
+ ],
+ 'Content' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '-',
+ ],
+ 'CreatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1646100927',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Progress\\": 100,\\n \\"Success\\": true,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"8F8A2274-F2A5-5782-89A0-7FA442BFA16B\\",\\n \\"UpdatedTime\\": 1636452195,\\n \\"StatusCode\\": \\"hdr.task.TestFailoverTask.waitStartFailover\\",\\n \\"Code\\": \\"200\\",\\n \\"Name\\": \\"hdr.task.name.TestFailoverTask\\",\\n \\"TaskId\\": \\"t-000bzkmmlwh57miq4mwh\\",\\n \\"Content\\": \\"-\\",\\n \\"CreatedTime\\": 1646100927\\n}","type":"json"}]',
+ ],
+ 'DescribeSitePairStatistics' => [
+ 'summary' => '查询站点对统计信息',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SitePairId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 's-0005qxusucbp8acutbrv',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'C0D9AAEE-8A21-5693-BCBD-8548914E4F3B',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'PrimarySiteGatewayInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ 'GatewayId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'gw-000bzkmmlwgzptnzsdnh',
+ ],
+ 'Version' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'HeartbeatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1642562996',
+ ],
+ ],
+ ],
+ 'SecondarySiteGatewayInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ 'GatewayId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'gw-0005qxusucbigzug9wpe',
+ ],
+ 'Version' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'HeartbeatedTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1642562996',
+ ],
+ ],
+ ],
+ 'PrimarySiteServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'server' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AgentVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'ConnectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ 'IpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30.42.105.6',
+ ],
+ 'ServerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-000c2rz7q8tkc0g4xgao',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SecondarySiteServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'server' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AgentVersion' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3.7.3',
+ ],
+ 'ConnectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ 'IpAddress' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.1.4',
+ ],
+ 'ServerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-000ikcyl8ucxtxl5f7pi',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"C0D9AAEE-8A21-5693-BCBD-8548914E4F3B\\",\\n \\"Success\\": true,\\n \\"PrimarySiteGatewayInfo\\": {\\n \\"Status\\": \\"connected\\",\\n \\"GatewayId\\": \\"gw-000bzkmmlwgzptnzsdnh\\",\\n \\"Version\\": \\"3.7.3\\",\\n \\"HeartbeatedTime\\": 1642562996\\n },\\n \\"SecondarySiteGatewayInfo\\": {\\n \\"Status\\": \\"connected\\",\\n \\"GatewayId\\": \\"gw-0005qxusucbigzug9wpe\\",\\n \\"Version\\": \\"3.7.3\\",\\n \\"HeartbeatedTime\\": 1642562996\\n },\\n \\"PrimarySiteServers\\": {\\n \\"server\\": [\\n {\\n \\"AgentVersion\\": \\"3.7.3\\",\\n \\"ConnectionStatus\\": \\"connected\\",\\n \\"IpAddress\\": \\"30.42.105.6\\",\\n \\"ServerId\\": \\"sr-000c2rz7q8tkc0g4xgao\\"\\n }\\n ]\\n },\\n \\"SecondarySiteServers\\": {\\n \\"server\\": [\\n {\\n \\"AgentVersion\\": \\"3.7.3\\",\\n \\"ConnectionStatus\\": \\"connected\\",\\n \\"IpAddress\\": \\"192.168.1.4\\",\\n \\"ServerId\\": \\"sr-000ikcyl8ucxtxl5f7pi\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeSummary' => [
+ 'summary' => '查询概览',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => [
+ 'FEATUREhdrKVSJIZ',
+ 'FEATUREhdrEJMNXE',
+ 'FEATUREhdrE49XN0',
+ 'FEATUREhdrF01CKY',
+ ],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DE78056B-E82A-52FD-BF5E-F737D8B63845',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'ServerCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'TotalSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'DbServerCount' => [
+ 'description' => '-',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '-',
+ ],
+ 'SiteCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4',
+ ],
+ 'ReplicationDetails' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WarningServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'warningServer' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ServerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-000fzufp79icz33l4pak',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp1a4374akk4527gbt9x',
+ ],
+ 'SitePairId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 's-000bzkmmlwh5riquud19',
+ ],
+ 'Rpo' => [
+ 'description' => 'RPO',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'replicating',
+ ],
+ 'ConnectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CriticalServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'criticalServer' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ServerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-0005qxusucb0fqqdf4ba',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp1a4374akk4527gbt9x',
+ ],
+ 'SitePairId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 's-0005qxusucbii3ba2uve',
+ ],
+ 'Rpo' => [
+ 'description' => 'RPO',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'replicating',
+ ],
+ 'ConnectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'NotApplicableServers' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'notApplicableServer' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ServerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sr-000iji78mxxc93yldd2e',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-bp1a4374akk4527gbt9x',
+ ],
+ 'SitePairId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 's-000bzkmmlwh5riquud19',
+ ],
+ 'Rpo' => [
+ 'description' => 'RPO',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '40',
+ ],
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'replicating',
+ ],
+ 'ConnectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'connected',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DE78056B-E82A-52FD-BF5E-F737D8B63845\\",\\n \\"Success\\": true,\\n \\"ServerCount\\": 2,\\n \\"TotalSize\\": 10,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"DbServerCount\\": 0,\\n \\"SiteCount\\": 4,\\n \\"ReplicationDetails\\": {\\n \\"WarningServers\\": {\\n \\"warningServer\\": [\\n {\\n \\"ServerId\\": \\"sr-000fzufp79icz33l4pak\\",\\n \\"InstanceId\\": \\"i-bp1a4374akk4527gbt9x\\",\\n \\"SitePairId\\": \\"s-000bzkmmlwh5riquud19\\",\\n \\"Rpo\\": 30,\\n \\"Status\\": \\"replicating\\",\\n \\"ConnectionStatus\\": \\"connected\\"\\n }\\n ]\\n },\\n \\"CriticalServers\\": {\\n \\"criticalServer\\": [\\n {\\n \\"ServerId\\": \\"sr-0005qxusucb0fqqdf4ba\\",\\n \\"InstanceId\\": \\"i-bp1a4374akk4527gbt9x\\",\\n \\"SitePairId\\": \\"s-0005qxusucbii3ba2uve\\",\\n \\"Rpo\\": 30,\\n \\"Status\\": \\"replicating\\",\\n \\"ConnectionStatus\\": \\"connected\\"\\n }\\n ]\\n },\\n \\"NotApplicableServers\\": {\\n \\"notApplicableServer\\": [\\n {\\n \\"ServerId\\": \\"sr-000iji78mxxc93yldd2e\\",\\n \\"InstanceId\\": \\"i-bp1a4374akk4527gbt9x\\",\\n \\"SitePairId\\": \\"s-000bzkmmlwh5riquud19\\",\\n \\"Rpo\\": 40,\\n \\"Status\\": \\"replicating\\",\\n \\"ConnectionStatus\\": \\"connected\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'hdr.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'hdr.cn-zhangjiakou.aliyuncs.com',
+ ],
+ ],
+];