1. Packages
  2. DigitalOcean Provider
  3. API Docs
  4. GradientaiAgentRoute
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
digitalocean logo
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi

    Create GradientaiAgentRoute Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GradientaiAgentRoute(name: string, args: GradientaiAgentRouteArgs, opts?: CustomResourceOptions);
    @overload
    def GradientaiAgentRoute(resource_name: str,
                             args: GradientaiAgentRouteArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def GradientaiAgentRoute(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 NewGradientaiAgentRoute(ctx *Context, name string, args GradientaiAgentRouteArgs, opts ...ResourceOption) (*GradientaiAgentRoute, error)
    public GradientaiAgentRoute(string name, GradientaiAgentRouteArgs args, CustomResourceOptions? opts = null)
    public GradientaiAgentRoute(String name, GradientaiAgentRouteArgs args)
    public GradientaiAgentRoute(String name, GradientaiAgentRouteArgs args, CustomResourceOptions options)
    
    type: digitalocean:GradientaiAgentRoute
    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 GradientaiAgentRouteArgs
    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 GradientaiAgentRouteArgs
    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 GradientaiAgentRouteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GradientaiAgentRouteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GradientaiAgentRouteArgs
    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 gradientaiAgentRouteResource = new DigitalOcean.GradientaiAgentRoute("gradientaiAgentRouteResource", new()
    {
        ChildAgentUuid = "string",
        ParentAgentUuid = "string",
        IfCase = "string",
        Rollback = false,
        RouteName = "string",
    });
    
    example, err := digitalocean.NewGradientaiAgentRoute(ctx, "gradientaiAgentRouteResource", &digitalocean.GradientaiAgentRouteArgs{
    	ChildAgentUuid:  pulumi.String("string"),
    	ParentAgentUuid: pulumi.String("string"),
    	IfCase:          pulumi.String("string"),
    	Rollback:        pulumi.Bool(false),
    	RouteName:       pulumi.String("string"),
    })
    
    var gradientaiAgentRouteResource = new GradientaiAgentRoute("gradientaiAgentRouteResource", GradientaiAgentRouteArgs.builder()
        .childAgentUuid("string")
        .parentAgentUuid("string")
        .ifCase("string")
        .rollback(false)
        .routeName("string")
        .build());
    
    gradientai_agent_route_resource = digitalocean.GradientaiAgentRoute("gradientaiAgentRouteResource",
        child_agent_uuid="string",
        parent_agent_uuid="string",
        if_case="string",
        rollback=False,
        route_name="string")
    
    const gradientaiAgentRouteResource = new digitalocean.GradientaiAgentRoute("gradientaiAgentRouteResource", {
        childAgentUuid: "string",
        parentAgentUuid: "string",
        ifCase: "string",
        rollback: false,
        routeName: "string",
    });
    
    type: digitalocean:GradientaiAgentRoute
    properties:
        childAgentUuid: string
        ifCase: string
        parentAgentUuid: string
        rollback: false
        routeName: string
    

    GradientaiAgentRoute 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 GradientaiAgentRoute 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 GradientaiAgentRoute 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 GradientaiAgentRoute Resource

    Get an existing GradientaiAgentRoute 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?: GradientaiAgentRouteState, opts?: CustomResourceOptions): GradientaiAgentRoute
    @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) -> GradientaiAgentRoute
    func GetGradientaiAgentRoute(ctx *Context, name string, id IDInput, state *GradientaiAgentRouteState, opts ...ResourceOption) (*GradientaiAgentRoute, error)
    public static GradientaiAgentRoute Get(string name, Input<string> id, GradientaiAgentRouteState? state, CustomResourceOptions? opts = null)
    public static GradientaiAgentRoute get(String name, Output<String> id, GradientaiAgentRouteState state, CustomResourceOptions options)
    resources:  _:    type: digitalocean:GradientaiAgentRoute    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.57.0 published on Thursday, Feb 12, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate