oci.Functions.InvokeFunction
Explore with Pulumi AI
This resource provides the Invoke Function resource in Oracle Cloud Infrastructure Functions service.
Invokes a function
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInvokeFunction = new oci.functions.InvokeFunction("test_invoke_function", {
    functionId: testFunction.id,
    invokeFunctionBody: invokeFunctionInvokeFunctionBody,
    fnIntent: invokeFunctionFnIntent,
    fnInvokeType: invokeFunctionFnInvokeType,
    isDryRun: invokeFunctionIsDryRun,
    base64EncodeContent: false,
});
import pulumi
import pulumi_oci as oci
test_invoke_function = oci.functions.InvokeFunction("test_invoke_function",
    function_id=test_function["id"],
    invoke_function_body=invoke_function_invoke_function_body,
    fn_intent=invoke_function_fn_intent,
    fn_invoke_type=invoke_function_fn_invoke_type,
    is_dry_run=invoke_function_is_dry_run,
    base64_encode_content=False)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/functions"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := functions.NewInvokeFunction(ctx, "test_invoke_function", &functions.InvokeFunctionArgs{
			FunctionId:          pulumi.Any(testFunction.Id),
			InvokeFunctionBody:  pulumi.Any(invokeFunctionInvokeFunctionBody),
			FnIntent:            pulumi.Any(invokeFunctionFnIntent),
			FnInvokeType:        pulumi.Any(invokeFunctionFnInvokeType),
			IsDryRun:            pulumi.Any(invokeFunctionIsDryRun),
			Base64EncodeContent: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testInvokeFunction = new Oci.Functions.InvokeFunction("test_invoke_function", new()
    {
        FunctionId = testFunction.Id,
        InvokeFunctionBody = invokeFunctionInvokeFunctionBody,
        FnIntent = invokeFunctionFnIntent,
        FnInvokeType = invokeFunctionFnInvokeType,
        IsDryRun = invokeFunctionIsDryRun,
        Base64EncodeContent = false,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Functions.InvokeFunction;
import com.pulumi.oci.Functions.InvokeFunctionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var testInvokeFunction = new InvokeFunction("testInvokeFunction", InvokeFunctionArgs.builder()
            .functionId(testFunction.id())
            .invokeFunctionBody(invokeFunctionInvokeFunctionBody)
            .fnIntent(invokeFunctionFnIntent)
            .fnInvokeType(invokeFunctionFnInvokeType)
            .isDryRun(invokeFunctionIsDryRun)
            .base64EncodeContent(false)
            .build());
    }
}
resources:
  testInvokeFunction:
    type: oci:Functions:InvokeFunction
    name: test_invoke_function
    properties:
      functionId: ${testFunction.id}
      invokeFunctionBody: ${invokeFunctionInvokeFunctionBody}
      fnIntent: ${invokeFunctionFnIntent}
      fnInvokeType: ${invokeFunctionFnInvokeType}
      isDryRun: ${invokeFunctionIsDryRun}
      base64EncodeContent: false
