Question

How to completely remove an APS 1.2 Application from OA including all resources?

Answer

  1. Disable all the versions of an Application:

    1.1 Go to PCP > Services > Applications
    1.2 Click the application that is going to be removed
    1.3 Go to the Versions tab, mark all versions by setting checkboxes
    1.4 Click the Disable button.

  2. Terminate subscriptions whish use resources of the APS application that is going to be removed or unprovide application resources from subscriptions which use the application. This can be done either via PCP or OpenAPI:


    Via PCP:

    1. Go to PCP > Operations > Subscriptions
    2. Click corresponding subscription
    3. Click Resources tab, click Edit on the bottom of the page
    4. Enter limit 0 for the corresponding resource, click Submit on the bottom of the page. The following warning message will be displayed: You are trying to set zero limits to resources that are currently used...
    5. Set the checkbox Allow resources unprovisioning and click Submit again.


    Via API:

    Please use the OpenAPI method pem.APS.unprovideApplicationInstance with application_instance_id as parameter, see the documentation for more details.


  3. Remove resource rates related to application's resources from service plans on the Billing side:

    3.1 Go to Billing > Products > Service Plans
    3.2 Click corrsponding service plan, click Update Subscriptions on the bottom of the page
    3.3 Select All Subscriptions and set the Remove obsolete resource(s) checkbox
    3.4 Click Update Subscriptions

  4. Remove application resources from Service Templates:

    4.1 Switch to Operation
    4.2 Go to Products > Service Templates
    4.3 On the General tab click Deactivate
    4.4 Go to the Resources tab and select resources for removal by setting checkboxes
    4.5 Click Delete in the upper bar.

  5. Remove resource types from OA:

    5.1 Go to PCP > Services > Applications
    5.2 Click the application that is going to be removed
    5.3 Go to the Resource Types tab and delete all resources of the application.

  6. Remove the application from OA:

    6.1 Go to PCP > Services > Applications
    6.2 Click the application that is going to be removed
    6.3 Click the Delete Application button.

Internal content