import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * This resource provides a way to create a catalog source entitlement in VMware vRealize Automation. * * ## Example Usage * ### S * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumiverse/vra"; * * const _this = new vra.catalog.SourceEntitlement("this", { * catalogSourceId: _var.catalog_source_blueprint_id, * projectId: _var.project_id, * }); * ``` * ## Attribute Reference * * * `definition` - Represents a catalog source that is linked to a project via an entitlement. * * * `description` - Description of the catalog source. * * * `iconId` - Icon id of associated catalog source. * * * `id` - Id of the catalog source. * * * `name` - Name of the catalog source. * * * `numberOfItems` - Number of items in the associated catalog source. * * * `sourceName` - Catalog source name. * * * `sourceType` - Catalog source type. * * * `type` - Content definition type. * * ## Import * * Catalog source entitlement can be imported using the id, e.g. * * ```sh * $ pulumi import vra:catalog/sourceEntitlement:SourceEntitlement this 05956583-6488-4e7d-84c9-92a7b7219a15` * ``` */ export declare class SourceEntitlement extends pulumi.CustomResource { /** * Get an existing SourceEntitlement 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?: SourceEntitlementState, opts?: pulumi.CustomResourceOptions): SourceEntitlement; /** * Returns true if the given object is an instance of SourceEntitlement. 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 SourceEntitlement; /** * The id of the catalog source to create the entitlement. */ readonly catalogSourceId: pulumi.Output; readonly definitions: pulumi.Output; /** * The id of the project this entity belongs to. */ readonly projectId: pulumi.Output; /** * Create a SourceEntitlement 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: SourceEntitlementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SourceEntitlement resources. */ export interface SourceEntitlementState { /** * The id of the catalog source to create the entitlement. */ catalogSourceId?: pulumi.Input; definitions?: pulumi.Input[]>; /** * The id of the project this entity belongs to. */ projectId?: pulumi.Input; } /** * The set of arguments for constructing a SourceEntitlement resource. */ export interface SourceEntitlementArgs { /** * The id of the catalog source to create the entitlement. */ catalogSourceId: pulumi.Input; /** * The id of the project this entity belongs to. */ projectId: pulumi.Input; }