Enables or disables template execution record delivery, configures delivery destinations, and associates an Apsara DevOps enterprise ID.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
oos:SetServiceSettings | update | *ServiceSetting
|
| None |
Request parameters
Parameter | Type | Required | Description | Example |
DeliveryOssEnabled | boolean | No | Specifies whether to enable the delivery of template execution records to Object Storage Service (OSS). The default value is | false |
DeliveryOssBucketName | string | No | The name of the OSS bucket. | OssBucketName |
DeliveryOssKeyPrefix | string | No | The key prefix of the OSS bucket. For example, | oos/execution |
DeliverySlsProjectName | string | No | The name of the Log Service (SLS) project. | SlsProjectName |
DeliverySlsEnabled | boolean | No | Specifies whether to enable the delivery of template execution records to SLS. The default value is | false |
RegionId | string | No | The region ID. | cn-hangzhou |
RdcEnterpriseId | string | No | The Apsara DevOps enterprise ID. | RdcEnterpriseId |
Response elements
Element | Type | Description | Example |
object | The settings for delivering template execution records. | ||
RequestId | string | The request ID. | CBEC8072-BEC2-478E-8EAE-E723BA79CF19 |
| ServiceSettings | array<object> | The service settings. | |
object | A service setting. | ||
DeliveryOssBucketName | string | The name of the OSS bucket. | OssBucketName |
DeliveryOssKeyPrefix | string | The key prefix of the OSS bucket. | oos/execution |
DeliveryOssEnabled | boolean | Whether the delivery of template execution records to OSS is enabled. | true |
DeliverySlsEnabled | boolean | Whether the delivery of template execution records to SLS is enabled. | false |
DeliverySlsProjectName | string | The name of the SLS project. | SlsProjectName |
RdcEnterpriseId | string | The Apsara DevOps enterprise ID. | RdcEnterpriseId |
ServiceAccessRdEnabled | boolean | true |
Examples
Success response
JSON format
{
"RequestId": "CBEC8072-BEC2-478E-8EAE-E723BA79CF19",
"ServiceSettings": [
{
"DeliveryOssBucketName": "OssBucketName",
"DeliveryOssKeyPrefix": "oos/execution",
"DeliveryOssEnabled": true,
"DeliverySlsEnabled": false,
"DeliverySlsProjectName": "SlsProjectName",
"RdcEnterpriseId": "RdcEnterpriseId",
"ServiceAccessRdEnabled": false
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.