From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/rocketmq/2022-08-01/api-docs.php | 4370 +++++++++++---------------------- 1 file changed, 1387 insertions(+), 2983 deletions(-) (limited to 'data/rocketmq') diff --git a/data/rocketmq/2022-08-01/api-docs.php b/data/rocketmq/2022-08-01/api-docs.php index 24d2ac0..67937e4 100644 --- a/data/rocketmq/2022-08-01/api-docs.php +++ b/data/rocketmq/2022-08-01/api-docs.php @@ -1,23 +1,14 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'RocketMQ', - 'version' => '2022-08-01', - ], + 'info' => ['style' => 'ROA', 'product' => 'RocketMQ', 'version' => '2022-08-01'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateInstance' => [ - 'path' => '/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddDisasterRecoveryItem' => [ + 'path' => '/disaster_recovery/{planId}/items', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26,13 +17,93 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'clientToken', - 'in' => 'query', + 'name' => 'planId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'topics' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'regionId' => ['type' => 'string', 'required' => false], + 'instanceType' => ['type' => 'string', 'required' => false], + 'instanceId' => ['type' => 'string', 'required' => false], + 'topicName' => ['type' => 'string', 'required' => false], + 'consumerGroupId' => ['type' => 'string', 'deprecated' => true, 'required' => false], + 'deliveryOrderType' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], + ], + ], + 'ChangeResourceGroup' => [ + 'path' => '/resourceGroup/change', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'CreateConsumerGroup' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'consumerGroupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -41,103 +112,159 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'instanceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'serviceCode' => [ - 'type' => 'string', - 'required' => true, - ], - 'seriesCode' => [ - 'type' => 'string', - 'required' => true, - ], - 'subSeriesCode' => [ + 'remark' => ['type' => 'string', 'required' => false], + 'deliveryOrderType' => [ 'type' => 'string', 'required' => true, + 'enum' => ['Orderly', 'Concurrently'], ], - 'paymentType' => [ - 'type' => 'string', + 'consumeRetryPolicy' => [ + 'type' => 'object', 'required' => true, - 'enum' => [ - 'Subscription', - 'PayAsYouGo', + 'properties' => [ + 'maxRetryTimes' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'retryPolicy' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['DefaultRetryPolicy', 'FixedRetryPolicy'], + ], + 'deadLetterTargetTopic' => ['type' => 'string', 'required' => false], + 'fixedIntervalRetryTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], - 'period' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'periodUnit' => [ + 'maxReceiveTps' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'messageModel' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'Month', - 'Year', - ], + 'enum' => ['CLUSTERING', 'LITE_SELECTIVE'], ], - 'autoRenew' => [ - 'type' => 'boolean', + 'topicName' => ['type' => 'string', 'required' => false], + 'exclusive' => ['type' => 'boolean'], + ], + ], + ], + ], + ], + 'CreateDisasterRecoveryPlan' => [ + 'path' => '/disaster_recovery', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'planName' => ['type' => 'string', 'required' => false], + 'planDesc' => ['type' => 'string', 'required' => false], + 'planType' => ['type' => 'string', 'required' => false], + 'instances' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'instanceType' => ['type' => 'string', 'required' => false], + 'regionId' => ['type' => 'string', 'required' => false], + 'instanceId' => ['type' => 'string', 'required' => false], + 'instanceRole' => ['type' => 'string', 'required' => false], + 'authType' => ['type' => 'string', 'required' => false], + 'username' => ['type' => 'string', 'required' => false], + 'password' => ['type' => 'string', 'required' => false], + 'endpointUrl' => ['type' => 'string', 'required' => false], + 'networkType' => ['type' => 'string', 'required' => false], + 'vpcId' => ['type' => 'string', 'required' => false], + 'vSwitchId' => ['type' => 'string', 'required' => false], + 'messageProperty' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'propertyKey' => ['type' => 'string', 'required' => false], + 'propertyValue' => ['type' => 'string', 'required' => false], + ], + ], + 'securityGroupId' => ['type' => 'string', 'required' => false], + 'consumerGroupId' => ['type' => 'string', 'required' => false], + ], + ], ], - 'autoRenewPeriod' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + 'autoSyncCheckpoint' => ['type' => 'boolean', 'required' => false], + 'syncCheckpointEnabled' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + ], + ], + 'CreateInstance' => [ + 'path' => '/instances', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'clientToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'instanceName' => ['type' => 'string', 'required' => false], + 'serviceCode' => ['type' => 'string', 'required' => true], + 'seriesCode' => ['type' => 'string', 'required' => true], + 'subSeriesCode' => ['type' => 'string', 'required' => true], + 'paymentType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['Subscription', 'PayAsYouGo'], ], - 'remark' => [ + 'period' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'periodUnit' => [ 'type' => 'string', 'required' => false, + 'enum' => ['Month', 'Year'], ], + 'autoRenew' => ['type' => 'boolean', 'required' => false], + 'autoRenewPeriod' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'remark' => ['type' => 'string', 'required' => false], 'productInfo' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'msgProcessSpec' => [ - 'type' => 'string', - 'required' => false, - ], - 'sendReceiveRatio' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'autoScaling' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'messageRetentionTime' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'storageEncryption' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'storageSecretKey' => [ - 'type' => 'string', - 'required' => false, - ], + 'msgProcessSpec' => ['type' => 'string', 'required' => false], + 'sendReceiveRatio' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'autoScaling' => ['type' => 'boolean', 'required' => false], + 'messageRetentionTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storageEncryption' => ['type' => 'boolean', 'required' => false], + 'storageSecretKey' => ['type' => 'string', 'required' => false], 'capacityType' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'provisioned', - 'ondemand', - ], - ], - 'provisionedCapacity' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'traceOn' => [ - 'type' => 'boolean', - 'required' => false, + 'enum' => ['provisioned', 'ondemand'], ], + 'provisionedCapacity' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'traceOn' => ['type' => 'boolean', 'required' => false], + 'drReplicationMode' => ['type' => 'string', 'required' => false], ], ], 'networkInfo' => [ @@ -148,19 +275,9 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'vpcId' => [ - 'type' => 'string', - 'required' => true, - ], - 'vSwitchId' => [ - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - ], - 'securityGroupIds' => [ - 'type' => 'string', - 'required' => false, - ], + 'vpcId' => ['type' => 'string', 'required' => true], + 'vSwitchId' => ['type' => 'string', 'deprecated' => true, 'required' => false], + 'securityGroupIds' => ['type' => 'string', 'required' => false], 'vSwitches' => [ 'type' => 'array', 'required' => false, @@ -168,10 +285,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'vSwitchId' => [ - 'type' => 'string', - 'required' => false, - ], + 'vSwitchId' => ['type' => 'string', 'required' => false], ], ], ], @@ -181,40 +295,21 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'internetSpec' => [ - 'type' => 'string', - 'required' => true, - ], - 'flowOutType' => [ - 'type' => 'string', - 'required' => true, - ], - 'flowOutBandwidth' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'internetSpec' => ['type' => 'string', 'required' => true], + 'flowOutType' => ['type' => 'string', 'required' => true], + 'flowOutBandwidth' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'ipWhitelist' => [ 'type' => 'array', 'deprecated' => true, 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'commodityCode' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'commodityCode' => ['type' => 'string', 'deprecated' => true, 'required' => false], + 'resourceGroupId' => ['type' => 'string', 'required' => false], 'tags' => [ 'type' => 'array', 'required' => false, @@ -222,14 +317,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], @@ -237,10 +326,7 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'defaultVpcAuthFree' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'defaultVpcAuthFree' => ['type' => 'boolean', 'required' => false], ], ], ], @@ -248,15 +334,10 @@ ], ], ], - 'UpdateInstance' => [ - 'path' => '/instances/{instanceId}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstanceAccount' => [ + 'path' => '/instances/{instanceId}/accounts', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -267,11 +348,45 @@ [ 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'password' => ['type' => 'string', 'required' => true], + 'username' => ['type' => 'string', 'required' => true], + 'remark' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'CreateInstanceAcl' => [ + 'path' => '/instances/{instanceId}/acl/account/{username}', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'username', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -280,227 +395,36 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'instanceName' => [ + 'resourceType' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['Topic', 'Group'], ], - 'remark' => [ + 'resourceName' => ['type' => 'string', 'required' => true], + 'decision' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['Allow', 'Deny'], + ], + 'actions' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + ], + 'ipWhitelists' => [ + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'networkInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'internetInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ipWhitelist' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'productInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'sendReceiveRatio' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], - 'autoScaling' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'messageRetentionTime' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'traceOn' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - 'aclInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'aclTypes' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'defaultVpcAuthFree' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - 'DeleteInstance' => [ - 'path' => '/instances/{instanceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListInstances' => [ - 'path' => '/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '10', - 'maximum' => '200', - ], - ], - [ - 'name' => 'resourceGroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'tags', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'seriesCodes', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, ], ], ], - [ - 'name' => 'storageSecretKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetInstance' => [ - 'path' => '/instances/{instanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], ], ], - 'CreateTopic' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstanceIpWhitelist' => [ + 'path' => '/instances/{instanceId}/ip/whitelist', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -511,18 +435,7 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'topicName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -532,45 +445,20 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'messageType' => [ - 'type' => 'string', + 'ipWhitelists' => [ + 'type' => 'array', 'required' => true, - 'enum' => [ - 'NORMAL', - 'FIFO', - 'DELAY', - 'TRANSACTION', - 'LITE', - ], - ], - 'remark' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxSendTps' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'liteTopicExpiration' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'items' => ['type' => 'string', 'required' => true], ], ], ], ], ], ], - 'UpdateTopic' => [ + 'CreateTopic' => [ 'path' => '/instances/{instanceId}/topics/{topicName}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -581,18 +469,12 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -602,34 +484,23 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'remark' => [ + 'messageType' => [ 'type' => 'string', - 'required' => false, - ], - 'maxSendTps' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'liteTopicExpiration' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'required' => true, + 'enum' => ['NORMAL', 'FIFO', 'DELAY', 'TRANSACTION', 'LITE'], ], + 'remark' => ['type' => 'string', 'required' => false], + 'maxSendTps' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'liteTopicExpiration' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], - 'DeleteTopic' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'DeleteConsumerGroup' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', + 'methods' => ['delete'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -640,30 +511,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'topicName', + 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListTopics' => [ - 'path' => '/instances/{instanceId}/topics', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteConsumerGroupSubscription' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/subscriptions', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -674,65 +534,34 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'consumerGroupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageNumber', + 'name' => 'topicName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', + 'name' => 'filterType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '10', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'messageTypes', + 'name' => 'filterExpression', 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetTopic' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteDisasterRecoveryItem' => [ + 'path' => '/disaster_recovery/{planId}/items/{itemId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -741,32 +570,21 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'topicName', + 'name' => 'itemId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateConsumerGroup' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteDisasterRecoveryPlan' => [ + 'path' => '/disaster_recovery/{planId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -775,100 +593,34 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'DeleteInstance' => [ + 'path' => '/instances/{instanceId}', + 'methods' => ['delete'], + 'schemes' => ['https', 'http'], + 'security' => [ [ - 'name' => 'consumerGroupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'remark' => [ - 'type' => 'string', - 'required' => false, - ], - 'deliveryOrderType' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'Orderly', - 'Concurrently', - ], - ], - 'consumeRetryPolicy' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'maxRetryTimes' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'retryPolicy' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'DefaultRetryPolicy', - 'FixedRetryPolicy', - ], - ], - 'deadLetterTargetTopic' => [ - 'type' => 'string', - 'required' => false, - ], - 'fixedIntervalRetryTime' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'maxReceiveTps' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'messageModel' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'CLUSTERING', - 'LITE_SELECTIVE', - ], - ], - 'topicName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateConsumerGroup' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteInstanceAccount' => [ + 'path' => '/instances/{instanceId}/accounts/{username}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -879,87 +631,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'consumerGroupId', + 'name' => 'username', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'remark' => [ - 'type' => 'string', - 'required' => false, - ], - 'deliveryOrderType' => [ - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'enum' => [ - 'Concurrently', - 'Orderly', - ], - ], - 'consumeRetryPolicy' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'retryPolicy' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'DefaultRetryPolicy', - 'FixedRetryPolicy', - ], - ], - 'maxRetryTimes' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'deadLetterTargetTopic' => [ - 'type' => 'string', - 'required' => false, - ], - 'fixedIntervalRetryTime' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - 'maxReceiveTps' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteConsumerGroup' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'DeleteInstanceAcl' => [ + 'path' => '/instances/{instanceId}/acl/account/{username}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -970,30 +654,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'consumerGroupId', + 'name' => 'username', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListConsumerGroups' => [ - 'path' => '/instances/{instanceId}/consumerGroups', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteInstanceIpWhitelist' => [ + 'path' => '/instances/{instanceId}/ip/whitelist', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1004,52 +687,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageNumber', + 'name' => 'ipWhitelist', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'string', 'deprecated' => true, 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'ipWhitelists', 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', 'required' => false, - 'minimum' => '10', - 'maximum' => '100', + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'GetConsumerGroup' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteTopic' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}', + 'methods' => ['delete'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -1060,30 +720,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'consumerGroupId', + 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListTopicSubscriptions' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}/subscriptions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ExecuteMigrationOperation' => [ + 'path' => '/migrations/{migrationId}/stages/{stageType}/operations/{operationId}/execute', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1091,33 +740,50 @@ ], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'migrationId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], [ 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'stageType', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'topicName', + 'name' => 'operationId', 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'operationParam' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'paramData' => ['type' => 'any', 'required' => false], + ], + ], + ], ], ], ], ], - 'ListConsumerGroupSubscriptions' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/subscriptions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'FinishMigrationStage' => [ + 'path' => '/migrations/{migrationId}/stages/{stageType}/finish', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1126,40 +792,26 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'migrationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'consumerGroupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'topicName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'stageType', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetConsumerGroupSubscription' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/subscriptions/{topicName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'GetConsumeTimespan' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/consumeTimespan/{topicName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1170,38 +822,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteConsumerGroupSubscription' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/subscriptions', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetConsumerGroup' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1212,55 +850,20 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - [ - 'name' => 'topicName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'filterType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'filterExpression', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListConsumerConnections' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/connections', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ + ], + ], + 'GetConsumerGroupLag' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/lag', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ 'AK' => [], ], @@ -1270,46 +873,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'topicName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'liteTopicName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetConsumerGroupLag' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/lag', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetConsumerGroupSubscription' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/subscriptions/{topicName}', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -1320,46 +906,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'topicName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'liteTopicName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetConsumerStack' => [ 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/stack', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -1370,38 +934,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'clientId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ResetConsumeOffset' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/consumeOffsets/{topicName}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'GetDisasterRecoveryItem' => [ + 'path' => '/disaster_recovery/{planId}/items/{itemId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1410,59 +960,39 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'consumerGroupId', + 'name' => 'itemId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'GetDisasterRecoveryPlan' => [ + 'path' => '/disaster_recovery/{planId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'topicName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'resetType' => [ - 'type' => 'string', - 'required' => false, - ], - 'resetTime' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'planId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'ListMessages' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}/messages', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetInstance' => [ + 'path' => '/instances/{instanceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1473,100 +1003,98 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetInstanceAccount' => [ + 'path' => '/instances/{instanceId}/account', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'topicName', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'messageId', + 'name' => 'username', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetInstanceAcl' => [ + 'path' => '/instances/{instanceId}/acl/account/{username}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'messageKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'startTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'endTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'username', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageNumber', + 'name' => 'resourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', + 'name' => 'resourceName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '20', - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetInstanceIpWhitelist' => [ + 'path' => '/instances/{instanceId}/ip/whitelists', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'scrollId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'liteTopicName', + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ipWhitelists', 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'GetMessageDetail' => [ 'path' => '/instances/{instanceId}/topics/{topicName}/messages/{messageId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1577,38 +1105,24 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'messageId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'VerifySendMessage' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}/messages', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTopic' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1619,57 +1133,19 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'message' => [ - 'type' => 'string', - 'required' => false, - ], - 'messageTag' => [ - 'type' => 'string', - 'required' => false, - ], - 'messageKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'liteTopicName' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'VerifyConsumeMessage' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}/messages/{messageId}/action/verifyConsume', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTrace' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}/traces/{messageId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1680,54 +1156,46 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'messageId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'consumerGroupId', + 'name' => 'startTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'clientId', + 'name' => 'endTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListTraces' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}/traces', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'ListAvailableZones' => [ + 'path' => '/zones', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'deprecated' => false, + 'parameters' => [], + ], + 'ListConsumerConnections' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/connections', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1738,100 +1206,57 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'topicName', + 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'startTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'endTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageNumber', + 'name' => 'topicName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'liteTopicName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'ListConsumerGroupSubscriptions' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/subscriptions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'queryType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'messageId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'messageKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'consumerGroupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'liteTopicName', + 'name' => 'topicName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetTrace' => [ - 'path' => '/instances/{instanceId}/topics/{topicName}/traces/{messageId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListConsumerGroups' => [ + 'path' => '/instances/{instanceId}/consumerGroups', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1842,54 +1267,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'topicName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'messageId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'startTime', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], ], [ - 'name' => 'endTime', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '100'], ], ], ], - 'CreateInstanceAccount' => [ - 'path' => '/instances/{instanceId}/accounts', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDisasterRecoveryCheckpoints' => [ + 'path' => '/disaster_recovery/{planId}/items/{itemId}/checkpoints', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1898,43 +1298,41 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'password' => [ - 'type' => 'string', - 'required' => true, - ], - 'username' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], + 'name' => 'itemId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'instanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'UpdateInstanceAccount' => [ - 'path' => '/instances/{instanceId}/accounts/{username}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDisasterRecoveryItems' => [ + 'path' => '/disaster_recovery/{planId}/items', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1943,48 +1341,36 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'username', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'topicName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'accountStatus', + 'name' => 'filter', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'password', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '10000'], ], ], ], - 'DeleteInstanceAccount' => [ - 'path' => '/instances/{instanceId}/accounts/{username}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDisasterRecoveryPlans' => [ + 'path' => '/disaster_recovery', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1994,31 +1380,30 @@ 'parameters' => [ [ 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'username', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '10000'], ], ], ], 'ListInstanceAccount' => [ 'path' => '/instances/{instanceId}/accounts', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2029,68 +1414,39 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '10', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '10000'], ], [ 'name' => 'username', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'accountType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'accountStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetInstanceAccount' => [ - 'path' => '/instances/{instanceId}/account', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstanceAcl' => [ + 'path' => '/instances/{instanceId}/acl', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2101,30 +1457,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'username', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '10000'], + ], + [ + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateInstanceAcl' => [ - 'path' => '/instances/{instanceId}/acl/account/{username}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstanceIpWhitelist' => [ + 'path' => '/instances/{instanceId}/ip/whitelist', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2135,77 +1490,29 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'username', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'resourceType' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'Topic', - 'Group', - ], - ], - 'resourceName' => [ - 'type' => 'string', - 'required' => true, - ], - 'decision' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'Allow', - 'Deny', - ], - ], - 'actions' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'ipWhitelists' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '10000'], + ], + [ + 'name' => 'ipWhitelist', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateInstanceAcl' => [ - 'path' => '/instances/{instanceId}/acl/account/{username}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListInstances' => [ + 'path' => '/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2214,71 +1521,51 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'username', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '200'], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tags', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'seriesCodes', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'resourceType' => [ - 'type' => 'string', - 'required' => true, - ], - 'resourceName' => [ - 'type' => 'string', - 'required' => true, - ], - 'actions' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'decision' => [ - 'type' => 'string', - 'required' => false, - ], - 'ipWhitelists' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'storageSecretKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'DeleteInstanceAcl' => [ - 'path' => '/instances/{instanceId}/acl/account/{username}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMessages' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}/messages', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2289,101 +1576,59 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'username', + 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceType', + 'name' => 'messageId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'resourceName', + 'name' => 'messageKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'ListInstanceAcl' => [ - 'path' => '/instances/{instanceId}/acl', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'startTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'endTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '10', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '20'], ], [ - 'name' => 'filter', + 'name' => 'scrollId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'liteTopicName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetInstanceAcl' => [ - 'path' => '/instances/{instanceId}/acl/account/{username}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListMetricMeta' => [ + 'path' => '/monitor/metrics/meta', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2392,48 +1637,21 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'username', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceType', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '100000000'], ], [ - 'name' => 'resourceName', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '100'], ], ], ], - 'CreateInstanceIpWhitelist' => [ - 'path' => '/instances/{instanceId}/ip/whitelist', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMigrationOperations' => [ + 'path' => '/migrations/{migrationId}/stages/{stageType}/operations', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2442,91 +1660,66 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'migrationId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'ipWhitelists' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], + 'name' => 'stageType', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'DeleteInstanceIpWhitelist' => [ - 'path' => '/instances/{instanceId}/ip/whitelist', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'operationType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ipWhitelist', + 'name' => 'operationStatus', 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', - 'deprecated' => true, + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'ipWhitelists', + 'name' => 'businessStatus', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '100000000'], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '10000'], + ], ], ], - 'ListInstanceIpWhitelist' => [ - 'path' => '/instances/{instanceId}/ip/whitelist', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListMigrations' => [ + 'path' => '/migrations', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -2535,53 +1728,48 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'filter', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'migrationType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '100000000'], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '10', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '10', 'maximum' => '10000'], ], [ - 'name' => 'ipWhitelist', + 'name' => 'resourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetInstanceIpWhitelist' => [ - 'path' => '/instances/{instanceId}/ip/whitelists', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', + 'ListRegions' => [ + 'path' => '/regions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'deprecated' => false, + 'parameters' => [], + ], + 'ListTagResources' => [ + 'path' => '/resourceTag/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2590,37 +1778,64 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ipWhitelists', + 'name' => 'resourceType', 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListMigrations' => [ - 'path' => '/migrations', - 'methods' => [ - 'get', + 'ListTopicSubscriptions' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}/subscriptions', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', - 'http', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'topicName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'ListTopics' => [ + 'path' => '/instances/{instanceId}/topics', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2629,62 +1844,41 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'migrationType', + 'name' => 'filter', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100000000'], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '10', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '10000'], ], [ - 'name' => 'resourceGroupId', + 'name' => 'messageTypes', 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'ListMigrationOperations' => [ - 'path' => '/migrations/{migrationId}/stages/{stageType}/operations', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTraces' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}/traces', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2693,79 +1887,61 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'migrationId', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'stageType', + 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'operationType', + 'name' => 'startTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'filter', + 'name' => 'endTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'instanceId', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '100000000'], ], [ - 'name' => 'pageNumber', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'maximum' => '10000'], ], [ - 'name' => 'pageSize', + 'name' => 'queryType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '10', - 'maximum' => '10000', - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'messageId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'messageKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'liteTopicName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ExecuteMigrationOperation' => [ - 'path' => '/migrations/{migrationId}/stages/{stageType}/operations/{operationId}/execute', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ResetConsumeOffset' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/consumeOffsets/{topicName}', + 'methods' => ['patch'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], @@ -2773,39 +1949,20 @@ ], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'migrationId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], [ 'name' => 'instanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'stageType', + 'name' => 'consumerGroupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'operationId', + 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -2815,30 +1972,17 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'operationParam' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'paramData' => [ - 'type' => 'any', - 'required' => false, - ], - ], - ], + 'resetType' => ['type' => 'string', 'required' => false], + 'resetTime' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'FinishMigrationStage' => [ - 'path' => '/migrations/{migrationId}/stages/{stageType}/finish', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'StartDisasterRecoveryItem' => [ + 'path' => '/disaster_recovery/{planId}/items/{itemId}/start', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2847,41 +1991,72 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'migrationId', + 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'instanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'itemId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + ], + ], + 'StopDisasterRecoveryItem' => [ + 'path' => '/disaster_recovery/{planId}/items/{itemId}/stop', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'stageType', + 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'itemId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateDisasterRecoveryPlan' => [ - 'path' => '/disaster_recovery', - 'methods' => [ - 'post', + 'SyncDisasterRecoveryCheckpoint' => [ + 'path' => '/disaster_recovery/{planId}/items/{itemId}/checkpoints/{checkpointId}', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'planId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'itemId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'checkpointId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], + ], + 'TagResources' => [ + 'path' => '/resourceTag/create', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2890,123 +2065,31 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'planName' => [ - 'type' => 'string', - 'required' => false, - ], - 'planDesc' => [ - 'type' => 'string', - 'required' => false, - ], - 'planType' => [ - 'type' => 'string', - 'required' => false, - ], - 'instances' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'instanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceRole' => [ - 'type' => 'string', - 'required' => false, - ], - 'authType' => [ - 'type' => 'string', - 'required' => false, - ], - 'username' => [ - 'type' => 'string', - 'required' => false, - ], - 'password' => [ - 'type' => 'string', - 'required' => false, - ], - 'endpointUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'networkType' => [ - 'type' => 'string', - 'required' => false, - ], - 'vpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'vSwitchId' => [ - 'type' => 'string', - 'required' => false, - ], - 'messageProperty' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'propertyKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'propertyValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'securityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'consumerGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'autoSyncCheckpoint' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'syncCheckpointEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteDisasterRecoveryPlan' => [ - 'path' => '/disaster_recovery/{planId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UntagResources' => [ + 'path' => '/resourceTag/delete', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3015,25 +2098,36 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'name' => 'regionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'tagKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'all', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'UpdateDisasterRecoveryPlan' => [ - 'path' => '/disaster_recovery/{planId}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateConsumerGroup' => [ + 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}', + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3042,13 +2136,14 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'planId', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'consumerGroupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -3058,116 +2153,37 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'planName' => [ - 'type' => 'string', - 'required' => false, - ], - 'planDesc' => [ - 'type' => 'string', - 'required' => false, - ], - 'planType' => [ + 'remark' => ['type' => 'string', 'required' => false], + 'deliveryOrderType' => [ 'type' => 'string', + 'deprecated' => true, 'required' => false, + 'enum' => ['Concurrently', 'Orderly'], ], - 'instances' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'instanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceRole' => [ - 'type' => 'string', - 'required' => false, - ], - 'authType' => [ - 'type' => 'string', - 'required' => false, - ], - 'username' => [ - 'type' => 'string', - 'required' => false, - ], - 'password' => [ - 'type' => 'string', - 'required' => false, - ], - 'endpointUrl' => [ - 'type' => 'string', - 'required' => false, - ], - 'networkType' => [ - 'type' => 'string', - 'required' => false, - ], - 'vpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'vSwitchId' => [ - 'type' => 'string', - 'required' => false, - ], - 'messageProperty' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'propertyKey' => [ - 'type' => 'string', - 'required' => false, - ], - 'propertyValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'securityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'consumerGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'consumeRetryPolicy' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'retryPolicy' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['DefaultRetryPolicy', 'FixedRetryPolicy'], ], + 'maxRetryTimes' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'deadLetterTargetTopic' => ['type' => 'string', 'required' => false], + 'fixedIntervalRetryTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], - 'autoSyncCheckpoint' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'syncCheckpointEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'maxReceiveTps' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], - 'ListDisasterRecoveryPlans' => [ - 'path' => '/disaster_recovery', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateDisasterRecoveryItem' => [ + 'path' => '/disaster_recovery/{planId}/items/{itemId}', + 'methods' => ['patch'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -3176,81 +2192,48 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'planId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'name' => 'itemId', + 'in' => 'path', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'pageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, - 'minimum' => '10', - 'maximum' => '10000', + 'properties' => [ + 'topics' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'regionId' => ['type' => 'string', 'required' => false], + 'instanceType' => ['type' => 'string', 'required' => false], + 'instanceId' => ['type' => 'string', 'required' => false], + 'topicName' => ['type' => 'string', 'required' => false], + 'consumerGroupId' => ['type' => 'string', 'deprecated' => true, 'required' => false], + 'deliveryOrderType' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], ], ], - 'GetDisasterRecoveryPlan' => [ + 'UpdateDisasterRecoveryPlan' => [ 'path' => '/disaster_recovery/{planId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'AddDisasterRecoveryItem' => [ - 'path' => '/disaster_recovery/{planId}/items', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3261,11 +2244,7 @@ [ 'name' => 'planId', 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'body', @@ -3275,522 +2254,51 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'topics' => [ + 'planName' => ['type' => 'string', 'required' => false], + 'planDesc' => ['type' => 'string', 'required' => false], + 'planType' => ['type' => 'string', 'required' => false], + 'instances' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'topicName' => [ - 'type' => 'string', - 'required' => false, - ], - 'consumerGroupId' => [ - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - ], - 'deliveryOrderType' => [ - 'type' => 'string', + 'instanceType' => ['type' => 'string', 'required' => false], + 'regionId' => ['type' => 'string', 'required' => false], + 'instanceId' => ['type' => 'string', 'required' => false], + 'instanceRole' => ['type' => 'string', 'required' => false], + 'authType' => ['type' => 'string', 'required' => false], + 'username' => ['type' => 'string', 'required' => false], + 'password' => ['type' => 'string', 'required' => false], + 'endpointUrl' => ['type' => 'string', 'required' => false], + 'networkType' => ['type' => 'string', 'required' => false], + 'vpcId' => ['type' => 'string', 'required' => false], + 'vSwitchId' => ['type' => 'string', 'required' => false], + 'messageProperty' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'propertyKey' => ['type' => 'string', 'required' => false], + 'propertyValue' => ['type' => 'string', 'required' => false], + ], ], + 'securityGroupId' => ['type' => 'string', 'required' => false], + 'consumerGroupId' => ['type' => 'string', 'required' => false], ], - ], - ], - ], - ], - ], - ], - ], - 'UpdateDisasterRecoveryItem' => [ - 'path' => '/disaster_recovery/{planId}/items/{itemId}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'itemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'topics' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceType' => [ - 'type' => 'string', - 'required' => false, - ], - 'instanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'topicName' => [ - 'type' => 'string', - 'required' => false, - ], - 'consumerGroupId' => [ - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - ], - 'deliveryOrderType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'DeleteDisasterRecoveryItem' => [ - 'path' => '/disaster_recovery/{planId}/items/{itemId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'itemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'StartDisasterRecoveryItem' => [ - 'path' => '/disaster_recovery/{planId}/items/{itemId}/start', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'itemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'StopDisasterRecoveryItem' => [ - 'path' => '/disaster_recovery/{planId}/items/{itemId}/stop', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'itemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'ListDisasterRecoveryItems' => [ - 'path' => '/disaster_recovery/{planId}/items', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'topicName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100000000', - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '10', - 'maximum' => '10000', - ], - ], - ], - ], - 'GetDisasterRecoveryItem' => [ - 'path' => '/disaster_recovery/{planId}/items/{itemId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'itemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'ListDisasterRecoveryCheckpoints' => [ - 'path' => '/disaster_recovery/{planId}/items/{itemId}/checkpoints', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'itemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'instanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'filter', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'SyncDisasterRecoveryCheckpoint' => [ - 'path' => '/disaster_recovery/{planId}/items/{itemId}/checkpoints/{checkpointId}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'planId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'itemId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'checkpointId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - 'ListTagResources' => [ - 'path' => '/resourceTag/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'tag', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'resourceGroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + ], + ], + 'autoSyncCheckpoint' => ['type' => 'boolean', 'required' => false], + 'syncCheckpointEnabled' => ['type' => 'boolean', 'required' => false], + ], ], ], ], ], - 'TagResources' => [ - 'path' => '/resourceTag/create', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateInstance' => [ + 'path' => '/instances/{instanceId}', + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3799,48 +2307,68 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tag', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'instanceName' => ['type' => 'string', 'required' => false], + 'remark' => ['type' => 'string', 'required' => false], + 'networkInfo' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'internetInfo' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'ipWhitelist' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'productInfo' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'sendReceiveRatio' => ['type' => 'number', 'format' => 'float', 'required' => false], + 'autoScaling' => ['type' => 'boolean', 'required' => false], + 'messageRetentionTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'traceOn' => ['type' => 'boolean', 'required' => false], + ], + ], + 'aclInfo' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'aclTypes' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'defaultVpcAuthFree' => ['type' => 'boolean', 'required' => false], + ], + ], + ], ], ], ], ], - 'UntagResources' => [ - 'path' => '/resourceTag/delete', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateInstanceAccount' => [ + 'path' => '/instances/{instanceId}/accounts/{username}', + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3849,56 +2377,36 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'username', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceId', + 'name' => 'accountStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tagKey', + 'name' => 'password', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'all', + 'name' => 'remark', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ChangeResourceGroup' => [ - 'path' => '/resourceGroup/change', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateInstanceAcl' => [ + 'path' => '/instances/{instanceId}/acl/account/{username}', + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3907,47 +2415,45 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'resourceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'regionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'username', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceGroupId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'resourceType' => ['type' => 'string', 'required' => true], + 'resourceName' => ['type' => 'string', 'required' => true], + 'actions' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'decision' => ['type' => 'string', 'required' => false], + 'ipWhitelists' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], - 'GetConsumeTimespan' => [ - 'path' => '/instances/{instanceId}/consumerGroups/{consumerGroupId}/consumeTimespan/{topicName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateTopic' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}', + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3958,72 +2464,71 @@ [ 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'consumerGroupId', + 'name' => 'topicName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'topicName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'remark' => ['type' => 'string', 'required' => false], + 'maxSendTps' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'liteTopicExpiration' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], ], ], ], - 'ListRegions' => [ - 'path' => '/regions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'VerifyConsumeMessage' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}/messages/{messageId}/action/verifyConsume', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'parameters' => [], - ], - 'ListAvailableZones' => [ - 'path' => '/zones', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ + 'parameters' => [ [ - 'AK' => [], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'topicName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'messageId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'consumerGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'clientId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], - 'deprecated' => false, - 'parameters' => [], ], - 'ListMetricMeta' => [ - 'path' => '/monitor/metrics/meta', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'VerifySendMessage' => [ + 'path' => '/instances/{instanceId}/topics/{topicName}/messages', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4032,170 +2537,69 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '1', - 'maximum' => '100000000', - ], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', - 'in' => 'query', + 'name' => 'topicName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'minimum' => '10', - 'maximum' => '100', + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'message' => ['type' => 'string', 'required' => false], + 'messageTag' => ['type' => 'string', 'required' => false], + 'messageKey' => ['type' => 'string', 'required' => false], + 'liteTopicName' => ['type' => 'string', 'required' => false], + 'messageGroup' => ['type' => 'string', 'required' => false], + 'deliveryTimeStamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'userProperties' => ['type' => 'object', 'required' => false], + ], ], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'rocketmq.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'rocketmq.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'rocketmq.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-jva', - 'endpoint' => 'rocketmq.cn-zhengzhou-jva.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'rocketmq.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'rocketmq.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'rocketmq.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'rocketmq.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-nanjing', - 'endpoint' => 'rocketmq.cn-nanjing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fuzhou', - 'endpoint' => 'rocketmq.cn-fuzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'rocketmq.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'rocketmq.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'rocketmq.cn-guangzhou.aliyuncs.com ', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'rocketmq.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'rocketmq.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'rocketmq.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'rocketmq.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'rocketmq.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'rocketmq.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'rocketmq.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'rocketmq.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'rocketmq.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'rocketmq.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'rocketmq.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'rocketmq.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'rocketmq.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'rocketmq.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'rocketmq.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'rocketmq.cn-hangzhou-finance.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'rocketmq.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'rocketmq.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'rocketmq.ap-southeast-7.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'rocketmq.cn-beijing-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'rocketmq.me-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'na-south-1', - 'endpoint' => 'rocketmq.na-south-1.aliyuncs.com', - ], + ['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-nanjing.aliyuncs.com', 'endpoint' => 'rocketmq.cn-nanjing.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'rocketmq.cn-wulanchabu.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-beijing.aliyuncs.com', 'endpoint' => 'rocketmq.cn-beijing.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhengzhou-jva', 'regionName' => '郑州(联通合营)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'rocketmq.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-zhengzhou-jva.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-qingdao.aliyuncs.com', 'endpoint' => 'rocketmq.cn-qingdao.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-shanghai.aliyuncs.com', 'endpoint' => 'rocketmq.cn-shanghai.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-hongkong.aliyuncs.com', 'endpoint' => 'rocketmq.cn-hongkong.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-heyuan.aliyuncs.com', 'endpoint' => 'rocketmq.cn-heyuan.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'rocketmq.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-shenzhen.aliyuncs.com', 'endpoint' => 'rocketmq.cn-shenzhen.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-northeast-2.aliyuncs.com', 'endpoint' => 'rocketmq.ap-northeast-2.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-northeast-2.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-northeast-1.aliyuncs.com', 'endpoint' => 'rocketmq.ap-northeast-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-fuzhou', 'regionName' => '华东6(福州-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-fuzhou.aliyuncs.com', 'endpoint' => 'rocketmq.cn-fuzhou.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-fuzhou.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-chengdu.aliyuncs.com', 'endpoint' => 'rocketmq.cn-chengdu.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-guangzhou.aliyuncs.com ', 'endpoint' => 'rocketmq.cn-guangzhou.aliyuncs.com ', 'vpc' => 'rocketmq-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-southeast-1.aliyuncs.com', 'endpoint' => 'rocketmq.ap-southeast-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-southeast-2.aliyuncs.com', 'endpoint' => 'rocketmq.ap-southeast-2.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-southeast-3.aliyuncs.com', 'endpoint' => 'rocketmq.ap-southeast-3.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-huhehaote.aliyuncs.com', 'endpoint' => 'rocketmq.cn-huhehaote.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-southeast-5.aliyuncs.com', 'endpoint' => 'rocketmq.ap-southeast-5.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-southeast-6.aliyuncs.com', 'endpoint' => 'rocketmq.ap-southeast-6.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-southeast-6.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.ap-southeast-7.aliyuncs.com', 'endpoint' => 'rocketmq.ap-southeast-7.aliyuncs.com', 'vpc' => 'rocketmq-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'rocketmq.cn-hangzhou.aliyuncs.com', 'endpoint' => 'rocketmq.cn-hangzhou.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'rocketmq.us-east-1.aliyuncs.com', 'endpoint' => 'rocketmq.us-east-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'rocketmq.eu-west-1.aliyuncs.com', 'endpoint' => 'rocketmq.eu-west-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'rocketmq.us-west-1.aliyuncs.com', 'endpoint' => 'rocketmq.us-west-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'rocketmq.eu-central-1.aliyuncs.com', 'endpoint' => 'rocketmq.eu-central-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'rocketmq.me-east-1.aliyuncs.com', 'endpoint' => 'rocketmq.me-east-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'rocketmq.me-central-1.aliyuncs.com', 'endpoint' => 'rocketmq.me-central-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.me-central-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'rocketmq.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'rocketmq.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-hangzhou-finance.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'rocketmq.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'rocketmq.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'rocketmq.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'rocketmq.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-beijing-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'rocketmq.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'rocketmq.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'rocketmq-vpc.cn-shanghai-finance-1.aliyuncs.com'], ], ]; -- cgit v1.2.3