Storage Pod Create Storage Pod

Storage Pod Create Storage Pod

Creates a new storage pod in this folder.

Any % (percent) character used in this name parameter must be escaped, unless it is used to start an escape sequence. Clients may also escape any other characters in this name parameter.

Required privileges: Folder.Create

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/StoragePod/{moId}/CreateStoragePod
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case StoragePod/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
CreateStoragePodRequestType of type(s) application/json
Required
{
    "name": "string"
}
string
name
Required

Name for the new storage pod.

Authentication
This operation uses the following authentication methods.
Responses
200

A new StoragePod instance.

Returns MoRefStoragePod of type(s) application/json
This response body class contains all of the following: MoRefFolder
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}

500

DuplicateName: if an entity with that name already exists.

InvalidName: if the name is not a valid entity name.

NotSupported: if the storage pod is being added to a folder whose childType property value does not contain "StoragePod".

Returns VimFault of type(s) application/json
This response body class contains all of the following: MethodFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}