Global InfraGlobal Infra Cloud
File Storage

Create a volume

Creates a new volume.

POST
/api/v1/giservices/file_storage/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/file_storage/volumes" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "client_rw": [        "string"      ],      "name": "string",      "size": 1,      "storagevm_id": "string"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "client_ro": [
      "string"
    ],
    "client_rw": [
      "string"
    ],
    "name": "string",
    "size": 1,
    "snapshot_directory_access_enabled": true,
    "snapshot_policy": "default",
    "space_used": 0,
    "storagevm_id": "string"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty