1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaDownloadsJavaDownloadReports
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Jms.getJavaDownloadsJavaDownloadReports

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    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:

    CompartmentId string
    The OCID of the tenancy.
    DisplayName string
    A filter to return only resources that match the display name.
    Filters List<GetJavaDownloadsJavaDownloadReportsFilter>
    JavaDownloadReportId string
    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 []GetJavaDownloadsJavaDownloadReportsFilter
    JavaDownloadReportId string
    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<GetJavaDownloadsJavaDownloadReportsFilter>
    javaDownloadReportId String
    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 GetJavaDownloadsJavaDownloadReportsFilter[]
    javaDownloadReportId string
    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.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 String
    The OCID of the tenancy.
    displayName String
    A filter to return only resources that match the display name.
    filters 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 string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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<GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy>
    An authorized principal.
    DefinedTags 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.
    FileSizeInBytes string
    Approximate size of the Java download report file in bytes.
    Format string
    The file format of the Java download report.
    FreeformTags 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.
    SystemTags 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 []GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy
    An authorized principal.
    DefinedTags 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.
    FileSizeInBytes string
    Approximate size of the Java download report file in bytes.
    Format string
    The file format of the Java download report.
    FreeformTags 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.
    SystemTags 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<GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy>
    An authorized principal.
    definedTags 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.
    fileSizeInBytes String
    Approximate size of the Java download report file in bytes.
    format String
    The file format of the Java download report.
    freeformTags 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.
    systemTags 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 GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy[]
    An authorized principal.
    definedTags {[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.
    fileSizeInBytes string
    Approximate size of the Java download report file in bytes.
    format string
    The file format of the Java download report.
    freeformTags {[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.
    systemTags {[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[jms.GetJavaDownloadsJavaDownloadReportsJavaDownloadReportCollectionItemCreatedBy]
    An authorized principal.
    defined_tags 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_in_bytes str
    Approximate size of the Java download report file in bytes.
    format str
    The file format of the Java download report.
    freeform_tags 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.
    system_tags 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.
    definedTags 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.
    fileSizeInBytes String
    Approximate size of the Java download report file in bytes.
    format String
    The file format of the Java download report.
    freeformTags 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.
    systemTags 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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi