published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Create AgentPlatformFunction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AgentPlatformFunction(name: string, args: AgentPlatformFunctionArgs, opts?: CustomResourceOptions);@overload
def AgentPlatformFunction(resource_name: str,
args: AgentPlatformFunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AgentPlatformFunction(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
description: Optional[str] = None,
faas_namespace: Optional[str] = None,
function_name: Optional[str] = None,
input_schema: Optional[str] = None,
faas_name: Optional[str] = None,
output_schema: Optional[str] = None)func NewAgentPlatformFunction(ctx *Context, name string, args AgentPlatformFunctionArgs, opts ...ResourceOption) (*AgentPlatformFunction, error)public AgentPlatformFunction(string name, AgentPlatformFunctionArgs args, CustomResourceOptions? opts = null)
public AgentPlatformFunction(String name, AgentPlatformFunctionArgs args)
public AgentPlatformFunction(String name, AgentPlatformFunctionArgs args, CustomResourceOptions options)
type: digitalocean:AgentPlatformFunction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "digitalocean_agent_platform_function" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentPlatformFunctionArgs
- 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 AgentPlatformFunctionArgs
- 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 AgentPlatformFunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentPlatformFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentPlatformFunctionArgs
- 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 agentPlatformFunctionResource = new DigitalOcean.AgentPlatformFunction("agentPlatformFunctionResource", new()
{
AgentId = "string",
Description = "string",
FaasNamespace = "string",
FunctionName = "string",
InputSchema = "string",
FaasName = "string",
OutputSchema = "string",
});
example, err := digitalocean.NewAgentPlatformFunction(ctx, "agentPlatformFunctionResource", &digitalocean.AgentPlatformFunctionArgs{
AgentId: pulumi.String("string"),
Description: pulumi.String("string"),
FaasNamespace: pulumi.String("string"),
FunctionName: pulumi.String("string"),
InputSchema: pulumi.String("string"),
FaasName: pulumi.String("string"),
OutputSchema: pulumi.String("string"),
})
resource "digitalocean_agent_platform_function" "agentPlatformFunctionResource" {
lifecycle {
create_before_destroy = true
}
agent_id = "string"
description = "string"
faas_namespace = "string"
function_name = "string"
input_schema = "string"
faas_name = "string"
output_schema = "string"
}
var agentPlatformFunctionResource = new AgentPlatformFunction("agentPlatformFunctionResource", AgentPlatformFunctionArgs.builder()
.agentId("string")
.description("string")
.faasNamespace("string")
.functionName("string")
.inputSchema("string")
.faasName("string")
.outputSchema("string")
.build());
agent_platform_function_resource = digitalocean.AgentPlatformFunction("agentPlatformFunctionResource",
agent_id="string",
description="string",
faas_namespace="string",
function_name="string",
input_schema="string",
faas_name="string",
output_schema="string")
const agentPlatformFunctionResource = new digitalocean.AgentPlatformFunction("agentPlatformFunctionResource", {
agentId: "string",
description: "string",
faasNamespace: "string",
functionName: "string",
inputSchema: "string",
faasName: "string",
outputSchema: "string",
});
type: digitalocean:AgentPlatformFunction
properties:
agentId: string
description: string
faasName: string
faasNamespace: string
functionName: string
inputSchema: string
outputSchema: string
AgentPlatformFunction 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 AgentPlatformFunction resource accepts the following input properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AgentPlatformFunction resource produces the following output properties:
- Function
Uuid 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.
- function_
uuid 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.
- function
Uuid 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.
- function
Uuid String - The unique identifier of the Agent Platform function.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AgentPlatformFunction Resource
Get an existing AgentPlatformFunction 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?: AgentPlatformFunctionState, opts?: CustomResourceOptions): AgentPlatformFunction@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) -> AgentPlatformFunctionfunc GetAgentPlatformFunction(ctx *Context, name string, id IDInput, state *AgentPlatformFunctionState, opts ...ResourceOption) (*AgentPlatformFunction, error)public static AgentPlatformFunction Get(string name, Input<string> id, AgentPlatformFunctionState? state, CustomResourceOptions? opts = null)public static AgentPlatformFunction get(String name, Output<String> id, AgentPlatformFunctionState state, CustomResourceOptions options)resources: _: type: digitalocean:AgentPlatformFunction get: id: ${id}import {
to = digitalocean_agent_platform_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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitaloceanTerraform Provider.
published on Tuesday, Oct 13, 2026 by Pulumi