import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Application resource in Oracle Cloud Infrastructure Functions service. * * Retrieves an application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testApplication = oci.functions.getApplication({ * applicationId: testApplicationOciFunctionsApplication.id, * }); * ``` */ export declare function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this application. */ applicationId: string; } /** * A collection of values returned by getApplication. */ export interface GetApplicationResult { readonly applicationId: string; /** * The OCID of the compartment that contains the application. */ readonly compartmentId: string; /** * Application configuration for functions in this application (passed as environment variables). Can be overridden by function 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"}` */ readonly config: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The display name of the application. The display name is unique within the compartment containing the application. */ readonly displayName: string; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the application. */ readonly id: string; /** * Define the image signature verification policy for an application. */ readonly imagePolicyConfigs: outputs.Functions.GetApplicationImagePolicyConfig[]; /** * Set logging configuration for an application. This is only used if Service Logs for the application are enabled in the Oracle Cloud Infrastructure Logging service. */ readonly loggings: outputs.Functions.GetApplicationLogging[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the Network Security Groups to add the application to. */ readonly networkSecurityGroupIds: string[]; /** * Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` */ readonly securityAttributes: { [key: string]: 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` */ readonly shape: string; /** * The current state of the application. */ readonly state: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the subnets in which to run functions in the application. */ readonly subnetIds: string[]; /** * 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` */ readonly syslogUrl: string; /** * The time the application was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` */ readonly timeCreated: string; /** * The time the application was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` */ readonly timeUpdated: string; /** * Define the tracing configuration for an application. */ readonly traceConfigs: outputs.Functions.GetApplicationTraceConfig[]; } /** * This data source provides details about a specific Application resource in Oracle Cloud Infrastructure Functions service. * * Retrieves an application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testApplication = oci.functions.getApplication({ * applicationId: testApplicationOciFunctionsApplication.id, * }); * ``` */ export declare function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApplication. */ export interface GetApplicationOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this application. */ applicationId: pulumi.Input; } //# sourceMappingURL=getApplication.d.ts.map