oci logo
Oracle Cloud Infrastructure v0.19.0, May 26 23

oci.Jms.getJavaReleases

Explore with Pulumi AI

This data source provides the list of Java Releases in Oracle Cloud Infrastructure Jms service.

Returns a list of Java releases.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testJavaReleases = Oci.Jms.GetJavaReleases.Invoke(new()
    {
        FamilyVersion = @var.Java_release_family_version,
        JreSecurityStatus = @var.Java_release_jre_security_status,
        LicenseType = @var.Java_release_license_type,
        ReleaseType = @var.Java_release_release_type,
        ReleaseVersion = @var.Java_release_release_version,
    });

});
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.GetJavaReleases(ctx, &jms.GetJavaReleasesArgs{
			FamilyVersion:     pulumi.StringRef(_var.Java_release_family_version),
			JreSecurityStatus: pulumi.StringRef(_var.Java_release_jre_security_status),
			LicenseType:       pulumi.StringRef(_var.Java_release_license_type),
			ReleaseType:       pulumi.StringRef(_var.Java_release_release_type),
			ReleaseVersion:    pulumi.StringRef(_var.Java_release_release_version),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetJavaReleasesArgs;
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 testJavaReleases = JmsFunctions.getJavaReleases(GetJavaReleasesArgs.builder()
            .familyVersion(var_.java_release_family_version())
            .jreSecurityStatus(var_.java_release_jre_security_status())
            .licenseType(var_.java_release_license_type())
            .releaseType(var_.java_release_release_type())
            .releaseVersion(var_.java_release_release_version())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_java_releases = oci.Jms.get_java_releases(family_version=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    jre_security_status=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    license_type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    release_type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    release_version=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testJavaReleases = oci.Jms.getJavaReleases({
    familyVersion: _var.java_release_family_version,
    jreSecurityStatus: _var.java_release_jre_security_status,
    licenseType: _var.java_release_license_type,
    releaseType: _var.java_release_release_type,
    releaseVersion: _var.java_release_release_version,
});
variables:
  testJavaReleases:
    fn::invoke:
      Function: oci:Jms:getJavaReleases
      Arguments:
        familyVersion: ${var.java_release_family_version}
        jreSecurityStatus: ${var.java_release_jre_security_status}
        licenseType: ${var.java_release_license_type}
        releaseType: ${var.java_release_release_type}
        releaseVersion: ${var.java_release_release_version}

Using getJavaReleases

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 getJavaReleases(args: GetJavaReleasesArgs, opts?: InvokeOptions): Promise<GetJavaReleasesResult>
function getJavaReleasesOutput(args: GetJavaReleasesOutputArgs, opts?: InvokeOptions): Output<GetJavaReleasesResult>
def get_java_releases(family_version: Optional[str] = None,
                      filters: Optional[Sequence[_jms.GetJavaReleasesFilter]] = None,
                      jre_security_status: Optional[str] = None,
                      license_type: Optional[str] = None,
                      release_type: Optional[str] = None,
                      release_version: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetJavaReleasesResult
def get_java_releases_output(family_version: Optional[pulumi.Input[str]] = None,
                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[_jms.GetJavaReleasesFilterArgs]]]] = None,
                      jre_security_status: Optional[pulumi.Input[str]] = None,
                      license_type: Optional[pulumi.Input[str]] = None,
                      release_type: Optional[pulumi.Input[str]] = None,
                      release_version: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetJavaReleasesResult]
func GetJavaReleases(ctx *Context, args *GetJavaReleasesArgs, opts ...InvokeOption) (*GetJavaReleasesResult, error)
func GetJavaReleasesOutput(ctx *Context, args *GetJavaReleasesOutputArgs, opts ...InvokeOption) GetJavaReleasesResultOutput

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

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

The following arguments are supported:

FamilyVersion string

The version identifier for the Java family.

Filters List<GetJavaReleasesFilter>
JreSecurityStatus string

The security status of the Java Runtime.

LicenseType string

Java license type.

ReleaseType string

Java release type.

ReleaseVersion string

Unique Java release version identifier

FamilyVersion string

The version identifier for the Java family.

Filters []GetJavaReleasesFilter
JreSecurityStatus string

The security status of the Java Runtime.

LicenseType string

Java license type.

ReleaseType string

Java release type.

ReleaseVersion string

Unique Java release version identifier

familyVersion String

The version identifier for the Java family.

filters List<GetJavaReleasesFilter>
jreSecurityStatus String

The security status of the Java Runtime.

licenseType String

Java license type.

releaseType String

Java release type.

releaseVersion String

Unique Java release version identifier

familyVersion string

The version identifier for the Java family.

filters GetJavaReleasesFilter[]
jreSecurityStatus string

The security status of the Java Runtime.

licenseType string

Java license type.

releaseType string

Java release type.

releaseVersion string

Unique Java release version identifier

family_version str

The version identifier for the Java family.

filters GetJavaReleasesFilter]
jre_security_status str

The security status of the Java Runtime.

license_type str

Java license type.

release_type str

Java release type.

release_version str

Unique Java release version identifier

familyVersion String

The version identifier for the Java family.

filters List<Property Map>
jreSecurityStatus String

The security status of the Java Runtime.

licenseType String

Java license type.

releaseType String

Java release type.

releaseVersion String

Unique Java release version identifier

getJavaReleases Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

JavaReleaseCollections List<GetJavaReleasesJavaReleaseCollection>

The list of java_release_collection.

FamilyVersion string

Java release family identifier.

Filters List<GetJavaReleasesFilter>
JreSecurityStatus string
LicenseType string

License type for the Java version.

ReleaseType string

Release category of the Java version.

ReleaseVersion string

Java release version identifier.

Id string

The provider-assigned unique ID for this managed resource.

JavaReleaseCollections []GetJavaReleasesJavaReleaseCollection

The list of java_release_collection.

FamilyVersion string

Java release family identifier.

Filters []GetJavaReleasesFilter
JreSecurityStatus string
LicenseType string

License type for the Java version.

ReleaseType string

Release category of the Java version.

ReleaseVersion string

Java release version identifier.

id String

The provider-assigned unique ID for this managed resource.

javaReleaseCollections List<GetJavaReleasesJavaReleaseCollection>

The list of java_release_collection.

familyVersion String

Java release family identifier.

filters List<GetJavaReleasesFilter>
jreSecurityStatus String
licenseType String

License type for the Java version.

releaseType String

Release category of the Java version.

releaseVersion String

Java release version identifier.

id string

The provider-assigned unique ID for this managed resource.

javaReleaseCollections GetJavaReleasesJavaReleaseCollection[]

The list of java_release_collection.

familyVersion string

Java release family identifier.

filters GetJavaReleasesFilter[]
jreSecurityStatus string
licenseType string

License type for the Java version.

releaseType string

Release category of the Java version.

releaseVersion string

Java release version identifier.

id str

The provider-assigned unique ID for this managed resource.

java_release_collections GetJavaReleasesJavaReleaseCollection]

