Global InfraGlobal Infra Cloud
Compute

Create a volume

Creates a new volume.

POST
/api/v1/giservices/compute/volumes

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/giservices/compute/volumes" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {}  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "cn_name": "string",
    "controller_id": "string",
    "pm_asset_id": "string",
    "raid_type": "NonRedundant",
    "read_cache_policy": "ReadAhead",
    "selected_disks": [
      "string"
    ],
    "volume_name": "string",
    "write_cache_policy": "WriteThrough"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty