published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Selects the pool that runs the work of a member or the pipeline program.
Create WorkflowsRuntime Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowsRuntime(name: string, args: WorkflowsRuntimeArgs, opts?: CustomResourceOptions);@overload
def WorkflowsRuntime(resource_name: str,
args: WorkflowsRuntimeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowsRuntime(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_pool: Optional[str] = None)func NewWorkflowsRuntime(ctx *Context, name string, args WorkflowsRuntimeArgs, opts ...ResourceOption) (*WorkflowsRuntime, error)public WorkflowsRuntime(string name, WorkflowsRuntimeArgs args, CustomResourceOptions? opts = null)
public WorkflowsRuntime(String name, WorkflowsRuntimeArgs args)
public WorkflowsRuntime(String name, WorkflowsRuntimeArgs args, CustomResourceOptions options)
type: delivery:WorkflowsRuntime
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "delivery_workflows_runtime" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WorkflowsRuntimeArgs
- 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 WorkflowsRuntimeArgs
- 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 WorkflowsRuntimeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowsRuntimeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowsRuntimeArgs
- 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 workflowsRuntimeResource = new Delivery.WorkflowsRuntime("workflowsRuntimeResource", new()
{
AgentPool = "string",
});
example, err := delivery.NewWorkflowsRuntime(ctx, "workflowsRuntimeResource", &delivery.WorkflowsRuntimeArgs{
AgentPool: pulumi.String("string"),
})
resource "delivery_workflows_runtime" "workflowsRuntimeResource" {
lifecycle {
create_before_destroy = true
}
agent_pool = "string"
}
var workflowsRuntimeResource = new WorkflowsRuntime("workflowsRuntimeResource", WorkflowsRuntimeArgs.builder()
.agentPool("string")
.build());
workflows_runtime_resource = delivery.WorkflowsRuntime("workflowsRuntimeResource", agent_pool="string")
const workflowsRuntimeResource = new delivery.WorkflowsRuntime("workflowsRuntimeResource", {agentPool: "string"});
type: delivery:WorkflowsRuntime
properties:
agentPool: string
WorkflowsRuntime Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The WorkflowsRuntime resource accepts the following input properties:
- Agent
Pool string - Pool identifier. The resource returns it unchanged as ref.
- Agent
Pool string - Pool identifier. The resource returns it unchanged as ref.
- agent_
pool string - Pool identifier. The resource returns it unchanged as ref.
- agent
Pool String - Pool identifier. The resource returns it unchanged as ref.
- agent
Pool string - Pool identifier. The resource returns it unchanged as ref.
- agent_
pool str - Pool identifier. The resource returns it unchanged as ref.
- agent
Pool String - Pool identifier. The resource returns it unchanged as ref.
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowsRuntime resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Inputs
Workflows
Runtime Args - Ref string
- Id string
- The provider-assigned unique ID for this managed resource.
- Inputs
Workflows
Runtime Args Type - Ref string
- id String
- The provider-assigned unique ID for this managed resource.
- inputs
Workflows
Runtime Args - ref String
- id string
- The provider-assigned unique ID for this managed resource.
- inputs
Workflows
Runtime Args - ref string
- id str
- The provider-assigned unique ID for this managed resource.
- inputs
Workflows
Runtime Args - ref str
- id String
- The provider-assigned unique ID for this managed resource.
- inputs Property Map
- ref String
Look up Existing WorkflowsRuntime Resource
Get an existing WorkflowsRuntime resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): WorkflowsRuntime@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> WorkflowsRuntimefunc GetWorkflowsRuntime(ctx *Context, name string, id IDInput, state *WorkflowsRuntimeState, opts ...ResourceOption) (*WorkflowsRuntime, error)public static WorkflowsRuntime Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static WorkflowsRuntime get(String name, Output<String> id, CustomResourceOptions options)resources: existingWorkflowsRuntime: type: delivery:WorkflowsRuntime get: id: ${id}import {
to = delivery_workflows_runtime.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state WorkflowsRuntimeState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
WorkflowsRuntimeArgs, WorkflowsRuntimeArgsArgs
Pool selection.- Agent
Pool string - Pool identifier. The resource returns it unchanged as ref.
- Agent
Pool string - Pool identifier. The resource returns it unchanged as ref.
- agent_
pool string - Pool identifier. The resource returns it unchanged as ref.
- agent
Pool String - Pool identifier. The resource returns it unchanged as ref.
- agent
Pool string - Pool identifier. The resource returns it unchanged as ref.
- agent_
pool str - Pool identifier. The resource returns it unchanged as ref.
- agent
Pool String - Pool identifier. The resource returns it unchanged as ref.
Package Details
- Repository
- delivery pulumi/pulumi-delivery
- License
- Apache-2.0
published on Wednesday, Nov 18, 2026 by Pulumi