1. Registry
  2. Packages
  3. DigitalOcean Provider
  4. API Docs
  5. GradientaiFunction
Viewing docs for DigitalOcean v4.84.2
published on Wednesday, Oct 28, 2026 by Pulumi
digitalocean logo
Viewing docs for DigitalOcean v4.84.2
published on Wednesday, Oct 28, 2026 by Pulumi
    Deprecated: digitalocean.GradientaiFunction has been deprecated in favor of digitalocean.AgentPlatformFunction

    Create GradientaiFunction Resource

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

    Constructor syntax

    new GradientaiFunction(name: string, args: GradientaiFunctionArgs, opts?: CustomResourceOptions);
    @overload
    def GradientaiFunction(resource_name: str,
                           args: GradientaiFunctionArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def GradientaiFunction(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 NewGradientaiFunction(ctx *Context, name string, args GradientaiFunctionArgs, opts ...ResourceOption) (*GradientaiFunction, error)
    public GradientaiFunction(string name, GradientaiFunctionArgs args, CustomResourceOptions? opts = null)
    public GradientaiFunction(String name, GradientaiFunctionArgs args)
    public GradientaiFunction(String name, GradientaiFunctionArgs args, CustomResourceOptions options)
    
    type: digitalocean:GradientaiFunction
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "digitalocean_gradientai_function" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GradientaiFunctionArgs
    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 GradientaiFunctionArgs
    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 GradientaiFunctionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GradientaiFunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GradientaiFunctionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    GradientaiFunction 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 GradientaiFunction resource accepts the following input properties:

    AgentId string
    The name of the Agent Platform resource.
    Description string
    The region where the Agent Platform resource will be created.
    FaasNamespace string
    The current status of the Agent Platform resource.
    FunctionName string
    The creation timestamp of the Agent Platform resource.
    InputSchema string
    The input schema of the Agent Platform resource.
    FaasName string
    The model to use for the Agent Platform resource.
    OutputSchema string
    The output schema of the Agent Platform resource.
    AgentId string
    The name of the Agent Platform resource.
    Description string
    The region where the Agent Platform resource will be created.
    FaasNamespace string
    The current status of the Agent Platform resource.
    FunctionName string
    The creation timestamp of the Agent Platform resource.
    InputSchema string
    The input schema of the Agent Platform resource.
    FaasName string
    The model to use for the Agent Platform resource.
    OutputSchema string
    The output schema of the Agent Platform resource.
    agent_id string
    The name of the Agent Platform resource.
    description string
    The region where the Agent Platform resource will be created.
    faas_namespace string
    The current status of the Agent Platform resource.
    function_name string
    The creation timestamp of the Agent Platform resource.
    input_schema string
    The input schema of the Agent Platform resource.
    faas_name string
    The model to use for the Agent Platform resource.
    output_schema string
    The output schema of the Agent Platform resource.
    agentId String
    The name of the Agent Platform resource.
    description String
    The region where the Agent Platform resource will be created.
    faasNamespace String
    The current status of the Agent Platform resource.
    functionName String
    The creation timestamp of the Agent Platform resource.
    inputSchema String
    The input schema of the Agent Platform resource.
    faasName String
    The model to use for the Agent Platform resource.
    outputSchema String
    The output schema of the Agent Platform resource.
    agentId string
    The name of the Agent Platform resource.
    description string
    The region where the Agent Platform resource will be created.
    faasNamespace string
    The current status of the Agent Platform resource.
    functionName string
    The creation timestamp of the Agent Platform resource.
    inputSchema string
    The input schema of the Agent Platform resource.
    faasName string
    The model to use for the Agent Platform resource.
    outputSchema string
    The output schema of the Agent Platform resource.
    agent_id str
    The name of the Agent Platform resource.
    description str
    The region where the Agent Platform resource will be created.
    faas_namespace str
    The current status of the Agent Platform resource.
    function_name str
    The creation timestamp of the Agent Platform resource.
    input_schema str
    The input schema of the Agent Platform resource.
    faas_name str
    The model to use for the Agent Platform resource.
    output_schema str
    The output schema of the Agent Platform resource.
    agentId String
    The name of the Agent Platform resource.
    description String
    The region where the Agent Platform resource will be created.
    faasNamespace String
    The current status of the Agent Platform resource.
    functionName String
    The creation timestamp of the Agent Platform resource.
    inputSchema String
    The input schema of the Agent Platform resource.
    faasName String
    The model to use for the Agent Platform resource.
    outputSchema String
    The output schema of the Agent Platform resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GradientaiFunction resource produces the following output properties:

    FunctionUuid string
    The unique identifier of the Agent Platform function.
    Id string
    The provider-assigned unique ID for this managed resource.
    FunctionUuid string
    The unique identifier of the Agent Platform function.
    Id string
    The provider-assigned unique ID for this managed resource.
    function_uuid string
    The unique identifier of the Agent Platform function.
    id string
    The provider-assigned unique ID for this managed resource.
    functionUuid String
    The unique identifier of the Agent Platform function.
    id String
    The provider-assigned unique ID for this managed resource.
    functionUuid string
    The unique identifier of the Agent Platform function.
    id string
    The provider-assigned unique ID for this managed resource.
    function_uuid str
    The unique identifier of the Agent Platform function.
    id str
    The provider-assigned unique ID for this managed resource.
    functionUuid String
    The unique identifier of the Agent Platform function.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GradientaiFunction Resource

    Get an existing GradientaiFunction 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?: GradientaiFunctionState, opts?: CustomResourceOptions): GradientaiFunction
    @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) -> GradientaiFunction
    func GetGradientaiFunction(ctx *Context, name string, id IDInput, state *GradientaiFunctionState, opts ...ResourceOption) (*GradientaiFunction, error)
    public static GradientaiFunction Get(string name, Input<string> id, GradientaiFunctionState? state, CustomResourceOptions? opts = null)
    public static GradientaiFunction get(String name, Output<String> id, GradientaiFunctionState state, CustomResourceOptions options)
    resources:  _:    type: digitalocean:GradientaiFunction    get:      id: ${id}
    import {
      to = digitalocean_gradientai_function.example
      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:
    AgentId string
    The name of the Agent Platform resource.
    Description string
    The region where the Agent Platform resource will be created.
    FaasName string
    The model to use for the Agent Platform resource.
    FaasNamespace string
    The current status of the Agent Platform resource.
    FunctionName string
    The creation timestamp of the Agent Platform resource.
    FunctionUuid string
    The unique identifier of the Agent Platform function.
    InputSchema string
    The input schema of the Agent Platform resource.
    OutputSchema string
    The output schema of the Agent Platform resource.
    AgentId string
    The name of the Agent Platform resource.
    Description string
    The region where the Agent Platform resource will be created.
    FaasName string
    The model to use for the Agent Platform resource.
    FaasNamespace string
    The current status of the Agent Platform resource.
    FunctionName string
    The creation timestamp of the Agent Platform resource.
    FunctionUuid string
    The unique identifier of the Agent Platform function.
    InputSchema string
    The input schema of the Agent Platform resource.
    OutputSchema string
    The output schema of the Agent Platform resource.
    agent_id string
    The name of the Agent Platform resource.
    description string
    The region where the Agent Platform resource will be created.
    faas_name string
    The model to use for the Agent Platform resource.
    faas_namespace string
    The current status of the Agent Platform resource.
    function_name string
    The creation timestamp of the Agent Platform resource.
    function_uuid string
    The unique identifier of the Agent Platform function.
    input_schema string
    The input schema of the Agent Platform resource.
    output_schema string
    The output schema of the Agent Platform resource.
    agentId String
    The name of the Agent Platform resource.
    description String
    The region where the Agent Platform resource will be created.
    faasName String
    The model to use for the Agent Platform resource.
    faasNamespace String
    The current status of the Agent Platform resource.
    functionName String
    The creation timestamp of the Agent Platform resource.
    functionUuid String
    The unique identifier of the Agent Platform function.
    inputSchema String
    The input schema of the Agent Platform resource.
    outputSchema String
    The output schema of the Agent Platform resource.
    agentId string
    The name of the Agent Platform resource.
    description string
    The region where the Agent Platform resource will be created.
    faasName string
    The model to use for the Agent Platform resource.
    faasNamespace string
    The current status of the Agent Platform resource.
    functionName string
    The creation timestamp of the Agent Platform resource.
    functionUuid string
    The unique identifier of the Agent Platform function.
    inputSchema string
    The input schema of the Agent Platform resource.
    outputSchema string
    The output schema of the Agent Platform resource.
    agent_id str
    The name of the Agent Platform resource.
    description str
    The region where the Agent Platform resource will be created.
    faas_name str
    The model to use for the Agent Platform resource.
    faas_namespace str
    The current status of the Agent Platform resource.
    function_name str
    The creation timestamp of the Agent Platform resource.
    function_uuid str
    The unique identifier of the Agent Platform function.
    input_schema str
    The input schema of the Agent Platform resource.
    output_schema str
    The output schema of the Agent Platform resource.
    agentId String
    The name of the Agent Platform resource.
    description String
    The region where the Agent Platform resource will be created.
    faasName String
    The model to use for the Agent Platform resource.
    faasNamespace String
    The current status of the Agent Platform resource.
    functionName String
    The creation timestamp of the Agent Platform resource.
    functionUuid String
    The unique identifier of the Agent Platform function.
    inputSchema String
    The input schema of the Agent Platform resource.
    outputSchema String
    The output schema of the Agent Platform resource.

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    Viewing docs for DigitalOcean v4.84.2
    published on Wednesday, Oct 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial