import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Catalog Items in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of Catalog Items in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCatalogItems = oci.fleetappsmanagement.getCatalogItems({ * compartmentId: compartmentId, * catalogListingId: testListing.id, * catalogListingVersionCriteria: catalogItemCatalogListingVersionCriteria, * configSourceType: catalogItemConfigSourceType, * displayName: catalogItemDisplayName, * packageType: catalogItemPackageType, * shouldListPublicItems: catalogItemShouldListPublicItems === "true", * state: catalogItemState, * }); * ``` */ export declare function getCatalogItems(args: GetCatalogItemsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCatalogItems. */ export interface GetCatalogItemsArgs { /** * catalogListingId of the package. This is an integer whose min and max length are specified. */ catalogListingId?: string; /** * Parameter to list all catalog items only with latest version or list all catalog items with all versions. */ catalogListingVersionCriteria?: string; /** * (Updatable) The ID of the compartment in which to list resources. */ compartmentId: string; /** * The [ConfigSourceType](https://www.terraform.io/definitions/CatalogItem/configSourceType) Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, URL_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. */ configSourceType?: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.FleetAppsManagement.GetCatalogItemsFilter[]; /** * A filter to return only resources that match the given package type. The state value is case-insensitive. */ packageType?: string; /** * The indicator to append Public Items from the root compartment to any query, when set to TRUE. */ shouldListPublicItems?: boolean; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getCatalogItems. */ export interface GetCatalogItemsResult { /** * The list of catalog_item_collection. */ readonly catalogItemCollections: outputs.FleetAppsManagement.GetCatalogItemsCatalogItemCollection[]; readonly catalogListingId?: string; readonly catalogListingVersionCriteria?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. */ readonly configSourceType?: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.FleetAppsManagement.GetCatalogItemsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE. */ readonly packageType?: string; /** * The indicator to append Public Items from the root compartment to any query, when set to TRUE. */ readonly shouldListPublicItems?: boolean; /** * The current state of the CatalogItem. */ readonly state?: string; } /** * This data source provides the list of Catalog Items in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of Catalog Items in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCatalogItems = oci.fleetappsmanagement.getCatalogItems({ * compartmentId: compartmentId, * catalogListingId: testListing.id, * catalogListingVersionCriteria: catalogItemCatalogListingVersionCriteria, * configSourceType: catalogItemConfigSourceType, * displayName: catalogItemDisplayName, * packageType: catalogItemPackageType, * shouldListPublicItems: catalogItemShouldListPublicItems === "true", * state: catalogItemState, * }); * ``` */ export declare function getCatalogItemsOutput(args: GetCatalogItemsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCatalogItems. */ export interface GetCatalogItemsOutputArgs { /** * catalogListingId of the package. This is an integer whose min and max length are specified. */ catalogListingId?: pulumi.Input; /** * Parameter to list all catalog items only with latest version or list all catalog items with all versions. */ catalogListingVersionCriteria?: pulumi.Input; /** * (Updatable) The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * The [ConfigSourceType](https://www.terraform.io/definitions/CatalogItem/configSourceType) Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, URL_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. */ configSourceType?: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given package type. The state value is case-insensitive. */ packageType?: pulumi.Input; /** * The indicator to append Public Items from the root compartment to any query, when set to TRUE. */ shouldListPublicItems?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getCatalogItems.d.ts.map