数据库安全服务 DBSS-按包周期方式购买数据库加密实例 - CreateDbEncryptInstancePeriod:请求示例

时间:2025-11-18 15:26:08

请求示例

/v2/{project_id}/db-encrypt/charge/period/order

{
  "flavor_ref" : "s6.2xlarge.2",
  "name" : "DBSS-f5e1",
  "vpc_id" : "21f3dac4-f460-4173-ba5e-cb7a0d528605",
  "availability_zone" : "cn-north-7c,cn-north-7c",
  "nics" : [ {
    "subnet_id" : "cbed162e-045a-4afd-aa2b-0da11219989c"
  } ],
  "security_groups" : [ {
    "id" : "0070ec22-bae4-4df3-af3d-9f928297b3b7"
  } ],
  "cloud_service_type" : "hws.service.type.dbss",
  "charging_mode" : 0,
  "period_type" : 2,
  "period_num" : 1,
  "subscription_num" : 1,
  "is_auto_renew" : 0,
  "promotion_info" : "",
  "product_infos" : [ {
    "product_id" : "OFFI1009xxxxxxx720693761",
    "cloud_service_type" : "hws.service.type.dbss",
    "resource_type" : "hws.resource.type.dbss.encrypt",
    "resource_spec_code" : "dbss.encrypt.high",
    "product_spec_desc" : "{\"specDesc\":{\"zh-cn\":{\"主机名称\":\"DBSS-5c02\",\"规格\":\"数据库审计加密增强版\",\"虚拟私有云\":\"VPC-IPV4-请勿开启ipv6\",\"子网\":\"subnet-ipv4\"},\"en-us\":{\"Instance Name\":\"DBSS-5c02\",\"Edition\":\"数据库审计加密增强版\",\"VPC\":\"VPC-IPV4-请勿开启ipv6\",\"Subnet\":\"subnet-ipv4\"}}}"
  } ],
  "region_id" : "cn-north-7",
  "hx_password" : "Firelanxxxxxxxxe123!",
  "asset_nums" : 10,
  "image_business_type" : 1,
  "public_ip" : {
    "id" : "df0d32e1-671e-482b-bafd-413fa67d3add",
    "eip" : null
  },
  "enterprise_project_id" : "0"
}
support.huaweicloud.com/api-dbss/CreateDbEncryptInstancePeriod.html