1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaDownloadsJavaLicense
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.Jms.getJavaDownloadsJavaLicense

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

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

    Return details of the specified Java license type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJavaLicense = oci.Jms.getJavaDownloadsJavaLicense({
        licenseType: javaLicenseLicenseType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_java_license = oci.Jms.get_java_downloads_java_license(license_type=java_license_license_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Jms"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Jms.GetJavaDownloadsJavaLicense(ctx, &jms.GetJavaDownloadsJavaLicenseArgs{
    			LicenseType: javaLicenseLicenseType,
    		}, 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 testJavaLicense = Oci.Jms.GetJavaDownloadsJavaLicense.Invoke(new()
        {
            LicenseType = javaLicenseLicenseType,
        });
    
    });
    
    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.GetJavaDownloadsJavaLicenseArgs;
    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 testJavaLicense = JmsFunctions.getJavaDownloadsJavaLicense(GetJavaDownloadsJavaLicenseArgs.builder()
                .licenseType(javaLicenseLicenseType)
                .build());
    
        }
    }
    
    variables:
      testJavaLicense:
        fn::invoke:
          Function: oci:Jms:getJavaDownloadsJavaLicense
          Arguments:
            licenseType: ${javaLicenseLicenseType}
    

    Using getJavaDownloadsJavaLicense

    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 getJavaDownloadsJavaLicense(args: GetJavaDownloadsJavaLicenseArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaLicenseResult>
    function getJavaDownloadsJavaLicenseOutput(args: GetJavaDownloadsJavaLicenseOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaLicenseResult>
    def get_java_downloads_java_license(license_type: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaLicenseResult
    def get_java_downloads_java_license_output(license_type: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaLicenseResult]
    func GetJavaDownloadsJavaLicense(ctx *Context, args *GetJavaDownloadsJavaLicenseArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaLicenseResult, error)
    func GetJavaDownloadsJavaLicenseOutput(ctx *Context, args *GetJavaDownloadsJavaLicenseOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaLicenseResultOutput

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

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

    The following arguments are supported:

    LicenseType string
    Unique Java license type.
    LicenseType string
    Unique Java license type.
    licenseType String
    Unique Java license type.
    licenseType string
    Unique Java license type.
    license_type str
    Unique Java license type.
    licenseType String
    Unique Java license type.

    getJavaDownloadsJavaLicense Result

    The following output properties are available:

    DisplayName string
    Commonly used name for the license type.
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseType string
    License Type
    LicenseUrl string
    Publicly accessible license URL containing the detailed terms and conditions.
    DisplayName string
    Commonly used name for the license type.
    Id string
    The provider-assigned unique ID for this managed resource.
    LicenseType string
    License Type
    LicenseUrl string
    Publicly accessible license URL containing the detailed terms and conditions.
    displayName String
    Commonly used name for the license type.
    id String
    The provider-assigned unique ID for this managed resource.
    licenseType String
    License Type
    licenseUrl String
    Publicly accessible license URL containing the detailed terms and conditions.
    displayName string
    Commonly used name for the license type.
    id string
    The provider-assigned unique ID for this managed resource.
    licenseType string
    License Type
    licenseUrl string
    Publicly accessible license URL containing the detailed terms and conditions.
    display_name str
    Commonly used name for the license type.
    id str
    The provider-assigned unique ID for this managed resource.
    license_type str
    License Type
    license_url str
    Publicly accessible license URL containing the detailed terms and conditions.
    displayName String
    Commonly used name for the license type.
    id String
    The provider-assigned unique ID for this managed resource.
    licenseType String
    License Type
    licenseUrl String
    Publicly accessible license URL containing the detailed terms and conditions.

    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 v1.34.0 published on Friday, May 3, 2024 by Pulumi