Queries the configurations of Cloud Assistant features.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SettingType | array | Yes | The Cloud Assistant features. | |
string | Yes | The Cloud Assistant feature. Valid values:
| SessionManagerDelivery | |
RegionId | string | Yes | The region ID. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"OssDeliveryConfigs": {
"OssDeliveryConfig": [
{
"EncryptionType": "Inherit",
"EncryptionAlgorithm": "AES256",
"DeliveryType": "SessionManager",
"Enabled": false,
"BucketName": "example-bucket",
"Prefix": "sessionmanager/audit",
"EncryptionKeyId": "a807****7a70e"
}
]
},
"SlsDeliveryConfigs": {
"SlsDeliveryConfig": [
{
"DeliveryType": "SessionManager",
"LogstoreName": "example-logstore",
"Enabled": false,
"ProjectName": "example-project"
}
]
},
"AgentUpgradeConfig": {
"Enabled": true,
"AllowedUpgradeWindows": {
"AllowedUpgradeWindow": [
"[\n\"02:00-03:00\",\n\"05:00-06:00\"\n]"
]
},
"TimeZone": "Asia/Shanghai"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter.SettingType | The specified parameter SettingType is not valid. | The specified parameter SettingType is illegal. |
404 | InvalidRegionId.NotFound | The specified parameter RegionId does not exist. | - |
500 | InternalError | An error occurred when you dispatched the request. | An error occurred while sending the request, please try again later. |
For a list of error codes, visit the Service error codes.