Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi
oci.Jms.getJavaDownloadsJavaDownloadRecords
Explore with Pulumi AI
This data source provides the list of Java Download Records in Oracle Cloud Infrastructure Jms Java Downloads service.
Returns a list of Java download records in a tenancy based on specified parameters.
See JavaReleases API
for possible values of javaFamilyVersion and javaReleaseVersion parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaDownloadRecords = oci.Jms.getJavaDownloadsJavaDownloadRecords({
    compartmentId: compartmentId,
    architecture: javaDownloadRecordArchitecture,
    familyVersion: javaDownloadRecordFamilyVersion,
    osFamily: javaDownloadRecordOsFamily,
    packageTypeDetail: javaDownloadRecordPackageTypeDetail,
    releaseVersion: javaDownloadRecordReleaseVersion,
    timeEnd: javaDownloadRecordTimeEnd,
    timeStart: javaDownloadRecordTimeStart,
});
import pulumi
import pulumi_oci as oci
test_java_download_records = oci.Jms.get_java_downloads_java_download_records(compartment_id=compartment_id,
    architecture=java_download_record_architecture,
    family_version=java_download_record_family_version,
    os_family=java_download_record_os_family,
    package_type_detail=java_download_record_package_type_detail,
    release_version=java_download_record_release_version,
    time_end=java_download_record_time_end,
    time_start=java_download_record_time_start)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := jms.GetJavaDownloadsJavaDownloadRecords(ctx, &jms.GetJavaDownloadsJavaDownloadRecordsArgs{
			CompartmentId:     compartmentId,
			Architecture:      pulumi.StringRef(javaDownloadRecordArchitecture),
			FamilyVersion:     pulumi.StringRef(javaDownloadRecordFamilyVersion),
			OsFamily:          pulumi.StringRef(javaDownloadRecordOsFamily),
			PackageTypeDetail: pulumi.StringRef(javaDownloadRecordPackageTypeDetail),
			ReleaseVersion:    pulumi.StringRef(javaDownloadRecordReleaseVersion),
			TimeEnd:           pulumi.StringRef(javaDownloadRecordTimeEnd),
			TimeStart:         pulumi.StringRef(javaDownloadRecordTimeStart),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testJavaDownloadRecords = Oci.Jms.GetJavaDownloadsJavaDownloadRecords.Invoke(new()
    {
        CompartmentId = compartmentId,
        Architecture = javaDownloadRecordArchitecture,
        FamilyVersion = javaDownloadRecordFamilyVersion,
        OsFamily = javaDownloadRecordOsFamily,
        PackageTypeDetail = javaDownloadRecordPackageTypeDetail,
        ReleaseVersion = javaDownloadRecordReleaseVersion,
        TimeEnd = javaDownloadRecordTimeEnd,
        TimeStart = javaDownloadRecordTimeStart,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JmsFunctions;
import com.pulumi.oci.Jms.inputs.GetJavaDownloadsJavaDownloadRecordsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testJavaDownloadRecords = JmsFunctions.getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs.builder()
            .compartmentId(compartmentId)
            .architecture(javaDownloadRecordArchitecture)
            .familyVersion(javaDownloadRecordFamilyVersion)
            .osFamily(javaDownloadRecordOsFamily)
            .packageTypeDetail(javaDownloadRecordPackageTypeDetail)
            .releaseVersion(javaDownloadRecordReleaseVersion)
            .timeEnd(javaDownloadRecordTimeEnd)
            .timeStart(javaDownloadRecordTimeStart)
            .build());
    }
}
variables:
  testJavaDownloadRecords:
    fn::invoke:
      function: oci:Jms:getJavaDownloadsJavaDownloadRecords
      arguments:
        compartmentId: ${compartmentId}
        architecture: ${javaDownloadRecordArchitecture}
        familyVersion: ${javaDownloadRecordFamilyVersion}
        osFamily: ${javaDownloadRecordOsFamily}
        packageTypeDetail: ${javaDownloadRecordPackageTypeDetail}
        releaseVersion: ${javaDownloadRecordReleaseVersion}
        timeEnd: ${javaDownloadRecordTimeEnd}
        timeStart: ${javaDownloadRecordTimeStart}
Using getJavaDownloadsJavaDownloadRecords
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getJavaDownloadsJavaDownloadRecords(args: GetJavaDownloadsJavaDownloadRecordsArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaDownloadRecordsResult>
function getJavaDownloadsJavaDownloadRecordsOutput(args: GetJavaDownloadsJavaDownloadRecordsOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaDownloadRecordsResult>def get_java_downloads_java_download_records(architecture: Optional[str] = None,
                                             compartment_id: Optional[str] = None,
                                             family_version: Optional[str] = None,
                                             filters: Optional[Sequence[_jms.GetJavaDownloadsJavaDownloadRecordsFilter]] = None,
                                             os_family: Optional[str] = None,
                                             package_type_detail: Optional[str] = None,
                                             release_version: Optional[str] = None,
                                             time_end: Optional[str] = None,
                                             time_start: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaDownloadRecordsResult
def get_java_downloads_java_download_records_output(architecture: Optional[pulumi.Input[str]] = None,
                                             compartment_id: Optional[pulumi.Input[str]] = None,
                                             family_version: Optional[pulumi.Input[str]] = None,
                                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetJavaDownloadsJavaDownloadRecordsFilterArgs]]]] = None,
                                             os_family: Optional[pulumi.Input[str]] = None,
                                             package_type_detail: Optional[pulumi.Input[str]] = None,
                                             release_version: Optional[pulumi.Input[str]] = None,
                                             time_end: Optional[pulumi.Input[str]] = None,
                                             time_start: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaDownloadRecordsResult]func GetJavaDownloadsJavaDownloadRecords(ctx *Context, args *GetJavaDownloadsJavaDownloadRecordsArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaDownloadRecordsResult, error)
