fetch media agents which can be added as access paths for local storage
Select
SaaS
Customer Managed
Used to fetch available media agents which can be added as access paths for local storage
Path Parameters
- storagePoolId int32 required
Id of the local storage pool whose media agent has to be shared
- backupLocationId int32 required
Id of the backup location of which media agent has to be shared
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
mediaAgents object
{
"mediaAgents": {
"id": 0,
"name": "string",
"displayName": "string"
}
}
Requested Details not found
GET /v4/storage/local/:storagepoolid/backuplocation/:backuplocationid/accesspath/mediaagents
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Local/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'