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,
});
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[_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]
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 dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The OCID of the tenancy.
- Display
Name string - A filter to return only resources that match the display name.
- Filters
Changes to this property will trigger replacement.
Java Downloads Java Download Reports Filter> - Java
Download stringReport Id - 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. string - The OCID of the tenancy.
- Display
Name string - A filter to return only resources that match the display name.
- Filters
Changes to this property will trigger replacement.
Java Downloads Java Download Reports Filter - Java
Download stringReport Id - 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. String - The OCID of the tenancy.
- display
Name String - A filter to return only resources that match the display name.
- filters
Changes to this property will trigger replacement.
Java Downloads Java Download Reports Filter> - java
Download StringReport Id - 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. string - The OCID of the tenancy.
- display
Name string - A filter to return only resources that match the display name.
- filters
Changes to this property will trigger replacement.
Java Downloads Java Download Reports Filter[] - java
Download stringReport Id - 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.
Get Java 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.
- compartment
Id This property is required. String - The OCID of the tenancy.
- display
Name String - A filter to return only resources that match the display name.
- filters
Changes to this property will trigger replacement.
- java
Download 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:
- Compartment
Id string - The OCID of the tenancy scoped to the Java download report.
- Id string
- The provider-assigned unique ID for this managed resource.
- Java
Download List<GetReport Collections Java Downloads Java Download Reports Java Download Report Collection> - The list of java_download_report_collection.
- Display
Name string - Display name for the Java download report.
- Filters
List<Get
Java Downloads Java Download Reports Filter> - Java
Download stringReport Id - State string
- The current state of the Java download report.
- Compartment
Id string - The OCID of the tenancy scoped to the Java download report.
- Id string
- The provider-assigned unique ID for this managed resource.
- Java
Download []GetReport Collections Java Downloads Java Download Reports Java Download Report Collection - The list of java_download_report_collection.
- Display
Name string - Display name for the Java download report.
- Filters
[]Get
Java Downloads Java Download Reports Filter - Java
Download stringReport Id - State string
- The current state of the Java download report.
- compartment
Id String - The OCID of the tenancy scoped to the Java download report.
- id String
- The provider-assigned unique ID for this managed resource.
- java
Download List<GetReport Collections Java Downloads Java Download Reports Java Download Report Collection> - The list of java_download_report_collection.
- display
Name String - Display name for the Java download report.
- filters
List<Get
Java Downloads Java Download Reports Filter> - java
Download StringReport Id - state String
- The current state of the Java download report.
- compartment
Id string - The OCID of the tenancy scoped to the Java download report.
- id string
- The provider-assigned unique ID for this managed resource.
- java
Download GetReport Collections Java Downloads Java Download Reports Java Download Report Collection[] - The list of java_download_report_collection.
- display
Name string - Display name for the Java download report.
- filters
Get
Java Downloads Java Download Reports Filter[] - java
Download 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[jms.report_ collections Get 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[jms.
Get Java Downloads Java Download Reports Filter] - java_
download_ strreport_ id - state str
- The current state of the Java download report.
- compartment
Id String - The OCID of the tenancy scoped to the Java download report.
- id String
- The provider-assigned unique ID for this managed resource.
- java
Download List<Property Map>Report Collections - The list of java_download_report_collection.
- display
Name String - Display name for the Java download report.
- filters List<Property Map>
- java
Download StringReport Id - state String
- The current state of the Java download report.
Supporting Types
GetJavaDownloadsJavaDownloadReportsFilter
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollection
- Items
This property is required. List<GetJava Downloads Java Download Reports Java Download Report Collection Item>
- Items
This property is required. []GetJava Downloads Java Download Reports Java Download Report Collection Item
- items
This property is required. List<GetJava Downloads Java Download Reports Java Download Report Collection Item>
- items
This property is required. GetJava Downloads Java Download Reports Java Download Report Collection Item[]
- items
This property is required. Sequence[jms.Get Java Downloads Java Download Reports Java Download Report Collection Item]
- items
This property is required. List<Property Map>
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem
- Checksum
Type This property is required. string - The algorithm used for calculating the checksum.
- Checksum
Value This property is required. string - The checksum value of the Java download report file.
- Compartment
Id This property is required. string - The OCID of the tenancy.
- Created
Bies This property is required. List<GetJava Downloads Java Download Reports Java Download Report Collection Item Created By> - An authorized principal.
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). - Display
Name This property is required. string - A filter to return only resources that match the display name.
- File
Size In Bytes 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.
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.
- Sort
By This property is required. string - Sort
Order This property is required. string - State
This property is required. string - A filter to return only resources their lifecycleState matches the given lifecycleState.
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"}
- Time
Created This property is required. string - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- Time
End This property is required. string - The end time until when the download records are included (formatted according to RFC3339).
- Time
Start 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. string - The algorithm used for calculating the checksum.
- Checksum
Value This property is required. string - The checksum value of the Java download report file.
- Compartment
Id This property is required. string - The OCID of the tenancy.
- Created
Bies This property is required. []GetJava Downloads Java Download Reports Java Download Report Collection Item Created By - An authorized principal.
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). - Display
Name This property is required. string - A filter to return only resources that match the display name.
- File
Size In Bytes 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.
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.
- Sort
By This property is required. string - Sort
Order This property is required. string - State
This property is required. string - A filter to return only resources their lifecycleState matches the given lifecycleState.
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"}
- Time
Created This property is required. string - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- Time
End This property is required. string - The end time until when the download records are included (formatted according to RFC3339).
- Time
Start 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. String - The algorithm used for calculating the checksum.
- checksum
Value This property is required. String - The checksum value of the Java download report file.
- compartment
Id This property is required. String - The OCID of the tenancy.
- created
Bies This property is required. List<GetJava Downloads Java Download Reports Java Download Report Collection Item Created By> - An authorized principal.
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). - display
Name This property is required. String - A filter to return only resources that match the display name.
- file
Size In Bytes 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.
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.
- sort
By This property is required. String - sort
Order This property is required. String - state
This property is required. String - A filter to return only resources their lifecycleState matches the given lifecycleState.
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"}
- time
Created This property is required. String - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- time
End This property is required. String - The end time until when the download records are included (formatted according to RFC3339).
- time
Start 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. string - The algorithm used for calculating the checksum.
- checksum
Value This property is required. string - The checksum value of the Java download report file.
- compartment
Id This property is required. string - The OCID of the tenancy.
- created
Bies This property is required. GetJava Downloads Java Download Reports Java Download Report Collection Item Created By[] - An authorized principal.
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). - display
Name This property is required. string - A filter to return only resources that match the display name.
- file
Size In Bytes 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.
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.
- sort
By This property is required. string - sort
Order This property is required. string - state
This property is required. string - A filter to return only resources their lifecycleState matches the given lifecycleState.
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"}
- time
Created This property is required. string - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- time
End This property is required. string - The end time until when the download records are included (formatted according to RFC3339).
- time
Start 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.Get Java Downloads Java Download Reports Java Download Report Collection Item Created By] - An authorized principal.
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.
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.
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).
- checksum
Type This property is required. String - The algorithm used for calculating the checksum.
- checksum
Value This property is required. String - The checksum value of the Java download report file.
- compartment
Id This property is required. String - The OCID of the tenancy.
- created
Bies This property is required. List<Property Map> - An authorized principal.
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). - display
Name This property is required. String - A filter to return only resources that match the display name.
- file
Size In Bytes 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.
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.
- sort
By This property is required. String - sort
Order This property is required. String - state
This property is required. String - A filter to return only resources their lifecycleState matches the given lifecycleState.
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"}
- time
Created This property is required. String - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- time
End This property is required. String - The end time until when the download records are included (formatted according to RFC3339).
- time
Start This property is required. String - The start time from when the download records are included (formatted according to RFC3339).
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy
- Display
Name 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. 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. 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. 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.
- display
Name 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.