Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Jms.getJavaDownloadsJavaLicenses
Explore with Pulumi AI
This data source provides the list of Java Licenses in Oracle Cloud Infrastructure Jms Java Downloads service.
Return a list with details of all Java licenses.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaLicenses = oci.Jms.getJavaDownloadsJavaLicenses({
    displayName: javaLicenseDisplayName,
    licenseType: javaLicenseLicenseType,
});
import pulumi
import pulumi_oci as oci
test_java_licenses = oci.Jms.get_java_downloads_java_licenses(display_name=java_license_display_name,
    license_type=java_license_license_type)
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.GetJavaDownloadsJavaLicenses(ctx, &jms.GetJavaDownloadsJavaLicensesArgs{
			DisplayName: pulumi.StringRef(javaLicenseDisplayName),
			LicenseType: pulumi.StringRef(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 testJavaLicenses = Oci.Jms.GetJavaDownloadsJavaLicenses.Invoke(new()
    {
        DisplayName = javaLicenseDisplayName,
        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.GetJavaDownloadsJavaLicensesArgs;
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 testJavaLicenses = JmsFunctions.getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs.builder()
            .displayName(javaLicenseDisplayName)
            .licenseType(javaLicenseLicenseType)
            .build());
    }
}
variables:
  testJavaLicenses:
    fn::invoke:
      function: oci:Jms:getJavaDownloadsJavaLicenses
      arguments:
        displayName: ${javaLicenseDisplayName}
        licenseType: ${javaLicenseLicenseType}
Using getJavaDownloadsJavaLicenses
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 getJavaDownloadsJavaLicenses(args: GetJavaDownloadsJavaLicensesArgs, opts?: InvokeOptions): Promise<GetJavaDownloadsJavaLicensesResult>
function getJavaDownloadsJavaLicensesOutput(args: GetJavaDownloadsJavaLicensesOutputArgs, opts?: InvokeOptions): Output<GetJavaDownloadsJavaLicensesResult>def get_java_downloads_java_licenses(display_name: Optional[str] = None,
                                     filters: Optional[Sequence[GetJavaDownloadsJavaLicensesFilter]] = None,
                                     license_type: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetJavaDownloadsJavaLicensesResult
def get_java_downloads_java_licenses_output(display_name: Optional[pulumi.Input[str]] = None,
                                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetJavaDownloadsJavaLicensesFilterArgs]]]] = None,
                                     license_type: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetJavaDownloadsJavaLicensesResult]func GetJavaDownloadsJavaLicenses(ctx *Context, args *GetJavaDownloadsJavaLicensesArgs, opts ...InvokeOption) (*GetJavaDownloadsJavaLicensesResult, error)
func GetJavaDownloadsJavaLicensesOutput(ctx *Context, args *GetJavaDownloadsJavaLicensesOutputArgs, opts ...InvokeOption) GetJavaDownloadsJavaLicensesResultOutput> Note: This function is named GetJavaDownloadsJavaLicenses in the Go SDK.
public static class GetJavaDownloadsJavaLicenses 
{
    public static Task<GetJavaDownloadsJavaLicensesResult> InvokeAsync(GetJavaDownloadsJavaLicensesArgs args, InvokeOptions? opts = null)
    public static Output<GetJavaDownloadsJavaLicensesResult> Invoke(GetJavaDownloadsJavaLicensesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJavaDownloadsJavaLicensesResult> getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args, InvokeOptions options)
public static Output<GetJavaDownloadsJavaLicensesResult> getJavaDownloadsJavaLicenses(GetJavaDownloadsJavaLicensesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getJavaDownloadsJavaLicenses:getJavaDownloadsJavaLicenses
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DisplayName string
- A filter to return only resources that match the display name.
- Filters
List<GetJava Downloads Java Licenses Filter> 
- LicenseType string
- Unique Java license type.
- DisplayName string
- A filter to return only resources that match the display name.
- Filters
[]GetJava Downloads Java Licenses Filter 
- LicenseType string
- Unique Java license type.
- displayName String
- A filter to return only resources that match the display name.
- filters
List<GetJava Downloads Java Licenses Filter> 
- licenseType String
- Unique Java license type.
- displayName string
- A filter to return only resources that match the display name.
- filters
GetJava Downloads Java Licenses Filter[] 
- licenseType string
- Unique Java license type.
- display_name str
- A filter to return only resources that match the display name.
- filters
Sequence[GetJava Downloads Java Licenses Filter] 
- license_type str
- Unique Java license type.
- displayName String
- A filter to return only resources that match the display name.
- filters List<Property Map>
- licenseType String
- Unique Java license type.
getJavaDownloadsJavaLicenses Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaLicense List<GetCollections Java Downloads Java Licenses Java License Collection> 
- The list of java_license_collection.
- DisplayName string
- Commonly used name for the license type.
- Filters
List<GetJava Downloads Java Licenses Filter> 
- LicenseType string
- License Type
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaLicense []GetCollections Java Downloads Java Licenses Java License Collection 
- The list of java_license_collection.
- DisplayName string
- Commonly used name for the license type.
- Filters
[]GetJava Downloads Java Licenses Filter 
- LicenseType string
- License Type
- id String
- The provider-assigned unique ID for this managed resource.
- javaLicense List<GetCollections Java Downloads Java Licenses Java License Collection> 
- The list of java_license_collection.
- displayName String
- Commonly used name for the license type.
- filters
List<GetJava Downloads Java Licenses Filter> 
- licenseType String
- License Type
- id string
- The provider-assigned unique ID for this managed resource.
- javaLicense GetCollections Java Downloads Java Licenses Java License Collection[] 
- The list of java_license_collection.
- displayName string
- Commonly used name for the license type.
- filters
GetJava Downloads Java Licenses Filter[] 
- licenseType string
- License Type
- id str
- The provider-assigned unique ID for this managed resource.
- java_license_ Sequence[Getcollections Java Downloads Java Licenses Java License Collection] 
- The list of java_license_collection.
- display_name str
- Commonly used name for the license type.
- filters
Sequence[GetJava Downloads Java Licenses Filter] 
- license_type str
- License Type
- id String
- The provider-assigned unique ID for this managed resource.
- javaLicense List<Property Map>Collections 
- The list of java_license_collection.
- displayName String
- Commonly used name for the license type.
- filters List<Property Map>
- licenseType String
- License Type
Supporting Types
GetJavaDownloadsJavaLicensesFilter     
GetJavaDownloadsJavaLicensesJavaLicenseCollection       
GetJavaDownloadsJavaLicensesJavaLicenseCollectionItem        
- DisplayName string
- A filter to return only resources that match the display name.
- LicenseType string
- Unique Java license type.
- LicenseUrl string
- Publicly accessible license URL containing the detailed terms and conditions.
- DisplayName string
- A filter to return only resources that match the display name.
- LicenseType string
- Unique Java license type.
- LicenseUrl string
- Publicly accessible license URL containing the detailed terms and conditions.
- displayName String
- A filter to return only resources that match the display name.
- licenseType String
- Unique Java license type.
- licenseUrl String
- Publicly accessible license URL containing the detailed terms and conditions.
- displayName string
- A filter to return only resources that match the display name.
- licenseType string
- Unique Java license type.
- licenseUrl string
- Publicly accessible license URL containing the detailed terms and conditions.
- display_name str
- A filter to return only resources that match the display name.
- license_type str
- Unique Java license type.
- license_url str
- Publicly accessible license URL containing the detailed terms and conditions.
- displayName String
- A filter to return only resources that match the display name.
- licenseType String
- Unique Java 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 ociTerraform Provider.