DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
Deprecated: digitalocean.GenaiFunction has been deprecated in favor of digitalocean.GradientaiFunction
Create GenaiFunction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GenaiFunction(name: string, args: GenaiFunctionArgs, opts?: CustomResourceOptions);@overload
def GenaiFunction(resource_name: str,
args: GenaiFunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GenaiFunction(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
description: Optional[str] = None,
faas_name: Optional[str] = None,
faas_namespace: Optional[str] = None,
function_name: Optional[str] = None,
input_schema: Optional[str] = None,
output_schema: Optional[str] = None)func NewGenaiFunction(ctx *Context, name string, args GenaiFunctionArgs, opts ...ResourceOption) (*GenaiFunction, error)public GenaiFunction(string name, GenaiFunctionArgs args, CustomResourceOptions? opts = null)
public GenaiFunction(String name, GenaiFunctionArgs args)
public GenaiFunction(String name, GenaiFunctionArgs args, CustomResourceOptions options)
type: digitalocean:GenaiFunction
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 GenaiFunctionArgs
- 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 GenaiFunctionArgs
- 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 GenaiFunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GenaiFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GenaiFunctionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GenaiFunction 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 GenaiFunction resource accepts the following input properties:
- Agent
Id string - The name of the GradientAI resource.
- Description string
- The region where the GradientAI resource will be created.
- Faas
Namespace string - The current status of the GradientAI resource.
- Function
Name string - The creation timestamp of the GradientAI resource.
- Input
Schema string - The input schema of the GradientAI resource.
- Faas
Name string - The model to use for the GradientAI resource.
- Output
Schema string - The output schema of the GradientAI resource.
- Agent
Id string - The name of the GradientAI resource.
- Description string
- The region where the GradientAI resource will be created.
- Faas
Namespace string - The current status of the GradientAI resource.
- Function
Name string - The creation timestamp of the GradientAI resource.
- Input
Schema string - The input schema of the GradientAI resource.
- Faas
Name string - The model to use for the GradientAI resource.
- Output
Schema string - The output schema of the GradientAI resource.
- agent
Id String - The name of the GradientAI resource.
- description String
- The region where the GradientAI resource will be created.
- faas
Namespace String - The current status of the GradientAI resource.
- function
Name String - The creation timestamp of the GradientAI resource.
- input
Schema String - The input schema of the GradientAI resource.
- faas
Name String - The model to use for the GradientAI resource.
- output
Schema String - The output schema of the GradientAI resource.
- agent
Id string - The name of the GradientAI resource.
- description string
- The region where the GradientAI resource will be created.
- faas
Namespace string - The current status of the GradientAI resource.
- function
Name string - The creation timestamp of the GradientAI resource.
- input
Schema string - The input schema of the GradientAI resource.
- faas
Name string - The model to use for the GradientAI resource.
- output
Schema string - The output schema of the GradientAI resource.
- agent_
id str - The name of the GradientAI resource.
- description str
- The region where the GradientAI resource will be created.
- faas_
namespace str - The current status of the GradientAI resource.
- function_
name str - The creation timestamp of the GradientAI resource.
- input_
schema str - The input schema of the GradientAI resource.
- faas_
name str - The model to use for the GradientAI resource.
- output_
schema str - The output schema of the GradientAI resource.
- agent
Id String - The name of the GradientAI resource.
- description String
- The region where the GradientAI resource will be created.
- faas
Namespace String - The current status of the GradientAI resource.
- function
Name String - The creation timestamp of the GradientAI resource.
- input
Schema String - The input schema of the GradientAI resource.
- faas
Name String - The model to use for the GradientAI resource.
- output
Schema String - The output schema of the GradientAI resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the GenaiFunction resource produces the following output properties:
- Function
Uuid string - The unique identifier of the GradientAI function.
- Id string
- The provider-assigned unique ID for this managed resource.
- Function
Uuid string - The unique identifier of the GradientAI function.
- Id string
- The provider-assigned unique ID for this managed resource.
- function
Uuid String - The unique identifier of the GradientAI function.
- id String
- The provider-assigned unique ID for this managed resource.
- function
Uuid string - The unique identifier of the GradientAI function.
- id string
- The provider-assigned unique ID for this managed resource.
- function_
uuid str - The unique identifier of the GradientAI function.
- id str
- The provider-assigned unique ID for this managed resource.
- function
Uuid String - The unique identifier of the GradientAI function.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing GenaiFunction Resource
Get an existing GenaiFunction 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?: GenaiFunctionState, opts?: CustomResourceOptions): GenaiFunction@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
description: Optional[str] = None,
faas_name: Optional[str] = None,
faas_namespace: Optional[str] = None,
function_name: Optional[str] = None,
function_uuid: Optional[str] = None,
input_schema: Optional[str] = None,
output_schema: Optional[str] = None) -> GenaiFunctionfunc GetGenaiFunction(ctx *Context, name string, id IDInput, state *GenaiFunctionState, opts ...ResourceOption) (*GenaiFunction, error)public static GenaiFunction Get(string name, Input<string> id, GenaiFunctionState? state, CustomResourceOptions? opts = null)public static GenaiFunction get(String name, Output<String> id, GenaiFunctionState state, CustomResourceOptions options)resources: _: type: digitalocean:GenaiFunction 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.
- Agent
Id string - The name of the GradientAI resource.
- Description string
- The region where the GradientAI resource will be created.
- Faas
Name string - The model to use for the GradientAI resource.
- Faas
Namespace string - The current status of the GradientAI resource.
- Function
Name string - The creation timestamp of the GradientAI resource.
- Function
Uuid string - The unique identifier of the GradientAI function.
- Input
Schema string - The input schema of the GradientAI resource.
- Output
Schema string - The output schema of the GradientAI resource.
- Agent
Id string - The name of the GradientAI resource.
- Description string
- The region where the GradientAI resource will be created.
- Faas
Name string - The model to use for the GradientAI resource.
- Faas
Namespace string - The current status of the GradientAI resource.
- Function
Name string - The creation timestamp of the GradientAI resource.
- Function
Uuid string - The unique identifier of the GradientAI function.
- Input
Schema string - The input schema of the GradientAI resource.
- Output
Schema string - The output schema of the GradientAI resource.
- agent
Id String - The name of the GradientAI resource.
- description String
- The region where the GradientAI resource will be created.
- faas
Name String - The model to use for the GradientAI resource.
- faas
Namespace String - The current status of the GradientAI resource.
- function
Name String - The creation timestamp of the GradientAI resource.
- function
Uuid String - The unique identifier of the GradientAI function.
- input
Schema String - The input schema of the GradientAI resource.
- output
Schema String - The output schema of the GradientAI resource.
- agent
Id string - The name of the GradientAI resource.
- description string
- The region where the GradientAI resource will be created.
- faas
Name string - The model to use for the GradientAI resource.
- faas
Namespace string - The current status of the GradientAI resource.
- function
Name string - The creation timestamp of the GradientAI resource.
- function
Uuid string - The unique identifier of the GradientAI function.
- input
Schema string - The input schema of the GradientAI resource.
- output
Schema string - The output schema of the GradientAI resource.
- agent_
id str - The name of the GradientAI resource.
- description str
- The region where the GradientAI resource will be created.
- faas_
name str - The model to use for the GradientAI resource.
- faas_
namespace str - The current status of the GradientAI resource.
- function_
name str - The creation timestamp of the GradientAI resource.
- function_
uuid str - The unique identifier of the GradientAI function.
- input_
schema str - The input schema of the GradientAI resource.
- output_
schema str - The output schema of the GradientAI resource.
- agent
Id String - The name of the GradientAI resource.
- description String
- The region where the GradientAI resource will be created.
- faas
Name String - The model to use for the GradientAI resource.
- faas
Namespace String - The current status of the GradientAI resource.
- function
Name String - The creation timestamp of the GradientAI resource.
- function
Uuid String - The unique identifier of the GradientAI function.
- input
Schema String - The input schema of the GradientAI resource.
- output
Schema String - The output schema of the GradientAI resource.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
DigitalOcean v4.57.0 published on Thursday, Feb 12, 2026 by Pulumi
