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:
- Family
Version string The version identifier for the Java family.
- Filters
List<Get
Java Releases Filter> - Jre
Security stringStatus The security status of the Java Runtime.
- License
Type string Java license type.
- Release
Type string Java release type.
- Release
Version string Unique Java release version identifier
- Family
Version string The version identifier for the Java family.
- Filters
[]Get
Java Releases Filter - Jre
Security stringStatus The security status of the Java Runtime.
- License
Type string Java license type.
- Release
Type string Java release type.
- Release
Version string Unique Java release version identifier
- family
Version String The version identifier for the Java family.
- filters
List<Get
Java Releases Filter> - jre
Security StringStatus The security status of the Java Runtime.
- license
Type String Java license type.
- release
Type String Java release type.
- release
Version String Unique Java release version identifier
- family
Version string The version identifier for the Java family.
- filters
Get
Java Releases Filter[] - jre
Security stringStatus The security status of the Java Runtime.
- license
Type string Java license type.
- release
Type string Java release type.
- release
Version string Unique Java release version identifier
- family_
version str The version identifier for the Java family.
- filters
Get
Java Releases Filter] - jre_
security_ strstatus 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
- family
Version String The version identifier for the Java family.
- filters List<Property Map>
- jre
Security StringStatus The security status of the Java Runtime.
- license
Type String Java license type.
- release
Type String Java release type.
- release
Version 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.
- Java
Release List<GetCollections Java Releases Java Release Collection> The list of java_release_collection.
- Family
Version string Java release family identifier.
- Filters
List<Get
Java Releases Filter> - Jre
Security stringStatus - License
Type string License type for the Java version.
- Release
Type string Release category of the Java version.
- Release
Version string Java release version identifier.
- Id string
The provider-assigned unique ID for this managed resource.
- Java
Release []GetCollections Java Releases Java Release Collection The list of java_release_collection.
- Family
Version string Java release family identifier.
- Filters
[]Get
Java Releases Filter - Jre
Security stringStatus - License
Type string License type for the Java version.
- Release
Type string Release category of the Java version.
- Release
Version string Java release version identifier.
- id String
The provider-assigned unique ID for this managed resource.
- java
Release List<GetCollections Java Releases Java Release Collection> The list of java_release_collection.
- family
Version String Java release family identifier.
- filters
List<Get
Java Releases Filter> - jre
Security StringStatus - license
Type String License type for the Java version.
- release
Type String Release category of the Java version.
- release
Version String Java release version identifier.
- id string
The provider-assigned unique ID for this managed resource.
- java
Release GetCollections Java Releases Java Release Collection[] The list of java_release_collection.
- family
Version string Java release family identifier.
- filters
Get
Java Releases Filter[] - jre
Security stringStatus - license
Type string License type for the Java version.
- release
Type string Release category of the Java version.
- release
Version string Java release version identifier.
- id str
The provider-assigned unique ID for this managed resource.
- java_
release_ Getcollections Java Releases Java Release Collection] The list of java_release_collection.
- family_
version str Java release family identifier.
- filters
Get
Java Releases Filter] - jre_
security_ strstatus - 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.
- java
Release List<Property Map>Collections The list of java_release_collection.
- family
Version String Java release family identifier.
- filters List<Property Map>
- jre
Security StringStatus - license
Type String License type for the Java version.
- release
Type String Release category of the Java version.
- release
Version String Java release version identifier.
Supporting Types
GetJavaReleasesFilter
GetJavaReleasesJavaReleaseCollection
GetJavaReleasesJavaReleaseCollectionItem
- Artifact
Content List<string>Types Artifact content types for the Java version.
- Artifacts
List<Get
Java Releases Java Release Collection Item Artifact> List of Java artifacts.
- Family
Details List<GetJava Releases Java Release Collection Item 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 The version identifier for the Java family.
- License
Details List<GetJava Releases Java Release Collection Item License Detail> Information about a license type for Java.
- License
Type string Java license type.
- 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 Java release type.
- Release
Version string Unique 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 Releases Java Release Collection Item Artifact List of Java artifacts.
- Family
Details []GetJava Releases Java Release Collection Item 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 The version identifier for the Java family.
- License
Details []GetJava Releases Java Release Collection Item License Detail Information about a license type for Java.
- License
Type string Java license type.
- 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 Java release type.
- Release
Version string Unique 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 Releases Java Release Collection Item Artifact> List of Java artifacts.
- family
Details List<GetJava Releases Java Release Collection Item 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 The version identifier for the Java family.
- license
Details List<GetJava Releases Java Release Collection Item License Detail> Information about a license type for Java.
- license
Type String Java license type.
- 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 Java release type.
- release
Version String Unique 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 Releases Java Release Collection Item Artifact[] List of Java artifacts.
- family
Details GetJava Releases Java Release Collection Item 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 The version identifier for the Java family.
- license
Details GetJava Releases Java Release Collection Item License Detail[] Information about a license type for Java.
- license
Type string Java license type.
- 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 Java release type.
- release
Version string Unique 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 Releases Java Release Collection Item Artifact] List of Java artifacts.
- family_
details GetJava Releases Java Release Collection Item 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 The version identifier for the Java family.
- license_
details GetJava Releases Java Release Collection Item License Detail] Information about a license type for Java.
- license_
type str Java license type.
- 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 Java release type.
- release_
version str Unique 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 The version identifier for the Java family.
- license
Details List<Property Map> Information about a license type for Java.
- license
Type String Java license type.
- 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 Java release type.
- release
Version String Unique Java release version identifier
- security
Status String The security status of the Java version.
GetJavaReleasesJavaReleaseCollectionItemArtifact
- 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.
GetJavaReleasesJavaReleaseCollectionItemFamilyDetail
- 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 The version identifier for the Java family.
- 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 The version identifier for the Java family.
- 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 The version identifier for the Java family.
- 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 The version identifier for the Java family.
- 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 The version identifier for the Java family.
- 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 The version identifier for the Java family.
- support
Type String This indicates the support category for the Java release family.
GetJavaReleasesJavaReleaseCollectionItemLicenseDetail
- Display
Name string Commonly used name for the license type.
- License
Type string Java license type.
- 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 Java license type.
- 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 Java license type.
- 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 Java license type.
- 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 Java license type.
- 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 Java license type.
- 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.