1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. Function
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.Functions.Function

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This resource provides the Function resource in Oracle Cloud Infrastructure Functions service.

    Creates a new function.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFunction = new oci.functions.Function("testFunction", {
        applicationId: oci_functions_application.test_application.id,
        displayName: _var.function_display_name,
        memoryInMbs: _var.function_memory_in_mbs,
        config: _var.function_config,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
        image: _var.function_image,
        imageDigest: _var.function_image_digest,
        provisionedConcurrencyConfig: {
            strategy: _var.function_provisioned_concurrency_config_strategy,
            count: _var.function_provisioned_concurrency_config_count,
        },
        sourceDetails: {
            pbfListingId: oci_functions_pbf_listing.test_pbf_listing.id,
            sourceType: _var.function_source_details_source_type,
        },
        timeoutInSeconds: _var.function_timeout_in_seconds,
        traceConfig: {
            isEnabled: _var.function_trace_config_is_enabled,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_function = oci.functions.Function("testFunction",
        application_id=oci_functions_application["test_application"]["id"],
        display_name=var["function_display_name"],
        memory_in_mbs=var["function_memory_in_mbs"],
        config=var["function_config"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        },
        image=var["function_image"],
        image_digest=var["function_image_digest"],
        provisioned_concurrency_config=oci.functions.FunctionProvisionedConcurrencyConfigArgs(
            strategy=var["function_provisioned_concurrency_config_strategy"],
            count=var["function_provisioned_concurrency_config_count"],
        ),
        source_details=oci.functions.FunctionSourceDetailsArgs(
            pbf_listing_id=oci_functions_pbf_listing["test_pbf_listing"]["id"],
            source_type=var["function_source_details_source_type"],
        ),
        timeout_in_seconds=var["function_timeout_in_seconds"],
        trace_config=oci.functions.FunctionTraceConfigArgs(
            is_enabled=var["function_trace_config_is_enabled"],
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Functions"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Functions.NewFunction(ctx, "testFunction", &Functions.FunctionArgs{
    			ApplicationId: pulumi.Any(oci_functions_application.Test_application.Id),
    			DisplayName:   pulumi.Any(_var.Function_display_name),
    			MemoryInMbs:   pulumi.Any(_var.Function_memory_in_mbs),
    			Config:        pulumi.Any(_var.Function_config),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			Image:       pulumi.Any(_var.Function_image),
    			ImageDigest: pulumi.Any(_var.Function_image_digest),
    			ProvisionedConcurrencyConfig: &functions.FunctionProvisionedConcurrencyConfigArgs{
    				Strategy: pulumi.Any(_var.Function_provisioned_concurrency_config_strategy),
    				Count:    pulumi.Any(_var.Function_provisioned_concurrency_config_count),
    			},
    			SourceDetails: &functions.FunctionSourceDetailsArgs{
    				PbfListingId: pulumi.Any(oci_functions_pbf_listing.Test_pbf_listing.Id),
    				SourceType:   pulumi.Any(_var.Function_source_details_source_type),
    			},
    			TimeoutInSeconds: pulumi.Any(_var.Function_timeout_in_seconds),
    			TraceConfig: &functions.FunctionTraceConfigArgs{
    				IsEnabled: pulumi.Any(_var.Function_trace_config_is_enabled),
    			},
    		})
    		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 testFunction = new Oci.Functions.Function("testFunction", new()
        {
            ApplicationId = oci_functions_application.Test_application.Id,
            DisplayName = @var.Function_display_name,
            MemoryInMbs = @var.Function_memory_in_mbs,
            Config = @var.Function_config,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            Image = @var.Function_image,
            ImageDigest = @var.Function_image_digest,
            ProvisionedConcurrencyConfig = new Oci.Functions.Inputs.FunctionProvisionedConcurrencyConfigArgs
            {
                Strategy = @var.Function_provisioned_concurrency_config_strategy,
                Count = @var.Function_provisioned_concurrency_config_count,
            },
            SourceDetails = new Oci.Functions.Inputs.FunctionSourceDetailsArgs
            {
                PbfListingId = oci_functions_pbf_listing.Test_pbf_listing.Id,
                SourceType = @var.Function_source_details_source_type,
            },
            TimeoutInSeconds = @var.Function_timeout_in_seconds,
            TraceConfig = new Oci.Functions.Inputs.FunctionTraceConfigArgs
            {
                IsEnabled = @var.Function_trace_config_is_enabled,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Functions.Function;
    import com.pulumi.oci.Functions.FunctionArgs;
    import com.pulumi.oci.Functions.inputs.FunctionProvisionedConcurrencyConfigArgs;
    import com.pulumi.oci.Functions.inputs.FunctionSourceDetailsArgs;
    import com.pulumi.oci.Functions.inputs.FunctionTraceConfigArgs;
    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 testFunction = new Function("testFunction", FunctionArgs.builder()        
                .applicationId(oci_functions_application.test_application().id())
                .displayName(var_.function_display_name())
                .memoryInMbs(var_.function_memory_in_mbs())
                .config(var_.function_config())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .image(var_.function_image())
                .imageDigest(var_.function_image_digest())
                .provisionedConcurrencyConfig(FunctionProvisionedConcurrencyConfigArgs.builder()
                    .strategy(var_.function_provisioned_concurrency_config_strategy())
                    .count(var_.function_provisioned_concurrency_config_count())
                    .build())
                .sourceDetails(FunctionSourceDetailsArgs.builder()
                    .pbfListingId(oci_functions_pbf_listing.test_pbf_listing().id())
                    .sourceType(var_.function_source_details_source_type())
                    .build())
                .timeoutInSeconds(var_.function_timeout_in_seconds())
                .traceConfig(FunctionTraceConfigArgs.builder()
                    .isEnabled(var_.function_trace_config_is_enabled())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testFunction:
        type: oci:Functions:Function
        properties:
          #Required
          applicationId: ${oci_functions_application.test_application.id}
          displayName: ${var.function_display_name}
          memoryInMbs: ${var.function_memory_in_mbs}
          #Optional
          config: ${var.function_config}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
          image: ${var.function_image}
          imageDigest: ${var.function_image_digest}
          provisionedConcurrencyConfig:
            strategy: ${var.function_provisioned_concurrency_config_strategy}
            count: ${var.function_provisioned_concurrency_config_count}
          sourceDetails:
            pbfListingId: ${oci_functions_pbf_listing.test_pbf_listing.id}
            sourceType: ${var.function_source_details_source_type}
          timeoutInSeconds: ${var.function_timeout_in_seconds}
          traceConfig:
            isEnabled: ${var.function_trace_config_is_enabled}
    

    Create Function Resource

    new Function(name: string, args: FunctionArgs, opts?: CustomResourceOptions);
    @overload
    def Function(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 application_id: Optional[str] = None,
                 config: Optional[Mapping[str, Any]] = None,
                 defined_tags: Optional[Mapping[str, Any]] = None,
                 display_name: Optional[str] = None,
                 freeform_tags: Optional[Mapping[str, Any]] = None,
                 image: Optional[str] = None,
                 image_digest: Optional[str] = None,
                 memory_in_mbs: Optional[str] = None,
                 provisioned_concurrency_config: Optional[_functions.FunctionProvisionedConcurrencyConfigArgs] = None,
                 source_details: Optional[_functions.FunctionSourceDetailsArgs] = None,
                 timeout_in_seconds: Optional[int] = None,
                 trace_config: Optional[_functions.FunctionTraceConfigArgs] = None)
    @overload
    def Function(resource_name: str,
                 args: FunctionArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewFunction(ctx *Context, name string, args FunctionArgs, opts ...ResourceOption) (*Function, error)
    public Function(string name, FunctionArgs args, CustomResourceOptions? opts = null)
    public Function(String name, FunctionArgs args)
    public Function(String name, FunctionArgs args, CustomResourceOptions options)
    
    type: oci:Functions:Function
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args FunctionArgs
    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 FunctionArgs
    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 FunctionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FunctionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Function Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Function resource accepts the following input properties:

    ApplicationId string
    The OCID of the application this function belongs to.
    DisplayName string
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    MemoryInMbs string
    (Updatable) Maximum usable memory for the function (MiB).
    Config Dictionary<string, object>

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Image string
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    ImageDigest string
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig
    (Updatable) Define the strategy for provisioned concurrency for the function.
    SourceDetails FunctionSourceDetails
    The source details for the Function. The function can be created from various sources.
    TimeoutInSeconds int
    (Updatable) Timeout for executions of the function. Value in seconds.
    TraceConfig FunctionTraceConfig
    (Updatable) Define the tracing configuration for a function.
    ApplicationId string
    The OCID of the application this function belongs to.
    DisplayName string
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    MemoryInMbs string
    (Updatable) Maximum usable memory for the function (MiB).
    Config map[string]interface{}

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Image string
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    ImageDigest string
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfigArgs
    (Updatable) Define the strategy for provisioned concurrency for the function.
    SourceDetails FunctionSourceDetailsArgs
    The source details for the Function. The function can be created from various sources.
    TimeoutInSeconds int
    (Updatable) Timeout for executions of the function. Value in seconds.
    TraceConfig FunctionTraceConfigArgs
    (Updatable) Define the tracing configuration for a function.
    applicationId String
    The OCID of the application this function belongs to.
    displayName String
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    memoryInMbs String
    (Updatable) Maximum usable memory for the function (MiB).
    config Map<String,Object>

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image String
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    imageDigest String
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    provisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig
    (Updatable) Define the strategy for provisioned concurrency for the function.
    sourceDetails FunctionSourceDetails
    The source details for the Function. The function can be created from various sources.
    timeoutInSeconds Integer
    (Updatable) Timeout for executions of the function. Value in seconds.
    traceConfig FunctionTraceConfig
    (Updatable) Define the tracing configuration for a function.
    applicationId string
    The OCID of the application this function belongs to.
    displayName string
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    memoryInMbs string
    (Updatable) Maximum usable memory for the function (MiB).
    config {[key: string]: any}

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image string
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    imageDigest string
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    provisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig
    (Updatable) Define the strategy for provisioned concurrency for the function.
    sourceDetails FunctionSourceDetails
    The source details for the Function. The function can be created from various sources.
    timeoutInSeconds number
    (Updatable) Timeout for executions of the function. Value in seconds.
    traceConfig FunctionTraceConfig
    (Updatable) Define the tracing configuration for a function.
    application_id str
    The OCID of the application this function belongs to.
    display_name str
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    memory_in_mbs str
    (Updatable) Maximum usable memory for the function (MiB).
    config Mapping[str, Any]

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image str
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    image_digest str
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    provisioned_concurrency_config FunctionProvisionedConcurrencyConfigArgs
    (Updatable) Define the strategy for provisioned concurrency for the function.
    source_details FunctionSourceDetailsArgs
    The source details for the Function. The function can be created from various sources.
    timeout_in_seconds int
    (Updatable) Timeout for executions of the function. Value in seconds.
    trace_config FunctionTraceConfigArgs
    (Updatable) Define the tracing configuration for a function.
    applicationId String
    The OCID of the application this function belongs to.
    displayName String
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    memoryInMbs String
    (Updatable) Maximum usable memory for the function (MiB).
    config Map<Any>

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image String
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    imageDigest String
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    provisionedConcurrencyConfig Property Map
    (Updatable) Define the strategy for provisioned concurrency for the function.
    sourceDetails Property Map
    The source details for the Function. The function can be created from various sources.
    timeoutInSeconds Number
    (Updatable) Timeout for executions of the function. Value in seconds.
    traceConfig Property Map
    (Updatable) Define the tracing configuration for a function.

    Outputs

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

    CompartmentId string
    The OCID of the compartment that contains the function.
    Id string
    The provider-assigned unique ID for this managed resource.
    InvokeEndpoint string
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    Shape string
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    State string
    The current state of the function.
    TimeCreated string
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    CompartmentId string
    The OCID of the compartment that contains the function.
    Id string
    The provider-assigned unique ID for this managed resource.
    InvokeEndpoint string
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    Shape string
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    State string
    The current state of the function.
    TimeCreated string
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    compartmentId String
    The OCID of the compartment that contains the function.
    id String
    The provider-assigned unique ID for this managed resource.
    invokeEndpoint String
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    shape String
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    state String
    The current state of the function.
    timeCreated String
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    compartmentId string
    The OCID of the compartment that contains the function.
    id string
    The provider-assigned unique ID for this managed resource.
    invokeEndpoint string
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    shape string
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    state string
    The current state of the function.
    timeCreated string
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated string
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    compartment_id str
    The OCID of the compartment that contains the function.
    id str
    The provider-assigned unique ID for this managed resource.
    invoke_endpoint str
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    shape str
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    state str
    The current state of the function.
    time_created str
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    time_updated str
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    compartmentId String
    The OCID of the compartment that contains the function.
    id String
    The provider-assigned unique ID for this managed resource.
    invokeEndpoint String
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    shape String
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    state String
    The current state of the function.
    timeCreated String
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z

    Look up Existing Function Resource

    Get an existing Function 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?: FunctionState, opts?: CustomResourceOptions): Function
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            config: Optional[Mapping[str, Any]] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            image: Optional[str] = None,
            image_digest: Optional[str] = None,
            invoke_endpoint: Optional[str] = None,
            memory_in_mbs: Optional[str] = None,
            provisioned_concurrency_config: Optional[_functions.FunctionProvisionedConcurrencyConfigArgs] = None,
            shape: Optional[str] = None,
            source_details: Optional[_functions.FunctionSourceDetailsArgs] = None,
            state: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            timeout_in_seconds: Optional[int] = None,
            trace_config: Optional[_functions.FunctionTraceConfigArgs] = None) -> Function
    func GetFunction(ctx *Context, name string, id IDInput, state *FunctionState, opts ...ResourceOption) (*Function, error)
    public static Function Get(string name, Input<string> id, FunctionState? state, CustomResourceOptions? opts = null)
    public static Function get(String name, Output<String> id, FunctionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    ApplicationId string
    The OCID of the application this function belongs to.
    CompartmentId string
    The OCID of the compartment that contains the function.
    Config Dictionary<string, object>

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Image string
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    ImageDigest string
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    InvokeEndpoint string
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    MemoryInMbs string
    (Updatable) Maximum usable memory for the function (MiB).
    ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig
    (Updatable) Define the strategy for provisioned concurrency for the function.
    Shape string
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    SourceDetails FunctionSourceDetails
    The source details for the Function. The function can be created from various sources.
    State string
    The current state of the function.
    TimeCreated string
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeoutInSeconds int
    (Updatable) Timeout for executions of the function. Value in seconds.
    TraceConfig FunctionTraceConfig
    (Updatable) Define the tracing configuration for a function.
    ApplicationId string
    The OCID of the application this function belongs to.
    CompartmentId string
    The OCID of the compartment that contains the function.
    Config map[string]interface{}

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Image string
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    ImageDigest string
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    InvokeEndpoint string
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    MemoryInMbs string
    (Updatable) Maximum usable memory for the function (MiB).
    ProvisionedConcurrencyConfig FunctionProvisionedConcurrencyConfigArgs
    (Updatable) Define the strategy for provisioned concurrency for the function.
    Shape string
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    SourceDetails FunctionSourceDetailsArgs
    The source details for the Function. The function can be created from various sources.
    State string
    The current state of the function.
    TimeCreated string
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeoutInSeconds int
    (Updatable) Timeout for executions of the function. Value in seconds.
    TraceConfig FunctionTraceConfigArgs
    (Updatable) Define the tracing configuration for a function.
    applicationId String
    The OCID of the application this function belongs to.
    compartmentId String
    The OCID of the compartment that contains the function.
    config Map<String,Object>

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image String
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    imageDigest String
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    invokeEndpoint String
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    memoryInMbs String
    (Updatable) Maximum usable memory for the function (MiB).
    provisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig
    (Updatable) Define the strategy for provisioned concurrency for the function.
    shape String
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    sourceDetails FunctionSourceDetails
    The source details for the Function. The function can be created from various sources.
    state String
    The current state of the function.
    timeCreated String
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeoutInSeconds Integer
    (Updatable) Timeout for executions of the function. Value in seconds.
    traceConfig FunctionTraceConfig
    (Updatable) Define the tracing configuration for a function.
    applicationId string
    The OCID of the application this function belongs to.
    compartmentId string
    The OCID of the compartment that contains the function.
    config {[key: string]: any}

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image string
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    imageDigest string
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    invokeEndpoint string
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    memoryInMbs string
    (Updatable) Maximum usable memory for the function (MiB).
    provisionedConcurrencyConfig FunctionProvisionedConcurrencyConfig
    (Updatable) Define the strategy for provisioned concurrency for the function.
    shape string
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    sourceDetails FunctionSourceDetails
    The source details for the Function. The function can be created from various sources.
    state string
    The current state of the function.
    timeCreated string
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated string
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeoutInSeconds number
    (Updatable) Timeout for executions of the function. Value in seconds.
    traceConfig FunctionTraceConfig
    (Updatable) Define the tracing configuration for a function.
    application_id str
    The OCID of the application this function belongs to.
    compartment_id str
    The OCID of the compartment that contains the function.
    config Mapping[str, Any]

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image str
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    image_digest str
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    invoke_endpoint str
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    memory_in_mbs str
    (Updatable) Maximum usable memory for the function (MiB).
    provisioned_concurrency_config FunctionProvisionedConcurrencyConfigArgs
    (Updatable) Define the strategy for provisioned concurrency for the function.
    shape str
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    source_details FunctionSourceDetailsArgs
    The source details for the Function. The function can be created from various sources.
    state str
    The current state of the function.
    time_created str
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    time_updated str
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeout_in_seconds int
    (Updatable) Timeout for executions of the function. Value in seconds.
    trace_config FunctionTraceConfigArgs
    (Updatable) Define the tracing configuration for a function.
    applicationId String
    The OCID of the application this function belongs to.
    compartmentId String
    The OCID of the compartment that contains the function.
    config Map<Any>

    (Updatable) Function configuration. These values are passed on to the function as environment variables, this overrides application configuration values. Keys must be ASCII strings consisting solely of letters, digits, and the '_' (underscore) character, and must not begin with a digit. Values should be limited to printable unicode characters. Example: {"MY_FUNCTION_CONFIG": "ConfVal"}

    The maximum size for all configuration keys and values is limited to 4KB. This is measured as the sum of octets necessary to represent each key and value in UTF-8.

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    image String
    (Updatable) The qualified name of the Docker image to use in the function, including the image tag. The image should be in the Oracle Cloud Infrastructure Registry that is in the same region as the function itself. This field must be updated if image_digest is updated. Example: phx.ocir.io/ten/functions/function:0.0.1
    imageDigest String
    (Updatable) The image digest for the version of the image that will be pulled when invoking this function. If no value is specified, the digest currently associated with the image in the Oracle Cloud Infrastructure Registry will be used. This field must be updated if image is updated. Example: sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7
    invokeEndpoint String
    The base https invoke URL to set on a client in order to invoke a function. This URL will never change over the lifetime of the function and can be cached.
    memoryInMbs String
    (Updatable) Maximum usable memory for the function (MiB).
    provisionedConcurrencyConfig Property Map
    (Updatable) Define the strategy for provisioned concurrency for the function.
    shape String
    The processor shape (GENERIC_X86/GENERIC_ARM) on which to run functions in the application, extracted from the image manifest.
    sourceDetails Property Map
    The source details for the Function. The function can be created from various sources.
    state String
    The current state of the function.
    timeCreated String
    The time the function was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the function was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeoutInSeconds Number
    (Updatable) Timeout for executions of the function. Value in seconds.
    traceConfig Property Map
    (Updatable) Define the tracing configuration for a function.

    Supporting Types

    FunctionProvisionedConcurrencyConfig, FunctionProvisionedConcurrencyConfigArgs

    Strategy string
    (Updatable) The strategy for provisioned concurrency to be used.
    Count int
    (Updatable) Configuration specifying a constant amount of provisioned concurrency.
    Strategy string
    (Updatable) The strategy for provisioned concurrency to be used.
    Count int
    (Updatable) Configuration specifying a constant amount of provisioned concurrency.
    strategy String
    (Updatable) The strategy for provisioned concurrency to be used.
    count Integer
    (Updatable) Configuration specifying a constant amount of provisioned concurrency.
    strategy string
    (Updatable) The strategy for provisioned concurrency to be used.
    count number
    (Updatable) Configuration specifying a constant amount of provisioned concurrency.
    strategy str
    (Updatable) The strategy for provisioned concurrency to be used.
    count int
    (Updatable) Configuration specifying a constant amount of provisioned concurrency.
    strategy String
    (Updatable) The strategy for provisioned concurrency to be used.
    count Number
    (Updatable) Configuration specifying a constant amount of provisioned concurrency.

    FunctionSourceDetails, FunctionSourceDetailsArgs

    PbfListingId string
    The OCID of the PbfListing this function is sourced from.
    SourceType string
    Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
    PbfListingId string
    The OCID of the PbfListing this function is sourced from.
    SourceType string
    Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
    pbfListingId String
    The OCID of the PbfListing this function is sourced from.
    sourceType String
    Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
    pbfListingId string
    The OCID of the PbfListing this function is sourced from.
    sourceType string
    Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
    pbf_listing_id str
    The OCID of the PbfListing this function is sourced from.
    source_type str
    Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
    pbfListingId String
    The OCID of the PbfListing this function is sourced from.
    sourceType String
    Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.

    FunctionTraceConfig, FunctionTraceConfigArgs

    IsEnabled bool

    (Updatable) Define if tracing is enabled for the resource.

    ** 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

    IsEnabled bool

    (Updatable) Define if tracing is enabled for the resource.

    ** 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

    isEnabled Boolean

    (Updatable) Define if tracing is enabled for the resource.

    ** 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

    isEnabled boolean

    (Updatable) Define if tracing is enabled for the resource.

    ** 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

    is_enabled bool

    (Updatable) Define if tracing is enabled for the resource.

    ** 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

    isEnabled Boolean

    (Updatable) Define if tracing is enabled for the resource.

    ** 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

    Import

    Functions can be imported using the id, e.g.

    $ pulumi import oci:Functions/function:Function test_function "id"
    

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi