Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Jms/getJavaDownloadsJavaDownloadReports:getJavaDownloadsJavaDownloadReports
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the tenancy.
- Display
Name string - A filter to return only resources that match the display name.
- Filters
List<Get
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 string - The OCID of the tenancy.
- Display
Name string - A filter to return only resources that match the display name.
- Filters
[]Get
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 String - The OCID of the tenancy.
- display
Name String - A filter to return only resources that match the display name.
- filters
List<Get
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 string - The OCID of the tenancy.
- display
Name string - A filter to return only resources that match the display name.
- filters
Get
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 str - The OCID of the tenancy.
- display_
name str - A filter to return only resources that match the display name.
- filters
Sequence[jms.
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 String - The OCID of the tenancy.
- display
Name String - A filter to return only resources that match the display name.
- filters List<Property Map>
- 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
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItem
- Checksum
Type string - The algorithm used for calculating the checksum.
- Checksum
Value string - The checksum value of the Java download report file.
- Compartment
Id string - The OCID of the tenancy.
- Created
Bies 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). - Display
Name string - A filter to return only resources that match the display name.
- File
Size 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.
- Sort
By string - Sort
Order 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"}
- Time
Created string - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- Time
End string - The end time until when the download records are included (formatted according to RFC3339).
- Time
Start string - The start time from when the download records are included (formatted according to RFC3339).
- Checksum
Type string - The algorithm used for calculating the checksum.
- Checksum
Value string - The checksum value of the Java download report file.
- Compartment
Id string - The OCID of the tenancy.
- Created
Bies []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). - Display
Name string - A filter to return only resources that match the display name.
- File
Size 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.
- Sort
By string - Sort
Order 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"}
- Time
Created string - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- Time
End string - The end time until when the download records are included (formatted according to RFC3339).
- Time
Start string - The start time from when the download records are included (formatted according to RFC3339).
- checksum
Type String - The algorithm used for calculating the checksum.
- checksum
Value String - The checksum value of the Java download report file.
- compartment
Id String - The OCID of the tenancy.
- created
Bies 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). - display
Name String - A filter to return only resources that match the display name.
- file
Size 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.
- sort
By String - sort
Order 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"}
- time
Created String - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- time
End String - The end time until when the download records are included (formatted according to RFC3339).
- time
Start String - The start time from when the download records are included (formatted according to RFC3339).
- checksum
Type string - The algorithm used for calculating the checksum.
- checksum
Value string - The checksum value of the Java download report file.
- compartment
Id string - The OCID of the tenancy.
- created
Bies 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). - display
Name string - A filter to return only resources that match the display name.
- file
Size 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.
- sort
By string - sort
Order 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"}
- time
Created string - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- time
End string - The end time until when the download records are included (formatted according to RFC3339).
- time
Start 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[jms.Get Java 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).
- checksum
Type String - The algorithm used for calculating the checksum.
- checksum
Value String - The checksum value of the Java download report file.
- compartment
Id String - The OCID of the tenancy.
- created
Bies 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). - display
Name String - A filter to return only resources that match the display name.
- file
Size 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.
- sort
By String - sort
Order 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"}
- time
Created String - The time the Java download report was created, displayed as an RFC3339 formatted datetime string.
- time
End String - The end time until when the download records are included (formatted according to RFC3339).
- time
Start String - The start time from when the download records are included (formatted according to RFC3339).
GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy
- Display
Name 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 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 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 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.
- display
Name 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
oci
Terraform Provider.