1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. GenaiAgentRoute
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

digitalocean.GenaiAgentRoute

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi

    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:

    ChildAgentUuid string
    The UUID of the child agent.
    ParentAgentUuid string
    The UUID of the parent agent.
    IfCase string
    if-case condition for the route.
    Rollback bool
    RouteName string
    A name for the route.
    ChildAgentUuid string
    The UUID of the child agent.
    ParentAgentUuid string
    The UUID of the parent agent.
    IfCase string
    if-case condition for the route.
    Rollback bool
    RouteName string
    A name for the route.
    childAgentUuid String
    The UUID of the child agent.
    parentAgentUuid String
    The UUID of the parent agent.
    ifCase String
    if-case condition for the route.
    rollback Boolean
    routeName String
    A name for the route.
    childAgentUuid string
    The UUID of the child agent.
    parentAgentUuid string
    The UUID of the parent agent.
    ifCase string
    if-case condition for the route.
    rollback boolean
    routeName string
    A name for the route.
    child_agent_uuid str
    The UUID of the child agent.
    parent_agent_uuid str
    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.
    childAgentUuid String
    The UUID of the child agent.
    parentAgentUuid String
    The UUID of the parent agent.
    ifCase String
    if-case condition for the route.
    rollback Boolean
    routeName 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    The UUID of the linkage
    Id string
    The provider-assigned unique ID for this managed resource.
    Uuid string
    The UUID of the linkage
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    The UUID of the linkage
    id string
    The provider-assigned unique ID for this managed resource.
    uuid string
    The UUID of the linkage
    id str
    The provider-assigned unique ID for this managed resource.
    uuid str
    The UUID of the linkage
    id String
    The provider-assigned unique ID for this managed resource.
    uuid String
    The UUID of the linkage

    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.
    The following state arguments are supported:
    ChildAgentUuid string
    The UUID of the child agent.
    IfCase string
    if-case condition for the route.
    ParentAgentUuid string
    The UUID of the parent agent.
    Rollback bool
    RouteName string
    A name for the route.
    Uuid string
    The UUID of the linkage
    ChildAgentUuid string
    The UUID of the child agent.
    IfCase string
    if-case condition for the route.
    ParentAgentUuid string
    The UUID of the parent agent.
    Rollback bool
    RouteName string
    A name for the route.
    Uuid string
    The UUID of the linkage
    childAgentUuid String
    The UUID of the child agent.
    ifCase String
    if-case condition for the route.
    parentAgentUuid String
    The UUID of the parent agent.
    rollback Boolean
    routeName String
    A name for the route.
    uuid String
    The UUID of the linkage
    childAgentUuid string
    The UUID of the child agent.
    ifCase string
    if-case condition for the route.
    parentAgentUuid string
    The UUID of the parent agent.
    rollback boolean
    routeName string
    A name for the route.
    uuid string
    The UUID of the linkage
    child_agent_uuid str
    The UUID of the child agent.
    if_case str
    if-case condition for the route.
    parent_agent_uuid str
    The UUID of the parent agent.
    rollback bool
    route_name str
    A name for the route.
    uuid str
    The UUID of the linkage
    childAgentUuid String
    The UUID of the child agent.
    ifCase String
    if-case condition for the route.
    parentAgentUuid String
    The UUID of the parent agent.
    rollback Boolean
    routeName 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.
    digitalocean logo
    DigitalOcean v4.51.0 published on Thursday, Aug 14, 2025 by Pulumi