func GetJavaDownloadsJavaDownloadRecordsOutput(ctx *Context, args *GetJavaDownloadsJavaDownloadRecordsOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaDownloadRecordsResultOutput> Note: This function is named GetJavaDownloadsJavaDownloadRecords in the Go SDK.
public static class GetJavaDownloadsJavaDownloadRecords 
{
    public static Task<GetJavaDownloadsJavaDownloadRecordsResult> InvokeAsync(GetJavaDownloadsJavaDownloadRecordsArgs args, InvokeOptions? opts = null)
    public static Output<GetJavaDownloadsJavaDownloadRecordsResult> Invoke(GetJavaDownloadsJavaDownloadRecordsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJavaDownloadsJavaDownloadRecordsResult> getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args, InvokeOptions options)
public static Output<GetJavaDownloadsJavaDownloadRecordsResult> getJavaDownloadsJavaDownloadRecords(GetJavaDownloadsJavaDownloadRecordsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the tenancy.
- Architecture string
- Target Operating System architecture of the artifact.
- FamilyVersion string
- Unique Java family version identifier.
- Filters
List<GetJava Downloads Java Download Records Filter> 
- OsFamily string
- Target Operating System family of the artifact.
- PackageType stringDetail 
- Packaging type detail of the artifact.
- ReleaseVersion string
- Unique Java release version identifier.
- TimeEnd string
- The end of the time period for which reports are searched (formatted according to RFC3339).
- TimeStart string
- The start of the time period for which reports are searched (formatted according to RFC3339).
- CompartmentId string
- The OCID of the tenancy.
- Architecture string
- Target Operating System architecture of the artifact.
- FamilyVersion string
- Unique Java family version identifier.
- Filters
[]GetJava Downloads Java Download Records Filter 
- OsFamily string
- Target Operating System family of the artifact.
- PackageType stringDetail 
- Packaging type detail of the artifact.
- ReleaseVersion string
- Unique Java release version identifier.
- TimeEnd string
- The end of the time period for which reports are searched (formatted according to RFC3339).
- TimeStart string
- The start of the time period for which reports are searched (formatted according to RFC3339).
- compartmentId String
- The OCID of the tenancy.
- architecture String
- Target Operating System architecture of the artifact.
- familyVersion String
- Unique Java family version identifier.
- filters
List<GetJava Downloads Java Download Records Filter> 
- osFamily String
- Target Operating System family of the artifact.
- packageType StringDetail 
- Packaging type detail of the artifact.
- releaseVersion String
- Unique Java release version identifier.
- timeEnd String
- The end of the time period for which reports are searched (formatted according to RFC3339).
- timeStart String
- The start of the time period for which reports are searched (formatted according to RFC3339).
- compartmentId string
- The OCID of the tenancy.
- architecture string
- Target Operating System architecture of the artifact.
- familyVersion string
- Unique Java family version identifier.
- filters
GetJava Downloads Java Download Records Filter[] 
- osFamily string
- Target Operating System family of the artifact.
- packageType stringDetail 
- Packaging type detail of the artifact.
- releaseVersion string
- Unique Java release version identifier.
- timeEnd string
- The end of the time period for which reports are searched (formatted according to RFC3339).
- timeStart string
- The start of the time period for which reports are searched (formatted according to RFC3339).
- compartment_id str
- The OCID of the tenancy.
- architecture str
- Target Operating System architecture of the artifact.
- family_version str
- Unique Java family version identifier.
- filters
Sequence[jms.Get Java Downloads Java Download Records Filter] 
- os_family str
- Target Operating System family of the artifact.
- package_type_ strdetail 
- Packaging type detail of the artifact.
- release_version str
- Unique Java release version identifier.
- time_end str
- The end of the time period for which reports are searched (formatted according to RFC3339).
- time_start str
- The start of the time period for which reports are searched (formatted according to RFC3339).
- compartmentId String
- The OCID of the tenancy.
- architecture String
- Target Operating System architecture of the artifact.
- familyVersion String
- Unique Java family version identifier.
- filters List<Property Map>
- osFamily String
- Target Operating System family of the artifact.
- packageType StringDetail 
- Packaging type detail of the artifact.
- releaseVersion String
- Unique Java release version identifier.
- timeEnd String
- The end of the time period for which reports are searched (formatted according to RFC3339).
- timeStart String
- The start of the time period for which reports are searched (formatted according to RFC3339).
getJavaDownloadsJavaDownloadRecords Result
The following output properties are available:
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaDownload List<GetRecord Collections Java Downloads Java Download Records Java Download Record Collection> 
- The list of java_download_record_collection.
- Architecture string
- The target Operating System architecture for the artifact.
- FamilyVersion string
- The Java family version identifier.
- Filters
List<GetJava Downloads Java Download Records Filter> 
- OsFamily string
- The target Operating System family for the artifact.
- PackageType stringDetail 
- Additional information about the package type.
- ReleaseVersion string
- The Java release version identifier.
- TimeEnd string
- TimeStart string
- CompartmentId string
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaDownload []GetRecord Collections Java Downloads Java Download Records Java Download Record Collection 
- The list of java_download_record_collection.
- Architecture string
- The target Operating System architecture for the artifact.
- FamilyVersion string
- The Java family version identifier.
- Filters
[]GetJava Downloads Java Download Records Filter 
- OsFamily string
- The target Operating System family for the artifact.
- PackageType stringDetail 
- Additional information about the package type.
- ReleaseVersion string
- The Java release version identifier.
- TimeEnd string
- TimeStart string
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- javaDownload List<GetRecord Collections Java Downloads Java Download Records Java Download Record Collection> 
- The list of java_download_record_collection.
- architecture String
- The target Operating System architecture for the artifact.
- familyVersion String
- The Java family version identifier.
- filters
List<GetJava Downloads Java Download Records Filter> 
- osFamily String
- The target Operating System family for the artifact.
- packageType StringDetail 
- Additional information about the package type.
- releaseVersion String
- The Java release version identifier.
- timeEnd String
- timeStart String
- compartmentId string
- id string
- The provider-assigned unique ID for this managed resource.
- javaDownload GetRecord Collections Java Downloads Java Download Records Java Download Record Collection[] 
- The list of java_download_record_collection.
- architecture string
- The target Operating System architecture for the artifact.
- familyVersion string
- The Java family version identifier.
- filters
GetJava Downloads Java Download Records Filter[] 
- osFamily string
- The target Operating System family for the artifact.
- packageType stringDetail 
- Additional information about the package type.
- releaseVersion string
- The Java release version identifier.
- timeEnd string
- timeStart string
- compartment_id str
- id str
- The provider-assigned unique ID for this managed resource.
- java_download_ Sequence[jms.record_ collections Get Java Downloads Java Download Records Java Download Record Collection] 
- The list of java_download_record_collection.
- architecture str
- The target Operating System architecture for the artifact.
- family_version str
- The Java family version identifier.
- filters
Sequence[jms.Get Java Downloads Java Download Records Filter] 
- os_family str
- The target Operating System family for the artifact.
- package_type_ strdetail 
- Additional information about the package type.
- release_version str
- The Java release version identifier.
- time_end str
- time_start str
- compartmentId String
- id String
- The provider-assigned unique ID for this managed resource.
- javaDownload List<Property Map>Record Collections 
- The list of java_download_record_collection.
- architecture String
- The target Operating System architecture for the artifact.
- familyVersion String
- The Java family version identifier.
- filters List<Property Map>
- osFamily String
- The target Operating System family for the artifact.
- packageType StringDetail 
- Additional information about the package type.
- releaseVersion String
- The Java release version identifier.
- timeEnd String
- timeStart String
Supporting Types
GetJavaDownloadsJavaDownloadRecordsFilter      
GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection         
- Items
List<GetJava Downloads Java Download Records Java Download Record Collection Item> 
- A list of Java download records in a tenancy.
- Items
[]GetJava Downloads Java Download Records Java Download Record Collection Item 
- A list of Java download records in a tenancy.
- items
List<GetJava Downloads Java Download Records Java Download Record Collection Item> 
- A list of Java download records in a tenancy.
- items
GetJava Downloads Java Download Records Java Download Record Collection Item[] 
- A list of Java download records in a tenancy.
- items
Sequence[jms.Get Java Downloads Java Download Records Java Download Record Collection Item] 
- A list of Java download records in a tenancy.
- items List<Property Map>
- A list of Java download records in a tenancy.
GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem          
- Architecture string
- Target Operating System architecture of the artifact.
- DownloadSource stringId 
- Identifier of the source that downloaded the artifact.
- DownloadType string
- Type of download.
- FamilyDisplay stringName 
- The Java family display name.
- FamilyVersion string
- Unique Java family version identifier.
- OsFamily string
- Target Operating System family of the artifact.
- PackageType string
- The package type (typically the file extension) of the artifact.
- PackageType stringDetail 
- Packaging type detail of the artifact.
- ReleaseVersion string
- Unique Java release version identifier.
- TimeDownloaded string
- Timestamp of download.
- Architecture string
- Target Operating System architecture of the artifact.
- DownloadSource stringId 
- Identifier of the source that downloaded the artifact.
- DownloadType string
- Type of download.
- FamilyDisplay stringName 
- The Java family display name.
- FamilyVersion string
- Unique Java family version identifier.
- OsFamily string
- Target Operating System family of the artifact.
- PackageType string
- The package type (typically the file extension) of the artifact.
- PackageType stringDetail 
- Packaging type detail of the artifact.
- ReleaseVersion string
- Unique Java release version identifier.
- TimeDownloaded string
- Timestamp of download.
- architecture String
- Target Operating System architecture of the artifact.
- downloadSource StringId 
- Identifier of the source that downloaded the artifact.
- downloadType String
- Type of download.
- familyDisplay StringName 
- The Java family display name.
- familyVersion String
- Unique Java family version identifier.
- osFamily String
- Target Operating System family of the artifact.
- packageType String
- The package type (typically the file extension) of the artifact.
- packageType StringDetail 
- Packaging type detail of the artifact.
- releaseVersion String
- Unique Java release version identifier.
- timeDownloaded String
- Timestamp of download.
- architecture string
- Target Operating System architecture of the artifact.
- downloadSource stringId 
- Identifier of the source that downloaded the artifact.
- downloadType string
- Type of download.
- familyDisplay stringName 
- The Java family display name.
- familyVersion string
- Unique Java family version identifier.
- osFamily string
- Target Operating System family of the artifact.
- packageType string
- The package type (typically the file extension) of the artifact.
- packageType stringDetail 
- Packaging type detail of the artifact.
- releaseVersion string
- Unique Java release version identifier.
- timeDownloaded string
- Timestamp of download.
- architecture str
- Target Operating System architecture of the artifact.
- download_source_ strid 
- Identifier of the source that downloaded the artifact.
- download_type str
- Type of download.
- family_display_ strname 
- The Java family display name.
- family_version str
- Unique Java family version identifier.
- os_family str
- Target Operating System family of the artifact.
- package_type str
- The package type (typically the file extension) of the artifact.
- package_type_ strdetail 
- Packaging type detail of the artifact.
- release_version str
- Unique Java release version identifier.
- time_downloaded str
- Timestamp of download.
- architecture String
- Target Operating System architecture of the artifact.
- downloadSource StringId 
- Identifier of the source that downloaded the artifact.
- downloadType String
- Type of download.
- familyDisplay StringName 
- The Java family display name.
- familyVersion String
- Unique Java family version identifier.
- osFamily String
- Target Operating System family of the artifact.
- packageType String
- The package type (typically the file extension) of the artifact.
- packageType StringDetail 
- Packaging type detail of the artifact.
- releaseVersion String
- Unique Java release version identifier.
- timeDownloaded String
- Timestamp of download.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.