AgentPool constructor

AgentPool(
  1. String name, {
  2. AgentPoolArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new AgentPool. name The Pulumi resource name. args Arguments used to configure this AgentPool. The set of arguments for AgentPool. options Resource options controlling this resource's behavior.

Implementation

AgentPool(
  String name, {
  AgentPoolArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'pulumiservice:index:AgentPool',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  agentPoolId = registerOutput<String>('agentPoolId');
  description = registerOutput<String?>('description');
  forceDestroy = registerOutput<bool?>('forceDestroy');
  this.name = registerOutput<String>('name');
  organizationName = registerOutput<String>('organizationName');
  tokenValue = registerOutput<String>('tokenValue');
}