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:
- 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 GradientaiAgentRoute resource produces the following output properties:
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) -> GradientaiAgentRoutefunc 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.
- 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.
