import_managed_cluster
Adopt a managed Kubernetes cluster that already runs at the provider (the twin of ankra cluster managed import): Ankra fetches its kubeconfig through the provider API and installs the agent itself, so unlike import_cluster there is no command for the operator to run. Take provider_cluster_id from discover_managed_clusters. Refused when the cluster is already imported or the name is taken. The cluster reads as offline until the agent checks in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name the cluster gets in Ankra. Defaults to the provider's name. | |
| provider | Yes | Managed Kubernetes provider. | |
| description | No | Optional description. | |
| credential_id | Yes | UUID of the provider credential the cluster is reachable through. | |
| provider_cluster_id | Yes | The provider's cluster id (from discover_managed_clusters). |