sedai.resource
def
get_clusters():
Get all clusters that have discovered, group-assigned resources in Sedai.
Returns
A list of clusters. Each entry is an object with the following fields:
- name - the name of the cluster
- clusterId - the Sedai id of the cluster
- clusterType - the type of the cluster, e.g. "KUBERNETES" or "ECS"
- cloudProvider - the cloud provider of the cluster's account
- accountId - the Sedai account id backing the cluster
- accountName - the name of the account backing the cluster
- region - the region the cluster is in