[{"label":"Latest (4.4.0)","version":"latest"},{"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

Update Storage Container Of VASA Provider

Description

Update the storage container of a VASA Provider

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

VASA Provider ID


string
storageContainerId Required

Storage container ID


Request Body

Request Body

StorageContainerUpdateSpec of type(s) application/json Required

Storage container update data

{
	"name": "string"
}
string
name Required

Name of the storage container

Response

Response

Response Body

Response Body

200 OK 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

400

Bad Request


404

Storage container not found


500

InternalServerError

Code Samples

Code Samples

cURL Command

curl -X PATCH -H "Content-Type: application/json" -d '{"name":"string"}' https://sfo-vcf01.rainpole.io/v1/vasa-providers/{id}/storage-containers/{storageContainerId}


[{"label":"Latest (4.4.0)","version":"latest"},{"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?