summaryrefslogtreecommitdiff
path: root/data/zh_cn/resourcecenter
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/resourcecenter
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/resourcecenter')
-rw-r--r--data/zh_cn/resourcecenter/2022-12-01/api-docs.php8753
1 files changed, 1717 insertions, 7036 deletions
diff --git a/data/zh_cn/resourcecenter/2022-12-01/api-docs.php b/data/zh_cn/resourcecenter/2022-12-01/api-docs.php
index 8939240..b020411 100644
--- a/data/zh_cn/resourcecenter/2022-12-01/api-docs.php
+++ b/data/zh_cn/resourcecenter/2022-12-01/api-docs.php
@@ -1,111 +1,51 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'ResourceCenter',
- 'version' => '2022-12-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'ResourceCenter', 'version' => '2022-12-01'],
'directories' => [
[
- 'children' => [
- 'EnableResourceCenter',
- 'GetResourceCenterServiceStatus',
- 'DisableResourceCenter',
- ],
+ 'children' => ['EnableResourceCenter', 'GetResourceCenterServiceStatus', 'DisableResourceCenter'],
'type' => 'directory',
'title' => '管理资源中心',
'id' => 39935,
],
[
- 'children' => [
- 'SearchResources',
- 'GetResourceConfiguration',
- 'ListTagValues',
- 'ListTagKeys',
- 'ListResourceTypes',
- 'GetResourceCounts',
- 'BatchGetResourceConfigurations',
- ],
+ 'children' => ['SearchResources', 'GetResourceConfiguration', 'ListTagValues', 'ListTagKeys', 'ListResourceTypes', 'GetResourceCounts', 'BatchGetResourceConfigurations'],
'type' => 'directory',
'title' => '资源搜索',
'id' => 39775,
],
[
- 'children' => [
- 'EnableMultiAccountResourceCenter',
- 'DisableMultiAccountResourceCenter',
- 'GetMultiAccountResourceCenterServiceStatus',
- 'SearchMultiAccountResources',
- 'GetMultiAccountResourceConfiguration',
- 'ListMultiAccountResourceGroups',
- 'ListMultiAccountTagKeys',
- 'ListMultiAccountTagValues',
- 'GetMultiAccountResourceCounts',
- ],
+ 'children' => ['EnableMultiAccountResourceCenter', 'DisableMultiAccountResourceCenter', 'GetMultiAccountResourceCenterServiceStatus', 'SearchMultiAccountResources', 'GetMultiAccountResourceConfiguration', 'ListMultiAccountResourceGroups', 'ListMultiAccountTagKeys', 'ListMultiAccountTagValues', 'GetMultiAccountResourceCounts'],
'type' => 'directory',
'title' => '跨账号资源搜索',
'id' => 39782,
],
[
- 'children' => [
- 'ListExampleQueries',
- 'GetExampleQuery',
- 'CreateSavedQuery',
- 'GetSavedQuery',
- 'ListSavedQueries',
- 'UpdateSavedQuery',
- 'DeleteSavedQuery',
- 'ExecuteSQLQuery',
- 'ExecuteMultiAccountSQLQuery',
- ],
+ 'children' => ['ListExampleQueries', 'GetExampleQuery', 'CreateSavedQuery', 'GetSavedQuery', 'ListSavedQueries', 'UpdateSavedQuery', 'DeleteSavedQuery', 'ExecuteSQLQuery', 'ExecuteMultiAccountSQLQuery'],
'type' => 'directory',
'title' => '高级搜索',
'id' => 39791,
],
[
- 'children' => [
- 'CreateFilter',
- 'UpdateFilter',
- 'ListFilters',
- 'DeleteFilter',
- 'AssociateDefaultFilter',
- 'DisassociateDefaultFilter',
- ],
+ 'children' => ['CreateFilter', 'UpdateFilter', 'ListFilters', 'DeleteFilter', 'AssociateDefaultFilter', 'DisassociateDefaultFilter'],
'type' => 'directory',
'title' => '筛选条件',
'id' => 39801,
],
[
- 'children' => [
- 'CreateDeliveryChannel',
- 'DeleteDeliveryChannel',
- 'GetDeliveryChannel',
- 'GetDeliveryChannelStatistics',
- 'ListDeliveryChannels',
- 'UpdateDeliveryChannel',
- ],
+ 'children' => ['CreateDeliveryChannel', 'DeleteDeliveryChannel', 'GetDeliveryChannel', 'GetDeliveryChannelStatistics', 'ListDeliveryChannels', 'UpdateDeliveryChannel'],
'type' => 'directory',
'title' => '资源投递',
'id' => 39968,
],
[
- 'children' => [
- 'CreateMultiAccountDeliveryChannel',
- 'DeleteMultiAccountDeliveryChannel',
- 'GetMultiAccountDeliveryChannel',
- 'GetMultiAccountDeliveryChannelStatistics',
- 'ListMultiAccountDeliveryChannels',
- 'UpdateMultiAccountDeliveryChannel',
- ],
+ 'children' => ['CreateMultiAccountDeliveryChannel', 'DeleteMultiAccountDeliveryChannel', 'GetMultiAccountDeliveryChannel', 'GetMultiAccountDeliveryChannelStatistics', 'ListMultiAccountDeliveryChannels', 'UpdateMultiAccountDeliveryChannel'],
'type' => 'directory',
'title' => '跨账号资源投递',
'id' => 40022,
],
[
- 'children' => [
- 'ListResourceRelationships',
- 'ListMultiAccountResourceRelationships',
- ],
+ 'children' => ['ListResourceRelationships', 'ListMultiAccountResourceRelationships'],
'type' => 'directory',
'title' => '资源关系',
'id' => 44881,
@@ -116,14 +56,9 @@
],
'apis' => [
'AssociateDefaultFilter' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '设置默认筛选条件。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -135,21 +70,14 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleOXO8QS',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleOXO8QS'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'FilterName',
'in' => 'query',
- 'schema' => [
- 'description' => '筛选条件名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '所有ECS实例资源',
- ],
+ 'schema' => ['description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => 'All ECS instance resources'],
],
],
'responses' => [
@@ -157,11 +85,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '54673B22-2001-556A-B394-B8697AA9670B',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '54673B22-2001-556A-B394-B8697AA9670B'],
],
'description' => '',
],
@@ -169,32 +93,17 @@
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'NotExists.FilterName',
- 'errorMessage' => 'The filter name of current user not exists.',
- 'description' => 'FilterName不存在。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.FilterName',
- 'errorMessage' => 'The length of parameter FilterName exceed limit.',
- 'description' => '参数 FilterName 长度超过限制。'."\n",
- ],
+ ['errorCode' => 'NotExists.FilterName', 'errorMessage' => 'The filter name of current user not exists.', 'description' => 'FilterName不存在。'],
+ ['errorCode' => 'LengthExceedLimit.FilterName', 'errorMessage' => 'The length of parameter FilterName exceed limit.', 'description' => '参数 FilterName 长度超过限制。'."\n"],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54673B22-2001-556A-B394-B8697AA9670B\\"\\n}","type":"json"}]',
'title' => '设置默认筛选条件',
- 'summary' => '设置默认筛选条件。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'AssociateDefaultFilter',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateDefaultFilter'],
],
],
'ramActions' => [
@@ -205,27 +114,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54673B22-2001-556A-B394-B8697AA9670B\\"\\n}","type":"json"}]',
],
'BatchGetResourceConfigurations' => [
- 'summary' => '批量查询当前账号的资源配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -233,11 +130,7 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Resources',
@@ -250,26 +143,11 @@
'description' => '资源。',
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eip-bp1kyg72m****',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'支持资源中心的资源类型,请参见[支持资源中心的云服务及资源类型](~~477798~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::VPC::RouteTable',
- ],
+ 'RegionId' => ['description' => '资源地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'eip-bp1kyg72m****'],
+ 'ResourceType' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'支持资源中心的资源类型,请参见[支持资源中心的云服务及资源类型](~~477798~~)。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::RouteTable'],
],
'required' => false,
],
@@ -286,12 +164,7 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F1CE0D52-32DA-531A-87A4-B9A5B68*****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F1CE0D52-32DA-531A-87A4-B9A5B68*****'],
'Resources' => [
'description' => '资源列表。',
'type' => 'array',
@@ -299,30 +172,14 @@
'description' => '资源。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'string',
- 'example' => '151266687691****',
- ],
+ 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '151266687691****'],
'Configuration' => [
'description' => '资源配置详情。',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'description' => '资源配置详情。',
- 'example' => '{\\"uid\\":\\"191432722631****\\",\\"groupId\\":\\"MtxXXli4FfphQJyH9R3p00****\\"}',
- ],
- ],
- 'CreateTime' => [
- 'description' => '资源创建时间。',
- 'type' => 'string',
- 'example' => '2021-06-30T09:20:08Z',
- ],
- 'ExpireTime' => [
- 'description' => '资源过期时间。',
- 'type' => 'string',
- 'example' => '2021-07-30T09:20:08Z',
+ 'additionalProperties' => ['type' => 'any', 'description' => '资源配置详情。', 'example' => '{\\"uid\\":\\"191432722631****\\",\\"groupId\\":\\"MtxXXli4FfphQJyH9R3p00****\\"}'],
],
+ 'CreateTime' => ['description' => '资源创建时间。', 'type' => 'string', 'example' => '2021-06-30T09:20:08Z'],
+ 'ExpireTime' => ['description' => '资源过期时间。', 'type' => 'string', 'example' => '2021-07-30T09:20:08Z'],
'IpAddressAttributes' => [
'description' => 'IP地址属性。',
'type' => 'array',
@@ -330,23 +187,11 @@
'description' => 'IP地址属性。',
'type' => 'object',
'properties' => [
- 'IpAddress' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- 'NetworkType' => [
- 'description' => '网络类型,取值:'."\n"
- .'- **Public**:公网。'."\n"
- .'- **Private**:私网。',
- 'type' => 'string',
- 'example' => 'Public',
- ],
- 'Version' => [
- 'description' => 'IP地址的版本。',
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
+ 'IpAddress' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '192.168.1.2'],
+ 'NetworkType' => ['description' => '网络类型,取值:'."\n"
+ .'- **Public**:公网。'."\n"
+ .'- **Private**:私网。', 'type' => 'string', 'example' => 'Public'],
+ 'Version' => ['description' => 'IP地址的版本。', 'type' => 'string', 'example' => 'Ipv4'],
],
],
],
@@ -355,37 +200,13 @@
."\n"
.'> 资源是否返回该参数,由所属的云服务决定。',
'type' => 'array',
- 'items' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- ],
- 'RegionId' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmzawhxxc****',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'eip-wz9gdtce0q6h48h*****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'group1',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::Instance',
+ 'items' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '192.168.1.2'],
],
+ 'RegionId' => ['description' => '资源地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzawhxxc****'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'eip-wz9gdtce0q6h48h*****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'group1'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ECS::Instance'],
'Tags' => [
'description' => '标签。',
'type' => 'array',
@@ -393,24 +214,12 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'test_key',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test_value',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'test_key'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'test_value'],
],
],
],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-k',
- ],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-k'],
],
],
],
@@ -420,34 +229,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ServiceNotEnabled',
- 'errorMessage' => 'ResourceCenter Service is not enabled.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is missing.',
- 'description' => '参数 ResourceType 缺失。'."\n",
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'ServiceNotEnabled', 'errorMessage' => 'ResourceCenter Service is not enabled.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is missing.', 'description' => '参数 ResourceType 缺失。'."\n"],
+ ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => '参数 ResourceType 不合法。'],
],
403 => [
- [
- 'errorCode' => 'NoPermission.Resource',
- 'errorMessage' => 'The operator is not permitted for this resource.',
- 'description' => '当前用户未授权操作此资源。',
- ],
+ ['errorCode' => 'NoPermission.Resource', 'errorMessage' => 'The operator is not permitted for this resource.', 'description' => '当前用户未授权操作此资源。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '批量查询资源配置',
+ 'summary' => '批量查询当前账号的资源配置。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
@@ -460,12 +253,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -474,13 +262,8 @@
],
'CreateDeliveryChannel' => [
'summary' => '创建当前账号资源投递渠道。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -488,32 +271,17 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test-delivery',
- ],
+ 'schema' => ['description' => '投递渠道名称。', 'type' => 'string', 'required' => true, 'example' => 'test-delivery'],
],
[
'name' => 'DeliveryChannelDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试投递',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'Test delivery'],
],
[
'name' => 'ResourceSnapshotDelivery',
@@ -523,20 +291,10 @@
'description' => '资源快照定时投递。',
'type' => 'object',
'properties' => [
- 'DeliveryTime' => [
- 'description' => '投递时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:00Z',
- ],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls',
- ],
+ 'DeliveryTime' => ['description' => '投递时间。', 'type' => 'string', 'required' => false, 'example' => '09:00Z'],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。', 'type' => 'string', 'required' => false, 'example' => 'acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls'],
'TargetType' => [
'description' => '投递目标类型。取值:'."\n"
."\n"
@@ -545,32 +303,19 @@
.'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- 'OSS' => 'OSS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS', 'OSS' => 'OSS'],
'example' => 'OSS',
],
- 'CustomExpression' => [
- 'description' => '自定义表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'select * from resources limit 100;',
- ],
+ 'CustomExpression' => ['description' => '自定义表达式。', 'type' => 'string', 'required' => false, 'example' => 'select * from resources limit 100;'],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- ."\n"
- .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ ."\n"
+ .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss'],
],
'required' => false,
],
@@ -590,34 +335,22 @@
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss'],
],
'required' => false,
],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls',
- ],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls'],
'TargetType' => [
'description' => '投递目标类型。'."\n"
."\n"
.'取值: `SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS'],
'example' => 'SLS',
],
],
@@ -635,14 +368,9 @@
'ResourceTypes' => [
'description' => '投递的资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
- ."\n"
- .'如需投递资源中心支持的所有资源类型,请传入`ALL`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::VPC::VPC',
- ],
+ 'items' => ['description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
+ ."\n"
+ .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC'],
'required' => false,
],
],
@@ -657,174 +385,52 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'dc-0bzhsqpn****',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '42A89312-0616-591E-B614-07BC87D3D',
- ],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'dc-0bzhsqpn****'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '42A89312-0616-591E-B614-07BC87D3D'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission.ServiceLinkedRole',
- 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
- 'description' => '参数 ResourceChangeDelivery.TargetArn 无效。',
- ],
+ ['errorCode' => 'NoPermission.ServiceLinkedRole', 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.', 'description' => '参数 ResourceChangeDelivery.TargetArn 无效。'],
],
403 => [
- [
- 'errorCode' => 'ExceedLimit.DeliveryChannelQuota',
- 'errorMessage' => 'The number of delivery channels exceeds the limit.',
- 'description' => '投递渠道数量超限。',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceType',
- 'errorMessage' => 'The operator is not permitted for this resource type.',
- 'description' => '当前用户未授权操作此资源类型。',
- ],
- ],
- [
- [
- 'errorCode' => 'MissingParameter.DeliveryName',
- 'errorMessage' => 'The specified parameter DeliveryName is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryFilter',
- 'errorMessage' => 'The specified parameter DeliveryFilter is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceDeliveryConfiguration',
- 'errorMessage' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryConfiguration',
- 'errorMessage' => 'The parameter ConfigurationSnapshotDelivery or ConfigurationChangeDelivery must be specified.',
- 'description' => '参数ConfigurationSnapshotDelivery或ConfigurationChangeDelivery必须指定。',
- ],
+ ['errorCode' => 'ExceedLimit.DeliveryChannelQuota', 'errorMessage' => 'The number of delivery channels exceeds the limit.', 'description' => '投递渠道数量超限。'],
+ ['errorCode' => 'NoPermission.ResourceType', 'errorMessage' => 'The operator is not permitted for this resource type.', 'description' => '当前用户未授权操作此资源类型。'],
+ ],
+ [
+ ['errorCode' => 'MissingParameter.DeliveryName', 'errorMessage' => 'The specified parameter DeliveryName is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.DeliveryFilter', 'errorMessage' => 'The specified parameter DeliveryFilter is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceDeliveryConfiguration', 'errorMessage' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.DeliveryConfiguration', 'errorMessage' => 'The parameter ConfigurationSnapshotDelivery or ConfigurationChangeDelivery must be specified.', 'description' => '参数ConfigurationSnapshotDelivery或ConfigurationChangeDelivery必须指定。'],
],
409 => [
- [
- 'errorCode' => 'AlreadyExists.DeliveryName',
- 'errorMessage' => 'The DeliveryName Name already exists.',
- 'description' => '投递名称已经存在。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryName',
- 'errorMessage' => 'The specified parameter DeliveryName is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryDescription',
- 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
- 'description' => '参数 DeliveryFilter.AccountScopes 无效。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.CustomExpression',
- 'errorMessage' => 'Error: %s.',
- 'description' => '',
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ ['errorCode' => 'AlreadyExists.DeliveryName', 'errorMessage' => 'The DeliveryName Name already exists.', 'description' => '投递名称已经存在。'],
+ ['errorCode' => 'InvalidParameter.DeliveryName', 'errorMessage' => 'The specified parameter DeliveryName is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.DeliveryDescription', 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.', 'description' => '参数 DeliveryFilter.AccountScopes 无效。'],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes', 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.CustomExpression', 'errorMessage' => 'Error: %s.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelId\\": \\"dc-0bzhsqpn****\\",\\n \\"RequestId\\": \\"42A89312-0616-591E-B614-07BC87D3D\\"\\n}","type":"json"}]',
'title' => '创建当前账号资源投递渠道',
'description' => '资源投递支持资源快照定时投递与资源配置变更投递。'."\n"
."\n"
@@ -845,27 +451,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelId\\": \\"dc-0bzhsqpn****\\",\\n \\"RequestId\\": \\"42A89312-0616-591E-B614-07BC87D3D\\"\\n}","type":"json"}]',
],
'CreateFilter' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '创建筛选条件。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -873,41 +468,26 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'FilterName',
'in' => 'query',
- 'schema' => [
- 'description' => '筛选条件名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '我的筛选条件。',
- ],
+ 'schema' => ['description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => 'My filter criteria.'],
],
[
'name' => 'FilterConfiguration',
'in' => 'query',
- 'schema' => [
- 'description' => '筛选条件。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{'."\n"
- .' "regions": [],'."\n"
- .' "tagFilters": ['."\n"
- .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
- .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
- .' ],'."\n"
- .' "resourceTypes": ['."\n"
- .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
- .' ]'."\n"
- .'}'."\n",
- ],
+ 'schema' => ['description' => '筛选条件。', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
+ .' "regions": [],'."\n"
+ .' "tagFilters": ['."\n"
+ .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
+ .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
+ .' ],'."\n"
+ .' "resourceTypes": ['."\n"
+ .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
+ .' ]'."\n"
+ .'}'."\n"],
],
],
'responses' => [
@@ -915,11 +495,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF'],
],
'description' => '',
],
@@ -927,52 +503,21 @@
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'InvalidParameter.FilterConfiguration',
- 'errorMessage' => 'The specified parameter FilterConfiguration is not valid.',
- 'description' => '参数 FilterConfiguration 不合法。'."\n",
- ],
- [
- 'errorCode' => 'AlreadyExists.FilterName',
- 'errorMessage' => 'The filter name of current user already exists.',
- 'description' => 'FilterName已经存在。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.FilterConfiguration',
- 'errorMessage' => 'The length of parameter FilterConfiguration exceed limit.',
- 'description' => '参数 FilterConfiguration 长度超过限制。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.FilterName',
- 'errorMessage' => 'The length of parameter FilterName exceed limit.',
- 'description' => '参数 FilterName 长度超过限制。'."\n",
- ],
- [
- 'errorCode' => 'ExceedLimit.User.Filter',
- 'errorMessage' => 'The maximum number of Filters is exceeded.',
- 'description' => '用户 Filter 数量超出上限。',
- ],
- [
- 'errorCode' => 'InvalidParameter.FilterName',
- 'errorMessage' => 'The specified parameter FilterName is not valid.',
- 'description' => '参数 FilterName 不合法。',
- ],
+ ['errorCode' => 'InvalidParameter.FilterConfiguration', 'errorMessage' => 'The specified parameter FilterConfiguration is not valid.', 'description' => '参数 FilterConfiguration 不合法。'."\n"],
+ ['errorCode' => 'AlreadyExists.FilterName', 'errorMessage' => 'The filter name of current user already exists.', 'description' => 'FilterName已经存在。'],
+ ['errorCode' => 'LengthExceedLimit.FilterConfiguration', 'errorMessage' => 'The length of parameter FilterConfiguration exceed limit.', 'description' => '参数 FilterConfiguration 长度超过限制。'],
+ ['errorCode' => 'LengthExceedLimit.FilterName', 'errorMessage' => 'The length of parameter FilterName exceed limit.', 'description' => '参数 FilterName 长度超过限制。'."\n"],
+ ['errorCode' => 'ExceedLimit.User.Filter', 'errorMessage' => 'The maximum number of Filters is exceeded.', 'description' => '用户 Filter 数量超出上限。'],
+ ['errorCode' => 'InvalidParameter.FilterName', 'errorMessage' => 'The specified parameter FilterName is not valid.', 'description' => '参数 FilterName 不合法。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF\\"\\n}","type":"json"}]',
'title' => '创建筛选条件',
- 'summary' => '创建筛选条件。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateFilter',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFilter'],
],
],
'ramActions' => [
@@ -983,27 +528,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF\\"\\n}","type":"json"}]',
],
'CreateMultiAccountDeliveryChannel' => [
'summary' => '创建跨账号资源投递渠道。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1011,31 +545,17 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test-multi-account-delivery',
- ],
+ 'schema' => ['description' => '投递渠道名称。', 'type' => 'string', 'required' => true, 'example' => 'test-multi-account-delivery'],
],
[
'name' => 'DeliveryChannelDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'This is a description.',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'This is a description.'],
],
[
'name' => 'ResourceSnapshotDelivery',
@@ -1045,20 +565,10 @@
'description' => '资源快照定时投递。',
'type' => 'object',
'properties' => [
- 'DeliveryTime' => [
- 'description' => '投递时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:00Z',
- ],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'DeliveryTime' => ['description' => '投递时间。', 'type' => 'string', 'required' => false, 'example' => '09:00Z'],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
'TargetType' => [
'description' => '投递目标类型。取值:'."\n"
."\n"
@@ -1067,32 +577,19 @@
.'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- 'OSS' => 'OSS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS', 'OSS' => 'OSS'],
'example' => 'OSS',
],
- 'CustomExpression' => [
- 'description' => '自定义表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'select * from resources limit 100;'."\n",
- ],
+ 'CustomExpression' => ['description' => '自定义表达式。', 'type' => 'string', 'required' => false, 'example' => 'select * from resources limit 100;'."\n"],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- ."\n"
- .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ ."\n"
+ .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
],
'required' => false,
],
@@ -1112,34 +609,22 @@
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
],
'required' => false,
],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'."\n",
- ],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'."\n"],
'TargetType' => [
'description' => '投递目标类型。'."\n"
."\n"
.'取值:`SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS'],
'example' => 'SLS',
],
],
@@ -1157,31 +642,21 @@
'AccountScopes' => [
'description' => '投递的账号范围列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的账号范围。取值:'."\n"
- .'- 资源目录ID,表示投递管理账号和所有成员中的资源。'."\n"
- .'- Root资源夹ID,表示投递Root资源夹及子资源夹下的所有成员中的资源。'."\n"
- .'- 资源夹ID,表示投递指定资源夹下所有成员中的资源。'."\n"
- .'- 成员ID,表示投递指定成员中的资源。'."\n"
- ."\n"
- .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rd-r4****'."\n",
- ],
+ 'items' => ['description' => '投递的账号范围。取值:'."\n"
+ .'- 资源目录ID,表示投递管理账号和所有成员中的资源。'."\n"
+ .'- Root资源夹ID,表示投递Root资源夹及子资源夹下的所有成员中的资源。'."\n"
+ .'- 资源夹ID,表示投递指定资源夹下所有成员中的资源。'."\n"
+ .'- 成员ID,表示投递指定成员中的资源。'."\n"
+ ."\n"
+ .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。', 'type' => 'string', 'required' => true, 'example' => 'rd-r4****'."\n"],
'required' => true,
],
'ResourceTypes' => [
'description' => '投递的资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
- ."\n"
- .'如需投递资源中心支持的所有资源类型,请传入`ALL`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::VPC::VPC'."\n",
- ],
+ 'items' => ['description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
+ ."\n"
+ .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC'."\n"],
'required' => false,
],
],
@@ -1196,174 +671,51 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'DeliveryChannelId' => [
- 'description' => '投递ID。',
- 'type' => 'string',
- 'example' => 'dc-6q79dm4o9***',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '994BFEFE-4BB5-5A27-8917-4583DEEF2***',
- ],
+ 'DeliveryChannelId' => ['description' => '投递ID。', 'type' => 'string', 'example' => 'dc-6q79dm4o9***'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '994BFEFE-4BB5-5A27-8917-4583DEEF2***'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission.ServiceLinkedRole',
- 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The resource configuration change delivery target arn is invalid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission.ServiceLinkedRole', 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The resource configuration change delivery target arn is invalid.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'ExceedLimit.DeliveryChannelQuota',
- 'errorMessage' => 'The number of delivery channels exceeds the limit.',
- 'description' => '投递渠道数量超限。',
- ],
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
- ],
- [
- [
- 'errorCode' => 'MissingParameter.DeliveryName',
- 'errorMessage' => 'The specified parameter DeliveryName is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryFilter',
- 'errorMessage' => 'The specified parameter DeliveryFilter is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceDeliveryConfiguration',
- 'errorMessage' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
- 'description' => '',
- ],
+ ['errorCode' => 'ExceedLimit.DeliveryChannelQuota', 'errorMessage' => 'The number of delivery channels exceeds the limit.', 'description' => '投递渠道数量超限。'],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
+ ],
+ [
+ ['errorCode' => 'MissingParameter.DeliveryName', 'errorMessage' => 'The specified parameter DeliveryName is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.DeliveryFilter', 'errorMessage' => 'The specified parameter DeliveryFilter is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceDeliveryConfiguration', 'errorMessage' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.', 'description' => ''],
],
409 => [
- [
- 'errorCode' => 'AlreadyExists.DeliveryName',
- 'errorMessage' => 'The DeliveryName Name already exists.',
- 'description' => '投递名称已经存在。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryName',
- 'errorMessage' => 'The specified parameter DeliveryName is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryDescription',
- 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
- 'description' => '参数 DeliveryFilter.AccountScopes 无效。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.CustomExpression',
- 'errorMessage' => 'Error: %s.',
- 'description' => '',
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ ['errorCode' => 'AlreadyExists.DeliveryName', 'errorMessage' => 'The DeliveryName Name already exists.', 'description' => '投递名称已经存在。'],
+ ['errorCode' => 'InvalidParameter.DeliveryName', 'errorMessage' => 'The specified parameter DeliveryName is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.DeliveryDescription', 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.', 'description' => '参数 DeliveryFilter.AccountScopes 无效。'],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes', 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.CustomExpression', 'errorMessage' => 'Error: %s.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"RequestId\\": \\"994BFEFE-4BB5-5A27-8917-4583DEEF2***\\"\\n}","type":"json"}]',
'title' => '创建跨账号资源投递渠道',
'description' => '资源目录管理账号或资源中心委派管理员账号可以在资源中心创建跨账号资源投递,将资源目录成员的资源定时快照和资源配置变更事件投递到对象存储(OSS)或日志服务(SLS),然后从OSS或SLS消费标准化的资源信息。'."\n"
@@ -1385,12 +737,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -1398,13 +745,9 @@
],
],
'CreateSavedQuery' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => '创建自定义查询模板。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1412,48 +755,28 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '模板名称。'."\n"
- ."\n"
- .'- 长度范围:1~64个字符或汉字。'."\n"
- .'- 格式:允许输入汉字、英文字母、数字、下划线(_)和短划线(-)。'."\n"
- .'- 模板名称必须唯一。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '查询我的所有资源。',
- ],
+ 'schema' => ['description' => '模板名称。'."\n"
+ ."\n"
+ .'- 长度范围:1~64个字符或汉字。'."\n"
+ .'- 格式:允许输入汉字、英文字母、数字、下划线(_)和短划线(-)。'."\n"
+ .'- 模板名称必须唯一。', 'type' => 'string', 'required' => true, 'example' => 'Query all my resources.'],
],
[
'name' => 'Expression',
'in' => 'query',
- 'schema' => [
- 'description' => '模板表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT * FROM resources;',
- ],
+ 'schema' => ['description' => '模板表达式。', 'type' => 'string', 'required' => true, 'example' => 'SELECT * FROM resources;'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '模板描述。'."\n"
- ."\n"
- .'长度范围:1~256个字符或汉字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '查询所有资源。',
- ],
+ 'schema' => ['description' => '模板描述。'."\n"
+ ."\n"
+ .'长度范围:1~256个字符或汉字。', 'type' => 'string', 'required' => false, 'example' => 'Query all resources.'],
],
],
'responses' => [
@@ -1462,70 +785,31 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'QueryId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => 'cq-GeAck****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57',
- ],
+ 'QueryId' => ['description' => '模板ID。', 'type' => 'string', 'example' => 'cq-GeAck****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
409 => [
- [
- 'errorCode' => 'LengthExceedLimit.Description',
- 'errorMessage' => 'The length of parameter Description exceed limit.',
- 'description' => '查询模板描述的长度超过限制。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.Expression',
- 'errorMessage' => 'The length of parameter Expression exceed limit.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.Name',
- 'errorMessage' => 'The length of parameter Name exceed limit.',
- 'description' => '查询模板名称的长度超过限制。',
- ],
- [
- 'errorCode' => 'InvalidParameter.Name',
- 'errorMessage' => 'The specified parameter Name is not valid.',
- 'description' => '查询模板名称无效。',
- ],
- [
- 'errorCode' => 'AlreadyExists.Name',
- 'errorMessage' => 'The Query Template Name already exists.',
- 'description' => '查询模板名称已经存在。',
- ],
+ ['errorCode' => 'LengthExceedLimit.Description', 'errorMessage' => 'The length of parameter Description exceed limit.', 'description' => '查询模板描述的长度超过限制。'],
+ ['errorCode' => 'LengthExceedLimit.Expression', 'errorMessage' => 'The length of parameter Expression exceed limit.', 'description' => ''],
+ ['errorCode' => 'LengthExceedLimit.Name', 'errorMessage' => 'The length of parameter Name exceed limit.', 'description' => '查询模板名称的长度超过限制。'],
+ ['errorCode' => 'InvalidParameter.Name', 'errorMessage' => 'The specified parameter Name is not valid.', 'description' => '查询模板名称无效。'],
+ ['errorCode' => 'AlreadyExists.Name', 'errorMessage' => 'The Query Template Name already exists.', 'description' => '查询模板名称已经存在。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\"\\n}","type":"json"}]',
'title' => '创建自定义查询模板',
- 'summary' => '创建自定义查询模板。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateSavedQuery',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSavedQuery'],
],
],
'ramActions' => [
@@ -1536,27 +820,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\"\\n}","type":"json"}]',
],
'DeleteDeliveryChannel' => [
'summary' => '删除当前账号资源投递渠道。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1564,21 +837,12 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道 ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dc-6q79dm4o9***',
- ],
+ 'schema' => ['description' => '投递渠道 ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-6q79dm4o9***'],
],
],
'responses' => [
@@ -1588,35 +852,20 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A482***',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID。', 'type' => 'string', 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A482***'],
],
],
],
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除当前账号资源投递渠道',
'changeSet' => [],
'flowControl' => [
@@ -1630,12 +879,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -1643,14 +887,9 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A482***\\"\\n}","type":"json"}]',
],
'DeleteFilter' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '删除筛选条件。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1658,22 +897,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'FilterName',
'in' => 'query',
- 'schema' => [
- 'description' => '筛选条件名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '我的筛选条件',
- ],
+ 'schema' => ['description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => 'My filter criteria'],
],
],
'responses' => [
@@ -1681,11 +910,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5'],
],
'description' => '',
],
@@ -1693,32 +918,17 @@
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'NotExists.FilterName',
- 'errorMessage' => 'The filter name of current user not exists.',
- 'description' => 'FilterName不存在。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.FilterName',
- 'errorMessage' => 'The length of parameter FilterName exceed limit.',
- 'description' => '参数 FilterName 长度超过限制。'."\n",
- ],
+ ['errorCode' => 'NotExists.FilterName', 'errorMessage' => 'The filter name of current user not exists.', 'description' => 'FilterName不存在。'],
+ ['errorCode' => 'LengthExceedLimit.FilterName', 'errorMessage' => 'The length of parameter FilterName exceed limit.', 'description' => '参数 FilterName 长度超过限制。'."\n"],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5\\"\\n}","type":"json"}]',
'title' => '删除筛选条件',
- 'summary' => '删除筛选条件。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteFilter',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFilter'],
],
],
'ramActions' => [
@@ -1729,26 +939,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5\\"\\n}","type":"json"}]',
],
'DeleteMultiAccountDeliveryChannel' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1756,22 +955,12 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道 ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dc-0bzhsqpnkxxx',
- ],
+ 'schema' => ['description' => '投递渠道 ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-0bzhsqpnkxxx'],
],
],
'responses' => [
@@ -1781,47 +970,24 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => '3C5CDBF6-4DB7-53E9-ADDC-5919E3FAC***',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID。', 'type' => 'string', 'example' => '3C5CDBF6-4DB7-53E9-ADDC-5919E3FAC***'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。'],
],
[
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除跨账号资源投递渠道',
'summary' => '删除跨账号资源投递渠道。',
'changeSet' => [],
@@ -1836,12 +1002,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -1851,13 +1012,8 @@
],
'DeleteSavedQuery' => [
'summary' => '删除自定义查询模板。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1865,23 +1021,14 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'QueryId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。'."\n"
- ."\n"
- .'您可以调用[ListSavedQueries](~~ListSavedQueries~~)获取模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sq-GeAck****',
- ],
+ 'schema' => ['description' => '模板ID。'."\n"
+ ."\n"
+ .'您可以调用[ListSavedQueries](~~ListSavedQueries~~)获取模板ID。', 'type' => 'string', 'required' => true, 'example' => 'sq-GeAck****'],
],
],
'responses' => [
@@ -1891,45 +1038,25 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D170D58E-6256-5344-8F5E-922EC9ECB7EA',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D170D58E-6256-5344-8F5E-922EC9ECB7EA'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
409 => [
- [
- 'errorCode' => 'NotExists.QueryId',
- 'errorMessage' => 'The QueryId does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'NotExists.QueryId', 'errorMessage' => 'The QueryId does not exist.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '删除自定义查询模板',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteSavedQuery',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSavedQuery'],
],
],
'ramActions' => [
@@ -1940,12 +1067,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -1954,13 +1076,8 @@
],
'DisableMultiAccountResourceCenter' => [
'summary' => '关闭跨账号资源搜索。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1968,12 +1085,7 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
@@ -1981,41 +1093,21 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4951F920-48DB-5731-96AA-3A7C8AE617D9',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4951F920-48DB-5731-96AA-3A7C8AE617D9'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
],
409 => [
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DisableConflict.DeliveryChannel',
- 'errorMessage' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
- 'description' => '存在活跃的投递渠道,资源中心无法关闭。',
- ],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'DisableConflict.DeliveryChannel', 'errorMessage' => 'ResourceCenter cannot be disabled because there are active delivery channels.', 'description' => '存在活跃的投递渠道,资源中心无法关闭。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4951F920-48DB-5731-96AA-3A7C8AE617D9\\"\\n}","type":"json"}]',
@@ -2023,12 +1115,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DisableMultiAccountResourceCenter',
- ],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableMultiAccountResourceCenter'],
],
],
'ramActions' => [
@@ -2039,12 +1126,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -2052,13 +1134,8 @@
],
'DisableResourceCenter' => [
'summary' => '关闭资源中心。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2066,12 +1143,7 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
@@ -2079,61 +1151,25 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D170D58E-6256-5344-8F5E-922EC9ECB7EA',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D170D58E-6256-5344-8F5E-922EC9ECB7EA'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ServiceNotEnabled',
- 'errorMessage' => 'ResourceCenter Service is not enabled.',
- 'description' => '资源中心服务未开通。',
- ],
- [
- 'errorCode' => 'DiscoveryInProgress',
- 'errorMessage' => 'A discovery task is in progress. Please wait for a while and check the result again.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DependencyViolation.ResourceGroup',
- 'errorMessage' => 'Unable to disable resource center while associate transfer is enabled.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'DependencyViolation.Config',
- 'errorMessage' => 'ResourceCenter cannot be disabled, because the Config has been enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'ServiceNotEnabled', 'errorMessage' => 'ResourceCenter Service is not enabled.', 'description' => '资源中心服务未开通。'],
+ ['errorCode' => 'DiscoveryInProgress', 'errorMessage' => 'A discovery task is in progress. Please wait for a while and check the result again.', 'description' => ''],
+ ['errorCode' => 'DependencyViolation.ResourceGroup', 'errorMessage' => 'Unable to disable resource center while associate transfer is enabled.', 'description' => ''],
+ ['errorCode' => 'DependencyViolation.Config', 'errorMessage' => 'ResourceCenter cannot be disabled, because the Config has been enabled.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'NotExists.Account',
- 'errorMessage' => 'The specified account does not exist.',
- 'description' => '指定账号不存在。',
- ],
+ ['errorCode' => 'NotExists.Account', 'errorMessage' => 'The specified account does not exist.', 'description' => '指定账号不存在。'],
],
409 => [
- [
- 'errorCode' => 'DisableConflict.MultiAccount',
- 'errorMessage' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.',
- 'description' => '资源目录管理账号或委派管理员账号已开启跨账号资源搜索,您无法关闭资源中心。',
- ],
- [
- 'errorCode' => 'DisableConflict.DeliveryChannel',
- 'errorMessage' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
- 'description' => '存在活跃的投递渠道,资源中心无法关闭。',
- ],
+ ['errorCode' => 'DisableConflict.MultiAccount', 'errorMessage' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.', 'description' => '资源目录管理账号或委派管理员账号已开启跨账号资源搜索,您无法关闭资源中心。'],
+ ['errorCode' => 'DisableConflict.DeliveryChannel', 'errorMessage' => 'ResourceCenter cannot be disabled because there are active delivery channels.', 'description' => '存在活跃的投递渠道,资源中心无法关闭。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D170D58E-6256-5344-8F5E-922EC9ECB7EA\\"\\n}","type":"json"}]',
@@ -2141,12 +1177,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DisableResourceCenter',
- ],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableResourceCenter'],
],
],
'ramActions' => [
@@ -2157,12 +1188,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -2170,14 +1196,8 @@
],
'DisassociateDefaultFilter' => [
'summary' => '取消默认筛选条件。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2185,23 +1205,14 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BCAB07BA-82FA-5DC0-9322-FB7ED726481D',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BCAB07BA-82FA-5DC0-9322-FB7ED726481D'],
],
'description' => '',
],
@@ -2209,26 +1220,15 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'NotExists.DefaultFilter',
- 'errorMessage' => 'The default filter of current user not exists.',
- 'description' => '默认筛选条件不存在。'."\n",
- ],
+ ['errorCode' => 'NotExists.DefaultFilter', 'errorMessage' => 'The default filter of current user not exists.', 'description' => '默认筛选条件不存在。'."\n"],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '取消默认筛选条件',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DisassociateDefaultFilter',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisassociateDefaultFilter'],
],
],
'ramActions' => [
@@ -2239,12 +1239,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -2253,13 +1248,8 @@
],
'EnableMultiAccountResourceCenter' => [
'summary' => '开通跨账号资源搜索。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2271,9 +1261,7 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleFSBNKB',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleFSBNKB'],
],
'parameters' => [],
'responses' => [
@@ -2282,49 +1270,25 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '767038B7-2027-5508-858B-E213232D57D5',
- ],
- 'Status' => [
- 'description' => '开通状态。取值:'."\n"
- ."\n"
- .'- Pending:开通中。'."\n"
- .'- Enabled:已开通。',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '767038B7-2027-5508-858B-E213232D57D5'],
+ 'Status' => ['description' => '开通状态。取值:'."\n"
+ ."\n"
+ .'- Pending:开通中。'."\n"
+ .'- Enabled:已开通。', 'type' => 'string', 'example' => 'Pending'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
],
409 => [
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NotSupport.Account.Site',
- 'errorMessage' => 'The caller is not a current site account, which is not supported.',
- 'description' => '当前账号所属站点错误。',
- ],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'NotSupport.Account.Site', 'errorMessage' => 'The caller is not a current site account, which is not supported.', 'description' => '当前账号所属站点错误。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"767038B7-2027-5508-858B-E213232D57D5\\",\\n \\"Status\\": \\"Pending\\"\\n}","type":"json"}]',
@@ -2333,12 +1297,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'EnableMultiAccountResourceCenter',
- ],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableMultiAccountResourceCenter'],
],
],
'ramActions' => [
@@ -2349,12 +1308,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -2362,13 +1316,8 @@
],
'EnableResourceCenter' => [
'summary' => '开通资源中心。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2376,12 +1325,7 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
@@ -2389,59 +1333,30 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '45357BEF-AB50-5E4D-B05D-5A882A4BE924',
- ],
- 'Status' => [
- 'description' => '服务开通状态。取值:'."\n"
- ."\n"
- .'- Pending:开启中。'."\n"
- .'- Enabled:已开启。',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '45357BEF-AB50-5E4D-B05D-5A882A4BE924'],
+ 'Status' => ['description' => '服务开通状态。取值:'."\n"
+ ."\n"
+ .'- Pending:开启中。'."\n"
+ .'- Enabled:已开启。', 'type' => 'string', 'example' => 'Pending'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission.ServiceLinkedRole',
- 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.AccountId',
- 'errorMessage' => 'The specified parameter AccountId is not valid.',
- 'description' => '参数 AccountId 不合法。',
- ],
+ ['errorCode' => 'NoPermission.ServiceLinkedRole', 'errorMessage' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.AccountId', 'errorMessage' => 'The specified parameter AccountId is not valid.', 'description' => '参数 AccountId 不合法。'],
],
409 => [
- [
- 'errorCode' => 'NotSupport.Account.Site',
- 'errorMessage' => 'The caller is not a current site account, which is not supported.',
- 'description' => '当前账号所属站点错误。',
- ],
- [
- 'errorCode' => 'Conflict.ServiceStatus',
- 'errorMessage' => 'The service status conflict occurred due to frequent service enabled and disabled.',
- 'description' => '开通关闭资源中心过于频繁,服务状态冲突。',
- ],
+ ['errorCode' => 'NotSupport.Account.Site', 'errorMessage' => 'The caller is not a current site account, which is not supported.', 'description' => '当前账号所属站点错误。'],
+ ['errorCode' => 'Conflict.ServiceStatus', 'errorMessage' => 'The service status conflict occurred due to frequent service enabled and disabled.', 'description' => '开通关闭资源中心过于频繁,服务状态冲突。'],
],
],
'title' => '开通资源中心',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'EnableResourceCenter',
- ],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableResourceCenter'],
],
],
'ramActions' => [
@@ -2452,12 +1367,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -2466,13 +1376,8 @@
],
'ExecuteMultiAccountSQLQuery' => [
'summary' => '使用SQL查询跨账号的资源。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2480,72 +1385,44 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Expression',
'in' => 'query',
- 'schema' => [
- 'description' => '待执行SQL语句。'."\n"
- ."\n"
- .'待执行SQL语句长度小于2000个字符。'."\n"
- ."\n"
- .'关于SQL语法的更多信息,请参见[SQL基本语法](~~2539395~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT * FROM resources LIMIT 100;',
- ],
+ 'schema' => ['description' => '待执行SQL语句。'."\n"
+ ."\n"
+ .'待执行SQL语句长度小于2000个字符。'."\n"
+ ."\n"
+ .'关于SQL语法的更多信息,请参见[SQL基本语法](~~2539395~~)。', 'type' => 'string', 'required' => true, 'example' => 'SELECT * FROM resources LIMIT 100;'],
],
[
'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。'."\n"
- .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
- .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。'."\n"
- .'- 成员ID,表示搜索指定成员中的资源。'."\n"
- .'- 成员ID/资源组ID,表示搜索指定成员的资源组中的资源。'."\n"
- ."\n"
- .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID、成员ID和资源组ID,请分别参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)和[ListResourceGroups](~~158855~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rd-r4****',
- ],
+ 'schema' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。'."\n"
+ .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
+ .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。'."\n"
+ .'- 成员ID,表示搜索指定成员中的资源。'."\n"
+ .'- 成员ID/资源组ID,表示搜索指定成员的资源组中的资源。'."\n"
+ ."\n"
+ .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID、成员ID和资源组ID,请分别参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)和[ListResourceGroups](~~158855~~)。', 'type' => 'string', 'required' => true, 'example' => 'rd-r4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~1000。'."\n"
- ."\n"
- .'默认值:1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '1000',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~1000。'."\n"
+ ."\n"
+ .'默认值:1000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '1000'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n",
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n"],
],
],
'responses' => [
@@ -2562,46 +1439,20 @@
'description' => '列信息。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '列名。',
- 'type' => 'string',
- 'example' => 'resource_id',
- ],
- 'Type' => [
- 'description' => '列类型。',
- 'type' => 'string',
- 'example' => 'varchar',
- ],
+ 'Name' => ['description' => '列名。', 'type' => 'string', 'example' => 'resource_id'],
+ 'Type' => ['description' => '列类型。', 'type' => 'string', 'example' => 'varchar'],
],
],
],
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'NextToken' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n",
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '44C8A952-D6B0-5BC8-82D5-93BA02E26F2E',
- ],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'NextToken' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n"],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '44C8A952-D6B0-5BC8-82D5-93BA02E26F2E'],
'Rows' => [
'description' => '搜索结果数组。',
'type' => 'array',
- 'items' => [
- 'description' => '结果行信息。',
- 'type' => 'any',
- 'example' => '['."\n"
- .' "vsw-xxx“'."\n"
- .']',
- ],
+ 'items' => ['description' => '结果行信息。', 'type' => 'any', 'example' => '['."\n"
+ .' "vsw-xxx“'."\n"
+ .']'],
],
],
],
@@ -2609,78 +1460,31 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
],
[
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
- 'errorMessage' => 'The specified folder does not exist.',
- 'description' => '指定文件夹不存在。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
+ ['errorCode' => 'NotExists.ResourceDirectory.FolderId', 'errorMessage' => 'The specified folder does not exist.', 'description' => '指定文件夹不存在。'],
],
409 => [
- [
- 'errorCode' => 'ExceedLimit.ExecuteTime',
- 'errorMessage' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'SQLExecuteError',
- 'errorMessage' => 'Failed to execute the SQL statement.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidSearch.SQL',
- 'errorMessage' => 'Error: %s',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
- 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.NextToken',
- 'errorMessage' => 'The specified parameter NextToken is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'ExceedLimit.ExecuteTime', 'errorMessage' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.', 'description' => ''],
+ ['errorCode' => 'SQLExecuteError', 'errorMessage' => 'Failed to execute the SQL statement.', 'description' => ''],
+ ['errorCode' => 'InvalidSearch.SQL', 'errorMessage' => 'Error: %s', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'ServiceNotEnabled.SpecifiedAccount', 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.NextToken', 'errorMessage' => 'The specified parameter NextToken is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"resource_id\\",\\n \\"Type\\": \\"varchar\\"\\n }\\n ],\\n \\"MaxResults\\": 1000,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\\\n\\",\\n \\"RequestId\\": \\"44C8A952-D6B0-5BC8-82D5-93BA02E26F2E\\",\\n \\"Rows\\": [\\n \\"[\\\\n \\\\\\"vsw-xxx“\\\\n]\\"\\n ]\\n}","type":"json"}]',
'title' => '使用SQL查询跨账号的资源',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '3',
- 'countWindow' => 5,
- 'regionId' => '*',
- 'api' => 'ExecuteMultiAccountSQLQuery',
- ],
+ ['threshold' => '3', 'countWindow' => 5, 'regionId' => '*', 'api' => 'ExecuteMultiAccountSQLQuery'],
],
],
'ramActions' => [
@@ -2691,12 +1495,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -2704,13 +1503,8 @@
],
'ExecuteSQLQuery' => [
'summary' => '使用SQL查询当前账号下有权限访问的资源。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2718,69 +1512,41 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Expression',
'in' => 'query',
- 'schema' => [
- 'description' => '待执行SQL语句。'."\n"
- ."\n"
- .'待执行SQL语句长度小于2000个字符。'."\n"
- ."\n"
- .'关于SQL语法的更多信息,请参见[SQL基本语法](~~2539395~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT * FROM resources LIMIT 100;',
- ],
+ 'schema' => ['description' => '待执行SQL语句。'."\n"
+ ."\n"
+ .'待执行SQL语句长度小于2000个字符。'."\n"
+ ."\n"
+ .'关于SQL语法的更多信息,请参见[SQL基本语法](~~2539395~~)。', 'type' => 'string', 'required' => true, 'example' => 'SELECT * FROM resources LIMIT 100;'],
],
[
'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的范围。'."\n"
- ."\n"
- .'取值为资源组ID,表示搜索资源组中的资源。'."\n"
- ."\n"
- .'关于如何获取资源组ID,请参见[ListResourceGroups](~~158855~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmzawhxxc****',
- ],
+ 'schema' => ['description' => '搜索的范围。'."\n"
+ ."\n"
+ .'取值为资源组ID,表示搜索资源组中的资源。'."\n"
+ ."\n"
+ .'关于如何获取资源组ID,请参见[ListResourceGroups](~~158855~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzawhxxc****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~1000。'."\n"
- ."\n"
- .'默认值:1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '1000',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~1000。'."\n"
+ ."\n"
+ .'默认值:1000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '1000'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
],
'responses' => [
@@ -2797,46 +1563,20 @@
'description' => '列信息。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '列名。',
- 'type' => 'string',
- 'example' => 'resource_id',
- ],
- 'Type' => [
- 'description' => '列类型。',
- 'type' => 'string',
- 'example' => 'varchar',
- ],
+ 'Name' => ['description' => '列名。', 'type' => 'string', 'example' => 'resource_id'],
+ 'Type' => ['description' => '列类型。', 'type' => 'string', 'example' => 'varchar'],
],
],
],
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'NextToken' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n",
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
- ],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'NextToken' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n"],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0'],
'Rows' => [
'description' => '搜索结果数组。',
'type' => 'array',
- 'items' => [
- 'description' => '结果行信息。',
- 'type' => 'any',
- 'example' => '['."\n"
- .' "vsw-xxx" '."\n"
- .']',
- ],
+ 'items' => ['description' => '结果行信息。', 'type' => 'any', 'example' => '['."\n"
+ .' "vsw-xxx" '."\n"
+ .']'],
],
],
],
@@ -2844,51 +1584,20 @@
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'ExceedLimit.ExecuteTime',
- 'errorMessage' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'SQLExecuteError',
- 'errorMessage' => 'Failed to execute the SQL statement.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidSearch.SQL',
- 'errorMessage' => 'Error: %s',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.Expression',
- 'errorMessage' => 'The length of parameter Expression exceed limit.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.NextToken',
- 'errorMessage' => 'The specified parameter NextToken is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'ExceedLimit.ExecuteTime', 'errorMessage' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.', 'description' => ''],
+ ['errorCode' => 'SQLExecuteError', 'errorMessage' => 'Failed to execute the SQL statement.', 'description' => ''],
+ ['errorCode' => 'InvalidSearch.SQL', 'errorMessage' => 'Error: %s', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'LengthExceedLimit.Expression', 'errorMessage' => 'The length of parameter Expression exceed limit.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.NextToken', 'errorMessage' => 'The specified parameter NextToken is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '使用SQL查询当前账号的资源',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '3',
- 'countWindow' => 5,
- 'regionId' => '*',
- 'api' => 'ExecuteSQLQuery',
- ],
+ ['threshold' => '3', 'countWindow' => 5, 'regionId' => '*', 'api' => 'ExecuteSQLQuery'],
],
],
'ramActions' => [
@@ -2899,12 +1608,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -2913,14 +1617,8 @@
],
'GetDeliveryChannel' => [
'summary' => '获取当前账号资源投递渠道。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2932,20 +1630,13 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsole6ULZDO',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsole6ULZDO'],
],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dc-6q79dm4o9***',
- ],
+ 'schema' => ['description' => '投递渠道ID。', 'type' => 'string', 'required' => false, 'example' => 'dc-6q79dm4o9***'],
],
],
'responses' => [
@@ -2955,11 +1646,7 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'DeliveryChannelDescription' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => 'This is a description.',
- ],
+ 'DeliveryChannelDescription' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'This is a description.'],
'DeliveryChannelFilter' => [
'description' => '投递渠道生效范围。',
'type' => 'object',
@@ -2967,30 +1654,13 @@
'ResourceTypes' => [
'description' => '投递资源类型范围。',
'type' => 'array',
- 'items' => [
- 'description' => '单个投递资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::VPC',
- ],
+ 'items' => ['description' => '单个投递资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::VPC'],
],
],
],
- 'DeliveryChannelId' => [
- 'description' => '投递ID。',
- 'type' => 'string',
- 'example' => 'dc-6q79dm4o9***',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递名称。',
- 'type' => 'string',
- 'example' => 'test-delivery-channel',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***',
- ],
+ 'DeliveryChannelId' => ['description' => '投递ID。', 'type' => 'string', 'example' => 'dc-6q79dm4o9***'],
+ 'DeliveryChannelName' => ['description' => '投递名称。', 'type' => 'string', 'example' => 'test-delivery-channel'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***'],
'ResourceChangeDelivery' => [
'description' => '资源配置变更投递。',
'type' => 'object',
@@ -2999,79 +1669,39 @@
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
],
],
- 'TargetArn' => [
- 'description' => '投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls',
- ],
- 'TargetType' => [
- 'description' => '投递目标类型。',
- 'type' => 'string',
- 'example' => 'SLS',
- ],
- 'Enabled' => [
- 'description' => '是否开启资源配置变更投递。'."\n"
- ."\n"
- .'取值:'."\n"
- ."\n"
- .'- true:开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'TargetArn' => ['description' => '投递目标ARN。', 'type' => 'string', 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'],
+ 'TargetType' => ['description' => '投递目标类型。', 'type' => 'string', 'example' => 'SLS'],
+ 'Enabled' => ['description' => '是否开启资源配置变更投递。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- true:开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'example' => 'true'],
],
],
'ResourceSnapshotDelivery' => [
'description' => '资源快照定时投递。',
'type' => 'object',
'properties' => [
- 'DeliveryTime' => [
- 'description' => '投递时间。',
- 'type' => 'string',
- 'example' => '09:00Z',
- ],
- 'TargetArn' => [
- 'description' => '投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
- ],
- 'TargetType' => [
- 'description' => '投递目标类型。',
- 'type' => 'string',
- 'example' => 'OSS',
- ],
- 'CustomExpression' => [
- 'description' => '自定义表达式。',
- 'type' => 'string',
- 'example' => 'select * from resources limit 100;',
- ],
+ 'DeliveryTime' => ['description' => '投递时间。', 'type' => 'string', 'example' => '09:00Z'],
+ 'TargetArn' => ['description' => '投递目标ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n"],
+ 'TargetType' => ['description' => '投递目标类型。', 'type' => 'string', 'example' => 'OSS'],
+ 'CustomExpression' => ['description' => '自定义表达式。', 'type' => 'string', 'example' => 'select * from resources limit 100;'],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
],
],
- 'Enabled' => [
- 'description' => '是否开启资源快照定时投递。'."\n"
- ."\n"
- .'取值:'."\n"
- .'- true:开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'Enabled' => ['description' => '是否开启资源快照定时投递。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ .'- true:开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'example' => 'true'],
],
],
],
@@ -3080,23 +1710,13 @@
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelDescription\\": \\"This is a description.\\",\\n \\"DeliveryChannelFilter\\": {\\n \\"ResourceTypes\\": [\\n \\"ACS::VPC::VPC\\"\\n ]\\n },\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\",\\n \\"RequestId\\": \\"17502A1B-7026-5551-8E1C-CCABD0CBC***\\",\\n \\"ResourceChangeDelivery\\": {\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"TargetArn\\": \\"acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls\\",\\n \\"TargetType\\": \\"SLS\\",\\n \\"Enabled\\": \\"true\\"\\n },\\n \\"ResourceSnapshotDelivery\\": {\\n \\"DeliveryTime\\": \\"09:00Z\\",\\n \\"TargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\\\n\\",\\n \\"TargetType\\": \\"OSS\\",\\n \\"CustomExpression\\": \\"select * from resources limit 100;\\",\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"Enabled\\": \\"true\\"\\n }\\n}","type":"json"}]',
'title' => '获取当前账号资源投递渠道',
'changeSet' => [],
@@ -3111,25 +1731,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetDeliveryChannelStatistics' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3137,21 +1747,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dc-6q79dm4o9***',
- ],
+ 'schema' => ['description' => '投递渠道ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-6q79dm4o9***'],
],
],
'responses' => [
@@ -3165,57 +1766,26 @@
'description' => '投递渠道统计信息。',
'type' => 'object',
'properties' => [
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'dc-6q79dm4o9***'."\n",
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'test-delivery-channel',
- ],
- 'LatestChangeDeliveryTime' => [
- 'description' => '最近一次资源配置变更投递时间。',
- 'type' => 'string',
- 'example' => '2025-06-03T16:05:15Z',
- ],
- 'LatestSnapshotDeliveryTime' => [
- 'description' => '最近一次资源快照定时投递时间。',
- 'type' => 'string',
- 'example' => '2025-06-03T16:00:00Z',
- ],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'dc-6q79dm4o9***'."\n"],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'test-delivery-channel'],
+ 'LatestChangeDeliveryTime' => ['description' => '最近一次资源配置变更投递时间。', 'type' => 'string', 'example' => '2025-06-03T16:05:15Z'],
+ 'LatestSnapshotDeliveryTime' => ['description' => '最近一次资源快照定时投递时间。', 'type' => 'string', 'example' => '2025-06-03T16:00:00Z'],
],
],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '80DF0610-504C-56D7-BDCF-7C92FD687***',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '80DF0610-504C-56D7-BDCF-7C92FD687***'],
],
],
],
],
'errorCodes' => [
404 => [
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取当前账号资源投递渠道统计信息',
'summary' => '获取当前账号资源投递渠道统计信息。',
'changeSet' => [],
@@ -3230,12 +1800,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -3243,13 +1808,9 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelStatistics\\": {\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\\\n\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\",\\n \\"LatestChangeDeliveryTime\\": \\"2025-06-03T16:05:15Z\\",\\n \\"LatestSnapshotDeliveryTime\\": \\"2025-06-03T16:00:00Z\\"\\n },\\n \\"RequestId\\": \\"80DF0610-504C-56D7-BDCF-7C92FD687***\\"\\n}","type":"json"}]',
],
'GetExampleQuery' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => '获取系统查询模板。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3257,23 +1818,13 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'QueryId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。'."\n"
- .'> 您可以调用[ListExampleQueries](~~ListExampleQueries~~)获取模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sq-0PfKy****',
- ],
+ 'schema' => ['description' => '模板ID。'."\n"
+ .'> 您可以调用[ListExampleQueries](~~ListExampleQueries~~)获取模板ID。', 'type' => 'string', 'required' => true, 'example' => 'sq-0PfKy****'],
],
],
'responses' => [
@@ -3287,93 +1838,56 @@
'description' => '系统模板信息。',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'example' => '返回所有有权限的资源,并按照资源类型和资源ID排列。',
- ],
- 'Expression' => [
- 'description' => '模板表达式。',
- 'type' => 'string',
- 'example' => 'SELECT'."\n"
- .' resource_id,'."\n"
- .' resource_name,'."\n"
- .' region_id,'."\n"
- .' zone_id,'."\n"
- .' resource_type,'."\n"
- .' account_id,'."\n"
- .' create_time,'."\n"
- .' resource_group_id,'."\n"
- .' tags,'."\n"
- .' ip_addresses,'."\n"
- .' vpc_id,'."\n"
- .' v_switch_id'."\n"
- .'FROM'."\n"
- .' resources'."\n"
- .'ORDER BY'."\n"
- .' resource_type,'."\n"
- .' resource_id'."\n"
- .'LIMIT'."\n"
- .' 1000 OFFSET 0;',
- ],
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '列出所有阿里云资源',
- ],
- 'QueryId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => 'sq-0PfKy****',
- ],
+ 'Description' => ['description' => '模板描述。', 'type' => 'string', 'example' => 'Return all authorized resources, sorted by resource type and resource ID.'],
+ 'Expression' => ['description' => '模板表达式。', 'type' => 'string', 'example' => 'SELECT'."\n"
+ .' resource_id,'."\n"
+ .' resource_name,'."\n"
+ .' region_id,'."\n"
+ .' zone_id,'."\n"
+ .' resource_type,'."\n"
+ .' account_id,'."\n"
+ .' create_time,'."\n"
+ .' resource_group_id,'."\n"
+ .' tags,'."\n"
+ .' ip_addresses,'."\n"
+ .' vpc_id,'."\n"
+ .' v_switch_id'."\n"
+ .'FROM'."\n"
+ .' resources'."\n"
+ .'ORDER BY'."\n"
+ .' resource_type,'."\n"
+ .' resource_id'."\n"
+ .'LIMIT'."\n"
+ .' 1000 OFFSET 0;'],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => 'List all Alibaba Cloud resources'],
+ 'QueryId' => ['description' => '模板ID。', 'type' => 'string', 'example' => 'sq-0PfKy****'],
],
],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '36A3D9BE-B607-5993-B546-7E19EF65DC00',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '36A3D9BE-B607-5993-B546-7E19EF65DC00'],
],
],
],
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'NotExists.QueryId',
- 'errorMessage' => 'The QueryId does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'NotExists.QueryId', 'errorMessage' => 'The QueryId does not exist.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExampleQuery\\": {\\n \\"Description\\": \\"Return all authorized resources, sorted by resource type and resource ID.\\",\\n \\"Expression\\": \\"SELECT\\\\n resource_id,\\\\n resource_name,\\\\n region_id,\\\\n zone_id,\\\\n resource_type,\\\\n account_id,\\\\n create_time,\\\\n resource_group_id,\\\\n tags,\\\\n ip_addresses,\\\\n vpc_id,\\\\n v_switch_id\\\\nFROM\\\\n resources\\\\nORDER BY\\\\n resource_type,\\\\n resource_id\\\\nLIMIT\\\\n 1000 OFFSET 0;\\",\\n \\"Name\\": \\"List all Alibaba Cloud resources\\",\\n \\"QueryId\\": \\"sq-0PfKy****\\"\\n },\\n \\"RequestId\\": \\"36A3D9BE-B607-5993-B546-7E19EF65DC00\\"\\n}","type":"json"}]',
'title' => '获取系统查询模板',
- 'summary' => '获取系统查询模板。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetExampleQuery',
- ],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetExampleQuery'],
],
],
'ramActions' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExampleQuery\\": {\\n \\"Description\\": \\"返回所有有权限的资源,并按照资源类型和资源ID排列。\\",\\n \\"Expression\\": \\"SELECT\\\\n resource_id,\\\\n resource_name,\\\\n region_id,\\\\n zone_id,\\\\n resource_type,\\\\n account_id,\\\\n create_time,\\\\n resource_group_id,\\\\n tags,\\\\n ip_addresses,\\\\n vpc_id,\\\\n v_switch_id\\\\nFROM\\\\n resources\\\\nORDER BY\\\\n resource_type,\\\\n resource_id\\\\nLIMIT\\\\n 1000 OFFSET 0;\\",\\n \\"Name\\": \\"列出所有阿里云资源\\",\\n \\"QueryId\\": \\"sq-0PfKy****\\"\\n },\\n \\"RequestId\\": \\"36A3D9BE-B607-5993-B546-7E19EF65DC00\\"\\n}","type":"json"}]',
],
'GetMultiAccountDeliveryChannel' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => '获取跨账号资源投递渠道。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3381,22 +1895,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dc-6q79dm4o9***',
- ],
+ 'schema' => ['description' => '投递渠道ID。', 'type' => 'string', 'required' => false, 'example' => 'dc-6q79dm4o9***'],
],
],
'responses' => [
@@ -3406,11 +1910,7 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'DeliveryChannelDescription' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => '投递描述',
- ],
+ 'DeliveryChannelDescription' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'Delivery description'],
'DeliveryChannelFilter' => [
'description' => '投递渠道生效范围。',
'type' => 'object',
@@ -3418,39 +1918,18 @@
'AccountScopes' => [
'description' => '投递的账号范围列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的账号范围。',
- 'type' => 'string',
- 'example' => '1911422487776***'."\n",
- ],
+ 'items' => ['description' => '投递的账号范围。', 'type' => 'string', 'example' => '1911422487776***'."\n"],
],
'ResourceTypes' => [
'description' => '投递的资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::VPC',
- ],
+ 'items' => ['description' => '投递的资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::VPC'],
],
],
],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'dc-6q79dm4o9***',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'test-delivery-channel',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'FE3EAB47-D3A6-5FEA-8353-31C8C0D36***',
- ],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'dc-6q79dm4o9***'],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'test-delivery-channel'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE3EAB47-D3A6-5FEA-8353-31C8C0D36***'],
'ResourceChangeDelivery' => [
'description' => '资源配置变更投递。',
'type' => 'object',
@@ -3459,75 +1938,35 @@
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
],
],
- 'TargetArn' => [
- 'description' => '投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls',
- ],
- 'TargetType' => [
- 'description' => '投递目标类型。',
- 'type' => 'string',
- 'example' => 'SLS',
- ],
- 'Enabled' => [
- 'description' => '是否开启资源配置变更投递。取值:'."\n"
- ."\n"
- .'- true:开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'TargetArn' => ['description' => '投递目标ARN。', 'type' => 'string', 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'],
+ 'TargetType' => ['description' => '投递目标类型。', 'type' => 'string', 'example' => 'SLS'],
+ 'Enabled' => ['description' => '是否开启资源配置变更投递。取值:'."\n"
+ ."\n"
+ .'- true:开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'example' => 'true'],
],
],
'ResourceSnapshotDelivery' => [
'description' => '资源快照定时投递。',
'type' => 'object',
'properties' => [
- 'DeliveryTime' => [
- 'description' => '投递时间。',
- 'type' => 'string',
- 'example' => '09:00Z',
- ],
- 'TargetArn' => [
- 'description' => '投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
- ],
- 'TargetType' => [
- 'description' => '投递目标类型。',
- 'type' => 'string',
- 'example' => 'OSS',
- ],
- 'CustomExpression' => [
- 'description' => '自定义表达式。',
- 'type' => 'string',
- 'example' => 'select * from resources limit 100;',
- ],
+ 'DeliveryTime' => ['description' => '投递时间。', 'type' => 'string', 'example' => '09:00Z'],
+ 'TargetArn' => ['description' => '投递目标ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n"],
+ 'TargetType' => ['description' => '投递目标类型。', 'type' => 'string', 'example' => 'OSS'],
+ 'CustomExpression' => ['description' => '自定义表达式。', 'type' => 'string', 'example' => 'select * from resources limit 100;'],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。',
- 'type' => 'string',
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
],
],
- 'Enabled' => [
- 'description' => '是否开启资源快照定时投递。取值:'."\n"
- .'- true: 开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'Enabled' => ['description' => '是否开启资源快照定时投递。取值:'."\n"
+ .'- true: 开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'example' => 'true'],
],
],
],
@@ -3536,37 +1975,19 @@
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。'],
],
[
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelDescription\\": \\"Delivery description\\",\\n \\"DeliveryChannelFilter\\": {\\n \\"AccountScopes\\": [\\n \\"1911422487776***\\\\n\\"\\n ],\\n \\"ResourceTypes\\": [\\n \\"ACS::VPC::VPC\\"\\n ]\\n },\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\",\\n \\"RequestId\\": \\"FE3EAB47-D3A6-5FEA-8353-31C8C0D36***\\",\\n \\"ResourceChangeDelivery\\": {\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"TargetArn\\": \\"acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls\\",\\n \\"TargetType\\": \\"SLS\\",\\n \\"Enabled\\": \\"true\\"\\n },\\n \\"ResourceSnapshotDelivery\\": {\\n \\"DeliveryTime\\": \\"09:00Z\\",\\n \\"TargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\\\n\\",\\n \\"TargetType\\": \\"OSS\\",\\n \\"CustomExpression\\": \\"select * from resources limit 100;\\",\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"Enabled\\": \\"true\\"\\n }\\n}","type":"json"}]',
'title' => '获取跨账号资源投递渠道',
- 'summary' => '获取跨账号资源投递渠道。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
@@ -3579,26 +2000,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelDescription\\": \\"投递描述\\",\\n \\"DeliveryChannelFilter\\": {\\n \\"AccountScopes\\": [\\n \\"1911422487776***\\\\n\\"\\n ],\\n \\"ResourceTypes\\": [\\n \\"ACS::VPC::VPC\\"\\n ]\\n },\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\",\\n \\"RequestId\\": \\"FE3EAB47-D3A6-5FEA-8353-31C8C0D36***\\",\\n \\"ResourceChangeDelivery\\": {\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"TargetArn\\": \\"acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls\\",\\n \\"TargetType\\": \\"SLS\\",\\n \\"Enabled\\": \\"true\\"\\n },\\n \\"ResourceSnapshotDelivery\\": {\\n \\"DeliveryTime\\": \\"09:00Z\\",\\n \\"TargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\\\n\\",\\n \\"TargetType\\": \\"OSS\\",\\n \\"CustomExpression\\": \\"select * from resources limit 100;\\",\\n \\"SlsProperties\\": {\\n \\"OversizedDataOssTargetArn\\": \\"acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\\"\\n },\\n \\"Enabled\\": \\"true\\"\\n }\\n}","type":"json"}]',
],
'GetMultiAccountDeliveryChannelStatistics' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3606,22 +2017,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dc-6q79dm4o9***',
- ],
+ 'schema' => ['description' => '投递渠道ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-6q79dm4o9***'],
],
],
'responses' => [
@@ -3635,69 +2036,30 @@
'description' => '投递渠道统计信息。',
'type' => 'object',
'properties' => [
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'dc-6q79dm4o9***'."\n",
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'test-multi-account-delivery',
- ],
- 'LatestChangeDeliveryTime' => [
- 'description' => '最近一次资源配置变更投递时间。',
- 'type' => 'string',
- 'example' => '2025-06-03T16:05:15Z',
- ],
- 'LatestSnapshotDeliveryTime' => [
- 'description' => '最近一次资源快照定时投递时间。',
- 'type' => 'string',
- 'example' => '2025-06-03T16:00:00Z',
- ],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'dc-6q79dm4o9***'."\n"],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'test-multi-account-delivery'],
+ 'LatestChangeDeliveryTime' => ['description' => '最近一次资源配置变更投递时间。', 'type' => 'string', 'example' => '2025-06-03T16:05:15Z'],
+ 'LatestSnapshotDeliveryTime' => ['description' => '最近一次资源快照定时投递时间。', 'type' => 'string', 'example' => '2025-06-03T16:00:00Z'],
],
],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '80DF0610-504C-56D7-BDCF-7C92FD687***'."\n",
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '80DF0610-504C-56D7-BDCF-7C92FD687***'."\n"],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。'],
],
[
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '获取跨账号资源投递渠道统计信息',
'summary' => '获取跨账号资源投递渠道统计信息。',
'changeSet' => [],
@@ -3712,12 +2074,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -3727,14 +2084,8 @@
],
'GetMultiAccountResourceCenterServiceStatus' => [
'summary' => '查询跨账号资源搜索开通状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3746,9 +2097,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsole43MR20',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsole43MR20'],
],
'parameters' => [],
'responses' => [
@@ -3757,64 +2106,32 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'InitialStatus' => [
- 'description' => '初始化状态。取值:'."\n"
- ."\n"
- .'- Pending:准备中。'."\n"
- ."\n"
- .'- Finished:就绪。',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '81671397-1425-51F1-A144-4799E01BEBFF',
- ],
- 'ServiceStatus' => [
- 'description' => '服务状态。取值:'."\n"
- ."\n"
- .'- Enabled:已开通。'."\n"
- ."\n"
- .'- Disabled:已关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
+ 'InitialStatus' => ['description' => '初始化状态。取值:'."\n"
+ ."\n"
+ .'- Pending:准备中。'."\n"
+ ."\n"
+ .'- Finished:就绪。', 'type' => 'string', 'example' => 'Pending'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '81671397-1425-51F1-A144-4799E01BEBFF'],
+ 'ServiceStatus' => ['description' => '服务状态。取值:'."\n"
+ ."\n"
+ .'- Enabled:已开通。'."\n"
+ ."\n"
+ .'- Disabled:已关闭。', 'type' => 'string', 'example' => 'Enabled'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Mulit account ResourceCenter service is not enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Mulit account ResourceCenter service is not enabled.', 'description' => ''],
],
404 => [
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InitialStatus\\": \\"Pending\\",\\n \\"RequestId\\": \\"81671397-1425-51F1-A144-4799E01BEBFF\\",\\n \\"ServiceStatus\\": \\"Enabled\\"\\n}","type":"json"}]',
@@ -3822,12 +2139,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetMultiAccountResourceCenterServiceStatus',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMultiAccountResourceCenterServiceStatus'],
],
],
'ramActions' => [
@@ -3838,12 +2150,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -3851,14 +2158,8 @@
],
'GetMultiAccountResourceConfiguration' => [
'summary' => '查询资源目录管理账号或成员的资源配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3866,51 +2167,27 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源目录管理账号ID或成员ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1619302****',
- ],
+ 'schema' => ['description' => '资源目录管理账号ID或成员ID。', 'type' => 'string', 'required' => true, 'example' => '1619302****'],
],
[
'name' => 'ResourceRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '资源地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::VPC::RouteTable',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::VPC::RouteTable'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'm-eb3hji****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'm-eb3hji****'],
],
],
'responses' => [
@@ -3919,21 +2196,9 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源目录管理账号ID或成员ID。',
- 'type' => 'string',
- 'example' => '1619302****',
- ],
- 'CreateTime' => [
- 'description' => '资源创建时间。',
- 'type' => 'string',
- 'example' => '2023-02-14T03:12:11Z',
- ],
- 'ExpireTime' => [
- 'description' => '资源过期时间。',
- 'type' => 'string',
- 'example' => '2023-09-18T07:04:21Z',
- ],
+ 'AccountId' => ['description' => '资源目录管理账号ID或成员ID。', 'type' => 'string', 'example' => '1619302****'],
+ 'CreateTime' => ['description' => '资源创建时间。', 'type' => 'string', 'example' => '2023-02-14T03:12:11Z'],
+ 'ExpireTime' => ['description' => '资源过期时间。', 'type' => 'string', 'example' => '2023-09-18T07:04:21Z'],
'IpAddressAttributes' => [
'description' => 'IP地址属性。',
'type' => 'array',
@@ -3941,23 +2206,11 @@
'description' => 'IP地址属性。',
'type' => 'object',
'properties' => [
- 'Version' => [
- 'description' => 'IP地址的版本。',
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
- 'NetworkType' => [
- 'description' => '网络类型,取值:'."\n"
- .'- **Public**:公网。'."\n"
- .'- **Private**:私网。',
- 'type' => 'string',
- 'example' => 'Public',
- ],
- 'IpAddress' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '172.27.199.42',
- ],
+ 'Version' => ['description' => 'IP地址的版本。', 'type' => 'string', 'example' => 'Ipv4'],
+ 'NetworkType' => ['description' => '网络类型,取值:'."\n"
+ .'- **Public**:公网。'."\n"
+ .'- **Private**:私网。', 'type' => 'string', 'example' => 'Public'],
+ 'IpAddress' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '172.27.199.42'],
],
],
],
@@ -3966,44 +2219,16 @@
."\n"
.'> 资源是否返回该参数,由所属的云服务决定。',
'type' => 'array',
- 'items' => [
- 'description' => 'IP地址。'."\n"
- ."\n"
- .'> 资源是否返回该参数,由所属的云服务决定。',
- 'type' => 'string',
- 'example' => '[\'192.168.1.2\']',
- ],
- ],
- 'RegionId' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B2DCC08B-C12A-5705-879C-5A1450016156',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmzy6d****',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'm-eb3hji****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'test_resource',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::RouteTable',
- ],
+ 'items' => ['description' => 'IP地址。'."\n"
+ ."\n"
+ .'> 资源是否返回该参数,由所属的云服务决定。', 'type' => 'string', 'example' => '[\'192.168.1.2\']'],
+ ],
+ 'RegionId' => ['description' => '资源地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B2DCC08B-C12A-5705-879C-5A1450016156'],
+ 'ResourceGroupId' => ['description' => '资源组ID。'."\n", 'type' => 'string', 'example' => 'rg-acfmzy6d****'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'm-eb3hji****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'test_resource'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::RouteTable'],
'Tags' => [
'description' => '资源标签。',
'type' => 'array',
@@ -4011,32 +2236,16 @@
'description' => '资源标签。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'tag-value',
- ],
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'tag-key',
- ],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'tag-value'],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'tag-key'],
],
],
],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai-a',
- ],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-a'],
'Configuration' => [
'description' => '资源配置详情。',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'description' => '资源配置详情。',
- 'example' => '{\\"uid\\":\\"140874204639****\\",\\"groupId\\":\\"3zLxraq7qE9dRakjoQYI00****\\"}',
- ],
+ 'additionalProperties' => ['type' => 'any', 'description' => '资源配置详情。', 'example' => '{\\"uid\\":\\"140874204639****\\",\\"groupId\\":\\"3zLxraq7qE9dRakjoQYI00****\\"}'],
],
],
],
@@ -4044,67 +2253,28 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Multi account ResourceCenter service is not enabled.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
],
[
- [
- 'errorCode' => 'NotExists.Resource',
- 'errorMessage' => 'The specified resource does not exist.',
- 'description' => '指定资源不存在。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
+ ['errorCode' => 'NotExists.Resource', 'errorMessage' => 'The specified resource does not exist.', 'description' => '指定资源不存在。'],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.AccountId',
- 'errorMessage' => 'The specified parameter AccountId is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.AccountId', 'errorMessage' => 'The specified parameter AccountId is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => ''],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询多账号资源配置',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetMultiAccountResourceConfiguration',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMultiAccountResourceConfiguration'],
],
],
'ramActions' => [
@@ -4115,12 +2285,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -4129,13 +2294,8 @@
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccountId\\": \\"1619302****\\",\\n \\"CreateTime\\": \\"2023-02-14T03:12:11Z\\",\\n \\"ExpireTime\\": \\"2023-09-18T07:04:21Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"Version\\": \\"Ipv4\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"IpAddress\\": \\"172.27.199.42\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"[\'192.168.1.2\']\\"\\n ],\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"RequestId\\": \\"B2DCC08B-C12A-5705-879C-5A1450016156\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzy6d****\\",\\n \\"ResourceId\\": \\"m-eb3hji****\\",\\n \\"ResourceName\\": \\"test_resource\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"tag-value\\",\\n \\"Key\\": \\"tag-key\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-shanghai-a\\",\\n \\"Configuration\\": {\\n \\"key\\": \\"{\\\\\\\\\\\\\\"uid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"140874204639****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"groupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3zLxraq7qE9dRakjoQYI00****\\\\\\\\\\\\\\"}\\"\\n }\\n}","type":"json"}]',
],
'GetMultiAccountResourceCounts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4147,25 +2307,18 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleYAPP2M',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleYAPP2M'],
],
'parameters' => [
[
'name' => 'GroupByKey',
'in' => 'query',
- 'schema' => [
- 'description' => '资源数量统计的分组维度。取值:'."\n"
- .'- ResourceType:资源类型。'."\n"
- .'- RegionId:地域。'."\n"
- .'- ResourceGroupId:资源组ID。'."\n"
- ."\n"
- .'> 如果不传,则返回满足条件的资源总数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ResourceType',
- ],
+ 'schema' => ['description' => '资源数量统计的分组维度。取值:'."\n"
+ .'- ResourceType:资源类型。'."\n"
+ .'- RegionId:地域。'."\n"
+ .'- ResourceGroupId:资源组ID。'."\n"
+ ."\n"
+ .'> 如果不传,则返回满足条件的资源总数。', 'type' => 'string', 'required' => false, 'example' => 'ResourceType'],
],
[
'name' => 'Filter',
@@ -4178,29 +2331,14 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。取值见下方`支持的过滤参数`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RegionId',
- ],
- 'MatchType' => [
- 'description' => '匹配方式。'."\n"
- ."\n"
- .'取值为Equals,表示相等匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'Key' => ['description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'RegionId'],
+ 'MatchType' => ['description' => '匹配方式。'."\n"
+ ."\n"
+ .'取值为Equals,表示相等匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
'Value' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
'required' => false,
'maxItems' => 200,
],
@@ -4214,18 +2352,13 @@
[
'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID:表示搜索管理账号和所有成员中的资源。'."\n"
- .'- Root资源夹ID:表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
- .'- 资源夹ID:表示搜索指定资源夹下所有成员中的资源。'."\n"
- .'- 成员ID:表示搜索指定成员中的资源。'."\n"
- ."\n"
- .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rd-r4****'."\n",
- ],
+ 'schema' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID:表示搜索管理账号和所有成员中的资源。'."\n"
+ .'- Root资源夹ID:表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
+ .'- 资源夹ID:表示搜索指定资源夹下所有成员中的资源。'."\n"
+ .'- 成员ID:表示搜索指定成员中的资源。'."\n"
+ ."\n"
+ .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。', 'type' => 'string', 'required' => false, 'example' => 'rd-r4****'."\n"],
],
],
'responses' => [
@@ -4241,33 +2374,17 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。',
- 'type' => 'string',
- 'example' => 'RegionId',
- ],
+ 'Key' => ['description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId'],
'Values' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'example' => 'cn-shanghai'],
],
],
],
],
- 'GroupByKey' => [
- 'description' => '资源统计的分组维度。',
- 'type' => 'string',
- 'example' => 'ResourceType',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57',
- ],
+ 'GroupByKey' => ['description' => '资源统计的分组维度。', 'type' => 'string', 'example' => 'ResourceType'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57'],
'ResourceCounts' => [
'description' => '资源数量列表。',
'type' => 'array',
@@ -4275,98 +2392,46 @@
'description' => '资源数量。',
'type' => 'object',
'properties' => [
- 'Count' => [
- 'description' => '资源数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'GroupName' => [
- 'description' => '分组名称。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::NetworkInterface',
- ],
+ 'Count' => ['description' => '资源数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'GroupName' => ['description' => '分组名称。', 'type' => 'string', 'example' => 'ACS::ECS::NetworkInterface'],
],
],
],
- 'Scope' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID:表示搜索管理账号和所有成员中的资源。'."\n"
- .'- Root资源夹ID:表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
- .'- 资源夹ID:表示搜索指定资源夹下所有成员中的资源。'."\n"
- .'- 成员ID:表示搜索指定成员中的资源。'."\n"
- ."\n"
- .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'example' => 'rd-r4****',
- ],
+ 'Scope' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID:表示搜索管理账号和所有成员中的资源。'."\n"
+ .'- Root资源夹ID:表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
+ .'- 资源夹ID:表示搜索指定资源夹下所有成员中的资源。'."\n"
+ .'- 成员ID:表示搜索指定成员中的资源。'."\n"
+ ."\n"
+ .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。', 'type' => 'string', 'example' => 'rd-r4****'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.Filter.ResourceType',
- 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.AccountScope',
- 'errorMessage' => 'The specified parameter AccountScope is missing.',
- 'description' => '参数 AccountScope 缺失。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Multi account ResourceCenter service is not enabled.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Filter.ResourceType', 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.AccountScope', 'errorMessage' => 'The specified parameter AccountScope is missing.', 'description' => '参数 AccountScope 缺失。'],
+ ['errorCode' => 'InvalidParameter.Filter.CreateTime', 'errorMessage' => 'The specified parameter Filter.n.CreateTime is not valid.', 'description' => '参数 Filter.n.CreateTime 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.IpAddress', 'errorMessage' => 'The specified parameter Filter.n.IpAddress is not valid.', 'description' => '参数 Filter.n.IpAddress 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.Tag', 'errorMessage' => 'The specified parameter Filter.n.Tag is not valid.', 'description' => '参数 Filter.n.Tag 不合法。'],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
],
[
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
- 'errorMessage' => 'The specified folder does not exist.',
- 'description' => '指定文件夹不存在。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
+ ['errorCode' => 'NotExists.ResourceDirectory.FolderId', 'errorMessage' => 'The specified folder does not exist.', 'description' => '指定文件夹不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
- 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'ServiceNotEnabled.SpecifiedAccount', 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询多账号资源数量',
'summary' => '查询资源目录管理账号和多个成员中的资源数量。',
'description' => '仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。',
@@ -4393,12 +2458,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -4408,14 +2468,8 @@
],
'GetResourceCenterServiceStatus' => [
'summary' => '查询资源中心的服务状态。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4427,9 +2481,7 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsole3F5OJU',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsole3F5OJU'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [],
@@ -4439,40 +2491,24 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'InitialStatus' => [
- 'description' => '初始化状态。取值:'."\n"
- ."\n"
- .'- Pending:准备中。'."\n"
- ."\n"
- .'- Finished:就绪。',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A4826DD',
- ],
- 'ServiceStatus' => [
- 'description' => '服务状态。取值:'."\n"
- ."\n"
- .'- Enabled:已开通。'."\n"
- ."\n"
- .'- Disabled:已关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
+ 'InitialStatus' => ['description' => '初始化状态。取值:'."\n"
+ ."\n"
+ .'- Pending:准备中。'."\n"
+ ."\n"
+ .'- Finished:就绪。', 'type' => 'string', 'example' => 'Pending'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A4826DD'],
+ 'ServiceStatus' => ['description' => '服务状态。取值:'."\n"
+ ."\n"
+ .'- Enabled:已开通。'."\n"
+ ."\n"
+ .'- Disabled:已关闭。', 'type' => 'string', 'example' => 'Enabled'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InitialStatus\\": \\"Pending\\",\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A4826DD\\",\\n \\"ServiceStatus\\": \\"Enabled\\"\\n}","type":"json"}]',
@@ -4480,12 +2516,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceCenterServiceStatus',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCenterServiceStatus'],
],
],
'ramActions' => [
@@ -4496,12 +2527,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -4509,14 +2535,8 @@
],
'GetResourceConfiguration' => [
'summary' => '查询当前账号的资源配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4524,43 +2544,24 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'ResourceRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '资源地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。'."\n"
- ."\n"
- .'支持资源中心的资源类型,请参见[支持资源中心的云服务及资源类型](~~477798~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::VPC::RouteTable',
- ],
+ 'schema' => ['description' => '资源类型。'."\n"
+ ."\n"
+ .'支持资源中心的资源类型,请参见[支持资源中心的云服务及资源类型](~~477798~~)。', 'type' => 'string', 'required' => true, 'example' => 'ACS::VPC::RouteTable'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'eip-bp1kyg72m****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'eip-bp1kyg72m****'],
],
],
'responses' => [
@@ -4569,30 +2570,14 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'string',
- 'example' => '151266687691****',
- ],
+ 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '151266687691****'],
'Configuration' => [
'description' => '资源配置详情。',
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- 'description' => '资源配置详情。',
- 'example' => '{\\"uid\\":\\"191432722631****\\",\\"groupId\\":\\"MtxXXli4FfphQJyH9R3p00****\\"}',
- ],
- ],
- 'CreateTime' => [
- 'description' => '资源创建时间。',
- 'type' => 'string',
- 'example' => '2021-06-30T09:20:08Z',
- ],
- 'ExpireTime' => [
- 'description' => '资源过期时间。',
- 'type' => 'string',
- 'example' => '2021-07-30T09:20:08Z',
+ 'additionalProperties' => ['type' => 'any', 'description' => '资源配置详情。', 'example' => '{\\"uid\\":\\"191432722631****\\",\\"groupId\\":\\"MtxXXli4FfphQJyH9R3p00****\\"}'],
],
+ 'CreateTime' => ['description' => '资源创建时间。', 'type' => 'string', 'example' => '2021-06-30T09:20:08Z'],
+ 'ExpireTime' => ['description' => '资源过期时间。', 'type' => 'string', 'example' => '2021-07-30T09:20:08Z'],
'IpAddressAttributes' => [
'description' => 'IP地址属性。',
'type' => 'array',
@@ -4600,23 +2585,11 @@
'description' => 'IP地址属性。',
'type' => 'object',
'properties' => [
- 'IpAddress' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- 'NetworkType' => [
- 'description' => '网络类型,取值:'."\n"
- .'- **Public**:公网。'."\n"
- .'- **Private**:私网。',
- 'type' => 'string',
- 'example' => 'Public',
- ],
- 'Version' => [
- 'description' => 'IP地址的版本。',
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
+ 'IpAddress' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '192.168.1.2'],
+ 'NetworkType' => ['description' => '网络类型,取值:'."\n"
+ .'- **Public**:公网。'."\n"
+ .'- **Private**:私网。', 'type' => 'string', 'example' => 'Public'],
+ 'Version' => ['description' => 'IP地址的版本。', 'type' => 'string', 'example' => 'Ipv4'],
],
],
],
@@ -4625,42 +2598,14 @@
."\n"
.'> 资源是否返回该参数,由所属的云服务决定。',
'type' => 'array',
- 'items' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- ],
- 'RegionId' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F1CE0D52-32DA-531A-87A4-B9A5B68D5D8E',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmv4k****',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'vtb-uf6978gdqbi****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'group1',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::VSwitch',
- ],
+ 'items' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '192.168.1.2'],
+ ],
+ 'RegionId' => ['description' => '资源地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F1CE0D52-32DA-531A-87A4-B9A5B68D5D8E'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmv4k****'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'vtb-uf6978gdqbi****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'group1'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::VSwitch'],
'Tags' => [
'description' => '标签。',
'type' => 'array',
@@ -4668,56 +2613,28 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'test-key',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test-value',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'test-key'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'test-value'],
],
],
],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-k',
- ],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-k'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'NoPermission.Resource',
- 'errorMessage' => 'The operator is not permitted for this resource.',
- 'description' => '当前用户未授权操作此资源。',
- ],
+ ['errorCode' => 'NoPermission.Resource', 'errorMessage' => 'The operator is not permitted for this resource.', 'description' => '当前用户未授权操作此资源。'],
],
[
- [
- 'errorCode' => 'NotExists.Resource',
- 'errorMessage' => 'The specified resource does not exist.',
- 'description' => '指定资源不存在。',
- ],
+ ['errorCode' => 'NotExists.Resource', 'errorMessage' => 'The specified resource does not exist.', 'description' => '指定资源不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"Configuration\\": {\\n \\"key\\": \\"{\\\\\\\\\\\\\\"uid\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"191432722631****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"groupId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MtxXXli4FfphQJyH9R3p00****\\\\\\\\\\\\\\"}\\"\\n },\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2021-07-30T09:20:08Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RequestId\\": \\"F1CE0D52-32DA-531A-87A4-B9A5B68D5D8E\\",\\n \\"ResourceGroupId\\": \\"rg-acfmv4k****\\",\\n \\"ResourceId\\": \\"vtb-uf6978gdqbi****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::VSwitch\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test-key\\",\\n \\"Value\\": \\"test-value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n}","type":"json"}]',
@@ -4725,12 +2642,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceConfiguration',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceConfiguration'],
],
],
'ramActions' => [
@@ -4741,27 +2653,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetResourceCounts' => [
- 'summary' => '查询当前账号下有权限访问的资源数量。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4769,24 +2669,15 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'GroupByKey',
'in' => 'query',
- 'schema' => [
- 'description' => '资源数量统计的分组维度。取值:'."\n"
- .'- ResourceType:资源类型。'."\n"
- .'- RegionId:地域。'."\n"
- .'- ResourceGroupId:资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ResourceType',
- ],
+ 'schema' => ['description' => '资源数量统计的分组维度。取值:'."\n"
+ .'- ResourceType:资源类型。'."\n"
+ .'- RegionId:地域。'."\n"
+ .'- ResourceGroupId:资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'ResourceType'],
],
[
'name' => 'Filter',
@@ -4799,29 +2690,14 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。取值见下方`支持的过滤参数`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RegionId',
- ],
- 'MatchType' => [
- 'description' => '匹配方式。'."\n"
- ."\n"
- .'取值为Equals,表示相等匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'Key' => ['description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'RegionId'],
+ 'MatchType' => ['description' => '匹配方式。'."\n"
+ ."\n"
+ .'取值为Equals,表示相等匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
'Value' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
'required' => false,
'maxItems' => 200,
],
@@ -4835,22 +2711,12 @@
[
'name' => 'SearchExpression',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索关键词。资源中心会根据相关性对搜索结果进行过滤。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keywords',
- ],
+ 'schema' => ['description' => '搜索关键词。资源中心会根据相关性对搜索结果进行过滤。', 'type' => 'string', 'required' => false, 'example' => 'keywords'],
],
[
'name' => 'IncludeDeletedResources',
'in' => 'query',
- 'schema' => [
- 'description' => '是否包含已删除资源。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否包含已删除资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -4866,33 +2732,17 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。',
- 'type' => 'string',
- 'example' => 'RegionId',
- ],
+ 'Key' => ['description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId'],
'Values' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'example' => 'cn-shanghai'],
],
],
],
],
- 'GroupByKey' => [
- 'description' => '资源统计的分组维度。',
- 'type' => 'string',
- 'example' => 'ResourceType',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6D98D9B0-318D-56A4-910C-93B5F945AF2B',
- ],
+ 'GroupByKey' => ['description' => '资源统计的分组维度。', 'type' => 'string', 'example' => 'ResourceType'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6D98D9B0-318D-56A4-910C-93B5F945AF2B'],
'ResourceCounts' => [
'description' => '资源数量列表。',
'type' => 'array',
@@ -4900,17 +2750,8 @@
'description' => '资源数量。',
'type' => 'object',
'properties' => [
- 'Count' => [
- 'description' => '资源数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'GroupName' => [
- 'description' => '分组名称。',
- 'type' => 'string',
- 'example' => 'ACS::ECS::NetworkInterface',
- ],
+ 'Count' => ['description' => '资源数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'GroupName' => ['description' => '分组名称。', 'type' => 'string', 'example' => 'ACS::ECS::NetworkInterface'],
],
],
],
@@ -4920,24 +2761,18 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'InvalidParameter.Filter.ResourceType',
- 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.Filter.ResourceType', 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Filter.CreateTime', 'errorMessage' => 'The specified parameter Filter.n.CreateTime is not valid.', 'description' => '参数 Filter.n.CreateTime 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.IpAddress', 'errorMessage' => 'The specified parameter Filter.n.IpAddress is not valid.', 'description' => '参数 Filter.n.IpAddress 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.Tag', 'errorMessage' => 'The specified parameter Filter.n.Tag is not valid.', 'description' => '参数 Filter.n.Tag 不合法。'],
],
409 => [
- [
- 'errorCode' => 'ExceedLimit.FilterValue',
- 'errorMessage' => 'The number of objects specified in the FilterValue parameter exceeds the upper limit.',
- 'description' => '参数 FilterValue 数量超出上限。',
- ],
+ ['errorCode' => 'ExceedLimit.FilterValue', 'errorMessage' => 'The number of objects specified in the FilterValue parameter exceeds the upper limit.', 'description' => '参数 FilterValue 数量超出上限。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询当前账号下的资源数量',
+ 'summary' => '查询当前账号下有权限访问的资源数量。',
'description' => '- 仅能搜索当前账号下有权限访问的资源数量。'."\n"
.'- 仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。',
'requestParamsDescription' => '### 支持的过滤参数'."\n"
@@ -4954,12 +2789,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceCounts',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCounts'],
],
],
'ramActions' => [],
@@ -4967,13 +2797,8 @@
],
'GetSavedQuery' => [
'summary' => '获取自定义查询模板。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4981,22 +2806,13 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'QueryId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。'."\n"
- .'> 您可以调用[ListSavedQueries](~~ListSavedQueries~~)获取查询模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cq-GeAck****',
- ],
+ 'schema' => ['description' => '模板ID。'."\n"
+ .'> 您可以调用[ListSavedQueries](~~ListSavedQueries~~)获取查询模板ID。', 'type' => 'string', 'required' => true, 'example' => 'cq-GeAck****'],
],
],
'responses' => [
@@ -5006,46 +2822,17 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6D98D9B0-318D-56A4-910C-93B5F945AF2B',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6D98D9B0-318D-56A4-910C-93B5F945AF2B'],
'SavedQuery' => [
'description' => '模板信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '创建时间(UTC时间)。',
- 'type' => 'string',
- 'example' => '2023-10-30T01:43:16Z',
- ],
- 'Description' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'example' => '查询我的所有资源,返回所有的列。',
- ],
- 'Expression' => [
- 'description' => '模板表达式。',
- 'type' => 'string',
- 'example' => 'SELECT * FROM resources;',
- ],
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '查询我的所有资源。',
- ],
- 'QueryId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => 'cq-GeAck****',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间(UTC时间)。',
- 'type' => 'string',
- 'example' => '2023-10-30T01:43:16Z',
- ],
+ 'CreateTime' => ['description' => '创建时间(UTC时间)。', 'type' => 'string', 'example' => '2023-10-30T01:43:16Z'],
+ 'Description' => ['description' => '模板描述。', 'type' => 'string', 'example' => 'Query all my resources and return all columns.'],
+ 'Expression' => ['description' => '模板表达式。', 'type' => 'string', 'example' => 'SELECT * FROM resources;'],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => 'Query all my resources.'],
+ 'QueryId' => ['description' => '模板ID。', 'type' => 'string', 'example' => 'cq-GeAck****'],
+ 'UpdateTime' => ['description' => '更新时间(UTC时间)。', 'type' => 'string', 'example' => '2023-10-30T01:43:16Z'],
],
],
],
@@ -5054,33 +2841,19 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
409 => [
- [
- 'errorCode' => 'NotExists.QueryId',
- 'errorMessage' => 'The QueryId does not exist.',
- 'description' => '',
- ],
+ ['errorCode' => 'NotExists.QueryId', 'errorMessage' => 'The QueryId does not exist.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D98D9B0-318D-56A4-910C-93B5F945AF2B\\",\\n \\"SavedQuery\\": {\\n \\"CreateTime\\": \\"2023-10-30T01:43:16Z\\",\\n \\"Description\\": \\"Query all my resources and return all columns.\\",\\n \\"Expression\\": \\"SELECT * FROM resources;\\",\\n \\"Name\\": \\"Query all my resources.\\",\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"UpdateTime\\": \\"2023-10-30T01:43:16Z\\"\\n }\\n}","type":"json"}]',
'title' => '获取自定义查询模板',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetSavedQuery',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSavedQuery'],
],
],
'ramActions' => [
@@ -5091,28 +2864,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6D98D9B0-318D-56A4-910C-93B5F945AF2B\\",\\n \\"SavedQuery\\": {\\n \\"CreateTime\\": \\"2023-10-30T01:43:16Z\\",\\n \\"Description\\": \\"查询我的所有资源,返回所有的列。\\",\\n \\"Expression\\": \\"SELECT * FROM resources;\\",\\n \\"Name\\": \\"查询我的所有资源。\\",\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"UpdateTime\\": \\"2023-10-30T01:43:16Z\\"\\n }\\n}","type":"json"}]',
],
'ListDeliveryChannels' => [
'summary' => '获取当前账号资源投递渠道列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5120,38 +2881,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~100。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~100。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过MaxResults限制,则数据会被截断,您可以使用NextToken查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过MaxResults限制,则数据会被截断,您可以使用NextToken查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
],
'responses' => [
@@ -5168,56 +2914,21 @@
'description' => '当前账号资源投递渠道信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2024-06-20T08:46:29Z',
- ],
- 'DeliveryChannelDescription' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => 'This is a description.',
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'dc-4m6ffpkgu***',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'test-delivery-channel',
- ],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2024-06-20T08:46:29Z'],
+ 'DeliveryChannelDescription' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'This is a description.'],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'dc-4m6ffpkgu***'],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'test-delivery-channel'],
],
],
],
- 'MaxResults' => [
- 'title' => 'MaxResults本次请求所返回的最大记录条数',
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'NextToken' => [
- 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***',
- ],
+ 'MaxResults' => ['title' => 'MaxResults本次请求所返回的最大记录条数', 'description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'NextToken' => ['title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'required' => true, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"CreateTime\\": \\"2024-06-20T08:46:29Z\\",\\n \\"DeliveryChannelDescription\\": \\"This is a description.\\",\\n \\"DeliveryChannelId\\": \\"dc-4m6ffpkgu***\\",\\n \\"DeliveryChannelName\\": \\"test-delivery-channel\\"\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"17502A1B-7026-5551-8E1C-CCABD0CBC***\\"\\n}","type":"json"}]',
'title' => '获取当前账号资源投递渠道列表',
'changeSet' => [],
@@ -5232,25 +2943,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListExampleQueries' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => '列出所有的系统查询模板。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5258,37 +2960,21 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~50。'."\n"
- ."\n"
- .'默认值:50。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~50。'."\n"
+ ."\n"
+ .'默认值:50。', 'type' => 'string', 'required' => false, 'example' => '10', 'pattern' => '^\\d+$'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '下一页查询开始的Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n",
- ],
+ 'schema' => ['description' => '下一页查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n"],
],
],
'responses' => [
@@ -5304,72 +2990,34 @@
'description' => '系统模板信息。',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'example' => '返回所有有权限的资源,并按照资源类型和资源ID排列。',
- ],
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '列出所有阿里云资源',
- ],
- 'QueryId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => 'sq-0PfKy****',
- ],
+ 'Description' => ['description' => '模板描述。', 'type' => 'string', 'example' => 'Return all authorized resources, sorted by resource type and resource ID.'],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => 'List all Alibaba Cloud resources'],
+ 'QueryId' => ['description' => '模板ID。', 'type' => 'string', 'example' => 'sq-0PfKy****'],
],
],
],
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '下一页查询开始的Token。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
- ],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'string', 'example' => '10'],
+ 'NextToken' => ['description' => '下一页查询开始的Token。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExampleQueries\\": [\\n {\\n \\"Description\\": \\"Return all authorized resources, sorted by resource type and resource ID.\\",\\n \\"Name\\": \\"List all Alibaba Cloud resources\\",\\n \\"QueryId\\": \\"sq-0PfKy****\\"\\n }\\n ],\\n \\"MaxResults\\": \\"10\\",\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\"\\n}","type":"json"}]',
'title' => '列出所有的系统查询模板',
- 'summary' => '列出所有的系统查询模板。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListExampleQueries',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExampleQueries'],
],
],
'ramActions' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ExampleQueries\\": [\\n {\\n \\"Description\\": \\"返回所有有权限的资源,并按照资源类型和资源ID排列。\\",\\n \\"Name\\": \\"列出所有阿里云资源\\",\\n \\"QueryId\\": \\"sq-0PfKy****\\"\\n }\\n ],\\n \\"MaxResults\\": \\"10\\",\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\"\\n}","type":"json"}]',
],
'ListFilters' => [
'summary' => '获取筛选条件列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5377,24 +3025,14 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'DefaultFilterName' => [
- 'description' => '默认筛选条件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '我的筛选条件',
- ],
+ 'DefaultFilterName' => ['description' => '默认筛选条件名称。', 'type' => 'string', 'required' => false, 'example' => 'My filter criteria'],
'Filters' => [
'description' => '筛选条件。',
'type' => 'array',
@@ -5402,52 +3040,33 @@
'description' => '筛选条件。',
'type' => 'object',
'properties' => [
- 'FilterConfiguration' => [
- 'description' => '筛选条件。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{'."\n"
- .' "regions": [],'."\n"
- .' "tagFilters": ['."\n"
- .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
- .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
- .' ],'."\n"
- .' "resourceTypes": ['."\n"
- .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'FilterName' => [
- 'description' => '筛选条件名称。',
- 'type' => 'string',
- 'example' => '我管理的设备',
- ],
+ 'FilterConfiguration' => ['description' => '筛选条件。', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
+ .' "regions": [],'."\n"
+ .' "tagFilters": ['."\n"
+ .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
+ .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
+ .' ],'."\n"
+ .' "resourceTypes": ['."\n"
+ .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
+ .' ]'."\n"
+ .'}'],
+ 'FilterName' => ['description' => '筛选条件名称。', 'type' => 'string', 'example' => 'My managed devices'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AA39FB9C-CB74-5E73-8DFE-3A2B096F0759',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AA39FB9C-CB74-5E73-8DFE-3A2B096F0759'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DefaultFilterName\\": \\"我的筛选条件\\",\\n \\"Filters\\": [\\n {\\n \\"FilterConfiguration\\": \\"{\\\\n \\\\\\"regions\\\\\\": [],\\\\n \\\\\\"tagFilters\\\\\\": [\\\\n [{ \\\\\\"type\\\\\\": \\\\\\"notContainTagKey\\\\\\", \\\\\\"tagKey\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"tagValue\\\\\\": \\\\\\"\\\\\\" }],\\\\n [{ \\\\\\"tagKey\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"tagValue\\\\\\": \\\\\\"xxx\\\\\\" }]\\\\n ],\\\\n \\\\\\"resourceTypes\\\\\\": [\\\\n \\\\\\"ACS::ECS::AutoSnapshotPolicy\\\\\\"\\\\n ]\\\\n}\\",\\n \\"FilterName\\": \\"我管理的设备\\"\\n }\\n ],\\n \\"RequestId\\": \\"AA39FB9C-CB74-5E73-8DFE-3A2B096F0759\\"\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DefaultFilterName\\": \\"My filter criteria\\",\\n \\"Filters\\": [\\n {\\n \\"FilterConfiguration\\": \\"{\\\\n \\\\\\"regions\\\\\\": [],\\\\n \\\\\\"tagFilters\\\\\\": [\\\\n [{ \\\\\\"type\\\\\\": \\\\\\"notContainTagKey\\\\\\", \\\\\\"tagKey\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"tagValue\\\\\\": \\\\\\"\\\\\\" }],\\\\n [{ \\\\\\"tagKey\\\\\\": \\\\\\"xxx\\\\\\", \\\\\\"tagValue\\\\\\": \\\\\\"xxx\\\\\\" }]\\\\n ],\\\\n \\\\\\"resourceTypes\\\\\\": [\\\\n \\\\\\"ACS::ECS::AutoSnapshotPolicy\\\\\\"\\\\n ]\\\\n}\\",\\n \\"FilterName\\": \\"My managed devices\\"\\n }\\n ],\\n \\"RequestId\\": \\"AA39FB9C-CB74-5E73-8DFE-3A2B096F0759\\"\\n}","type":"json"}]',
'title' => '获取筛选条件列表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListFilters',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFilters'],
],
],
'ramActions' => [
@@ -5458,12 +3077,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -5471,13 +3085,8 @@
],
'ListMultiAccountDeliveryChannels' => [
'summary' => '获取跨账号资源投递渠道列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5485,39 +3094,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~100。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~100。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过MaxResults限制,则数据会被截断,您可以使用NextToken查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过MaxResults限制,则数据会被截断,您可以使用NextToken查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****'],
],
],
'responses' => [
@@ -5534,65 +3127,26 @@
'description' => '跨账号投递渠道信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2023-08-17T00:23:55Z',
- ],
- 'DeliveryChannelDescription' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'example' => 'This is a description.'."\n",
- ],
- 'DeliveryChannelId' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'example' => 'dc-0bzhsqpnk***',
- ],
- 'DeliveryChannelName' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'example' => 'test-multi-account-delivery-channel',
- ],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-08-17T00:23:55Z'],
+ 'DeliveryChannelDescription' => ['description' => '投递渠道描述。', 'type' => 'string', 'example' => 'This is a description.'."\n"],
+ 'DeliveryChannelId' => ['description' => '投递渠道ID。', 'type' => 'string', 'example' => 'dc-0bzhsqpnk***'],
+ 'DeliveryChannelName' => ['description' => '投递渠道名称。', 'type' => 'string', 'example' => 'test-multi-account-delivery-channel'],
],
],
],
- 'MaxResults' => [
- 'title' => 'MaxResults本次请求所返回的最大记录条数',
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'NextToken' => [
- 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕',
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***',
- ],
+ 'MaxResults' => ['title' => 'MaxResults本次请求所返回的最大记录条数', 'description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'NextToken' => ['title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'required' => true, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '17502A1B-7026-5551-8E1C-CCABD0CBC***'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。',
- ],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannels\\": [\\n {\\n \\"CreateTime\\": \\"2023-08-17T00:23:55Z\\",\\n \\"DeliveryChannelDescription\\": \\"This is a description.\\\\n\\",\\n \\"DeliveryChannelId\\": \\"dc-0bzhsqpnk***\\",\\n \\"DeliveryChannelName\\": \\"test-multi-account-delivery-channel\\"\\n }\\n ],\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"17502A1B-7026-5551-8E1C-CCABD0CBC***\\"\\n}","type":"json"}]',
'title' => '获取跨账号资源投递渠道列表',
'changeSet' => [],
@@ -5607,12 +3161,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -5620,14 +3169,8 @@
],
],
'ListMultiAccountResourceGroups' => [
- 'summary' => '查询资源目录管理账号或成员的资源组。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5639,43 +3182,25 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsole2YWA72',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsole2YWA72'],
],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时每页行数。'."\n"
- ."\n"
- .'每页最大行数:100。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '分页查询时每页行数。'."\n"
+ ."\n"
+ .'每页最大行数:100。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询开始的Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAS2Nboi3t4xGrdlG5/Ks/Q1xPG9jzviYEuZydevXIkgF',
- ],
+ 'schema' => ['description' => '查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => 'AAAAAS2Nboi3t4xGrdlG5/Ks/Q1xPG9jzviYEuZydevXIkgF'],
],
[
'name' => 'AccountId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源目录管理账号ID或成员ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1394339739****',
- ],
+ 'schema' => ['description' => '资源目录管理账号ID或成员ID。', 'type' => 'string', 'required' => true, 'example' => '1394339739****'],
],
[
'name' => 'ResourceGroupIds',
@@ -5684,12 +3209,7 @@
'schema' => [
'description' => '资源组ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmzawhxxc****',
- ],
+ 'items' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzawhxxc****'],
'required' => false,
'maxItems' => 100,
],
@@ -5702,16 +3222,8 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'example' => 'AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0FF0A66E-781F-51EE-9531-928F197558F2',
- ],
+ 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => 'AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0FF0A66E-781F-51EE-9531-928F197558F2'],
'ResourceGroups' => [
'description' => '资源组列表。',
'type' => 'array',
@@ -5719,39 +3231,25 @@
'description' => '资源组。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源目录管理账号ID或成员ID。',
- 'type' => 'string',
- 'example' => '1394339739****',
- ],
- 'CreateDate' => [
- 'description' => '资源组的创建时间。',
- 'type' => 'string',
- 'example' => '2021-06-30T09:20:08Z',
- ],
- 'DisplayName' => [
- 'description' => '资源组显示名称。',
- 'type' => 'string',
- 'example' => 'group1',
- ],
- 'Id' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmzawhxxc****',
- ],
- 'Name' => [
- 'description' => '资源组唯一标识。',
- 'type' => 'string',
- 'example' => 'my-project',
- ],
- 'Status' => [
- 'description' => '资源组状态。'."\n"
- ."\n"
- .'- Creating:创建中。'."\n"
- .'- OK:创建成功。'."\n"
- .'- PendingDelete:等待删除。',
- 'type' => 'string',
- 'example' => 'OK',
+ 'AccountId' => ['description' => '资源目录管理账号ID或成员ID。', 'type' => 'string', 'example' => '1394339739****'],
+ 'CreateDate' => ['description' => '资源组的创建时间。', 'type' => 'string', 'example' => '2021-06-30T09:20:08Z'],
+ 'DisplayName' => ['description' => '资源组显示名称。', 'type' => 'string', 'example' => 'group1'],
+ 'Id' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzawhxxc****'],
+ 'Name' => ['description' => '资源组唯一标识。', 'type' => 'string', 'example' => 'my-project'],
+ 'Status' => ['description' => '资源组状态。'."\n"
+ ."\n"
+ .'- Creating:创建中。'."\n"
+ .'- OK:创建成功。'."\n"
+ .'- PendingDelete:等待删除。', 'type' => 'string', 'example' => 'OK'],
+ 'Tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
+ ],
+ ],
],
],
],
@@ -5762,77 +3260,31 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Multi account ResourceCenter service is not enabled.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
- [
- 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
- 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
- 'description' => '指定账户的资源中心服务未开通。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
+ ['errorCode' => 'ServiceNotEnabled.SpecifiedAccount', 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.', 'description' => '指定账户的资源中心服务未开通。'],
],
[
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceGroup',
- 'errorMessage' => 'The specified ResourceGroup does not exist.',
- 'description' => '指定资源组不存在。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
+ ['errorCode' => 'NotExists.ResourceGroup', 'errorMessage' => 'The specified ResourceGroup does not exist.', 'description' => '指定资源组不存在。'],
],
409 => [
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.AccountId',
- 'errorMessage' => 'The specified parameter AccountId is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceGroupId',
- 'errorMessage' => 'The specified parameter ResourceGroupId is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.AccountId', 'errorMessage' => 'The specified parameter AccountId is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceGroupId', 'errorMessage' => 'The specified parameter ResourceGroupId is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询多账号资源组',
+ 'summary' => '查询资源目录管理账号或成员的资源组。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountResourceGroups',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountResourceGroups'],
],
],
'ramActions' => [
@@ -5843,29 +3295,19 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75\\",\\n \\"RequestId\\": \\"0FF0A66E-781F-51EE-9531-928F197558F2\\",\\n \\"ResourceGroups\\": [\\n {\\n \\"AccountId\\": \\"1394339739****\\",\\n \\"CreateDate\\": \\"2021-06-30T09:20:08Z\\",\\n \\"DisplayName\\": \\"group1\\",\\n \\"Id\\": \\"rg-acfmzawhxxc****\\",\\n \\"Name\\": \\"my-project\\",\\n \\"Status\\": \\"OK\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAU5VsT9R1adMTuz9GzginZ3Y+7Y/5JATS+6q5GK9kT75\\",\\n \\"RequestId\\": \\"0FF0A66E-781F-51EE-9531-928F197558F2\\",\\n \\"ResourceGroups\\": [\\n {\\n \\"AccountId\\": \\"1394339739****\\",\\n \\"CreateDate\\": \\"2021-06-30T09:20:08Z\\",\\n \\"DisplayName\\": \\"group1\\",\\n \\"Id\\": \\"rg-acfmzawhxxc****\\",\\n \\"Name\\": \\"my-project\\",\\n \\"Status\\": \\"OK\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"\\",\\n \\"Value\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
],
'ListMultiAccountResourceRelationships' => [
'summary' => '查询资源目录管理账号和多个成员中的资源关系。',
'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5873,55 +3315,31 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。更多信息,请参见[GetResourceDirectory](~~159995~~)。'."\n"
- .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
- .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
- .'- 成员ID,表示搜索指定成员中的资源。更多信息,请参见[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rd-r4****',
- ],
+ 'schema' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。更多信息,请参见[GetResourceDirectory](~~159995~~)。'."\n"
+ .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
+ .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
+ .'- 成员ID,表示搜索指定成员中的资源。更多信息,请参见[ListAccounts](~~160016~~)。', 'type' => 'string', 'required' => true, 'example' => 'rd-r4****'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '资源地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::ACK::Cluster',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ACK::Cluster'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'm-eb3hji****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'm-eb3hji****'],
],
[
'name' => 'RelatedResourceFilter',
@@ -5934,31 +3352,16 @@
'description' => '相关资源过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。取值见下方`支持的过滤参数`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RelatedResourceRegionId',
- ],
+ 'Key' => ['description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'RelatedResourceRegionId'],
'Value' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
'required' => false,
'maxItems' => 200,
'minItems' => 0,
],
- 'MatchType' => [
- 'description' => '匹配方式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'MatchType' => ['description' => '匹配方式。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
],
'required' => false,
],
@@ -5969,30 +3372,16 @@
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~500。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~500。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'default' => '20'],
],
],
'responses' => [
@@ -6002,32 +3391,14 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BCAB07BA-82FA-5DC0-9322-FB7ED726481D',
- ],
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
- 'Scope' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。'."\n"
- .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
- .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。'."\n"
- .'- 成员ID,表示搜索指定成员中的资源。',
- 'type' => 'string',
- 'example' => 'rd-r4****'."\n",
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BCAB07BA-82FA-5DC0-9322-FB7ED726481D'],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NextToken' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
+ 'Scope' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。'."\n"
+ .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
+ .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。'."\n"
+ .'- 成员ID,表示搜索指定成员中的资源。', 'type' => 'string', 'example' => 'rd-r4****'."\n"],
'ResourceRelationships' => [
'description' => '相关资源列表。',
'type' => 'array',
@@ -6035,41 +3406,13 @@
'description' => '相关资源列表。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源目录管理账号ID或成员账号ID。',
- 'type' => 'string',
- 'example' => '193396142051****',
- ],
- 'RegionId' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ACK::Cluster'."\n",
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'm-eb3hji****'."\n",
- ],
- 'RelatedResourceRegionId' => [
- 'description' => '相关资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'RelatedResourceType' => [
- 'description' => '相关资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::VPC',
- ],
- 'RelatedResourceId' => [
- 'description' => '相关资源ID。',
- 'type' => 'string',
- 'example' => 'vpc-uf6m5okksddm6c9lh7***',
- ],
+ 'AccountId' => ['description' => '资源目录管理账号ID或成员账号ID。', 'type' => 'string', 'example' => '193396142051****'],
+ 'RegionId' => ['description' => '资源地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ACK::Cluster'."\n"],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'm-eb3hji****'."\n"],
+ 'RelatedResourceRegionId' => ['description' => '相关资源地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'RelatedResourceType' => ['description' => '相关资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::VPC'],
+ 'RelatedResourceId' => ['description' => '相关资源ID。', 'type' => 'string', 'example' => 'vpc-uf6m5okksddm6c9lh7***'],
],
],
],
@@ -6079,102 +3422,32 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
- 'description' => '多账号资源中心服务未开通。',
- ],
- [
- 'errorCode' => 'MissingParameter.RelatedResourceFilterValue',
- 'errorMessage' => 'You must specify RelatedResourceFilterValue.n.Value.',
- 'description' => '缺少参数 RelatedResourceFilterValue.n.Value。',
- ],
- [
- 'errorCode' => 'InvalidParameter.RelatedResourceFilterMatchType',
- 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.',
- 'description' => '参数 RelatedResourceFilterMatchType.n.MatchType 不合法。'."\n",
- ],
- [
- 'errorCode' => 'InvalidParameter.RelatedResourceFilterKey',
- 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.',
- 'description' => '参数 RelatedResourceFilterMatchType.n.RelatedResourceFilterKey 不合法。'."\n",
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Multi account ResourceCenter service is not enabled.', 'description' => '多账号资源中心服务未开通。'],
+ ['errorCode' => 'MissingParameter.RelatedResourceFilterValue', 'errorMessage' => 'You must specify RelatedResourceFilterValue.n.Value.', 'description' => '缺少参数 RelatedResourceFilterValue.n.Value。'],
+ ['errorCode' => 'InvalidParameter.RelatedResourceFilterMatchType', 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.', 'description' => '参数 RelatedResourceFilterMatchType.n.MatchType 不合法。'."\n"],
+ ['errorCode' => 'InvalidParameter.RelatedResourceFilterKey', 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.', 'description' => '参数 RelatedResourceFilterMatchType.n.RelatedResourceFilterKey 不合法。'."\n"],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
],
[
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
- 'errorMessage' => 'The specified folder does not exist.',
- 'description' => '指定文件夹不存在。',
- ],
- [
- 'errorCode' => 'MissingParameter.RegionId',
- 'errorMessage' => 'The specified parameter RegionId is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceId',
- 'errorMessage' => 'The specified parameter ResourceId is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ExceedLimit.RelatedResourceFilter',
- 'errorMessage' => 'The maximum length of RelatedResourceFilter is exceeded.',
- 'description' => '参数 RelatedResourceFilter 数量超出上限。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
+ ['errorCode' => 'NotExists.ResourceDirectory.FolderId', 'errorMessage' => 'The specified folder does not exist.', 'description' => '指定文件夹不存在。'],
+ ['errorCode' => 'MissingParameter.RegionId', 'errorMessage' => 'The specified parameter RegionId is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The specified parameter ResourceId is missing.', 'description' => ''],
+ ['errorCode' => 'ExceedLimit.RelatedResourceFilter', 'errorMessage' => 'The maximum length of RelatedResourceFilter is exceeded.', 'description' => '参数 RelatedResourceFilter 数量超出上限。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is not valid.',
- 'description' => '参数 ResourceType 不合法。',
- ],
- [
- 'errorCode' => 'ExceedLimit.RelatedResourceFilterValue',
- 'errorMessage' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.',
- 'description' => '参数 RelatedResourceFilterValue 数量超出上限。'."\n",
- ],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。'],
+ ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => '参数 ResourceType 不合法。'],
+ ['errorCode' => 'ExceedLimit.RelatedResourceFilterValue', 'errorMessage' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.', 'description' => '参数 RelatedResourceFilterValue 数量超出上限。'."\n"],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCAB07BA-82FA-5DC0-9322-FB7ED726481D\\",\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"Scope\\": \\"rd-r4****\\\\n\\",\\n \\"ResourceRelationships\\": [\\n {\\n \\"AccountId\\": \\"193396142051****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceType\\": \\"ACS::ACK::Cluster\\\\n\\",\\n \\"ResourceId\\": \\"m-eb3hji****\\\\n\\",\\n \\"RelatedResourceRegionId\\": \\"cn-shanghai\\",\\n \\"RelatedResourceType\\": \\"ACS::VPC::VPC\\",\\n \\"RelatedResourceId\\": \\"vpc-uf6m5okksddm6c9lh7***\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询多账号的资源关系',
'description' => '- 如果您使用的是RAM用户账号或者RAM角色,需要被授予ListMultiAccountResourceRelationships接口的权限才能执行跨账号资源关系查询操作。更多信息,请参见[RAM用户使用资源中心](~~600556~~)。'."\n"
@@ -6190,12 +3463,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountResourceRelationships',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountResourceRelationships'],
],
],
'ramActions' => [
@@ -6206,12 +3474,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -6219,13 +3482,8 @@
],
'ListMultiAccountTagKeys' => [
'summary' => '查询资源目录管理账号或成员中的标签键。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6237,75 +3495,46 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleUMXHIT',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleUMXHIT'],
],
'parameters' => [
[
'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。资源目录ID,请参见[GetResourceDirectory](~~159995~~)中的返回参数`ResourceDirectoryId`。'."\n"
- .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。Root资源夹ID,请参见[GetResourceDirectory](~~159995~~)中的返回参数`RootFolderId`。'."\n"
- .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。资源夹ID,请参见[ListFoldersForParent](~~159997~~)中的返回参数`FolderId`。'."\n"
- .'- 成员ID,表示搜索指定成员中的资源。成员ID,请参见[ListAccounts](~~160016~~)中的返回参数`AccountId`。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rd-r4****'."\n",
- ],
+ 'schema' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。资源目录ID,请参见[GetResourceDirectory](~~159995~~)中的返回参数`ResourceDirectoryId`。'."\n"
+ .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。Root资源夹ID,请参见[GetResourceDirectory](~~159995~~)中的返回参数`RootFolderId`。'."\n"
+ .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。资源夹ID,请参见[ListFoldersForParent](~~159997~~)中的返回参数`FolderId`。'."\n"
+ .'- 成员ID,表示搜索指定成员中的资源。成员ID,请参见[ListAccounts](~~160016~~)中的返回参数`AccountId`。', 'type' => 'string', 'required' => true, 'example' => 'rd-r4****'."\n"],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~100。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~100。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
[
'name' => 'TagKey',
'in' => 'query',
- 'schema' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_key',
- ],
+ 'schema' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'test_key'],
],
[
'name' => 'MatchType',
'in' => 'query',
- 'schema' => [
- 'title' => '',
- 'description' => '匹配方式。取值:'."\n"
- ."\n"
- .'- Equals:相等匹配。'."\n"
- .'- Prefix:前缀匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'schema' => ['title' => '', 'description' => '匹配方式。取值:'."\n"
+ ."\n"
+ .'- Equals:相等匹配。'."\n"
+ .'- Prefix:前缀匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
],
],
'responses' => [
@@ -6315,24 +3544,12 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'FA6086F9-6363-51A5-A507-88E3201EBCCB',
- ],
+ 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'FA6086F9-6363-51A5-A507-88E3201EBCCB'],
'TagKeys' => [
'description' => '标签键列表。',
'type' => 'array',
- 'items' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'test_key',
- ],
+ 'items' => ['description' => '标签键。', 'type' => 'string', 'example' => 'test_key'],
],
],
],
@@ -6340,73 +3557,30 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Multi account ResourceCenter service is not enabled.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
],
[
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
- 'errorMessage' => 'The specified folder does not exist.',
- 'description' => '指定文件夹不存在。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
+ ['errorCode' => 'NotExists.ResourceDirectory.FolderId', 'errorMessage' => 'The specified folder does not exist.', 'description' => '指定文件夹不存在。'],
],
409 => [
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MatchType',
- 'errorMessage' => 'The specified parameter MatchType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MatchType', 'errorMessage' => 'The specified parameter MatchType is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****\\",\\n \\"RequestId\\": \\"FA6086F9-6363-51A5-A507-88E3201EBCCB\\",\\n \\"TagKeys\\": [\\n \\"test_key\\"\\n ]\\n}","type":"json"}]',
'title' => '查询多账号标签键',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountTagKeys',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountTagKeys'],
],
],
'ramActions' => [
@@ -6417,12 +3591,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -6431,13 +3600,8 @@
],
'ListMultiAccountTagValues' => [
'summary' => '查询资源目录管理账号或成员中的标签值。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6449,85 +3613,51 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleTXRR94',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleTXRR94'],
],
'parameters' => [
[
'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。更多信息,请参见[GetResourceDirectory](~~159995~~)。'."\n"
- .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
- .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
- .'- 成员ID,表示搜索指定成员中的资源。更多信息,请参见[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rd-r4****',
- ],
+ 'schema' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。更多信息,请参见[GetResourceDirectory](~~159995~~)。'."\n"
+ .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
+ .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
+ .'- 成员ID,表示搜索指定成员中的资源。更多信息,请参见[ListAccounts](~~160016~~)。', 'type' => 'string', 'required' => false, 'example' => 'rd-r4****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~100。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~100。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
[
'name' => 'TagKey',
'in' => 'query',
- 'schema' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test_key',
- ],
+ 'schema' => ['description' => '标签键。', 'type' => 'string', 'required' => true, 'example' => 'test_key'],
],
[
'name' => 'TagValue',
'in' => 'query',
- 'schema' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_value',
- ],
+ 'schema' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'test_value'],
],
[
'name' => 'MatchType',
'in' => 'query',
- 'schema' => [
- 'title' => 'EQUALS: 匹配 (match), TERMS: 术语匹配 (term/terms), PREFIX: 前缀匹配, NOT_EQUALS: 不等于, CONTAINS: 包含, RANGE: 范围匹配, GREATER_THAN: 大于, GREATER_THAN_OR_EQUAL_TO: 大于等于, LESS_THAN: 小于, LESS_THAN_OR_EQUAL_TO: 小于等于, EXISTS: 存在, NOT_EXISTS: 不存在, INVALID: 无效类型, NOT_CONTAINS: 不包含',
- 'description' => '匹配方式。取值:'."\n"
- ."\n"
- .'- Equals:相等匹配。'."\n"
- .'- Prefix:前缀匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'schema' => ['title' => 'EQUALS: 匹配 (match), TERMS: 术语匹配 (term/terms), PREFIX: 前缀匹配, NOT_EQUALS: 不等于, CONTAINS: 包含, RANGE: 范围匹配, GREATER_THAN: 大于, GREATER_THAN_OR_EQUAL_TO: 大于等于, LESS_THAN: 小于, LESS_THAN_OR_EQUAL_TO: 小于等于, EXISTS: 存在, NOT_EXISTS: 不存在, INVALID: 无效类型, NOT_CONTAINS: 不包含', 'description' => '匹配方式。取值:'."\n"
+ ."\n"
+ .'- Equals:相等匹配。'."\n"
+ .'- Prefix:前缀匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
],
],
'responses' => [
@@ -6537,24 +3667,12 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一页查询开始的Token。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '36A3D9BE-B607-5993-B546-7E19EF65DC00',
- ],
+ 'NextToken' => ['description' => '下一页查询开始的Token。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '36A3D9BE-B607-5993-B546-7E19EF65DC00'],
'TagValues' => [
'description' => '标签值列表。',
'type' => 'array',
- 'items' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test_value',
- ],
+ 'items' => ['description' => '标签值。', 'type' => 'string', 'example' => 'test_value'],
],
],
],
@@ -6562,73 +3680,30 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Multi account ResourceCenter service is not enabled.', 'description' => ''],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
],
[
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
- 'errorMessage' => 'The specified folder does not exist.',
- 'description' => '指定文件夹不存在。',
- ],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
+ ['errorCode' => 'NotExists.ResourceDirectory.FolderId', 'errorMessage' => 'The specified folder does not exist.', 'description' => '指定文件夹不存在。'],
],
409 => [
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MatchType',
- 'errorMessage' => 'The specified parameter MatchType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MatchType', 'errorMessage' => 'The specified parameter MatchType is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"36A3D9BE-B607-5993-B546-7E19EF65DC00\\",\\n \\"TagValues\\": [\\n \\"test_value\\"\\n ]\\n}","type":"json"}]',
'title' => '查询多账号标签值',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountTagValues',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountTagValues'],
],
],
'ramActions' => [
@@ -6639,12 +3714,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -6654,13 +3724,8 @@
'ListResourceRelationships' => [
'summary' => '查询当前账号下有权限访问的资源关系。',
'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6668,41 +3733,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '资源地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ACS::ACK::Cluster',
- ],
+ 'schema' => ['description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ACK::Cluster'],
],
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'm-eb3hji****',
- ],
+ 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'm-eb3hji****'],
],
[
'name' => 'RelatedResourceFilter',
@@ -6715,31 +3761,16 @@
'description' => '相关资源过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。取值见下方`支持的过滤参数`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RelatedResourceRegionId',
- ],
+ 'Key' => ['description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'RelatedResourceRegionId'],
'Value' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cb-shanghai'."\n",
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => 'cb-shanghai'."\n"],
'required' => false,
'maxItems' => 200,
'minItems' => 0,
],
- 'MatchType' => [
- 'description' => '匹配方式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'MatchType' => ['description' => '匹配方式。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
],
'required' => false,
],
@@ -6750,30 +3781,16 @@
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n",
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n"],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~500。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~500。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'default' => '20'],
],
],
'responses' => [
@@ -6783,24 +3800,9 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '682A3004-38E3-5122-9A11-CCDFAB9C3C4F',
- ],
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- 'default' => '20',
- ],
- 'NextToken' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '682A3004-38E3-5122-9A11-CCDFAB9C3C4F'],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'default' => '20'],
+ 'NextToken' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
'ResourceRelationships' => [
'description' => '相关资源列表。',
'type' => 'array',
@@ -6808,36 +3810,12 @@
'description' => '相关资源列表。',
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ACK::Cluster',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'm-eb3hji****',
- ],
- 'RelatedResourceRegionId' => [
- 'description' => '相关资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'RelatedResourceType' => [
- 'description' => '相关资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::VPC',
- ],
- 'RelatedResourceId' => [
- 'description' => '相关资源ID。',
- 'type' => 'string',
- 'example' => 'vpc-uf6m5okksddm6c9lh7***',
- ],
+ 'RegionId' => ['description' => '资源地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ACK::Cluster'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'm-eb3hji****'],
+ 'RelatedResourceRegionId' => ['description' => '相关资源地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'RelatedResourceType' => ['description' => '相关资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::VPC'],
+ 'RelatedResourceId' => ['description' => '相关资源ID。', 'type' => 'string', 'example' => 'vpc-uf6m5okksddm6c9lh7***'],
],
],
],
@@ -6847,70 +3825,24 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'errorCode' => 'InvalidParameter.RelatedResourceFilterMatchType',
- 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.',
- 'description' => '参数 RelatedResourceFilterMatchType.n.MatchType 不合法。'."\n",
- ],
- [
- 'errorCode' => 'MissingParameter.RelatedResourceFilterValue',
- 'errorMessage' => 'You must specify RelatedResourceFilterValue.n.Value.',
- 'description' => '缺少参数 RelatedResourceFilterValue.n.Value。',
- ],
- [
- 'errorCode' => 'InvalidParameter.RelatedResourceFilterKey',
- 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.',
- 'description' => '参数 RelatedResourceFilterMatchType.n.RelatedResourceFilterKey 不合法。'."\n",
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
+ ['errorCode' => 'InvalidParameter.RelatedResourceFilterMatchType', 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.', 'description' => '参数 RelatedResourceFilterMatchType.n.MatchType 不合法。'."\n"],
+ ['errorCode' => 'MissingParameter.RelatedResourceFilterValue', 'errorMessage' => 'You must specify RelatedResourceFilterValue.n.Value.', 'description' => '缺少参数 RelatedResourceFilterValue.n.Value。'],
+ ['errorCode' => 'InvalidParameter.RelatedResourceFilterKey', 'errorMessage' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.', 'description' => '参数 RelatedResourceFilterMatchType.n.RelatedResourceFilterKey 不合法。'."\n"],
],
404 => [
- [
- 'errorCode' => 'MissingParameter.RegionId',
- 'errorMessage' => 'The specified parameter RegionId is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceId',
- 'errorMessage' => 'The specified parameter ResourceId is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ExceedLimit.RelatedResourceFilter',
- 'errorMessage' => 'The maximum length of RelatedResourceFilter is exceeded.',
- 'description' => '参数 RelatedResourceFilter 数量超出上限。',
- ],
+ ['errorCode' => 'MissingParameter.RegionId', 'errorMessage' => 'The specified parameter RegionId is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The specified parameter ResourceId is missing.', 'description' => ''],
+ ['errorCode' => 'ExceedLimit.RelatedResourceFilter', 'errorMessage' => 'The maximum length of RelatedResourceFilter is exceeded.', 'description' => '参数 RelatedResourceFilter 数量超出上限。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ExceedLimit.RelatedResourceFilterValue',
- 'errorMessage' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.',
- 'description' => '参数 RelatedResourceFilterValue 数量超出上限。'."\n",
- ],
+ ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => ''],
+ ['errorCode' => 'ExceedLimit.RelatedResourceFilterValue', 'errorMessage' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.', 'description' => '参数 RelatedResourceFilterValue 数量超出上限。'."\n"],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"682A3004-38E3-5122-9A11-CCDFAB9C3C4F\\",\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"ResourceRelationships\\": [\\n {\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceType\\": \\"ACS::ACK::Cluster\\",\\n \\"ResourceId\\": \\"m-eb3hji****\\",\\n \\"RelatedResourceRegionId\\": \\"cn-shanghai\\",\\n \\"RelatedResourceType\\": \\"ACS::VPC::VPC\\",\\n \\"RelatedResourceId\\": \\"vpc-uf6m5okksddm6c9lh7***\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询当前账号的资源关系',
'description' => '- 仅能查询当前账号下有权限访问的资源关系。'."\n"
@@ -6926,12 +3858,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListResourceRelationships',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceRelationships'],
],
],
'ramActions' => [
@@ -6942,25 +3869,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListResourceTypes' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => '查询资源类型元数据。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6968,39 +3886,22 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'AcceptLanguage',
'in' => 'query',
- 'schema' => [
- 'title' => '',
- 'description' => '返回信息的语言类型:'."\n"
- ."\n"
- .'- zh-CN:中文。'."\n"
- .'- en-US:英文。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh-CN',
- ],
+ 'schema' => ['title' => '', 'description' => '返回信息的语言类型:'."\n"
+ ."\n"
+ .'- zh-CN:中文。'."\n"
+ .'- en-US:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh-CN'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '',
- 'description' => '资源类型。'."\n"
- ."\n"
- .'支持资源中心的资源类型,请参见[支持资源中心的云服务及资源类型](~~477798~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::ACK::Cluster',
- ],
+ 'schema' => ['title' => '', 'description' => '资源类型。'."\n"
+ ."\n"
+ .'支持资源中心的资源类型,请参见[支持资源中心的云服务及资源类型](~~477798~~)。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ACK::Cluster'],
],
[
'name' => 'Query',
@@ -7010,19 +3911,14 @@
'title' => '',
'description' => '查询条件。',
'type' => 'array',
- 'items' => [
- 'description' => '查询字段。取值:'."\n"
- ."\n"
- .'- ResourceType:资源类型。'."\n"
- .'- ProductName:云服务名称。'."\n"
- .'- ResourceTypeName:资源类型名称。'."\n"
- .'- FilterKeys:过滤条件。'."\n"
- .'- CodeMapping:资源类型代码映射。'."\n"
- .'- RelatedResourceTypes:相关资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ResourceType',
- ],
+ 'items' => ['description' => '查询字段。取值:'."\n"
+ ."\n"
+ .'- ResourceType:资源类型。'."\n"
+ .'- ProductName:云服务名称。'."\n"
+ .'- ResourceTypeName:资源类型名称。'."\n"
+ .'- FilterKeys:过滤条件。'."\n"
+ .'- CodeMapping:资源类型代码映射。'."\n"
+ .'- RelatedResourceTypes:相关资源类型。', 'type' => 'string', 'required' => false, 'example' => 'ResourceType'],
'required' => false,
'maxItems' => 10,
],
@@ -7035,11 +3931,7 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'E5556E4C-479A-5BBB-B325-F07563E7E917',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E5556E4C-479A-5BBB-B325-F07563E7E917'],
'ResourceTypes' => [
'description' => '资源类型列表。',
'type' => 'array',
@@ -7051,54 +3943,23 @@
'description' => '资源类型代码映射。',
'type' => 'object',
'properties' => [
- 'ResourceGroup' => [
- 'description' => '资源组。',
- 'type' => 'string',
- 'example' => 'cs.cluster',
- ],
- 'Tag' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'cs.cluster',
- ],
+ 'ResourceGroup' => ['description' => '资源组。', 'type' => 'string', 'example' => 'cs.cluster'],
+ 'Tag' => ['description' => '标签。', 'type' => 'string', 'example' => 'cs.cluster'],
],
],
'FilterKeys' => [
'title' => '支持的过滤条件',
'description' => '支持的过滤条件。',
'type' => 'array',
- 'items' => [
- 'description' => '支持的过滤条件。',
- 'type' => 'string',
- 'example' => 'ResourceName',
- ],
- ],
- 'ProductName' => [
- 'title' => '产品名称 (国际化)',
- 'description' => '云服务名称。',
- 'type' => 'string',
- 'example' => '容器服务Kubernetes版',
- ],
- 'ResourceType' => [
- 'title' => '资源类型fullCode ACS::ECS::Instance',
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ACK::Cluster',
- ],
- 'ResourceTypeName' => [
- 'title' => '资源类型名称',
- 'description' => '资源类型名称。',
- 'type' => 'string',
- 'example' => '集群',
+ 'items' => ['description' => '支持的过滤条件。', 'type' => 'string', 'example' => 'ResourceName'],
],
+ 'ProductName' => ['title' => '产品名称 (国际化)', 'description' => '云服务名称。', 'type' => 'string', 'example' => 'Container Service for Kubernetes'],
+ 'ResourceType' => ['title' => '资源类型fullCode ACS::ECS::Instance', 'description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::ACK::Cluster'],
+ 'ResourceTypeName' => ['title' => '资源类型名称', 'description' => '资源类型名称。', 'type' => 'string', 'example' => 'Cluster'],
'RelatedResourceTypes' => [
'description' => '支持的相关资源类型。',
'type' => 'array',
- 'items' => [
- 'description' => '支持的相关资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::ACK::Cluster',
- ],
+ 'items' => ['description' => '支持的相关资源类型。', 'type' => 'string', 'example' => 'ACS::ACK::Cluster'],
],
],
],
@@ -7109,45 +3970,25 @@
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'InvalidParameter.Query',
- 'errorMessage' => 'The specified parameter Query is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceType',
- 'errorMessage' => 'The specified parameter ResourceType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.Query', 'errorMessage' => 'The specified parameter Query is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceType', 'errorMessage' => 'The specified parameter ResourceType is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5556E4C-479A-5BBB-B325-F07563E7E917\\",\\n \\"ResourceTypes\\": [\\n {\\n \\"CodeMapping\\": {\\n \\"ResourceGroup\\": \\"cs.cluster\\",\\n \\"Tag\\": \\"cs.cluster\\"\\n },\\n \\"FilterKeys\\": [\\n \\"ResourceName\\"\\n ],\\n \\"ProductName\\": \\"Container Service for Kubernetes\\",\\n \\"ResourceType\\": \\"ACS::ACK::Cluster\\",\\n \\"ResourceTypeName\\": \\"Cluster\\",\\n \\"RelatedResourceTypes\\": [\\n \\"ACS::ACK::Cluster\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询资源中心支持的资源类型',
- 'summary' => '查询资源类型元数据。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListResourceTypes',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceTypes'],
],
],
'ramActions' => [],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E5556E4C-479A-5BBB-B325-F07563E7E917\\",\\n \\"ResourceTypes\\": [\\n {\\n \\"CodeMapping\\": {\\n \\"ResourceGroup\\": \\"cs.cluster\\",\\n \\"Tag\\": \\"cs.cluster\\"\\n },\\n \\"FilterKeys\\": [\\n \\"ResourceName\\"\\n ],\\n \\"ProductName\\": \\"容器服务Kubernetes版\\",\\n \\"ResourceType\\": \\"ACS::ACK::Cluster\\",\\n \\"ResourceTypeName\\": \\"集群\\",\\n \\"RelatedResourceTypes\\": [\\n \\"ACS::ACK::Cluster\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
],
'ListSavedQueries' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => '列出所有的自定义查询模板。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7155,37 +3996,21 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~50。'."\n"
- ."\n"
- .'默认值:50。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- 'pattern' => '^\\d+$',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~50。'."\n"
+ ."\n"
+ .'默认值:50。', 'type' => 'string', 'required' => false, 'example' => '10', 'pattern' => '^\\d+$'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
],
'responses' => [
@@ -7194,21 +4019,9 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
- ],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'string', 'example' => '10'],
+ 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0'],
'SavedQueries' => [
'description' => '自定义查询模板信息。',
'type' => 'array',
@@ -7216,32 +4029,11 @@
'description' => '自定义查询模板信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '创建时间(UTC时间)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2022-01-13T05:50:35Z',
- ],
- 'Description' => [
- 'description' => '模板描述。',
- 'type' => 'string',
- 'example' => '查询我的所有资源,返回所有的列。',
- ],
- 'Name' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '查询我的所有资源。',
- ],
- 'QueryId' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'example' => 'cq-GeAck****',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间(UTC时间)。',
- 'type' => 'string',
- 'example' => '2023-03-14 10:27:07',
- ],
+ 'CreateTime' => ['description' => '创建时间(UTC时间)。', 'type' => 'string', 'required' => false, 'example' => '2022-01-13T05:50:35Z'],
+ 'Description' => ['description' => '模板描述。', 'type' => 'string', 'example' => 'Query all my resources and return all columns.'],
+ 'Name' => ['description' => '模板名称。', 'type' => 'string', 'example' => 'Query all my resources.'],
+ 'QueryId' => ['description' => '模板ID。', 'type' => 'string', 'example' => 'cq-GeAck****'],
+ 'UpdateTime' => ['description' => '更新时间(UTC时间)。', 'type' => 'string', 'example' => '2023-03-14 10:27:07'],
],
],
],
@@ -7251,27 +4043,16 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxResults\\": \\"10\\",\\n \\"NextToken\\": \\"AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"SavedQueries\\": [\\n {\\n \\"CreateTime\\": \\"2022-01-13T05:50:35Z\\",\\n \\"Description\\": \\"Query all my resources and return all columns.\\",\\n \\"Name\\": \\"Query all my resources.\\",\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"UpdateTime\\": \\"2023-03-14 10:27:07\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '列出所有的自定义查询模板',
- 'summary' => '列出所有的自定义查询模板。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListSavedQueries',
- ],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSavedQueries'],
],
],
'ramActions' => [
@@ -7282,28 +4063,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxResults\\": \\"10\\",\\n \\"NextToken\\": \\"AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"SavedQueries\\": [\\n {\\n \\"CreateTime\\": \\"2022-01-13T05:50:35Z\\",\\n \\"Description\\": \\"查询我的所有资源,返回所有的列。\\",\\n \\"Name\\": \\"查询我的所有资源。\\",\\n \\"QueryId\\": \\"cq-GeAck****\\",\\n \\"UpdateTime\\": \\"2023-03-14 10:27:07\\"\\n }\\n ]\\n}","type":"json"}]',
],
'ListTagKeys' => [
'summary' => '查询当前账号下的标签键。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7315,62 +4084,38 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleWFHZOY',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleWFHZOY'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~100。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~100。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AAAAAUYb00R0gHZBE8FVDeoh2ME93VeeEPUHs****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'AAAAAUYb00R0gHZBE8FVDeoh2ME93VeeEPUHs****'],
],
[
'name' => 'TagKey',
'in' => 'query',
- 'schema' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_key',
- ],
+ 'schema' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'test_key'],
],
[
'name' => 'MatchType',
'in' => 'query',
- 'schema' => [
- 'title' => '',
- 'description' => '匹配方式。取值:'."\n"
- ."\n"
- .'- Equals:相等匹配。'."\n"
- .'- Prefix:前缀匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'schema' => ['title' => '', 'description' => '匹配方式。取值:'."\n"
+ ."\n"
+ .'- Equals:相等匹配。'."\n"
+ .'- Prefix:前缀匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
],
],
'responses' => [
@@ -7380,24 +4125,12 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一个查询开始Token。',
- 'type' => 'string',
- 'example' => 'AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '44C8A952-D6B0-5BC8-82D5-93BA02E26F2E',
- ],
+ 'NextToken' => ['description' => '下一个查询开始Token。', 'type' => 'string', 'example' => 'AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '44C8A952-D6B0-5BC8-82D5-93BA02E26F2E'],
'TagKeys' => [
'description' => '标签键列表。',
'type' => 'array',
- 'items' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'test_key',
- ],
+ 'items' => ['description' => '标签键。', 'type' => 'string', 'example' => 'test_key'],
],
],
],
@@ -7405,38 +4138,19 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.MatchType',
- 'errorMessage' => 'The specified parameter MatchType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.MatchType', 'errorMessage' => 'The specified parameter MatchType is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '查询标签键',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListTagKeys',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'],
],
],
'ramActions' => [
@@ -7447,12 +4161,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7461,13 +4170,8 @@
],
'ListTagValues' => [
'summary' => '查询当前账号下的标签值。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7479,71 +4183,42 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleBIZ0IQ',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleBIZ0IQ'],
],
'parameters' => [
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~100。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~100。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
[
'name' => 'TagKey',
'in' => 'query',
- 'schema' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test_key',
- ],
+ 'schema' => ['description' => '标签键。', 'type' => 'string', 'required' => true, 'example' => 'test_key'],
],
[
'name' => 'TagValue',
'in' => 'query',
- 'schema' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test_value',
- ],
+ 'schema' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'test_value'],
],
[
'name' => 'MatchType',
'in' => 'query',
- 'schema' => [
- 'title' => '',
- 'description' => '匹配方式。取值:'."\n"
- ."\n"
- .'- Equals:相等匹配。'."\n"
- .'- Prefix:前缀匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'schema' => ['title' => '', 'description' => '匹配方式。取值:'."\n"
+ ."\n"
+ .'- Equals:相等匹配。'."\n"
+ .'- Prefix:前缀匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
],
],
'responses' => [
@@ -7553,24 +4228,12 @@
'description' => '返回结果。',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C1840B83-1193-5E83-AFA6-4B8D303E29F5',
- ],
+ 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C1840B83-1193-5E83-AFA6-4B8D303E29F5'],
'TagValues' => [
'description' => '标签值列表。',
'type' => 'array',
- 'items' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test_value',
- ],
+ 'items' => ['description' => '标签值。', 'type' => 'string', 'example' => 'test_value'],
],
],
],
@@ -7578,39 +4241,20 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.MatchType',
- 'errorMessage' => 'The specified parameter MatchType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.MatchType', 'errorMessage' => 'The specified parameter MatchType is not valid.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"C1840B83-1193-5E83-AFA6-4B8D303E29F5\\",\\n \\"TagValues\\": [\\n \\"test_value\\"\\n ]\\n}","type":"json"}]',
'title' => '查询标签值',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListTagValues',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'],
],
],
'ramActions' => [
@@ -7621,12 +4265,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -7634,14 +4273,8 @@
],
'SearchMultiAccountResources' => [
'summary' => '搜索资源目录管理账号和多个成员中的资源。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7653,56 +4286,33 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREentconsoleYAPP2M',
- ],
+ 'abilityTreeNodes' => ['FEATUREentconsoleYAPP2M'],
],
'parameters' => [
[
'name' => 'Scope',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。更多信息,请参见[GetResourceDirectory](~~159995~~)。'."\n"
- .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
- .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
- .'- 成员ID,表示搜索指定成员中的资源。更多信息,请参见[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rd-r4****',
- ],
+ 'schema' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。更多信息,请参见[GetResourceDirectory](~~159995~~)。'."\n"
+ .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
+ .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。更多信息,请参见[ListFoldersForParent](~~159997~~)。'."\n"
+ .'- 成员ID,表示搜索指定成员中的资源。更多信息,请参见[ListAccounts](~~160016~~)。', 'type' => 'string', 'required' => true, 'example' => 'rd-r4****'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~100。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '100',
- 'exclusiveMaximum' => false,
- 'minimum' => '1',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~100。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'exclusiveMaximum' => false, 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '10', 'default' => '20'],
],
[
'name' => 'Filter',
@@ -7715,29 +4325,14 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。取值见下方`支持的过滤参数`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ResourceGroupId',
- ],
- 'MatchType' => [
- 'description' => '匹配方式。'."\n"
- ."\n"
- .'取值为Equals,表示相等匹配。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'Key' => ['description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'ResourceGroupId'],
+ 'MatchType' => ['description' => '匹配方式。'."\n"
+ ."\n"
+ .'取值为Equals,表示相等匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
'Value' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzmrjn4ns****',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzmrjn4ns****'],
'required' => false,
'maxItems' => 200,
],
@@ -7756,23 +4351,13 @@
'description' => '排序参数。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '排序条件。'."\n"
- ."\n"
- .'取值为CreateTime,表示按资源创建时间排序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CreateTime',
- ],
- 'Order' => [
- 'description' => '排序顺序。取值:'."\n"
- ."\n"
- .'- ASC(默认值):升序。'."\n"
- .'- DESC:降序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ASC',
- ],
+ 'Key' => ['description' => '排序条件。'."\n"
+ ."\n"
+ .'取值为CreateTime,表示按资源创建时间排序。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'],
+ 'Order' => ['description' => '排序顺序。取值:'."\n"
+ ."\n"
+ .'- ASC(默认值):升序。'."\n"
+ .'- DESC:降序。', 'type' => 'string', 'required' => false, 'example' => 'ASC'],
],
'required' => false,
],
@@ -7791,44 +4376,19 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。',
- 'type' => 'string',
- 'example' => 'RegionId',
- ],
- 'MatchType' => [
- 'description' => '匹配方式。',
- 'type' => 'string',
- 'example' => 'Equals',
- ],
+ 'Key' => ['description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId'],
+ 'MatchType' => ['description' => '匹配方式。', 'type' => 'string', 'example' => 'Equals'],
'Values' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
],
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'example' => '查询返回结果下一页的令牌。',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57',
- ],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NextToken' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57'],
'Resources' => [
'description' => '资源信息。',
'type' => 'array',
@@ -7836,23 +4396,11 @@
'description' => '资源信息。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '资源目录管理账号ID或成员账号ID。',
- 'type' => 'string',
- 'example' => '151266687691****',
- ],
- 'CreateTime' => [
- 'description' => '资源的创建时间。'."\n"
- ."\n"
- .'> 资源是否返回该参数,由所属的云服务决定。',
- 'type' => 'string',
- 'example' => '2021-06-30T09:20:08Z',
- ],
- 'ExpireTime' => [
- 'description' => '资源过期时间。',
- 'type' => 'string',
- 'example' => '2023-06-14T14:35:45Z',
- ],
+ 'AccountId' => ['description' => '资源目录管理账号ID或成员账号ID。', 'type' => 'string', 'example' => '151266687691****'],
+ 'CreateTime' => ['description' => '资源的创建时间。'."\n"
+ ."\n"
+ .'> 资源是否返回该参数,由所属的云服务决定。', 'type' => 'string', 'example' => '2021-06-30T09:20:08Z'],
+ 'ExpireTime' => ['description' => '资源过期时间。', 'type' => 'string', 'example' => '2023-06-14T14:35:45Z'],
'IpAddressAttributes' => [
'description' => 'IP地址属性。',
'type' => 'array',
@@ -7860,23 +4408,11 @@
'description' => 'IP地址属性。',
'type' => 'object',
'properties' => [
- 'IpAddress' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- 'NetworkType' => [
- 'description' => '网络类型,取值:'."\n"
- .'- **Public**:公网。'."\n"
- .'- **Private**:私网。',
- 'type' => 'string',
- 'example' => 'Public',
- ],
- 'Version' => [
- 'description' => 'IP地址的版本。',
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
+ 'IpAddress' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '192.168.1.2'],
+ 'NetworkType' => ['description' => '网络类型,取值:'."\n"
+ .'- **Public**:公网。'."\n"
+ .'- **Private**:私网。', 'type' => 'string', 'example' => 'Public'],
+ 'Version' => ['description' => 'IP地址的版本。', 'type' => 'string', 'example' => 'Ipv4'],
],
],
],
@@ -7885,39 +4421,15 @@
."\n"
.'> 资源是否返回该参数,由所属的云服务决定。',
'type' => 'array',
- 'items' => [
- 'description' => 'IP地址。'."\n"
- ."\n"
- .'> 资源是否返回该参数,由所属的云服务决定。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- ],
- 'RegionId' => [
- 'description' => '资源地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmzawhxxc**** '."\n",
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'vtb-bp11lbh452fr8940s****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'group1',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::RouteTable',
+ 'items' => ['description' => 'IP地址。'."\n"
+ ."\n"
+ .'> 资源是否返回该参数,由所属的云服务决定。', 'type' => 'string', 'example' => '192.168.1.2'],
],
+ 'RegionId' => ['description' => '资源地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzawhxxc**** '."\n"],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'vtb-bp11lbh452fr8940s****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'group1'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::RouteTable'],
'Tags' => [
'description' => '标签。',
'type' => 'array',
@@ -7925,120 +4437,54 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'test_key',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test_value',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'test_key'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'test_value'],
],
],
],
- 'ZoneId' => [
- 'description' => '可用区ID。'."\n"
- ."\n"
- .'> 资源是否返回该参数,由所属的云服务决定。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-k',
- ],
+ 'ZoneId' => ['description' => '可用区ID。'."\n"
+ ."\n"
+ .'> 资源是否返回该参数,由所属的云服务决定。', 'type' => 'string', 'example' => 'cn-hangzhou-k'],
],
],
],
- 'Scope' => [
- 'description' => '搜索的账号范围。取值: '."\n"
- .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。'."\n"
- .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
- .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。'."\n"
- .'- 成员ID,表示搜索指定成员中的资源。',
- 'type' => 'string',
- 'example' => 'rd-r4****'."\n",
- ],
+ 'Scope' => ['description' => '搜索的账号范围。取值: '."\n"
+ .'- 资源目录ID,表示搜索管理账号和所有成员中的资源。'."\n"
+ .'- Root资源夹ID,表示搜索Root资源夹及子资源夹下的所有成员中的资源。'."\n"
+ .'- 资源夹ID,表示搜索指定资源夹下所有成员中的资源。'."\n"
+ .'- 成员ID,表示搜索指定成员中的资源。', 'type' => 'string', 'example' => 'rd-r4****'."\n"],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'errorCode' => 'MultiAccountServiceNotEnabled',
- 'errorMessage' => 'Multi account ResourceCenter service is not enabled.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.Filter.ResourceType',
- 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
+ ['errorCode' => 'MultiAccountServiceNotEnabled', 'errorMessage' => 'Multi account ResourceCenter service is not enabled.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Filter.ResourceType', 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Filter.CreateTime', 'errorMessage' => 'The specified parameter Filter.n.CreateTime is not valid.', 'description' => '参数 Filter.n.CreateTime 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.IpAddress', 'errorMessage' => 'The specified parameter Filter.n.IpAddress is not valid.', 'description' => '参数 Filter.n.IpAddress 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.Tag', 'errorMessage' => 'The specified parameter Filter.n.Tag is not valid.', 'description' => '参数 Filter.n.Tag 不合法。'],
],
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
],
[
- [
- 'errorCode' => 'NotExists.Resource',
- 'errorMessage' => 'The specified resource does not exist.',
- 'description' => '指定资源不存在。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory',
- 'errorMessage' => 'The resource directory for the account is not enabled.',
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'errorCode' => 'NotExists.ResourceDirectory.FolderId',
- 'errorMessage' => 'The specified folder does not exist.',
- 'description' => '指定文件夹不存在。',
- ],
+ ['errorCode' => 'NotExists.Resource', 'errorMessage' => 'The specified resource does not exist.', 'description' => '指定资源不存在。'],
+ ['errorCode' => 'NotExists.ResourceDirectory', 'errorMessage' => 'The resource directory for the account is not enabled.', 'description' => '当前账号未开通资源目录。'],
+ ['errorCode' => 'NotExists.ResourceDirectory.FolderId', 'errorMessage' => 'The specified folder does not exist.', 'description' => '指定文件夹不存在。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.Scope',
- 'errorMessage' => 'The Scope is invalid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.SortCriterion.Key',
- 'errorMessage' => 'The specified parameter SortCriterion.Key is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ExceedLimit.Filter',
- 'errorMessage' => 'The maximum length of Filters is exceeded.',
- 'description' => '参数 Filter 数量超出上限。',
- ],
- [
- 'errorCode' => 'ServiceNotEnabled.SpecifiedAccount',
- 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.',
- 'description' => '',
- ],
+ ['errorCode' => 'InvalidParameter.Scope', 'errorMessage' => 'The Scope is invalid.', 'description' => ''],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.SortCriterion.Key', 'errorMessage' => 'The specified parameter SortCriterion.Key is not valid.', 'description' => ''],
+ ['errorCode' => 'ExceedLimit.Filter', 'errorMessage' => 'The maximum length of Filters is exceeded.', 'description' => '参数 Filter 数量超出上限。'],
+ ['errorCode' => 'ServiceNotEnabled.SpecifiedAccount', 'errorMessage' => 'ResourceCenter service of the specified account is not enabled.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"MatchType\\": \\"Equals\\",\\n \\"Values\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\",\\n \\"Resources\\": [\\n {\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2023-06-14T14:35:45Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\\\t\\\\n\\",\\n \\"ResourceId\\": \\"vtb-bp11lbh452fr8940s****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n ],\\n \\"Scope\\": \\"rd-r4****\\\\n\\"\\n}","type":"json"}]',
'title' => '搜索多账号的资源',
'description' => '- 仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
.'- 如果您使用的是RAM用户账号或者RAM角色,需要被授予SearchMultiAccountResources接口的权限才能执行跨账号资源搜索操作。更多信息,请参见[RAM用户使用资源中心](~~600556~~)。'."\n"
@@ -8061,12 +4507,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'SearchMultiAccountResources',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchMultiAccountResources'],
],
],
'ramActions' => [
@@ -8077,29 +4518,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"MatchType\\": \\"Equals\\",\\n \\"Values\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"查询返回结果下一页的令牌。\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\",\\n \\"Resources\\": [\\n {\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2023-06-14T14:35:45Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\\\t\\\\n\\",\\n \\"ResourceId\\": \\"vtb-bp11lbh452fr8940s****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n ],\\n \\"Scope\\": \\"rd-r4****\\\\n\\"\\n}","type":"json"}]',
],
'SearchResources' => [
- 'summary' => '搜索当前账号下有权限访问的资源。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8107,41 +4535,23 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '查询返回结果下一页的令牌。'."\n"
- ."\n"
- .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****',
- ],
+ 'schema' => ['description' => '查询返回结果下一页的令牌。'."\n"
+ ."\n"
+ .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '每页的最大数据条数。'."\n"
- ."\n"
- .'取值范围:1~500。'."\n"
- ."\n"
- .'默认值:20。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '500',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '20',
- ],
+ 'schema' => ['description' => '每页的最大数据条数。'."\n"
+ ."\n"
+ .'取值范围:1~500。'."\n"
+ ."\n"
+ .'默认值:20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '500', 'minimum' => '1', 'example' => '10', 'default' => '20'],
],
[
'name' => 'Filter',
@@ -8154,35 +4564,20 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。取值见下方`支持的过滤参数`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RegionId',
- ],
- 'MatchType' => [
- 'description' => '匹配方式。'."\n"
- ."\n"
- .'取值:'."\n"
- .'- Equals,表示相等匹配。'."\n"
- .'- Prefix,表示前缀匹配。'."\n"
- .'- Contains,表示包含某值。'."\n"
- .'- NotContains,表示不包含某值。'."\n"
- .'- Exists,表示存在。'."\n"
- .'- NotExists,表示不存在。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Equals',
- ],
+ 'Key' => ['description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'RegionId'],
+ 'MatchType' => ['description' => '匹配方式。'."\n"
+ ."\n"
+ .'取值:'."\n"
+ .'- Equals,表示相等匹配。'."\n"
+ .'- Prefix,表示前缀匹配。'."\n"
+ .'- Contains,表示包含某值。'."\n"
+ .'- NotContains,表示不包含某值。'."\n"
+ .'- Exists,表示存在。'."\n"
+ .'- NotExists,表示不存在。', 'type' => 'string', 'required' => false, 'example' => 'Equals'],
'Value' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '过滤条件值。',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => '过滤条件值。'],
'required' => false,
'maxItems' => 200,
],
@@ -8196,12 +4591,7 @@
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmzawhxxc****',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzawhxxc****'],
],
[
'name' => 'SortCriterion',
@@ -8211,23 +4601,13 @@
'description' => '排序参数。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '排序条件。'."\n"
- ."\n"
- .'取值:CreateTime,表示按资源创建时间排序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CreateTime',
- ],
- 'Order' => [
- 'description' => '排序顺序。取值:'."\n"
- ."\n"
- .'- ASC(默认值):升序。'."\n"
- .'- DESC:降序。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ASC',
- ],
+ 'Key' => ['description' => '排序条件。'."\n"
+ ."\n"
+ .'取值:CreateTime,表示按资源创建时间排序。', 'type' => 'string', 'required' => false, 'example' => 'CreateTime'],
+ 'Order' => ['description' => '排序顺序。取值:'."\n"
+ ."\n"
+ .'- ASC(默认值):升序。'."\n"
+ .'- DESC:降序。', 'type' => 'string', 'required' => false, 'example' => 'ASC'],
],
'required' => false,
],
@@ -8235,23 +4615,13 @@
[
'name' => 'SearchExpression',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索关键词。资源中心会根据相关性对搜索结果进行过滤和排序。'."\n"
- .'当不指定排序参数时,默认优先展示与关键词匹配度更高的资源。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'keywords',
- ],
+ 'schema' => ['description' => '搜索关键词。资源中心会根据相关性对搜索结果进行过滤和排序。'."\n"
+ .'当不指定排序参数时,默认优先展示与关键词匹配度更高的资源。', 'type' => 'string', 'required' => false, 'example' => 'keywords'],
],
[
'name' => 'IncludeDeletedResources',
'in' => 'query',
- 'schema' => [
- 'description' => '是否包含已删除资源。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否包含已删除资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -8267,44 +4637,19 @@
'description' => '过滤条件。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '过滤条件键。',
- 'type' => 'string',
- 'example' => 'RegionId',
- ],
- 'MatchType' => [
- 'description' => '匹配方式。',
- 'type' => 'string',
- 'example' => 'Equals',
- ],
+ 'Key' => ['description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId'],
+ 'MatchType' => ['description' => '匹配方式。', 'type' => 'string', 'example' => 'Equals'],
'Values' => [
'description' => '过滤条件值。',
'type' => 'array',
- 'items' => [
- 'description' => '过滤条件值。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
+ 'items' => ['description' => '过滤条件值。', 'type' => 'string', 'example' => 'cn-hangzhou'],
],
],
],
],
- 'MaxResults' => [
- 'description' => '每页的最大数据条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '查询返回结果下一页的令牌。',
- 'type' => 'string',
- 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n",
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
- ],
+ 'MaxResults' => ['description' => '每页的最大数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NextToken' => ['description' => '查询返回结果下一页的令牌。', 'type' => 'string', 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n"],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0'],
'Resources' => [
'description' => '资源信息。',
'type' => 'array',
@@ -8312,23 +4657,11 @@
'description' => '资源信息。',
'type' => 'object',
'properties' => [
- 'AccountId' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'string',
- 'example' => '151266687691****',
- ],
- 'CreateTime' => [
- 'description' => '资源的创建时间。'."\n"
- ."\n"
- .'> 资源是否返回该参数,由所属的云服务决定。',
- 'type' => 'string',
- 'example' => '2021-06-30T09:20:08Z',
- ],
- 'ExpireTime' => [
- 'description' => '资源过期时间。',
- 'type' => 'string',
- 'example' => '2021-07-30T09:20:08Z',
- ],
+ 'AccountId' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '151266687691****'],
+ 'CreateTime' => ['description' => '资源的创建时间。'."\n"
+ ."\n"
+ .'> 资源是否返回该参数,由所属的云服务决定。', 'type' => 'string', 'example' => '2021-06-30T09:20:08Z'],
+ 'ExpireTime' => ['description' => '资源过期时间。', 'type' => 'string', 'example' => '2021-07-30T09:20:08Z'],
'IpAddressAttributes' => [
'description' => 'IP地址属性。',
'type' => 'array',
@@ -8336,23 +4669,11 @@
'description' => 'IP地址属性。',
'type' => 'object',
'properties' => [
- 'IpAddress' => [
- 'description' => 'IP地址。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- 'NetworkType' => [
- 'description' => '网络类型,取值:'."\n"
- .'- **Public**:公网。'."\n"
- .'- **Private**:私网。',
- 'type' => 'string',
- 'example' => 'Public',
- ],
- 'Version' => [
- 'description' => 'IP地址的版本。',
- 'type' => 'string',
- 'example' => 'Ipv4',
- ],
+ 'IpAddress' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '192.168.1.2'],
+ 'NetworkType' => ['description' => '网络类型,取值:'."\n"
+ .'- **Public**:公网。'."\n"
+ .'- **Private**:私网。', 'type' => 'string', 'example' => 'Public'],
+ 'Version' => ['description' => 'IP地址的版本。', 'type' => 'string', 'example' => 'Ipv4'],
],
],
],
@@ -8361,39 +4682,15 @@
."\n"
.'> 资源是否返回该参数,由所属的云服务决定。',
'type' => 'array',
- 'items' => [
- 'description' => 'IP地址。'."\n"
- ."\n"
- .'> 资源是否返回该参数,由所属的云服务决定。',
- 'type' => 'string',
- 'example' => '192.168.1.2',
- ],
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmzawhxxc****',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'vtb-bp11lbh452fr8940s****',
- ],
- 'ResourceName' => [
- 'description' => '资源名称。',
- 'type' => 'string',
- 'example' => 'group1',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'ACS::VPC::RouteTable',
+ 'items' => ['description' => 'IP地址。'."\n"
+ ."\n"
+ .'> 资源是否返回该参数,由所属的云服务决定。', 'type' => 'string', 'example' => '192.168.1.2'],
],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzawhxxc****'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'vtb-bp11lbh452fr8940s****'],
+ 'ResourceName' => ['description' => '资源名称。', 'type' => 'string', 'example' => 'group1'],
+ 'ResourceType' => ['description' => '资源类型。', 'type' => 'string', 'example' => 'ACS::VPC::RouteTable'],
'Tags' => [
'description' => '标签。',
'type' => 'array',
@@ -8401,31 +4698,15 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'test_key',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test_value',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'test_key'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'test_value'],
],
],
],
- 'ZoneId' => [
- 'description' => '可用区ID。'."\n"
- ."\n"
- .'> 资源是否返回该参数,由所属的云服务决定。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-k',
- ],
- 'Deleted' => [
- 'description' => '是否已经删除',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'ZoneId' => ['description' => '可用区ID。'."\n"
+ ."\n"
+ .'> 资源是否返回该参数,由所属的云服务决定。', 'type' => 'string', 'example' => 'cn-hangzhou-k'],
+ 'Deleted' => ['description' => '是否已经删除', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -8435,37 +4716,20 @@
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.MaxResults',
- 'errorMessage' => 'The specified parameter MaxResults is not valid.',
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'errorCode' => 'InvalidParameter.Filter.ResourceType',
- 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.MaxResults', 'errorMessage' => 'The specified parameter MaxResults is not valid.', 'description' => '参数 MaxResults 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.ResourceType', 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.Filter.IpAddress', 'errorMessage' => 'The specified parameter Filter.n.IpAddress is not valid.', 'description' => '参数 Filter.n.IpAddress 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.Tag', 'errorMessage' => 'The specified parameter Filter.n.Tag is not valid.', 'description' => '参数 Filter.n.Tag 不合法。'],
+ ['errorCode' => 'InvalidParameter.Filter.CreateTime', 'errorMessage' => 'The specified parameter Filter.n.CreateTime is not valid.', 'description' => '参数 Filter.n.CreateTime 不合法。'],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.SortCriterion.Key',
- 'errorMessage' => 'The specified parameter SortCriterion.Key is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'ExceedLimit.Filter',
- 'errorMessage' => 'The maximum length of Filters is exceeded.',
- 'description' => '参数 Filter 数量超出上限。',
- ],
+ ['errorCode' => 'InvalidParameter.SortCriterion.Key', 'errorMessage' => 'The specified parameter SortCriterion.Key is not valid.', 'description' => ''],
+ ['errorCode' => 'ExceedLimit.Filter', 'errorMessage' => 'The maximum length of Filters is exceeded.', 'description' => '参数 Filter 数量超出上限。'],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"MatchType\\": \\"Equals\\",\\n \\"Values\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\\\t\\\\n\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"Resources\\": [\\n {\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2021-07-30T09:20:08Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\",\\n \\"ResourceId\\": \\"vtb-bp11lbh452fr8940s****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\",\\n \\"Deleted\\": true\\n }\\n ]\\n}","type":"json"}]',
'title' => '搜索当前账号的资源',
+ 'summary' => '搜索当前账号下有权限访问的资源。',
'description' => '- 仅能搜索当前账号下有权限访问的资源。'."\n"
.'- 仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
.'- SearchResources接口默认最多返回20条数据,您可以通过指定`MaxResults`参数调整最大返回条目数。'."\n"
@@ -8487,12 +4751,7 @@
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'SearchResources',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchResources'],
],
],
'ramActions' => [
@@ -8503,26 +4762,17 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"MatchType\\": \\"Equals\\",\\n \\"Values\\": [\\n \\"cn-hangzhou\\"\\n ]\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\\\t\\\\n\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"Resources\\": [\\n {\\n \\"AccountId\\": \\"151266687691****\\",\\n \\"CreateTime\\": \\"2021-06-30T09:20:08Z\\",\\n \\"ExpireTime\\": \\"2021-07-30T09:20:08Z\\",\\n \\"IpAddressAttributes\\": [\\n {\\n \\"IpAddress\\": \\"192.168.1.2\\",\\n \\"NetworkType\\": \\"Public\\",\\n \\"Version\\": \\"Ipv4\\"\\n }\\n ],\\n \\"IpAddresses\\": [\\n \\"192.168.1.2\\"\\n ],\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\",\\n \\"ResourceId\\": \\"vtb-bp11lbh452fr8940s****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::VPC::RouteTable\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\",\\n \\"Deleted\\": true\\n }\\n ]\\n}","type":"json"}]',
],
'UpdateDeliveryChannel' => [
'summary' => '更新当前账号资源投递渠道。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -8530,41 +4780,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dc-4m6ffpkgu***',
- ],
+ 'schema' => ['description' => '投递渠道ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-4m6ffpkgu***'],
],
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-delivery-channel',
- ],
+ 'schema' => ['description' => '投递渠道名称。', 'type' => 'string', 'required' => false, 'example' => 'test-delivery-channel'],
],
[
'name' => 'DeliveryChannelDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '投递描述',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'Delivery description'],
],
[
'name' => 'ResourceSnapshotDelivery',
@@ -8574,29 +4805,14 @@
'description' => '资源快照定时投递。',
'type' => 'object',
'properties' => [
- 'DeliveryTime' => [
- 'description' => '投递时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:00Z',
- ],
- 'Enabled' => [
- 'description' => '是否开启资源快照定时投递。取值:'."\n"
- ."\n"
- .'- true:开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'true',
- ],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'DeliveryTime' => ['description' => '投递时间。', 'type' => 'string', 'required' => false, 'example' => '09:00Z'],
+ 'Enabled' => ['description' => '是否开启资源快照定时投递。取值:'."\n"
+ ."\n"
+ .'- true:开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'required' => false, 'example' => 'true'],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
'TargetType' => [
'description' => '投递目标类型。取值:'."\n"
."\n"
@@ -8605,32 +4821,19 @@
.'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- 'OSS' => 'OSS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS', 'OSS' => 'OSS'],
'example' => 'OSS',
],
- 'CustomExpression' => [
- 'description' => '自定义表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'select * from resources limit 100;',
- ],
+ 'CustomExpression' => ['description' => '自定义表达式。', 'type' => 'string', 'required' => false, 'example' => 'select * from resources limit 100;'],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- ."\n"
- .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ ."\n"
+ .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n"],
],
'required' => false,
],
@@ -8646,46 +4849,29 @@
'description' => '资源配置变更投递。',
'type' => 'object',
'properties' => [
- 'Enabled' => [
- 'description' => '是否开启资源配置变更投递。取值:'."\n"
- .'- true:开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'Enabled' => ['description' => '是否开启资源配置变更投递。取值:'."\n"
+ .'- true:开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'required' => false, 'example' => 'true'],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n"],
],
'required' => false,
],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls',
- ],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'],
'TargetType' => [
'description' => '投递目标类型。'."\n"
."\n"
.'取值:`SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS'],
'example' => 'SLS',
],
],
@@ -8703,14 +4889,9 @@
'ResourceTypes' => [
'description' => '投递的资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
- ."\n"
- .'如需投递资源中心支持的所有资源类型,请传入`ALL`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::VPC::VPC',
- ],
+ 'items' => ['description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
+ ."\n"
+ .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC'],
'required' => false,
],
],
@@ -8725,142 +4906,44 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A482***',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AD5F848D-CCDC-5464-93E1-4BA50A482***'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission.ResourceType',
- 'errorMessage' => 'The operator is not permitted for this resource type.',
- 'description' => '当前用户未授权操作此资源类型。',
- ],
+ ['errorCode' => 'NoPermission.ResourceType', 'errorMessage' => 'The operator is not permitted for this resource type.', 'description' => '当前用户未授权操作此资源类型。'],
],
[
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryName',
- 'errorMessage' => 'The specified parameter DeliveryName is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
- 'description' => '',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
+ ['errorCode' => 'MissingParameter.DeliveryName', 'errorMessage' => 'The specified parameter DeliveryName is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.', 'description' => ''],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'AlreadyExists.DeliveryName',
- 'errorMessage' => 'The DeliveryName Name already exists.',
- 'description' => '投递名称已经存在。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryDescription',
- 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
- 'description' => '参数 DeliveryFilter.AccountScopes 无效。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.CustomExpression',
- 'errorMessage' => 'Error: %s.',
- 'description' => '',
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
+ ['errorCode' => 'AlreadyExists.DeliveryName', 'errorMessage' => 'The DeliveryName Name already exists.', 'description' => '投递名称已经存在。'],
+ ['errorCode' => 'InvalidParameter.DeliveryDescription', 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.', 'description' => '参数 DeliveryFilter.AccountScopes 无效。'],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes', 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.CustomExpression', 'errorMessage' => 'Error: %s.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A482***\\"\\n}","type":"json"}]',
'title' => '更新当前账号资源投递渠道',
'description' => '资源投递支持资源快照定时投递与资源配置变更投递。'."\n"
."\n"
@@ -8881,28 +4964,16 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A482***\\"\\n}","type":"json"}]',
],
'UpdateFilter' => [
'summary' => '更新筛选条件。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8910,41 +4981,26 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'FilterName',
'in' => 'query',
- 'schema' => [
- 'description' => '筛选条件名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '我的筛选条件。',
- ],
+ 'schema' => ['description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => 'My filter criteria.'],
],
[
'name' => 'FilterConfiguration',
'in' => 'query',
- 'schema' => [
- 'description' => '筛选条件配置。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{'."\n"
- .' "regions": [],'."\n"
- .' "tagFilters": ['."\n"
- .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
- .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
- .' ],'."\n"
- .' "resourceTypes": ['."\n"
- .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
- .' ]'."\n"
- .'}',
- ],
+ 'schema' => ['description' => '筛选条件配置。', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
+ .' "regions": [],'."\n"
+ .' "tagFilters": ['."\n"
+ .' [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }],'."\n"
+ .' [{ "tagKey": "xxx", "tagValue": "xxx" }]'."\n"
+ .' ],'."\n"
+ .' "resourceTypes": ['."\n"
+ .' "ACS::ECS::AutoSnapshotPolicy"'."\n"
+ .' ]'."\n"
+ .'}'],
],
],
'responses' => [
@@ -8952,11 +5008,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F'],
],
'description' => '',
],
@@ -8964,46 +5016,20 @@
],
'errorCodes' => [
409 => [
- [
- 'errorCode' => 'InvalidParameter.FilterConfiguration',
- 'errorMessage' => 'The specified parameter FilterConfiguration is not valid.',
- 'description' => '参数 FilterConfiguration 不合法。'."\n",
- ],
- [
- 'errorCode' => 'InvalidParameter.FilterName',
- 'errorMessage' => 'The specified parameter FilterName is not valid.',
- 'description' => '参数 FilterName 不合法。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.FilterConfiguration',
- 'errorMessage' => 'The length of parameter FilterConfiguration exceed limit.',
- 'description' => '参数 FilterConfiguration 长度超过限制。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.FilterName',
- 'errorMessage' => 'The length of parameter FilterName exceed limit.',
- 'description' => '参数 FilterName 长度超过限制。'."\n",
- ],
- [
- 'errorCode' => 'NotExists.FilterName',
- 'errorMessage' => 'The filter name of current user not exists.',
- 'description' => 'FilterName不存在。',
- ],
+ ['errorCode' => 'InvalidParameter.FilterConfiguration', 'errorMessage' => 'The specified parameter FilterConfiguration is not valid.', 'description' => '参数 FilterConfiguration 不合法。'."\n"],
+ ['errorCode' => 'InvalidParameter.FilterName', 'errorMessage' => 'The specified parameter FilterName is not valid.', 'description' => '参数 FilterName 不合法。'],
+ ['errorCode' => 'LengthExceedLimit.FilterConfiguration', 'errorMessage' => 'The length of parameter FilterConfiguration exceed limit.', 'description' => '参数 FilterConfiguration 长度超过限制。'],
+ ['errorCode' => 'LengthExceedLimit.FilterName', 'errorMessage' => 'The length of parameter FilterName exceed limit.', 'description' => '参数 FilterName 长度超过限制。'."\n"],
+ ['errorCode' => 'NotExists.FilterName', 'errorMessage' => 'The filter name of current user not exists.', 'description' => 'FilterName不存在。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F\\"\\n}","type":"json"}]',
'title' => '更新筛选条件',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UpdateFilter',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFilter'],
],
],
'ramActions' => [
@@ -9014,26 +5040,15 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F\\"\\n}","type":"json"}]',
],
'UpdateMultiAccountDeliveryChannel' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9041,42 +5056,22 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'DeliveryChannelId',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dc-4m6ffpkgu***',
- ],
+ 'schema' => ['description' => '投递渠道ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-4m6ffpkgu***'],
],
[
'name' => 'DeliveryChannelName',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test-multi-account-delivery-channel',
- ],
+ 'schema' => ['description' => '投递渠道名称。', 'type' => 'string', 'required' => false, 'example' => 'test-multi-account-delivery-channel'],
],
[
'name' => 'DeliveryChannelDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '投递渠道描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'This is a description.',
- ],
+ 'schema' => ['description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'This is a description.'],
],
[
'name' => 'ResourceSnapshotDelivery',
@@ -9086,28 +5081,13 @@
'description' => '资源快照定时投递。',
'type' => 'object',
'properties' => [
- 'DeliveryTime' => [
- 'description' => '投递时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '09:00Z',
- ],
- 'Enabled' => [
- 'description' => '是否开启资源快照定时投递。取值:'."\n"
- .'- true: 开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'true',
- ],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'DeliveryTime' => ['description' => '投递时间。', 'type' => 'string', 'required' => false, 'example' => '09:00Z'],
+ 'Enabled' => ['description' => '是否开启资源快照定时投递。取值:'."\n"
+ .'- true: 开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'required' => false, 'example' => 'true'],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的存储空间ARN。例如:`acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss`。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需传入前缀名称为`resourcecenter-`的日志库ARN。例如:`acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls`。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
'TargetType' => [
'description' => '投递目标类型。取值:'."\n"
."\n"
@@ -9116,32 +5096,19 @@
.'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- 'OSS' => 'OSS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS', 'OSS' => 'OSS'],
'example' => 'OSS',
],
- 'CustomExpression' => [
- 'description' => '自定义表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'select * from resources limit 100;'."\n",
- ],
+ 'CustomExpression' => ['description' => '自定义表达式。', 'type' => 'string', 'required' => false, 'example' => 'select * from resources limit 100;'."\n"],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- ."\n"
- .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n",
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ ."\n"
+ .'> 该参数仅在创建自定义资源快照定时投递时生效,创建标准资源快照定时投递时,无需传入该参数。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'."\n"],
],
'required' => false,
],
@@ -9157,47 +5124,30 @@
'description' => '资源配置变更投递。',
'type' => 'object',
'properties' => [
- 'Enabled' => [
- 'description' => '是否开启资源配置变更投递。取值:'."\n"
- ."\n"
- .'- true:开启。'."\n"
- .'- false:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'Enabled' => ['description' => '是否开启资源配置变更投递。取值:'."\n"
+ ."\n"
+ .'- true:开启。'."\n"
+ .'- false:关闭。', 'type' => 'string', 'required' => false, 'example' => 'true'],
'SlsProperties' => [
'description' => 'SLS配置。',
'type' => 'object',
'properties' => [
- 'OversizedDataOssTargetArn' => [
- 'description' => '大文件投递目标ARN。'."\n"
- ."\n"
- .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss',
- ],
+ 'OversizedDataOssTargetArn' => ['description' => '大文件投递目标ARN。'."\n"
+ ."\n"
+ .'当资源配置变更事件大小超过1MB时,将会投递为OSS文件。需要传入前缀名称为`resourcecenter-`的存储空间ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss'],
],
'required' => false,
],
- 'TargetArn' => [
- 'description' => '投递目标ARN。取值:'."\n"
- .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
- .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'."\n",
- ],
+ 'TargetArn' => ['description' => '投递目标ARN。取值:'."\n"
+ .' - 当指定`TargetType`为`OSS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的存储空间ARN。'."\n"
+ .'- 当指定`TargetType`为`SLS`时,`TargetArn`需要传入前缀名称为`resourcecenter-`的日志库ARN。', 'type' => 'string', 'required' => false, 'example' => 'acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls'."\n"],
'TargetType' => [
'description' => '投递目标类型。'."\n"
."\n"
.'取值:`SLS`。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'SLS' => 'SLS',
- ],
+ 'enumValueTitles' => ['SLS' => 'SLS'],
'example' => 'SLS',
],
],
@@ -9215,31 +5165,21 @@
'AccountScopes' => [
'description' => '投递的账号范围列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的账号范围。取值:'."\n"
- .'- 资源目录ID,表示投递管理账号和所有成员中的资源。'."\n"
- .'- Root资源夹ID,表示投递Root资源夹及子资源夹下的所有成员中的资源。'."\n"
- .'- 资源夹ID,表示投递指定资源夹下所有成员中的资源。'."\n"
- .'- 成员ID,表示投递指定成员中的资源。'."\n"
- ."\n"
- .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rd-r4****'."\n",
- ],
+ 'items' => ['description' => '投递的账号范围。取值:'."\n"
+ .'- 资源目录ID,表示投递管理账号和所有成员中的资源。'."\n"
+ .'- Root资源夹ID,表示投递Root资源夹及子资源夹下的所有成员中的资源。'."\n"
+ .'- 资源夹ID,表示投递指定资源夹下所有成员中的资源。'."\n"
+ .'- 成员ID,表示投递指定成员中的资源。'."\n"
+ ."\n"
+ .'关于如何获取资源目录ID、Root资源夹ID、资源夹ID和成员ID,请参见[GetResourceDirectory](~~159995~~)、[ListFoldersForParent](~~159997~~)、[ListAccounts](~~160016~~)。', 'type' => 'string', 'required' => false, 'example' => 'rd-r4****'."\n"],
'required' => false,
],
'ResourceTypes' => [
'description' => '投递的资源类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
- ."\n"
- .'如需投递资源中心支持的所有资源类型,请传入`ALL`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ACS::VPC::VPC',
- ],
+ 'items' => ['description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n"
+ ."\n"
+ .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC'],
'required' => false,
],
],
@@ -9254,147 +5194,44 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '36A3D9BE-B607-5993-B546-7E19EF65D***',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '36A3D9BE-B607-5993-B546-7E19EF65D***'],
],
],
],
],
'errorCodes' => [
403 => [
- [
- 'errorCode' => 'NoPermission.AccountScope',
- 'errorMessage' => 'The operator is not permitted for this account scope.',
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
- [
- 'errorCode' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。',
- ],
+ ['errorCode' => 'NoPermission.AccountScope', 'errorMessage' => 'The operator is not permitted for this account scope.', 'description' => '当前用户未授权操作此资源目录账号范围。'],
+ ['errorCode' => 'NoPermission.ResourceDirectory.MemberAccount', 'errorMessage' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。'],
],
[
- [
- 'errorCode' => 'NotExists.DeliveryChannelId',
- 'errorMessage' => 'The DeliveryChannelId does not exist.',
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryName',
- 'errorMessage' => 'The specified parameter DeliveryName is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
- 'description' => '',
- ],
+ ['errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。'],
+ ['errorCode' => 'MissingParameter.DeliveryName', 'errorMessage' => 'The specified parameter DeliveryName is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.', 'description' => ''],
],
409 => [
- [
- 'errorCode' => 'InvalidParameter.DeliveryChannelId',
- 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'AlreadyExists.DeliveryName',
- 'errorMessage' => 'The DeliveryName Name already exists.',
- 'description' => '投递名称已经存在。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryDescription',
- 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn',
- 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
- 'description' => '参数 DeliveryFilter.AccountScopes 无效。',
- ],
- [
- 'errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
- 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
- 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'InvalidParameter.CustomExpression',
- 'errorMessage' => 'Error: %s.',
- 'description' => '',
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ ['errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => ''],
+ ['errorCode' => 'AlreadyExists.DeliveryName', 'errorMessage' => 'The DeliveryName Name already exists.', 'description' => '投递名称已经存在。'],
+ ['errorCode' => 'InvalidParameter.DeliveryDescription', 'errorMessage' => 'The specified parameter DeliveryDescription is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.OverSizedDataOssTargetArn', 'errorMessage' => 'The specified parameter OverSizedDataOssTargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.AccountScopes', 'errorMessage' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.', 'description' => '参数 DeliveryFilter.AccountScopes 无效。'],
+ ['errorCode' => 'InvalidParameter.DeliveryFilter.ResourceTypes', 'errorMessage' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetArn', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.ResourceChangeDelivery.TargetType', 'errorMessage' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.', 'description' => ''],
+ ['errorCode' => 'InvalidParameter.CustomExpression', 'errorMessage' => 'Error: %s.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '更新跨账号资源投递渠道',
'summary' => '更新跨账号资源投递渠道。',
'description' => '资源投递支持资源快照定时投递与资源配置变更投递。'."\n"
@@ -9416,12 +5253,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
'additionalActions' => [],
@@ -9431,13 +5263,8 @@
],
'UpdateSavedQuery' => [
'summary' => '更新自定义查询模板。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -9445,57 +5272,33 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => '模板描述。'."\n"
- ."\n"
- .'长度范围:1~256个字符或汉字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '查询我的所有资源,返回所有的列。',
- ],
+ 'schema' => ['description' => '模板描述。'."\n"
+ ."\n"
+ .'长度范围:1~256个字符或汉字。', 'type' => 'string', 'required' => false, 'example' => 'Query all my resources and return all columns.'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '模板名称。'."\n"
- ."\n"
- .'- 长度范围:1~64个字符或汉字。'."\n"
- .'- 格式:允许输入汉字、英文字母、数字、下划线(_)和短划线(-)。'."\n"
- .'- 模板名称必须唯一。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '查询我的所有资源。',
- ],
+ 'schema' => ['description' => '模板名称。'."\n"
+ ."\n"
+ .'- 长度范围:1~64个字符或汉字。'."\n"
+ .'- 格式:允许输入汉字、英文字母、数字、下划线(_)和短划线(-)。'."\n"
+ .'- 模板名称必须唯一。', 'type' => 'string', 'required' => false, 'example' => 'Query all my resources.'],
],
[
'name' => 'Expression',
'in' => 'query',
- 'schema' => [
- 'description' => '模板表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SELECT * FROM resources;',
- ],
+ 'schema' => ['description' => '模板表达式。', 'type' => 'string', 'required' => false, 'example' => 'SELECT * FROM resources;'],
],
[
'name' => 'QueryId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cq-GeAck****',
- ],
+ 'schema' => ['description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => 'cq-GeAck****'],
],
],
'responses' => [
@@ -9504,69 +5307,31 @@
'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D696E6EF-3A6D-5770-801E-4982081FE4D0'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission',
- 'errorMessage' => 'You are not authorized to perform this operation.',
- 'description' => '',
- ],
+ ['errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => ''],
],
409 => [
- [
- 'errorCode' => 'NotExists.QueryId',
- 'errorMessage' => 'The QueryId does not exist.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.Description',
- 'errorMessage' => 'The length of parameter Description exceed limit.',
- 'description' => '查询模板描述的长度超过限制。',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.Expression',
- 'errorMessage' => 'The length of parameter Expression exceed limit.',
- 'description' => '',
- ],
- [
- 'errorCode' => 'LengthExceedLimit.Name',
- 'errorMessage' => 'The length of parameter Name exceed limit.',
- 'description' => '查询模板名称的长度超过限制。',
- ],
- [
- 'errorCode' => 'InvalidParameter.Name',
- 'errorMessage' => 'The specified parameter Name is not valid.',
- 'description' => '查询模板名称无效。',
- ],
- [
- 'errorCode' => 'AlreadyExists.Name',
- 'errorMessage' => 'The Query Template Name already exists.',
- 'description' => '查询模板名称已经存在。',
- ],
+ ['errorCode' => 'NotExists.QueryId', 'errorMessage' => 'The QueryId does not exist.', 'description' => ''],
+ ['errorCode' => 'LengthExceedLimit.Description', 'errorMessage' => 'The length of parameter Description exceed limit.', 'description' => '查询模板描述的长度超过限制。'],
+ ['errorCode' => 'LengthExceedLimit.Expression', 'errorMessage' => 'The length of parameter Expression exceed limit.', 'description' => ''],
+ ['errorCode' => 'LengthExceedLimit.Name', 'errorMessage' => 'The length of parameter Name exceed limit.', 'description' => '查询模板名称的长度超过限制。'],
+ ['errorCode' => 'InvalidParameter.Name', 'errorMessage' => 'The specified parameter Name is not valid.', 'description' => '查询模板名称无效。'],
+ ['errorCode' => 'AlreadyExists.Name', 'errorMessage' => 'The Query Template Name already exists.', 'description' => '查询模板名称已经存在。'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\"\\n}","type":"json"}]',
'title' => '更新自定义查询模板',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '10',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UpdateSavedQuery',
- ],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSavedQuery'],
],
],
'ramActions' => [
@@ -9577,1055 +5342,216 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'ap-southeast-1',
- 'regionName' => '新加坡',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'resourcecenter-intl.aliyuncs.com',
- 'endpoint' => 'resourcecenter-intl.aliyuncs.com',
- 'vpc' => 'resourcecenter-intl.vpc-proxy.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'regionName' => '华东2(上海)',
- 'areaId' => 'asiaPacific',
- 'areaName' => '亚太',
- 'public' => 'resourcecenter.aliyuncs.com',
- 'endpoint' => 'resourcecenter.aliyuncs.com',
- 'vpc' => 'resourcecenter.vpc-proxy.aliyuncs.com',
- ],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'resourcecenter-intl.aliyuncs.com', 'endpoint' => 'resourcecenter-intl.aliyuncs.com', 'vpc' => 'resourcecenter-intl.vpc-proxy.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'resourcecenter.aliyuncs.com', 'endpoint' => 'resourcecenter.aliyuncs.com', 'vpc' => 'resourcecenter.vpc-proxy.aliyuncs.com'],
],
'errorCodes' => [
- [
- 'code' => 'AlreadyExists.AccountId',
- 'message' => 'The AccountId already exists.',
- 'http_code' => 409,
- 'description' => '账号ID已存在。',
- ],
- [
- 'code' => 'AlreadyExists.DeliveryName',
- 'message' => 'The DeliveryName Name already exists.',
- 'http_code' => 409,
- 'description' => '投递名称已经存在。',
- ],
- [
- 'code' => 'AlreadyExists.FilterName',
- 'message' => 'The filter name of current user already exists.',
- 'http_code' => 409,
- 'description' => 'FilterName已经存在。',
- ],
- [
- 'code' => 'AlreadyExists.Name',
- 'message' => 'The Query Template Name already exists.',
- 'http_code' => 409,
- 'description' => '查询模板名称已经存在。',
- ],
- [
- 'code' => 'Conflict.ServiceStatus',
- 'message' => 'The service status conflict occurred due to frequent service enabled and disabled.',
- 'http_code' => 409,
- 'description' => '开通关闭资源中心过于频繁,服务状态冲突。',
- ],
- [
- 'code' => 'DependencyViolation.Config',
- 'message' => 'ResourceCenter cannot be disabled, because the Config has been enabled.',
- 'http_code' => 409,
- 'description' => '当前账号已经开启配置审计服务,无法关闭资源中心。',
- ],
- [
- 'code' => 'DependencyViolation.ResourceGroup',
- 'message' => 'Unable to disable resource center while associate transfer is enabled.',
- 'http_code' => 409,
- 'description' => '关联转组开启,不允许关闭。',
- ],
- [
- 'code' => 'DisableConflict',
- 'message' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.',
- 'http_code' => 409,
- 'description' => '资源目录管理账号或委派管理员账号已开启跨账号资源搜索,您无法关闭资源中心。',
- ],
- [
- 'code' => 'DisableConflict.DeliveryChannel',
- 'message' => 'ResourceCenter cannot be disabled because there are active delivery channels.',
- 'http_code' => 409,
- 'description' => '存在活跃的投递渠道,资源中心无法关闭。',
- ],
- [
- 'code' => 'DisableConflict.MultiAccount',
- 'message' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.',
- 'http_code' => 409,
- 'description' => '资源目录管理账号或委派管理员账号已开启跨账号资源搜索,您无法关闭资源中心。',
- ],
- [
- 'code' => 'DiscoveryInProgress',
- 'message' => 'A discovery task is in progress. Please wait for a while and check the result again.',
- 'http_code' => 403,
- 'description' => '资源发现中,请等待几分钟,然后重试。',
- ],
- [
- 'code' => 'ExceedLimit.ApiInvokeQuota',
- 'message' => 'The API invocation limit has been exceeded.',
- 'http_code' => 403,
- 'description' => 'API调用次数超过限制。',
- ],
- [
- 'code' => 'ExceedLimit.DeliverResourceSnapshot',
- 'message' => 'The resource snapshot deliver frequency exceeds the limit.',
- 'http_code' => 429,
- 'description' => '资源快照投递频率超过限制。',
- ],
- [
- 'code' => 'ExceedLimit.DeliveryChannelQuota',
- 'message' => 'The number of delivery channels exceeds the limit.',
- 'http_code' => 403,
- 'description' => '投递渠道数量超限。',
- ],
- [
- 'code' => 'ExceedLimit.ExecuteTime',
- 'message' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.',
- 'http_code' => 408,
- 'description' => '执行超过限制时间。请检查优化SQL的复杂度或数据规模。',
- ],
- [
- 'code' => 'ExceedLimit.Filter',
- 'message' => 'The maximum length of Filters is exceeded.',
- 'http_code' => 409,
- 'description' => '参数 Filter 数量超出上限。',
- ],
- [
- 'code' => 'ExceedLimit.FilterValue',
- 'message' => 'The number of objects specified in the FilterValue parameter exceeds the upper limit.',
- 'http_code' => 409,
- 'description' => '参数 FilterValue 数量超出上限。',
- ],
- [
- 'code' => 'ExceedLimit.RelatedResourceFilter',
- 'message' => 'The maximum length of RelatedResourceFilter is exceeded.',
- 'http_code' => 404,
- 'description' => '参数 RelatedResourceFilter 数量超出上限。',
- ],
- [
- 'code' => 'ExceedLimit.RelatedResourceFilterValue',
- 'message' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.',
- 'http_code' => 409,
- 'description' => '参数 RelatedResourceFilterValue 数量超出上限。'."\n",
- ],
- [
- 'code' => 'ExceedLimit.User.Filter',
- 'message' => 'The maximum number of Filters is exceeded.',
- 'http_code' => 409,
- 'description' => '用户 Filter 数量超出上限。',
- ],
- [
- 'code' => 'GenerateSqlError',
- 'message' => 'Unable to generate a sql for the input. Rephrase, and try again.',
- 'http_code' => 409,
- 'description' => '模型无法输入的请求。请重新表述您的问题,然后重试。',
- ],
- [
- 'code' => 'InternalError',
- 'message' => 'The request processing has failed due to some unknown error.',
- 'http_code' => 400,
- 'description' => '内部服务错误。',
- ],
- [
- 'code' => 'InvalidCallerType',
- 'message' => 'Your account type doe not support the operation.',
- 'http_code' => 400,
- 'description' => '无法访问,账号类型不支持。',
- ],
- [
- 'code' => 'InvalidParameter.AccountId',
- 'message' => 'The specified parameter AccountId is not valid.',
- 'http_code' => 400,
- 'description' => '参数 AccountId 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.AccountScope',
- 'message' => 'The specified parameter AccountScope is not valid.',
- 'http_code' => 409,
- 'description' => '参数AccountScope无效。',
- ],
- [
- 'code' => 'InvalidParameter.ConfigurationChangeDelivery.TargetArn',
- 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is not valid.',
- 'http_code' => 409,
- 'description' => '参数 ConfigurationChangeDelivery.TargetArn 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ConfigurationChangeDelivery.TargetType',
- 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetType is not valid.',
- 'http_code' => 409,
- 'description' => '参数 ConfigurationChangeDelivery.TargetType 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ConfigurationSnapshotDelivery.DeliveryTime',
- 'message' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is not valid.',
- 'http_code' => 409,
- 'description' => '参数 ConfigurationSnapshotDelivery.DeliveryTime 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetArn',
- 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is not valid.',
- 'http_code' => 409,
- 'description' => '参数 ConfigurationSnapshotDelivery.TargetArn 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType',
- 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ConfigurationSnapshotDelivery.TargetType 无效。',
- ],
- [
- 'code' => 'InvalidParameter.CustomExpression',
- 'message' => 'Error: %s.',
- 'http_code' => 400,
- 'description' => '错误:%s。',
- ],
- [
- 'code' => 'InvalidParameter.DeliveryChannelId',
- 'message' => 'The specified parameter DeliveryChannelId is not valid.',
- 'http_code' => 400,
- 'description' => '参数 DeliveryChannelId 无效。',
- ],
- [
- 'code' => 'InvalidParameter.DeliveryDescription',
- 'message' => 'The specified parameter DeliveryDescription is not valid.',
- 'http_code' => 400,
- 'description' => '参数DeliveryDescription无效。',
- ],
- [
- 'code' => 'InvalidParameter.DeliveryFilter.AccountScopes',
- 'message' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.',
- 'http_code' => 409,
- 'description' => '参数 DeliveryFilter.AccountScopes 无效。',
- ],
- [
- 'code' => 'InvalidParameter.DeliveryFilter.ResourceTypes',
- 'message' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.',
- 'http_code' => 400,
- 'description' => '参数 DeliveryFilter.ResourceTypes 无效。',
- ],
- [
- 'code' => 'InvalidParameter.DeliveryName',
- 'message' => 'The specified parameter DeliveryName is not valid.',
- 'http_code' => 400,
- 'description' => '参数 DeliveryName 无效。',
- ],
- [
- 'code' => 'InvalidParameter.DeliveryTime',
- 'message' => 'The specified parameter DeliveryTime is not valid.',
- 'http_code' => 409,
- 'description' => '参数DeliveryTime无效。',
- ],
- [
- 'code' => 'InvalidParameter.Expression',
- 'message' => 'Error: %s.',
- 'http_code' => 409,
- 'description' => '错误:%s。',
- ],
- [
- 'code' => 'InvalidParameter.FilterConfiguration',
- 'message' => 'The specified parameter FilterConfiguration is not valid.',
- 'http_code' => 409,
- 'description' => '参数 FilterConfiguration 不合法。'."\n",
- ],
- [
- 'code' => 'InvalidParameter.FilterKey',
- 'message' => 'The specified parameter Filter.n.Key is not valid.',
- 'http_code' => 400,
- 'description' => '参数 Filter.n.Key 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.FilterMatchType',
- 'message' => 'The specified parameter Filter.n.MatchType is not valid.',
- 'http_code' => 400,
- 'description' => '参数 Filter.n.MatchType 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.FilterName',
- 'message' => 'The specified parameter FilterName is not valid.',
- 'http_code' => 409,
- 'description' => '参数 FilterName 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.FilterValue',
- 'message' => 'The specified parameter InvalidParameter.FilterValue is not valid.',
- 'http_code' => 400,
- 'description' => '参数 InvalidParameter.FilterValue 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.GroupByKey',
- 'message' => 'The specified parameter GroupByKey is not valid.',
- 'http_code' => 400,
- 'description' => '参数 GroupByKey 不合法。\\n',
- ],
- [
- 'code' => 'InvalidParameter.MatchType',
- 'message' => 'The specified parameter MatchType is not valid.',
- 'http_code' => 400,
- 'description' => '参数 MatchType 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.MaxResults',
- 'message' => 'The specified parameter MaxResults is not valid.',
- 'http_code' => 400,
- 'description' => '参数 MaxResults 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.Name',
- 'message' => 'The specified parameter Name is not valid.',
- 'http_code' => 409,
- 'description' => '查询模板名称无效。',
- ],
- [
- 'code' => 'InvalidParameter.NextToken',
- 'message' => 'The specified parameter NextToken is not valid.',
- 'http_code' => 400,
- 'description' => '参数 NextToken 无效。',
- ],
- [
- 'code' => 'InvalidParameter.OverSizedDataOssTargetArn',
- 'message' => 'The specified parameter OverSizedDataOssTargetArn is not valid.',
- 'http_code' => 400,
- 'description' => '参数 OverSizedDataOssTargetArn 无效。',
- ],
- [
- 'code' => 'InvalidParameter.Query',
- 'message' => 'The specified parameter Query is not valid.',
- 'http_code' => 400,
- 'description' => '参数 Query 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.RelatedResourceFilterKey',
- 'message' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.',
- 'http_code' => 400,
- 'description' => '参数 RelatedResourceFilterMatchType.n.RelatedResourceFilterKey 不合法。'."\n",
- ],
- [
- 'code' => 'InvalidParameter.RelatedResourceFilterMatchType',
- 'message' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.',
- 'http_code' => 400,
- 'description' => '参数 RelatedResourceFilterMatchType.n.MatchType 不合法。'."\n",
- ],
- [
- 'code' => 'InvalidParameter.ResourceChangeDelivery.TargetArn',
- 'message' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ResourceChangeDelivery.TargetArn 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ResourceChangeDelivery.TargetType',
- 'message' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ResourceChangeDelivery.TargetType 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ResourceGroupId',
- 'message' => 'The specified parameter ResourceGroupId is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ResourceGroupId 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'message' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ResourceSnapshotDelivery.DeliveryTime 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn',
- 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ResourceSnapshotDelivery.TargetArn 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType',
- 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ResourceSnapshotDelivery.TargetType 无效。',
- ],
- [
- 'code' => 'InvalidParameter.ResourceType',
- 'message' => 'The specified parameter ResourceType is not valid.',
- 'http_code' => 400,
- 'description' => '参数 ResourceType 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.Scope',
- 'message' => 'The Scope is invalid.',
- 'http_code' => 400,
- 'description' => '参数Scope无效。',
- ],
- [
- 'code' => 'InvalidParameter.ServiceName',
- 'message' => 'The specified parameter ServiceName is not valid.',
- 'http_code' => 409,
- 'description' => '参数 ServiceName 无效。',
- ],
- [
- 'code' => 'InvalidParameter.SortCriterion.Key',
- 'message' => 'The specified parameter SortCriterion.Key is not valid.',
- 'http_code' => 400,
- 'description' => '参数 SortCriterion.Key 不合法。',
- ],
- [
- 'code' => 'InvalidParameter.TargetType',
- 'message' => 'The specified parameter TargetType is not valid.',
- 'http_code' => 409,
- 'description' => '参数TargetType无效。',
- ],
- [
- 'code' => 'InvalidSearch.GraphQL',
- 'message' => 'Error: %s.',
- 'http_code' => 409,
- 'description' => '错误:%s。',
- ],
- [
- 'code' => 'InvalidSearch.SQL',
- 'message' => 'Error: %s',
- 'http_code' => 400,
- 'description' => '错误:%s',
- ],
- [
- 'code' => 'LengthExceedLimit.Description',
- 'message' => 'The length of parameter Description exceed limit.',
- 'http_code' => 409,
- 'description' => '查询模板描述的长度超过限制。',
- ],
- [
- 'code' => 'LengthExceedLimit.Expression',
- 'message' => 'The length of parameter Expression exceed limit.',
- 'http_code' => 400,
- 'description' => '查询表达式的长度超过限制。',
- ],
- [
- 'code' => 'LengthExceedLimit.FilterConfiguration',
- 'message' => 'The length of parameter FilterConfiguration exceed limit.',
- 'http_code' => 409,
- 'description' => '参数 FilterConfiguration 长度超过限制。',
- ],
- [
- 'code' => 'LengthExceedLimit.FilterName',
- 'message' => 'The length of parameter FilterName exceed limit.',
- 'http_code' => 409,
- 'description' => '参数 FilterName 长度超过限制。'."\n",
- ],
- [
- 'code' => 'LengthExceedLimit.Input',
- 'message' => 'The length of parameter Input exceed limit.',
- 'http_code' => 400,
- 'description' => '输入文本的长度超过限制。',
- ],
- [
- 'code' => 'LengthExceedLimit.Name',
- 'message' => 'The length of parameter Name exceed limit.',
- 'http_code' => 409,
- 'description' => '查询模板名称的长度超过限制。',
- ],
- [
- 'code' => 'MissingParameter.ConfigurationChangeDelivery.TargetArn',
- 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is missing.',
- 'http_code' => 404,
- 'description' => '请求参数 ConfigurationChangeDelivery.TargetArn 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ConfigurationChangeDelivery.TargetType',
- 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetType is missing.',
- 'http_code' => 404,
- 'description' => '请求参数 ConfigurationChangeDelivery.TargetType 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.DeliveryTime',
- 'message' => 'Missing required parameter DeliveryTime for ConfigurationSnapshotDelivery.',
- 'http_code' => 404,
- 'description' => '请求参数 ConfigurationSnapshotDelivery.DeliveryTime 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.DeliveryTime',
- 'message' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is missing.',
- 'http_code' => 404,
- 'description' => '参数 ConfigurationSnapshotDelivery.DeliveryTime 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetArn',
- 'message' => 'Missing required parameter TargetArn for ConfigurationSnapshotDelivery.',
- 'http_code' => 404,
- 'description' => '请求参数 ConfigurationSnapshotDelivery.TargetArn 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetArn',
- 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is missing.',
- 'http_code' => 404,
- 'description' => '参数 ConfigurationSnapshotDelivery.TargetArn 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetType',
- 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is missing.',
- 'http_code' => 404,
- 'description' => '请求参数 ConfigurationSnapshotDelivery.TargetType 缺失。',
- ],
- [
- 'code' => 'MissingParameter.DeliveryConfiguration',
- 'message' => 'The parameter ConfigurationSnapshotDelivery or ConfigurationChangeDelivery must be specified.',
- 'http_code' => 404,
- 'description' => '参数ConfigurationSnapshotDelivery或ConfigurationChangeDelivery必须指定。',
- ],
- [
- 'code' => 'MissingParameter.DeliveryFilter',
- 'message' => 'The specified parameter DeliveryFilter is missing.',
- 'http_code' => 400,
- 'description' => '参数 DeliveryFilter 缺失。',
- ],
- [
- 'code' => 'MissingParameter.DeliveryFilter.AccountScopes',
- 'message' => 'The specified parameter DeliveryFilter.AccountScopes is missing.',
- 'http_code' => 400,
- 'description' => '请求参数 DeliveryFilter.AccountScopes 缺失。',
- ],
- [
- 'code' => 'MissingParameter.DeliveryName',
- 'message' => 'The specified parameter DeliveryName is missing.',
- 'http_code' => 400,
- 'description' => '参数 DeliveryName 缺失。',
- ],
- [
- 'code' => 'MissingParameter.FilterConfiguration',
- 'message' => 'The specified parameter FilterConfiguration is missing.',
- 'http_code' => 400,
- 'description' => '参数 FilterConfiguration 缺失。',
- ],
- [
- 'code' => 'MissingParameter.FilterName',
- 'message' => 'The specified parameter FilterName is missing.',
- 'http_code' => 404,
- 'description' => '参数 FilterName 缺失。',
- ],
- [
- 'code' => 'MissingParameter.FilterValue',
- 'message' => 'You must specify Filter.n.Value.',
- 'http_code' => 400,
- 'description' => '缺少参数 Filter.n.Value。',
- ],
- [
- 'code' => 'MissingParameter.GroupByKey',
- 'message' => 'You must specify GroupByKey.',
- 'http_code' => 400,
- 'description' => '缺少参数 GroupByKey。',
- ],
- [
- 'code' => 'MissingParameter.MaxResults',
- 'message' => 'You must specify MaxResults.',
- 'http_code' => 400,
- 'description' => '缺少参数 MaxResults。',
- ],
- [
- 'code' => 'MissingParameter.OverSizedDataOssTargetArn',
- 'message' => 'The specified parameter OverSizedDataOssTargetArn is missing.',
- 'http_code' => 400,
- 'description' => '请求参数 OverSizedDataOssTargetArn 缺失。',
- ],
- [
- 'code' => 'MissingParameter.RegionId',
- 'message' => 'The specified parameter RegionId is missing.',
- 'http_code' => 400,
- 'description' => '参数 RegionId 缺失。',
- ],
- [
- 'code' => 'MissingParameter.RelatedResourceFilterValue',
- 'message' => 'You must specify RelatedResourceFilterValue.n.Value.',
- 'http_code' => 400,
- 'description' => '缺少参数 RelatedResourceFilterValue.n.Value。',
- ],
- [
- 'code' => 'MissingParameter.ResourceChangeDelivery.TargetArn',
- 'message' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.',
- 'http_code' => 400,
- 'description' => '请求参数 ResourceChangeDelivery.TargetArn 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ResourceChangeDelivery.TargetType',
- 'message' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.',
- 'http_code' => 400,
- 'description' => '请求参数 ResourceChangeDelivery.TargetType 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ResourceDeliveryConfiguration',
- 'message' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.',
- 'http_code' => 400,
- 'description' => '参数ResourceSnapshotDelivery或ResourceChangeDelivery必须指定。',
- ],
- [
- 'code' => 'MissingParameter.ResourceId',
- 'message' => 'The specified parameter ResourceId is missing.',
- 'http_code' => 400,
- 'description' => '参数 ResourceId 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression',
- 'message' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.',
- 'http_code' => 400,
- 'description' => '参数 ResourceSnapshotDelivery.CustomExpression 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime',
- 'message' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.',
- 'http_code' => 400,
- 'description' => '参数 ResourceSnapshotDelivery.DeliveryTime 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn',
- 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.',
- 'http_code' => 400,
- 'description' => '参数 ResourceSnapshotDelivery.TargetArn 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ResourceSnapshotDelivery.TargetType',
- 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.',
- 'http_code' => 400,
- 'description' => '请求参数 ResourceSnapshotDelivery.TargetType 缺失。',
- ],
- [
- 'code' => 'MissingParameter.ResourceType',
- 'message' => 'The specified parameter ResourceType is missing.',
- 'http_code' => 400,
- 'description' => '参数 ResourceType 缺失。'."\n",
- ],
- [
- 'code' => 'MissingParameter.TargetType',
- 'message' => 'The specified parameter TargetType is missing.',
- 'http_code' => 404,
- 'description' => '参数TargetType缺失。',
- ],
- [
- 'code' => 'MultiAccountServiceNotEnabled',
- 'message' => 'Multi account ResourceCenter service is not enabled.',
- 'http_code' => 403,
- 'description' => '多账号资源中心服务未开通。',
- ],
- [
- 'code' => 'NoPermission',
- 'message' => 'You are not authorized to perform this operation.',
- 'http_code' => 403,
- 'description' => '无操作权限。',
- ],
- [
- 'code' => 'NoPermission.AccountScope',
- 'message' => 'The operator is not permitted for this account scope.',
- 'http_code' => 403,
- 'description' => '当前用户未授权操作此资源目录账号范围。',
- ],
- [
- 'code' => 'NoPermission.Resource',
- 'message' => 'The operator is not permitted for this resource.',
- 'http_code' => 403,
- 'description' => '当前用户未授权操作此资源。',
- ],
- [
- 'code' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'message' => 'ResourceDirectory Member Account is not authorized to perform this operation.',
- 'http_code' => 403,
- 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。',
- ],
- [
- 'code' => 'NoPermission.ResourceDirectory.MemberAccount',
- 'message' => 'The administrator account has enabled MultiAccountResourceCenter, ResourceDirectory Member Account is not authorized to perform this operation.',
- 'http_code' => 403,
- 'description' => '资源目录的管理员已开启跨账号资源搜索,作为资源目录的成员不允许关闭资源中心。',
- ],
- [
- 'code' => 'NoPermission.ResourceType',
- 'message' => 'The operator is not permitted for this resource type.',
- 'http_code' => 403,
- 'description' => '当前用户未授权操作此资源类型。',
- ],
- [
- 'code' => 'NoPermission.ServiceLinkedRole',
- 'message' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.',
- 'http_code' => 403,
- 'description' => '当前用户没有创建服务关联角色的权限,请联系主账号或权限管理员授权创建服务关联角色的自定义权限策略。自定义权限策略的相关信息如下:Service Name:rmc.resourcemanager.aliyuncs.com,执行该操作所需的用户权限:ram:CreateServiceLinkedRole。',
- ],
- [
- 'code' => 'NotExists.Account',
- 'message' => 'The specified account does not exist.',
- 'http_code' => 404,
- 'description' => '指定账号不存在。',
- ],
- [
- 'code' => 'NotExists.DefaultFilter',
- 'message' => 'The default filter of current user not exists.',
- 'http_code' => 404,
- 'description' => '默认筛选条件不存在。'."\n",
- ],
- [
- 'code' => 'NotExists.DeliveryChannelId',
- 'message' => 'The DeliveryChannelId does not exist.',
- 'http_code' => 404,
- 'description' => '输入的 DeliveryChannelId 不存在。',
- ],
- [
- 'code' => 'NotExists.FilterName',
- 'message' => 'The filter name of current user not exists.',
- 'http_code' => 409,
- 'description' => 'FilterName不存在。',
- ],
- [
- 'code' => 'NotExists.QueryId',
- 'message' => 'The QueryId does not exist.',
- 'http_code' => 404,
- 'description' => '输入的QueryId不存在。',
- ],
- [
- 'code' => 'NotExists.Resource',
- 'message' => 'The specified resource does not exist.',
- 'http_code' => 404,
- 'description' => '指定资源不存在。',
- ],
- [
- 'code' => 'NotExists.ResourceDirectory',
- 'message' => 'The resource directory for the account is not enabled.',
- 'http_code' => 404,
- 'description' => '当前账号未开通资源目录。',
- ],
- [
- 'code' => 'NotExists.ResourceDirectory.FolderId',
- 'message' => 'The specified folder does not exist.',
- 'http_code' => 404,
- 'description' => '指定文件夹不存在。',
- ],
- [
- 'code' => 'NotExists.ResourceGroup',
- 'message' => 'The specified ResourceGroup does not exist.',
- 'http_code' => 404,
- 'description' => '指定资源组不存在。',
- ],
- [
- 'code' => 'NotExists.ServiceName',
- 'message' => 'The ServiceName does not exist.',
- 'http_code' => 404,
- 'description' => '输入的 ServiceName 不存在。',
- ],
- [
- 'code' => 'NotSupport.Account.Site',
- 'message' => 'The caller is not a current site account, which is not supported.',
- 'http_code' => 409,
- 'description' => '当前账号所属站点错误。',
- ],
- [
- 'code' => 'NotSupport.Account.Site',
- 'message' => 'The caller is not a current site account.',
- 'http_code' => 409,
- 'description' => '请求用户不是当前站点的账号。',
- ],
- [
- 'code' => 'ServiceNotEnabled',
- 'message' => 'ResourceCenter Service is not enabled.',
- 'http_code' => 403,
- 'description' => '资源中心服务未开通。',
- ],
- [
- 'code' => 'ServiceNotEnabled.SpecifiedAccount',
- 'message' => 'ResourceCenter service of the specified account is not enabled.',
- 'http_code' => 403,
- 'description' => '指定账户的资源中心服务未开通。',
- ],
- [
- 'code' => 'SQLExecuteError',
- 'message' => 'Failed to execute the SQL statement.',
- 'http_code' => 400,
- 'description' => '未能执行查询,请检查查询语句是否书写有误。',
- ],
- [
- 'code' => 'SQLGenerateError',
- 'message' => 'Unable to generate a sql for the input. Rephrase, and try again.',
- 'http_code' => 400,
- 'description' => '模型无法处理您输入的请求。请重新表述您的问题,然后重试。',
- ],
- [
- 'code' => 'NotExists.ResourceType',
- 'message' => 'The specified resource type does not exist.',
- 'http_code' => 404,
- 'description' => '指定资源类型不存在。'."\n",
- ],
- [
- 'code' => 'MissingParameter.AccountScope',
- 'message' => 'The specified parameter AccountScope is missing.',
- 'http_code' => 400,
- 'description' => '参数 AccountScope 缺失。',
- ],
+ ['code' => 'AlreadyExists.AccountId', 'message' => 'The AccountId already exists.', 'http_code' => 409, 'description' => '账号ID已存在。'],
+ ['code' => 'AlreadyExists.DeliveryName', 'message' => 'The DeliveryName Name already exists.', 'http_code' => 409, 'description' => '投递名称已经存在。'],
+ ['code' => 'AlreadyExists.FilterName', 'message' => 'The filter name of current user already exists.', 'http_code' => 409, 'description' => 'FilterName已经存在。'],
+ ['code' => 'AlreadyExists.Name', 'message' => 'The Query Template Name already exists.', 'http_code' => 409, 'description' => '查询模板名称已经存在。'],
+ ['code' => 'Conflict.ServiceStatus', 'message' => 'The service status conflict occurred due to frequent service enabled and disabled.', 'http_code' => 409, 'description' => '开通关闭资源中心过于频繁,服务状态冲突。'],
+ ['code' => 'DependencyViolation.Config', 'message' => 'ResourceCenter cannot be disabled, because the Config has been enabled.', 'http_code' => 409, 'description' => '当前账号已经开启配置审计服务,无法关闭资源中心。'],
+ ['code' => 'DependencyViolation.ResourceGroup', 'message' => 'Unable to disable resource center while associate transfer is enabled.', 'http_code' => 409, 'description' => '关联转组开启,不允许关闭。'],
+ ['code' => 'DisableConflict', 'message' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.', 'http_code' => 409, 'description' => '资源目录管理账号或委派管理员账号已开启跨账号资源搜索,您无法关闭资源中心。'],
+ ['code' => 'DisableConflict.DeliveryChannel', 'message' => 'ResourceCenter cannot be disabled because there are active delivery channels.', 'http_code' => 409, 'description' => '存在活跃的投递渠道,资源中心无法关闭。'],
+ ['code' => 'DisableConflict.MultiAccount', 'message' => 'ResourceDirectory management account or delegated administrator account has enabled multi account ResourceCenter, you cannot disable ResourceCenter.', 'http_code' => 409, 'description' => '资源目录管理账号或委派管理员账号已开启跨账号资源搜索,您无法关闭资源中心。'],
+ ['code' => 'DiscoveryInProgress', 'message' => 'A discovery task is in progress. Please wait for a while and check the result again.', 'http_code' => 403, 'description' => '资源发现中,请等待几分钟,然后重试。'],
+ ['code' => 'ExceedLimit.ApiInvokeQuota', 'message' => 'The API invocation limit has been exceeded.', 'http_code' => 403, 'description' => 'API调用次数超过限制。'],
+ ['code' => 'ExceedLimit.DeliverResourceSnapshot', 'message' => 'The resource snapshot deliver frequency exceeds the limit.', 'http_code' => 429, 'description' => '资源快照投递频率超过限制。'],
+ ['code' => 'ExceedLimit.DeliveryChannelQuota', 'message' => 'The number of delivery channels exceeds the limit.', 'http_code' => 403, 'description' => '投递渠道数量超限。'],
+ ['code' => 'ExceedLimit.ExecuteTime', 'message' => 'The execution time has exceeded the limit. Please check for complex queries or large data volume, and optimize accordingly.', 'http_code' => 408, 'description' => '执行超过限制时间。请检查优化SQL的复杂度或数据规模。'],
+ ['code' => 'ExceedLimit.Filter', 'message' => 'The maximum length of Filters is exceeded.', 'http_code' => 409, 'description' => '参数 Filter 数量超出上限。'],
+ ['code' => 'ExceedLimit.FilterValue', 'message' => 'The number of objects specified in the FilterValue parameter exceeds the upper limit.', 'http_code' => 409, 'description' => '参数 FilterValue 数量超出上限。'],
+ ['code' => 'ExceedLimit.RelatedResourceFilter', 'message' => 'The maximum length of RelatedResourceFilter is exceeded.', 'http_code' => 404, 'description' => '参数 RelatedResourceFilter 数量超出上限。'],
+ ['code' => 'ExceedLimit.RelatedResourceFilterValue', 'message' => 'The number of objects specified in the RelatedResourceFilterValue parameter exceeds the upper limit.', 'http_code' => 409, 'description' => '参数 RelatedResourceFilterValue 数量超出上限。'."\n"],
+ ['code' => 'ExceedLimit.User.Filter', 'message' => 'The maximum number of Filters is exceeded.', 'http_code' => 409, 'description' => '用户 Filter 数量超出上限。'],
+ ['code' => 'GenerateSqlError', 'message' => 'Unable to generate a sql for the input. Rephrase, and try again.', 'http_code' => 409, 'description' => '模型无法输入的请求。请重新表述您的问题,然后重试。'],
+ ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 400, 'description' => '内部服务错误。'],
+ ['code' => 'InvalidCallerType', 'message' => 'Your account type doe not support the operation.', 'http_code' => 400, 'description' => '无法访问,账号类型不支持。'],
+ ['code' => 'InvalidParameter.AccountId', 'message' => 'The specified parameter AccountId is not valid.', 'http_code' => 400, 'description' => '参数 AccountId 不合法。'],
+ ['code' => 'InvalidParameter.AccountScope', 'message' => 'The specified parameter AccountScope is not valid.', 'http_code' => 409, 'description' => '参数AccountScope无效。'],
+ ['code' => 'InvalidParameter.ConfigurationChangeDelivery.TargetArn', 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is not valid.', 'http_code' => 409, 'description' => '参数 ConfigurationChangeDelivery.TargetArn 无效。'],
+ ['code' => 'InvalidParameter.ConfigurationChangeDelivery.TargetType', 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetType is not valid.', 'http_code' => 409, 'description' => '参数 ConfigurationChangeDelivery.TargetType 无效。'],
+ ['code' => 'InvalidParameter.ConfigurationSnapshotDelivery.DeliveryTime', 'message' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is not valid.', 'http_code' => 409, 'description' => '参数 ConfigurationSnapshotDelivery.DeliveryTime 无效。'],
+ ['code' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetArn', 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is not valid.', 'http_code' => 409, 'description' => '参数 ConfigurationSnapshotDelivery.TargetArn 无效。'],
+ ['code' => 'InvalidParameter.ConfigurationSnapshotDelivery.TargetType', 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is not valid.', 'http_code' => 400, 'description' => '参数 ConfigurationSnapshotDelivery.TargetType 无效。'],
+ ['code' => 'InvalidParameter.CustomExpression', 'message' => 'Error: %s.', 'http_code' => 400, 'description' => '错误:%s。'],
+ ['code' => 'InvalidParameter.DeliveryChannelId', 'message' => 'The specified parameter DeliveryChannelId is not valid.', 'http_code' => 400, 'description' => '参数 DeliveryChannelId 无效。'],
+ ['code' => 'InvalidParameter.DeliveryDescription', 'message' => 'The specified parameter DeliveryDescription is not valid.', 'http_code' => 400, 'description' => '参数DeliveryDescription无效。'],
+ ['code' => 'InvalidParameter.DeliveryFilter.AccountScopes', 'message' => 'The specified parameter DeliveryFilter.AccountScopes is not valid.', 'http_code' => 409, 'description' => '参数 DeliveryFilter.AccountScopes 无效。'],
+ ['code' => 'InvalidParameter.DeliveryFilter.ResourceTypes', 'message' => 'The specified parameter DeliveryFilter.ResourceTypes is not valid.', 'http_code' => 400, 'description' => '参数 DeliveryFilter.ResourceTypes 无效。'],
+ ['code' => 'InvalidParameter.DeliveryName', 'message' => 'The specified parameter DeliveryName is not valid.', 'http_code' => 400, 'description' => '参数 DeliveryName 无效。'],
+ ['code' => 'InvalidParameter.DeliveryTime', 'message' => 'The specified parameter DeliveryTime is not valid.', 'http_code' => 409, 'description' => '参数DeliveryTime无效。'],
+ ['code' => 'InvalidParameter.Expression', 'message' => 'Error: %s.', 'http_code' => 409, 'description' => '错误:%s。'],
+ ['code' => 'InvalidParameter.FilterConfiguration', 'message' => 'The specified parameter FilterConfiguration is not valid.', 'http_code' => 409, 'description' => '参数 FilterConfiguration 不合法。'."\n"],
+ ['code' => 'InvalidParameter.FilterKey', 'message' => 'The specified parameter Filter.n.Key is not valid.', 'http_code' => 400, 'description' => '参数 Filter.n.Key 不合法。'],
+ ['code' => 'InvalidParameter.FilterMatchType', 'message' => 'The specified parameter Filter.n.MatchType is not valid.', 'http_code' => 400, 'description' => '参数 Filter.n.MatchType 不合法。'],
+ ['code' => 'InvalidParameter.FilterName', 'message' => 'The specified parameter FilterName is not valid.', 'http_code' => 409, 'description' => '参数 FilterName 不合法。'],
+ ['code' => 'InvalidParameter.FilterValue', 'message' => 'The specified parameter InvalidParameter.FilterValue is not valid.', 'http_code' => 400, 'description' => '参数 InvalidParameter.FilterValue 不合法。'],
+ ['code' => 'InvalidParameter.GroupByKey', 'message' => 'The specified parameter GroupByKey is not valid.', 'http_code' => 400, 'description' => '参数 GroupByKey 不合法。\\n'],
+ ['code' => 'InvalidParameter.MatchType', 'message' => 'The specified parameter MatchType is not valid.', 'http_code' => 400, 'description' => '参数 MatchType 不合法。'],
+ ['code' => 'InvalidParameter.MaxResults', 'message' => 'The specified parameter MaxResults is not valid.', 'http_code' => 400, 'description' => '参数 MaxResults 不合法。'],
+ ['code' => 'InvalidParameter.Name', 'message' => 'The specified parameter Name is not valid.', 'http_code' => 409, 'description' => '查询模板名称无效。'],
+ ['code' => 'InvalidParameter.NextToken', 'message' => 'The specified parameter NextToken is not valid.', 'http_code' => 400, 'description' => '参数 NextToken 无效。'],
+ ['code' => 'InvalidParameter.OverSizedDataOssTargetArn', 'message' => 'The specified parameter OverSizedDataOssTargetArn is not valid.', 'http_code' => 400, 'description' => '参数 OverSizedDataOssTargetArn 无效。'],
+ ['code' => 'InvalidParameter.Query', 'message' => 'The specified parameter Query is not valid.', 'http_code' => 400, 'description' => '参数 Query 不合法。'],
+ ['code' => 'InvalidParameter.RelatedResourceFilterKey', 'message' => 'The specified parameter RelatedResourceFilterMatchType.n.RelatedResourceFilterKey is not valid.', 'http_code' => 400, 'description' => '参数 RelatedResourceFilterMatchType.n.RelatedResourceFilterKey 不合法。'."\n"],
+ ['code' => 'InvalidParameter.RelatedResourceFilterMatchType', 'message' => 'The specified parameter RelatedResourceFilterMatchType.n.MatchType is not valid.', 'http_code' => 400, 'description' => '参数 RelatedResourceFilterMatchType.n.MatchType 不合法。'."\n"],
+ ['code' => 'InvalidParameter.ResourceChangeDelivery.TargetArn', 'message' => 'The specified parameter ResourceChangeDelivery.TargetArn is not valid.', 'http_code' => 400, 'description' => '参数 ResourceChangeDelivery.TargetArn 无效。'],
+ ['code' => 'InvalidParameter.ResourceChangeDelivery.TargetType', 'message' => 'The specified parameter ResourceChangeDelivery.TargetType is not valid.', 'http_code' => 400, 'description' => '参数 ResourceChangeDelivery.TargetType 无效。'],
+ ['code' => 'InvalidParameter.ResourceGroupId', 'message' => 'The specified parameter ResourceGroupId is not valid.', 'http_code' => 400, 'description' => '参数 ResourceGroupId 不合法。'],
+ ['code' => 'InvalidParameter.ResourceSnapshotDelivery.DeliveryTime', 'message' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.', 'http_code' => 400, 'description' => '参数 ResourceSnapshotDelivery.DeliveryTime 无效。'],
+ ['code' => 'InvalidParameter.ResourceSnapshotDelivery.TargetArn', 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.', 'http_code' => 400, 'description' => '参数 ResourceSnapshotDelivery.TargetArn 无效。'],
+ ['code' => 'InvalidParameter.ResourceSnapshotDelivery.TargetType', 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetType is not valid.', 'http_code' => 400, 'description' => '参数 ResourceSnapshotDelivery.TargetType 无效。'],
+ ['code' => 'InvalidParameter.ResourceType', 'message' => 'The specified parameter ResourceType is not valid.', 'http_code' => 400, 'description' => '参数 ResourceType 不合法。'],
+ ['code' => 'InvalidParameter.Scope', 'message' => 'The Scope is invalid.', 'http_code' => 400, 'description' => '参数Scope无效。'],
+ ['code' => 'InvalidParameter.ServiceName', 'message' => 'The specified parameter ServiceName is not valid.', 'http_code' => 409, 'description' => '参数 ServiceName 无效。'],
+ ['code' => 'InvalidParameter.SortCriterion.Key', 'message' => 'The specified parameter SortCriterion.Key is not valid.', 'http_code' => 400, 'description' => '参数 SortCriterion.Key 不合法。'],
+ ['code' => 'InvalidParameter.TargetType', 'message' => 'The specified parameter TargetType is not valid.', 'http_code' => 409, 'description' => '参数TargetType无效。'],
+ ['code' => 'InvalidSearch.GraphQL', 'message' => 'Error: %s.', 'http_code' => 409, 'description' => '错误:%s。'],
+ ['code' => 'InvalidSearch.SQL', 'message' => 'Error: %s', 'http_code' => 400, 'description' => '错误:%s'],
+ ['code' => 'LengthExceedLimit.Description', 'message' => 'The length of parameter Description exceed limit.', 'http_code' => 409, 'description' => '查询模板描述的长度超过限制。'],
+ ['code' => 'LengthExceedLimit.Expression', 'message' => 'The length of parameter Expression exceed limit.', 'http_code' => 400, 'description' => '查询表达式的长度超过限制。'],
+ ['code' => 'LengthExceedLimit.FilterConfiguration', 'message' => 'The length of parameter FilterConfiguration exceed limit.', 'http_code' => 409, 'description' => '参数 FilterConfiguration 长度超过限制。'],
+ ['code' => 'LengthExceedLimit.FilterName', 'message' => 'The length of parameter FilterName exceed limit.', 'http_code' => 409, 'description' => '参数 FilterName 长度超过限制。'."\n"],
+ ['code' => 'LengthExceedLimit.Input', 'message' => 'The length of parameter Input exceed limit.', 'http_code' => 400, 'description' => '输入文本的长度超过限制。'],
+ ['code' => 'LengthExceedLimit.Name', 'message' => 'The length of parameter Name exceed limit.', 'http_code' => 409, 'description' => '查询模板名称的长度超过限制。'],
+ ['code' => 'MissingParameter.ConfigurationChangeDelivery.TargetArn', 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetArn is missing.', 'http_code' => 404, 'description' => '请求参数 ConfigurationChangeDelivery.TargetArn 缺失。'],
+ ['code' => 'MissingParameter.ConfigurationChangeDelivery.TargetType', 'message' => 'The specified parameter ConfigurationChangeDelivery.TargetType is missing.', 'http_code' => 404, 'description' => '请求参数 ConfigurationChangeDelivery.TargetType 缺失。'],
+ ['code' => 'MissingParameter.ConfigurationSnapshotDelivery.DeliveryTime', 'message' => 'Missing required parameter DeliveryTime for ConfigurationSnapshotDelivery.', 'http_code' => 404, 'description' => '请求参数 ConfigurationSnapshotDelivery.DeliveryTime 缺失。'],
+ ['code' => 'MissingParameter.ConfigurationSnapshotDelivery.DeliveryTime', 'message' => 'The specified parameter ConfigurationSnapshotDelivery.DeliveryTime is missing.', 'http_code' => 404, 'description' => '参数 ConfigurationSnapshotDelivery.DeliveryTime 缺失。'],
+ ['code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetArn', 'message' => 'Missing required parameter TargetArn for ConfigurationSnapshotDelivery.', 'http_code' => 404, 'description' => '请求参数 ConfigurationSnapshotDelivery.TargetArn 缺失。'],
+ ['code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetArn', 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetArn is missing.', 'http_code' => 404, 'description' => '参数 ConfigurationSnapshotDelivery.TargetArn 缺失。'],
+ ['code' => 'MissingParameter.ConfigurationSnapshotDelivery.TargetType', 'message' => 'The specified parameter ConfigurationSnapshotDelivery.TargetType is missing.', 'http_code' => 404, 'description' => '请求参数 ConfigurationSnapshotDelivery.TargetType 缺失。'],
+ ['code' => 'MissingParameter.DeliveryConfiguration', 'message' => 'The parameter ConfigurationSnapshotDelivery or ConfigurationChangeDelivery must be specified.', 'http_code' => 404, 'description' => '参数ConfigurationSnapshotDelivery或ConfigurationChangeDelivery必须指定。'],
+ ['code' => 'MissingParameter.DeliveryFilter', 'message' => 'The specified parameter DeliveryFilter is missing.', 'http_code' => 400, 'description' => '参数 DeliveryFilter 缺失。'],
+ ['code' => 'MissingParameter.DeliveryFilter.AccountScopes', 'message' => 'The specified parameter DeliveryFilter.AccountScopes is missing.', 'http_code' => 400, 'description' => '请求参数 DeliveryFilter.AccountScopes 缺失。'],
+ ['code' => 'MissingParameter.DeliveryName', 'message' => 'The specified parameter DeliveryName is missing.', 'http_code' => 400, 'description' => '参数 DeliveryName 缺失。'],
+ ['code' => 'MissingParameter.FilterConfiguration', 'message' => 'The specified parameter FilterConfiguration is missing.', 'http_code' => 400, 'description' => '参数 FilterConfiguration 缺失。'],
+ ['code' => 'MissingParameter.FilterName', 'message' => 'The specified parameter FilterName is missing.', 'http_code' => 404, 'description' => '参数 FilterName 缺失。'],
+ ['code' => 'MissingParameter.FilterValue', 'message' => 'You must specify Filter.n.Value.', 'http_code' => 400, 'description' => '缺少参数 Filter.n.Value。'],
+ ['code' => 'MissingParameter.GroupByKey', 'message' => 'You must specify GroupByKey.', 'http_code' => 400, 'description' => '缺少参数 GroupByKey。'],
+ ['code' => 'MissingParameter.MaxResults', 'message' => 'You must specify MaxResults.', 'http_code' => 400, 'description' => '缺少参数 MaxResults。'],
+ ['code' => 'MissingParameter.OverSizedDataOssTargetArn', 'message' => 'The specified parameter OverSizedDataOssTargetArn is missing.', 'http_code' => 400, 'description' => '请求参数 OverSizedDataOssTargetArn 缺失。'],
+ ['code' => 'MissingParameter.RegionId', 'message' => 'The specified parameter RegionId is missing.', 'http_code' => 400, 'description' => '参数 RegionId 缺失。'],
+ ['code' => 'MissingParameter.RelatedResourceFilterValue', 'message' => 'You must specify RelatedResourceFilterValue.n.Value.', 'http_code' => 400, 'description' => '缺少参数 RelatedResourceFilterValue.n.Value。'],
+ ['code' => 'MissingParameter.ResourceChangeDelivery.TargetArn', 'message' => 'The specified parameter ResourceChangeDelivery.TargetArn is missing.', 'http_code' => 400, 'description' => '请求参数 ResourceChangeDelivery.TargetArn 缺失。'],
+ ['code' => 'MissingParameter.ResourceChangeDelivery.TargetType', 'message' => 'The specified parameter ResourceChangeDelivery.TargetType is missing.', 'http_code' => 400, 'description' => '请求参数 ResourceChangeDelivery.TargetType 缺失。'],
+ ['code' => 'MissingParameter.ResourceDeliveryConfiguration', 'message' => 'The parameter ResourceSnapshotDelivery or ResourceChangeDelivery must be specified.', 'http_code' => 400, 'description' => '参数ResourceSnapshotDelivery或ResourceChangeDelivery必须指定。'],
+ ['code' => 'MissingParameter.ResourceId', 'message' => 'The specified parameter ResourceId is missing.', 'http_code' => 400, 'description' => '参数 ResourceId 缺失。'],
+ ['code' => 'MissingParameter.ResourceSnapshotDelivery.CustomExpression', 'message' => 'The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.', 'http_code' => 400, 'description' => '参数 ResourceSnapshotDelivery.CustomExpression 缺失。'],
+ ['code' => 'MissingParameter.ResourceSnapshotDelivery.DeliveryTime', 'message' => 'The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.', 'http_code' => 400, 'description' => '参数 ResourceSnapshotDelivery.DeliveryTime 缺失。'],
+ ['code' => 'MissingParameter.ResourceSnapshotDelivery.TargetArn', 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetArn is missing.', 'http_code' => 400, 'description' => '参数 ResourceSnapshotDelivery.TargetArn 缺失。'],
+ ['code' => 'MissingParameter.ResourceSnapshotDelivery.TargetType', 'message' => 'The specified parameter ResourceSnapshotDelivery.TargetType is missing.', 'http_code' => 400, 'description' => '请求参数 ResourceSnapshotDelivery.TargetType 缺失。'],
+ ['code' => 'MissingParameter.ResourceType', 'message' => 'The specified parameter ResourceType is missing.', 'http_code' => 400, 'description' => '参数 ResourceType 缺失。'."\n"],
+ ['code' => 'MissingParameter.TargetType', 'message' => 'The specified parameter TargetType is missing.', 'http_code' => 404, 'description' => '参数TargetType缺失。'],
+ ['code' => 'MultiAccountServiceNotEnabled', 'message' => 'Multi account ResourceCenter service is not enabled.', 'http_code' => 403, 'description' => '多账号资源中心服务未开通。'],
+ ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 403, 'description' => '无操作权限。'],
+ ['code' => 'NoPermission.AccountScope', 'message' => 'The operator is not permitted for this account scope.', 'http_code' => 403, 'description' => '当前用户未授权操作此资源目录账号范围。'],
+ ['code' => 'NoPermission.Resource', 'message' => 'The operator is not permitted for this resource.', 'http_code' => 403, 'description' => '当前用户未授权操作此资源。'],
+ ['code' => 'NoPermission.ResourceDirectory.MemberAccount', 'message' => 'ResourceDirectory Member Account is not authorized to perform this operation.', 'http_code' => 403, 'description' => '资源目录成员账号不能执行此操作,请使用管理账号操作。'],
+ ['code' => 'NoPermission.ResourceDirectory.MemberAccount', 'message' => 'The administrator account has enabled MultiAccountResourceCenter, ResourceDirectory Member Account is not authorized to perform this operation.', 'http_code' => 403, 'description' => '资源目录的管理员已开启跨账号资源搜索,作为资源目录的成员不允许关闭资源中心。'],
+ ['code' => 'NoPermission.ResourceType', 'message' => 'The operator is not permitted for this resource type.', 'http_code' => 403, 'description' => '当前用户未授权操作此资源类型。'],
+ ['code' => 'NoPermission.ServiceLinkedRole', 'message' => 'The current user does not have permission to create servicelinkedrole. Please contact the Alibaba Cloud account or administrator to authorize custom policy: Service Name: rmc.resourcemanager.aliyuncs.com, Action: ram:CreateServiceLinkedRole.', 'http_code' => 403, 'description' => '当前用户没有创建服务关联角色的权限,请联系主账号或权限管理员授权创建服务关联角色的自定义权限策略。自定义权限策略的相关信息如下:Service Name:rmc.resourcemanager.aliyuncs.com,执行该操作所需的用户权限:ram:CreateServiceLinkedRole。'],
+ ['code' => 'NotExists.Account', 'message' => 'The specified account does not exist.', 'http_code' => 404, 'description' => '指定账号不存在。'],
+ ['code' => 'NotExists.DefaultFilter', 'message' => 'The default filter of current user not exists.', 'http_code' => 404, 'description' => '默认筛选条件不存在。'."\n"],
+ ['code' => 'NotExists.DeliveryChannelId', 'message' => 'The DeliveryChannelId does not exist.', 'http_code' => 404, 'description' => '输入的 DeliveryChannelId 不存在。'],
+ ['code' => 'NotExists.FilterName', 'message' => 'The filter name of current user not exists.', 'http_code' => 409, 'description' => 'FilterName不存在。'],
+ ['code' => 'NotExists.QueryId', 'message' => 'The QueryId does not exist.', 'http_code' => 404, 'description' => '输入的QueryId不存在。'],
+ ['code' => 'NotExists.Resource', 'message' => 'The specified resource does not exist.', 'http_code' => 404, 'description' => '指定资源不存在。'],
+ ['code' => 'NotExists.ResourceDirectory', 'message' => 'The resource directory for the account is not enabled.', 'http_code' => 404, 'description' => '当前账号未开通资源目录。'],
+ ['code' => 'NotExists.ResourceDirectory.FolderId', 'message' => 'The specified folder does not exist.', 'http_code' => 404, 'description' => '指定文件夹不存在。'],
+ ['code' => 'NotExists.ResourceGroup', 'message' => 'The specified ResourceGroup does not exist.', 'http_code' => 404, 'description' => '指定资源组不存在。'],
+ ['code' => 'NotExists.ServiceName', 'message' => 'The ServiceName does not exist.', 'http_code' => 404, 'description' => '输入的 ServiceName 不存在。'],
+ ['code' => 'NotSupport.Account.Site', 'message' => 'The caller is not a current site account, which is not supported.', 'http_code' => 409, 'description' => '当前账号所属站点错误。'],
+ ['code' => 'NotSupport.Account.Site', 'message' => 'The caller is not a current site account.', 'http_code' => 409, 'description' => '请求用户不是当前站点的账号。'],
+ ['code' => 'ServiceNotEnabled', 'message' => 'ResourceCenter Service is not enabled.', 'http_code' => 403, 'description' => '资源中心服务未开通。'],
+ ['code' => 'ServiceNotEnabled.SpecifiedAccount', 'message' => 'ResourceCenter service of the specified account is not enabled.', 'http_code' => 403, 'description' => '指定账户的资源中心服务未开通。'],
+ ['code' => 'SQLExecuteError', 'message' => 'Failed to execute the SQL statement.', 'http_code' => 400, 'description' => '未能执行查询,请检查查询语句是否书写有误。'],
+ ['code' => 'SQLGenerateError', 'message' => 'Unable to generate a sql for the input. Rephrase, and try again.', 'http_code' => 400, 'description' => '模型无法处理您输入的请求。请重新表述您的问题,然后重试。'],
+ ['code' => 'NotExists.ResourceType', 'message' => 'The specified resource type does not exist.', 'http_code' => 404, 'description' => '指定资源类型不存在。'."\n"],
+ ['code' => 'MissingParameter.AccountScope', 'message' => 'The specified parameter AccountScope is missing.', 'http_code' => 400, 'description' => '参数 AccountScope 缺失。'],
+ ['code' => 'InvalidParameter.Filter.IpAddress', 'message' => 'The specified parameter Filter.n.IpAddress is not valid.', 'http_code' => 400, 'description' => '参数 Filter.n.IpAddress 不合法。'],
+ ['code' => 'InvalidParameter.Filter.Tag', 'message' => 'The specified parameter Filter.n.Tag is not valid.', 'http_code' => 400, 'description' => '参数 Filter.n.Tag 不合法。'],
+ ['code' => 'InvalidParameter.Filter.CreateTime', 'message' => 'The specified parameter Filter.n.CreateTime is not valid.', 'http_code' => 400, 'description' => '参数 Filter.n.CreateTime 不合法。'],
],
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceCenterServiceStatus',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListTagValues',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountTagValues',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountResourceRelationships',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateSavedQuery',
- ],
- [
- 'threshold' => '3',
- 'countWindow' => 5,
- 'regionId' => '*',
- 'api' => 'ExecuteSQLQuery',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetMultiAccountResourceCenterServiceStatus',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListFilters',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListExampleQueries',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListResourceTypes',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteFilter',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DisassociateDefaultFilter',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'DeleteSavedQuery',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetMultiAccountResourceConfiguration',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListResourceRelationships',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'SearchResources',
- ],
- [
- 'threshold' => '10',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UpdateSavedQuery',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'AssociateDefaultFilter',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountResourceGroups',
- ],
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DisableResourceCenter',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListSavedQueries',
- ],
- [
- 'threshold' => '100',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetExampleQuery',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceCounts',
- ],
- [
- 'threshold' => '50',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetSavedQuery',
- ],
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'DisableMultiAccountResourceCenter',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'GetResourceConfiguration',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'SearchMultiAccountResources',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'UpdateFilter',
- ],
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'EnableMultiAccountResourceCenter',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListMultiAccountTagKeys',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'ListTagKeys',
- ],
- [
- 'threshold' => '20',
- 'countWindow' => 1,
- 'regionId' => '*',
- 'api' => 'CreateFilter',
- ],
- [
- 'threshold' => '5',
- 'countWindow' => 60,
- 'regionId' => '*',
- 'api' => 'EnableResourceCenter',
- ],
- [
- 'threshold' => '3',
- 'countWindow' => 5,
- 'regionId' => '*',
- 'api' => 'ExecuteMultiAccountSQLQuery',
- ],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCenterServiceStatus'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagValues'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountTagValues'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountResourceRelationships'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSavedQuery'],
+ ['threshold' => '3', 'countWindow' => 5, 'regionId' => '*', 'api' => 'ExecuteSQLQuery'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMultiAccountResourceCenterServiceStatus'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFilters'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExampleQueries'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceTypes'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFilter'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisassociateDefaultFilter'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSavedQuery'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMultiAccountResourceConfiguration'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceRelationships'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchResources'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSavedQuery'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateDefaultFilter'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountResourceGroups'],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableResourceCenter'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSavedQueries'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetExampleQuery'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCounts'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSavedQuery'],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableMultiAccountResourceCenter'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceConfiguration'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchMultiAccountResources'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFilter'],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableMultiAccountResourceCenter'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountTagKeys'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFilter'],
+ ['threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableResourceCenter'],
+ ['threshold' => '3', 'countWindow' => 5, 'regionId' => '*', 'api' => 'ExecuteMultiAccountSQLQuery'],
],
],
'ram' => [
'productCode' => 'ResourceManager',
'productName' => '资源管理',
- 'ramCodes' => [
- 'resourcecenter',
- 'resourcemanager',
- 'tag',
- 'resourcesharing',
- ],
+ 'ramCodes' => ['resourcecenter', 'resourcemanager', 'tag', 'resourcesharing'],
'ramLevel' => '操作级',
'ramConditions' => [
[
'name' => 'resourcesharing:ResourceArn',
- 'schema' => [
- 'type' => 'String',
- 'description' => '资源ARN。取值示例:acs:vpc:cn-shanghai:131993166204****:vswitch/vsw-7xv4sfwo86u2etl64****。',
- ],
+ 'schema' => ['type' => 'String', 'description' => '资源ARN。取值示例:acs:vpc:cn-shanghai:131993166204****:vswitch/vsw-7xv4sfwo86u2etl64****。'],
],
[
'name' => 'resourcesharing:RequestedAllowExternalTargets',
'schema' => [
'type' => 'Boolean',
'description' => '是否允许共享给资源目录外的账号。取值示例:false。',
- 'enums' => [
- 'true',
- 'false',
- ],
+ 'enums' => ['true', 'false'],
],
],
[
'name' => 'ram:ServiceName',
- 'schema' => [
- 'type' => 'String',
- 'description' => '服务关联角色可信的云服务标识,取值示例:actiontrail.aliyuncs.com服务关联角色可信的云服务标识,取值示例:actiontrail.aliyuncs.com',
- ],
+ 'schema' => ['type' => 'String', 'description' => '服务关联角色可信的云服务标识,取值示例:actiontrail.aliyuncs.com服务关联角色可信的云服务标识,取值示例:actiontrail.aliyuncs.com'],
],
[
'name' => 'resourcesharing:Target',
- 'schema' => [
- 'type' => 'String',
- 'description' => '取值示例:资源目录ID、资源夹的RDPath或账号的RDPath(组织内账号)或账号ID(组织外账号)。',
- ],
+ 'schema' => ['type' => 'String', 'description' => '取值示例:资源目录ID、资源夹的RDPath或账号的RDPath(组织内账号)或账号ID(组织外账号)。'],
],
[
'name' => 'resourcesharing:RequestedResourceType',
- 'schema' => [
- 'type' => 'String',
- 'description' => '资源类型。取值示例:VSwitch。',
- ],
+ 'schema' => ['type' => 'String', 'description' => '资源类型。取值示例:VSwitch。'],
],
],
'ramActions' => [
@@ -10638,12 +5564,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10656,12 +5577,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10674,12 +5590,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10692,12 +5603,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10710,12 +5616,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10728,12 +5629,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10746,12 +5642,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10764,12 +5655,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10782,12 +5668,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10801,12 +5682,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10820,12 +5696,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10839,12 +5710,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10857,12 +5723,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10875,12 +5736,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10893,12 +5749,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10911,12 +5762,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10930,12 +5776,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10948,12 +5789,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10966,12 +5802,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -10984,12 +5815,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11002,12 +5828,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11021,12 +5842,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11039,12 +5855,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11057,12 +5868,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11075,12 +5881,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11093,12 +5894,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11112,12 +5908,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11131,12 +5922,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11150,12 +5936,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11168,12 +5949,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11186,12 +5962,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11204,12 +5975,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11223,12 +5989,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11241,12 +6002,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11260,12 +6016,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11278,12 +6029,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11296,12 +6042,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11314,12 +6055,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11332,12 +6068,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11350,12 +6081,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11369,12 +6095,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11387,12 +6108,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11405,12 +6121,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11424,12 +6135,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11442,12 +6148,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11461,12 +6162,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11479,12 +6175,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11497,12 +6188,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
@@ -11515,12 +6201,7 @@
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
- [
- 'validationType' => 'always',
- 'product' => 'ResourceManager',
- 'resourceType' => '全部资源',
- 'arn' => '*',
- ],
+ ['validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],