1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaFamily
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Jms.getJavaFamily

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getJavaFamily:getJavaFamily
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FamilyVersion string
    Unique Java family version identifier.
    FamilyVersion string
    Unique Java family version identifier.
    familyVersion String
    Unique Java family version identifier.
    familyVersion string
    Unique Java family version identifier.
    family_version str
    Unique Java family version identifier.
    familyVersion String
    Unique Java family version identifier.

    getJavaFamily Result

    The following output properties are available:

    DisplayName string
    The display name of the release family.
    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
    The Java release family identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsSupportedVersion bool
    Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
    LatestReleaseArtifacts List<GetJavaFamilyLatestReleaseArtifact>
    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.
    LatestReleaseVersion string
    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 of the release family.
    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
    The Java release family identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsSupportedVersion bool
    Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
    LatestReleaseArtifacts []GetJavaFamilyLatestReleaseArtifact
    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.
    LatestReleaseVersion string
    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 of the release family.
    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
    The Java release family identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    isSupportedVersion Boolean
    Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
    latestReleaseArtifacts List<GetJavaFamilyLatestReleaseArtifact>
    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.
    latestReleaseVersion String
    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 of the release family.
    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
    The Java release family identifier.
    id string
    The provider-assigned unique ID for this managed resource.
    isSupportedVersion boolean
    Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
    latestReleaseArtifacts GetJavaFamilyLatestReleaseArtifact[]
    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.
    latestReleaseVersion string
    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 of the release family.
    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
    The Java release family identifier.
    id str
    The provider-assigned unique ID for this managed resource.
    is_supported_version bool
    Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
    latest_release_artifacts Sequence[jms.GetJavaFamilyLatestReleaseArtifact]
    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_version str
    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 of the release family.
    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
    The Java release family identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    isSupportedVersion Boolean
    Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
    latestReleaseArtifacts List<Property Map>
    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.
    latestReleaseVersion String
    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.

    Supporting Types

    GetJavaFamilyLatestReleaseArtifact

    ApproximateFileSizeInBytes string
    Approximate compressed file size in bytes.
    Architecture string
    The target Operating System architecture for the artifact.
    ArtifactContentType string
    Product content type of this artifact.
    ArtifactDescription string
    Description of the binary artifact. Typically includes the OS, architecture, and installer type.
    ArtifactFileName string
    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.
    PackageTypeDetail string
    Additional information about the package type.
    ScriptChecksumUrl 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.
    ScriptDownloadUrl 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 string
    SHA256 checksum of the artifact.
    ApproximateFileSizeInBytes string
    Approximate compressed file size in bytes.
    Architecture string
    The target Operating System architecture for the artifact.
    ArtifactContentType string
    Product content type of this artifact.
    ArtifactDescription string
    Description of the binary artifact. Typically includes the OS, architecture, and installer type.
    ArtifactFileName string
    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.
    PackageTypeDetail string
    Additional information about the package type.
    ScriptChecksumUrl 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.
    ScriptDownloadUrl 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 string
    SHA256 checksum of the artifact.
    approximateFileSizeInBytes String
    Approximate compressed file size in bytes.
    architecture String
    The target Operating System architecture for the artifact.
    artifactContentType String
    Product content type of this artifact.
    artifactDescription String
    Description of the binary artifact. Typically includes the OS, architecture, and installer type.
    artifactFileName String
    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.
    packageTypeDetail String
    Additional information about the package type.
    scriptChecksumUrl 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.
    scriptDownloadUrl 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 String
    SHA256 checksum of the artifact.
    approximateFileSizeInBytes string
    Approximate compressed file size in bytes.
    architecture string
    The target Operating System architecture for the artifact.
    artifactContentType string
    Product content type of this artifact.
    artifactDescription string
    Description of the binary artifact. Typically includes the OS, architecture, and installer type.
    artifactFileName string
    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.
    packageTypeDetail string
    Additional information about the package type.
    scriptChecksumUrl 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.
    scriptDownloadUrl 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 string
    SHA256 checksum of the artifact.
    approximate_file_size_in_bytes str
    Approximate compressed file size in bytes.
    architecture str
    The target Operating System architecture for the artifact.
    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_file_name str
    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_detail str
    Additional information about the package type.
    script_checksum_url 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 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 str
    SHA256 checksum of the artifact.
    approximateFileSizeInBytes String
    Approximate compressed file size in bytes.
    architecture String
    The target Operating System architecture for the artifact.
    artifactContentType String
    Product content type of this artifact.
    artifactDescription String
    Description of the binary artifact. Typically includes the OS, architecture, and installer type.
    artifactFileName String
    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.
    packageTypeDetail String
    Additional information about the package type.
    scriptChecksumUrl 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.
    scriptDownloadUrl 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 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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi