[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf

Add Storage Containers To VASA Provider

Description

Add the storage containers to a VASA Provider

Request

Request

URL

URL


post
https://sfo-vcf01.rainpole.io/v1/vasa-providers/{id}/storage-containers
Copy

Path Parameters

Path Parameters

string
id Required

VASA Provider ID


Request Body

Request Body

array of StorageContainer of type(s) application/json Required

Storage containers data

{
    "protocolType": "One among: ISCSI, FC, NFS"
}
string
name Required

Name of the storage container


string
protocolType Required

Storage protocol type


string
clusterId Optional

ID of the cluster which is using the storage container


string
id Optional

ID of the storage container

Response

Response

Response Body

Response Body

201 Created

Returns VasaProvider of type(s) application/json
{
	"id": "string",
	"name": "string",
	"storageContainers": [
		{
			"clusterId": "string",
			"id": "string",
			"name": "string",
			"protocolType": "One among: ISCSI, FC, NFS"
		}
	],
	"url": "string",
	"users": [
		{
			"id": "string",
			"password": "string",
			"username": "string"
		}
	]
}
string
name Required

Name of the VASA Provider


array of StorageContainer
storageContainers Required

List of storage containers associated with the VASA Provider


string
url Required

URL of the VASA Provider


array of VasaUser
users Required

List of users associated with the VASA Provider


string
id Optional

ID of the VASA Provider

Errors

Errors

Error
400

Bad Request


Error
404

VASA Provider not found


Error
500

InternalServerError

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '[{"protocolType":"One among: ISCSI, FC, NFS"}]' https://sfo-vcf01.rainpole.io/v1/vasa-providers/{id}/storage-containers


[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
Feedback

Was this page helpful?