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 Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service. * * Returns a list of JavaDownloadTokens. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJavaDownloadTokens = oci.jms.getJavaDownloadsJavaDownloadTokens({ * compartmentId: tenancyOcid, * displayName: javaDownloadTokenDisplayName, * familyVersion: javaDownloadTokenFamilyVersion, * id: javaDownloadTokenId, * searchByUser: javaDownloadTokenSearchByUser, * state: javaDownloadTokenState, * value: javaDownloadTokenValue, * }); * ``` */ export declare function getJavaDownloadsJavaDownloadTokens(args: GetJavaDownloadsJavaDownloadTokensArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJavaDownloadsJavaDownloadTokens. */ export interface GetJavaDownloadsJavaDownloadTokensArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; /** * Unique Java family version identifier. */ familyVersion?: string; filters?: inputs.Jms.GetJavaDownloadsJavaDownloadTokensFilter[]; /** * Unique JavaDownloadToken identifier. */ id?: 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; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: string; /** * Unique JavaDownloadToken value. */ value?: string; } /** * A collection of values returned by getJavaDownloadsJavaDownloadTokens. */ export interface GetJavaDownloadsJavaDownloadTokensResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy scoped to the JavaDownloadToken. */ readonly compartmentId: string; /** * The name of the principal. */ readonly displayName?: string; readonly familyVersion?: string; readonly filters?: outputs.Jms.GetJavaDownloadsJavaDownloadTokensFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. */ readonly id?: string; /** * The list of java_download_token_collection. */ readonly javaDownloadTokenCollections: outputs.Jms.GetJavaDownloadsJavaDownloadTokensJavaDownloadTokenCollection[]; readonly searchByUser?: string; /** * The current state of the JavaDownloadToken. */ readonly state?: string; /** * Uniquely generated value for the JavaDownloadToken. */ readonly value?: string; } /** * This data source provides the list of Java Download Tokens in Oracle Cloud Infrastructure Jms Java Downloads service. * * Returns a list of JavaDownloadTokens. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJavaDownloadTokens = oci.jms.getJavaDownloadsJavaDownloadTokens({ * compartmentId: tenancyOcid, * displayName: javaDownloadTokenDisplayName, * familyVersion: javaDownloadTokenFamilyVersion, * id: javaDownloadTokenId, * searchByUser: javaDownloadTokenSearchByUser, * state: javaDownloadTokenState, * value: javaDownloadTokenValue, * }); * ``` */ export declare function getJavaDownloadsJavaDownloadTokensOutput(args: GetJavaDownloadsJavaDownloadTokensOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJavaDownloadsJavaDownloadTokens. */ export interface GetJavaDownloadsJavaDownloadTokensOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; /** * Unique Java family version identifier. */ familyVersion?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Unique JavaDownloadToken identifier. */ id?: 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; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; /** * Unique JavaDownloadToken value. */ value?: pulumi.Input; } //# sourceMappingURL=getJavaDownloadsJavaDownloadTokens.d.ts.map