创建数据同步工具资源
创建数据同步工具资源.
Path Parameters
订阅.
资源组.
可用区.
Possible values: <= 63 characters
, Value must match regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$
数据同步工具资源名称.
Request Body required
Possible values: <= 63 characters
数据同步工具资源别名.
数据同步工具资源描述.
数据同步工具资源的资源类型
tags object
数据同步工具资源的标签.
properties object
存储卷资源属性
resources object
资源规格属性
order_info object
订单信息.
购买时长.
自动续费.
货币代码.
Possible values: [PC_UNSPECIFIED
, PC_BALANCE
, PC_CREDIT
, PC_FROZENACCOUNT
, PC_REMIT_OFFLINE
, PC_ALIPAY
, PC_UNIONPAY
, PC_REMIT_ONLINE
, PC_CONTRACT
]
支付方式.
订单备注.
Possible values: [OT_UNSPECIFIED
, OT_ORIGINAL
, OT_RENEW
, OT_UPGRADED
, OT_DOWNGRADED
, OT_CONTRACT
, OT_UNSUBSCRIBE
, OT_RESIZE
]
订单类型.
订单id.
订单生效日期.
Possible values: [PM_UNSPECIFIED
, PM_PREPAID
, PM_POSTPAID
]
付费类型.
Possible values: [BM_UNSPECIFIED
, BM_USAGE
, BM_MONTHLY
, BM_YEARLY
]
计费类型.
合同包ID.
订单结束时间.
预付费自动转后付费.
- 200
- default
OK
Schema
Possible values: <= 63 characters
数据同步工具资源别名.
数据同步工具资源描述.
数据同步工具资源的资源类型
tags object
数据同步工具资源的标签.
properties object
存储卷资源属性
resources object
资源规格属性
order_info object
订单信息.
购买时长.
自动续费.
货币代码.
Possible values: [PC_UNSPECIFIED
, PC_BALANCE
, PC_CREDIT
, PC_FROZENACCOUNT
, PC_REMIT_OFFLINE
, PC_ALIPAY
, PC_UNIONPAY
, PC_REMIT_ONLINE
, PC_CONTRACT
]
支付方式.
订单备注.
Possible values: [OT_UNSPECIFIED
, OT_ORIGINAL
, OT_RENEW
, OT_UPGRADED
, OT_DOWNGRADED
, OT_CONTRACT
, OT_UNSUBSCRIBE
, OT_RESIZE
]
订单类型.
订单id.
订单生效日期.
Possible values: [PM_UNSPECIFIED
, PM_PREPAID
, PM_POSTPAID
]
付费类型.
Possible values: [BM_UNSPECIFIED
, BM_USAGE
, BM_MONTHLY
, BM_YEARLY
]
计费类型.
合同包ID.
订单结束时间.
预付费自动转后付费.
{
"id": "string",
"name": "string",
"display_name": "string",
"description": "string",
"uid": "string",
"resource_type": "string",
"creator_id": "string",
"owner_id": "string",
"tenant_id": "string",
"zone": "string",
"state": "ACTIVE",
"sku_id": "string",
"tags": {},
"properties": {
"resources": {}
},
"order_info": {
"billing_cycle_number": 0,
"auto_renew": true,
"currency_code": "string",
"payment_channel": "PC_UNSPECIFIED",
"note": "string",
"order_type": "OT_UNSPECIFIED",
"order_id": "string",
"start_time": "2024-12-05T02:41:59.072Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2024-12-05T02:41:59.072Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2024-12-05T02:41:59.072Z",
"update_time": "2024-12-05T02:41:59.072Z"
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}