Enabling/Disabling mount path for a Library
Enable/Disable a mount path of a library \n Please visit payload examples for mouth path operations
- application/json
Request Body
library object required
mediaAgentName stringMedia Agents name
libraryName stringName of the Library
mountPathId integerName of the mount path
mountPath stringMount path
opType integerDefault to 8
libNewProp object required
enabledMP integerValue should be 1 to enable mount path
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
library object
isWormStorage booleandeviceAccessType integeropType integererrorCode integermaxDataToWriteMB integerdeviceId integerdeviceName stringmediaAgentId integerwarningWaterMark integerpreferMountPathAccordingToMA integerloginName stringarchCopyName stringmediaAgentName stringdeviceType integerhideLibrary integerisCloud integerreserveSpaceInMB integerpreventDataBlockReferences integerserverType integermarkDrive integermountPathId integerlibraryType integermountPathUsage integerlibraryName stringstopDataAgingWhenDataOccupiedOnDiskIs integerenablePruningOfAgedData integerlibraryId integerarchGroupId integerdescription stringdriveName stringresetSecondaryCredentials booleanstartDataAgingWhenDataOccupiedOnDiskIs integernumOfWritersForMountpath integerusePnpWhenBlank integerbaseFolder stringmarkLibForMaintenance integeruseDPSettingsForPruning integerNDMPServer stringmountPath stringarchGroupName stringisAutomaticallyManageDisk integercreateStoragePolicy integerpreventDataDelFromMntPth integerarchCopyId integerbackupRetentionDays integernumOfWritersForLibrary integerdiskCapacity integerresrvSpaceForSiloRestores integermailContent stringlibSerialNumber stringobjectAddress integerlowWaterMark integerpreferMountPathWithFreeSpace integerenabledMP integersecondaryCredential object
_type_ integerhybridCloudOption object
enableHybridCloud integerdiskLibrary object
_type_ integerdistributedStorage object
_type_ integeractiveLibraryController object
_type_ integersavedCredential object
_type_ integerstorage object
{
"library": {
"isWormStorage": true,
"deviceAccessType": 0,
"opType": 0,
"errorCode": 0,
"maxDataToWriteMB": 0,
"deviceId": 0,
"deviceName": "string",
"mediaAgentId": 0,
"warningWaterMark": 0,
"preferMountPathAccordingToMA": 0,
"loginName": "string",
"archCopyName": "string",
"mediaAgentName": "string",
"deviceType": 0,
"hideLibrary": 0,
"isCloud": 0,
"reserveSpaceInMB": 0,
"preventDataBlockReferences": 0,
"serverType": 0,
"markDrive": 0,
"mountPathId": 0,
"libraryType": 0,
"mountPathUsage": 0,
"libraryName": "string",
"stopDataAgingWhenDataOccupiedOnDiskIs": 0,
"enablePruningOfAgedData": 0,
"libraryId": 0,
"archGroupId": 0,
"description": "string",
"driveName": "string",
"resetSecondaryCredentials": true,
"startDataAgingWhenDataOccupiedOnDiskIs": 0,
"numOfWritersForMountpath": 0,
"usePnpWhenBlank": 0,
"baseFolder": "string",
"markLibForMaintenance": 0,
"useDPSettingsForPruning": 0,
"NDMPServer": "string",
"mountPath": "string",
"archGroupName": "string",
"isAutomaticallyManageDisk": 0,
"createStoragePolicy": 0,
"preventDataDelFromMntPth": 0,
"archCopyId": 0,
"backupRetentionDays": 0,
"numOfWritersForLibrary": 0,
"diskCapacity": 0,
"resrvSpaceForSiloRestores": 0,
"mailContent": "string",
"libSerialNumber": "string",
"objectAddress": 0,
"lowWaterMark": 0,
"preferMountPathWithFreeSpace": 0,
"enabledMP": 0,
"secondaryCredential": {
"_type_": 0
},
"hybridCloudOption": {
"enableHybridCloud": 0,
"diskLibrary": {
"_type_": 0
}
},
"distributedStorage": {
"_type_": 0
},
"activeLibraryController": {
"_type_": 0
},
"savedCredential": {
"_type_": 0
},
"storage": {}
}
}
{
"library": {
"isWormStorage": false,
"deviceAccessType": 0,
"opType": 0,
"errorCode": 0,
"maxDataToWriteMB": 0,
"deviceId": 1,
"deviceName": "",
"mediaAgentId": 0,
"warningWaterMark": 0,
"preferMountPathAccordingToMA": 2,
"loginName": "",
"archCopyName": "",
"mediaAgentName": "",
"deviceType": 0,
"hideLibrary": 2,
"isCloud": 0,
"reserveSpaceInMB": 0,
"preventDataBlockReferences": 2,
"serverType": 0,
"markDrive": 0,
"mountPathId": 1,
"libraryType": 3,
"mountPathUsage": 0,
"libraryName": "LibraryName",
"stopDataAgingWhenDataOccupiedOnDiskIs": 0,
"enablePruningOfAgedData": 2,
"libraryId": 1,
"archGroupId": 0,
"description": "",
"driveName": "",
"resetSecondaryCredentials": false,
"startDataAgingWhenDataOccupiedOnDiskIs": 0,
"numOfWritersForMountpath": 1001,
"usePnpWhenBlank": 2,
"baseFolder": "",
"markLibForMaintenance": 2,
"useDPSettingsForPruning": 2,
"NDMPServer": "",
"mountPath": "C:/mounthPathLocation",
"archGroupName": "",
"isAutomaticallyManageDisk": 0,
"createStoragePolicy": 0,
"preventDataDelFromMntPth": 2,
"archCopyId": 0,
"backupRetentionDays": 0,
"numOfWritersForLibrary": 0,
"diskCapacity": 0,
"resrvSpaceForSiloRestores": 2,
"mailContent": "",
"libSerialNumber": "",
"objectAddress": 0,
"lowWaterMark": 0,
"preferMountPathWithFreeSpace": 2,
"enabledMP": 2,
"secondaryCredential": {
"_type_": 174
},
"hybridCloudOption": {
"enableHybridCloud": 2,
"diskLibrary": {
"_type_": 9
}
},
"distributedStorage": {
"_type_": 195
},
"activeLibraryController": {
"_type_": 11
},
"savedCredential": {
"_type_": 174
},
"storage": {}
}
}
Loading...