1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaDownloadsJavaDownloadRecords
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.Jms.getJavaDownloadsJavaDownloadRecords

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    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/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getJavaDownloadsJavaDownloadRecords:getJavaDownloadsJavaDownloadRecords
      arguments:
        # arguments dictionary

    The 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<GetJavaDownloadsJavaDownloadRecordsFilter>
    OsFamily string
    Target Operating System family of the artifact.
    PackageTypeDetail string
    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 []GetJavaDownloadsJavaDownloadRecordsFilter
    OsFamily string
    Target Operating System family of the artifact.
    PackageTypeDetail string
    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<GetJavaDownloadsJavaDownloadRecordsFilter>
    osFamily String
    Target Operating System family of the artifact.
    packageTypeDetail String
    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 GetJavaDownloadsJavaDownloadRecordsFilter[]
    osFamily string
    Target Operating System family of the artifact.
    packageTypeDetail string
    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.GetJavaDownloadsJavaDownloadRecordsFilter]
    os_family str
    Target Operating System family of the artifact.
    package_type_detail str
    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.
    packageTypeDetail String
    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.
    JavaDownloadRecordCollections List<GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection>
    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<GetJavaDownloadsJavaDownloadRecordsFilter>
    OsFamily string
    The target Operating System family for the artifact.
    PackageTypeDetail string
    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.
    JavaDownloadRecordCollections []GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection
    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 []GetJavaDownloadsJavaDownloadRecordsFilter
    OsFamily string
    The target Operating System family for the artifact.
    PackageTypeDetail string
    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.
    javaDownloadRecordCollections List<GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection>
    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<GetJavaDownloadsJavaDownloadRecordsFilter>
    osFamily String
    The target Operating System family for the artifact.
    packageTypeDetail String
    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.
    javaDownloadRecordCollections GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection[]
    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 GetJavaDownloadsJavaDownloadRecordsFilter[]
    osFamily string
    The target Operating System family for the artifact.
    packageTypeDetail string
    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_record_collections Sequence[jms.GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection]
    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.GetJavaDownloadsJavaDownloadRecordsFilter]
    os_family str
    The target Operating System family for the artifact.
    package_type_detail str
    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.
    javaDownloadRecordCollections List<Property Map>
    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.
    packageTypeDetail String
    Additional information about the package type.
    releaseVersion String
    The Java release version identifier.
    timeEnd String
    timeStart String

    Supporting Types

    GetJavaDownloadsJavaDownloadRecordsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollection

    items List<Property Map>
    A list of Java download records in a tenancy.

    GetJavaDownloadsJavaDownloadRecordsJavaDownloadRecordCollectionItem

    Architecture string
    Target Operating System architecture of the artifact.
    DownloadSourceId string
    Identifier of the source that downloaded the artifact.
    DownloadType string
    Type of download.
    FamilyDisplayName string
    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.
    PackageTypeDetail string
    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.
    DownloadSourceId string
    Identifier of the source that downloaded the artifact.
    DownloadType string
    Type of download.
    FamilyDisplayName string
    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.
    PackageTypeDetail string
    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.
    downloadSourceId String
    Identifier of the source that downloaded the artifact.
    downloadType String
    Type of download.
    familyDisplayName String
    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.
    packageTypeDetail String
    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.
    downloadSourceId string
    Identifier of the source that downloaded the artifact.
    downloadType string
    Type of download.
    familyDisplayName string
    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.
    packageTypeDetail string
    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_id str
    Identifier of the source that downloaded the artifact.
    download_type str
    Type of download.
    family_display_name str
    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_detail str
    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.
    downloadSourceId String
    Identifier of the source that downloaded the artifact.
    downloadType String
    Type of download.
    familyDisplayName String
    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.
    packageTypeDetail String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi