import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Managed Kubernetes Cluster (AKS). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerservice.getKubernetesCluster({ * name: "myakscluster", * resourceGroupName: "my-example-resource-group", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ContainerService` - 2025-10-01 */ export declare function getKubernetesCluster(args: GetKubernetesClusterArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKubernetesCluster. */ export interface GetKubernetesClusterArgs { /** * The name of the managed Kubernetes Cluster. */ name: string; /** * The name of the Resource Group in which the managed Kubernetes Cluster exists. */ resourceGroupName: string; } /** * A collection of values returned by getKubernetesCluster. */ export interface GetKubernetesClusterResult { /** * An `aciConnectorLinux` block as documented below. */ readonly aciConnectorLinuxes: outputs.containerservice.GetKubernetesClusterAciConnectorLinux[]; /** * An `agentPoolProfile` block as documented below. */ readonly agentPoolProfiles: outputs.containerservice.GetKubernetesClusterAgentPoolProfile[]; /** * The IP ranges to whitelist for incoming traffic to the primaries. */ readonly apiServerAuthorizedIpRanges: string[]; /** * An `azureActiveDirectoryRoleBasedAccessControl` block as documented below. */ readonly azureActiveDirectoryRoleBasedAccessControls: outputs.containerservice.GetKubernetesClusterAzureActiveDirectoryRoleBasedAccessControl[]; /** * Is Azure Policy enabled on this managed Kubernetes Cluster? */ readonly azurePolicyEnabled: boolean; /** * A `bootstrapProfile` block as documented below. */ readonly bootstrapProfiles: outputs.containerservice.GetKubernetesClusterBootstrapProfile[]; /** * Contains the current version of Kubernetes running on the Cluster. */ readonly currentKubernetesVersion: string; /** * The ID of the Disk Encryption Set used for the Nodes and Volumes. */ readonly diskEncryptionSetId: string; /** * The DNS Prefix of the managed Kubernetes cluster. */ readonly dnsPrefix: string; /** * The FQDN of the Azure Kubernetes Managed Cluster. */ readonly fqdn: string; /** * Is HTTP Application Routing enabled for this managed Kubernetes Cluster? */ readonly httpApplicationRoutingEnabled: boolean; /** * The Zone Name of the HTTP Application Routing. */ readonly httpApplicationRoutingZoneName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as documented below. */ readonly identities: outputs.containerservice.GetKubernetesClusterIdentity[]; /** * An `ingressApplicationGateway` block as documented below. */ readonly ingressApplicationGateways: outputs.containerservice.GetKubernetesClusterIngressApplicationGateway[]; /** * A `keyManagementService` block as documented below. */ readonly keyManagementServices: outputs.containerservice.GetKubernetesClusterKeyManagementService[]; /** * A `keyVaultSecretsProvider` block as documented below. */ readonly keyVaultSecretsProviders: outputs.containerservice.GetKubernetesClusterKeyVaultSecretsProvider[]; /** * Raw Kubernetes config for the admin account to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools. This is only available when Role Based Access Control with Azure Active Directory is enabled and local accounts are not disabled. */ readonly kubeAdminConfigRaw: string; /** * A `kubeAdminConfig` block as defined below. This is only available when Role Based Access Control with Azure Active Directory is enabled and local accounts are not disabled. */ readonly kubeAdminConfigs: outputs.containerservice.GetKubernetesClusterKubeAdminConfig[]; /** * Base64 encoded Kubernetes configuration. */ readonly kubeConfigRaw: string; /** * A `kubeConfig` block as defined below. */ readonly kubeConfigs: outputs.containerservice.GetKubernetesClusterKubeConfig[]; /** * A `kubeletIdentity` block as documented below. */ readonly kubeletIdentities: outputs.containerservice.GetKubernetesClusterKubeletIdentity[]; /** * The version of Kubernetes used on the managed Kubernetes Cluster. */ readonly kubernetesVersion: string; /** * A `linuxProfile` block as documented below. */ readonly linuxProfiles: outputs.containerservice.GetKubernetesClusterLinuxProfile[]; /** * The Azure Region in which the managed Kubernetes Cluster exists. */ readonly location: string; /** * A `microsoftDefender` block as defined below. */ readonly microsoftDefenders: outputs.containerservice.GetKubernetesClusterMicrosoftDefender[]; /** * The name assigned to this pool of agents. */ readonly name: string; /** * A `networkProfile` block as documented below. */ readonly networkProfiles: outputs.containerservice.GetKubernetesClusterNetworkProfile[]; /** * Auto-generated Resource Group containing AKS Cluster resources. */ readonly nodeResourceGroup: string; /** * The ID of the Resource Group containing the resources for this Managed Kubernetes Cluster. */ readonly nodeResourceGroupId: string; /** * Whether or not the OIDC feature is enabled or disabled. */ readonly oidcIssuerEnabled: boolean; /** * The OIDC issuer URL that is associated with the cluster. */ readonly oidcIssuerUrl: string; /** * An `omsAgent` block as documented below. */ readonly omsAgents: outputs.containerservice.GetKubernetesClusterOmsAgent[]; /** * Is Open Service Mesh enabled for this managed Kubernetes Cluster? */ readonly openServiceMeshEnabled: boolean; /** * If the cluster has the Kubernetes API only exposed on internal IP addresses. */ readonly privateClusterEnabled: boolean; /** * The FQDN of this Kubernetes Cluster when private link has been enabled. This name is only resolvable inside the Virtual Network where the Azure Kubernetes Service is located */ readonly privateFqdn: string; readonly resourceGroupName: string; /** * Is Role Based Access Control enabled for this managed Kubernetes Cluster? */ readonly roleBasedAccessControlEnabled: boolean; readonly serviceMeshProfiles: outputs.containerservice.GetKubernetesClusterServiceMeshProfile[]; /** * A `servicePrincipal` block as documented below. */ readonly servicePrincipals: outputs.containerservice.GetKubernetesClusterServicePrincipal[]; /** * A `storageProfile` block as documented below. */ readonly storageProfiles: outputs.containerservice.GetKubernetesClusterStorageProfile[]; /** * A mapping of tags to assign to the resource. */ readonly tags: { [key: string]: string; }; /** * A `windowsProfile` block as documented below. */ readonly windowsProfiles: outputs.containerservice.GetKubernetesClusterWindowsProfile[]; } /** * Use this data source to access information about an existing Managed Kubernetes Cluster (AKS). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerservice.getKubernetesCluster({ * name: "myakscluster", * resourceGroupName: "my-example-resource-group", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ContainerService` - 2025-10-01 */ export declare function getKubernetesClusterOutput(args: GetKubernetesClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKubernetesCluster. */ export interface GetKubernetesClusterOutputArgs { /** * The name of the managed Kubernetes Cluster. */ name: pulumi.Input; /** * The name of the Resource Group in which the managed Kubernetes Cluster exists. */ resourceGroupName: pulumi.Input; }