https://pulumi.com logo
#python
Title
# python
l

little-river-49422

05/20/2019, 6:05 PM
probably, here's what I've been using to get AKS data:
Copy code
async def get_aks_credentials():
    result = await get_kubernetes_cluster(name=gen_name('aks'),
                                          resource_group_name=gen_name('rg')
                                          )
    return result.kube_config_raw
and then I'm just calling
get_aks_credentials()
in my code