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 Entitlements in Oracle Cloud Infrastructure Os Management Hub service. * * Lists entitlements in the specified tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but * not limited to its Customer Support Identifier (CSI), and vendor name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEntitlements = oci.osmanagementhub.getEntitlements({ * compartmentId: compartmentId, * csi: entitlementCsi, * vendorName: entitlementVendorName, * }); * ``` */ export declare function getEntitlements(args: GetEntitlementsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEntitlements. */ export interface GetEntitlementsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment. */ compartmentId: string; /** * A filter to return entitlements that match the given customer support identifier (CSI). */ csi?: string; filters?: inputs.OsManagementHub.GetEntitlementsFilter[]; /** * A filter to return only resources that match the given vendor name. */ vendorName?: string; } /** * A collection of values returned by getEntitlements. */ export interface GetEntitlementsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy containing the entitlement. */ readonly compartmentId: string; /** * The Customer Support Identifier (CSI) which unlocks the software sources. The CSI is is a unique key given to a customer and it uniquely identifies the entitlement. */ readonly csi?: string; /** * The list of entitlement_collection. */ readonly entitlementCollections: outputs.OsManagementHub.GetEntitlementsEntitlementCollection[]; readonly filters?: outputs.OsManagementHub.GetEntitlementsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The vendor for the entitlement. */ readonly vendorName?: string; } /** * This data source provides the list of Entitlements in Oracle Cloud Infrastructure Os Management Hub service. * * Lists entitlements in the specified tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but * not limited to its Customer Support Identifier (CSI), and vendor name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEntitlements = oci.osmanagementhub.getEntitlements({ * compartmentId: compartmentId, * csi: entitlementCsi, * vendorName: entitlementVendorName, * }); * ``` */ export declare function getEntitlementsOutput(args: GetEntitlementsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEntitlements. */ export interface GetEntitlementsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment. */ compartmentId: pulumi.Input; /** * A filter to return entitlements that match the given customer support identifier (CSI). */ csi?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given vendor name. */ vendorName?: pulumi.Input; } //# sourceMappingURL=getEntitlements.d.ts.map