查询高精度秒级监控的配置信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI
Explorer可以自动生成SDK代码示例。
调试调试
授权信息
下表是API对应的授权信息,可以在RAM权限策略语句的Action
元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:
- 操作:是指具体的权限点。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用背景高亮的方式表示。
- 对于不支持资源级授权的操作,用
全部资源
表示。
- 条件关键字:是指云产品自身定义的条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作 | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
---|---|---|---|---|
slb:ModifyHighDefinationMonitor | Write |
|
|
无 |
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
RegionId | string | 是 |
传统型负载均衡实例所在的地域ID。 您可以通过调用DescribeRegions接口获取地域ID。 |
cn-hangzhou |
LogProject | string | 是 |
日志服务LogProject的名称。日志服务LogProject的名称。长度为4~63个字符,支持数字、小写字母,可包含短划线(-),开头和结尾必须为数字或字母。 |
my-project |
LogStore | string | 是 |
日志服务LogStore的名称。长度为2~64个字符,支持数字、小写字母,可包含短划线(-)和下划线(_),开头和结尾必须为数字或字母。 |
my-log-store |
返回参数
名称 | 类型 | 描述 | 示例值 |
---|---|---|---|
object | |||
Success | string |
本次调用是否成功。取值:
|
true |
RequestId | string |
请求ID。 |
8B9DB03B-ED39-5DB8-9C9F-1ED5F548D61E |
示例
正常返回示例
JSON
格式
{
"Success": "true",
"RequestId": "8B9DB03B-ED39-5DB8-9C9F-1ED5F548D61E"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | OperationNotAllowed.HighDefinitionMonitorEnabled | The operation is not allowed because HighDefinitionMonitor is already enabled in this region. | 当前操作不被允许,当前地域的秒级监控已经被开启。 |
400 | UnsupportedFeature.User | The feature of HighDefinationMonitor is not supported. | 当前用户不支持秒级监控功能 |
400 | NoPermission.AliyunServiceRoleForSlbLogDelivery | You 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权限。 |
400 | OperationDenied.HdMonitorListenerExist | The operation is denied because there are still listeners enabling HighDefinitionMnitor. | 当前操作被拒绝,系统中存在启用秒级监控的监听。 |
400 | OperationNotAllowed.HighDefinitionMonitorNotEnabled | The operation is not allowed because HighDefinitionMonitor is not enabled in this region. | 当前操作不被允许,当前地域的秒级监控没有开启。 |
访问错误中心查看更多错误码。
内容没看懂? 不太想学习?想快速解决? 有偿解决: 联系专家
阿里云企业补贴进行中: 马上申请
腾讯云限时活动1折起,即将结束: 马上收藏
同尘科技为腾讯云授权服务中心。
购买腾讯云产品享受折上折,更有现金返利:同意关联,立享优惠
转转请注明出处:https://www.yunxiaoer.com/170349.html