1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaDownloadsJavaDownloadReports
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testJavaDownloadReports:
    fn::invoke:
      function: oci:Jms:getJavaDownloadsJavaDownloadReports
      arguments:
        compartmentId: ${tenancyOcid}
        displayName: ${javaDownloadReportDisplayName}
        javaDownloadReportId: ${testJavaDownloadReport.id}
        state: ${javaDownloadReportState}
Copy

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>
Copy
def get_java_downloads_java_download_reports(compartment_id: Optional[str] = None,
                                             display_name: Optional[str] = None,
                                             filters: Optional[Sequence[_jms.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[_jms.GetJavaDownloadsJavaDownloadReportsFilterArgs]]]] = None,
                                             java_download_report_id: Optional[pulumi.Input[str]] = None,
                                             state: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaDownloadReportsResult]
Copy
func GetJavaDownloadsJavaDownloadReports(ctx *Context, args *GetJavaDownloadsJavaDownloadReportsArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaDownloadReportsResult, error)
func GetJavaDownloadsJavaDownloadReportsOutput(ctx *Context, args *GetJavaDownloadsJavaDownloadReportsOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaDownloadReportsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetJavaDownloadsJavaDownloadReportsResult> getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOptions options)
public static Output<GetJavaDownloadsJavaDownloadReportsResult> getJavaDownloadsJavaDownloadReports(GetJavaDownloadsJavaDownloadReportsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the tenancy.
DisplayName string
A filter to return only resources that match the display name.
Filters Changes to this property will trigger replacement. List<GetJavaDownloadsJavaDownloadReportsFilter>
JavaDownloadReportId string
Unique Java download report identifier.
State string
A filter to return only resources their lifecycleState matches the given lifecycleState.
CompartmentId This property is required. string
The OCID of the tenancy.
DisplayName string
A filter to return only resources that match the display name.
Filters Changes to this property will trigger replacement. []GetJavaDownloadsJavaDownloadReportsFilter
JavaDownloadReportId string
Unique Java download report identifier.
State string
A filter to return only resources their lifecycleState matches the given lifecycleState.
compartmentId This property is required. String
The OCID of the tenancy.
displayName String
A filter to return only resources that match the display name.
filters Changes to this property will trigger replacement. List<GetJavaDownloadsJavaDownloadReportsFilter>
javaDownloadReportId String
Unique Java download report identifier.
state String
A filter to return only resources their lifecycleState matches the given lifecycleState.
compartmentId This property is required. string
The OCID of the tenancy.
displayName string
A filter to return only resources that match the display name.
filters Changes to this property will trigger replacement. GetJavaDownloadsJavaDownloadReportsFilter[]
javaDownloadReportId string
Unique Java download report identifier.
state string
A filter to return only resources their lifecycleState matches the given lifecycleState.
compartment_id This property is required. str
The OCID of the tenancy.
display_name str
A filter to return only resources that match the display name.
filters Changes to this property will trigger replacement. Sequence[jms.GetJavaDownloadsJavaDownloadReportsFilter]
java_download_report_id str
Unique Java download report identifier.
state str
A filter to return only resources their lifecycleState matches the given lifecycleState.
compartmentId This property is required. String
The OCID of the tenancy.
displayName String
A filter to return only resources that match the display name.
filters Changes to this property will trigger replacement. List<Property Map>
javaDownloadReportId String
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.
JavaDownloadReportCollections List<GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection>
The list of java_download_report_collection.
DisplayName string
Display name for the Java download report.
Filters List<GetJavaDownloadsJavaDownloadReportsFilter>
JavaDownloadReportId string
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.
JavaDownloadReportCollections []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection
The list of java_download_report_collection.
DisplayName string
Display name for the Java download report.
Filters []GetJavaDownloadsJavaDownloadReportsFilter
JavaDownloadReportId string
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.
javaDownloadReportCollections List<GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection>
The list of java_download_report_collection.
displayName String
Display name for the Java download report.
filters List<GetJavaDownloadsJavaDownloadReportsFilter>
javaDownloadReportId String
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.
javaDownloadReportCollections GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection[]
The list of java_download_report_collection.
displayName string
Display name for the Java download report.
filters GetJavaDownloadsJavaDownloadReportsFilter[]
javaDownloadReportId string
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_report_collections Sequence[jms.GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection]
The list of java_download_report_collection.
display_name str
Display name for the Java download report.
filters Sequence[jms.GetJavaDownloadsJavaDownloadReportsFilter]
java_download_report_id str
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.
javaDownloadReportCollections List<Property Map>
The list of java_download_report_collection.
displayName String
Display name for the Java download report.
filters List<Property Map>
javaDownloadReportId String
state String
The current state of the Java download report.

Supporting Types

GetJavaDownloadsJavaDownloadReportsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection

items This property is required. List<Property Map>

GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem

ChecksumType This property is required. string
The algorithm used for calculating the checksum.
ChecksumValue This property is required. string
The checksum value of the Java download report file.
CompartmentId This property is required. string
The OCID of the tenancy.
CreatedBies This property is required. List<GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy>
An authorized principal.
DefinedTags This property is required. 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 This property is required. string
A filter to return only resources that match the display name.
FileSizeInBytes This property is required. string
Approximate size of the Java download report file in bytes.
Format This property is required. string
The file format of the Java download report.
FreeformTags This property is required. 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 This property is required. string
The OCID of the Java download report.
SortBy This property is required. string
SortOrder This property is required. string
State This property is required. string
A filter to return only resources their lifecycleState matches the given lifecycleState.
SystemTags This property is required. 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 This property is required. string
The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
TimeEnd This property is required. string
The end time until when the download records are included (formatted according to RFC3339).
TimeStart This property is required. string
The start time from when the download records are included (formatted according to RFC3339).
ChecksumType This property is required. string
The algorithm used for calculating the checksum.
ChecksumValue This property is required. string
The checksum value of the Java download report file.
CompartmentId This property is required. string
The OCID of the tenancy.
CreatedBies This property is required. []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy
An authorized principal.
DefinedTags This property is required. 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 This property is required. string
A filter to return only resources that match the display name.
FileSizeInBytes This property is required. string
Approximate size of the Java download report file in bytes.
Format This property is required. string
The file format of the Java download report.
FreeformTags This property is required. 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 This property is required. string
The OCID of the Java download report.
SortBy This property is required. string
SortOrder This property is required. string
State This property is required. string
A filter to return only resources their lifecycleState matches the given lifecycleState.
SystemTags This property is required. 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 This property is required. string
The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
TimeEnd This property is required. string
The end time until when the download records are included (formatted according to RFC3339).
TimeStart This property is required. string
The start time from when the download records are included (formatted according to RFC3339).
checksumType This property is required. String
The algorithm used for calculating the checksum.
checksumValue This property is required. String
The checksum value of the Java download report file.
compartmentId This property is required. String
The OCID of the tenancy.
createdBies This property is required. List<GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy>
An authorized principal.
definedTags This property is required. 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 This property is required. String
A filter to return only resources that match the display name.
fileSizeInBytes This property is required. String
Approximate size of the Java download report file in bytes.
format This property is required. String
The file format of the Java download report.
freeformTags This property is required. 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 This property is required. String
The OCID of the Java download report.
sortBy This property is required. String
sortOrder This property is required. String
state This property is required. String
A filter to return only resources their lifecycleState matches the given lifecycleState.
systemTags This property is required. 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 This property is required. String
The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
timeEnd This property is required. String
The end time until when the download records are included (formatted according to RFC3339).
timeStart This property is required. String
The start time from when the download records are included (formatted according to RFC3339).
checksumType This property is required. string
The algorithm used for calculating the checksum.
checksumValue This property is required. string
The checksum value of the Java download report file.
compartmentId This property is required. string
The OCID of the tenancy.
createdBies This property is required. GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy[]
An authorized principal.
definedTags This property is required. {[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 This property is required. string
A filter to return only resources that match the display name.
fileSizeInBytes This property is required. string
Approximate size of the Java download report file in bytes.
format This property is required. string
The file format of the Java download report.
freeformTags This property is required. {[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 This property is required. string
The OCID of the Java download report.
sortBy This property is required. string
sortOrder This property is required. string
state This property is required. string
A filter to return only resources their lifecycleState matches the given lifecycleState.
systemTags This property is required. {[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 This property is required. string
The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
timeEnd This property is required. string
The end time until when the download records are included (formatted according to RFC3339).
timeStart This property is required. string
The start time from when the download records are included (formatted according to RFC3339).
checksum_type This property is required. str
The algorithm used for calculating the checksum.
checksum_value This property is required. str
The checksum value of the Java download report file.
compartment_id This property is required. str
The OCID of the tenancy.
created_bies This property is required. Sequence[jms.GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy]
An authorized principal.
defined_tags This property is required. 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 This property is required. str
A filter to return only resources that match the display name.
file_size_in_bytes This property is required. str
Approximate size of the Java download report file in bytes.
format This property is required. str
The file format of the Java download report.
freeform_tags This property is required. 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 This property is required. str
The OCID of the Java download report.
sort_by This property is required. str
sort_order This property is required. str
state This property is required. str
A filter to return only resources their lifecycleState matches the given lifecycleState.
system_tags This property is required. 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 This property is required. str
The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
time_end This property is required. str
The end time until when the download records are included (formatted according to RFC3339).
time_start This property is required. str
The start time from when the download records are included (formatted according to RFC3339).
checksumType This property is required. String
The algorithm used for calculating the checksum.
checksumValue This property is required. String
The checksum value of the Java download report file.
compartmentId This property is required. String
The OCID of the tenancy.
createdBies This property is required. List<Property Map>
An authorized principal.
definedTags This property is required. 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 This property is required. String
A filter to return only resources that match the display name.
fileSizeInBytes This property is required. String
Approximate size of the Java download report file in bytes.
format This property is required. String
The file format of the Java download report.
freeformTags This property is required. 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 This property is required. String
The OCID of the Java download report.
sortBy This property is required. String
sortOrder This property is required. String
state This property is required. String
A filter to return only resources their lifecycleState matches the given lifecycleState.
systemTags This property is required. 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 This property is required. String
The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
timeEnd This property is required. String
The end time until when the download records are included (formatted according to RFC3339).
timeStart This property is required. String
The start time from when the download records are included (formatted according to RFC3339).

GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy

DisplayName This property is required. string
A filter to return only resources that match the display name.
Email This property is required. string
The email of the principal.
Id This property is required. string
The OCID of the Java download report.
DisplayName This property is required. string
A filter to return only resources that match the display name.
Email This property is required. string
The email of the principal.
Id This property is required. string
The OCID of the Java download report.
displayName This property is required. String
A filter to return only resources that match the display name.
email This property is required. String
The email of the principal.
id This property is required. String
The OCID of the Java download report.
displayName This property is required. string
A filter to return only resources that match the display name.
email This property is required. string
The email of the principal.
id This property is required. string
The OCID of the Java download report.
display_name This property is required. str
A filter to return only resources that match the display name.
email This property is required. str
The email of the principal.
id This property is required. str
The OCID of the Java download report.
displayName This property is required. String
A filter to return only resources that match the display name.
email This property is required. String
The email of the principal.
id This property is required. 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 oci Terraform Provider.