Pulumi Cloud v0.26.1 published on Wednesday, Sep 25, 2024 by Pulumi
pulumiservice.AgentPool
Explore with Pulumi AI
Agent Pool for customer managed deployments
Create AgentPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentPool(name: string, args: AgentPoolArgs, opts?: CustomResourceOptions);
@overload
def AgentPool(resource_name: str,
args: AgentPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
organization_name: Optional[str] = None,
description: Optional[str] = None)
func NewAgentPool(ctx *Context, name string, args AgentPoolArgs, opts ...ResourceOption) (*AgentPool, error)
public AgentPool(string name, AgentPoolArgs args, CustomResourceOptions? opts = null)
public AgentPool(String name, AgentPoolArgs args)
public AgentPool(String name, AgentPoolArgs args, CustomResourceOptions options)
type: pulumiservice:AgentPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AgentPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var agentPoolResource = new PulumiService.AgentPool("agentPoolResource", new()
{
Name = "string",
OrganizationName = "string",
Description = "string",
});
example, err := pulumiservice.NewAgentPool(ctx, "agentPoolResource", &pulumiservice.AgentPoolArgs{
Name: pulumi.String("string"),
OrganizationName: pulumi.String("string"),
Description: pulumi.String("string"),
})
var agentPoolResource = new AgentPool("agentPoolResource", AgentPoolArgs.builder()
.name("string")
.organizationName("string")
.description("string")
.build());
agent_pool_resource = pulumiservice.AgentPool("agentPoolResource",
name="string",
organization_name="string",
description="string")
const agentPoolResource = new pulumiservice.AgentPool("agentPoolResource", {
name: "string",
organizationName: "string",
description: "string",
});
type: pulumiservice:AgentPool
properties:
description: string
name: string
organizationName: string
AgentPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AgentPool resource accepts the following input properties:
- Name string
- Name of the agent pool.
- Organization
Name string - The organization's name.
- Description string
- Description of the agent pool.
- Name string
- Name of the agent pool.
- Organization
Name string - The organization's name.
- Description string
- Description of the agent pool.
- name String
- Name of the agent pool.
- organization
Name String - The organization's name.
- description String
- Description of the agent pool.
- name string
- Name of the agent pool.
- organization
Name string - The organization's name.
- description string
- Description of the agent pool.
- name str
- Name of the agent pool.
- organization_
name str - The organization's name.
- description str
- Description of the agent pool.
- name String
- Name of the agent pool.
- organization
Name String - The organization's name.
- description String
- Description of the agent pool.
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentPool resource produces the following output properties:
- Agent
Pool stringId - The agent pool identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Token
Value string - The agent pool's token's value.
- Agent
Pool stringId - The agent pool identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Token
Value string - The agent pool's token's value.
- agent
Pool StringId - The agent pool identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- token
Value String - The agent pool's token's value.
- agent
Pool stringId - The agent pool identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- token
Value string - The agent pool's token's value.
- agent_
pool_ strid - The agent pool identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- token_
value str - The agent pool's token's value.
- agent
Pool StringId - The agent pool identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- token
Value String - The agent pool's token's value.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0