1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaDownloadsJavaDownloadReportContent
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Jms.getJavaDownloadsJavaDownloadReportContent

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides details about a specific Java Download Report Content resource in Oracle Cloud Infrastructure Jms Java Downloads service.

    Retrieve a Java download report with the specified identifier.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJavaDownloadReportContent = oci.Jms.getJavaDownloadsJavaDownloadReportContent({
        javaDownloadReportId: testJavaDownloadReport.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_java_download_report_content = oci.Jms.get_java_downloads_java_download_report_content(java_download_report_id=test_java_download_report["id"])
    
    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.GetJavaDownloadsJavaDownloadReportContent(ctx, &jms.GetJavaDownloadsJavaDownloadReportContentArgs{
    			JavaDownloadReportId: testJavaDownloadReport.Id,
    		}, 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 testJavaDownloadReportContent = Oci.Jms.GetJavaDownloadsJavaDownloadReportContent.Invoke(new()
        {
            JavaDownloadReportId = testJavaDownloadReport.Id,
        });
    
    });
    
    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.GetJavaDownloadsJavaDownloadReportContentArgs;
    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 testJavaDownloadReportContent = JmsFunctions.getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs.builder()
                .javaDownloadReportId(testJavaDownloadReport.id())
                .build());
    
        }
    }
    
    variables:
      testJavaDownloadReportContent:
        fn::invoke:
          Function: oci:Jms:getJavaDownloadsJavaDownloadReportContent
          Arguments:
            javaDownloadReportId: ${testJavaDownloadReport.id}
    

    Using getJavaDownloadsJavaDownloadReportContent

    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 getJavaDownloadsJavaDownloadReportContent(args: GetJavaDownloadsJavaDownloadReportContentArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaDownloadReportContentResult>
    function getJavaDownloadsJavaDownloadReportContentOutput(args: GetJavaDownloadsJavaDownloadReportContentOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaDownloadReportContentResult>
    def get_java_downloads_java_download_report_content(java_download_report_id: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaDownloadReportContentResult
    def get_java_downloads_java_download_report_content_output(java_download_report_id: Optional[pulumi.Input[str]] = None,
                                                        opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaDownloadReportContentResult]
    func GetJavaDownloadsJavaDownloadReportContent(ctx *Context, args *GetJavaDownloadsJavaDownloadReportContentArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaDownloadReportContentResult, error)
    func GetJavaDownloadsJavaDownloadReportContentOutput(ctx *Context, args *GetJavaDownloadsJavaDownloadReportContentOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaDownloadReportContentResultOutput

    > Note: This function is named GetJavaDownloadsJavaDownloadReportContent in the Go SDK.

    public static class GetJavaDownloadsJavaDownloadReportContent 
    {
        public static Task<GetJavaDownloadsJavaDownloadReportContentResult> InvokeAsync(GetJavaDownloadsJavaDownloadReportContentArgs args, InvokeOptions? opts = null)
        public static Output<GetJavaDownloadsJavaDownloadReportContentResult> Invoke(GetJavaDownloadsJavaDownloadReportContentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetJavaDownloadsJavaDownloadReportContentResult> getJavaDownloadsJavaDownloadReportContent(GetJavaDownloadsJavaDownloadReportContentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getJavaDownloadsJavaDownloadReportContent:getJavaDownloadsJavaDownloadReportContent
      arguments:
        # arguments dictionary

    The following arguments are supported:

    JavaDownloadReportId string
    Unique Java download report identifier.
    JavaDownloadReportId string
    Unique Java download report identifier.
    javaDownloadReportId String
    Unique Java download report identifier.
    javaDownloadReportId string
    Unique Java download report identifier.
    java_download_report_id str
    Unique Java download report identifier.
    javaDownloadReportId String
    Unique Java download report identifier.

    getJavaDownloadsJavaDownloadReportContent Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    JavaDownloadReportId string
    Id string
    The provider-assigned unique ID for this managed resource.
    JavaDownloadReportId string
    id String
    The provider-assigned unique ID for this managed resource.
    javaDownloadReportId String
    id string
    The provider-assigned unique ID for this managed resource.
    javaDownloadReportId string
    id str
    The provider-assigned unique ID for this managed resource.
    java_download_report_id str
    id String
    The provider-assigned unique ID for this managed resource.
    javaDownloadReportId String

    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.17.0 published on Friday, Nov 15, 2024 by Pulumi