ModifyApplicationSpec - 提交应用变配

提交应用变配。

调试

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

调试

授权信息

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

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

bpstudio:ModifyApplicationSpec

none

*Application

acs:bpstudio::{#accountId}:application/{#ApplicationId}

请求参数

名称

类型

必填

描述

示例值

ApplicationId

string

应用 ID

02S7UU41WKJL7ERR

InstanceSpec

array<object>

变配规格

array<object>

变配参数

InstanceId

string

变配资源 id

rm-2ze8f4ah378a*****

Configuration

object

变配参数

any

变配入参

说明
  • 预付费 升级配置:UPGRADE,降级配置:DOWNGRADE。后付费升降配都是 UPGRADE ,为改变配置,不区分升降配

ecs

  • orderType:UPGRADE

  • instance_type:xxx (实例规格)

rds (可同时改变实例规格和容量)

  • orderType:UPGRADE

  • instance_type:xxx (实例规格)

  • instance_storage:xxx (容量)

kvstore

  • orderType:UPGRADE

  • number:1 (分片数)

  • instance_class:xxx (实例规格)

kvstore_prepaid_public_cn

  • orderType:UPGRADE

  • shard_quantity:4 (分片数)

  • shard_class: xxx (分片规格)

  • storage: 10 (磁盘容量)

tair

  • orderType:UPGRADE

  • shard_quantity:4 (分片数)

  • shard_class: xxxx (分片规格)

kafka

  • orderType:UPGRADE

  • eip_max(公网流量):

  • IO_max(公网流量):

  • partition_num:分区数

  • disk_size(磁盘容量):

polardb

  • orderType:UPGRADE

  • master_spec(节点规格):

elasticsearch

  • orderType:UPGRADE

  • node_spec(数据节点规格):

  • kibana_node_spec(Kibana 节点规格):

  • master_spec(专有主节点规格)

  • warm_node_spec(冷数据节点规格):

  • client_node_spec(协调节点规格):

  • elastic_node_spec(弹性数据节点):

hitsdb_lindormnext_v2

  • orderType:UPGRADE

  • upgrade_type:SPEC(规格)、OPEN(开通)、COUNT(节点数量)

  • engine_type(引擎类型):TABLE(宽表引擎),TSDB(时序引擎),LSEARCH(搜索引擎),LTS(LTS 引擎),LVECTOR(向量引擎),LCOLUMN(列存引擎)

  • node_type(节点类型):universal(通用型),calculated(计算型),mem_enhanced(内存型),local_hdd_pro(本地 HDD),local_ssd_pro(本地 SSD)

  • node_spec(节点规格):

  • core_num(节点数量):

  • is_cloud_disk(是否挂载云盘):true、false

  • disk_type(挂载云盘类型):cloud_efficiency,cloud_essd

  • disk_size(挂载云盘存储容量):

slb

说明

实例计费方取值(InstanceChargeType):PayBySpec(按规格计费)、PayByCLCU(按使用量计费),
公网流量费(internet_charge_type):0(按固定带宽计费) 1(按使用流量计费),
当 InstanceChargeType 为 PayBySpec 时 specification 必填,
当 internet_charge_type=0 时 bandwidth 必填。

  • orderType:UPGRADE

  • specification(实例规格):

  • InstanceChargeType(实例计费方式):

  • internet_charge_type(公网流量费):

  • bandwidth(带宽值):

hbase

  • orderType:UPGRADE

  • core_instance_type(core 规格):

dds

  • orderType:UPGRADE

  • db_instance_class(规格):

onspre

企业铂金版规格的升降配

  • orderType:UPGRADE

  • tps_max(TPS 峰值):

  • topic_capacity(Topic 数上限):

  • message_capacity(消息存储空间):

标准升级铂金版本

- orderType:BUY
- tps_max(TPS 峰值): - topic_capacity(Topic 数上限): - message_capacity(消息存储空间): - period_unit(购买单位):Month、Year - period(购买时长):

hitsdb_lindorm

  • orderType:UPGRADE

  • lindorm_core_spec(宽表节点规格):

drds

  • orderType:UPGRADE

  • drds_instance_spec(实例规格):

clickhouse
企业版变配:

  • max_ccu(计算单元(CCU) 最大值):

  • mini_ccu(计算单元(CCU)最小值):

社区实例:
水平变配:

  • 节点数量(node_count):

垂直变配:

  • zkSize(Zookeeper 规格):

  • instance_class(规格):

  • storage_type(存储类型):

  • storage_size(存储空间):

drds_polarx
标准版:

  • node_spec(节点规格):

企业版:

  • cn_node_spec(计算节点规格):

  • dn_node_spec(存储节点规格):

  • dn_storage_space(存储节点磁盘):

opensearch

  • buytype(集群偏好):

  • storage(存储容量):

  • compute(计算资源):

eip

  • bandwidths(带宽峰值):

  • internet_charge_type(流量):

  • bandwidth(带宽):

adb

  • reserved_node_size(预留资源单节点规格):

  • reserved_node_count(预留资源节点数):

  • Activate_AI_node(开启 AI 节点):

  • ADB_AI_Node_Size(AI 节点规格):

  • AI_Node_Count_Postpaid(AI 节点数量):

  • Deployment_Method(部署模式):

  • zone_id(主可用区);

  • vswitch_id(主可用区交换机):

  • StandbyAZ(备可用区):

  • Standby_vswitch_id(备可用区交换机):

hologres

  • size(计算资源):

  • GatewayNum(Gateway 节点数量):

  • warehouse_cu(计算组预留计算资源):

  • enable_serverless_computing(开启 Serverless Computing):

flink

  • max_cu(配额上限):

  • min_cu(单可用区计算资源配额):

  • min_cu_ha(跨可用区):

dts

  • instance_class(数据同步变配):

  • migration_instance_class(数据迁移变配):

hitsdb_lts

  • upgrade_type:upgrade-lts-core-num

  • core_number(节点数量):

  • upgrade_type:upgrade-lts-engine

  • core_spec(节点规格):

ons_rmq

  • msg_process_spec(消息收发计算规格):

  • series_type(主系列类型):

orderType:UPGRADE

返回参数

名称

类型

描述

示例值

object

Schema of Response

Success

string

是否成功

true

Code

string

状态码

200

Message

string

报错信息

Success

Data

string

返回值

-1

RequestId

string

请求 ID

A3488F1D-xxxx-xxxx-xxxx-5374BA0F3562

AccessDeniedDetail

string

访问被拒绝详细信息。

{ "PolicyType": "", "AuthPrincipalOwnerId": "", "EncodedDiagnosticMessage": "", "AuthPrincipalType": "", "AuthPrincipalDisplayName": "", "NoPermissionType": "", "AuthAction": "" }

示例

正常返回示例

JSON格式

{
  "Success": "true",
  "Code": "200",
  "Message": "Success",
  "Data": "-1",
  "RequestId": "A3488F1D-xxxx-xxxx-xxxx-5374BA0F3562",
  "AccessDeniedDetail": "{\n    \"PolicyType\": \"\",\n    \"AuthPrincipalOwnerId\": \"\",\n    \"EncodedDiagnosticMessage\": \"\",\n    \"AuthPrincipalType\": \"\",\n    \"AuthPrincipalDisplayName\": \"\",\n    \"NoPermissionType\": \"\",\n    \"AuthAction\": \"\"\n  }"
}

错误码

HTTP status code

错误码

错误信息

描述

400 bp.java.8004 No permissions. 无权限访问
400 bp.java.nopowerContact You do not have permission to use this function. Please contact the main account or permission administrator to authorize the relevant permissions. 您没有权限使用此功能,请联系主账号或权限管理员授权相关权限
400 bp.java.nopower No permissions. 没有权限

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

变更历史

更多信息,参考变更详情