Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getJavaRelease

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

Returns detail of a Java release.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testJavaRelease = Oci.Jms.GetJavaRelease.Invoke(new()
    {
        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.GetJavaRelease(ctx, &jms.GetJavaReleaseArgs{
			ReleaseVersion: _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.GetJavaReleaseArgs;
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 testJavaRelease = JmsFunctions.getJavaRelease(GetJavaReleaseArgs.builder()
            .releaseVersion(var_.java_release_release_version())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_java_release = oci.Jms.get_java_release(release_version=var["java_release_release_version"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testJavaRelease = oci.Jms.getJavaRelease({
    releaseVersion: _var.java_release_release_version,
});
variables:
  testJavaRelease:
    Fn::Invoke:
      Function: oci:Jms:getJavaRelease
      Arguments:
        releaseVersion: ${var.java_release_release_version}

Using getJavaRelease

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 getJavaRelease(args: GetJavaReleaseArgs, opts?: InvokeOptions): Promise<GetJavaReleaseResult>
function getJavaReleaseOutput(args: GetJavaReleaseOutputArgs, opts?: InvokeOptions): Output<GetJavaReleaseResult>
def get_java_release(release_version: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetJavaReleaseResult
def get_java_release_output(release_version: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetJavaReleaseResult]
func GetJavaRelease(ctx *Context, args *GetJavaReleaseArgs, opts ...InvokeOption) (*GetJavaReleaseResult, error)
func GetJavaReleaseOutput(ctx *Context, args *GetJavaReleaseOutputArgs, opts ...InvokeOption) GetJavaReleaseResultOutput

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

public static class GetJavaRelease 
{
    public static Task<GetJavaReleaseResult> InvokeAsync(GetJavaReleaseArgs args, InvokeOptions? opts = null)
    public static Output<GetJavaReleaseResult> Invoke(GetJavaReleaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJavaReleaseResult> getJavaRelease(GetJavaReleaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Jms/getJavaRelease:getJavaRelease
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ReleaseVersion string

Unique Java release version identifier

ReleaseVersion string

Unique Java release version identifier

releaseVersion String

Unique Java release version identifier

releaseVersion string

Unique Java release version identifier

release_version str

Unique Java release version identifier

releaseVersion String

Unique Java release version identifier

getJavaRelease Result

The following output properties are available:

Artifacts List<GetJavaReleaseArtifact>

List of Java artifacts.

FamilyDetails List<GetJavaReleaseFamilyDetail>

Complete information of a specific Java release family.

FamilyVersion string

Java release family identifier.

Id string

The provider-assigned unique ID for this managed resource.

LicenseDetails List<GetJavaReleaseLicenseDetail>

Information about a license type for Java.

LicenseType string

License type for the Java version.

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

Release category of the Java version.

ReleaseVersion string

Java release version identifier.

SecurityStatus string

The security status of the Java version.

Artifacts []GetJavaReleaseArtifact

List of Java artifacts.

FamilyDetails []GetJavaReleaseFamilyDetail

Complete information of a specific Java release family.

FamilyVersion string

Java release family identifier.

Id string

The provider-assigned unique ID for this managed resource.

LicenseDetails []GetJavaReleaseLicenseDetail

Information about a license type for Java.

LicenseType string

License type for the Java version.

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

Release category of the Java version.

ReleaseVersion string

Java release version identifier.

SecurityStatus string

The security status of the Java version.

artifacts List<GetJavaReleaseArtifact>

List of Java artifacts.

familyDetails List<GetJavaReleaseFamilyDetail>

Complete information of a specific Java release family.

familyVersion String

Java release family identifier.

id String

The provider-assigned unique ID for this managed resource.

licenseDetails List<GetJavaReleaseLicenseDetail>

Information about a license type for Java.

licenseType String

License type for the Java version.

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

Release category of the Java version.

releaseVersion String

Java release version identifier.

securityStatus String

The security status of the Java version.

artifacts GetJavaReleaseArtifact[]

List of Java artifacts.

familyDetails GetJavaReleaseFamilyDetail[]

Complete information of a specific Java release family.

familyVersion string

Java release family identifier.

id string

The provider-assigned unique ID for this managed resource.

licenseDetails GetJavaReleaseLicenseDetail[]

Information about a license type for Java.

licenseType string

License type for the Java version.

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

Release category of the Java version.

releaseVersion string

Java release version identifier.

securityStatus string

The security status of the Java version.

artifacts GetJavaReleaseArtifact]

List of Java artifacts.

family_details GetJavaReleaseFamilyDetail]

Complete information of a specific Java release family.

family_version str

Java release family identifier.

id str

The provider-assigned unique ID for this managed resource.

license_details GetJavaReleaseLicenseDetail]

Information about a license type for Java.

license_type str

License type for the Java version.

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

Release category of the Java version.

release_version str

Java release version identifier.

security_status str

The security status of the Java version.

artifacts List<Property Map>

List of Java artifacts.

familyDetails List<Property Map>

Complete information of a specific Java release family.

familyVersion String

Java release family identifier.

id String

The provider-assigned unique ID for this managed resource.

licenseDetails List<Property Map>

Information about a license type for Java.

licenseType String

License type for the Java version.

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

Release category of the Java version.

releaseVersion String

Java release version identifier.

securityStatus String

The security status of the Java version.

Supporting Types

GetJavaReleaseArtifact

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.

GetJavaReleaseFamilyDetail

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

Java release family identifier.

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

Java release family identifier.

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

Java release family identifier.

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

Java release family identifier.

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

Java release family identifier.

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

Java release family identifier.

supportType String

This indicates the support category for the Java release family.

GetJavaReleaseLicenseDetail

DisplayName string

Commonly used name for the license type.

LicenseType string

License type for the Java version.

LicenseUrl string

Publicly accessible license URL containing the detailed terms and conditions.

DisplayName string

Commonly used name for the license type.

LicenseType string

License type for the Java version.

LicenseUrl string

Publicly accessible license URL containing the detailed terms and conditions.

displayName String

Commonly used name for the license type.

licenseType String

License type for the Java version.

licenseUrl String

Publicly accessible license URL containing the detailed terms and conditions.

displayName string

Commonly used name for the license type.

licenseType string

License type for the Java version.

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

License type for the Java version.

license_url str

Publicly accessible license URL containing the detailed terms and conditions.

displayName String

Commonly used name for the license type.

licenseType String

License type for the Java version.

licenseUrl String

Publicly accessible license URL containing the detailed terms and conditions.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.