创建站群IP

更新时间:2022-10-10 23:02:50

描述

创建站群IP

请求参数

参数名参数类型是否必填参数说明
Action String

操作方法:AllocateClusterIps

Region String

机房标识,取值参见地域列表

Period String

购买年限周期:

  • 包年包月,单位月,取值为1,2,3,4,5,6,7,8,9,12,24,36
  • 试用,单位天,取值为3
PayType String

付费类型。取值范围:

  • PREPAID:包年包月
  • PROBATION:试用
BandwidthSize Integer

IP带宽,单位Mbps

ClusterIpSeries String

站群IP系列,取值参见

Name String

站群ip名称,不传系统自动生成

NetType String

网络类型:ChinaTelecom(中国电信), BGP,ChinaUnicom(中国联通),ChinaMobile(中国移动),Oversea(海外),请参见地域列表获取不同地域支持的网络类型; 不指定则采用地域默认的网络类型

返回参数

名称 类型 说明
Action String 执行的操作
TaskId String 请求标识
ClusterEips List ClusterEip 站群IP对象

ClusterEip节点

名称 类型 说明
Id String ID
Name String 名称

请求示例

get https://api.chinac.com/v2/?Action=AllocateClusterIps
&Region=cn-huaian-test
&Period=1
&PayType=PREPAID
&BandwidthSize=5
&ClusterIpSeries=2IP-1C-2
&<公共请求参数>

返回示例

{
    "code": 10000,
    "message": "",
    "data": {
            "Action": "AllocateClusterIps",
            "ClusterEips": [
                {
                    "Id": "ceip-vw12fl4bh6389",
                    "Name": "l420210511174239"
                }
            ],
            "TaskId": "gateway-openapi-660917160a0a000001795ace8fbd0a92"
        }
}
*
*
*
*
*
*