The list of java_release_collection.

family_version str

Java release family identifier.

filters GetJavaReleasesFilter]
jre_security_status str
license_type str

License type for the Java version.

release_type str

Release category of the Java version.

release_version str

Java release version identifier.

id String

The provider-assigned unique ID for this managed resource.

javaReleaseCollections List<Property Map>

The list of java_release_collection.

familyVersion String

Java release family identifier.

filters List<Property Map>
jreSecurityStatus String
licenseType String

License type for the Java version.

releaseType String

Release category of the Java version.

releaseVersion String

Java release version identifier.

Supporting Types

GetJavaReleasesFilter

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

GetJavaReleasesJavaReleaseCollection

GetJavaReleasesJavaReleaseCollectionItem

ArtifactContentTypes List<string>

Artifact content types for the Java version.

Artifacts List<GetJavaReleasesJavaReleaseCollectionItemArtifact>

List of Java artifacts.

FamilyDetails List<GetJavaReleasesJavaReleaseCollectionItemFamilyDetail>

Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.

FamilyVersion string

The version identifier for the Java family.

LicenseDetails List<GetJavaReleasesJavaReleaseCollectionItemLicenseDetail>

Information about a license type for Java.

LicenseType string

Java license type.

ParentReleaseVersion string

Parent Java release version identifier. This is applicable for BPR releases.

ReleaseDate string

The release date of the Java version (formatted according to RFC3339).

ReleaseNotesUrl string

