1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. Application
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Functions.Application

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testApplication = new oci.functions.Application("test_application", {
        compartmentId: compartmentId,
        displayName: applicationDisplayName,
        subnetIds: applicationSubnetIds,
        config: applicationConfig,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
        networkSecurityGroupIds: applicationNetworkSecurityGroupIds,
        imagePolicyConfig: {
            isPolicyEnabled: applicationImagePolicyConfigIsPolicyEnabled,
            keyDetails: [{
                kmsKeyId: testKey.id,
            }],
        },
        shape: applicationShape,
        syslogUrl: applicationSyslogUrl,
        traceConfig: {
            domainId: testDomain.id,
            isEnabled: applicationTraceConfigIsEnabled,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_application = oci.functions.Application("test_application",
        compartment_id=compartment_id,
        display_name=application_display_name,
        subnet_ids=application_subnet_ids,
        config=application_config,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        },
        network_security_group_ids=application_network_security_group_ids,
        image_policy_config=oci.functions.ApplicationImagePolicyConfigArgs(
            is_policy_enabled=application_image_policy_config_is_policy_enabled,
            key_details=[oci.functions.ApplicationImagePolicyConfigKeyDetailArgs(
                kms_key_id=test_key["id"],
            )],
        ),
        shape=application_shape,
        syslog_url=application_syslog_url,
        trace_config=oci.functions.ApplicationTraceConfigArgs(
            domain_id=test_domain["id"],
            is_enabled=application_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.NewApplication(ctx, "test_application", &Functions.ApplicationArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(applicationDisplayName),
    			SubnetIds:     pulumi.Any(applicationSubnetIds),
    			Config:        pulumi.Any(applicationConfig),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			NetworkSecurityGroupIds: pulumi.Any(applicationNetworkSecurityGroupIds),
    			ImagePolicyConfig: &functions.ApplicationImagePolicyConfigArgs{
    				IsPolicyEnabled: pulumi.Any(applicationImagePolicyConfigIsPolicyEnabled),
    				KeyDetails: functions.ApplicationImagePolicyConfigKeyDetailArray{
    					&functions.ApplicationImagePolicyConfigKeyDetailArgs{
    						KmsKeyId: pulumi.Any(testKey.Id),
    					},
    				},
    			},
    			Shape:     pulumi.Any(applicationShape),
    			SyslogUrl: pulumi.Any(applicationSyslogUrl),
    			TraceConfig: &functions.ApplicationTraceConfigArgs{
    				DomainId:  pulumi.Any(testDomain.Id),
    				IsEnabled: pulumi.Any(applicationTraceConfigIsEnabled),
    			},
    		})
    		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 testApplication = new Oci.Functions.Application("test_application", new()
        {
            CompartmentId = compartmentId,
            DisplayName = applicationDisplayName,
            SubnetIds = applicationSubnetIds,
            Config = applicationConfig,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            NetworkSecurityGroupIds = applicationNetworkSecurityGroupIds,
            ImagePolicyConfig = new Oci.Functions.Inputs.ApplicationImagePolicyConfigArgs
            {
                IsPolicyEnabled = applicationImagePolicyConfigIsPolicyEnabled,
                KeyDetails = new[]
                {
                    new Oci.Functions.Inputs.ApplicationImagePolicyConfigKeyDetailArgs
                    {
                        KmsKeyId = testKey.Id,
                    },
                },
            },
            Shape = applicationShape,
            SyslogUrl = applicationSyslogUrl,
            TraceConfig = new Oci.Functions.Inputs.ApplicationTraceConfigArgs
            {
                DomainId = testDomain.Id,
                IsEnabled = applicationTraceConfigIsEnabled,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Functions.Application;
    import com.pulumi.oci.Functions.ApplicationArgs;
    import com.pulumi.oci.Functions.inputs.ApplicationImagePolicyConfigArgs;
    import com.pulumi.oci.Functions.inputs.ApplicationTraceConfigArgs;
    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 testApplication = new Application("testApplication", ApplicationArgs.builder()
                .compartmentId(compartmentId)
                .displayName(applicationDisplayName)
                .subnetIds(applicationSubnetIds)
                .config(applicationConfig)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .networkSecurityGroupIds(applicationNetworkSecurityGroupIds)
                .imagePolicyConfig(ApplicationImagePolicyConfigArgs.builder()
                    .isPolicyEnabled(applicationImagePolicyConfigIsPolicyEnabled)
                    .keyDetails(ApplicationImagePolicyConfigKeyDetailArgs.builder()
                        .kmsKeyId(testKey.id())
                        .build())
                    .build())
                .shape(applicationShape)
                .syslogUrl(applicationSyslogUrl)
                .traceConfig(ApplicationTraceConfigArgs.builder()
                    .domainId(testDomain.id())
                    .isEnabled(applicationTraceConfigIsEnabled)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testApplication:
        type: oci:Functions:Application
        name: test_application
        properties:
          compartmentId: ${compartmentId}
          displayName: ${applicationDisplayName}
          subnetIds: ${applicationSubnetIds}
          config: ${applicationConfig}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
          networkSecurityGroupIds: ${applicationNetworkSecurityGroupIds}
          imagePolicyConfig:
            isPolicyEnabled: ${applicationImagePolicyConfigIsPolicyEnabled}
            keyDetails:
              - kmsKeyId: ${testKey.id}
          shape: ${applicationShape}
          syslogUrl: ${applicationSyslogUrl}
          traceConfig:
            domainId: ${testDomain.id}
            isEnabled: ${applicationTraceConfigIsEnabled}
    

    Create Application Resource

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

    Constructor syntax

    new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def Application(resource_name: str,
                    args: ApplicationArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Application(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    display_name: Optional[str] = None,
                    subnet_ids: Optional[Sequence[str]] = None,
                    config: Optional[Mapping[str, Any]] = None,
                    defined_tags: Optional[Mapping[str, Any]] = None,
                    freeform_tags: Optional[Mapping[str, Any]] = None,
                    image_policy_config: Optional[_functions.ApplicationImagePolicyConfigArgs] = None,
                    network_security_group_ids: Optional[Sequence[str]] = None,
                    shape: Optional[str] = None,
                    syslog_url: Optional[str] = None,
                    trace_config: Optional[_functions.ApplicationTraceConfigArgs] = None)
    func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)
    public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
    public Application(String name, ApplicationArgs args)
    public Application(String name, ApplicationArgs args, CustomResourceOptions options)
    
    type: oci:Functions:Application
    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 ApplicationArgs
    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 ApplicationArgs
    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 ApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationArgs
    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 ociApplicationResource = new Oci.Functions.Application("ociApplicationResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        SubnetIds = new[]
        {
            "string",
        },
        Config = 
        {
            { "string", "any" },
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
        ImagePolicyConfig = new Oci.Functions.Inputs.ApplicationImagePolicyConfigArgs
        {
            IsPolicyEnabled = false,
            KeyDetails = new[]
            {
                new Oci.Functions.Inputs.ApplicationImagePolicyConfigKeyDetailArgs
                {
                    KmsKeyId = "string",
                },
            },
        },
        NetworkSecurityGroupIds = new[]
        {
            "string",
        },
        Shape = "string",
        SyslogUrl = "string",
        TraceConfig = new Oci.Functions.Inputs.ApplicationTraceConfigArgs
        {
            DomainId = "string",
            IsEnabled = false,
        },
    });
    
    example, err := Functions.NewApplication(ctx, "ociApplicationResource", &Functions.ApplicationArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Config: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	ImagePolicyConfig: &functions.ApplicationImagePolicyConfigArgs{
    		IsPolicyEnabled: pulumi.Bool(false),
    		KeyDetails: functions.ApplicationImagePolicyConfigKeyDetailArray{
    			&functions.ApplicationImagePolicyConfigKeyDetailArgs{
    				KmsKeyId: pulumi.String("string"),
    			},
    		},
    	},
    	NetworkSecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Shape:     pulumi.String("string"),
    	SyslogUrl: pulumi.String("string"),
    	TraceConfig: &functions.ApplicationTraceConfigArgs{
    		DomainId:  pulumi.String("string"),
    		IsEnabled: pulumi.Bool(false),
    	},
    })
    
    var ociApplicationResource = new Application("ociApplicationResource", ApplicationArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .subnetIds("string")
        .config(Map.of("string", "any"))
        .definedTags(Map.of("string", "any"))
        .freeformTags(Map.of("string", "any"))
        .imagePolicyConfig(ApplicationImagePolicyConfigArgs.builder()
            .isPolicyEnabled(false)
            .keyDetails(ApplicationImagePolicyConfigKeyDetailArgs.builder()
                .kmsKeyId("string")
                .build())
            .build())
        .networkSecurityGroupIds("string")
        .shape("string")
        .syslogUrl("string")
        .traceConfig(ApplicationTraceConfigArgs.builder()
            .domainId("string")
            .isEnabled(false)
            .build())
        .build());
    
    oci_application_resource = oci.functions.Application("ociApplicationResource",
        compartment_id="string",
        display_name="string",
        subnet_ids=["string"],
        config={
            "string": "any",
        },
        defined_tags={
            "string": "any",
        },
        freeform_tags={
            "string": "any",
        },
        image_policy_config=oci.functions.ApplicationImagePolicyConfigArgs(
            is_policy_enabled=False,
            key_details=[oci.functions.ApplicationImagePolicyConfigKeyDetailArgs(
                kms_key_id="string",
            )],
        ),
        network_security_group_ids=["string"],
        shape="string",
        syslog_url="string",
        trace_config=oci.functions.ApplicationTraceConfigArgs(
            domain_id="string",
            is_enabled=False,
        ))
    
    const ociApplicationResource = new oci.functions.Application("ociApplicationResource", {
        compartmentId: "string",
        displayName: "string",
        subnetIds: ["string"],
        config: {
            string: "any",
        },
        definedTags: {
            string: "any",
        },
        freeformTags: {
            string: "any",
        },
        imagePolicyConfig: {
            isPolicyEnabled: false,
            keyDetails: [{
                kmsKeyId: "string",
            }],
        },
        networkSecurityGroupIds: ["string"],
        shape: "string",
        syslogUrl: "string",
        traceConfig: {
            domainId: "string",
            isEnabled: false,
        },
    });
    
    type: oci:Functions:Application
    properties:
        compartmentId: string
        config:
            string: any
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        imagePolicyConfig:
            isPolicyEnabled: false
            keyDetails:
                - kmsKeyId: string
        networkSecurityGroupIds:
            - string
        shape: string
        subnetIds:
            - string
        syslogUrl: string
        traceConfig:
            domainId: string
            isEnabled: false
    

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

    CompartmentId string
    (Updatable) The OCID of the compartment to create the application within.
    DisplayName string
    The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
    SubnetIds List<string>
    The OCIDs of the subnets in which to run functions in the application.
    Config Dictionary<string, object>

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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"}
    ImagePolicyConfig ApplicationImagePolicyConfig
    (Updatable) Define the image signature verification policy for an application.
    NetworkSecurityGroupIds List<string>
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    Shape string
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    SyslogUrl string
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    TraceConfig ApplicationTraceConfig
    (Updatable) Define the tracing configuration for an application.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the application within.
    DisplayName string
    The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
    SubnetIds []string
    The OCIDs of the subnets in which to run functions in the application.
    Config map[string]interface{}

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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"}
    ImagePolicyConfig ApplicationImagePolicyConfigArgs
    (Updatable) Define the image signature verification policy for an application.
    NetworkSecurityGroupIds []string
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    Shape string
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    SyslogUrl string
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    TraceConfig ApplicationTraceConfigArgs
    (Updatable) Define the tracing configuration for an application.
    compartmentId String
    (Updatable) The OCID of the compartment to create the application within.
    displayName String
    The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
    subnetIds List<String>
    The OCIDs of the subnets in which to run functions in the application.
    config Map<String,Object>

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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"}
    imagePolicyConfig ApplicationImagePolicyConfig
    (Updatable) Define the image signature verification policy for an application.
    networkSecurityGroupIds List<String>
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape String
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    syslogUrl String
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    traceConfig ApplicationTraceConfig
    (Updatable) Define the tracing configuration for an application.
    compartmentId string
    (Updatable) The OCID of the compartment to create the application within.
    displayName string
    The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
    subnetIds string[]
    The OCIDs of the subnets in which to run functions in the application.
    config {[key: string]: any}

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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"}
    imagePolicyConfig ApplicationImagePolicyConfig
    (Updatable) Define the image signature verification policy for an application.
    networkSecurityGroupIds string[]
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape string
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    syslogUrl string
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    traceConfig ApplicationTraceConfig
    (Updatable) Define the tracing configuration for an application.
    compartment_id str
    (Updatable) The OCID of the compartment to create the application within.
    display_name str
    The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
    subnet_ids Sequence[str]
    The OCIDs of the subnets in which to run functions in the application.
    config Mapping[str, Any]

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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_policy_config functions.ApplicationImagePolicyConfigArgs
    (Updatable) Define the image signature verification policy for an application.
    network_security_group_ids Sequence[str]
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape str
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    syslog_url str
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    trace_config functions.ApplicationTraceConfigArgs
    (Updatable) Define the tracing configuration for an application.
    compartmentId String
    (Updatable) The OCID of the compartment to create the application within.
    displayName String
    The display name of the application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
    subnetIds List<String>
    The OCIDs of the subnets in which to run functions in the application.
    config Map<Any>

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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"}
    imagePolicyConfig Property Map
    (Updatable) Define the image signature verification policy for an application.
    networkSecurityGroupIds List<String>
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape String
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    syslogUrl String
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    traceConfig Property Map
    (Updatable) Define the tracing configuration for an application.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the application.
    TimeCreated string
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the application.
    TimeCreated string
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the application.
    timeCreated String
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the application.
    timeCreated string
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated string
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the application.
    time_created str
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    time_updated str
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the application.
    timeCreated String
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z

    Look up Existing Application Resource

    Get an existing Application 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?: ApplicationState, opts?: CustomResourceOptions): Application
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = 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_policy_config: Optional[_functions.ApplicationImagePolicyConfigArgs] = None,
            network_security_group_ids: Optional[Sequence[str]] = None,
            shape: Optional[str] = None,
            state: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            syslog_url: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            trace_config: Optional[_functions.ApplicationTraceConfigArgs] = None) -> Application
    func GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)
    public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)
    public static Application get(String name, Output<String> id, ApplicationState 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:
    CompartmentId string
    (Updatable) The OCID of the compartment to create the application within.
    Config Dictionary<string, object>

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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 application. The display name must be unique within the compartment containing the application. 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"}
    ImagePolicyConfig ApplicationImagePolicyConfig
    (Updatable) Define the image signature verification policy for an application.
    NetworkSecurityGroupIds List<string>
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    Shape string
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    State string
    The current state of the application.
    SubnetIds List<string>
    The OCIDs of the subnets in which to run functions in the application.
    SyslogUrl string
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    TimeCreated string
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TraceConfig ApplicationTraceConfig
    (Updatable) Define the tracing configuration for an application.
    CompartmentId string
    (Updatable) The OCID of the compartment to create the application within.
    Config map[string]interface{}

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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 application. The display name must be unique within the compartment containing the application. 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"}
    ImagePolicyConfig ApplicationImagePolicyConfigArgs
    (Updatable) Define the image signature verification policy for an application.
    NetworkSecurityGroupIds []string
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    Shape string
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    State string
    The current state of the application.
    SubnetIds []string
    The OCIDs of the subnets in which to run functions in the application.
    SyslogUrl string
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    TimeCreated string
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TimeUpdated string
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    TraceConfig ApplicationTraceConfigArgs
    (Updatable) Define the tracing configuration for an application.
    compartmentId String
    (Updatable) The OCID of the compartment to create the application within.
    config Map<String,Object>

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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 application. The display name must be unique within the compartment containing the application. 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"}
    imagePolicyConfig ApplicationImagePolicyConfig
    (Updatable) Define the image signature verification policy for an application.
    networkSecurityGroupIds List<String>
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape String
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    state String
    The current state of the application.
    subnetIds List<String>
    The OCIDs of the subnets in which to run functions in the application.
    syslogUrl String
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    timeCreated String
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    traceConfig ApplicationTraceConfig
    (Updatable) Define the tracing configuration for an application.
    compartmentId string
    (Updatable) The OCID of the compartment to create the application within.
    config {[key: string]: any}

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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 application. The display name must be unique within the compartment containing the application. 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"}
    imagePolicyConfig ApplicationImagePolicyConfig
    (Updatable) Define the image signature verification policy for an application.
    networkSecurityGroupIds string[]
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape string
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    state string
    The current state of the application.
    subnetIds string[]
    The OCIDs of the subnets in which to run functions in the application.
    syslogUrl string
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    timeCreated string
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated string
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    traceConfig ApplicationTraceConfig
    (Updatable) Define the tracing configuration for an application.
    compartment_id str
    (Updatable) The OCID of the compartment to create the application within.
    config Mapping[str, Any]

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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 application. The display name must be unique within the compartment containing the application. 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_policy_config functions.ApplicationImagePolicyConfigArgs
    (Updatable) Define the image signature verification policy for an application.
    network_security_group_ids Sequence[str]
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape str
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    state str
    The current state of the application.
    subnet_ids Sequence[str]
    The OCIDs of the subnets in which to run functions in the application.
    syslog_url str
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    time_created str
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    time_updated str
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    trace_config functions.ApplicationTraceConfigArgs
    (Updatable) Define the tracing configuration for an application.
    compartmentId String
    (Updatable) The OCID of the compartment to create the application within.
    config Map<Any>

    (Updatable) Application configuration. These values are passed on to the function as environment variables, functions may override application configuration. 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 application. The display name must be unique within the compartment containing the application. 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"}
    imagePolicyConfig Property Map
    (Updatable) Define the image signature verification policy for an application.
    networkSecurityGroupIds List<String>
    (Updatable) The OCIDs of the Network Security Groups to add the application to.
    shape String
    Valid values are GENERIC_X86, GENERIC_ARM and GENERIC_X86_ARM. Default is GENERIC_X86. Setting this to GENERIC_X86, will run the functions in the application on X86 processor architecture. Setting this to GENERIC_ARM, will run the functions in the application on ARM processor architecture. When set to GENERIC_X86_ARM, functions in the application are run on either X86 or ARM processor architecture. Accepted values are: GENERIC_X86, GENERIC_ARM, GENERIC_X86_ARM
    state String
    The current state of the application.
    subnetIds List<String>
    The OCIDs of the subnets in which to run functions in the application.
    syslogUrl String
    (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: tcp://logserver.myserver:1234
    timeCreated String
    The time the application was created, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    timeUpdated String
    The time the application was updated, expressed in RFC 3339 timestamp format. Example: 2018-09-12T22:47:12.613Z
    traceConfig Property Map
    (Updatable) Define the tracing configuration for an application.

    Supporting Types

    ApplicationImagePolicyConfig, ApplicationImagePolicyConfigArgs

    IsPolicyEnabled bool
    (Updatable) Define if image signature verification policy is enabled for the application.
    KeyDetails List<ApplicationImagePolicyConfigKeyDetail>
    (Updatable) A list of KMS key details.
    IsPolicyEnabled bool
    (Updatable) Define if image signature verification policy is enabled for the application.
    KeyDetails []ApplicationImagePolicyConfigKeyDetail
    (Updatable) A list of KMS key details.
    isPolicyEnabled Boolean
    (Updatable) Define if image signature verification policy is enabled for the application.
    keyDetails List<ApplicationImagePolicyConfigKeyDetail>
    (Updatable) A list of KMS key details.
    isPolicyEnabled boolean
    (Updatable) Define if image signature verification policy is enabled for the application.
    keyDetails ApplicationImagePolicyConfigKeyDetail[]
    (Updatable) A list of KMS key details.
    is_policy_enabled bool
    (Updatable) Define if image signature verification policy is enabled for the application.
    key_details Sequence[functions.ApplicationImagePolicyConfigKeyDetail]
    (Updatable) A list of KMS key details.
    isPolicyEnabled Boolean
    (Updatable) Define if image signature verification policy is enabled for the application.
    keyDetails List<Property Map>
    (Updatable) A list of KMS key details.

    ApplicationImagePolicyConfigKeyDetail, ApplicationImagePolicyConfigKeyDetailArgs

    KmsKeyId string
    (Updatable) The OCIDs of the KMS key that will be used to verify the image signature.
    KmsKeyId string
    (Updatable) The OCIDs of the KMS key that will be used to verify the image signature.
    kmsKeyId String
    (Updatable) The OCIDs of the KMS key that will be used to verify the image signature.
    kmsKeyId string
    (Updatable) The OCIDs of the KMS key that will be used to verify the image signature.
    kms_key_id str
    (Updatable) The OCIDs of the KMS key that will be used to verify the image signature.
    kmsKeyId String
    (Updatable) The OCIDs of the KMS key that will be used to verify the image signature.

    ApplicationTraceConfig, ApplicationTraceConfigArgs

    DomainId string
    (Updatable) The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
    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

    DomainId string
    (Updatable) The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
    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

    domainId String
    (Updatable) The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
    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

    domainId string
    (Updatable) The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
    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

    domain_id str
    (Updatable) The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
    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

    domainId String
    (Updatable) The OCID of the collector (e.g. an APM Domain) trace events will be sent to.
    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

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

    $ pulumi import oci:Functions/application:Application test_application "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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi