UNPKG

@pulumi/pulumiservice

Version:
74 lines (73 loc) 2.54 kB
import * as pulumi from "@pulumi/pulumi"; /** * Agent Pool for customer managed deployments */ 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<pulumi.ID>, 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; /** * The agent pool identifier. */ readonly agentPoolId: pulumi.Output<string>; /** * Description of the agent pool. */ readonly description: pulumi.Output<string | undefined>; /** * Optional. Flag indicating whether to delete the agent pool even if stacks are configured to use it. */ readonly forceDestroy: pulumi.Output<boolean | undefined>; /** * The name of the agent pool. */ readonly name: pulumi.Output<string>; /** * The organization's name. */ readonly organizationName: pulumi.Output<string>; /** * The agent pool's token's value. */ readonly tokenValue: pulumi.Output<string>; /** * 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 { /** * Description of the agent pool. */ description?: pulumi.Input<string>; /** * Optional. Flag indicating whether to delete the agent pool even if stacks are configured to use it. */ forceDestroy?: pulumi.Input<boolean>; /** * Name of the agent pool. */ name: pulumi.Input<string>; /** * The organization's name. */ organizationName: pulumi.Input<string>; }