This guide describes how to delete SaaS Runtime resources. SaaS Runtime ensures data integrity by blocking resource deletions when dependent resources exist.
A dependent resource has a reference to the resource you want to delete. For example, a unit is dependent on a unit kind. You cannot delete a unit kind if a unit references it.
SaaS Runtime resource dependency
This table describes the dependency relationships between SaaS Runtime resources. The resource in the header column can only be deleted if there are no resources from the header row that reference that resource instance. For example, a unit kind resource cannot be deleted if a unit or release is referencing the unit kind.
| Resource type | Dependent types | Unit kind | Unit | Unit operation | Release | Rollout Kind | Rollout | Tenant | SaaS offering | Notes |
|---|---|---|---|---|---|---|---|---|---|---|
| Unit Kind | X | X | ||||||||
| Unit | X | X | X | X | ||||||
| Unit Operation | X | X | ||||||||
| Release | X | X | ||||||||
| Rollout Kind | X | |||||||||
| Rollout | X | |||||||||
| Tenant | X | |||||||||
| SaaS Offering | X | X |
Before you begin
You should understand SaaS Runtime resource dependencies before you attempt to delete SaaS Runtime resources. A resource cannot exist without its dependencies.
Delete a SaaS offering
You cannot delete a SaaS offering if any dependent unit kinds or tenants reference it.
To delete a SaaS offering:
Go to SaaS Runtime > SaaS offerings.
In the Name column, select the SaaS offering you want to delete.
Delete dependent unit kind resources. You can see a SaaS offering's dependent unit kind resources under the Unit kinds tab on the SaaS offering details page.
For more information about deleting SaaS Runtime resources, see delete Unit kinds.
On the SaaS offering details page, click Delete.
You've successfully deleted a SaaS offering.
Delete a unit kind
You must delete any dependent unit and release resources before you delete a unit kind.
To delete a unit kind:
Go to SaaS Runtime > Unit kinds.
In the Name column, select the unit kind you want to delete.
On the Unit kind details page, click Delete. A Delete unit kind dialog appears.
Set the Default release property of the unit kind to No default release.
Type the name of the unit kind you want to delete into the dialog.
Click Delete to delete the unit kind.
You've successfully deleted a unit kind resource.
Delete a unit
You must delete any dependent unit resources before you delete a unit.
To delete a unit:
Go to SaaS Runtime > Units.
In the Name column, select the unit you want to delete.
Delete dependent unit resources. You can see a unit's dependent resources under the Dependencies tab on the Unit details page.
On the Unit details page, click Delete. A Delete unit dialog appears.
Type the name of the unit you want to delete into the dialog.
Click Delete to delete the unit.
You've successfully deleted a unit resource.
Delete a unit operation
SaaS Runtime automatically deletes unit operations when you delete their associated unit. You cannot delete a unit operation if it's in progress.
Delete a release
You cannot delete a release if:
- Provisioned units reference the release
- The release is set as the default release of a unit kind resource
You must delete any dependent unit resources before you delete a release.
To delete a release:
Go to SaaS Runtime > Releases.
In the Name column, select the release you want to delete.
Delete all dependent units. You can see a release's dependent units under the Units tab on the Release details page. For information about deleting units, see delete a Unit.
Unset the default release field from any unit kinds that reference this release.
On the Release details page, click Delete. A Delete release dialog appears.
Type the name of the release you want to delete into the dialog.
Click Delete to delete the release.
You've successfully deleted a release resource.
Delete a rollout kind
You cannot delete a rollout kind if it's referenced by any rollout resources.
To delete a rollout kind:
Go to SaaS Runtime > Rollout kinds.
In the Name column, select the rollout kind you want to delete.
Delete all dependent rollouts. You can see a rollout kind's dependent rollout resources under the Rollouts tab on the Rollout kind details page. For information about deleting rollouts, see delete a Rollout.
On the Rollout details page, click Delete. A Delete rollout kind dialog appears.
Type the name of the rollout kind you want to delete into the dialog.
Click Delete to delete the rollout kind.
You've successfully deleted a rollout kind resource.
Delete a rollout
You cannot delete a rollout if it's running. You must stop a running rollout before you can delete it. When you delete a rollout, SaaS Runtime deletes all sub-rollouts created by the global root rollout.
To delete a rollout:
Go to SaaS Runtime > Rollouts.
In the Name column, select the rollout you want to delete.
Delete any dependent unit operations resources. For more information about deleting unit operations, see Delete a unit operation.
On the Rollout details page, click Delete. A Delete rollout dialog appears.
Type the name of the rollout you want to delete into the dialog.
Click Delete to delete the rollout.
You've successfully deleted a rollout resource.
Delete a tenant
You cannot delete a tenant if any units (provisioned or unprovisioned) reference it.
To delete a tenant:
Go to SaaS Runtime > Tenants.
In the Name column, select the tenant you want to delete.
Disassociate any units from the tenant. For information about associating units with tenants, see Associate a unit with a tenant.
On the Tenant details page, click Delete. A Delete tenant dialog appears.
Type the name of the tenant you want to delete into the dialog.
Click Delete to delete the tenant.
You've successfully deleted a tenant resource.
What's next
- Learn more about SaaS Runtime.
- Understand how to model and package SaaS Runtime resources.