CreateEpnInstance_边缘节点服务 ENS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为50/1(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
ens:CreateEpnInstance
Create
全部资源
*

请求参数

字段名称字段详情
EPNInstanceTypestring

边边通信实例。目前取值仅支持 EdgeToEdge

示例值:EdgeToEdge参考取值来源:
    DescribeEpnInstances
EPNInstanceNamestring

边边网络实例名称。

示例值:test EPNInstanceName参考取值来源:
    DescribeEpnInstances
InternetChargeTypestring

网络计费类型。取值:展开详情

示例值:BandwidthByDay枚举值:BandwidthByDay95BandwidthByMonthPayByBandwidth4thMonthPayByBandwidthFlowoutByDay参考取值来源:
    DescribeBandwitdhByInternetChargeType
NetworkingModelstring

组网模式。取值:展开详情

示例值:SpeedUp枚举值:SpeedUpConnectionSpeedUpAndConnection
InternetMaxBandwidthOutinteger<int32>

公网出带宽最大值,单位为 Mbit/s。取值范围:1 Mbit/s~100 Mbit/s。

示例值:1

返回参数

字段名称字段详情
EPNInstanceIdstring

边边网络实例 ID。

示例值:epn-xxxxx
RequestIdstring

请求 ID。

示例值:CEF72CEB-54B6-4AE8-B225-F876FF7BA984

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
StockNotEnough
The specified instance type has insufficient resource.诊断
400
UserNotExist
The specified user is not authroized to perform this operation.诊断
400
MissingParameter
The input parameter that is mandatory for processing this request is not supplied.诊断
400
InstanceIdNotFound
The input parameter instancdId that is not found.诊断
400
NoPermission
Permission denied.诊断
400
InvalidParameter
The input parameter is Invalid.诊断
400
InvalidParameter.%s
The specified field %s invalid. Please check it again.诊断
400
InvalidDiskSize.ValueNotSupported
The specified disk capacity is invalid. Specify another capacity and try again.诊断
400
InvalidParameter.Bandwidth
The specified parameter InternetChargeType is not valid.诊断
400
InvalidParameter.Image
The specified image does not support.诊断
400
InvalidParameter.InstanceType
The specified parameter InstanceType is not valid.诊断
400
InvalidAccountStatus.NotEnoughBalance
Your account does not have enough balance.诊断
400
unsupported_Ipv6Feature
This ensregion does not support creating instance of the IPv6 type. Select another type.诊断
400
Forbidden.CreateInstance
The user is not in the Goods whitelist of creating instance interface.诊断
400
ENS_OperationUnsupported_KeyPairName
The KeyPairNameis not available or image not support ssh key.诊断
400
ENS_DependencyViolation_WindowsInstance
The instance creating is window, only user password to login.诊断
400
ENS_PASSWORDORKEYPAIRNAME_MODULE_NOT_CHOOSEN
The required module pwd or keyPairName is not inputed诊断
400
InvalidPrivateIpAddress
Specified private IP address is not in the CIDR block of virtual switch.诊断
400
InvalidVSwitchId.NotFound
Specified virtual switch does not exist.诊断
400
InvalidPrivateIpAddress.Duplicated
Specified private IP address is duplicated.诊断
400
CallInterface
Call Interface Happen Error.诊断

变更历史

变更时间变更内容概要操作
2023-12-26
变更错误码400

相关示例