digitalocean.GenaiAgentRoute
Explore with Pulumi AI
Create GenaiAgentRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GenaiAgentRoute(name: string, args: GenaiAgentRouteArgs, opts?: CustomResourceOptions);
@overload
def GenaiAgentRoute(resource_name: str,
args: GenaiAgentRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GenaiAgentRoute(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 NewGenaiAgentRoute(ctx *Context, name string, args GenaiAgentRouteArgs, opts ...ResourceOption) (*GenaiAgentRoute, error)
public GenaiAgentRoute(string name, GenaiAgentRouteArgs args, CustomResourceOptions? opts = null)
public GenaiAgentRoute(String name, GenaiAgentRouteArgs args)
public GenaiAgentRoute(String name, GenaiAgentRouteArgs args, CustomResourceOptions options)
type: digitalocean:GenaiAgentRoute
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 GenaiAgentRouteArgs
- 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 GenaiAgentRouteArgs
- 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 GenaiAgentRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GenaiAgentRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GenaiAgentRouteArgs
- 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 genaiAgentRouteResource = new DigitalOcean.GenaiAgentRoute("genaiAgentRouteResource", new()
{
ChildAgentUuid = "string",
ParentAgentUuid = "string",
IfCase = "string",
Rollback = false,
RouteName = "string",
});
example, err := digitalocean.NewGenaiAgentRoute(ctx, "genaiAgentRouteResource", &digitalocean.GenaiAgentRouteArgs{
ChildAgentUuid: pulumi.String("string"),
ParentAgentUuid: pulumi.String("string"),
IfCase: pulumi.String("string"),
Rollback: pulumi.Bool(false),
RouteName: pulumi.String("string"),
})
var genaiAgentRouteResource = new GenaiAgentRoute("genaiAgentRouteResource", GenaiAgentRouteArgs.builder()
.childAgentUuid("string")
.parentAgentUuid("string")
.ifCase("string")
.rollback(false)
.routeName("string")
.build());
genai_agent_route_resource = digitalocean.GenaiAgentRoute("genaiAgentRouteResource",
child_agent_uuid="string",
parent_agent_uuid="string",
if_case="string",
rollback=False,
route_name="string")
const genaiAgentRouteResource = new digitalocean.GenaiAgentRoute("genaiAgentRouteResource", {
childAgentUuid: "string",
parentAgentUuid: "string",
ifCase: "string",
rollback: false,
routeName: "string",
});
type: digitalocean:GenaiAgentRoute
properties:
childAgentUuid: string
ifCase: string
parentAgentUuid: string
rollback: false
routeName: string
GenaiAgentRoute 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 GenaiAgentRoute 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 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 GenaiAgentRoute resource produces the following output properties:
Look up Existing GenaiAgentRoute Resource
Get an existing GenaiAgentRoute 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?: GenaiAgentRouteState, opts?: CustomResourceOptions): GenaiAgentRoute
@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) -> GenaiAgentRoute
func GetGenaiAgentRoute(ctx *Context, name string, id IDInput, state *GenaiAgentRouteState, opts ...ResourceOption) (*GenaiAgentRoute, error)
public static GenaiAgentRoute Get(string name, Input<string> id, GenaiAgentRouteState? state, CustomResourceOptions? opts = null)
public static GenaiAgentRoute get(String name, Output<String> id, GenaiAgentRouteState state, CustomResourceOptions options)
resources: _: type: digitalocean:GenaiAgentRoute get: 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 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
digitalocean
Terraform Provider.