Tüm Ürünler
Search
Belge Merkezi

:CreateResource

Son Güncelleme:Sep 30, 2026

Kaynakları oluşturur.

Operation description

Belgeleri görüntülemek ve Cloud Control API'yi denemek için OpenAPI Explorer adresine gidebilirsiniz.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /api/v1/providers/{provider}/products/{product}/resources/* HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

requestPath

string

No

İstek yolu. Bu parametreyi şu biçimde belirtin: /api/v1/providers/{provider}/products/{product}/resources/{resourceType}

İstek yolundaki değişkenler:

provider: Bulut hizmeti sağlayıcısı. Yalnızca Aliyun desteklenir.

product: Hizmet kodu.

resourceType: Kaynak türü. Üst kaynak belirtilmişse, biçim {üst kaynak türü kodu}/üst kaynak kimliği/{kaynak türü kodu} şeklindedir.

/api/v1/providers/Aliyun/products/Redis/resources/DBInstance/r-8vbf5abe31cxxxxx/Account

Request parameters

Parameter

Type

Required

Description

Example

regionId

string

No

Bölge kimliği. Bir bulut hizmeti bölgeselleştirilmişse bu parametre gereklidir.

cn-beijing

clientToken

string

No

İsteğin idempotansını sağlamak için kullanılan istemci belirteci. Bir bulut hizmeti idempotansı destekliyorsa bu parametre geçerli olur.

1e810dfe1468721d0664a49b9d9f74f4

body

object

No

İstek gövdesi. JSON biçiminde belirtilen kaynak özelliği.

{ "AccountName": "cctest", "AccountPassword": "Aa1234****" }

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

requestId

string

İstek kimliği.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

resourceId

string

Kaynak kimliği.

cctest

resourcePath

string

Kaynak yolu. Göreli kaynak kimliği. Kaynak yolu, tam kaynak konumunu (üst kaynak/alt kaynak) içerir.

Instance/r-8vbf5abe31c9c4d4/Account/cctest

taskId

string

Zaman uyumsuz görev kimliği. İşlem zaman uyumsuzsa bu alan döndürülür. Bu durumda HTTP durum kodu 202 olarak döndürülür.

task-433aead756057fff8189a7ce5****

Examples

Success response

JSON format

{
  "requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "resourceId": "cctest",
  "resourcePath": "Instance/r-8vbf5abe31c9c4d4/Account/cctest",
  "taskId": "task-433aead756057fff8189a7ce5****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.