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 Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service. * * Returns a list of all the Java license acceptance records in a tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJavaLicenseAcceptanceRecords = oci.jms.getJavaDownloadsJavaLicenseAcceptanceRecords({ * compartmentId: tenancyOcid, * id: javaLicenseAcceptanceRecordId, * licenseType: javaLicenseAcceptanceRecordLicenseType, * searchByUser: javaLicenseAcceptanceRecordSearchByUser, * status: javaLicenseAcceptanceRecordStatus, * }); * ``` */ export declare function getJavaDownloadsJavaLicenseAcceptanceRecords(args: GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJavaDownloadsJavaLicenseAcceptanceRecords. */ export interface GetJavaDownloadsJavaLicenseAcceptanceRecordsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. */ compartmentId: string; filters?: inputs.Jms.GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter[]; /** * Unique Java license acceptance record identifier. */ id?: string; /** * Unique Java license type. */ licenseType?: string; /** * A filter to return only resources that match the user principal detail. The search string can be any of the property values from the [Principal](https://docs.cloud.oracle.com/iaas/api/#/en/jms/latest/datatypes/Principal) object. This object is used as a response datatype for the `createdBy` and `lastUpdatedBy` fields in applicable resource. */ searchByUser?: string; /** * The status of license acceptance. */ status?: string; } /** * A collection of values returned by getJavaDownloadsJavaLicenseAcceptanceRecords. */ export interface GetJavaDownloadsJavaLicenseAcceptanceRecordsResult { /** * The tenancy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user accepting the license. */ readonly compartmentId: string; readonly filters?: outputs.Jms.GetJavaDownloadsJavaLicenseAcceptanceRecordsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. */ readonly id?: string; /** * The list of java_license_acceptance_record_collection. */ readonly javaLicenseAcceptanceRecordCollections: outputs.Jms.GetJavaDownloadsJavaLicenseAcceptanceRecordsJavaLicenseAcceptanceRecordCollection[]; /** * License type associated with the acceptance. */ readonly licenseType?: string; readonly searchByUser?: string; readonly status?: string; } /** * This data source provides the list of Java License Acceptance Records in Oracle Cloud Infrastructure Jms Java Downloads service. * * Returns a list of all the Java license acceptance records in a tenancy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJavaLicenseAcceptanceRecords = oci.jms.getJavaDownloadsJavaLicenseAcceptanceRecords({ * compartmentId: tenancyOcid, * id: javaLicenseAcceptanceRecordId, * licenseType: javaLicenseAcceptanceRecordLicenseType, * searchByUser: javaLicenseAcceptanceRecordSearchByUser, * status: javaLicenseAcceptanceRecordStatus, * }); * ``` */ export declare function getJavaDownloadsJavaLicenseAcceptanceRecordsOutput(args: GetJavaDownloadsJavaLicenseAcceptanceRecordsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJavaDownloadsJavaLicenseAcceptanceRecords. */ export interface GetJavaDownloadsJavaLicenseAcceptanceRecordsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique Java license acceptance record identifier. */ id?: pulumi.Input; /** * Unique Java license type. */ licenseType?: pulumi.Input; /** * A filter to return only resources that match the user principal detail. The search string can be any of the property values from the [Principal](https://docs.cloud.oracle.com/iaas/api/#/en/jms/latest/datatypes/Principal) object. This object is used as a response datatype for the `createdBy` and `lastUpdatedBy` fields in applicable resource. */ searchByUser?: pulumi.Input; /** * The status of license acceptance. */ status?: pulumi.Input; } //# sourceMappingURL=getJavaDownloadsJavaLicenseAcceptanceRecords.d.ts.map