import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an agent pool resource. */ export declare class AgentPool extends pulumi.CustomResource { /** * Get an existing AgentPool resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AgentPool; /** * Returns true if the given object is an instance of AgentPool. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AgentPool; /** * Required. The ID of the agent pool to create. The `agent_pool_id` must meet the following requirements: * Length of 128 characters or less. * Not start with the string `goog`. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (`-`), periods (`.`), underscores (`_`), or tildes (`~`). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression: `^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$`. */ readonly agentPoolId: pulumi.Output; /** * Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'. */ readonly bandwidthLimit: pulumi.Output; /** * Specifies the client-specified AgentPool description. */ readonly displayName: pulumi.Output; /** * Specifies a unique string that identifies the agent pool. Format: `projects/{project_id}/agentPools/{agent_pool_id}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Specifies the state of the AgentPool. */ readonly state: pulumi.Output; /** * Create a AgentPool resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AgentPoolArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AgentPool resource. */ export interface AgentPoolArgs { /** * Required. The ID of the agent pool to create. The `agent_pool_id` must meet the following requirements: * Length of 128 characters or less. * Not start with the string `goog`. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (`-`), periods (`.`), underscores (`_`), or tildes (`~`). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression: `^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$`. */ agentPoolId: pulumi.Input; /** * Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'. */ bandwidthLimit?: pulumi.Input; /** * Specifies the client-specified AgentPool description. */ displayName?: pulumi.Input; /** * Specifies a unique string that identifies the agent pool. Format: `projects/{project_id}/agentPools/{agent_pool_id}` */ name?: pulumi.Input; project?: pulumi.Input; }