CreateSnapshot - 创建快照

调用CreateSnapshot创建快照。

调试

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

授权信息

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

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
ens:CreateSnapshotcreate
*全部资源
*

请求参数

名称类型必填描述示例值
DiskIdstring

云盘 ID。

d-bp1s5fnvk4gn2tws0****
EnsRegionIdstring

ENS 节点 ID。

cn-shenzhen-3
SnapshotNamestring

快照的显示名称。长度为 2~128 个英文或中文字符。必须以大小字母或中文开头,不能以http://https://开头。可以包含数字、半角冒号(:)、下划线(_)或者短划线(-)。

testSnapshotName
Descriptionstring

快照的描述。长度为 2~256 个英文或中文字符,不能以http://https://开头。

默认值:空。

testDescription

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
SnapShotIdarray

快照 ID。

SnapShotIdstring

快照 ID 列表。

sp-5w1x1nxsmkhdgval1h5l****
OrderIdstring

订单 ID。

21969183547****

示例

正常返回示例

JSON格式

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "SnapShotId": [
    "sp-5w1x1nxsmkhdgval1h5l****"
  ],
  "OrderId": "21969183547****"
}

错误码

HTTP status code错误码错误信息描述
400OrderFailedOrder failed, please try again.订单失败请重试
400SystemUseCouponFailedFailed to use coupon.使用代金券失败
400SystemUseStoredCardFailedFailed to use stored value card.使用储值卡失败
400System.SystemErrorsystem error.后端系统错误
400SystemCanRefundCheckFailedThe business rule check of the cloud product fails, and this order cannot be refunded.云产品业务规则检查不通过,本订单无法申请退款
400SystemOtsSystemots storage error.ots存储错误
400SystemQueryImmortalErrorFailed to call Juxiange.调用聚仙阁失败
400SystemQueryInstanceInfoFailedFailed to find instance information.查找实例资源信息失败
400SystemResellerPayCalRefundUnitErrorEcological payment channel calculation unsubscribe information error.生态支付渠道计算退订信息错误
400SystemSaleValidateFailedSales Expression Validation System Error.销售表达式校验系统错误
400SystemTransferDeleteOldResourceFailedFailed to delete the transferred instance in the transfer order.过户订单逻辑删除已过户实例失败
400SystemUnSupportOperationTypeUnsupported operation type.不支持的操作类型
400RiskRiskControlRejectionRisk Control Rejection.风险控制拒绝
400AuthRamAuthFailedram sub-account authentication failed.RAM子账号鉴权失败。
400CommodityInvalidComponentThe module you purchased is illegal, please re-select.你购买的模块非法,请重新选择
400CommodityInvalidItemCodeSpecification code illegal.规格code非法
400PriceHsfTimeoutErrorTime out when calling the request for quotation interface.调用询价接口超时
400PricePatingConfigErrorInquiry related goods configuration error.询价相关商品配置错误
400PricePricingPlanResultNotFoundPricing plan price result not found.定价计划价格结果没有找到
400PriceRatingGetRatingpricingPlanObtain a valid pricing plan exception.得到有效定价计划异常
400OrderAbnormalResourceStatusForRenewInvalid resource status for renewal.续费资源状态非法
400OrderAccountStatusIllegalIllegal account status.账号状态非法
400OrderArrearageUser Arrears.用户欠费
400OrderBidUserOrderForbiddenBid users cannot buy on the official website.bid用户不能在官网购买
400OrderCaptureFailedThe paid order of the instance has not been deducted successfully.实例的已支付订单未扣款成功
400OrderExistsReleasedInstancesThere are already released instances.存在已经释放的实例
400OrderGroupOrderSizeOverflowThe quantity of bound combined payment order exceeds the limit.绑定合并支付订单数量超限
400OrderHomeCurrencyCanNotDowngradeUsers in current currency cannot downgrade.本币用户不能降配
400OrderHomeCurrencyCanNotUpgradeByValueTransferUsers of current currency cannot upgrade through residual value transfer.本币用户不能通过剩余价值转移的方式升级
400OrderInstanceHasInactiveChangeInstances exist temporary upgrade.实例存在临时升级
400OrderInstHasUnpaidOrderThe instance has an unpaid order.实例有未支付订单
400OrderInstHasUnsettledBillsThe instance has an unsettled bill.实例有未结算账单
400OrderLatestOrderIsHandlingRecent order is being processed, please try again later.最近的订单正在处理中,请稍候重试
400OrderMainOrderSizeOverflowThe quantity of the main order exceeds the limit.主订单数量超限
400OrderMissingModuleInfoErrorModule parameter not specified.未指定模块参数
400OrderNoRealNameAuthenticationNo real-name authentication.未实名认证
400OrderNotFoundThe specified order information is not found.未查询到指定的订单信息
400OrderOpendYou have activated this product.您已开通该产品
400OrderPeriodInvalidIllegal order cycle.订购周期非法
400OrderQuantityInvalidIllegal quantity ordered.订购数量非法
400OrderQueryInstanceErrorQuery instance error.查询实例错误
400OrderQueryInstanceNotExistsInstance data does not exist.实例数据不存在
400OrderQueryOrderExchangeRateFailFailed to query order exchange rate information.查询订单汇率信息失败
400OrderQueryUserSettleInfoFailFailed to query user settlement information.查询用户结算信息失败
400OrderQuotaExceededQuantity exceeds limit.数量超出额度限制
400OrderSysConstraintInvalidSystem constraint check failed.系统约束校验失败
400OrderSysConstraintInvalidThe pre-verification of the order failed, please re-match or contact the product.下单前置校验失败,请重新选配,或者联系产品
400OrderTradeCompleteSettleInfoFailFailed to complete the order settlement currency amount information.补全订单结算币种金额信息失败
400TradeTradeOrderAfterPayCheckErrorYou have already paid for the subsequent orders of this instance. The current order has been automatically voided and you cannot pay any more.您已支付此实例的后续订单,当前订单已自动作废,您不可再支付
400PurchaseExistRenewchangeProdThere is a renewal change subscription that has not yet taken effect.存在未生效的续费变配订购
400PurchaseExistToBeValidProdRuleErrorCurrently, there are temporary orders that are not in effect, and the upgrade operation cannot be performed.当前有未生效的临时订购,不能进行升级操作
400PurchaseExistToBeValidRenewChangeProdRuleErrorCurrently, there is an uneffective renewal change subscription, and temporary upgrade operation cannot be performed.当前有未生效续费变配订购,不能进行临时升级操作
400PurchaseExistValidProdRuleErrorCurrently, there is a temporary order in effect, and operations such as upgrade/downgrade/expansion/pre-transfer cannot be performed.当前有生效中的临时订购,不能进行升级/降配/扩容/预转后等操作
400ProductInstanceReleasedInstance released.实例已释放
400ProductInstanceTypeNotSupportedThe instance type is not supported.实例类型不支持
400PatRiskRejectForTradeDataPayment order problem leads to risk control rejection.支付订单问题导致风控拒绝
400PayAccountBookNotExistThere is no insufficient account balance in the account book, please retry after recharging.账本不存在 账户余额不足,请充值后重试
400PayAmountLimitExceededPayment limit exceeded, please resubmit.超出支付限额,请重新提交
400PayBeforePayRiskRuleValidateFailedThe payment was blocked by risk control, and the payment failed.该笔支付被风险控制拦截,支付失败
400PayCounponNotExistCounpon does not exist.代金券不存在
400PayCouponAmountNotEnoughInsufficient voucher balance or expired.代金券余额不足或已过期
400PayCouponNotMeetConsumptionRuleThe coupon does not meet the conditions for use.代金券不满足使用条件
400PayCurrencyInconsistencyCurrency mismatch.币种不匹配
400PayCurrencyNotSupportedCurrency not supported.币种不支持
400PayForbiddenNoReasonFefundBanned five days no reason refund.禁止五天无理由退款
400PayHsfTimeoutErrorCall payment system timeout.调用支付系统超时
400PayInsufficientBalanceAccount balance is insufficient, please recharge and try again.账户余额不足,请充值后重试
400PayInvalidCreditCardInvalid credit card.信用卡无效
400PayInvalidPayMethodIllegal payment method.支付方式非法
400PayMegrePayOrderHasThanOneChagreChannelPayment failed, please retry or submit work order feedback.支付失败,请重试或提交工单反馈
400PayNoCreditCardNo valid payment method, please check the payment method and try again.没有有效支付方式,请检查支付方式后重试
400PayOrderPayTimeInvalidOrder effective time is invalid.订单生效时间无效
400PayPartRefundNotSupportNot Capture, no partial refund.未Capture,不能部分退款
400PayPayChannelPayOrderInvalidStatusIllegal status of payment order in payment channel.支付渠道支付订单状态非法
400PayPayChannelPayOrderNotExistPayment channel payment order does not exist.支付渠道支付订单不存在
400PayPayerAccountIllegalIllegal payment account.支付账户非法
400PayPayFailedParentRelationchangedIf the financial custody relationship changes, please void the order and place a new order for payment.财务托管关系发生变化,请作废订单并重新下单支付
400PayPayForbidUserCouponCoupon prohibited for orders.订单禁止使用代金券
400PayQueryAvailableAmountFailedFailed to query user availability, please try again later.查询用户可用金失败,请稍后重试
400PayQueryAvailableEnduserAmountFailedFailed to query the availability of quota direct customer main user, please try again later.查询quota直客主用户可用金失败,请稍后重试
400PayQueryParentRelationshipFailedFailed to query current user hosting relationship, please try again later.查询当前用户托管关系失败,请稍后重试
400PayQueryPayChangeChannelNotEqualMulti-order payment channels are inconsistent, please check whether the original order data payment channel is correct.多订单支付渠道不一致,请检查原订单数据支付渠道是否正确
400PayRefundFailedAccumulated refund amount exceeds payment order amount.累计退款金额超过支付单金额
400PayResellerPayGetUrlErrorOrder payment failed, please try again later.订单支付失败,请稍后重试
400PayRiskRejectForPayerAccountPayment account problem leads to risk control rejection.支付账户问题导致风控拒绝
400PayStoredCardNotExistStored value card does not exist.储值卡不存在
400PaySystemErrorError calling payment system.调用支付系统错误
400PayTaxCalcFailedFailed to get user tax address.获取用户计税地址失败
400PayWithholdingAgreementIllegalWithholding Agreement Status Illegal.代扣协议状态非法
400AccountAliyunAccountFrozenAlibaba Cloud account is frozen.阿里云账号被冻结
400AccountAliyunAccountNotExistAlibaba Cloud account does not exist.阿里云账号不存在
400RefundRefundInstanceNotFoundUnable to find instance information.无法查到实例信息
400RefundRefundNoValidProdRefund is not available to unsubscribe.退款无可退订购
400RefundRefundParamInvalidAbnormal refund parameter.退款参数异常
400RefundRefundQueryOrderFailFailed to query order for refund field.退款域查询订单失败
400SystemConcurrentOperateConcurrent operation causes failure.并发操作导致失败
400PricePricingPlanNotFoundPricing plan tree not found.定价计划树没有找到
400OrderInstanceHasTempUpgradeInstances exist temporary upgrade.实例存在临时升级
400PayQueryParentRelationchangedFailedThe financial custody relationship may change, please refresh and pay again.财务托管关系可能发生变化,请刷新后重新支付
400PayforCreditPayInsufficientBalanceInsufficient quota, please contact your channel partner to increase the quota.额度不足,请联系您的渠道合作伙伴提升额度
400PayforAccountMoneyValidateErrorThe available amount of your channel partner's account is insufficient, please contact your channel partner to recharge in time.您的渠道合作伙伴的账号可用金额不足,请联系您的渠道合作伙伴及时充值
400BasicInfoUncompletedYou have not completed your basic personal information. Please complete the information and re-operate it.您未完善个人基本信息,请完善信息后重新操作
400SaleControlVerificationFailedStockInventory sales constraint verification failed, please re-match, or contact the product.库存售卖约束校验未通过,请重新选配
400SaleControlVerificationFailedRegionThe node sales constraint verification failed, please re-select or contact the product.节点售卖约束校验未通过,请重新选配
400SaleControl.VerificationFailedYou did not pass the salecontrol verification.Please contact the product.创建资源的时候没有通过资源的售卖约束校验
400NoPermissionPermission denied.没有足够的权限,请联系云账号管理员授予您相应权限。
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-

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

变更历史

变更时间变更内容概要操作
2024-08-19OpenAPI 错误码发生变更查看变更详情
2023-10-17OpenAPI 错误码发生变更查看变更详情