Provide A new list Of runtime config overrides for the BOSH Director

Provide A new list Of runtime config overrides for the BOSH Director

This endpoint will replace the currently configured runtime config overrides for the BOSH Director. These overrides will be merged into the BOSH Director runtime configs. No validation is done on the value provided in the data key, other than checking that the data payload is a hash.

The following runtime configs can have overrides applied to their listed addons:

  • ops_manager_dns_runtime

    • bosh-dns: This deploys the bosh-dns job to all Linux VMs created by BOSH which provides DNS resolution to other BOSH deployed VMs.
    • bosh-dns-windows: This deploys the bosh-dns-windows job to all Windows VMs created by BOSH which provides DNS resolution to other BOSH deployed VMs.
  • ops_manager_system_metrics_runtime

    • system_metrics_agent: This deploys the system_metrics_agent job to all Linux VMs created by BOSH which provides VM system metrics via a prometheus-scrapable endpoint.
    • system_metrics_agent_windows: This deploys the system_metrics_agent_windows job to all Windows VMs created by BOSH which provides VM system metrics via a prometheus-scrapable endpoint.

Given the following overrides:

{
  "overrides": [
    {
      "runtime_config_name": "ops_manager_dns_runtime",
      "addon_name": "bosh-dns",
      "data": {
        "log_level": "ERROR"
      }
    }
  ]
}

This will result in the following runtime config:

name: ops_manager_dns_runtime
manifest:
  addons:
  - name: bosh-dns
    jobs:
    - release: bosh-dns
      name: bosh-dns
      properties:
        log_level: ERROR
        ... # existing properties
Request
URI
PUT
https://{opsmanager-installation}//api/v0/staged/director/runtime_configs/overrides
COPY
Request Body
DirectorOverrides of type(s) application/json
Optional
{
    "overrides": [
        {
            "section": "string",
            "data": {}
        }
    ]
}
overrides
Optional

A list of overrides that will be applied to the BOSH Director manifest.

Overrides will be applied in order, so the last override will be applied last.

Responses
200

0K

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

422

UnprocessableEntity

Operation doesn't return any data structure