oci.Jms.getJavaRelease
Explore with Pulumi AI
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 System.Linq;
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:
- Release
Version string Unique Java release version identifier
- Release
Version string Unique Java release version identifier
- release
Version String Unique Java release version identifier
- release
Version string Unique Java release version identifier
- release_
version str Unique Java release version identifier
- release
Version String Unique Java release version identifier
getJavaRelease Result
The following output properties are available:
- Artifact
Content List<string>Types Artifact content types for the Java version.
- Artifacts
List<Get
Java Release Artifact> List of Java artifacts.
- Family
Details List<GetJava Release Family Detail> Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.
- Family
Version string Java release family identifier.
- Id string
The provider-assigned unique ID for this managed resource.
- License
Details List<GetJava Release License Detail> Information about a license type for Java.
- License
Type string License type for the Java version.
- Parent
Release stringVersion Parent Java release version identifier. This is applicable for BPR releases.
- Release
Date string The release date of the Java version (formatted according to RFC3339).
- Release
Notes stringUrl Release notes associated with the Java version.
- Release
Type string Release category of the Java version.
- Release
Version string Java release version identifier.
- Security
Status string The security status of the Java version.
- Artifact
Content []stringTypes Artifact content types for the Java version.
- Artifacts
[]Get
Java Release Artifact List of Java artifacts.
- Family
Details []GetJava Release Family Detail Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.
- Family
Version string Java release family identifier.
- Id string
The provider-assigned unique ID for this managed resource.
- License
Details []GetJava Release License Detail Information about a license type for Java.
- License
Type string License type for the Java version.
- Parent
Release stringVersion Parent Java release version identifier. This is applicable for BPR releases.
- Release
Date string The release date of the Java version (formatted according to RFC3339).
- Release
Notes stringUrl Release notes associated with the Java version.
- Release
Type string Release category of the Java version.
- Release
Version string Java release version identifier.
- Security
Status string The security status of the Java version.
- artifact
Content List<String>Types Artifact content types for the Java version.
- artifacts
List<Get
Java Release Artifact> List of Java artifacts.
- family
Details List<GetJava Release Family Detail> Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.
- family
Version String Java release family identifier.
- id String
The provider-assigned unique ID for this managed resource.
- license
Details List<GetJava Release License Detail> Information about a license type for Java.
- license
Type String License type for the Java version.
- parent
Release StringVersion Parent Java release version identifier. This is applicable for BPR releases.
- release
Date String The release date of the Java version (formatted according to RFC3339).
- release
Notes StringUrl Release notes associated with the Java version.
- release
Type String Release category of the Java version.
- release
Version String Java release version identifier.
- security
Status String The security status of the Java version.
- artifact
Content string[]Types Artifact content types for the Java version.
- artifacts
Get
Java Release Artifact[] List of Java artifacts.
- family
Details GetJava Release Family Detail[] Metadata associated with a specific Java release family. A Java release family is typically a major version in the Java version identifier.
- family
Version string Java release family identifier.
- id string
The provider-assigned unique ID for this managed resource.
- license
Details GetJava Release License Detail[] Information about a license type for Java.
- license
Type string License type for the Java version.
- parent
Release stringVersion Parent Java release version identifier. This is applicable for BPR releases.
- release
Date string The release date of the Java version (formatted according to RFC3339).
- release
Notes stringUrl Release notes associated with the Java version.
- release
Type string Release category of the Java version.
- release
Version string Java release version identifier.
- security
Status string The security status of the Java version.
- artifact_
content_ Sequence[str]types Artifact content types for the Java version.
- artifacts
Get
Java Release Artifact] List of Java artifacts.
- family_
details GetJava Release Family Detail] 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 Java release family identifier.
- id str
The provider-assigned unique ID for this managed resource.
- license_
details GetJava Release License Detail] Information about a license type for Java.
- license_
type str License type for the Java version.
- parent_
release_ strversion 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_ strurl 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.
- artifact
Content List<String>Types Artifact content types for the Java version.
- artifacts List<Property Map>
List of Java artifacts.
- family
Details 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.
- family
Version String Java release family identifier.
- id String
The provider-assigned unique ID for this managed resource.
- license
Details List<Property Map> Information about a license type for Java.
- license
Type String License type for the Java version.
- parent
Release StringVersion Parent Java release version identifier. This is applicable for BPR releases.
- release
Date String The release date of the Java version (formatted according to RFC3339).
- release
Notes StringUrl Release notes associated with the Java version.
- release
Type String Release category of the Java version.
- release
Version String Java release version identifier.
- security
Status String The security status of the Java version.
Supporting Types
GetJavaReleaseArtifact
- Approximate
File stringSize In Bytes Approximate compressed file size in bytes.
- Artifact
Content stringType Product content type of this artifact.
- Artifact
Description string Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- Artifact
Id string Unique identifier for the artifact.
- Sha256 string
SHA256 checksum of the artifact.
- Approximate
File stringSize In Bytes Approximate compressed file size in bytes.
- Artifact
Content stringType Product content type of this artifact.
- Artifact
Description string Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- Artifact
Id string Unique identifier for the artifact.
- Sha256 string
SHA256 checksum of the artifact.
- approximate
File StringSize In Bytes Approximate compressed file size in bytes.
- artifact
Content StringType Product content type of this artifact.
- artifact
Description String Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifact
Id String Unique identifier for the artifact.
- sha256 String
SHA256 checksum of the artifact.
- approximate
File stringSize In Bytes Approximate compressed file size in bytes.
- artifact
Content stringType Product content type of this artifact.
- artifact
Description string Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifact
Id string Unique identifier for the artifact.
- sha256 string
SHA256 checksum of the artifact.
- approximate_
file_ strsize_ in_ bytes Approximate compressed file size in bytes.
- artifact_
content_ strtype 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.
- approximate
File StringSize In Bytes Approximate compressed file size in bytes.
- artifact
Content StringType Product content type of this artifact.
- artifact
Description String Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifact
Id String Unique identifier for the artifact.
- sha256 String
SHA256 checksum of the artifact.
GetJavaReleaseFamilyDetail
- Display
Name string Commonly used name for the license type.
- Doc
Url string Link to access the documentation for the release.
- End
Of stringSupport Life Date The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
- Family
Version string Java release family identifier.
- Support
Type string This indicates the support category for the Java release family.
- Display
Name string Commonly used name for the license type.
- Doc
Url string Link to access the documentation for the release.
- End
Of stringSupport Life Date The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
- Family
Version string Java release family identifier.
- Support
Type string This indicates the support category for the Java release family.
- display
Name String Commonly used name for the license type.
- doc
Url String Link to access the documentation for the release.
- end
Of StringSupport Life Date The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
- family
Version String Java release family identifier.
- support
Type String This indicates the support category for the Java release family.
- display
Name string Commonly used name for the license type.
- doc
Url string Link to access the documentation for the release.
- end
Of stringSupport Life Date The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
- family
Version string Java release family identifier.
- support
Type 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_ strsupport_ life_ date 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.
- display
Name String Commonly used name for the license type.
- doc
Url String Link to access the documentation for the release.
- end
Of StringSupport Life Date The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
- family
Version String Java release family identifier.
- support
Type String This indicates the support category for the Java release family.
GetJavaReleaseLicenseDetail
- Display
Name string Commonly used name for the license type.
- License
Type string License type for the Java version.
- License
Url string Publicly accessible license URL containing the detailed terms and conditions.
- Display
Name string Commonly used name for the license type.
- License
Type string License type for the Java version.
- License
Url string Publicly accessible license URL containing the detailed terms and conditions.
- display
Name String Commonly used name for the license type.
- license
Type String License type for the Java version.
- license
Url String Publicly accessible license URL containing the detailed terms and conditions.
- display
Name string Commonly used name for the license type.
- license
Type string License type for the Java version.
- license
Url 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.
- display
Name String Commonly used name for the license type.
- license
Type String License type for the Java version.
- license
Url 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.