DiskGetEligibleMediaAgentsForAccessPath
Used to fetch available media agents which can be added as access paths for disk storage
Path Parameters
- storagePoolId int32 required
Id of the disk storage pool whose media agent has to be shared
- backupLocationId int32 required
Id of the back up 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/disk/:storagepoolid/backuplocation/:backuplocationid/accesspath/mediaagents
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/Storage/Disk/:storagePoolId/BackupLocation/:backupLocationId/AccessPath/MediaAgents' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'