查询云助手服务配置。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
SettingType | array | 是 | 待查询的服务配置列表。 | |
string | 是 | 待查询的服务配置类型。当前取值范围:
| SessionManagerDelivery | |
RegionId | string | 是 | 地域 ID。 | cn-hangzhou |
返回参数
示例
正常返回示例
JSON
格式
{
"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"
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvalidParameter.SettingType | The specified parameter SettingType is not valid. | 指定的参数SettingType不合法。 |
404 | InvalidRegionId.NotFound | The specified parameter RegionId does not exist. | 指定的地域ID不存在。 |
500 | InternalError | An error occurred when you dispatched the request. | 发送请求时发生错误,请稍后重试。 |
访问错误中心查看更多错误码。