CreateResource
Region:
China (Hangzhou)
Request Parameters
Required
requestPathThe request path
regionIdThe region ID
clientTokenThe client token th...
bodyThe request body
Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

You can go to OpenAPI Explorer to view the documentation and try out Cloud Control API.

Request Syntax

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

Path Parameters

Field NameField Details
requestPathstring

The request path. Specify this parameter in the following format: /api/v1/providers/{provider}/products/{product}/resources/{resourceType}View Details...

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

Request Parameters

Field NameField Details
regionIdstring

The region ID. This parameter is required if a cloud service is a regionalized.

Example:cn-beijing
clientTokenstring

The client token that is used to ensure the idempotence of the request. If a cloud service supports idempotence, the parameter takes effect.

Example:1e810dfe1468721d0664a49b9d9f74f4
bodyobject

The request body. The property of the resource, which is specified in JSON format.

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

Response Parameters

Field NameField Details
requestIdstring

The ID of a request.

Example:473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
resourceIdstring

The ID of the resource.

Example:cctest
resourcePathstring

The path of the resources. The relative resource ID. The resource path contains the complete resource location (parent resource/child resource).

Example:Instance/r-8vbf5abe31c9c4d4/Account/cctest
taskIdstring

The ID of the asynchronous task. If the operation is asynchronous, this field is returned. In this case, the HTTP status code 202 is returned.

Example:task-433aead756057fff8189a7ce5****
Change History
No Change History found.