Release notes associated with the Java version.

ReleaseType string

Java release type.

ReleaseVersion string

Unique Java release version identifier

SecurityStatus string

The security status of the Java version.

ArtifactContentTypes []string

Artifact content types for the Java version.

Artifacts []GetJavaReleasesJavaReleaseCollectionItemArtifact

List of Java artifacts.

FamilyDetails []GetJavaReleasesJavaReleaseCollectionItemFamilyDetail

Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.

FamilyVersion string

The version identifier for the Java family.

LicenseDetails []GetJavaReleasesJavaReleaseCollectionItemLicenseDetail

Information about a license type for Java.

LicenseType string

Java license type.

ParentReleaseVersion string

Parent Java release version identifier. This is applicable for BPR releases.

ReleaseDate string

The release date of the Java version (formatted according to RFC3339).

ReleaseNotesUrl string

Release notes associated with the Java version.

ReleaseType string

Java release type.

ReleaseVersion string

Unique Java release version identifier

SecurityStatus string

The security status of the Java version.

artifactContentTypes List<String>

Artifact content types for the Java version.

artifacts List<GetJavaReleasesJavaReleaseCollectionItemArtifact>

List of Java artifacts.

familyDetails List<GetJavaReleasesJavaReleaseCollectionItemFamilyDetail>

Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.

familyVersion String

The version identifier for the Java family.

licenseDetails List<GetJavaReleasesJavaReleaseCollectionItemLicenseDetail>

Information about a license type for Java.

licenseType String

Java license type.

parentReleaseVersion String

Parent Java release version identifier. This is applicable for BPR releases.

releaseDate String

The release date of the Java version (formatted according to RFC3339).

releaseNotesUrl String

Release notes associated with the Java version.

releaseType String

Java release type.

releaseVersion String

Unique Java release version identifier

securityStatus String

The security status of the Java version.

artifactContentTypes string[]

Artifact content types for the Java version.

artifacts GetJavaReleasesJavaReleaseCollectionItemArtifact[]

List of Java artifacts.

familyDetails GetJavaReleasesJavaReleaseCollectionItemFamilyDetail[]

Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.

familyVersion string

The version identifier for the Java family.

licenseDetails GetJavaReleasesJavaReleaseCollectionItemLicenseDetail[]

Information about a license type for Java.

licenseType string

Java license type.

parentReleaseVersion string

Parent Java release version identifier. This is applicable for BPR releases.

releaseDate string

The release date of the Java version (formatted according to RFC3339).

releaseNotesUrl string

Release notes associated with the Java version.

releaseType string

Java release type.

releaseVersion string

Unique Java release version identifier

securityStatus string

The security status of the Java version.

artifact_content_types Sequence[str]

Artifact content types for the Java version.

artifacts GetJavaReleasesJavaReleaseCollectionItemArtifact]

List of Java artifacts.

family_details GetJavaReleasesJavaReleaseCollectionItemFamilyDetail]

Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.

family_version str

The version identifier for the Java family.

license_details GetJavaReleasesJavaReleaseCollectionItemLicenseDetail]

Information about a license type for Java.

license_type str

Java license type.

parent_release_version str

Parent Java release version identifier. This is applicable for BPR releases.

release_date str

The release date of the Java version (formatted according to RFC3339).

release_notes_url str

Release notes associated with the Java version.

release_type str

Java release type.

release_version str

Unique Java release version identifier

security_status str

The security status of the Java version.

artifactContentTypes List<String>

Artifact content types for the Java version.

artifacts List<Property Map>

List of Java artifacts.

familyDetails List<Property Map>

Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.

familyVersion String

The version identifier for the Java family.

licenseDetails List<Property Map>

Information about a license type for Java.

licenseType String

Java license type.

parentReleaseVersion String

Parent Java release version identifier. This is applicable for BPR releases.

releaseDate String

The release date of the Java version (formatted according to RFC3339).

releaseNotesUrl String

Release notes associated with the Java version.

releaseType String

Java release type.

releaseVersion String

Unique Java release version identifier

securityStatus String

The security status of the Java version.

GetJavaReleasesJavaReleaseCollectionItemArtifact

ApproximateFileSizeInBytes string

Approximate compressed file size in bytes.

ArtifactContentType string

Product content type of this artifact.

