Function: getVolumeId()
getVolumeId(
targetId
):string
Retrieves the volume ID from a target ID. Target Id is not only volumeId but might include other information, but it starts with volumeId.
Parameters
• targetId: string
The target ID from which to extract the volume ID.
Returns
string
The volume ID extracted from the target ID.