参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:DetachNetworkInterface。 |
Version | String | 是 | 公共参数,本接口取值:2016-03-04。 |
InstanceId | String | 是 | 实例ID 示例值:98284100-f6d1-4bbf-886a-1b0765024738 |
NetworkInterfaceId | String | 是 | 弹性网卡ID 示例值:2f93aaba-6368-4cec-b50f-9f199138023f |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 示例值:5e001a43-6b0c-4072-8288-3ee272b48 |
Return | Boolean | 示例值:true |
Message | String | 示例值:7890p |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
InstanceNotFound | 暂无 | 400 | 暂无 |
InstanceIdInvalid | Instance Resource id is invalid | 400 | 实例资源ID无效 |
VifIdInvalid | Network interface ID is invalid | 400 | 网卡ID无效 |
InstanceStateShouldBeStoppedOrActive | The InstanceState for this action should be "Stopped" or "Active" | 400 | 实例状态必须为“运行中”或者“关闭” |
VifIdAndInstanceIdNotMatch | Network interface does not belong to the instance | 400 | 该网卡不属于该主机 |
DetachNetworkInterfaceParam should not be null. | 暂无 | 400 | 暂无 |
CanNotDetachPrimaryNetworkInterface | Can not detach primary network interface | 400 | 不能卸载主网卡 |
OsDetachInterfaces should not be null. | 暂无 | 400 | 暂无 |
纯净模式