Enables or disables the delivery feature for template execution records, sets the delivery storage location, and associates a Yunxiao 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 feature for delivering template execution records to OSS. Default value: false. |
false |
| DeliveryOssBucketName |
string |
No |
The name of the OSS bucket. |
OssBucketName |
| DeliveryOssKeyPrefix |
string |
No |
The OSS bucket directory, such as "oos/execution". Pass in "" to indicate that no directory is required. If a directory was previously configured and you want to clear it, pass in "" to remove it. |
oos/execution |
| DeliverySlsProjectName |
string |
No |
The name of the Simple Log Service (SLS) project. |
SlsProjectName |
| DeliverySlsEnabled |
boolean |
No |
Specifies whether to enable the feature for delivering template execution records to SLS. Default value: false. |
false |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| RdcEnterpriseId |
string |
No |
The Yunxiao enterprise ID. |
RdcEnterpriseId |
| ServiceAccessRdEnabled |
boolean |
No |
||
| RdFolderIds |
array |
No |
||
|
string |
No |
rd-xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The delivery feature settings for template execution records. |
||
| RequestId |
string |
The request ID. |
CBEC8072-BEC2-478E-8EAE-E723BA79CF19 |
| ServiceSettings |
array<object> |
The delivery feature configuration details. |
|
|
object |
The configuration details. |
||
| DeliveryOssBucketName |
string |
The name of the OSS bucket. |
OssBucketName |
| DeliveryOssKeyPrefix |
string |
The OSS bucket directory. |
oos/execution |
| DeliveryOssEnabled |
boolean |
Indicates whether the feature for delivering template execution records to OSS is enabled. |
true |
| DeliverySlsEnabled |
boolean |
Indicates whether the feature for delivering template execution records to SLS is enabled. |
false |
| DeliverySlsProjectName |
string |
The name of the SLS project. |
SlsProjectName |
| RdcEnterpriseId |
string |
The Yunxiao enterprise ID. |
RdcEnterpriseId |
| ServiceAccessRdEnabled |
boolean |
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.