Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

Application

Import

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

 $ pulumi import oci:Functions/application:Application test_application "id"

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testApplication = new Oci.Functions.Application("testApplication", new Oci.Functions.ApplicationArgs
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Application_display_name,
            SubnetIds = @var.Application_subnet_ids,
            Config = @var.Application_config,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            NetworkSecurityGroupIds = @var.Application_network_security_group_ids,
            ImagePolicyConfig = new Oci.Functions.Inputs.ApplicationImagePolicyConfigArgs
            {
                IsPolicyEnabled = @var.Application_image_policy_config_is_policy_enabled,
                KeyDetails = 
                {
                    new Oci.Functions.Inputs.ApplicationImagePolicyConfigKeyDetailArgs
                    {
                        KmsKeyId = oci_kms_key.Test_key.Id,
                    },
                },
            },
            SyslogUrl = @var.Application_syslog_url,
            TraceConfig = new Oci.Functions.Inputs.ApplicationTraceConfigArgs
            {
                DomainId = oci_functions_domain.Test_domain.Id,
                IsEnabled = @var.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, "testApplication", &Functions.ApplicationArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DisplayName:   pulumi.Any(_var.Application_display_name),
			SubnetIds:     pulumi.Any(_var.Application_subnet_ids),
			Config:        pulumi.Any(_var.Application_config),
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
			NetworkSecurityGroupIds: pulumi.Any(_var.Application_network_security_group_ids),
			ImagePolicyConfig: &functions.ApplicationImagePolicyConfigArgs{
				IsPolicyEnabled: pulumi.Any(_var.Application_image_policy_config_is_policy_enabled),
				KeyDetails: functions.ApplicationImagePolicyConfigKeyDetailArray{
					&functions.ApplicationImagePolicyConfigKeyDetailArgs{
						KmsKeyId: pulumi.Any(oci_kms_key.Test_key.Id),
					},
				},
			},
			SyslogUrl: pulumi.Any(_var.Application_syslog_url),
			TraceConfig: &functions.ApplicationTraceConfigArgs{
				DomainId:  pulumi.Any(oci_functions_domain.Test_domain.Id),
				IsEnabled: pulumi.Any(_var.Application_trace_config_is_enabled),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_application = oci.functions.Application("testApplication",
    compartment_id=var["compartment_id"],
    display_name=var["application_display_name"],
    subnet_ids=var["application_subnet_ids"],
    config=var["application_config"],
    defined_tags={
        "Operations.CostCenter": "42",
    },
    freeform_tags={
        "Department": "Finance",
    },
    network_security_group_ids=var["application_network_security_group_ids"],
    image_policy_config=oci.functions.ApplicationImagePolicyConfigArgs(
        is_policy_enabled=var["application_image_policy_config_is_policy_enabled"],
        key_details=[oci.functions.ApplicationImagePolicyConfigKeyDetailArgs(
            kms_key_id=oci_kms_key["test_key"]["id"],
        )],
    ),
    syslog_url=var["application_syslog_url"],
    trace_config=oci.functions.ApplicationTraceConfigArgs(
        domain_id=oci_functions_domain["test_domain"]["id"],
        is_enabled=var["application_trace_config_is_enabled"],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testApplication = new oci.functions.Application("testApplication", {
    compartmentId: _var.compartment_id,
    displayName: _var.application_display_name,
    subnetIds: _var.application_subnet_ids,
    config: _var.application_config,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    freeformTags: {
        Department: "Finance",
    },
    networkSecurityGroupIds: _var.application_network_security_group_ids,
    imagePolicyConfig: {
        isPolicyEnabled: _var.application_image_policy_config_is_policy_enabled,
        keyDetails: [{
            kmsKeyId: oci_kms_key.test_key.id,
        }],
    },
    syslogUrl: _var.application_syslog_url,
    traceConfig: {
        domainId: oci_functions_domain.test_domain.id,
        isEnabled: _var.application_trace_config_is_enabled,
    },
});

Coming soon!

Create a Application Resource

new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: 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,
                subnet_ids: Optional[Sequence[str]] = None,
                syslog_url: Optional[str] = None,
                trace_config: Optional[_functions.ApplicationTraceConfigArgs] = None)
@overload
def Application(resource_name: str,
                args: ApplicationArgs,
                opts: Optional[ResourceOptions] = 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.

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.

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"}

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 ApplicationImagePolicyConfigArgs

(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.

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 []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"}

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.

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"}

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 ApplicationImagePolicyConfigArgs

(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.

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 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"}

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

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.

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"}

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

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 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"}

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.

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 an 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,
        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"}

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 ApplicationImagePolicyConfigArgs

(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.

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 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]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"}

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.

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"}

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 ApplicationImagePolicyConfigArgs

(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.

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 ApplicationTraceConfigArgs

(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"}

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

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.

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"}

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

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 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"}

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.

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

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

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

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.

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.

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.

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.

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.

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.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.