def list_managed_cluster_admin_credentials(resource_group_name: Optional[str]=None, resource_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableListManagedClusterAdminCredentialsResult:
    '\n    The list of credential result response.\n\n\n    :param str resource_group_name: The name of the resource group.\n    :param str resource_name: The name of the managed cluster resource.\n    '
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['resourceName'] = resource_name
    if (opts is None):
        opts = pulumi.InvokeOptions()
    if (opts.version is None):
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20200301:listManagedClusterAdminCredentials', __args__, opts=opts, typ=ListManagedClusterAdminCredentialsResult).value
    return AwaitableListManagedClusterAdminCredentialsResult(kubeconfigs=__ret__.kubeconfigs)
The list of credential result response.


:param str resource_group_name: The name of the resource group.
:param str resource_name: The name of the managed cluster resource.
def list_managed_cluster_admin_credentials(resource_group_name: Optional[str]=None, resource_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableListManagedClusterAdminCredentialsResult:
    '\n    The list of credential result response.\n\n\n    :param str resource_group_name: The name of the resource group.\n    :param str resource_name: The name of the managed cluster resource.\n    '
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['resourceName'] = resource_name
    if (opts is None):
        opts = pulumi.InvokeOptions()
    if (opts.version is None):
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-native:containerservice/v20200301:listManagedClusterAdminCredentials', __args__, opts=opts, typ=ListManagedClusterAdminCredentialsResult).value
    return AwaitableListManagedClusterAdminCredentialsResult(kubeconfigs=__ret__.kubeconfigs)