Queries the information about a delivery channel within the current account.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
resourcecenter:GetDeliveryChannel | 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. | This is a description. |
| DeliveryChannelFilter | object | The effective scope of the delivery channel. | |
| ResourceTypes | array | The resource types that are delivered. | |
string | The type of a 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. | 17502A1B-7026-5551-8E1C-CCABD0CBC*** |
| ResourceChangeDelivery | object | The settings for delivering resource configuration changes. | |
| SlsProperties | object | The Simple Log Service (SLS) configurations. | |
OversizedDataOssTargetArn | string | The Alibaba Cloud Resource Name (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 settings for the scheduled delivery of resource snapshots. | |
DeliveryTime | string | The time when resource snapshots are delivered. | 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 configurations. | |
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": "This is a description.",
"DeliveryChannelFilter": {
"ResourceTypes": [
"ACS::VPC::VPC"
]
},
"DeliveryChannelId": "dc-6q79dm4o9***",
"DeliveryChannelName": "test-delivery-channel",
"RequestId": "17502A1B-7026-5551-8E1C-CCABD0CBC***",
"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 |
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.