oci.Functions.Function
Explore with Pulumi AI
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("test_function", {
applicationId: testApplication.id,
displayName: functionDisplayName,
memoryInMbs: functionMemoryInMbs,
config: functionConfig,
definedTags: {
"Operations.CostCenter": "42",
},
freeformTags: {
Department: "Finance",
},
image: functionImage,
imageDigest: functionImageDigest,
provisionedConcurrencyConfig: {
strategy: functionProvisionedConcurrencyConfigStrategy,
count: functionProvisionedConcurrencyConfigCount,
},
sourceDetails: {
pbfListingId: testPbfListing.id,
sourceType: functionSourceDetailsSourceType,
},
timeoutInSeconds: functionTimeoutInSeconds,
traceConfig: {
isEnabled: functionTraceConfigIsEnabled,
},
});
import pulumi
import pulumi_oci as oci
test_function = oci.functions.Function("test_function",
application_id=test_application["id"],
display_name=function_display_name,
memory_in_mbs=function_memory_in_mbs,
config=function_config,
defined_tags={
"Operations.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
image=function_image,
image_digest=function_image_digest,
provisioned_concurrency_config={
"strategy": function_provisioned_concurrency_config_strategy,
"count": function_provisioned_concurrency_config_count,
},
source_details={
"pbf_listing_id": test_pbf_listing["id"],
"source_type": function_source_details_source_type,
},
timeout_in_seconds=function_timeout_in_seconds,
trace_config={
"is_enabled": function_trace_config_is_enabled,
})
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.NewFunction(ctx, "test_function", &Functions.FunctionArgs{
ApplicationId: pulumi.Any(testApplication.Id),
DisplayName: pulumi.Any(functionDisplayName),
MemoryInMbs: pulumi.Any(functionMemoryInMbs),
Config: pulumi.Any(functionConfig),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
Image: pulumi.Any(functionImage),
ImageDigest: pulumi.Any(functionImageDigest),
ProvisionedConcurrencyConfig: &functions.FunctionProvisionedConcurrencyConfigArgs{
Strategy: pulumi.Any(functionProvisionedConcurrencyConfigStrategy),
Count: pulumi.Any(functionProvisionedConcurrencyConfigCount),
},
SourceDetails: &functions.FunctionSourceDetailsArgs{
PbfListingId: pulumi.Any(testPbfListing.Id),
SourceType: pulumi.Any(functionSourceDetailsSourceType),
},
TimeoutInSeconds: pulumi.Any(functionTimeoutInSeconds),
TraceConfig: &functions.FunctionTraceConfigArgs{
IsEnabled: pulumi.Any(functionTraceConfigIsEnabled),
},
})
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("test_function", new()
{
ApplicationId = testApplication.Id,
DisplayName = functionDisplayName,
MemoryInMbs = functionMemoryInMbs,
Config = functionConfig,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
FreeformTags =
{
{ "Department", "Finance" },
},
Image = functionImage,
ImageDigest = functionImageDigest,
ProvisionedConcurrencyConfig = new Oci.Functions.Inputs.FunctionProvisionedConcurrencyConfigArgs
{
Strategy = functionProvisionedConcurrencyConfigStrategy,
Count = functionProvisionedConcurrencyConfigCount,
},
SourceDetails = new Oci.Functions.Inputs.FunctionSourceDetailsArgs
{
PbfListingId = testPbfListing.Id,
SourceType = functionSourceDetailsSourceType,
},
TimeoutInSeconds = functionTimeoutInSeconds,
TraceConfig = new Oci.Functions.Inputs.FunctionTraceConfigArgs
{
IsEnabled = functionTraceConfigIsEnabled,
},
});
});
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(testApplication.id())
.displayName(functionDisplayName)
.memoryInMbs(functionMemoryInMbs)
.config(functionConfig)
.definedTags(Map.of("Operations.CostCenter", "42"))
.freeformTags(Map.of("Department", "Finance"))
.image(functionImage)
.imageDigest(functionImageDigest)
.provisionedConcurrencyConfig(FunctionProvisionedConcurrencyConfigArgs.builder()
.strategy(functionProvisionedConcurrencyConfigStrategy)
.count(functionProvisionedConcurrencyConfigCount)
.build())
.sourceDetails(FunctionSourceDetailsArgs.builder()
.pbfListingId(testPbfListing.id())
.sourceType(functionSourceDetailsSourceType)
.build())
.timeoutInSeconds(functionTimeoutInSeconds)
.traceConfig(FunctionTraceConfigArgs.builder()
.isEnabled(functionTraceConfigIsEnabled)
.build())
.build());
}
}
resources:
testFunction:
type: oci:Functions:Function
name: test_function
properties:
applicationId: ${testApplication.id}
displayName: ${functionDisplayName}
memoryInMbs: ${functionMemoryInMbs}
config: ${functionConfig}
definedTags:
Operations.CostCenter: '42'
freeformTags:
Department: Finance
image: ${functionImage}
imageDigest: ${functionImageDigest}
provisionedConcurrencyConfig:
strategy: ${functionProvisionedConcurrencyConfigStrategy}
count: ${functionProvisionedConcurrencyConfigCount}
sourceDetails:
pbfListingId: ${testPbfListing.id}
sourceType: ${functionSourceDetailsSourceType}
timeoutInSeconds: ${functionTimeoutInSeconds}
traceConfig:
isEnabled: ${functionTraceConfigIsEnabled}
Create Function Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Function(name: string, args: FunctionArgs, opts?: CustomResourceOptions);
@overload
def Function(resource_name: str,
args: FunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Function(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
display_name: Optional[str] = None,
memory_in_mbs: Optional[str] = None,
config: Optional[Mapping[str, str]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
image: Optional[str] = None,
image_digest: 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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var functionResource = new Oci.Functions.Function("functionResource", new()
{
ApplicationId = "string",
DisplayName = "string",
MemoryInMbs = "string",
Config =
{
{ "string", "string" },
},
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
Image = "string",
ImageDigest = "string",
ProvisionedConcurrencyConfig = new Oci.Functions.Inputs.FunctionProvisionedConcurrencyConfigArgs
{
Strategy = "string",
Count = 0,
},
SourceDetails = new Oci.Functions.Inputs.FunctionSourceDetailsArgs
{
PbfListingId = "string",
SourceType = "string",
},
TimeoutInSeconds = 0,
TraceConfig = new Oci.Functions.Inputs.FunctionTraceConfigArgs
{
IsEnabled = false,
},
});
example, err := Functions.NewFunction(ctx, "functionResource", &Functions.FunctionArgs{
ApplicationId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
MemoryInMbs: pulumi.String("string"),
Config: pulumi.StringMap{
"string": pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Image: pulumi.String("string"),
ImageDigest: pulumi.String("string"),
ProvisionedConcurrencyConfig: &functions.FunctionProvisionedConcurrencyConfigArgs{
Strategy: pulumi.String("string"),
Count: pulumi.Int(0),
},
SourceDetails: &functions.FunctionSourceDetailsArgs{
PbfListingId: pulumi.String("string"),
SourceType: pulumi.String("string"),
},
TimeoutInSeconds: pulumi.Int(0),
TraceConfig: &functions.FunctionTraceConfigArgs{
IsEnabled: pulumi.Bool(false),
},
})
var functionResource = new Function("functionResource", FunctionArgs.builder()
.applicationId("string")
.displayName("string")
.memoryInMbs("string")
.config(Map.of("string", "string"))
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.image("string")
.imageDigest("string")
.provisionedConcurrencyConfig(FunctionProvisionedConcurrencyConfigArgs.builder()
.strategy("string")
.count(0)
.build())
.sourceDetails(FunctionSourceDetailsArgs.builder()
.pbfListingId("string")
.sourceType("string")
.build())
.timeoutInSeconds(0)
.traceConfig(FunctionTraceConfigArgs.builder()
.isEnabled(false)
.build())
.build());
function_resource = oci.functions.Function("functionResource",
application_id="string",
display_name="string",
memory_in_mbs="string",
config={
"string": "string",
},
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
image="string",
image_digest="string",
provisioned_concurrency_config={
"strategy": "string",
"count": 0,
},
source_details={
"pbf_listing_id": "string",
"source_type": "string",
},
timeout_in_seconds=0,
trace_config={
"is_enabled": False,
})
const functionResource = new oci.functions.Function("functionResource", {
applicationId: "string",
displayName: "string",
memoryInMbs: "string",
config: {
string: "string",
},
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
image: "string",
imageDigest: "string",
provisionedConcurrencyConfig: {
strategy: "string",
count: 0,
},
sourceDetails: {
pbfListingId: "string",
sourceType: "string",
},
timeoutInSeconds: 0,
traceConfig: {
isEnabled: false,
},
});
type: oci:Functions:Function
properties:
applicationId: string
config:
string: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
image: string
imageDigest: string
memoryInMbs: string
provisionedConcurrencyConfig:
count: 0
strategy: string
sourceDetails:
pbfListingId: string
sourceType: string
timeoutInSeconds: 0
traceConfig:
isEnabled: false
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Function resource accepts the following input properties:
- Application
Id string - The OCID of the application this function belongs to.
- Display
Name string - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- Memory
In stringMbs - (Updatable) Maximum usable memory for the function (MiB).
- Config Dictionary<string, string>
(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.
- Dictionary<string, string>
- (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"}
- Dictionary<string, string>
- (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
- Image
Digest 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
- Provisioned
Concurrency FunctionConfig Provisioned Concurrency Config - (Updatable) Define the strategy for provisioned concurrency for the function.
- Source
Details FunctionSource Details - The source details for the Function. The function can be created from various sources.
- Timeout
In intSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- Trace
Config FunctionTrace Config - (Updatable) Define the tracing configuration for a function.
- Application
Id string - The OCID of the application this function belongs to.
- Display
Name string - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- Memory
In stringMbs - (Updatable) Maximum usable memory for the function (MiB).
- Config map[string]string
(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.
- map[string]string
- (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"}
- map[string]string
- (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
- Image
Digest 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
- Provisioned
Concurrency FunctionConfig Provisioned Concurrency Config Args - (Updatable) Define the strategy for provisioned concurrency for the function.
- Source
Details FunctionSource Details Args - The source details for the Function. The function can be created from various sources.
- Timeout
In intSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- Trace
Config FunctionTrace Config Args - (Updatable) Define the tracing configuration for a function.
- application
Id String - The OCID of the application this function belongs to.
- display
Name String - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- memory
In StringMbs - (Updatable) Maximum usable memory for the function (MiB).
- config Map<String,String>
(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.
- Map<String,String>
- (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"}
- Map<String,String>
- (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
- image
Digest 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
- provisioned
Concurrency FunctionConfig Provisioned Concurrency Config - (Updatable) Define the strategy for provisioned concurrency for the function.
- source
Details FunctionSource Details - The source details for the Function. The function can be created from various sources.
- timeout
In IntegerSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace
Config FunctionTrace Config - (Updatable) Define the tracing configuration for a function.
- application
Id string - The OCID of the application this function belongs to.
- display
Name string - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- memory
In stringMbs - (Updatable) Maximum usable memory for the function (MiB).
- config {[key: string]: string}
(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.
- {[key: string]: string}
- (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"}
- {[key: string]: string}
- (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
- image
Digest 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
- provisioned
Concurrency FunctionConfig Provisioned Concurrency Config - (Updatable) Define the strategy for provisioned concurrency for the function.
- source
Details FunctionSource Details - The source details for the Function. The function can be created from various sources.
- timeout
In numberSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace
Config FunctionTrace Config - (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_ strmbs - (Updatable) Maximum usable memory for the function (MiB).
- config Mapping[str, str]
(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.
- Mapping[str, str]
- (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"}
- Mapping[str, str]
- (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_ functions.config Function Provisioned Concurrency Config Args - (Updatable) Define the strategy for provisioned concurrency for the function.
- source_
details functions.Function Source Details Args - The source details for the Function. The function can be created from various sources.
- timeout_
in_ intseconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace_
config functions.Function Trace Config Args - (Updatable) Define the tracing configuration for a function.
- application
Id String - The OCID of the application this function belongs to.
- display
Name String - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- memory
In StringMbs - (Updatable) Maximum usable memory for the function (MiB).
- config Map<String>
(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.
- Map<String>
- (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"}
- Map<String>
- (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
- image
Digest 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
- provisioned
Concurrency Property MapConfig - (Updatable) Define the strategy for provisioned concurrency for the function.
- source
Details Property Map - The source details for the Function. The function can be created from various sources.
- timeout
In NumberSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace
Config 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:
- Compartment
Id string - The OCID of the compartment that contains the function.
- Id string
- The provider-assigned unique ID for this managed resource.
- Invoke
Endpoint 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.
- Time
Created string - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- Time
Updated string - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- Compartment
Id string - The OCID of the compartment that contains the function.
- Id string
- The provider-assigned unique ID for this managed resource.
- Invoke
Endpoint 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.
- Time
Created string - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- Time
Updated string - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- compartment
Id String - The OCID of the compartment that contains the function.
- id String
- The provider-assigned unique ID for this managed resource.
- invoke
Endpoint 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.
- time
Created String - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- time
Updated String - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- compartment
Id string - The OCID of the compartment that contains the function.
- id string
- The provider-assigned unique ID for this managed resource.
- invoke
Endpoint 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.
- time
Created string - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- time
Updated 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
- compartment
Id String - The OCID of the compartment that contains the function.
- id String
- The provider-assigned unique ID for this managed resource.
- invoke
Endpoint 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.
- time
Created String - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- time
Updated 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, str]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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.
- Application
Id string - The OCID of the application this function belongs to.
- Compartment
Id string - The OCID of the compartment that contains the function.
- Config Dictionary<string, string>
(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.
- Dictionary<string, string>
- (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 string - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- Dictionary<string, string>
- (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
- Image
Digest 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
- Invoke
Endpoint 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.
- Memory
In stringMbs - (Updatable) Maximum usable memory for the function (MiB).
- Provisioned
Concurrency FunctionConfig Provisioned Concurrency Config - (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. - Source
Details FunctionSource Details - The source details for the Function. The function can be created from various sources.
- State string
- The current state of the function.
- Time
Created string - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- Time
Updated string - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- Timeout
In intSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- Trace
Config FunctionTrace Config - (Updatable) Define the tracing configuration for a function.
- Application
Id string - The OCID of the application this function belongs to.
- Compartment
Id string - The OCID of the compartment that contains the function.
- Config map[string]string
(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.
- map[string]string
- (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 string - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- map[string]string
- (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
- Image
Digest 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
- Invoke
Endpoint 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.
- Memory
In stringMbs - (Updatable) Maximum usable memory for the function (MiB).
- Provisioned
Concurrency FunctionConfig Provisioned Concurrency Config Args - (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. - Source
Details FunctionSource Details Args - The source details for the Function. The function can be created from various sources.
- State string
- The current state of the function.
- Time
Created string - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- Time
Updated string - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- Timeout
In intSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- Trace
Config FunctionTrace Config Args - (Updatable) Define the tracing configuration for a function.
- application
Id String - The OCID of the application this function belongs to.
- compartment
Id String - The OCID of the compartment that contains the function.
- config Map<String,String>
(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.
- Map<String,String>
- (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 String - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- Map<String,String>
- (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
- image
Digest 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
- invoke
Endpoint 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.
- memory
In StringMbs - (Updatable) Maximum usable memory for the function (MiB).
- provisioned
Concurrency FunctionConfig Provisioned Concurrency Config - (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. - source
Details FunctionSource Details - The source details for the Function. The function can be created from various sources.
- state String
- The current state of the function.
- time
Created String - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- time
Updated String - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- timeout
In IntegerSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace
Config FunctionTrace Config - (Updatable) Define the tracing configuration for a function.
- application
Id string - The OCID of the application this function belongs to.
- compartment
Id string - The OCID of the compartment that contains the function.
- config {[key: string]: string}
(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.
- {[key: string]: string}
- (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 string - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- {[key: string]: string}
- (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
- image
Digest 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
- invoke
Endpoint 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.
- memory
In stringMbs - (Updatable) Maximum usable memory for the function (MiB).
- provisioned
Concurrency FunctionConfig Provisioned Concurrency Config - (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. - source
Details FunctionSource Details - The source details for the Function. The function can be created from various sources.
- state string
- The current state of the function.
- time
Created string - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- time
Updated string - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- timeout
In numberSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace
Config FunctionTrace Config - (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, str]
(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.
- Mapping[str, str]
- (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.
- Mapping[str, str]
- (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_ strmbs - (Updatable) Maximum usable memory for the function (MiB).
- provisioned_
concurrency_ functions.config Function Provisioned Concurrency Config Args - (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 functions.Function Source Details Args - 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_ intseconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace_
config functions.Function Trace Config Args - (Updatable) Define the tracing configuration for a function.
- application
Id String - The OCID of the application this function belongs to.
- compartment
Id String - The OCID of the compartment that contains the function.
- config Map<String>
(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.
- Map<String>
- (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 String - The display name of the function. The display name must be unique within the application containing the function. Avoid entering confidential information.
- Map<String>
- (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
- image
Digest 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
- invoke
Endpoint 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.
- memory
In StringMbs - (Updatable) Maximum usable memory for the function (MiB).
- provisioned
Concurrency Property MapConfig - (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. - source
Details Property Map - The source details for the Function. The function can be created from various sources.
- state String
- The current state of the function.
- time
Created String - The time the function was created, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- time
Updated String - The time the function was updated, expressed in RFC 3339 timestamp format. Example:
2018-09-12T22:47:12.613Z
- timeout
In NumberSeconds - (Updatable) Timeout for executions of the function. Value in seconds.
- trace
Config Property Map - (Updatable) Define the tracing configuration for a function.
Supporting Types
FunctionProvisionedConcurrencyConfig, FunctionProvisionedConcurrencyConfigArgs
FunctionSourceDetails, FunctionSourceDetailsArgs
- Pbf
Listing stringId - The OCID of the PbfListing this function is sourced from.
- Source
Type string - Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
- Pbf
Listing stringId - The OCID of the PbfListing this function is sourced from.
- Source
Type string - Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
- pbf
Listing StringId - The OCID of the PbfListing this function is sourced from.
- source
Type String - Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
- pbf
Listing stringId - The OCID of the PbfListing this function is sourced from.
- source
Type string - Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
- pbf_
listing_ strid - The OCID of the PbfListing this function is sourced from.
- source_
type str - Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
- pbf
Listing StringId - The OCID of the PbfListing this function is sourced from.
- source
Type String - Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS.
FunctionTraceConfig, FunctionTraceConfigArgs
- 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
- 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
- is
Enabled 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 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
- is
Enabled 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"
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
oci
Terraform Provider.