Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Jms.getJavaFamilies
Explore with Pulumi AI
This data source provides the list of Java Families in Oracle Cloud Infrastructure Jms service.
Returns a list of the Java release family information. A Java release family is typically a major version in the Java version identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaFamilies = oci.Jms.getJavaFamilies({
    displayName: javaFamilyDisplayName,
    familyVersion: javaFamilyFamilyVersion,
    isSupportedVersion: javaFamilyIsSupportedVersion,
});
import pulumi
import pulumi_oci as oci
test_java_families = oci.Jms.get_java_families(display_name=java_family_display_name,
    family_version=java_family_family_version,
    is_supported_version=java_family_is_supported_version)
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.GetJavaFamilies(ctx, &jms.GetJavaFamiliesArgs{
			DisplayName:        pulumi.StringRef(javaFamilyDisplayName),
			FamilyVersion:      pulumi.StringRef(javaFamilyFamilyVersion),
			IsSupportedVersion: pulumi.BoolRef(javaFamilyIsSupportedVersion),
		}, 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 testJavaFamilies = Oci.Jms.GetJavaFamilies.Invoke(new()
    {
        DisplayName = javaFamilyDisplayName,
        FamilyVersion = javaFamilyFamilyVersion,
        IsSupportedVersion = javaFamilyIsSupportedVersion,
    });
});
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.GetJavaFamiliesArgs;
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 testJavaFamilies = JmsFunctions.getJavaFamilies(GetJavaFamiliesArgs.builder()
            .displayName(javaFamilyDisplayName)
            .familyVersion(javaFamilyFamilyVersion)
            .isSupportedVersion(javaFamilyIsSupportedVersion)
            .build());
    }
}
variables:
  testJavaFamilies:
    fn::invoke:
      function: oci:Jms:getJavaFamilies
      arguments:
        displayName: ${javaFamilyDisplayName}
        familyVersion: ${javaFamilyFamilyVersion}
        isSupportedVersion: ${javaFamilyIsSupportedVersion}
Using getJavaFamilies
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 getJavaFamilies(args: GetJavaFamiliesArgs, opts?: InvokeOptions): Promise<GetJavaFamiliesResult>
function getJavaFamiliesOutput(args: GetJavaFamiliesOutputArgs, opts?: InvokeOptions): Output<GetJavaFamiliesResult>def get_java_families(display_name: Optional[str] = None,
                      family_version: Optional[str] = None,
                      filters: Optional[Sequence[GetJavaFamiliesFilter]] = None,
                      is_supported_version: Optional[bool] = None,
                      opts: Optional[InvokeOptions] = None) -> GetJavaFamiliesResult
def get_java_families_output(display_name: Optional[pulumi.Input[str]] = None,
                      family_version: Optional[pulumi.Input[str]] = None,
                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetJavaFamiliesFilterArgs]]]] = None,
                      is_supported_version: Optional[pulumi.Input[bool]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetJavaFamiliesResult]func GetJavaFamilies(ctx *Context, args *GetJavaFamiliesArgs, opts ...InvokeOption) (*GetJavaFamiliesResult, error)
