Create Region Storage Policy

Create Region Storage Policy

Creates a new Region Storage Policy in Tenant Manager

Request
URI
POST
https://{api_host}/cloudapi/vcf/regionStoragePolicies
COPY
Request Body
RegionStoragePolicy of type(s) application/json
Required

Show optional properties

{
    "name": "string",
    "region": {}
}
{
    "id": "string",
    "name": "string",
    "description": "string",
    "region": {
        "name": "string",
        "id": "string"
    },
    "storageConsumedMiB": 0,
    "storageCapacityMiB": 0,
    "status": "string"
}
string
id
Optional

Unique URN Id for the policy.

string
name
Required
Constraints: minLength: 1 maxLength: 63

Name for the policy. It must follow RFC 1123 Label Names to conform with Kubernetes standards.

string
description
Optional

Description of the policy.

object
region
Required

Entity reference used to describe VCD entities

integer As int64 As int64
storageConsumedMiB
Optional

Consumed storage in mebibytes for this policy

integer As int64 As int64
storageCapacityMiB
Optional

Storage capacity in mebibytes for this policy

string
status
Optional

The creation status of the region storage policy. Can be [NOT_READY, READY]

Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","region:"object"}' https://{api_host}/cloudapi/vcf/regionStoragePolicies