Get Storage Profile Associations

Get Storage Profile Associations

Get all storage profile Associations with a given storage profile id

Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/iaas/api/storage-profiles/{id}/storage-profile-associations
COPY
Path Parameters
string
id
Required

The ID of storage Profile.

Query Parameters
string
apiVersion
Optional
Constraints: default: 2021-07-15

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

integer
page
Optional
Constraints: default: 0

Results page you want to retrieve (0..N)

integer
size
Optional
Constraints: default: 100

Number of records per page.

size example
100

Authentication
This operation uses the following authentication methods.
Responses
200

Successful operation

Returns StorageProfileAssociationsResult of type(s) application/json
{
    "content": [
        {
            "id": "9.0E49",
            "createdAt": "2012-09-27",
            "updatedAt": "2012-09-27",
            "owner": "[email protected]",
            "ownerType": "ad_group",
            "orgId": "42413b31-1716-477e-9a88-9dc1c3cb1cdf",
            "_links": {
                "empty": false
            },
            "name": "my-name",
            "description": "my-description",
            "regionId": "Datacenter:datacenter-3",
            "endpointLinks": [
                "Datacenter:datacenter-3"
            ],
            "dataStoreId": "ee0f3c60-d54b-484b-adfe-f1d83824987f",
            "storageProfileId": "120ec375-cd36-41af-8d85-55da986cefe4",
            "priority": 2,
            "dataStoreName": "Local-DataStore-1",
            "tags": [
                {
                    "key": "env",
                    "value": "dev"
                }
            ]
        }
    ],
    "totalElements": 1,
    "numberOfElements": 1
}
array of object
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

integer As int64 As int64
numberOfElements
Optional

Number of elements in the current page


400

invalid request - bad data

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


403

Forbidden

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


404

Not found

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/iaas/api/storage-profiles/{id}/storage-profile-associations