import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Service Catalog Association resource in Oracle Cloud Infrastructure Service Catalog service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/service-catalog/latest/ServiceCatalogAssociation * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/service_catalog * * Creates an association between service catalog and a resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testServiceCatalogAssociation = new oci.servicecatalog.CatalogAssociation("test_service_catalog_association", { * entityId: testEntity.id, * serviceCatalogId: testServiceCatalog.id, * entityType: serviceCatalogAssociationEntityType, * }); * ``` * * ## Import * * ServiceCatalogAssociations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:ServiceCatalog/catalogAssociation:CatalogAssociation test_service_catalog_association "id" * ``` */ export declare class CatalogAssociation extends pulumi.CustomResource { /** * Get an existing CatalogAssociation 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?: CatalogAssociationState, opts?: pulumi.CustomResourceOptions): CatalogAssociation; /** * Returns true if the given object is an instance of CatalogAssociation. 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 CatalogAssociation; /** * Identifier of the entity being associated with service catalog. */ readonly entityId: pulumi.Output; /** * The type of the entity that is associated with the service catalog. */ readonly entityType: pulumi.Output; /** * Identifier of the service catalog. * * ** 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 serviceCatalogId: pulumi.Output; /** * Timestamp of when the resource was associated with service catalog. */ readonly timeCreated: pulumi.Output; /** * Create a CatalogAssociation 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: CatalogAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CatalogAssociation resources. */ export interface CatalogAssociationState { /** * Identifier of the entity being associated with service catalog. */ entityId?: pulumi.Input; /** * The type of the entity that is associated with the service catalog. */ entityType?: pulumi.Input; /** * Identifier of the service catalog. * * ** 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 */ serviceCatalogId?: pulumi.Input; /** * Timestamp of when the resource was associated with service catalog. */ timeCreated?: pulumi.Input; } /** * The set of arguments for constructing a CatalogAssociation resource. */ export interface CatalogAssociationArgs { /** * Identifier of the entity being associated with service catalog. */ entityId: pulumi.Input; /** * The type of the entity that is associated with the service catalog. */ entityType?: pulumi.Input; /** * Identifier of the service catalog. * * ** 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 */ serviceCatalogId: pulumi.Input; } //# sourceMappingURL=catalogAssociation.d.ts.map