Retrieves the service's configuration settings, including the delivery configuration for executions and details about associated Apsara DevOps enterprises.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
oos:GetServiceSettings | get | *ServiceSetting
|
| None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | No | The ID of the region. | cn-hangzhou |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 9F755DC9-C0CF-4598-B2E3-2CC763F18CB2 |
| ServiceSettings | array<object> | The configuration details of the delivery feature. | |
object | |||
DeliveryOssBucketName | string | The name of the OSS bucket. | OssBucketName |
DeliveryOssKeyPrefix | string | The key prefix for the OSS bucket, such as "oos/execution". Pass an empty string ("") if no prefix is needed or to clear an existing one. | oos/execution |
DeliveryOssEnabled | boolean | Indicates whether the delivery of executions to OSS is enabled. | false |
DeliverySlsEnabled | boolean | Indicates whether the delivery of executions to SLS is enabled. | false |
DeliverySlsProjectName | string | The name of the SLS project. | SlsProjectName |
RdcEnterpriseId | string | The ID of the Apsara DevOps enterprise. | RdcEnterpriseId |
ServiceAccessRdEnabled | boolean | true | |
RdFolders | string | rd-123 |
Examples
Success response
JSON format
{
"RequestId": "9F755DC9-C0CF-4598-B2E3-2CC763F18CB2",
"ServiceSettings": [
{
"DeliveryOssBucketName": "OssBucketName",
"DeliveryOssKeyPrefix": "oos/execution",
"DeliveryOssEnabled": false,
"DeliverySlsEnabled": false,
"DeliverySlsProjectName": "SlsProjectName",
"RdcEnterpriseId": "RdcEnterpriseId",
"ServiceAccessRdEnabled": false,
"RdFolders": "rd-123"
}
]
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.