更新Grafana工作区版本。
接口说明
说明:本接口返回列表包含开发者版、专家版、高级版 ,不包含共享版。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
RegionId | string | 是 | 地域 ID。默认为 cn-hangzhou。 | cn-hangzhou |
GrafanaWorkspaceId | string | 是 | 工作区 ID。 | grafana-cn-4xl3g****** |
GrafanaVersion | string | 是 | Grafana 版本。 | 10.0.x |
AliyunLang | string | 否 | 语言环境,默认为中文:zh, 英文: en。 | zh |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "2A0CEDF1-06FE-44AC-8E21-21A5BE65****",
"Message": "success",
"Code": 200,
"Success": true,
"TraceId": "eac0a8048716731735000007137d000b",
"Data": true
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | ParameterMissing | You must specify the parameter. | 必选参数缺失 |
400 | ResourceIdIsIllegal | The specified ResourceId is invalid. | 参数ResourceId是非法的。 |
400 | ParameterIllegal | The specified parameter is invalid. | 参数非法 |
403 | RAMNotAuthorize | The sub-account is not authorized and must be granted AliyunARMSFullAccess by a primary account. | 子账号没有访问权限,需主账号授予AliyunARMSFullAccess。 |
403 | STSNotAuthorize | STS authorization failed. | STS权限校验失败 |
403 | IllegalUserAccess | Illegal user access. | 非法的用户访问 |
500 | InternalError | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | 内部错误,建议重试。如果多次重试报错请联系钉钉服务账号。 |
500 | AccountUidAccessError | Failed to obtain the user information. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | 获取用户信息失败,建议重试。如果多次重试报错请联系钉钉服务账号。 |
访问错误中心查看更多错误码。