ModifyCloudAssistantSettings_云服务器 ECS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为1000/60(s)。

授权信息

当前云产品暂无权限信息透出。

请求参数

字段名称字段详情
RegionIdstring

地域 ID。

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
SettingTypestring

服务配置类型。当前取值范围:展开详情

示例值:SessionManagerDelivery
OssDeliveryConfigobject

OSS 投递配置信息。

SlsDeliveryConfigobject

SLS 投递配置信息。

AgentUpgradeConfigobject

云助手 Agent 升级配置。

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidParameter.SettingType
The specified parameter SettingType is not valid.诊断
400
InvalidParameter.OssEncryptionType
The specified parameter OssDeliveryConfig.EncryptionType is not valid.诊断
400
InvalidParameter.OssEncryptionAlgorithm
The specified parameter OssDeliveryConfig.EncryptionAlgorithm is not valid.诊断
400
InvalidParameter.OssEncryptionKeyId
The specified parameter OssDeliveryConfig.EncryptionKeyId is not valid.诊断
400
InvalidParameter.OssBucketName
The specified parameter OssDeliveryConfig.BucketName is not valid.诊断
400
InvalidParameter.OssPrefix
The specified parameter OssDeliveryConfig.Prefix is not valid.诊断
400
InvalidOssBucketName.InOtherRegion
The specified parameter OssDeliveryConfig.BucketName is in another region.诊断
400
InvalidParameter.SlsProjectName
The specified parameter SlsDeliveryConfig.ProjectName is not valid.诊断
400
InvalidParameter.SlsLogstoreName
The specified parameter SlsDeliveryConfig.LogstoreName is not valid.诊断
400
InvalidParameter.AllowedUpgradeWindow
The specified parameter AgentUpgradeConfig.AllowedUpgradeWindow is not valid.诊断
400
InvalidAllowedUpgradeWindow.DurationTooShort
The duration of the specified parameter AgentUpgradeConfig.AllowedUpgradeWindow cannot be less than one hour.诊断
400
InvalidParameter.TimeZone
The specified parameter AgentUpgradeConfig.TimeZone is not valid.诊断
400
InvalidAllowedUpgradeWindow.Required
The specified parameter AgentUpgradeConfig.AllowedUpgradeWindow is required.诊断
403
CreateServiceLinkedRole.NoPermission
You do not have permission to create ServiceLinkedRole.诊断
403
InvalidOperation.OssEncryptionUnsupported
The configuration of OSS Encryption is not supported.诊断
403
InvalidAllowedUpgradeWindow.CountLimitExceeded
The count of the parameter AgentUpgradeConfig.AllowedUpgradeWindow exceeds the limit of 5.诊断
403
InvalidOperation.SessionManagerDeliveryUnsupported
The delivery configuration of Session Manager is not supported.诊断
404
InvalidSlsProjectName.NotFound
The specified parameter SlsDeliveryConfig.ProjectName does not exist.诊断
404
InvalidSlsLogstoreName.NotFound
The specified parameter SlsDeliveryConfig.LogstoreName does not exist.诊断
404
InvalidOssBucketName.NotFound
The specified parameter OssDeliveryConfig.BucketName does not exist.诊断
404
InvalidRegionId.NotFound
The specified parameter RegionId does not exist.诊断
500
InternalError
An error occurred when you dispatched the request.诊断

变更历史

变更时间变更内容概要操作
2025-04-21
变更错误码403

相关示例