The Cloud Foundry credentials API has been deprecated with Dynatrace version 1.288. It is replaced by the Settings API and the Cloud Foundry schema (builtin:cloud.cloudfoundry
). We recommend that you migrate to the new API at your earliest convenience.
The migration affects endpoint URLs, query parameters, and response/request body parameters, as well as the scope of the token for the request.
/api/v2/settings
/api/config/v1/cloudFoundry/credentials
settings.read
)settings.write
)ReadConfig
)WriteConfig
)To learn about new query/body parameters, see the documentation of individual requests in the Settings API.
In the Settings 2.0 framework, each Cloud Foundry connection is represented by a settings object. An object contains some metadata (like the scope or creation timestamp) and the configuration itself, encapsulated in the value object. To learn about the parameters of a Cloud Foundry connection, query the Cloud Foundry schema (builtin:cloud.cloudfoundry
) with the GET a schema request. The configuration differs from the Cloud Foundry credentials API – check the examples below to see the differences.
Here are some examples of differences in API usage.
In this example, we validate if the request for creating a new Cloud Foundry connection would be successful.
In this example, we create a Cloud Foundry connection.
In this example, we modify the Cloud Foundry connection created in the previous example. We change the username to foundation-admin
.
In this example, we delete the previously created Cloud Foundry connection again.