published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Create AgentPlatformAgentRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentPlatformAgentRoute(name: string, args: AgentPlatformAgentRouteArgs, opts?: CustomResourceOptions);@overload
def AgentPlatformAgentRoute(resource_name: str,
args: AgentPlatformAgentRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentPlatformAgentRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
child_agent_uuid: Optional[str] = None,
parent_agent_uuid: Optional[str] = None,
if_case: Optional[str] = None,
rollback: Optional[bool] = None,
route_name: Optional[str] = None)func NewAgentPlatformAgentRoute(ctx *Context, name string, args AgentPlatformAgentRouteArgs, opts ...ResourceOption) (*AgentPlatformAgentRoute, error)public AgentPlatformAgentRoute(string name, AgentPlatformAgentRouteArgs args, CustomResourceOptions? opts = null)
public AgentPlatformAgentRoute(String name, AgentPlatformAgentRouteArgs args)
public AgentPlatformAgentRoute(String name, AgentPlatformAgentRouteArgs args, CustomResourceOptions options)
type: digitalocean:AgentPlatformAgentRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "digitalocean_agent_platform_agent_route" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentPlatformAgentRouteArgs
- 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 AgentPlatformAgentRouteArgs
- 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 AgentPlatformAgentRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentPlatformAgentRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentPlatformAgentRouteArgs
- 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 agentPlatformAgentRouteResource = new DigitalOcean.AgentPlatformAgentRoute("agentPlatformAgentRouteResource", new()
{
ChildAgentUuid = "string",
ParentAgentUuid = "string",
IfCase = "string",
Rollback = false,
RouteName = "string",
});
example, err := digitalocean.NewAgentPlatformAgentRoute(ctx, "agentPlatformAgentRouteResource", &digitalocean.AgentPlatformAgentRouteArgs{
ChildAgentUuid: pulumi.String("string"),
ParentAgentUuid: pulumi.String("string"),
IfCase: pulumi.String("string"),
Rollback: pulumi.Bool(false),
RouteName: pulumi.String("string"),
})
resource "digitalocean_agent_platform_agent_route" "agentPlatformAgentRouteResource" {
lifecycle {
create_before_destroy = true
}
child_agent_uuid = "string"
parent_agent_uuid = "string"
if_case = "string"
rollback = false
route_name = "string"
}
var agentPlatformAgentRouteResource = new AgentPlatformAgentRoute("agentPlatformAgentRouteResource", AgentPlatformAgentRouteArgs.builder()
.childAgentUuid("string")
.parentAgentUuid("string")
.ifCase("string")
.rollback(false)
.routeName("string")
.build());
agent_platform_agent_route_resource = digitalocean.AgentPlatformAgentRoute("agentPlatformAgentRouteResource",
child_agent_uuid="string",
parent_agent_uuid="string",
if_case="string",
rollback=False,
route_name="string")
const agentPlatformAgentRouteResource = new digitalocean.AgentPlatformAgentRoute("agentPlatformAgentRouteResource", {
childAgentUuid: "string",
parentAgentUuid: "string",
ifCase: "string",
rollback: false,
routeName: "string",
});
type: digitalocean:AgentPlatformAgentRoute
properties:
childAgentUuid: string
ifCase: string
parentAgentUuid: string
rollback: false
routeName: string
AgentPlatformAgentRoute 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 AgentPlatformAgentRoute resource accepts the following input properties:
- Child
Agent stringUuid - The UUID of the child agent.
- Parent
Agent stringUuid - The UUID of the parent agent.
- If
Case string - if-case condition for the route.
- Rollback bool
- Route
Name string - A name for the route.
- Child
Agent stringUuid - The UUID of the child agent.
- Parent
Agent stringUuid - The UUID of the parent agent.
- If
Case string - if-case condition for the route.
- Rollback bool
- Route
Name string - A name for the route.
- child_
agent_ stringuuid - The UUID of the child agent.
- parent_
agent_ stringuuid - The UUID of the parent agent.
- if_
case string - if-case condition for the route.
- rollback bool
- route_
name string - A name for the route.
- child
Agent StringUuid - The UUID of the child agent.
- parent
Agent StringUuid - The UUID of the parent agent.
- if
Case String - if-case condition for the route.
- rollback Boolean
- route
Name String - A name for the route.
- child
Agent stringUuid - The UUID of the child agent.
- parent
Agent stringUuid - The UUID of the parent agent.
- if
Case string - if-case condition for the route.
- rollback boolean
- route
Name string - A name for the route.
- child_
agent_ struuid - The UUID of the child agent.
- parent_
agent_ struuid - The UUID of the parent agent.
- if_
case str - if-case condition for the route.
- rollback bool
- route_
name str - A name for the route.
- child
Agent StringUuid - The UUID of the child agent.
- parent
Agent StringUuid - The UUID of the parent agent.
- if
Case String - if-case condition for the route.
- rollback Boolean
- route
Name String - A name for the route.
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentPlatformAgentRoute resource produces the following output properties:
Look up Existing AgentPlatformAgentRoute Resource
Get an existing AgentPlatformAgentRoute 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>, state?: AgentPlatformAgentRouteState, opts?: CustomResourceOptions): AgentPlatformAgentRoute@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
child_agent_uuid: Optional[str] = None,
if_case: Optional[str] = None,
parent_agent_uuid: Optional[str] = None,
rollback: Optional[bool] = None,
route_name: Optional[str] = None,
uuid: Optional[str] = None) -> AgentPlatformAgentRoutefunc GetAgentPlatformAgentRoute(ctx *Context, name string, id IDInput, state *AgentPlatformAgentRouteState, opts ...ResourceOption) (*AgentPlatformAgentRoute, error)public static AgentPlatformAgentRoute Get(string name, Input<string> id, AgentPlatformAgentRouteState? state, CustomResourceOptions? opts = null)public static AgentPlatformAgentRoute get(String name, Output<String> id, AgentPlatformAgentRouteState state, CustomResourceOptions options)resources: _: type: digitalocean:AgentPlatformAgentRoute get: id: ${id}import {
to = digitalocean_agent_platform_agent_route.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Child
Agent stringUuid - The UUID of the child agent.
- If
Case string - if-case condition for the route.
- Parent
Agent stringUuid - The UUID of the parent agent.
- Rollback bool
- Route
Name string - A name for the route.
- Uuid string
- The UUID of the linkage
- Child
Agent stringUuid - The UUID of the child agent.
- If
Case string - if-case condition for the route.
- Parent
Agent stringUuid - The UUID of the parent agent.
- Rollback bool
- Route
Name string - A name for the route.
- Uuid string
- The UUID of the linkage
- child_
agent_ stringuuid - The UUID of the child agent.
- if_
case string - if-case condition for the route.
- parent_
agent_ stringuuid - The UUID of the parent agent.
- rollback bool
- route_
name string - A name for the route.
- uuid string
- The UUID of the linkage
- child
Agent StringUuid - The UUID of the child agent.
- if
Case String - if-case condition for the route.
- parent
Agent StringUuid - The UUID of the parent agent.
- rollback Boolean
- route
Name String - A name for the route.
- uuid String
- The UUID of the linkage
- child
Agent stringUuid - The UUID of the child agent.
- if
Case string - if-case condition for the route.
- parent
Agent stringUuid - The UUID of the parent agent.
- rollback boolean
- route
Name string - A name for the route.
- uuid string
- The UUID of the linkage
- child_
agent_ struuid - The UUID of the child agent.
- if_
case str - if-case condition for the route.
- parent_
agent_ struuid - The UUID of the parent agent.
- rollback bool
- route_
name str - A name for the route.
- uuid str
- The UUID of the linkage
- child
Agent StringUuid - The UUID of the child agent.
- if
Case String - if-case condition for the route.
- parent
Agent StringUuid - The UUID of the parent agent.
- rollback Boolean
- route
Name String - A name for the route.
- uuid String
- The UUID of the linkage
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
published on Tuesday, Oct 13, 2026 by Pulumi