Set configurable auto refresh interval for instances pages

Set the auto refresh interval for the instances pages on the IBM Cloud Pak System user interface.

By default, 5 minutes is the auto refresh interval for the Shared Services Instances, Virtual Application Instances, and the Virtual System Instances pages. You can set or configure auto refresh interval for these instances pages.

As an administrator, use the REST client to do the following steps:
  1. Call the GET API as follows:
    https://<host>/resources/worlkloadsettings, where <host> is the IBM Cloud Pak System hostname or IP address. Following is a sample API response.
    [
       {
          "hypervisor_type": "PureSystems_PowerVM",
          "virtual_image": [
             2
          ]
       }
    ]
  2. Call the PUT API as follows:

    https://<host>/resources/worlkloadsettings, where <host> is the IBM Cloud Pak System hostname or IP address.

    Do these steps:
    1. Set the hypervisor_type value that you retrieved from the GET API in step 1.
    2. Set the AutoRefreshInterval value according to your requirements in minutes, which must be greater than 0. If you set the value to 0 or less than 0, the auto refresh interval does not work.
      Note: This configuration is applicable only when the instance status is RUNNING.
    Following is a sample payload.
    {"hypervisor_type":"PureSystems_PowerVM","AutoRefreshInterval":15}