import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Kubernetes Cluster Node Pool. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerservice.getClusterNodePool({ * name: "existing", * kubernetesClusterName: "existing-cluster", * resourceGroupName: "existing-resource-group", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ContainerService` - 2025-10-01 */ export declare function getClusterNodePool(args: GetClusterNodePoolArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusterNodePool. */ export interface GetClusterNodePoolArgs { /** * The Name of the Kubernetes Cluster where this Node Pool is located. */ kubernetesClusterName: string; /** * The name of this Kubernetes Cluster Node Pool. */ name: string; /** * The name of the Resource Group where the Kubernetes Cluster exists. */ resourceGroupName: string; } /** * A collection of values returned by getClusterNodePool. */ export interface GetClusterNodePoolResult { /** * Does this Node Pool have Auto-Scaling enabled? */ readonly autoScalingEnabled: boolean; /** * The eviction policy used for Virtual Machines in the Virtual Machine Scale Set, when `priority` is set to `Spot`. */ readonly evictionPolicy: string; readonly gpuDriver: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly kubernetesClusterName: string; /** * The maximum number of Nodes allowed when auto-scaling is enabled. */ readonly maxCount: number; /** * The maximum number of Pods allowed on each Node in this Node Pool. */ readonly maxPods: number; /** * The minimum number of Nodes allowed when auto-scaling is enabled. */ readonly minCount: number; /** * The Mode for this Node Pool, specifying how these Nodes should be used (for either System or User resources). */ readonly mode: string; readonly name: string; /** * The current number of Nodes in the Node Pool. */ readonly nodeCount: number; /** * The current node image version running on this Node Pool. */ readonly nodeImageVersion: string; /** * A map of Kubernetes Labels applied to each Node in this Node Pool. */ readonly nodeLabels: { [key: string]: string; }; /** * Do nodes in this Node Pool have a Public IP Address? */ readonly nodePublicIpEnabled: boolean; /** * Resource ID for the Public IP Addresses Prefix for the nodes in this Agent Pool. */ readonly nodePublicIpPrefixId: string; /** * A map of Kubernetes Taints applied to each Node in this Node Pool. */ readonly nodeTaints: string[]; /** * The version of Kubernetes configured on each Node in this Node Pool. */ readonly orchestratorVersion: string; /** * The size of the OS Disk on each Node in this Node Pool. */ readonly osDiskSizeGb: number; /** * The type of the OS Disk on each Node in this Node Pool. */ readonly osDiskType: string; /** * The operating system used on each Node in this Node Pool. */ readonly osType: string; /** * The priority of the Virtual Machines in the Virtual Machine Scale Set backing this Node Pool. */ readonly priority: string; /** * The ID of the Proximity Placement Group where the Virtual Machine Scale Set backing this Node Pool will be placed. */ readonly proximityPlacementGroupId: string; readonly resourceGroupName: string; /** * The maximum price being paid for Virtual Machines in this Scale Set. `-1` means the current on-demand price for a Virtual Machine. */ readonly spotMaxPrice: number; /** * A mapping of tags assigned to the Kubernetes Cluster Node Pool. */ readonly tags: { [key: string]: string; }; /** * A `upgradeSettings` block as documented below. */ readonly upgradeSettings: outputs.containerservice.GetClusterNodePoolUpgradeSetting[]; /** * The size of the Virtual Machines used in the Virtual Machine Scale Set backing this Node Pool. */ readonly vmSize: string; /** * The ID of the Subnet in which this Node Pool exists. */ readonly vnetSubnetId: string; /** * A list of the Availability Zones where the Nodes in this Node Pool exist. */ readonly zones: string[]; } /** * Use this data source to access information about an existing Kubernetes Cluster Node Pool. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.containerservice.getClusterNodePool({ * name: "existing", * kubernetesClusterName: "existing-cluster", * resourceGroupName: "existing-resource-group", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ContainerService` - 2025-10-01 */ export declare function getClusterNodePoolOutput(args: GetClusterNodePoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusterNodePool. */ export interface GetClusterNodePoolOutputArgs { /** * The Name of the Kubernetes Cluster where this Node Pool is located. */ kubernetesClusterName: pulumi.Input; /** * The name of this Kubernetes Cluster Node Pool. */ name: pulumi.Input; /** * The name of the Resource Group where the Kubernetes Cluster exists. */ resourceGroupName: pulumi.Input; }