import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * This data source provides information about a catalog item entitlement in vRA. * * ## Example Usage * ### S * * This is an example of how to get a vRA catalog item entitlement by its id: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.catalog.getItemEntitlement({ * id: _var.catalog_item_entitlement_id, * projectId: _var.project_id, * }); * ``` * * This is an example of how to get a vRA catalog item entitlement by its catalog item id: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.catalog.getItemEntitlement({ * catalogItemId: _var.catalog_item_id, * projectId: _var.project_id, * }); * ``` */ export declare function getItemEntitlement(args: GetItemEntitlementArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getItemEntitlement. */ export interface GetItemEntitlementArgs { /** * The id of the catalog item to find the entitlement. One of `catalogItemId` or `id` must be provided. */ catalogItemId?: string; /** * The id of entitlement. One of `catalogItemId` or `id` must be provided. */ id?: string; /** * The id of the project that this entitlement belongs to. */ projectId: string; } /** * A collection of values returned by getItemEntitlement. */ export interface GetItemEntitlementResult { readonly catalogItemId?: string; /** * Represents a catalog item that is linked to a project via an entitlement. */ readonly definitions: outputs.catalog.GetItemEntitlementDefinition[]; /** * Id of the catalog item. */ readonly id?: string; readonly projectId: string; } export declare function getItemEntitlementOutput(args: GetItemEntitlementOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getItemEntitlement. */ export interface GetItemEntitlementOutputArgs { /** * The id of the catalog item to find the entitlement. One of `catalogItemId` or `id` must be provided. */ catalogItemId?: pulumi.Input; /** * The id of entitlement. One of `catalogItemId` or `id` must be provided. */ id?: pulumi.Input; /** * The id of the project that this entitlement belongs to. */ projectId: pulumi.Input; }