Queries the information about a cross-account resource delivery channel.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcecenter:GetMultiAccountDeliveryChannel |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeliveryChannelId |
string |
No |
The ID of the delivery channel. |
dc-6q79dm4o9*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| DeliveryChannelDescription |
string |
The description of the delivery channel. |
投递描述 |
| DeliveryChannelFilter |
object |
The effective scope of the delivery channel. |
|
| AccountScopes |
array |
The accounts within the delivery scope. |
|
|
string |
The account within the delivery scope. |
1911422487776*** |
|
| ResourceTypes |
array |
The types of delivered resources. |
|
|
string |
The type of the delivered resource. |
ACS::VPC::VPC |
|
| DeliveryChannelId |
string |
The ID of the delivery channel. |
dc-6q79dm4o9*** |
| DeliveryChannelName |
string |
The name of the delivery channel. |
test-delivery-channel |
| RequestId |
string |
The request ID. |
FE3EAB47-D3A6-5FEA-8353-31C8C0D36*** |
| ResourceChangeDelivery |
object |
The delivery of resource configuration changes. |
|
| SlsProperties |
object |
The Simple Log Service (SLS) configuration. |
|
| OversizedDataOssTargetArn |
string |
The ARN of the Object Storage Service (OSS) bucket to which oversized data is delivered. |
acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss |
| TargetArn |
string |
The ARN of the delivery destination. |
acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls |
| TargetType |
string |
The type of the delivery destination. |
SLS |
| Enabled |
string |
Indicates whether to deliver resource configuration changes. Valid values:
|
true |
| ResourceSnapshotDelivery |
object |
The configurations of scheduled delivery of resource snapshots. |
|
| DeliveryTime |
string |
The delivery time. |
09:00Z |
| TargetArn |
string |
The ARN of the delivery destination. |
acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss |
| TargetType |
string |
The type of the delivery destination. |
OSS |
| CustomExpression |
string |
The custom expression. |
select * from resources limit 100; |
| SlsProperties |
object |
The SLS configuration. |
|
| OversizedDataOssTargetArn |
string |
The ARN of the OSS bucket to which oversized data is delivered. |
acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss |
| Enabled |
string |
Indicates whether to enable the scheduled delivery of resource snapshots. Valid values:
|
true |
Examples
Success response
JSON format
{
"DeliveryChannelDescription": "投递描述",
"DeliveryChannelFilter": {
"AccountScopes": [
"1911422487776***\n"
],
"ResourceTypes": [
"ACS::VPC::VPC"
]
},
"DeliveryChannelId": "dc-6q79dm4o9***",
"DeliveryChannelName": "test-delivery-channel",
"RequestId": "FE3EAB47-D3A6-5FEA-8353-31C8C0D36***",
"ResourceChangeDelivery": {
"SlsProperties": {
"OversizedDataOssTargetArn": "acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss"
},
"TargetArn": "acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls",
"TargetType": "SLS",
"Enabled": "true"
},
"ResourceSnapshotDelivery": {
"DeliveryTime": "09:00Z",
"TargetArn": "acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss\n",
"TargetType": "OSS",
"CustomExpression": "select * from resources limit 100;",
"SlsProperties": {
"OversizedDataOssTargetArn": "acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss"
},
"Enabled": "true"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | NoPermission.AccountScope | The operator is not permitted for this account scope. | The operator is not permitted for this account scope. |
| 403 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. | You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation. |
| 404 | NotExists.DeliveryChannelId | The DeliveryChannelId does not exist. | The DeliveryChannelId does not exist. |
| 409 | InvalidParameter.DeliveryChannelId | The specified parameter DeliveryChannelId is not valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.