bind_service_consumer
Bind an application namespace on a cluster as a consumer of managed services (the twin of ankra services consumers bind). A setup is always for named consumers, and the service's connection details are delivered for them. The application must be deployed to that namespace unless allow_planned is true. Pass expected_revision to change an existing binding; omit it to create one. Requires applications.deploy and clusters.operate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | The application's namespace on that cluster. | |
| cluster_id | Yes | Cluster id (UUID) the application runs on. | |
| local_only | No | true when this consumer's data must stay on its own cluster, so only a service on that cluster may serve it. Defaults to false. | |
| allow_planned | No | true to bind a namespace the application is not deployed to yet. Defaults to false. | |
| application_id | Yes | Application id (UUID) from list_applications. | |
| expected_revision | No | The binding's current revision, to change an existing binding. Omit or 0 to create one. |