import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Private Application resource in Oracle Cloud Infrastructure Service Catalog service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/service-catalog/latest/PrivateApplication * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/service_catalog * * Creates a private application along with a single package to be hosted. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPrivateApplication = new oci.servicecatalog.PrivateApplication("test_private_application", { * compartmentId: compartmentId, * displayName: privateApplicationDisplayName, * packageDetails: { * packageType: privateApplicationPackageDetailsPackageType, * version: privateApplicationPackageDetailsVersion, * zipFileBase64encoded: privateApplicationPackageDetailsZipFileBase64encoded, * }, * shortDescription: privateApplicationShortDescription, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * logoFileBase64encoded: privateApplicationLogoFileBase64encoded, * longDescription: privateApplicationLongDescription, * }); * ``` * * ## Import * * PrivateApplications can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ServiceCatalog/privateApplication:PrivateApplication test_private_application "id" * ``` */ export declare class PrivateApplication extends pulumi.CustomResource { /** * Get an existing PrivateApplication resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PrivateApplicationState, opts?: pulumi.CustomResourceOptions): PrivateApplication; /** * Returns true if the given object is an instance of PrivateApplication. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PrivateApplication; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private application. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The name of the private application. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Base64-encoded logo to use as the private application icon. Template icon file requirements: PNG format, 50 KB maximum, 130 x 130 pixels. */ readonly logoFileBase64encoded: pulumi.Output; /** * The model for uploaded binary data, like logos and images. */ readonly logos: pulumi.Output; /** * (Updatable) A long description of the private application. */ readonly longDescription: pulumi.Output; /** * A base object for creating a private application package. */ readonly packageDetails: pulumi.Output; /** * Type of packages within this private application. */ readonly packageType: pulumi.Output; /** * (Updatable) A short description of the private application. * * ** 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 */ readonly shortDescription: pulumi.Output; /** * The lifecycle state of the private application. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the private application was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-05-26T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * The date and time the private application was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-12-10T05:10:29.721Z` */ readonly timeUpdated: pulumi.Output; /** * Create a PrivateApplication resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PrivateApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PrivateApplication resources. */ export interface PrivateApplicationState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private application. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The name of the private application. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Base64-encoded logo to use as the private application icon. Template icon file requirements: PNG format, 50 KB maximum, 130 x 130 pixels. */ logoFileBase64encoded?: pulumi.Input; /** * The model for uploaded binary data, like logos and images. */ logos?: pulumi.Input[] | undefined>; /** * (Updatable) A long description of the private application. */ longDescription?: pulumi.Input; /** * A base object for creating a private application package. */ packageDetails?: pulumi.Input; /** * Type of packages within this private application. */ packageType?: pulumi.Input; /** * (Updatable) A short description of the private application. * * ** 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 */ shortDescription?: pulumi.Input; /** * The lifecycle state of the private application. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the private application was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-05-26T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * The date and time the private application was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-12-10T05:10:29.721Z` */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a PrivateApplication resource. */ export interface PrivateApplicationArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private application. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The name of the private application. */ displayName: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Base64-encoded logo to use as the private application icon. Template icon file requirements: PNG format, 50 KB maximum, 130 x 130 pixels. */ logoFileBase64encoded?: pulumi.Input; /** * (Updatable) A long description of the private application. */ longDescription?: pulumi.Input; /** * A base object for creating a private application package. */ packageDetails: pulumi.Input; /** * (Updatable) A short description of the private application. * * ** 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 */ shortDescription: pulumi.Input; } //# sourceMappingURL=privateApplication.d.ts.map