import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Catalog Item resource in Oracle Cloud Infrastructure Fleet Apps Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/fleet-management/latest/CatalogItem * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/fleet_apps_management * * Creates a CatalogItem. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCatalogItem = new oci.fleetappsmanagement.CatalogItem("test_catalog_item", { * compartmentId: compartmentId, * configSourceType: catalogItemConfigSourceType, * description: catalogItemDescription, * displayName: catalogItemDisplayName, * packageType: catalogItemPackageType, * catalogSourcePayload: { * configSourceType: catalogItemCatalogSourcePayloadConfigSourceType, * accessUri: catalogItemCatalogSourcePayloadAccessUri, * branchName: catalogItemCatalogSourcePayloadBranchName, * bucket: catalogItemCatalogSourcePayloadBucket, * configurationSourceProviderId: testConfigurationSourceProvider.id, * description: catalogItemCatalogSourcePayloadDescription, * listingId: testListing.id, * longDescription: catalogItemCatalogSourcePayloadLongDescription, * namespace: catalogItemCatalogSourcePayloadNamespace, * object: catalogItemCatalogSourcePayloadObject, * repositoryUrl: catalogItemCatalogSourcePayloadRepositoryUrl, * templateDisplayName: catalogItemCatalogSourcePayloadTemplateDisplayName, * timeExpires: catalogItemCatalogSourcePayloadTimeExpires, * version: catalogItemCatalogSourcePayloadVersion, * workingDirectory: catalogItemCatalogSourcePayloadWorkingDirectory, * zipFileBase64encoded: catalogItemCatalogSourcePayloadZipFileBase64encoded, * }, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * isItemLocked: catalogItemIsItemLocked, * listingId: testListing.id, * listingVersion: catalogItemListingVersion, * shortDescription: catalogItemShortDescription, * timeReleased: catalogItemTimeReleased, * versionDescription: catalogItemVersionDescription, * }); * ``` * * ## Import * * CatalogItems can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:FleetAppsManagement/catalogItem:CatalogItem test_catalog_item "id" * ``` */ export declare class CatalogItem extends pulumi.CustomResource { /** * Get an existing CatalogItem 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?: CatalogItemState, opts?: pulumi.CustomResourceOptions): CatalogItem; /** * Returns true if the given object is an instance of CatalogItem. 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 CatalogItem; /** * Catalog result payload. */ readonly catalogResultPayloads: pulumi.Output; /** * Catalog source payload. */ readonly catalogSourcePayload: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Clone Catalog Item. Could be set to any integer value. */ readonly cloneCatalogItemTrigger: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. */ readonly configSourceType: 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 description of the CatalogItem. */ readonly description: pulumi.Output; /** * (Updatable) The CatalogItem name. */ 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; }>; /** * The details of lifecycle state CatalogItem. */ readonly lifecycleDetails: pulumi.Output; /** * The catalog listing Id. */ readonly listingId: pulumi.Output; /** * The catalog package version. */ readonly listingVersion: pulumi.Output; /** * Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE. */ readonly packageType: pulumi.Output; /** * (Updatable) Short description about the catalog item. */ readonly shortDescription: pulumi.Output; /** * The indicator to append Public Items from the root compartment to any query, when set to TRUE. */ readonly shouldListPublicItems: pulumi.Output; /** * The current state of the CatalogItem. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the CatalogItem was last checked by backfill job, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeBackfillLastChecked: pulumi.Output; /** * The date and time the CatalogItem was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * The date and time the CatalogItem was last checked, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeLastChecked: pulumi.Output; /** * The date and time the CatalogItem was released, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeReleased: pulumi.Output; /** * The date and time the CatalogItem was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: pulumi.Output; /** * (Updatable) Version description about the catalog item. */ readonly versionDescription: pulumi.Output; /** * Create a CatalogItem 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: CatalogItemArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CatalogItem resources. */ export interface CatalogItemState { /** * Catalog result payload. */ catalogResultPayloads?: pulumi.Input[] | undefined>; /** * Catalog source payload. */ catalogSourcePayload?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Clone Catalog Item. Could be set to any integer value. */ cloneCatalogItemTrigger?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. */ configSourceType?: 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 description of the CatalogItem. */ description?: pulumi.Input; /** * (Updatable) The CatalogItem name. */ 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>; /** * The details of lifecycle state CatalogItem. */ lifecycleDetails?: pulumi.Input; /** * The catalog listing Id. */ listingId?: pulumi.Input; /** * The catalog package version. */ listingVersion?: pulumi.Input; /** * Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE. */ packageType?: pulumi.Input; /** * (Updatable) Short description about the catalog item. */ shortDescription?: pulumi.Input; /** * The indicator to append Public Items from the root compartment to any query, when set to TRUE. */ shouldListPublicItems?: pulumi.Input; /** * The current state of the CatalogItem. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the CatalogItem was last checked by backfill job, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeBackfillLastChecked?: pulumi.Input; /** * The date and time the CatalogItem was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * The date and time the CatalogItem was last checked, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeLastChecked?: pulumi.Input; /** * The date and time the CatalogItem was released, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeReleased?: pulumi.Input; /** * The date and time the CatalogItem was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeUpdated?: pulumi.Input; /** * (Updatable) Version description about the catalog item. */ versionDescription?: pulumi.Input; } /** * The set of arguments for constructing a CatalogItem resource. */ export interface CatalogItemArgs { /** * Catalog source payload. */ catalogSourcePayload?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Clone Catalog Item. Could be set to any integer value. */ cloneCatalogItemTrigger?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. */ configSourceType: 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 description of the CatalogItem. */ description: pulumi.Input; /** * (Updatable) The CatalogItem name. */ 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>; /** * The catalog listing Id. */ listingId?: pulumi.Input; /** * The catalog package version. */ listingVersion?: pulumi.Input; /** * Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE. */ packageType: pulumi.Input; /** * (Updatable) Short description about the catalog item. */ shortDescription?: pulumi.Input; /** * The date and time the CatalogItem was released, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeReleased?: pulumi.Input; /** * (Updatable) Version description about the catalog item. */ versionDescription?: pulumi.Input; } //# sourceMappingURL=catalogItem.d.ts.map