Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.Jms.getJavaDownloadsJavaDownloadRecords
Start a Neo task
Explain and create an oci.Jms.getJavaDownloadsJavaDownloadRecords resource
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/v3/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[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[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:
- Compartment
Id string - The OCID of the tenancy.
- Architecture string
- Target Operating System architecture of the artifact.
- Family
Version string - Unique Java family version identifier.
- Filters
List<Get
Java Downloads Java Download Records Filter> - Os
Family string - Target Operating System family of the artifact.
- Package
Type stringDetail - Packaging type detail of the artifact.
- Release
Version string - Unique Java release version identifier.
- Time
End string - The end of the time period for which reports are searched (formatted according to RFC3339).
- Time
Start string - The start of the time period for which reports are searched (formatted according to RFC3339).
- Compartment
Id string - The OCID of the tenancy.
- Architecture string
- Target Operating System architecture of the artifact.
- Family
Version string - Unique Java family version identifier.
- Filters
[]Get
Java Downloads Java Download Records Filter - Os
Family string - Target Operating System family of the artifact.
- Package
Type stringDetail - Packaging type detail of the artifact.
- Release
Version string - Unique Java release version identifier.
- Time
End string - The end of the time period for which reports are searched (formatted according to RFC3339).
- Time
Start string - The start of the time period for which reports are searched (formatted according to RFC3339).
- compartment
Id String - The OCID of the tenancy.
- architecture String
- Target Operating System architecture of the artifact.
- family
Version String - Unique Java family version identifier.
- filters
List<Get
Java Downloads Java Download Records Filter> - os
Family String - Target Operating System family of the artifact.
- package
Type StringDetail - Packaging type detail of the artifact.
- release
Version String - Unique Java release version identifier.
- time
End String - The end of the time period for which reports are searched (formatted according to RFC3339).
- time
Start String - The start of the time period for which reports are searched (formatted according to RFC3339).
- compartment
Id string - The OCID of the tenancy.
- architecture string
- Target Operating System architecture of the artifact.
- family
Version string - Unique Java family version identifier.
- filters
Get
Java Downloads Java Download Records Filter[] - os
Family string - Target Operating System family of the artifact.
- package
Type stringDetail - Packaging type detail of the artifact.
- release
Version string - Unique Java release version identifier.
- time
End string - The end of the time period for which reports are searched (formatted according to RFC3339).
- time
Start 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[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).
- compartment
Id String - The OCID of the tenancy.
- architecture String
- Target Operating System architecture of the artifact.
- family
Version String - Unique Java family version identifier.
- filters List<Property Map>
- os
Family String - Target Operating System family of the artifact.
- package
Type StringDetail - Packaging type detail of the artifact.
- release
Version String - Unique Java release version identifier.
- time
End String - The end of the time period for which reports are searched (formatted according to RFC3339).
- time
Start String - The start of the time period for which reports are searched (formatted according to RFC3339).
getJavaDownloadsJavaDownloadRecords Result
The following output properties are available:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Java
Download 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.
- Family
Version string - The Java family version identifier.
- Filters
List<Get
Java Downloads Java Download Records Filter> - Os
Family string - The target Operating System family for the artifact.
- Package
Type stringDetail - Additional information about the package type.
- Release
Version string - The Java release version identifier.
- Time
End string - Time
Start string
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Java
Download []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.
- Family
Version string - The Java family version identifier.
- Filters
[]Get
Java Downloads Java Download Records Filter - Os
Family string - The target Operating System family for the artifact.
- Package
Type stringDetail - Additional information about the package type.
- Release
Version string - The Java release version identifier.
- Time
End string - Time
Start string
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- java
Download 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.
- family
Version String - The Java family version identifier.
- filters
List<Get
Java Downloads Java Download Records Filter> - os
Family String - The target Operating System family for the artifact.
- package
Type StringDetail - Additional information about the package type.
- release
Version String - The Java release version identifier.
- time
End String - time
Start String
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- java
Download 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.
- family
Version string - The Java family version identifier.
- filters
Get
Java Downloads Java Download Records Filter[] - os
Family string - The target Operating System family for the artifact.
- package
Type stringDetail - Additional information about the package type.
- release
Version string - The Java release version identifier.
- time
End string - time
Start string
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- java_
download_ Sequence[Getrecord_ collections 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[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
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- java
Download List<Property Map>Record Collections - The list of java_download_record_collection.
- architecture String
- The target Operating System architecture for the artifact.
- family
Version String - The Java family version identifier.
- filters List<Property Map>
- os
Family String - The target Operating System family for the artifact.
- package
Type StringDetail - Additional information about the package type.
- release
Version String - The Java release version identifier.
- time
End String - time
Start String
Supporting Types
GetJavaDownloadsJavaDownloadRecordsFilter
GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection
- Items
List<Get
Java Downloads Java Download Records Java Download Record Collection Item> - A list of Java download records in a tenancy.
- Items
[]Get
Java Downloads Java Download Records Java Download Record Collection Item - A list of Java download records in a tenancy.
- items
List<Get
Java Downloads Java Download Records Java Download Record Collection Item> - A list of Java download records in a tenancy.
- items
Get
Java Downloads Java Download Records Java Download Record Collection Item[] - A list of Java download records in a tenancy.
- items
Sequence[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.
- Download
Source stringId - Identifier of the source that downloaded the artifact.
- Download
Type string - Type of download.
- Family
Display stringName - The Java family display name.
- Family
Version string - Unique Java family version identifier.
- Os
Family string - Target Operating System family of the artifact.
- Package
Type string - The package type (typically the file extension) of the artifact.
- Package
Type stringDetail - Packaging type detail of the artifact.
- Release
Version string - Unique Java release version identifier.
- Time
Downloaded string - Timestamp of download.
- Architecture string
- Target Operating System architecture of the artifact.
- Download
Source stringId - Identifier of the source that downloaded the artifact.
- Download
Type string - Type of download.
- Family
Display stringName - The Java family display name.
- Family
Version string - Unique Java family version identifier.
- Os
Family string - Target Operating System family of the artifact.
- Package
Type string - The package type (typically the file extension) of the artifact.
- Package
Type stringDetail - Packaging type detail of the artifact.
- Release
Version string - Unique Java release version identifier.
- Time
Downloaded string - Timestamp of download.
- architecture String
- Target Operating System architecture of the artifact.
- download
Source StringId - Identifier of the source that downloaded the artifact.
- download
Type String - Type of download.
- family
Display StringName - The Java family display name.
- family
Version String - Unique Java family version identifier.
- os
Family String - Target Operating System family of the artifact.
- package
Type String - The package type (typically the file extension) of the artifact.
- package
Type StringDetail - Packaging type detail of the artifact.
- release
Version String - Unique Java release version identifier.
- time
Downloaded String - Timestamp of download.
- architecture string
- Target Operating System architecture of the artifact.
- download
Source stringId - Identifier of the source that downloaded the artifact.
- download
Type string - Type of download.
- family
Display stringName - The Java family display name.
- family
Version string - Unique Java family version identifier.
- os
Family string - Target Operating System family of the artifact.
- package
Type string - The package type (typically the file extension) of the artifact.
- package
Type stringDetail - Packaging type detail of the artifact.
- release
Version string - Unique Java release version identifier.
- time
Downloaded 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.
- download
Source StringId - Identifier of the source that downloaded the artifact.
- download
Type String - Type of download.
- family
Display StringName - The Java family display name.
- family
Version String - Unique Java family version identifier.
- os
Family String - Target Operating System family of the artifact.
- package
Type String - The package type (typically the file extension) of the artifact.
- package
Type StringDetail - Packaging type detail of the artifact.
- release
Version String - Unique Java release version identifier.
- time
Downloaded 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.