func GetJavaFamiliesOutput(ctx *Context, args *GetJavaFamiliesOutputArgs, opts ...InvokeOption) GetJavaFamiliesResultOutput> Note: This function is named GetJavaFamilies in the Go SDK.
public static class GetJavaFamilies 
{
    public static Task<GetJavaFamiliesResult> InvokeAsync(GetJavaFamiliesArgs args, InvokeOptions? opts = null)
    public static Output<GetJavaFamiliesResult> Invoke(GetJavaFamiliesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJavaFamiliesResult> getJavaFamilies(GetJavaFamiliesArgs args, InvokeOptions options)
public static Output<GetJavaFamiliesResult> getJavaFamilies(GetJavaFamiliesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getJavaFamilies:getJavaFamilies
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DisplayName string
- The display name for the Java family.
- FamilyVersion string
- The version identifier for the Java family.
- Filters
List<GetJava Families Filter> 
- IsSupported boolVersion 
- Filter the Java Release Family versions by support status.
- DisplayName string
- The display name for the Java family.
- FamilyVersion string
- The version identifier for the Java family.
- Filters
[]GetJava Families Filter 
- IsSupported boolVersion 
- Filter the Java Release Family versions by support status.
- displayName String
- The display name for the Java family.
- familyVersion String
- The version identifier for the Java family.
- filters
List<GetJava Families Filter> 
- isSupported BooleanVersion 
- Filter the Java Release Family versions by support status.
- displayName string
- The display name for the Java family.
- familyVersion string
- The version identifier for the Java family.
- filters
GetJava Families Filter[] 
- isSupported booleanVersion 
- Filter the Java Release Family versions by support status.
- display_name str
- The display name for the Java family.
- family_version str
- The version identifier for the Java family.
- filters
Sequence[GetJava Families Filter] 
- is_supported_ boolversion 
- Filter the Java Release Family versions by support status.
- displayName String
- The display name for the Java family.
- familyVersion String
- The version identifier for the Java family.
- filters List<Property Map>
- isSupported BooleanVersion 
- Filter the Java Release Family versions by support status.
getJavaFamilies Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaFamily List<GetCollections Java Families Java Family Collection> 
- The list of java_family_collection.
- DisplayName string
- The display name of the release family.
- FamilyVersion string
- The Java release family identifier.
- Filters
List<GetJava Families Filter> 
- IsSupported boolVersion 
- Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- Id string
- The provider-assigned unique ID for this managed resource.
- JavaFamily []GetCollections Java Families Java Family Collection 
- The list of java_family_collection.
- DisplayName string
- The display name of the release family.
- FamilyVersion string
- The Java release family identifier.
- Filters
[]GetJava Families Filter 
- IsSupported boolVersion 
- Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- id String
- The provider-assigned unique ID for this managed resource.
- javaFamily List<GetCollections Java Families Java Family Collection> 
- The list of java_family_collection.
- displayName String
- The display name of the release family.
- familyVersion String
- The Java release family identifier.
- filters
List<GetJava Families Filter> 
- isSupported BooleanVersion 
- Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- id string
- The provider-assigned unique ID for this managed resource.
- javaFamily GetCollections Java Families Java Family Collection[] 
- The list of java_family_collection.
- displayName string
- The display name of the release family.
- familyVersion string
- The Java release family identifier.
- filters
GetJava Families Filter[] 
- isSupported booleanVersion 
- Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- id str
- The provider-assigned unique ID for this managed resource.
- java_family_ Sequence[Getcollections Java Families Java Family Collection] 
- The list of java_family_collection.
- display_name str
- The display name of the release family.
- family_version str
- The Java release family identifier.
- filters
Sequence[GetJava Families Filter] 
- is_supported_ boolversion 
- Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- id String
- The provider-assigned unique ID for this managed resource.
- javaFamily List<Property Map>Collections 
- The list of java_family_collection.
- displayName String
- The display name of the release family.
- familyVersion String
- The Java release family identifier.
- filters List<Property Map>
- isSupported BooleanVersion 
- Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
Supporting Types
GetJavaFamiliesFilter   
GetJavaFamiliesJavaFamilyCollection     
GetJavaFamiliesJavaFamilyCollectionItem      
- DisplayName string
- The display name for the Java family.
- DocUrl string
- Link to access the documentation for the release.
- EndOf stringSupport Life Date 
- 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.
- IsSupported boolVersion 
- Filter the Java Release Family versions by support status.
- LatestRelease List<GetArtifacts Java Families Java Family Collection Item Latest Release Artifact> 
- List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.
- LatestRelease stringVersion 
- Latest Java release version in the family.
- ReleaseDate string
- The date on which the Java release family was first made available (formatted according to RFC3339).
- SupportType string
- This indicates the support category for the Java release family.
- DisplayName string
- The display name for the Java family.
- DocUrl string
- Link to access the documentation for the release.
- EndOf stringSupport Life Date 
- 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.
- IsSupported boolVersion 
- Filter the Java Release Family versions by support status.
- LatestRelease []GetArtifacts Java Families Java Family Collection Item Latest Release Artifact 
- List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.
- LatestRelease stringVersion 
- Latest Java release version in the family.
- ReleaseDate string
- The date on which the Java release family was first made available (formatted according to RFC3339).
- SupportType string
- This indicates the support category for the Java release family.
- displayName String
- The display name for the Java family.
- docUrl String
- Link to access the documentation for the release.
- endOf StringSupport Life Date 
- 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.
- isSupported BooleanVersion 
- Filter the Java Release Family versions by support status.
- latestRelease List<GetArtifacts Java Families Java Family Collection Item Latest Release Artifact> 
- List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.
- latestRelease StringVersion 
- Latest Java release version in the family.
- releaseDate String
- The date on which the Java release family was first made available (formatted according to RFC3339).
- supportType String
- This indicates the support category for the Java release family.
- displayName string
- The display name for the Java family.
- docUrl string
- Link to access the documentation for the release.
- endOf stringSupport Life Date 
- 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.
- isSupported booleanVersion 
- Filter the Java Release Family versions by support status.
- latestRelease GetArtifacts Java Families Java Family Collection Item Latest Release Artifact[] 
- List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.
- latestRelease stringVersion 
- Latest Java release version in the family.
- releaseDate string
- The date on which the Java release family was first made available (formatted according to RFC3339).
- supportType string
- This indicates the support category for the Java release family.
- display_name str
- The display name for the Java family.
- 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.
- is_supported_ boolversion 
- Filter the Java Release Family versions by support status.
- latest_release_ Sequence[Getartifacts Java Families Java Family Collection Item Latest Release Artifact] 
- List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.
- latest_release_ strversion 
- Latest Java release version in the family.
- release_date str
- The date on which the Java release family was first made available (formatted according to RFC3339).
- support_type str
- This indicates the support category for the Java release family.
- displayName String
- The display name for the Java family.
- docUrl String
- Link to access the documentation for the release.
- endOf StringSupport Life Date 
- 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.
- isSupported BooleanVersion 
- Filter the Java Release Family versions by support status.
- latestRelease List<Property Map>Artifacts 
- List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.
- latestRelease StringVersion 
- Latest Java release version in the family.
- releaseDate String
- The date on which the Java release family was first made available (formatted according to RFC3339).
- supportType String
- This indicates the support category for the Java release family.
GetJavaFamiliesJavaFamilyCollectionItemLatestReleaseArtifact         
- ApproximateFile stringSize In Bytes 
- Approximate compressed file size in bytes.
- Architecture string
- The target Operating System architecture for the artifact.
- ArtifactContent stringType 
- Product content type of this artifact.
- ArtifactDescription string
- Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- ArtifactFile stringName 
- The file name of the artifact.
- ArtifactId string
- Unique identifier for the artifact.
- DownloadUrl string
- The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this API for more details.
- OsFamily string
- The target Operating System family for the artifact.
- PackageType string
- The package type(typically the file extension) of the artifact.
- PackageType stringDetail 
- Additional information about the package type.
- ScriptChecksum stringUrl 
- The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact.
- ScriptDownload stringUrl 
- The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family.
- Sha256 string
- SHA256 checksum of the artifact.
- ApproximateFile stringSize In Bytes 
- Approximate compressed file size in bytes.
- Architecture string
- The target Operating System architecture for the artifact.
- ArtifactContent stringType 
- Product content type of this artifact.
- ArtifactDescription string
- Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- ArtifactFile stringName 
- The file name of the artifact.
- ArtifactId string
- Unique identifier for the artifact.
- DownloadUrl string
- The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this API for more details.
- OsFamily string
- The target Operating System family for the artifact.
- PackageType string
- The package type(typically the file extension) of the artifact.
- PackageType stringDetail 
- Additional information about the package type.
- ScriptChecksum stringUrl 
- The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact.
- ScriptDownload stringUrl 
- The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family.
- Sha256 string
- SHA256 checksum of the artifact.
- approximateFile StringSize In Bytes 
- Approximate compressed file size in bytes.
- architecture String
- The target Operating System architecture for the artifact.
- artifactContent StringType 
- Product content type of this artifact.
- artifactDescription String
- Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifactFile StringName 
- The file name of the artifact.
- artifactId String
- Unique identifier for the artifact.
- downloadUrl String
- The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this API for more details.
- osFamily String
- The target Operating System family for the artifact.
- packageType String
- The package type(typically the file extension) of the artifact.
- packageType StringDetail 
- Additional information about the package type.
- scriptChecksum StringUrl 
- The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact.
- scriptDownload StringUrl 
- The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family.
- sha256 String
- SHA256 checksum of the artifact.
- approximateFile stringSize In Bytes 
- Approximate compressed file size in bytes.
- architecture string
- The target Operating System architecture for the artifact.
- artifactContent stringType 
- Product content type of this artifact.
- artifactDescription string
- Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifactFile stringName 
- The file name of the artifact.
- artifactId string
- Unique identifier for the artifact.
- downloadUrl string
- The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this API for more details.
- osFamily string
- The target Operating System family for the artifact.
- packageType string
- The package type(typically the file extension) of the artifact.
- packageType stringDetail 
- Additional information about the package type.
- scriptChecksum stringUrl 
- The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact.
- scriptDownload stringUrl 
- The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family.
- sha256 string
- SHA256 checksum of the artifact.
- approximate_file_ strsize_ in_ bytes 
- Approximate compressed file size in bytes.
- architecture str
- The target Operating System architecture for the artifact.
- 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_file_ strname 
- The file name of the artifact.
- artifact_id str
- Unique identifier for the artifact.
- download_url str
- The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this API for more details.
- os_family str
- The target Operating System family for the artifact.
- package_type str
- The package type(typically the file extension) of the artifact.
- package_type_ strdetail 
- Additional information about the package type.
- script_checksum_ strurl 
- The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact.
- script_download_ strurl 
- The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family.
- sha256 str
- SHA256 checksum of the artifact.
- approximateFile StringSize In Bytes 
- Approximate compressed file size in bytes.
- architecture String
- The target Operating System architecture for the artifact.
- artifactContent StringType 
- Product content type of this artifact.
- artifactDescription String
- Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifactFile StringName 
- The file name of the artifact.
- artifactId String
- Unique identifier for the artifact.
- downloadUrl String
- The endpoint that returns a short-lived artifact download URL in the response payload. This download url can then be used for downloading the artifact. See this API for more details.
- osFamily String
- The target Operating System family for the artifact.
- packageType String
- The package type(typically the file extension) of the artifact.
- packageType StringDetail 
- Additional information about the package type.
- scriptChecksum StringUrl 
- The URL for retrieving the checksum for the artifact. Depending on the context, this can point to the checksum of the archive or latest update release version artifact.
- scriptDownload StringUrl 
- The endpoint for downloading this artifact from command line, automatically in scripts and dockerfiles. Depending on the context, this can point to the archive or latest update release version artifact in the specified family.
- sha256 String
- SHA256 checksum of the artifact.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.