1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. Application
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Functions.Application

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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={
            "is_policy_enabled": application_image_policy_config_is_policy_enabled,
            "key_details": [{
                "kms_key_id": test_key["id"],
            }],
        },
        shape=application_shape,
        syslog_url=application_syslog_url,
        trace_config={
            "domain_id": test_domain["id"],
            "is_enabled": application_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.NewApplication(ctx, "test_application", &Functions.ApplicationArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(applicationDisplayName),
    			SubnetIds:     pulumi.Any(applicationSubnetIds),
    			Config:        pulumi.Any(applicationConfig),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("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, str]] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    freeform_tags: Optional[Mapping[str, str]] = 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", "string" },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        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.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	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", "string"))
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .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": "string",
        },
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        image_policy_config={
            "is_policy_enabled": False,
            "key_details": [{
                "kms_key_id": "string",
            }],
        },
        network_security_group_ids=["string"],
        shape="string",
        syslog_url="string",
        trace_config={
            "domain_id": "string",
            "is_enabled": False,
        })
    
    const ociApplicationResource = new oci.functions.Application("ociApplicationResource", {
        compartmentId: "string",
        displayName: "string",
        subnetIds: ["string"],
        config: {
            string: "string",
        },
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        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: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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, string>

    (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, 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"}
    FreeformTags 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"}
    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]string

    (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]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"}
    FreeformTags 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"}
    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,String>

    (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,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"}
    freeformTags 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"}
    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]: string}

    (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]: 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"}
    freeformTags {[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"}
    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, str]

    (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, 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"}
    freeform_tags 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_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<String>

    (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>
    (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>
    (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, str]] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = 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, string>

    (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, 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"}
    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, 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"}
    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]string

    (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]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"}
    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]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"}
    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,String>

    (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,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"}
    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,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"}
    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]: string}

    (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]: 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"}
    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]: 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"}
    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, str]

    (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, 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 application. The display name must be unique within the compartment containing the application. Avoid entering confidential information.
    freeform_tags 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_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<String>

    (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>
    (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>
    (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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi