enableDatabase method

Future<void> enableDatabase({
  1. required String cloudCapsuleId,
})

Enables the database for a project.

Throws NotFoundException if the capsule is not found. Throws ProcurementDeniedException if the database product is not available for the capsule. Throws DatabaseResourceCreationFailed if the database resource creation fails.

Implementation

_i2.Future<void> enableDatabase({required String cloudCapsuleId}) =>
    caller.callServerEndpoint<void>('database', 'enableDatabase', {
      'cloudCapsuleId': cloudCapsuleId,
    });