You need to enable JavaScript to run this app.
导航
更新业务存储资源 UpdateProductResource
最近更新时间:2024.11.26 14:49:58首次发布时间:2024.05.08 16:08:11
复制全文
我的收藏
有用
有用
无用
无用

修改指定业务的存储资源订购总量。

请求说明

  • 请求方式:POST
  • 请求地址:https://open.volcengineapi.com?Action=UpdateProductResource&Version=2023-10-30

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

Query

参数类型是否必选示例值描述
ActionStringUpdateProductResource接口名称。当前 API 的名称为 UpdateProductResource
VersionString2023-10-30接口版本。当前 API 的版本为 2023-10-30

Body

参数类型是否必选示例值描述
ProductIdString1591495366954xxxxxx实例所归属的业务 ID,可在「云手机控制台-业务管理-业务详情」中获取。
ApplyDataSizeInteger760修改后,需订购的存储资源总容量,单位 GB。修改后的存储容量不能小于已使用的存储容量。

VolcRegion

String

inner

资源所在的物理区域,包含以下选项:

  • inner:中国大陆(默认值)
  • cn-hongkong-pop:中国香港

返回参数

本接口无特有的返回参数。更多信息请见返回结构

请求示例

POST https://open.volcengineapi.com?Action=UpdateProductResource&Version=2023-10-30
{
    "ProductId": "1591495366954xxxxxx",
    "ApplyDataSize": 760,
    "VolcRegion": "inner"
}

返回示例

{
    "ResponseMetadata": {
        "Action": "UpdateProductResource",
        "Region": "cn-north-1",
        "Service": "ACEP",
        "Version": "2023-10-30",
        "RequestId": "20230604110420****100232280022D31"
    },
    "Result": "success"
}

错误码

您可访问公共错误码,获取更多错误码信息。