Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Jms.getJavaDownloadsJavaDownloadReports
Explore with Pulumi AI
This data source provides the list of Java Download Reports in Oracle Cloud Infrastructure Jms Java Downloads service.
Returns a list of JavaDownloadReports.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaDownloadReports = oci.Jms.getJavaDownloadsJavaDownloadReports({
    compartmentId: tenancyOcid,
    displayName: javaDownloadReportDisplayName,
    javaDownloadReportId: testJavaDownloadReport.id,
    state: javaDownloadReportState,
});
import pulumi
import pulumi_oci as oci
test_java_download_reports = oci.Jms.get_java_downloads_java_download_reports(compartment_id=tenancy_ocid,
    display_name=java_download_report_display_name,
    java_download_report_id=test_java_download_report["id"],
    state=java_download_report_state)
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.GetJavaDownloadsJavaDownloadReports(ctx, &jms.GetJavaDownloadsJavaDownloadReportsArgs{
			CompartmentId:        tenancyOcid,
			DisplayName:          pulumi.StringRef(javaDownloadReportDisplayName),
			JavaDownloadReportId: pulumi.StringRef(testJavaDownloadReport.Id),
			State:                pulumi.StringRef(javaDownloadReportState),
		}, 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 testJavaDownloadReports = Oci.Jms.GetJavaDownloadsJavaDownloadReports.Invoke(new()
    {
        CompartmentId = tenancyOcid,
        DisplayName = javaDownloadReportDisplayName,
        JavaDownloadReportId = testJavaDownloadReport.Id,
        State = javaDownloadReportState,
    });
});
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.GetJavaDownloadsJavaDownloadReportsArgs;
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 testJavaDownloadReports = JmsFunctions.getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs.builder()
            .compartmentId(tenancyOcid)
            .displayName(javaDownloadReportDisplayName)
            .javaDownloadReportId(testJavaDownloadReport.id())
            .state(javaDownloadReportState)
            .build());
    }
}
variables:
  testJavaDownloadReports:
    fn::invoke:
      function: oci:Jms:getJavaDownloadsJavaDownloadReports
      arguments:
        compartmentId: ${tenancyOcid}
        displayName: ${javaDownloadReportDisplayName}
        javaDownloadReportId: ${testJavaDownloadReport.id}
        state: ${javaDownloadReportState}
Using getJavaDownloadsJavaDownloadReports
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 getJavaDownloadsJavaDownloadReports(args: GetJavaDownloadsJavaDownloadReportsArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaDownloadReportsResult>
function getJavaDownloadsJavaDownloadReportsOutput(args: GetJavaDownloadsJavaDownloadReportsOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaDownloadReportsResult>def get_java_downloads_java_download_reports(compartment_id: Optional[str] = None,
                                             display_name: Optional[str] = None,
                                             filters: Optional[Sequence[GetJavaDownloadsJavaDownloadReportsFilter]] = None,
                                             java_download_report_id: Optional[str] = None,
                                             state: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaDownloadReportsResult
def get_java_downloads_java_download_reports_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                             display_name: Optional[pulumi.Input[str]] = None,
                                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetJavaDownloadsJavaDownloadReportsFilterArgs]]]] = None,
                                             java_download_report_id: Optional[pulumi.Input[str]] = None,
                                             state: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaDownloadReportsResult]func GetJavaDownloadsJavaDownloadReports(ctx *Context, args *GetJavaDownloadsJavaDownloadReportsArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaDownloadReportsResult, error)