Create InvokeFunction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InvokeFunction(name: string, args: InvokeFunctionArgs, opts?: CustomResourceOptions);@overload
def InvokeFunction(resource_name: str,
                   args: InvokeFunctionArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def InvokeFunction(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   function_id: Optional[str] = None,
                   base64_encode_content: Optional[bool] = None,
                   fn_intent: Optional[str] = None,
                   fn_invoke_type: Optional[str] = None,
                   input_body_source_path: Optional[str] = None,
                   invoke_function_body: Optional[str] = None,
                   invoke_function_body_base64_encoded: Optional[str] = None,
                   is_dry_run: Optional[bool] = None)func NewInvokeFunction(ctx *Context, name string, args InvokeFunctionArgs, opts ...ResourceOption) (*InvokeFunction, error)public InvokeFunction(string name, InvokeFunctionArgs args, CustomResourceOptions? opts = null)
public InvokeFunction(String name, InvokeFunctionArgs args)
public InvokeFunction(String name, InvokeFunctionArgs args, CustomResourceOptions options)
type: oci:Functions:InvokeFunction
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 InvokeFunctionArgs
- 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 InvokeFunctionArgs
- 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 InvokeFunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InvokeFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InvokeFunctionArgs
- 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 invokeFunctionResource = new Oci.Functions.InvokeFunction("invokeFunctionResource", new()
{
    FunctionId = "string",
    Base64EncodeContent = false,
    FnIntent = "string",
    FnInvokeType = "string",
    InputBodySourcePath = "string",
    InvokeFunctionBody = "string",
    InvokeFunctionBodyBase64Encoded = "string",
    IsDryRun = false,
});
example, err := functions.NewInvokeFunction(ctx, "invokeFunctionResource", &functions.InvokeFunctionArgs{
	FunctionId:                      pulumi.String("string"),
	Base64EncodeContent:             pulumi.Bool(false),
	FnIntent:                        pulumi.String("string"),
	FnInvokeType:                    pulumi.String("string"),
	InputBodySourcePath:             pulumi.String("string"),
	InvokeFunctionBody:              pulumi.String("string"),
	InvokeFunctionBodyBase64Encoded: pulumi.String("string"),
	IsDryRun:                        pulumi.Bool(false),
})
var invokeFunctionResource = new InvokeFunction("invokeFunctionResource", InvokeFunctionArgs.builder()
    .functionId("string")
    .base64EncodeContent(false)
    .fnIntent("string")
    .fnInvokeType("string")
    .inputBodySourcePath("string")
    .invokeFunctionBody("string")
    .invokeFunctionBodyBase64Encoded("string")
    .isDryRun(false)
    .build());
invoke_function_resource = oci.functions.InvokeFunction("invokeFunctionResource",
    function_id="string",
    base64_encode_content=False,
    fn_intent="string",
    fn_invoke_type="string",
    input_body_source_path="string",
    invoke_function_body="string",
    invoke_function_body_base64_encoded="string",
    is_dry_run=False)
const invokeFunctionResource = new oci.functions.InvokeFunction("invokeFunctionResource", {
    functionId: "string",
    base64EncodeContent: false,
    fnIntent: "string",
    fnInvokeType: "string",
    inputBodySourcePath: "string",
    invokeFunctionBody: "string",
    invokeFunctionBodyBase64Encoded: "string",
    isDryRun: false,
});
type: oci:Functions:InvokeFunction
properties:
    base64EncodeContent: false
    fnIntent: string
    fnInvokeType: string
    functionId: string
    inputBodySourcePath: string
    invokeFunctionBody: string
    invokeFunctionBodyBase64Encoded: string
    isDryRun: false
InvokeFunction 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 InvokeFunction resource accepts the following input properties:
- FunctionId string
- The OCID of this function.
- Base64EncodeContent bool
- FnIntent string
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- FnInvoke stringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- InputBody stringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- InvokeFunction stringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- InvokeFunction stringBody Base64Encoded 
- IsDry boolRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- FunctionId string
- The OCID of this function.
- Base64EncodeContent bool
- FnIntent string
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- FnInvoke stringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- InputBody stringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- InvokeFunction stringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- InvokeFunction stringBody Base64Encoded 
- IsDry boolRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- functionId String
- The OCID of this function.
- base64EncodeContent Boolean
- fnIntent String
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fnInvoke StringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- inputBody StringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invokeFunction StringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invokeFunction StringBody Base64Encoded 
- isDry BooleanRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- functionId string
- The OCID of this function.
- base64EncodeContent boolean
- fnIntent string
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fnInvoke stringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- inputBody stringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invokeFunction stringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invokeFunction stringBody Base64Encoded 
- isDry booleanRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- function_id str
- The OCID of this function.
- base64_encode_ boolcontent 
- fn_intent str
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fn_invoke_ strtype 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- input_body_ strsource_ path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invoke_function_ strbody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invoke_function_ strbody_ base64_ encoded 
- is_dry_ boolrun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- functionId String
- The OCID of this function.
- base64EncodeContent Boolean
- fnIntent String
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fnInvoke StringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- inputBody StringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invokeFunction StringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invokeFunction StringBody Base64Encoded 
- isDry BooleanRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
Outputs
All input properties are implicitly available as output properties. Additionally, the InvokeFunction resource produces the following output properties:
- Content string
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- Id string
- The provider-assigned unique ID for this managed resource.
- InvokeEndpoint string
- Content string
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- Id string
- The provider-assigned unique ID for this managed resource.
- InvokeEndpoint string
- content String
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- id String
- The provider-assigned unique ID for this managed resource.
- invokeEndpoint String
- content string
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- id string
- The provider-assigned unique ID for this managed resource.
- invokeEndpoint string
- content str
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- id str
- The provider-assigned unique ID for this managed resource.
- invoke_endpoint str
- content String
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- id String
- The provider-assigned unique ID for this managed resource.
- invokeEndpoint String
Look up Existing InvokeFunction Resource
Get an existing InvokeFunction 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?: InvokeFunctionState, opts?: CustomResourceOptions): InvokeFunction@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        base64_encode_content: Optional[bool] = None,
        content: Optional[str] = None,
        fn_intent: Optional[str] = None,
        fn_invoke_type: Optional[str] = None,
        function_id: Optional[str] = None,
        input_body_source_path: Optional[str] = None,
        invoke_endpoint: Optional[str] = None,
        invoke_function_body: Optional[str] = None,
        invoke_function_body_base64_encoded: Optional[str] = None,
        is_dry_run: Optional[bool] = None) -> InvokeFunctionfunc GetInvokeFunction(ctx *Context, name string, id IDInput, state *InvokeFunctionState, opts ...ResourceOption) (*InvokeFunction, error)public static InvokeFunction Get(string name, Input<string> id, InvokeFunctionState? state, CustomResourceOptions? opts = null)public static InvokeFunction get(String name, Output<String> id, InvokeFunctionState state, CustomResourceOptions options)resources:  _:    type: oci:Functions:InvokeFunction    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.
- Base64EncodeContent bool
- Content string
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- FnIntent string
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- FnInvoke stringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- FunctionId string
- The OCID of this function.
- InputBody stringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- InvokeEndpoint string
- InvokeFunction stringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- InvokeFunction stringBody Base64Encoded 
- IsDry boolRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- Base64EncodeContent bool
- Content string
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- FnIntent string
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- FnInvoke stringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- FunctionId string
- The OCID of this function.
- InputBody stringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- InvokeEndpoint string
- InvokeFunction stringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- InvokeFunction stringBody Base64Encoded 
- IsDry boolRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- base64EncodeContent Boolean
- content String
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- fnIntent String
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fnInvoke StringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- functionId String
- The OCID of this function.
- inputBody StringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invokeEndpoint String
- invokeFunction StringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invokeFunction StringBody Base64Encoded 
- isDry BooleanRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- base64EncodeContent boolean
- content string
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- fnIntent string
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fnInvoke stringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- functionId string
- The OCID of this function.
- inputBody stringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invokeEndpoint string
- invokeFunction stringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invokeFunction stringBody Base64Encoded 
- isDry booleanRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- base64_encode_ boolcontent 
- content str
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- fn_intent str
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fn_invoke_ strtype 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- function_id str
- The OCID of this function.
- input_body_ strsource_ path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invoke_endpoint str
- invoke_function_ strbody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invoke_function_ strbody_ base64_ encoded 
- is_dry_ boolrun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
- base64EncodeContent Boolean
- content String
- Content of the response string, if any. If base64_encode_contentis set totrue, then this content will be base64 encoded.
- fnIntent String
- An optional intent header that indicates to the FDK the way the event should be interpreted. E.g. 'httprequest', 'cloudevent'.
- fnInvoke StringType 
- Indicates whether Oracle Functions should execute the request and return the result ('sync') of the execution, or whether Oracle Functions should return as soon as processing has begun ('detached') and leave result handling to the function.
- functionId String
- The OCID of this function.
- inputBody StringSource Path 
- An absolute path to a file on the local system that contains the input to be provided to the function. Cannot be defined if - invoke_function_bodyor- invoke_function_body_base64_encodedis defined. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit.- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- invokeEndpoint String
- invokeFunction StringBody 
- The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if input_body_source_pathorinvoke_function_body_base64_encodedis defined.
- invokeFunction StringBody Base64Encoded 
- isDry BooleanRun 
- Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
Import
Import is not supported for this resource.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.