Type to search...

Cloud: create


HTTP request

POST /cloud/v1 HTTP/1.1


This method does not supply path parameters.

Request Body

Property name Value Description
Required properties
name string Name of the cloud
Optional properties
description string Description of the cloud
settings object Cloud settings
firewall string object | Firewall ID or existing firewall object


If successful, this method returns a Cloud resource in the response body.

Response HTTP status code

HTTP status code Description
200 Success, returns with cloud resource
429 Too many requests

Rate limit

Detailed information for cloud rate limitation is available on Shardimage developers.


use shardimage\shardimagephp\auth\Client;
use shardimage\shardimagephp\models\cloud\Cloud;
$client = new Client([
    'apiKey' => '<apiKey>',
    'apiSecret' => '<apiSecret>',
    'imageSecret' => '<imageSecret>',
$cloud = new Cloud();
$cloud->name = 'myExampleCloud';
$cloud->description = 'My example cloud for SDK example.';
$result = $client->getCloudService()->create($cloud);
Table of contents