'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'ResourceCenter', 'version' => '2022-12-01', ], 'directories' => [ [ 'children' => [ 'EnableResourceCenter', 'GetResourceCenterServiceStatus', 'DisableResourceCenter', ], 'type' => 'directory', 'title' => '管理资源中心', 'id' => 39935, ], [ 'children' => [ 'SearchResources', 'GetResourceConfiguration', 'ListTagValues', 'ListTagKeys', 'ListResourceTypes', 'GetResourceCounts', 'BatchGetResourceConfigurations', ], 'type' => 'directory', 'title' => '资源搜索', 'id' => 39775, ], [ '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', ], 'type' => 'directory', 'title' => '高级搜索', 'id' => 39791, ], [ 'children' => [ 'CreateFilter', 'UpdateFilter', 'ListFilters', 'DeleteFilter', 'AssociateDefaultFilter', 'DisassociateDefaultFilter', ], 'type' => 'directory', 'title' => '筛选条件', 'id' => 39801, ], [ 'children' => [ 'CreateDeliveryChannel', 'DeleteDeliveryChannel', 'GetDeliveryChannel', 'GetDeliveryChannelStatistics', 'ListDeliveryChannels', 'UpdateDeliveryChannel', ], 'type' => 'directory', 'title' => '资源投递', 'id' => 39968, ], [ 'children' => [ 'CreateMultiAccountDeliveryChannel', 'DeleteMultiAccountDeliveryChannel', 'GetMultiAccountDeliveryChannel', 'GetMultiAccountDeliveryChannelStatistics', 'ListMultiAccountDeliveryChannels', 'UpdateMultiAccountDeliveryChannel', ], 'type' => 'directory', 'title' => '跨账号资源投递', 'id' => 40022, ], [ 'children' => [ 'ListResourceRelationships', 'ListMultiAccountResourceRelationships', ], 'type' => 'directory', 'title' => '资源关系', 'id' => 44881, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AssociateDefaultFilter' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsoleOXO8QS', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'FilterName', 'in' => 'query', 'schema' => [ 'description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => '所有ECS实例资源', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '54673B22-2001-556A-B394-B8697AA9670B', ], ], 'description' => '', ], ], ], '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", ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '设置默认筛选条件', 'summary' => '设置默认筛选条件。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AssociateDefaultFilter', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:AssociateDefaultFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'Resources', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源列表。', 'type' => 'array', 'items' => [ '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', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 100, 'minItems' => 1, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F1CE0D52-32DA-531A-87A4-B9A5B68*****', ], 'Resources' => [ 'description' => '资源列表。', 'type' => 'array', 'items' => [ 'description' => '资源。', 'type' => 'object', 'properties' => [ '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', ], 'IpAddressAttributes' => [ 'description' => 'IP地址属性。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'IpAddresses' => [ 'description' => 'IP地址。'."\n" ."\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', ], 'Tags' => [ 'description' => '标签。', 'type' => 'array', 'items' => [ 'description' => '标签。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'test_key', ], 'Value' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'test_value', ], ], ], ], 'ZoneId' => [ 'description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-k', ], ], ], ], ], ], ], ], '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", ], ], 403 => [ [ 'errorCode' => 'NoPermission.Resource', 'errorMessage' => 'The operator is not permitted for this resource.', 'description' => '当前用户未授权操作此资源。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '批量查询资源配置', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'resourcecenter:GetResourceConfiguration', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1CE0D52-32DA-531A-87A4-B9A5B68*****\\",\\n \\"Resources\\": [\\n {\\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 \\"ResourceGroupId\\": \\"rg-acfmzawhxxc****\\",\\n \\"ResourceId\\": \\"eip-wz9gdtce0q6h48h*****\\",\\n \\"ResourceName\\": \\"group1\\",\\n \\"ResourceType\\": \\"ACS::ECS::Instance\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"test_key\\",\\n \\"Value\\": \\"test_value\\"\\n }\\n ],\\n \\"ZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n ]\\n}","type":"json"}]', ], 'CreateDeliveryChannel' => [ 'summary' => '创建当前账号资源投递渠道。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DeliveryChannelName', 'in' => 'query', 'schema' => [ 'description' => '投递渠道名称。', 'type' => 'string', 'required' => true, 'example' => 'test-delivery', ], ], [ 'name' => 'DeliveryChannelDescription', 'in' => 'query', 'schema' => [ 'description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => '测试投递', ], ], [ 'name' => 'ResourceSnapshotDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ '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', ], 'TargetType' => [ 'description' => '投递目标类型。取值:'."\n" ."\n" .'* 对于标准资源快照定时投递,仅可传入`OSS`。'."\n" ."\n" .'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', 'OSS' => 'OSS', ], 'example' => 'OSS', ], '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', ], ], 'required' => false, ], ], 'required' => false, ], ], [ 'name' => 'ResourceChangeDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '资源配置变更投递。', 'type' => 'object', 'properties' => [ 'SlsProperties' => [ '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', ], ], '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', ], 'TargetType' => [ 'description' => '投递目标类型。'."\n" ."\n" .'取值: `SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', ], 'example' => 'SLS', ], ], 'required' => false, ], ], [ 'name' => 'DeliveryChannelFilter', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '投递渠道生效范围。', 'type' => 'object', 'properties' => [ 'ResourceTypes' => [ 'description' => '投递的资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n" ."\n" .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC', ], 'required' => false, ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', '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', ], ], ], ], ], '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 无效。', ], ], 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必须指定。', ], ], 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', ], 'title' => '创建当前账号资源投递渠道', 'description' => '资源投递支持资源快照定时投递与资源配置变更投递。'."\n" ."\n" .'对于资源快照定时投递目前支持两种投递场景:'."\n" ."\n" .'* 标准资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数为空时,为标准资源快照定时投递。'."\n" ."\n" .'* 自定义资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数不为空时,为自定义资源快照定时投递。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'FilterName', 'in' => 'query', 'schema' => [ 'description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => '我的筛选条件。', ], ], [ '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", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF', ], ], 'description' => '', ], ], ], '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 不合法。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建筛选条件', 'summary' => '创建筛选条件。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFilter', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'DeliveryChannelName', 'in' => 'query', '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.', ], ], [ 'name' => 'ResourceSnapshotDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ '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', ], 'TargetType' => [ 'description' => '投递目标类型。取值:'."\n" ."\n" .'* 对于标准资源快照定时投递,仅可传入`OSS`。'."\n" ."\n" .'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', 'OSS' => 'OSS', ], 'example' => 'OSS', ], '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', ], ], 'required' => false, ], ], 'required' => false, ], ], [ 'name' => 'ResourceChangeDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '资源配置变更投递。', 'type' => 'object', 'properties' => [ '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', ], ], '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", ], 'TargetType' => [ 'description' => '投递目标类型。'."\n" ."\n" .'取值:`SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', ], 'example' => 'SLS', ], ], 'required' => false, ], ], [ 'name' => 'DeliveryChannelFilter', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '投递渠道生效范围。', 'type' => 'object', 'properties' => [ '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", ], 'required' => true, ], 'ResourceTypes' => [ 'description' => '投递的资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n" ."\n" .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC'."\n", ], 'required' => false, ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', '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***', ], ], ], ], ], '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' => '', ], ], 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' => '', ], ], 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', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\",\\n \\"RequestId\\": \\"994BFEFE-4BB5-5A27-8917-4583DEEF2***\\"\\n}","type":"json"}]', 'title' => '创建跨账号资源投递渠道', 'description' => '资源目录管理账号或资源中心委派管理员账号可以在资源中心创建跨账号资源投递,将资源目录成员的资源定时快照和资源配置变更事件投递到对象存储(OSS)或日志服务(SLS),然后从OSS或SLS消费标准化的资源信息。'."\n" ."\n" .'对于资源快照定时投递目前支持两种投递场景:'."\n" ."\n" .'* 标准资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数为空时,为标准资源快照定时投递。'."\n" ."\n" .'* 自定义资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数不为空时,为自定义资源快照定时投递。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'CreateSavedQuery' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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' => '查询我的所有资源。', ], ], [ 'name' => 'Expression', 'in' => 'query', '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' => '查询所有资源。', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 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' => '查询模板名称已经存在。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '创建自定义查询模板', 'summary' => '创建自定义查询模板。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSavedQuery', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道 ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-6q79dm4o9***', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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 不存在。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '删除当前账号资源投递渠道', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD5F848D-CCDC-5464-93E1-4BA50A482***\\"\\n}","type":"json"}]', ], 'DeleteFilter' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'FilterName', 'in' => 'query', 'schema' => [ 'description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => '我的筛选条件', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5', ], ], 'description' => '', ], ], ], '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", ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '删除筛选条件', 'summary' => '删除筛选条件。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFilter', ], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道 ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-0bzhsqpnkxxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '删除跨账号资源投递渠道', 'summary' => '删除跨账号资源投递渠道。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3C5CDBF6-4DB7-53E9-ADDC-5919E3FAC***\\"\\n}","type":"json"}]', ], 'DeleteSavedQuery' => [ 'summary' => '删除自定义查询模板。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 409 => [ [ 'errorCode' => 'NotExists.QueryId', 'errorMessage' => 'The QueryId does not exist.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '删除自定义查询模板', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSavedQuery', ], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D170D58E-6256-5344-8F5E-922EC9ECB7EA\\"\\n}","type":"json"}]', ], 'DisableMultiAccountResourceCenter' => [ 'summary' => '关闭跨账号资源搜索。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '存在活跃的投递渠道,资源中心无法关闭。', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4951F920-48DB-5731-96AA-3A7C8AE617D9\\"\\n}","type":"json"}]', 'title' => '关闭跨账号资源搜索', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableMultiAccountResourceCenter', ], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DisableMultiAccountResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'DisableResourceCenter' => [ 'summary' => '关闭资源中心。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 404 => [ [ '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' => '存在活跃的投递渠道,资源中心无法关闭。', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D170D58E-6256-5344-8F5E-922EC9ECB7EA\\"\\n}","type":"json"}]', 'title' => '关闭资源中心', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DisableResourceCenter', ], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DisableResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'DisassociateDefaultFilter' => [ 'summary' => '取消默认筛选条件。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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', ], ], 'description' => '', ], ], ], 'errorCodes' => [ 404 => [ [ 'errorCode' => 'NotExists.DefaultFilter', 'errorMessage' => 'The default filter of current user not exists.', 'description' => '默认筛选条件不存在。'."\n", ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '取消默认筛选条件', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisassociateDefaultFilter', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:DisassociateDefaultFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BCAB07BA-82FA-5DC0-9322-FB7ED726481D\\"\\n}","type":"json"}]', ], 'EnableMultiAccountResourceCenter' => [ 'summary' => '开通跨账号资源搜索。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsoleFSBNKB', ], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '当前账号未开通资源目录。', ], ], 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' => '当前账号所属站点错误。', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"767038B7-2027-5508-858B-E213232D57D5\\",\\n \\"Status\\": \\"Pending\\"\\n}","type":"json"}]', 'title' => '开通跨账号资源搜索', 'description' => '如果您已经通过资源目录搭建了企业的多账号体系结构,您可以使用资源目录的管理账号或委派管理员账号开通跨账号资源搜索,查看多个成员中的资源。关于资源目录的更多信息,请参见[资源目录概述](~~200506~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableMultiAccountResourceCenter', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:EnableMultiAccountResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'EnableResourceCenter' => [ 'summary' => '开通资源中心。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], '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 不合法。', ], ], 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' => '开通关闭资源中心过于频繁,服务状态冲突。', ], ], ], 'title' => '开通资源中心', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '5', 'countWindow' => 60, 'regionId' => '*', 'api' => 'EnableResourceCenter', ], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:EnableResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"45357BEF-AB50-5E4D-B05D-5A882A4BE924\\",\\n \\"Status\\": \\"Pending\\"\\n}","type":"json"}]', ], 'ExecuteMultiAccountSQLQuery' => [ 'summary' => '使用SQL查询跨账号的资源。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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;', ], ], [ '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****', ], ], [ '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', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '查询返回结果下一页的令牌。'."\n" ."\n" .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****'."\n", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'Columns' => [ 'description' => '列信息。', 'type' => 'array', 'items' => [ 'description' => '列信息。', 'type' => 'object', 'properties' => [ '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', ], 'Rows' => [ 'description' => '搜索结果数组。', 'type' => 'array', 'items' => [ 'description' => '结果行信息。', 'type' => 'any', 'example' => '['."\n" .' "vsw-xxx“'."\n" .']', ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => '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' => '', ], ], ], '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', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ExecuteMultiAccountSQLQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ExecuteSQLQuery' => [ 'summary' => '使用SQL查询当前账号下有权限访问的资源。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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;', ], ], [ 'name' => 'Scope', 'in' => 'query', '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', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '查询返回结果下一页的令牌。'."\n" ."\n" .'当返回结果数据总条数超过`MaxResults`限制,则数据会被截断,您可以使用`NextToken`查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'Columns' => [ 'description' => '列信息。', 'type' => 'array', 'items' => [ 'description' => '列信息。', 'type' => 'object', 'properties' => [ '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', ], 'Rows' => [ 'description' => '搜索结果数组。', 'type' => 'array', 'items' => [ 'description' => '结果行信息。', 'type' => 'any', 'example' => '['."\n" .' "vsw-xxx" '."\n" .']', ], ], ], ], ], ], '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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '使用SQL查询当前账号的资源', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '3', 'countWindow' => 5, 'regionId' => '*', 'api' => 'ExecuteSQLQuery', ], ], ], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'resourcecenter:ExecuteSQLQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Columns\\": [\\n {\\n \\"Name\\": \\"resource_id\\",\\n \\"Type\\": \\"varchar\\"\\n }\\n ],\\n \\"MaxResults\\": 1000,\\n \\"NextToken\\": \\"eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****\\\\n\\",\\n \\"RequestId\\": \\"D696E6EF-3A6D-5770-801E-4982081FE4D0\\",\\n \\"Rows\\": [\\n \\"[\\\\n \\\\\\"vsw-xxx\\\\\\" \\\\n]\\"\\n ]\\n}","type":"json"}]', ], 'GetDeliveryChannel' => [ 'summary' => '获取当前账号资源投递渠道。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsole6ULZDO', ], ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。', 'type' => 'string', 'required' => false, 'example' => 'dc-6q79dm4o9***', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'DeliveryChannelDescription' => [ 'description' => '投递渠道描述。', 'type' => 'string', 'example' => 'This is a description.', ], 'DeliveryChannelFilter' => [ 'description' => '投递渠道生效范围。', 'type' => 'object', 'properties' => [ 'ResourceTypes' => [ 'description' => '投递资源类型范围。', 'type' => 'array', '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***', ], 'ResourceChangeDelivery' => [ 'description' => '资源配置变更投递。', 'type' => 'object', 'properties' => [ 'SlsProperties' => [ 'description' => 'SLS配置。', 'type' => 'object', 'properties' => [ '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', ], ], ], '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;', ], 'SlsProperties' => [ 'description' => 'SLS配置。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'errorCodes' => [ 404 => [ [ 'errorCode' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => '', ], ], ], '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' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetDeliveryChannelStatistics' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-6q79dm4o9***', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'DeliveryChannelStatistics' => [ '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', ], ], ], '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 不存在。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取当前账号资源投递渠道统计信息', 'summary' => '获取当前账号资源投递渠道统计信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetDeliveryChannelStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'ExampleQuery' => [ '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****', ], ], ], '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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取系统查询模板', 'summary' => '获取系统查询模板。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。', 'type' => 'string', 'required' => false, 'example' => 'dc-6q79dm4o9***', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'DeliveryChannelDescription' => [ 'description' => '投递渠道描述。', 'type' => 'string', 'example' => '投递描述', ], 'DeliveryChannelFilter' => [ 'description' => '投递渠道生效范围。', 'type' => 'object', 'properties' => [ 'AccountScopes' => [ 'description' => '投递的账号范围列表。', 'type' => 'array', 'items' => [ 'description' => '投递的账号范围。', 'type' => 'string', 'example' => '1911422487776***'."\n", ], ], 'ResourceTypes' => [ 'description' => '投递的资源类型列表。', 'type' => 'array', '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***', ], 'ResourceChangeDelivery' => [ 'description' => '资源配置变更投递。', 'type' => 'object', 'properties' => [ 'SlsProperties' => [ 'description' => 'SLS配置。', 'type' => 'object', 'properties' => [ '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', ], ], ], '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;', ], 'SlsProperties' => [ 'description' => 'SLS配置。', 'type' => 'object', 'properties' => [ 'OversizedDataOssTargetArn' => [ 'description' => '大文件投递目标ARN。', 'type' => 'string', 'example' => 'acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss', ], ], ], 'Enabled' => [ 'description' => '是否开启资源快照定时投递。取值:'."\n" .'- true: 开启。'."\n" .'- false:关闭。', 'type' => 'string', 'example' => 'true', ], ], ], ], ], ], ], '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' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取跨账号资源投递渠道', 'summary' => '获取跨账号资源投递渠道。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-6q79dm4o9***', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'DeliveryChannelStatistics' => [ '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', ], ], ], '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' => 'NotExists.DeliveryChannelId', 'errorMessage' => 'The DeliveryChannelId does not exist.', 'description' => '输入的 DeliveryChannelId 不存在。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.DeliveryChannelId', 'errorMessage' => 'The specified parameter DeliveryChannelId is not valid.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取跨账号资源投递渠道统计信息', 'summary' => '获取跨账号资源投递渠道统计信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannelStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DeliveryChannelStatistics\\": {\\n \\"DeliveryChannelId\\": \\"dc-6q79dm4o9***\\\\n\\",\\n \\"DeliveryChannelName\\": \\"test-multi-account-delivery\\",\\n \\"LatestChangeDeliveryTime\\": \\"2025-06-03T16:05:15Z\\",\\n \\"LatestSnapshotDeliveryTime\\": \\"2025-06-03T16:00:00Z\\"\\n },\\n \\"RequestId\\": \\"80DF0610-504C-56D7-BDCF-7C92FD687***\\\\n\\"\\n}","type":"json"}]', ], 'GetMultiAccountResourceCenterServiceStatus' => [ 'summary' => '查询跨账号资源搜索开通状态。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsole43MR20', ], ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], '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' => '', ], ], 404 => [ [ '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' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InitialStatus\\": \\"Pending\\",\\n \\"RequestId\\": \\"81671397-1425-51F1-A144-4799E01BEBFF\\",\\n \\"ServiceStatus\\": \\"Enabled\\"\\n}","type":"json"}]', 'title' => '查询跨账号资源搜索开通状态', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMultiAccountResourceCenterServiceStatus', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountResourceCenterServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetMultiAccountResourceConfiguration' => [ 'summary' => '查询资源目录管理账号或成员的资源配置。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'AccountId', 'in' => 'query', 'schema' => [ 'description' => '资源目录管理账号ID或成员ID。', 'type' => 'string', 'required' => true, 'example' => '1619302****', ], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', 'schema' => [ 'description' => '资源地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::VPC::RouteTable', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'm-eb3hji****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], 'IpAddressAttributes' => [ 'description' => 'IP地址属性。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'IpAddresses' => [ 'description' => 'IP地址。'."\n" ."\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', ], 'Tags' => [ 'description' => '资源标签。', 'type' => 'array', 'items' => [ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ 'Value' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'tag-value', ], 'Key' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'tag-key', ], ], ], ], 'ZoneId' => [ 'description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-a', ], 'Configuration' => [ 'description' => '资源配置详情。', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '资源配置详情。', 'example' => '{\\"uid\\":\\"140874204639****\\",\\"groupId\\":\\"3zLxraq7qE9dRakjoQYI00****\\"}', ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ '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' => '当前账号未开通资源目录。', ], ], 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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询多账号资源配置', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetMultiAccountResourceConfiguration', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountResourceConfiguration', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsoleYAPP2M', ], ], 'parameters' => [ [ 'name' => 'GroupByKey', 'in' => 'query', 'schema' => [ 'description' => '资源数量统计的分组维度。取值:'."\n" .'- ResourceType:资源类型。'."\n" .'- RegionId:地域。'."\n" .'- ResourceGroupId:资源组ID。'."\n" ."\n" .'> 如果不传,则返回满足条件的资源总数。', 'type' => 'string', 'required' => false, 'example' => 'ResourceType', ], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ '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', ], 'required' => false, 'maxItems' => 200, ], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], [ '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", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'Filters' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId', ], 'Values' => [ 'description' => '过滤条件值。', 'type' => 'array', 'items' => [ 'description' => '过滤条件值。', 'type' => 'string', 'example' => 'cn-shanghai', ], ], ], ], ], 'GroupByKey' => [ 'description' => '资源统计的分组维度。', 'type' => 'string', 'example' => 'ResourceType', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'EFA806B9-7F36-55AB-8B7A-D680C2C5EE57', ], 'ResourceCounts' => [ 'description' => '资源数量列表。', 'type' => 'array', 'items' => [ 'description' => '资源数量。', 'type' => 'object', 'properties' => [ '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****', ], ], ], ], ], '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 缺失。', ], ], 403 => [ [ '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' => '指定文件夹不存在。', ], ], 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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询多账号资源数量', 'summary' => '查询资源目录管理账号和多个成员中的资源数量。', 'description' => '仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。', 'requestParamsDescription' => '### 支持的过滤参数'."\n" .'|参数 |描述|支持的匹配类型|'."\n" .'| --- | ------ |------|'."\n" .'|ResourceType |资源类型。 |Equals|'."\n" .'|RegionId|地域ID。|Equals|'."\n" .'|ResourceId|资源ID。|Equals、Prefix|'."\n" .'|ResourceGroupId|资源组ID。|Equals、Exists、NotExists|'."\n" .'|ResourceName|资源名称。|Equals、Contains|'."\n" .'|Tag|标签键值对。 JSON格式为 `{ "key": $key, "value": $value }` ,key与value至少出现一个。例如:查询标签键`foo`和标签值`bar`,则传递`{ "key": "foo", "value": "bar" }` ;查询标签键`foo`,则传递`{ "key": "foo" }`。 |Contains、NotContains、NotExists|'."\n" .'|VpcId|VPC ID。|Equals|'."\n" .'|VSwitchId|交换机ID。|Equals|', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountResourceCounts', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"Values\\": [\\n \\"cn-shanghai\\"\\n ]\\n }\\n ],\\n \\"GroupByKey\\": \\"ResourceType\\",\\n \\"RequestId\\": \\"EFA806B9-7F36-55AB-8B7A-D680C2C5EE57\\",\\n \\"ResourceCounts\\": [\\n {\\n \\"Count\\": 2,\\n \\"GroupName\\": \\"ACS::ECS::NetworkInterface\\"\\n }\\n ],\\n \\"Scope\\": \\"rd-r4****\\"\\n}","type":"json"}]', ], 'GetResourceCenterServiceStatus' => [ 'summary' => '查询资源中心的服务状态。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsole3F5OJU', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ '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', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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"}]', 'title' => '查询资源中心服务状态', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCenterServiceStatus', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetResourceCenterServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetResourceConfiguration' => [ 'summary' => '查询当前账号的资源配置。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'ResourceRegionId', 'in' => 'query', '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', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'eip-bp1kyg72m****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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', ], 'IpAddressAttributes' => [ 'description' => 'IP地址属性。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'IpAddresses' => [ 'description' => 'IP地址。'."\n" ."\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', ], 'Tags' => [ 'description' => '标签。', 'type' => 'array', 'items' => [ 'description' => '标签。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '标签键。', 'type' => 'string', 'example' => 'test-key', ], 'Value' => [ 'description' => '标签值。', 'type' => 'string', 'example' => 'test-value', ], ], ], ], 'ZoneId' => [ 'description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-k', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ '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' => 'NotExists.Resource', 'errorMessage' => 'The specified resource does not exist.', 'description' => '指定资源不存在。', ], ], 409 => [ [ '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"}]', 'title' => '查询资源配置', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceConfiguration', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetResourceConfiguration', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'GetResourceCounts' => [ 'summary' => '查询当前账号下有权限访问的资源数量。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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', ], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ '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', ], 'required' => false, 'maxItems' => 200, ], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], [ 'name' => 'SearchExpression', 'in' => 'query', 'schema' => [ 'description' => '搜索关键词。资源中心会根据相关性对搜索结果进行过滤。', 'type' => 'string', 'required' => false, 'example' => 'keywords', ], ], [ 'name' => 'IncludeDeletedResources', 'in' => 'query', 'schema' => [ 'description' => '是否包含已删除资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'Filters' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId', ], 'Values' => [ 'description' => '过滤条件值。', 'type' => 'array', 'items' => [ 'description' => '过滤条件值。', 'type' => 'string', 'example' => 'cn-shanghai', ], ], ], ], ], 'GroupByKey' => [ 'description' => '资源统计的分组维度。', 'type' => 'string', 'example' => 'ResourceType', ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '6D98D9B0-318D-56A4-910C-93B5F945AF2B', ], 'ResourceCounts' => [ 'description' => '资源数量列表。', 'type' => 'array', 'items' => [ 'description' => '资源数量。', 'type' => 'object', 'properties' => [ 'Count' => [ 'description' => '资源数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'GroupName' => [ 'description' => '分组名称。', 'type' => 'string', 'example' => 'ACS::ECS::NetworkInterface', ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter.Filter.ResourceType', 'errorMessage' => 'The specified parameter value of Filter.ResourceType is not valid.', 'description' => '', ], ], 409 => [ [ 'errorCode' => 'ExceedLimit.FilterValue', 'errorMessage' => 'The number of objects specified in the FilterValue parameter exceeds the upper limit.', 'description' => '参数 FilterValue 数量超出上限。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询当前账号下的资源数量', 'description' => '- 仅能搜索当前账号下有权限访问的资源数量。'."\n" .'- 仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。', 'requestParamsDescription' => '### 支持的过滤参数'."\n" .'|参数 |描述|支持的匹配类型|'."\n" .'| --- | ------ |------|'."\n" .'|ResourceType |资源类型。 |Equals|'."\n" .'|RegionId|地域ID。|Equals|'."\n" .'|ResourceId|资源ID。|Equals、Prefix|'."\n" .'|ResourceGroupId|资源组ID。|Equals、Exists、NotExists|'."\n" .'|ResourceName|资源名称。|Equals、Contains|'."\n" .'|Tag|标签键值对。 JSON格式为 `{ "key": $key, "value": $value }` ,key与value至少出现一个。例如:查询标签键`foo`和标签值`bar`,则传递`{ "key": "foo", "value": "bar" }` ;查询标签键`foo`,则传递`{ "key": "foo" }`。 |Contains、NotContains、NotExists|'."\n" .'|VpcId|VPC ID。|Equals|'."\n" .'|VSwitchId|交换机ID。|Equals|', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceCounts', ], ], ], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Filters\\": [\\n {\\n \\"Key\\": \\"RegionId\\",\\n \\"Values\\": [\\n \\"cn-shanghai\\"\\n ]\\n }\\n ],\\n \\"GroupByKey\\": \\"ResourceType\\",\\n \\"RequestId\\": \\"6D98D9B0-318D-56A4-910C-93B5F945AF2B\\",\\n \\"ResourceCounts\\": [\\n {\\n \\"Count\\": 2,\\n \\"GroupName\\": \\"ACS::ECS::NetworkInterface\\"\\n }\\n ]\\n}","type":"json"}]', ], 'GetSavedQuery' => [ 'summary' => '获取自定义查询模板。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '', ], ], 409 => [ [ 'errorCode' => 'NotExists.QueryId', 'errorMessage' => 'The QueryId does not exist.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '获取自定义查询模板', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSavedQuery', ], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '查询返回结果下一页的令牌。'."\n" ."\n" .'当返回结果数据总条数超过MaxResults限制,则数据会被截断,您可以使用NextToken查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'DeliveryChannels' => [ 'description' => '当前账号资源投递渠道列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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', ], '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' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListExampleQueries' => [ 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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+$', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '下一页查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** '."\n", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'ExampleQueries' => [ 'description' => '系统模板信息。', 'type' => 'array', 'items' => [ 'description' => '系统模板信息。', 'type' => 'object', 'properties' => [ 'Description' => [ 'description' => '模板描述。', 'type' => 'string', 'example' => '返回所有有权限的资源,并按照资源类型和资源ID排列。', ], 'Name' => [ 'description' => '模板名称。', 'type' => 'string', 'example' => '列出所有阿里云资源', ], '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', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '列出所有的系统查询模板', 'summary' => '列出所有的系统查询模板。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'DefaultFilterName' => [ 'description' => '默认筛选条件名称。', 'type' => 'string', 'required' => false, 'example' => '我的筛选条件', ], 'Filters' => [ 'description' => '筛选条件。', 'type' => 'array', 'items' => [ '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' => '我管理的设备', ], ], ], ], 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'AA39FB9C-CB74-5E73-8DFE-3A2B096F0759', ], ], ], ], ], '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"}]', 'title' => '获取筛选条件列表', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFilters', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListFilters', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListMultiAccountDeliveryChannels' => [ 'summary' => '获取跨账号资源投递渠道列表。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '查询返回结果下一页的令牌。'."\n" ."\n" .'当返回结果数据总条数超过MaxResults限制,则数据会被截断,您可以使用NextToken查询下一页数据。', 'type' => 'string', 'required' => false, 'example' => 'AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'DeliveryChannels' => [ 'description' => '跨账号投递渠道列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], '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' => '资源目录成员账号不能执行此操作,请使用管理账号操作。', ], ], ], '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' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListMultiAccountDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'ListMultiAccountResourceGroups' => [ 'summary' => '查询资源目录管理账号或成员的资源组。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsole2YWA72', ], ], 'parameters' => [ [ 'name' => 'MaxResults', 'in' => 'query', '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', ], ], [ 'name' => 'AccountId', 'in' => 'query', 'schema' => [ 'description' => '资源目录管理账号ID或成员ID。', 'type' => 'string', 'required' => true, 'example' => '1394339739****', ], ], [ 'name' => 'ResourceGroupIds', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源组ID列表。', 'type' => 'array', 'items' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzawhxxc****', ], 'required' => false, 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListMultiAccountResourceGroupsResponseDTO', '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', ], 'ResourceGroups' => [ 'description' => '资源组列表。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], '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' => '', ], ], 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' => '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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询多账号资源组', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountResourceGroups', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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"}]', ], 'ListMultiAccountResourceRelationships' => [ 'summary' => '查询资源目录管理账号和多个成员中的资源关系。', 'path' => '', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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****', ], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'description' => '资源地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ACK::Cluster', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'm-eb3hji****', ], ], [ 'name' => 'RelatedResourceFilter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '相关资源过滤条件。', 'type' => 'array', 'items' => [ 'description' => '相关资源过滤条件。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'RelatedResourceRegionId', ], 'Value' => [ 'description' => '过滤条件值。', 'type' => 'array', 'items' => [ 'description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', ], 'required' => false, 'maxItems' => 200, 'minItems' => 0, ], 'MatchType' => [ 'description' => '匹配方式。', 'type' => 'string', 'required' => false, 'example' => 'Equals', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', '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", ], 'ResourceRelationships' => [ 'description' => '相关资源列表。', 'type' => 'array', 'items' => [ '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***', ], ], ], ], ], ], ], ], '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", ], ], 403 => [ [ '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 数量超出上限。', ], ], 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", ], ], ], '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" .'- ListMultiAccountResourceRelationships接口默认最多返回20条数据,您可以通过指定`MaxResults`参数调整最大返回条目数。'."\n" .'- 如果返回结果中不存在`NextToken`,则表示没有更多数据。否则,表示还有更多数据。如果想要查询后续页,需要将 ListMultiAccountResourceRelationships 接口的`NextToken`参数设置为上一次返回结果中获取到的`NextToken` 。如果未输入`NextToken`参数,查询时默认返回第一页的数据。'."\n" .'- 通过设置一个或多个过滤条件,可以精确资源的查询范围。支持的过滤参数以及匹配方式见下文。多个过滤条件之间是逻辑与`AND`的关系,只有同时满足所有过滤条件的资源才会被返回。每个过滤条件内部是逻辑或`OR`的关系,只要满足任意一个过滤条件值的资源都会被返回。', 'requestParamsDescription' => '### 支持的过滤参数'."\n" .'|参数 |描述|支持的匹配类型|'."\n" .'| --- | ------ |------|'."\n" .'|RelatedResourceRegionId |相关资源地域ID。 |Equals|'."\n" .'|RelatedResourceType|相关资源类型。|Equals|'."\n" .'|RelatedResourceId|相关资源ID。|Equals|', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMultiAccountResourceRelationships', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListMultiAccountResourceRelationships', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListMultiAccountTagKeys' => [ 'summary' => '查询资源目录管理账号或成员中的标签键。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', '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", ], ], [ 'name' => 'MaxResults', 'in' => 'query', '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****', ], ], [ 'name' => 'TagKey', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListMultiAccountTagKeysResponseDTO', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ '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' => '指定文件夹不存在。', ], ], 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' => '', ], ], ], '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', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'ListMultiAccountTagValues' => [ 'summary' => '查询资源目录管理账号或成员中的标签值。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'MaxResults', 'in' => 'query', '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****', ], ], [ 'name' => 'TagKey', 'in' => 'query', 'schema' => [ 'description' => '标签键。', 'type' => 'string', 'required' => true, 'example' => 'test_key', ], ], [ 'name' => 'TagValue', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListMultiAccountTagValuesResponseDTO', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], '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' => '', ], ], 403 => [ [ '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' => '指定文件夹不存在。', ], ], 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' => '', ], ], ], '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', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], ], 'ListResourceRelationships' => [ 'summary' => '查询当前账号下有权限访问的资源关系。', 'path' => '', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', 'schema' => [ 'description' => '资源地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'description' => '资源类型。', 'type' => 'string', 'required' => true, 'example' => 'ACS::ACK::Cluster', ], ], [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => [ 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'm-eb3hji****', ], ], [ 'name' => 'RelatedResourceFilter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '相关资源过滤条件。', 'type' => 'array', 'items' => [ 'description' => '相关资源过滤条件。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '过滤条件键。取值见下方`支持的过滤参数`。', 'type' => 'string', 'required' => false, 'example' => 'RelatedResourceRegionId', ], 'Value' => [ 'description' => '过滤条件值。', 'type' => 'array', 'items' => [ 'description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => 'cb-shanghai'."\n", ], 'required' => false, 'maxItems' => 200, 'minItems' => 0, ], 'MatchType' => [ 'description' => '匹配方式。', 'type' => 'string', 'required' => false, 'example' => 'Equals', ], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', '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****', ], 'ResourceRelationships' => [ 'description' => '相关资源列表。', 'type' => 'array', 'items' => [ '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***', ], ], ], ], ], ], ], ], '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", ], ], 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 数量超出上限。', ], ], 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", ], ], ], '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" .'- ListResourceRelationships接口默认最多返回20条数据,您可以通过指定`MaxResults`参数调整最大返回条目数。'."\n" .'- 如果返回结果中不存在`NextToken`,则表示没有更多数据。否则,表示还有更多数据。如果想要查询后续页,需要将ListResourceRelationships接口的`NextToken`参数设置为上一次返回结果中获取到的`NextToken` 。如果未输入`NextToken`参数,查询时默认返回第一页的数据。'."\n" .'- 通过设置一个或多个过滤条件,可以精确资源关系的查询范围。支持的过滤参数以及匹配方式见下文。多个过滤条件之间是逻辑与`AND`的关系,只有同时满足所有过滤条件的资源才会被返回。每个过滤条件内部是逻辑或`OR`的关系,只要满足任意一个过滤条件值的资源都会被返回。', 'requestParamsDescription' => '### 支持的过滤参数'."\n" .'|参数 |描述|支持的匹配类型|'."\n" .'| --- | ------ |------|'."\n" .'|RelatedResourceRegionId |相关资源地域ID。 |Equals|'."\n" .'|RelatedResourceType|相关资源类型。|Equals|'."\n" .'|RelatedResourceId|相关资源ID。|Equals|', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListResourceRelationships', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListResourceRelationships', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'ListResourceTypes' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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', ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => '资源类型。'."\n" ."\n" .'支持资源中心的资源类型,请参见[支持资源中心的云服务及资源类型](~~477798~~)。', 'type' => 'string', 'required' => false, 'example' => 'ACS::ACK::Cluster', ], ], [ 'name' => 'Query', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ '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', ], 'required' => false, 'maxItems' => 10, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListResourceTypesOpenResponseDTO', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => 'E5556E4C-479A-5BBB-B325-F07563E7E917', ], 'ResourceTypes' => [ 'description' => '资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '资源类型列表。', 'type' => 'object', 'properties' => [ 'CodeMapping' => [ 'description' => '资源类型代码映射。', 'type' => 'object', 'properties' => [ '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' => '集群', ], 'RelatedResourceTypes' => [ 'description' => '支持的相关资源类型。', 'type' => 'array', 'items' => [ 'description' => '支持的相关资源类型。', 'type' => 'string', 'example' => 'ACS::ACK::Cluster', ], ], ], ], ], ], ], ], ], '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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询资源中心支持的资源类型', 'summary' => '查询资源类型元数据。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, '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+$', ], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => [ 'description' => '下一个查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => 'eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], 'SavedQueries' => [ 'description' => '自定义查询模板信息。', 'type' => 'array', 'items' => [ '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', ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'NoPermission', 'errorMessage' => 'You are not authorized to perform this operation.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '列出所有的自定义查询模板', 'summary' => '列出所有的自定义查询模板。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSavedQueries', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListSavedQueries', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', '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', ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'MatchType', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => '匹配方式。取值:'."\n" ."\n" .'- Equals:相等匹配。'."\n" .'- Prefix:前缀匹配。', 'type' => 'string', 'required' => false, 'example' => 'Equals', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListTagKeysResponseDTO', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], '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 不合法。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.MatchType', 'errorMessage' => 'The specified parameter MatchType is not valid.', 'description' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '查询标签键', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagKeys', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'tag:ListTagKeys', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAUDnubHKJbVTCdlIGYUPtsu3EoN3bfdgjDA****\\",\\n \\"RequestId\\": \\"44C8A952-D6B0-5BC8-82D5-93BA02E26F2E\\",\\n \\"TagKeys\\": [\\n \\"test_key\\"\\n ]\\n}","type":"json"}]', ], 'ListTagValues' => [ 'summary' => '查询当前账号下的标签值。', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREentconsoleBIZ0IQ', ], ], 'parameters' => [ [ 'name' => 'MaxResults', 'in' => 'query', '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****', ], ], [ 'name' => 'TagKey', 'in' => 'query', 'schema' => [ 'description' => '标签键。', 'type' => 'string', 'required' => true, 'example' => 'test_key', ], ], [ 'name' => 'TagValue', 'in' => 'query', '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', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'ListTagValuesResponseDTO', 'description' => '返回结果。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], '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 不合法。', ], ], 409 => [ [ 'errorCode' => 'InvalidParameter.MatchType', 'errorMessage' => 'The specified parameter MatchType is not valid.', 'description' => '', ], ], ], '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', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'tag:ListTagValues', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'SearchMultiAccountResources' => [ 'summary' => '搜索资源目录管理账号和多个成员中的资源。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', '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****', ], ], [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ '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****', ], 'required' => false, 'maxItems' => 200, ], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], [ 'name' => 'SortCriterion', 'in' => 'query', 'style' => 'flat', 'schema' => [ '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', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'Filters' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId', ], 'MatchType' => [ 'description' => '匹配方式。', 'type' => 'string', 'example' => 'Equals', ], 'Values' => [ 'description' => '过滤条件值。', 'type' => 'array', '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', ], 'Resources' => [ 'description' => '资源信息。', 'type' => 'array', 'items' => [ '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', ], 'IpAddressAttributes' => [ 'description' => 'IP地址属性。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'IpAddresses' => [ 'description' => 'IP地址。'."\n" ."\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', ], 'Tags' => [ 'description' => '标签。', 'type' => 'array', 'items' => [ 'description' => '标签。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], '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' => '', ], ], 403 => [ [ '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' => '指定文件夹不存在。', ], ], 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' => '', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '搜索多账号的资源', 'description' => '- 仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。'."\n" .'- 如果您使用的是RAM用户账号或者RAM角色,需要被授予SearchMultiAccountResources接口的权限才能执行跨账号资源搜索操作。更多信息,请参见[RAM用户使用资源中心](~~600556~~)。'."\n" .'- SearchMultiAccountResources接口默认最多返回20条数据,您可以通过指定`MaxResults`参数调整最大返回条目数。'."\n" .'- 如果返回结果中不存在`NextToken`,则表示没有更多数据。否则,则表示还有更多数据。如果想要查询后续页,需要将 SearchMultiAccountResources 接口的`NextToken`参数设置为上一次返回结果中获取到的`NextToken` 。如果未输入`NextToken`参数,查询时默认返回第一页的数据。'."\n" .'- 通过设置一个或多个过滤条件,可以精确资源的搜索范围。支持的过滤参数以及匹配方式见下文。多个过滤条件之间是逻辑与`AND`的关系,只有同时满足所有过滤条件的资源才会被返回。每个过滤条件内部是逻辑或`OR`的关系,只要满足任意一个过滤条件值的资源都会被返回。'."\n" .'- 您可以在[示例中心](https://api.aliyun.com/api-tools/demo/ResourceCenter)'."\n" .'[示例中心](https://api.alibabacloud.com/api-tools/demo/ResourceCenter)获取更多查询示例。', 'requestParamsDescription' => '### 支持的过滤参数'."\n" .'|参数 |描述|支持的匹配类型|'."\n" .'| --- | ------ |------|'."\n" .'|ResourceType |资源类型。 |Equals|'."\n" .'|RegionId|地域ID。|Equals|'."\n" .'|ResourceId|资源ID。|Equals、Prefix|'."\n" .'|ResourceGroupId|资源组ID。|Equals、Exists、NotExists|'."\n" .'|ResourceName|资源名称。|Equals、Contains|'."\n" .'|Tag|标签键值对。 JSON格式为 `{ "key": $key, "value": $value }` ,key与value至少出现一个。例如:查询标签键`foo`和标签值`bar`,则传递: `{ "key": "foo", "value": "bar" }` ;查询标签键`foo`,则传递: `{ "key": "foo" }`。 |Contains、NotContains、NotExists|'."\n" .'|VpcId|VPC ID。|Equals|'."\n" .'|VSwitchId|交换机ID。|Equals|', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchMultiAccountResources', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'NextToken', 'in' => 'query', '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', ], ], [ 'name' => 'Filter', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ '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', ], 'Value' => [ 'description' => '过滤条件值。', 'type' => 'array', 'items' => [ 'description' => '过滤条件值。', 'type' => 'string', 'required' => false, 'example' => '过滤条件值。', ], 'required' => false, 'maxItems' => 200, ], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => [ 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmzawhxxc****', ], ], [ 'name' => 'SortCriterion', 'in' => 'query', 'style' => 'flat', 'schema' => [ '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', ], ], 'required' => false, ], ], [ 'name' => 'SearchExpression', 'in' => 'query', 'schema' => [ 'description' => '搜索关键词。资源中心会根据相关性对搜索结果进行过滤和排序。'."\n" .'当不指定排序参数时,默认优先展示与关键词匹配度更高的资源。', 'type' => 'string', 'required' => false, 'example' => 'keywords', ], ], [ 'name' => 'IncludeDeletedResources', 'in' => 'query', 'schema' => [ 'description' => '是否包含已删除资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ 'Filters' => [ 'description' => '过滤条件。', 'type' => 'array', 'items' => [ 'description' => '过滤条件。', 'type' => 'object', 'properties' => [ 'Key' => [ 'description' => '过滤条件键。', 'type' => 'string', 'example' => 'RegionId', ], 'MatchType' => [ 'description' => '匹配方式。', 'type' => 'string', 'example' => 'Equals', ], 'Values' => [ 'description' => '过滤条件值。', 'type' => 'array', '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', ], 'Resources' => [ 'description' => '资源信息。', 'type' => 'array', 'items' => [ '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', ], 'IpAddressAttributes' => [ 'description' => 'IP地址属性。', 'type' => 'array', 'items' => [ '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', ], ], ], ], 'IpAddresses' => [ 'description' => 'IP地址。'."\n" ."\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', ], 'Tags' => [ 'description' => '标签。', 'type' => 'array', 'items' => [ 'description' => '标签。', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], ], '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' => '', ], ], 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 数量超出上限。', ], ], ], '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' => '搜索当前账号的资源', 'description' => '- 仅能搜索当前账号下有权限访问的资源。'."\n" .'- 仅能搜索[支持资源中心的云服务及资源类型](~~477798~~)。'."\n" .'- SearchResources接口默认最多返回20条数据,您可以通过指定`MaxResults`参数调整最大返回条目数。'."\n" .'- 如果返回结果中不存在`NextToken`,则表示没有更多数据。否则,则表示还有更多数据。如果想要查询后续页,需要将SearchResources接口的`NextToken`参数设置为上一次返回结果中获取到的`NextToken` 。如果未输入`NextToken`参数,查询时默认返回第一页的数据。'."\n" .'- 通过设置一个或多个过滤条件,可以精确资源的搜索范围。支持的过滤参数以及匹配方式见下文。多个过滤条件之间是逻辑与`AND`的关系,只有同时满足所有过滤条件的资源才会被返回。每个过滤条件内部是逻辑或`OR`的关系,只要满足任意一个过滤条件值的资源都会被返回。'."\n" .'- 您可以在[示例中心](https://api.aliyun.com/api-tools/demo/ResourceCenter)获取更多查询示例。', 'requestParamsDescription' => '### 支持的过滤参数'."\n" .'|参数 |描述|支持的匹配类型|'."\n" .'| --- | ------ |------|'."\n" .'|ResourceType |资源类型。 |Equals|'."\n" .'|RegionId|地域ID。|Equals|'."\n" .'|ResourceId|资源ID。|Equals、Prefix|'."\n" .'|ResourceGroupId|资源组ID。|Equals、Exists、NotExists|'."\n" .'|ResourceName|资源名称。|Equals、Contains|'."\n" .'|Tag|标签键值对。 JSON格式为 `{ "key": $key, "value": $value }` ,key与value至少出现一个。例如:查询标签键`foo`和标签值`bar`,则传递`{ "key": "foo", "value": "bar" }` ;查询标签键`foo`,则传递`{ "key": "foo" }`。 |Contains、NotContains、NotExists|'."\n" .'|VpcId|VPC ID。|Equals|'."\n" .'|VSwitchId|交换机ID。|Equals|'."\n" .'|IpAddress|IP地址。| Equals、Contains|', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SearchResources', ], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:SearchResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], ], 'UpdateDeliveryChannel' => [ 'summary' => '更新当前账号资源投递渠道。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', 'schema' => [ 'description' => '投递渠道ID。', 'type' => 'string', 'required' => true, 'example' => 'dc-4m6ffpkgu***', ], ], [ 'name' => 'DeliveryChannelName', 'in' => 'query', 'schema' => [ 'description' => '投递渠道名称。', 'type' => 'string', 'required' => false, 'example' => 'test-delivery-channel', ], ], [ 'name' => 'DeliveryChannelDescription', 'in' => 'query', 'schema' => [ 'description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => '投递描述', ], ], [ 'name' => 'ResourceSnapshotDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ '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', ], 'TargetType' => [ 'description' => '投递目标类型。取值:'."\n" ."\n" .'* 对于标准资源快照定时投递,仅可传入`OSS`。'."\n" ."\n" .'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', 'OSS' => 'OSS', ], 'example' => 'OSS', ], '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", ], ], 'required' => false, ], ], 'required' => false, ], ], [ 'name' => 'ResourceChangeDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '资源配置变更投递。', 'type' => 'object', 'properties' => [ '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", ], ], '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', ], 'TargetType' => [ 'description' => '投递目标类型。'."\n" ."\n" .'取值:`SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', ], 'example' => 'SLS', ], ], 'required' => false, ], ], [ 'name' => 'DeliveryChannelFilter', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '投递渠道生效范围。', 'type' => 'object', 'properties' => [ 'ResourceTypes' => [ 'description' => '投递的资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n" ."\n" .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC', ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => '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', ], 'title' => '更新当前账号资源投递渠道', 'description' => '资源投递支持资源快照定时投递与资源配置变更投递。'."\n" ."\n" .'对于资源快照定时投递目前支持两种投递场景:'."\n" ."\n" .'* 标准资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数为空时,为标准资源快照定时投递。'."\n" ."\n" .'* 自定义资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数不为空时,为自定义资源快照定时投递。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:UpdateDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'FilterName', 'in' => 'query', 'schema' => [ 'description' => '筛选条件名称。', 'type' => 'string', 'required' => true, 'example' => '我的筛选条件。', ], ], [ '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" .'}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => [ 'description' => '请求ID。', 'type' => 'string', 'example' => '3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F', ], ], 'description' => '', ], ], ], '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不存在。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '更新筛选条件', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateFilter', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:UpdateFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'DeliveryChannelId', 'in' => 'query', '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', ], ], [ 'name' => 'DeliveryChannelDescription', 'in' => 'query', 'schema' => [ 'description' => '投递渠道描述。', 'type' => 'string', 'required' => false, 'example' => 'This is a description.', ], ], [ 'name' => 'ResourceSnapshotDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ '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', ], 'TargetType' => [ 'description' => '投递目标类型。取值:'."\n" ."\n" .'* 对于标准资源快照定时投递,仅可传入`OSS`。'."\n" ."\n" .'* 对于自定义资源快照定时投递,可传入`OSS`或`SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', 'OSS' => 'OSS', ], 'example' => 'OSS', ], '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", ], ], 'required' => false, ], ], 'required' => false, ], ], [ 'name' => 'ResourceChangeDelivery', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '资源配置变更投递。', 'type' => 'object', 'properties' => [ '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', ], ], '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", ], 'TargetType' => [ 'description' => '投递目标类型。'."\n" ."\n" .'取值:`SLS`。', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'SLS' => 'SLS', ], 'example' => 'SLS', ], ], 'required' => false, ], ], [ 'name' => 'DeliveryChannelFilter', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'description' => '投递渠道生效范围。', 'type' => 'object', 'properties' => [ '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", ], 'required' => false, ], 'ResourceTypes' => [ 'description' => '投递的资源类型列表。', 'type' => 'array', 'items' => [ 'description' => '投递的资源类型。详情请参见[支持资源中心的云服务及资源类型](~~477798~~)。'."\n" ."\n" .'如需投递资源中心支持的所有资源类型,请传入`ALL`。', 'type' => 'string', 'required' => false, 'example' => 'ACS::VPC::VPC', ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => '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', ], 'title' => '更新跨账号资源投递渠道', 'summary' => '更新跨账号资源投递渠道。', 'description' => '资源投递支持资源快照定时投递与资源配置变更投递。'."\n" ."\n" .'对于资源快照定时投递目前支持两种投递场景:'."\n" ."\n" .'* 标准资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数为空时,为标准资源快照定时投递。'."\n" ."\n" .'* 自定义资源快照定时投递:当`ResourceSnapshotDelivery.CustomExpression`参数不为空时,为自定义资源快照定时投递。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:UpdateMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], 'additionalActions' => [], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"36A3D9BE-B607-5993-B546-7E19EF65D***\\"\\n}","type":"json"}]', ], 'UpdateSavedQuery' => [ 'summary' => '更新自定义查询模板。', 'methods' => [ 'post', 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'Description', 'in' => 'query', 'schema' => [ 'description' => '模板描述。'."\n" ."\n" .'长度范围:1~256个字符或汉字。', 'type' => 'string', 'required' => false, 'example' => '查询我的所有资源,返回所有的列。', ], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => [ 'description' => '模板名称。'."\n" ."\n" .'- 长度范围:1~64个字符或汉字。'."\n" .'- 格式:允许输入汉字、英文字母、数字、下划线(_)和短划线(-)。'."\n" .'- 模板名称必须唯一。', 'type' => 'string', 'required' => false, 'example' => '查询我的所有资源。', ], ], [ 'name' => 'Expression', 'in' => 'query', 'schema' => [ 'description' => '模板表达式。', 'type' => 'string', 'required' => false, 'example' => 'SELECT * FROM resources;', ], ], [ 'name' => 'QueryId', 'in' => 'query', 'schema' => [ 'description' => '模板ID。', 'type' => 'string', 'required' => true, 'example' => 'cq-GeAck****', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '返回参数。', 'type' => 'object', 'properties' => [ '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' => '', ], ], 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' => '查询模板名称已经存在。', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'title' => '更新自定义查询模板', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ [ 'threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSavedQuery', ], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:UpdateSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ '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', ], ], '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 缺失。', ], ], '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', ], ], ], 'ram' => [ 'productCode' => 'ResourceManager', 'productName' => '资源管理', 'ramCodes' => [ 'resourcecenter', 'resourcemanager', 'tag', 'resourcesharing', ], 'ramLevel' => '操作级', 'ramConditions' => [ [ 'name' => 'resourcesharing:ResourceArn', 'schema' => [ 'type' => 'String', 'description' => '资源ARN。取值示例:acs:vpc:cn-shanghai:131993166204****:vswitch/vsw-7xv4sfwo86u2etl64****。', ], ], [ 'name' => 'resourcesharing:RequestedAllowExternalTargets', 'schema' => [ 'type' => 'Boolean', 'description' => '是否允许共享给资源目录外的账号。取值示例:false。', 'enums' => [ 'true', 'false', ], ], ], [ 'name' => 'ram:ServiceName', 'schema' => [ 'type' => 'String', 'description' => '服务关联角色可信的云服务标识,取值示例:actiontrail.aliyuncs.com服务关联角色可信的云服务标识,取值示例:actiontrail.aliyuncs.com', ], ], [ 'name' => 'resourcesharing:Target', 'schema' => [ 'type' => 'String', 'description' => '取值示例:资源目录ID、资源夹的RDPath或账号的RDPath(组织内账号)或账号ID(组织外账号)。', ], ], [ 'name' => 'resourcesharing:RequestedResourceType', 'schema' => [ 'type' => 'String', 'description' => '资源类型。取值示例:VSwitch。', ], ], ], 'ramActions' => [ [ 'apiName' => 'SearchResources', 'description' => '搜索当前账号的资源', 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:SearchResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DisassociateDefaultFilter', 'description' => '取消默认筛选条件', 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:DisassociateDefaultFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateFilter', 'description' => '创建筛选条件', 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteDeliveryChannel', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceConfiguration', 'description' => '查询资源配置', 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetResourceConfiguration', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateDeliveryChannel', 'description' => '', 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:UpdateDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteFilter', 'description' => '删除筛选条件', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListMultiAccountResourceRelationships', 'description' => '查询多账号的资源关系', 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListMultiAccountResourceRelationships', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'EnableMultiAccountResourceCenter', 'description' => '开通跨账号资源搜索', 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:EnableMultiAccountResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListMultiAccountDeliveryChannels', 'description' => '', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:ListMultiAccountDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMultiAccountDeliveryChannelStatistics', 'description' => '', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannelStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'SearchMultiAccountResources', 'description' => '搜索多账号的资源', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetDeliveryChannelStatistics', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetDeliveryChannelStatistics', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DisableResourceCenter', 'description' => '关闭资源中心', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DisableResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListSavedQueries', 'description' => '列出所有的自定义查询模板', 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListSavedQueries', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetResourceCenterServiceStatus', 'description' => '查询资源中心服务状态', 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetResourceCenterServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteMultiAccountDeliveryChannel', 'description' => '', 'operationType' => 'delete', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:DeleteMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateSavedQuery', 'description' => '创建自定义查询模板', 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetSavedQuery', 'description' => '获取自定义查询模板', 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteSavedQuery', 'description' => '删除自定义查询模板', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'BatchGetMultiAccountResourceConfigurations', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountResourceConfiguration', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListMultiAccountTagKeys', 'description' => '查询多账号标签键', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ExecuteMultiAccountSQLQuery', 'description' => '使用SQL查询跨账号的资源', 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ExecuteMultiAccountSQLQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GenerateSQLQueryByAI', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GenerateSQLQueryByAI', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DisableMultiAccountResourceCenter', 'description' => '关闭跨账号资源搜索', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DisableMultiAccountResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'AssociateDefaultFilter', 'description' => '设置默认筛选条件', 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:AssociateDefaultFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeliverResourceSnapshot', 'description' => '', 'operationType' => 'none', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:DeliverResourceSnapshot', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateMultiAccountDeliveryChannel', 'description' => '', 'operationType' => 'create', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:CreateMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateMultiAccountDeliveryChannel', 'description' => '', 'operationType' => 'update', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:UpdateMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListResourceRelationships', 'description' => '查询当前账号的资源关系', 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListResourceRelationships', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateSavedQuery', 'description' => '更新自定义查询模板', 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:UpdateSavedQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateServiceDeliveryChannel', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateServiceDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMultiAccountDeliveryChannel', 'description' => '', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetDeliveryChannel', 'description' => '', 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListMultiAccountTagValues', 'description' => '查询多账号标签值', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'CreateDeliveryChannel', 'description' => '', 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:CreateDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMultiAccountResourceCenterServiceStatus', 'description' => '查询跨账号资源搜索开通状态', 'operationType' => 'get', 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountResourceCenterServiceStatus', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListFilters', 'description' => '获取筛选条件列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListFilters', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ExecuteSQLQuery', 'description' => '使用SQL查询当前账号的资源', 'operationType' => 'none', 'ramAction' => [ 'action' => 'resourcecenter:ExecuteSQLQuery', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'BatchGetResourceConfigurations', 'description' => '', 'operationType' => 'none', 'ramAction' => [ 'action' => 'resourcecenter:GetResourceConfiguration', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListMultiAccountResourceGroups', 'description' => '查询多账号资源组', 'operationType' => 'list', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:SearchMultiAccountResources', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListDeliveryChannels', 'description' => '', 'operationType' => 'list', 'ramAction' => [ 'action' => 'resourcecenter:ListDeliveryChannels', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'UpdateFilter', 'description' => '更新筛选条件', 'operationType' => 'update', 'ramAction' => [ 'action' => 'resourcecenter:UpdateFilter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMultiAccountResourceConfiguration', 'description' => '查询多账号资源配置', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountResourceConfiguration', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'DeleteServiceDeliveryChannel', 'description' => '', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'resourcecenter:DeleteServiceDeliveryChannel', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'GetMultiAccountResourceCounts', 'description' => '', 'operationType' => 'get', 'additionalActions' => [], 'ramAction' => [ 'action' => 'resourcecenter:GetMultiAccountResourceCounts', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'EnableResourceCenter', 'description' => '开通资源中心', 'operationType' => 'create', 'ramAction' => [ 'action' => 'resourcecenter:EnableResourceCenter', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListTagKeys', 'description' => '查询标签键', 'operationType' => 'list', 'ramAction' => [ 'action' => 'tag:ListTagKeys', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], [ 'apiName' => 'ListTagValues', 'description' => '查询标签值', 'operationType' => 'list', 'ramAction' => [ 'action' => 'tag:ListTagValues', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ [ 'validationType' => 'always', 'product' => 'ResourceManager', 'resourceType' => '全部资源', 'arn' => '*', ], ], ], ], ], 'resourceTypes' => [], ], ];