文档

ModifyHighDefinationMonitor - 修改秒级监控配置信息

更新时间:

修改高精度秒级监控的配置信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
slb:ModifyHighDefinationMonitorWrite
  • LoadBalancer
    acs:slb:{#regionId}:{#accountId}:loadbalancer/*

请求参数

名称类型必填描述示例值
RegionIdstring

传统型负载均衡实例所在的地域 ID。

您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-hangzhou
LogProjectstring

修改后的日志服务 LogProject 的名称。日志服务 LogProject 的名称。长度为 4~63 个字符,支持数字、小写字母,可包含短划线(-),开头和结尾必须为数字或字母。

my-project
LogStorestring

修改后的日志服务 LogStore 的名称。长度为 2~64 个字符,支持数字、小写字母,可包含短划线(-)和下划线(_),开头和结尾必须为数字或字母。

my-log-store

返回参数

名称类型描述示例值
object
Successstring

本次调用是否成功。取值:

  • true:成功。
  • false:失败。
true
RequestIdstring

请求 ID。

8B9DB03B-ED39-5DB8-9C9F-1ED5F548D61E

示例

正常返回示例

JSON格式

{
  "Success": "true",
  "RequestId": "8B9DB03B-ED39-5DB8-9C9F-1ED5F548D61E"
}

错误码

HTTP status code错误码错误信息描述
400OperationNotAllowed.HighDefinitionMonitorEnabledThe operation is not allowed because HighDefinitionMonitor is already enabled in this region.当前操作不被允许,当前地域的秒级监控已经被开启。
400UnsupportedFeature.UserThe feature of HighDefinationMonitor is not supported.当前用户不支持秒级监控功能
400NoPermission.AliyunServiceRoleForSlbLogDeliveryYou are not authorized to create the service linked role. Role Name: AliyunServiceRoleForSlbLogDelivery. Service Name: logdelivery.slb.aliyuncs.com. Please ensure the user has been granted the ram:CreateServiceLinkedRole permission您没有权限创建服务关联角色,角色名:AliyunServiceRoleForSlbLogDelivery,服务名:logdelivery.slb.aliyuncs.com。请确保已授予当前用户ram:CreateServiceLinkedRole权限。
400OperationDenied.HdMonitorListenerExistThe operation is denied because there are still listeners enabling HighDefinitionMnitor.当前操作被拒绝,系统中存在启用秒级监控的监听。
400OperationNotAllowed.HighDefinitionMonitorNotEnabledThe operation is not allowed because HighDefinitionMonitor is not enabled in this region.当前操作不被允许,当前地域的秒级监控没有开启。

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