Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi
oci.Jms.getJavaFamily
Explore with Pulumi AI
This data source provides details about a specific Java Family resource in Oracle Cloud Infrastructure Jms service.
Returns metadata associated with a specific Java release family.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaFamily = oci.Jms.getJavaFamily({
familyVersion: javaFamilyFamilyVersion,
});
import pulumi
import pulumi_oci as oci
test_java_family = oci.Jms.get_java_family(family_version=java_family_family_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.GetJavaFamily(ctx, &jms.GetJavaFamilyArgs{
FamilyVersion: javaFamilyFamilyVersion,
}, 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 testJavaFamily = Oci.Jms.GetJavaFamily.Invoke(new()
{
FamilyVersion = javaFamilyFamilyVersion,
});
});
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.GetJavaFamilyArgs;
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 testJavaFamily = JmsFunctions.getJavaFamily(GetJavaFamilyArgs.builder()
.familyVersion(javaFamilyFamilyVersion)
.build());
}
}
variables:
testJavaFamily:
fn::invoke:
function: oci:Jms:getJavaFamily
arguments:
familyVersion: ${javaFamilyFamilyVersion}
Using getJavaFamily
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 getJavaFamily(args: GetJavaFamilyArgs, opts?: InvokeOptions): Promise<GetJavaFamilyResult>
function getJavaFamilyOutput(args: GetJavaFamilyOutputArgs, opts?: InvokeOptions): Output<GetJavaFamilyResult>
def get_java_family(family_version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetJavaFamilyResult
def get_java_family_output(family_version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetJavaFamilyResult]
func GetJavaFamily(ctx *Context, args *GetJavaFamilyArgs, opts ...InvokeOption) (*GetJavaFamilyResult, error)
func GetJavaFamilyOutput(ctx *Context, args *GetJavaFamilyOutputArgs, opts ...InvokeOption) GetJavaFamilyResultOutput
> Note: This function is named GetJavaFamily
in the Go SDK.
public static class GetJavaFamily
{
public static Task<GetJavaFamilyResult> InvokeAsync(GetJavaFamilyArgs args, InvokeOptions? opts = null)
public static Output<GetJavaFamilyResult> Invoke(GetJavaFamilyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetJavaFamilyResult> getJavaFamily(GetJavaFamilyArgs args, InvokeOptions options)
public static Output<GetJavaFamilyResult> getJavaFamily(GetJavaFamilyArgs args, InvokeOptions options)
fn::invoke:
function: oci:Jms/getJavaFamily:getJavaFamily
arguments:
# arguments dictionary
The following arguments are supported:
- Family
Version This property is required. string - Unique Java family version identifier.
- Family
Version This property is required. string - Unique Java family version identifier.
- family
Version This property is required. String - Unique Java family version identifier.
- family
Version This property is required. string - Unique Java family version identifier.
- family_
version This property is required. str - Unique Java family version identifier.
- family
Version This property is required. String - Unique Java family version identifier.
getJavaFamily Result
The following output properties are available:
- Display
Name string - The display name of the release family.
- 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 Java release family identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Supported boolVersion - Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- Latest
Release List<GetArtifacts Java Family 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 stringVersion - Latest Java release version in the family.
- Release
Date string - The date on which the Java release family was first made available (formatted according to RFC3339).
- Support
Type string - This indicates the support category for the Java release family.
- Display
Name string - The display name of the release family.
- 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 Java release family identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Supported boolVersion - Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- Latest
Release []GetArtifacts Java Family 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 stringVersion - Latest Java release version in the family.
- Release
Date string - The date on which the Java release family was first made available (formatted according to RFC3339).
- Support
Type string - This indicates the support category for the Java release family.
- display
Name String - The display name of the release family.
- 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 Java release family identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Supported BooleanVersion - Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- latest
Release List<GetArtifacts Java Family 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 StringVersion - Latest Java release version in the family.
- release
Date String - The date on which the Java release family was first made available (formatted according to RFC3339).
- support
Type String - This indicates the support category for the Java release family.
- display
Name string - The display name of the release family.
- 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 Java release family identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Supported booleanVersion - Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- latest
Release GetArtifacts Java Family 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 stringVersion - Latest Java release version in the family.
- release
Date string - The date on which the Java release family was first made available (formatted according to RFC3339).
- support
Type string - This indicates the support category for the Java release family.
- display_
name str - The display name of the release 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 Java release family identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
supported_ boolversion - Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- latest_
release_ Sequence[jms.artifacts Get Java Family 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.
- display
Name String - The display name of the release family.
- 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 Java release family identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Supported BooleanVersion - Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
- latest
Release 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.
- latest
Release StringVersion - Latest Java release version in the family.
- release
Date String - The date on which the Java release family was first made available (formatted according to RFC3339).
- support
Type String - This indicates the support category for the Java release family.
Supporting Types
GetJavaFamilyLatestReleaseArtifact
- Approximate
File Size In Bytes This property is required. string - Approximate compressed file size in bytes.
- Architecture
This property is required. string - The target Operating System architecture for the artifact.
- Artifact
Content Type This property is required. string - Product content type of this artifact.
- Artifact
Description This property is required. string - Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- Artifact
File Name This property is required. string - The file name of the artifact.
- Artifact
Id This property is required. string - Unique identifier for the artifact.
- Download
Url This property is required. 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.
- Os
Family This property is required. string - The target Operating System family for the artifact.
- Package
Type This property is required. string - The package type(typically the file extension) of the artifact.
- Package
Type Detail This property is required. string - Additional information about the package type.
- Script
Checksum Url This property is required. string - 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 Url This property is required. string - 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
This property is required. string - SHA256 checksum of the artifact.
- Approximate
File Size In Bytes This property is required. string - Approximate compressed file size in bytes.
- Architecture
This property is required. string - The target Operating System architecture for the artifact.
- Artifact
Content Type This property is required. string - Product content type of this artifact.
- Artifact
Description This property is required. string - Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- Artifact
File Name This property is required. string - The file name of the artifact.
- Artifact
Id This property is required. string - Unique identifier for the artifact.
- Download
Url This property is required. 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.
- Os
Family This property is required. string - The target Operating System family for the artifact.
- Package
Type This property is required. string - The package type(typically the file extension) of the artifact.
- Package
Type Detail This property is required. string - Additional information about the package type.
- Script
Checksum Url This property is required. string - 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 Url This property is required. string - 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
This property is required. string - SHA256 checksum of the artifact.
- approximate
File Size In Bytes This property is required. String - Approximate compressed file size in bytes.
- architecture
This property is required. String - The target Operating System architecture for the artifact.
- artifact
Content Type This property is required. String - Product content type of this artifact.
- artifact
Description This property is required. String - Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifact
File Name This property is required. String - The file name of the artifact.
- artifact
Id This property is required. String - Unique identifier for the artifact.
- download
Url This property is required. 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.
- os
Family This property is required. String - The target Operating System family for the artifact.
- package
Type This property is required. String - The package type(typically the file extension) of the artifact.
- package
Type Detail This property is required. String - Additional information about the package type.
- script
Checksum Url This property is required. String - 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 Url This property is required. String - 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
This property is required. String - SHA256 checksum of the artifact.
- approximate
File Size In Bytes This property is required. string - Approximate compressed file size in bytes.
- architecture
This property is required. string - The target Operating System architecture for the artifact.
- artifact
Content Type This property is required. string - Product content type of this artifact.
- artifact
Description This property is required. string - Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifact
File Name This property is required. string - The file name of the artifact.
- artifact
Id This property is required. string - Unique identifier for the artifact.
- download
Url This property is required. 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.
- os
Family This property is required. string - The target Operating System family for the artifact.
- package
Type This property is required. string - The package type(typically the file extension) of the artifact.
- package
Type Detail This property is required. string - Additional information about the package type.
- script
Checksum Url This property is required. string - 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 Url This property is required. string - 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
This property is required. string - SHA256 checksum of the artifact.
- approximate_
file_ size_ in_ bytes This property is required. str - Approximate compressed file size in bytes.
- architecture
This property is required. str - The target Operating System architecture for the artifact.
- artifact_
content_ type This property is required. str - Product content type of this artifact.
- artifact_
description This property is required. str - Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifact_
file_ name This property is required. str - The file name of the artifact.
- artifact_
id This property is required. str - Unique identifier for the artifact.
- download_
url This property is required. 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 This property is required. str - The target Operating System family for the artifact.
- package_
type This property is required. str - The package type(typically the file extension) of the artifact.
- package_
type_ detail This property is required. str - Additional information about the package type.
- script_
checksum_ url This property is required. str - 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_ url This property is required. str - 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
This property is required. str - SHA256 checksum of the artifact.
- approximate
File Size In Bytes This property is required. String - Approximate compressed file size in bytes.
- architecture
This property is required. String - The target Operating System architecture for the artifact.
- artifact
Content Type This property is required. String - Product content type of this artifact.
- artifact
Description This property is required. String - Description of the binary artifact. Typically includes the OS, architecture, and installer type.
- artifact
File Name This property is required. String - The file name of the artifact.
- artifact
Id This property is required. String - Unique identifier for the artifact.
- download
Url This property is required. 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.
- os
Family This property is required. String - The target Operating System family for the artifact.
- package
Type This property is required. String - The package type(typically the file extension) of the artifact.
- package
Type Detail This property is required. String - Additional information about the package type.
- script
Checksum Url This property is required. String - 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 Url This property is required. String - 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
This property is required. 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
oci
Terraform Provider.