ArtifactDescription string

Description of the binary artifact. Typically includes the OS, architecture, and installer type.

ArtifactId string

Unique identifier for the artifact.

Sha256 string

SHA256 checksum of the artifact.

ApproximateFileSizeInBytes string

Approximate compressed file size in bytes.

ArtifactContentType string

Product content type of this artifact.

ArtifactDescription string

Description of the binary artifact. Typically includes the OS, architecture, and installer type.

ArtifactId string

Unique identifier for the artifact.

Sha256 string

SHA256 checksum of the artifact.

approximateFileSizeInBytes String

Approximate compressed file size in bytes.

artifactContentType String

Product content type of this artifact.

artifactDescription String

Description of the binary artifact. Typically includes the OS, architecture, and installer type.

artifactId String

Unique identifier for the artifact.

sha256 String

SHA256 checksum of the artifact.

approximateFileSizeInBytes string

Approximate compressed file size in bytes.

artifactContentType string

Product content type of this artifact.

artifactDescription string

Description of the binary artifact. Typically includes the OS, architecture, and installer type.

artifactId string

Unique identifier for the artifact.

sha256 string

SHA256 checksum of the artifact.

approximate_file_size_in_bytes str

Approximate compressed file size in bytes.

artifact_content_type str

Product content type of this artifact.

artifact_description str

Description of the binary artifact. Typically includes the OS, architecture, and installer type.

artifact_id str

Unique identifier for the artifact.

sha256 str

SHA256 checksum of the artifact.

approximateFileSizeInBytes String

Approximate compressed file size in bytes.

artifactContentType String

Product content type of this artifact.

artifactDescription String

Description of the binary artifact. Typically includes the OS, architecture, and installer type.

artifactId String

Unique identifier for the artifact.

sha256 String

SHA256 checksum of the artifact.

GetJavaReleasesJavaReleaseCollectionItemFamilyDetail

DisplayName string

Commonly used name for the license type.

DocUrl string

Link to access the documentation for the release.

EndOfSupportLifeDate string

The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).

FamilyVersion string

The version identifier for the Java family.

SupportType string

This indicates the support category for the Java release family.

DisplayName string

Commonly used name for the license type.

DocUrl string

Link to access the documentation for the release.

EndOfSupportLifeDate string

The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).

FamilyVersion string

The version identifier for the Java family.

SupportType string

This indicates the support category for the Java release family.

displayName String

Commonly used name for the license type.

docUrl String

Link to access the documentation for the release.

endOfSupportLifeDate String

The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).

familyVersion String

The version identifier for the Java family.

supportType String

This indicates the support category for the Java release family.

displayName string

Commonly used name for the license type.

docUrl string

Link to access the documentation for the release.

endOfSupportLifeDate string

The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).

familyVersion string

The version identifier for the Java family.

supportType string

This indicates the support category for the Java release family.

display_name str

Commonly used name for the license type.

doc_url str

Link to access the documentation for the release.

end_of_support_life_date str

The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).

family_version str

The version identifier for the Java family.

support_type str

This indicates the support category for the Java release family.

displayName String

Commonly used name for the license type.

docUrl String

Link to access the documentation for the release.

endOfSupportLifeDate String

The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).

familyVersion String

The version identifier for the Java family.

supportType String

This indicates the support category for the Java release family.

GetJavaReleasesJavaReleaseCollectionItemLicenseDetail

DisplayName string

Commonly used name for the license type.

LicenseType string

Java license type.

LicenseUrl string

Publicly accessible license URL containing the detailed terms and conditions.

DisplayName string

Commonly used name for the license type.

LicenseType string

Java license type.

LicenseUrl string

Publicly accessible license URL containing the detailed terms and conditions.

displayName String

Commonly used name for the license type.

licenseType String

Java license type.

licenseUrl String

Publicly accessible license URL containing the detailed terms and conditions.

displayName string

Commonly used name for the license type.

licenseType string

Java license type.

licenseUrl string

Publicly accessible license URL containing the detailed terms and conditions.

display_name str

Commonly used name for the license type.

license_type str

Java license type.

license_url str

Publicly accessible license URL containing the detailed terms and conditions.

displayName String

Commonly used name for the license type.

licenseType String

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 oci Terraform Provider.