import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves the requested node pool. */ export declare function getNodePool(args: GetNodePoolArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetNodePoolArgs { clusterId: string; location: string; nodePoolId: string; project?: string; projectId: string; zone: string; } export interface GetNodePoolResult { /** * Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present. */ readonly autoscaling: outputs.container.v1beta1.NodePoolAutoscalingResponse; /** * Enable best effort provisioning for nodes */ readonly bestEffortProvisioning: outputs.container.v1beta1.BestEffortProvisioningResponse; /** * Which conditions caused the current node pool state. */ readonly conditions: outputs.container.v1beta1.StatusConditionResponse[]; /** * The node configuration of the pool. */ readonly config: outputs.container.v1beta1.NodeConfigResponse; /** * This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding. */ readonly etag: string; /** * The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. */ readonly initialNodeCount: number; /** * [Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources. */ readonly instanceGroupUrls: string[]; /** * The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed. */ readonly locations: string[]; /** * NodeManagement configuration for this NodePool. */ readonly management: outputs.container.v1beta1.NodeManagementResponse; /** * The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool. */ readonly maxPodsConstraint: outputs.container.v1beta1.MaxPodsConstraintResponse; /** * The name of the node pool. */ readonly name: string; /** * Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults. */ readonly networkConfig: outputs.container.v1beta1.NodeNetworkConfigResponse; /** * Specifies the node placement policy. */ readonly placementPolicy: outputs.container.v1beta1.PlacementPolicyResponse; /** * [Output only] The pod CIDR block size per node in this node pool. */ readonly podIpv4CidrSize: number; /** * Specifies the configuration of queued provisioning. */ readonly queuedProvisioning: outputs.container.v1beta1.QueuedProvisioningResponse; /** * [Output only] Server-defined URL for the resource. */ readonly selfLink: string; /** * [Output only] The status of the nodes in this pool instance. */ readonly status: string; /** * [Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available. * * @deprecated [Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available. */ readonly statusMessage: string; /** * [Output only] Update info contains relevant information during a node pool update. */ readonly updateInfo: outputs.container.v1beta1.UpdateInfoResponse; /** * Upgrade settings control disruption and speed of the upgrade. */ readonly upgradeSettings: outputs.container.v1beta1.UpgradeSettingsResponse; /** * The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version). */ readonly version: string; } /** * Retrieves the requested node pool. */ export declare function getNodePoolOutput(args: GetNodePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetNodePoolOutputArgs { clusterId: pulumi.Input; location: pulumi.Input; nodePoolId: pulumi.Input; project?: pulumi.Input; projectId: pulumi.Input; zone: pulumi.Input; }