getKxVolume method
Retrieves the information about the volume.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw LimitExceededException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter environmentId :
A unique identifier for the kdb environment, whose clusters can attach to
the volume.
Parameter volumeName :
A unique identifier for the volume.
Implementation
Future<GetKxVolumeResponse> getKxVolume({
required String environmentId,
required String volumeName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/kx/environments/${Uri.encodeComponent(environmentId)}/kxvolumes/${Uri.encodeComponent(volumeName)}',
exceptionFnMap: _exceptionFns,
);
return GetKxVolumeResponse.fromJson(response);
}