文档

UpdateGrafanaWorkspaceVersion - 更新Grafana工作区版本

更新时间:

更新Grafana工作区版本。

接口说明

说明:本接口返回列表包含开发者版、专家版、高级版 ,不包含共享版。

调试

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

授权信息

当前API暂无授权信息透出。

请求参数

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

地域 ID。默认为 cn-hangzhou。

cn-hangzhou
GrafanaWorkspaceIdstring

工作区 ID。

grafana-cn-4xl3g******
GrafanaVersionstring

Grafana 版本。

10.0.x
AliyunLangstring

语言环境,默认为中文:zh, 英文: en。

zh

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

Id of the request

2A0CEDF1-06FE-44AC-8E21-21A5BE65****
Messagestring

请求参数错误时返回的信息

success
Codeinteger

接口状态码:

  • 2XX:成功
  • 3XX:重定向
  • 4XX:请求错误
  • 5XX:服务器错误
200
Successboolean

调用是否成功。

  • true调用成功
  • false调用失败
true
TraceIdstring

调用链 ID,用于精确查询调用信息。

eac0a8048716731735000007137d000b
Databoolean

更新是否成功。

  • true更新成功
  • false更新失败
true

示例

正常返回示例

JSON格式

{
  "RequestId": "2A0CEDF1-06FE-44AC-8E21-21A5BE65****",
  "Message": "success",
  "Code": 200,
  "Success": true,
  "TraceId": "eac0a8048716731735000007137d000b",
  "Data": true
}

错误码

HTTP status code错误码错误信息描述
400ParameterMissingYou must specify the parameter.必选参数缺失
400ResourceIdIsIllegalThe specified ResourceId is invalid.参数ResourceId是非法的。
400ParameterIllegalThe specified parameter is invalid.参数非法
403RAMNotAuthorizeThe sub-account is not authorized and must be granted AliyunARMSFullAccess by a primary account.子账号没有访问权限,需主账号授予AliyunARMSFullAccess。
403STSNotAuthorizeSTS authorization failed.STS权限校验失败
403IllegalUserAccessIllegal user access.非法的用户访问
500InternalErrorInternal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.内部错误,建议重试。如果多次重试报错请联系钉钉服务账号。
500AccountUidAccessErrorFailed to obtain the user information. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.获取用户信息失败,建议重试。如果多次重试报错请联系钉钉服务账号。

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

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