Get Fabric V Sphere Datastores

Get Fabric V Sphere Datastores

Get all fabric vSphere datastores.

  1. If regionId is not provided as a parameter then all datastores are returned

  2. If regionId is provided as a parameter then datastores iin that region are returned

Request
URI
GET
https://api.mgmt.cloud.vmware.com//iaas/api/fabric-vsphere-datastores
COPY
Query Parameters
string
regionId
Optional

Id of the Region for which datastores/datastore clusters are required

string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Responses
200

successful operation

Returns FabricVsphereDatastoreResult of type(s) application/json
{
    "numberOfElements": 1,
    "content": [
        {
            "owner": "csp@vmware.com",
            "freeSizeGB": "20",
            "externalRegionId": "Datacenter:datacenter-2",
            "description": "my-description",
            "externalId": "i-cfe4-e241-e53b-756a9a2e25d2",
            "type": "VMFS / NFS / StoragePod",
            "orgId": "9e49",
            "organizationId": "deprecated",
            "createdAt": "2012-09-27",
            "cloudAccountIds": [
                "string"
            ],
            "name": "my-name",
            "id": "9e49",
            "updatedAt": "2012-09-27"
        }
    ],
    "totalElements": 1
}
integer As int64 As int64
numberOfElements
Optional

Number of elements in the current page

content
Optional

List of content items

integer As int64 As int64
totalElements
Optional

Total number of elements. In some cases the field may not be populated


403

Forbidden

Operation doesn't return any data structure