func GetJavaDownloadsJavaDownloadReportsOutput(ctx *Context, args *GetJavaDownloadsJavaDownloadReportsOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaDownloadReportsResultOutput> Note: This function is named GetJavaDownloadsJavaDownloadReports in the Go SDK.
public static class GetJavaDownloadsJavaDownloadReports 
{
    public static Task<GetJavaDownloadsJavaDownloadReportsResult> InvokeAsync(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOptions? opts = null)
    public static Output<GetJavaDownloadsJavaDownloadReportsResult> Invoke(GetJavaDownloadsJavaDownloadReportsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJavaDownloadsJavaDownloadReportsResult> getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOptions options)
public static Output<GetJavaDownloadsJavaDownloadReportsResult> getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the tenancy.
- DisplayName string
- A filter to return only resources that match the display name.
- Filters
List<GetJava Downloads Java Download Reports Filter> 
- JavaDownload stringReport Id 
- Unique Java download report identifier.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- CompartmentId string
- The OCID of the tenancy.
- DisplayName string
- A filter to return only resources that match the display name.
- Filters
[]GetJava Downloads Java Download Reports Filter 
- JavaDownload stringReport Id 
- Unique Java download report identifier.
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartmentId String
- The OCID of the tenancy.
- displayName String
- A filter to return only resources that match the display name.
- filters
List<GetJava Downloads Java Download Reports Filter> 
- javaDownload StringReport Id 
- Unique Java download report identifier.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartmentId string
- The OCID of the tenancy.
- displayName string
- A filter to return only resources that match the display name.
- filters
GetJava Downloads Java Download Reports Filter[] 
- javaDownload stringReport Id 
- Unique Java download report identifier.
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartment_id str
- The OCID of the tenancy.
- display_name str
- A filter to return only resources that match the display name.
- filters
Sequence[GetJava Downloads Java Download Reports Filter] 
- java_download_ strreport_ id 
- Unique Java download report identifier.
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- compartmentId String
- The OCID of the tenancy.
- displayName String
- A filter to return only resources that match the display name.
- filters List<Property Map>
- javaDownload StringReport Id 
- Unique Java download report identifier.
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
getJavaDownloadsJavaDownloadReports Result
The following output properties are available:
- CompartmentId string
- The OCID of the tenancy scoped to the Java download report.
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaDownload List<GetReport Collections Java Downloads Java Download Reports Java Download Report Collection> 
- The list of java_download_report_collection.
- DisplayName string
- Display name for the Java download report.
- Filters
List<GetJava Downloads Java Download Reports Filter> 
- JavaDownload stringReport Id 
- State string
- The current state of the Java download report.
- CompartmentId string
- The OCID of the tenancy scoped to the Java download report.
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaDownload []GetReport Collections Java Downloads Java Download Reports Java Download Report Collection 
- The list of java_download_report_collection.
- DisplayName string
- Display name for the Java download report.
- Filters
[]GetJava Downloads Java Download Reports Filter 
- JavaDownload stringReport Id 
- State string
- The current state of the Java download report.
- compartmentId String
- The OCID of the tenancy scoped to the Java download report.
- id String
- The provider-assigned unique ID for this managed resource.
- javaDownload List<GetReport Collections Java Downloads Java Download Reports Java Download Report Collection> 
- The list of java_download_report_collection.
- displayName String
- Display name for the Java download report.
- filters
List<GetJava Downloads Java Download Reports Filter> 
- javaDownload StringReport Id 
- state String
- The current state of the Java download report.
- compartmentId string
- The OCID of the tenancy scoped to the Java download report.
- id string
- The provider-assigned unique ID for this managed resource.
- javaDownload GetReport Collections Java Downloads Java Download Reports Java Download Report Collection[] 
- The list of java_download_report_collection.
- displayName string
- Display name for the Java download report.
- filters
GetJava Downloads Java Download Reports Filter[] 
- javaDownload stringReport Id 
- state string
- The current state of the Java download report.
- compartment_id str
- The OCID of the tenancy scoped to the Java download report.
- id str
- The provider-assigned unique ID for this managed resource.
- java_download_ Sequence[Getreport_ collections Java Downloads Java Download Reports Java Download Report Collection] 
- The list of java_download_report_collection.
- display_name str
- Display name for the Java download report.
- filters
Sequence[GetJava Downloads Java Download Reports Filter] 
- java_download_ strreport_ id 
- state str
- The current state of the Java download report.
- compartmentId String
- The OCID of the tenancy scoped to the Java download report.
- id String
- The provider-assigned unique ID for this managed resource.
- javaDownload List<Property Map>Report Collections 
- The list of java_download_report_collection.
- displayName String
- Display name for the Java download report.
- filters List<Property Map>
- javaDownload StringReport Id 
- state String
- The current state of the Java download report.
Supporting Types
GetJavaDownloadsJavaDownloadReportsFilter      
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection         
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem          
- ChecksumType string
- The algorithm used for calculating the checksum.
- ChecksumValue string
- The checksum value of the Java download report file.
- CompartmentId string
- The OCID of the tenancy.
- CreatedBies List<GetJava Downloads Java Download Reports Java Download Report Collection Item Created By> 
- An authorized principal.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- DisplayName string
- A filter to return only resources that match the display name.
- FileSize stringIn Bytes 
- Approximate size of the Java download report file in bytes.
- Format string
- The file format of the Java download report.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- Id string
- The OCID of the Java download report.
- SortBy string
- SortOrder string
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- TimeEnd string
- The end time until when the download records are included (formatted according to RFC3339).
- TimeStart string
- The start time from when the download records are included (formatted according to RFC3339).
- ChecksumType string
- The algorithm used for calculating the checksum.
- ChecksumValue string
- The checksum value of the Java download report file.
- CompartmentId string
- The OCID of the tenancy.
- CreatedBies []GetJava Downloads Java Download Reports Java Download Report Collection Item Created By 
- An authorized principal.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- DisplayName string
- A filter to return only resources that match the display name.
- FileSize stringIn Bytes 
- Approximate size of the Java download report file in bytes.
- Format string
- The file format of the Java download report.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- Id string
- The OCID of the Java download report.
- SortBy string
- SortOrder string
- State string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- TimeEnd string
- The end time until when the download records are included (formatted according to RFC3339).
- TimeStart string
- The start time from when the download records are included (formatted according to RFC3339).
- checksumType String
- The algorithm used for calculating the checksum.
- checksumValue String
- The checksum value of the Java download report file.
- compartmentId String
- The OCID of the tenancy.
- createdBies List<GetJava Downloads Java Download Reports Java Download Report Collection Item Created By> 
- An authorized principal.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- displayName String
- A filter to return only resources that match the display name.
- fileSize StringIn Bytes 
- Approximate size of the Java download report file in bytes.
- format String
- The file format of the Java download report.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id String
- The OCID of the Java download report.
- sortBy String
- sortOrder String
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- timeEnd String
- The end time until when the download records are included (formatted according to RFC3339).
- timeStart String
- The start time from when the download records are included (formatted according to RFC3339).
- checksumType string
- The algorithm used for calculating the checksum.
- checksumValue string
- The checksum value of the Java download report file.
- compartmentId string
- The OCID of the tenancy.
- createdBies GetJava Downloads Java Download Reports Java Download Report Collection Item Created By[] 
- An authorized principal.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- displayName string
- A filter to return only resources that match the display name.
- fileSize stringIn Bytes 
- Approximate size of the Java download report file in bytes.
- format string
- The file format of the Java download report.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id string
- The OCID of the Java download report.
- sortBy string
- sortOrder string
- state string
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- timeEnd string
- The end time until when the download records are included (formatted according to RFC3339).
- timeStart string
- The start time from when the download records are included (formatted according to RFC3339).
- checksum_type str
- The algorithm used for calculating the checksum.
- checksum_value str
- The checksum value of the Java download report file.
- compartment_id str
- The OCID of the tenancy.
- created_bies Sequence[GetJava Downloads Java Download Reports Java Download Report Collection Item Created By] 
- An authorized principal.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- display_name str
- A filter to return only resources that match the display name.
- file_size_ strin_ bytes 
- Approximate size of the Java download report file in bytes.
- format str
- The file format of the Java download report.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id str
- The OCID of the Java download report.
- sort_by str
- sort_order str
- state str
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- time_end str
- The end time until when the download records are included (formatted according to RFC3339).
- time_start str
- The start time from when the download records are included (formatted according to RFC3339).
- checksumType String
- The algorithm used for calculating the checksum.
- checksumValue String
- The checksum value of the Java download report file.
- compartmentId String
- The OCID of the tenancy.
- createdBies List<Property Map>
- An authorized principal.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}. (See Understanding Free-form Tags).
- displayName String
- A filter to return only resources that match the display name.
- fileSize StringIn Bytes 
- Approximate size of the Java download report file in bytes.
- format String
- The file format of the Java download report.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}. (See Managing Tags and Tag Namespaces.)
- id String
- The OCID of the Java download report.
- sortBy String
- sortOrder String
- state String
- A filter to return only resources their lifecycleState matches the given lifecycleState.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- timeEnd String
- The end time until when the download records are included (formatted according to RFC3339).
- timeStart String
- The start time from when the download records are included (formatted according to RFC3339).
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy            
- DisplayName string
- A filter to return only resources that match the display name.
- Email string
- The email of the principal.
- Id string
- The OCID of the Java download report.
- DisplayName string
- A filter to return only resources that match the display name.
- Email string
- The email of the principal.
- Id string
- The OCID of the Java download report.
- displayName String
- A filter to return only resources that match the display name.
- email String
- The email of the principal.
- id String
- The OCID of the Java download report.
- displayName string
- A filter to return only resources that match the display name.
- email string
- The email of the principal.
- id string
- The OCID of the Java download report.
- display_name str
- A filter to return only resources that match the display name.
- email str
- The email of the principal.
- id str
- The OCID of the Java download report.
- displayName String
- A filter to return only resources that match the display name.
- email String
- The email of the principal.
- id String
- The OCID of the Java download report.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.