redeployCapsule method

Future<UuidValue> redeployCapsule(
  1. String cloudCapsuleId
)

Redeploys a capsule using its current image. Triggers a deploymentUpdated event to redeploy the infrastructure.

Returns the deployment request id minted for this publish. It is stamped as the serverpod/request-id pod label.

Throws a NoPriorDeploymentException if the capsule has no prior deployment.

Implementation

_ida.Future<_isc.UuidValue> redeployCapsule(String cloudCapsuleId) =>
    caller.callServerEndpoint<_isc.UuidValue>(
      'adminProjects',
      'redeployCapsule',
      {'cloudCapsuleId': cloudCapsuleId},
    );