1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getJavaFamilies
Oracle Cloud Infrastructure v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi

oci.Jms.getJavaFamilies

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi

    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

    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 = @var.Java_family_display_name,
            FamilyVersion = @var.Java_family_family_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.GetJavaFamilies(ctx, &jms.GetJavaFamiliesArgs{
    			DisplayName:   pulumi.StringRef(_var.Java_family_display_name),
    			FamilyVersion: pulumi.StringRef(_var.Java_family_family_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.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(var_.java_family_display_name())
                .familyVersion(var_.java_family_family_version())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_java_families = oci.Jms.get_java_families(display_name=var["java_family_display_name"],
        family_version=var["java_family_family_version"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testJavaFamilies = oci.Jms.getJavaFamilies({
        displayName: _var.java_family_display_name,
        familyVersion: _var.java_family_family_version,
    });
    
    variables:
      testJavaFamilies:
        fn::invoke:
          Function: oci:Jms:getJavaFamilies
          Arguments:
            displayName: ${var.java_family_display_name}
            familyVersion: ${var.java_family_family_version}
    

    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[_jms.GetJavaFamiliesFilter]] = 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[_jms.GetJavaFamiliesFilterArgs]]]] = 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Jms/getJavaFamilies:getJavaFamilies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DisplayName string

    The display name for the Java family.

    FamilyVersion string

    The version identifier for the Java family.

    Filters List<GetJavaFamiliesFilter>
    DisplayName string

    The display name for the Java family.

    FamilyVersion string

    The version identifier for the Java family.

    Filters []GetJavaFamiliesFilter
    displayName String

    The display name for the Java family.

    familyVersion String

    The version identifier for the Java family.

    filters List<GetJavaFamiliesFilter>
    displayName string

    The display name for the Java family.

    familyVersion string

    The version identifier for the Java family.

    filters GetJavaFamiliesFilter[]
    display_name str

    The display name for the Java family.

    family_version str

    The version identifier for the Java family.

    filters GetJavaFamiliesFilter]
    displayName String

    The display name for the Java family.

    familyVersion String

    The version identifier for the Java family.

    filters List<Property Map>

    getJavaFamilies Result

    The following output properties are available:

    Id string

    The provider-assigned unique ID for this managed resource.

    JavaFamilyCollections List<GetJavaFamiliesJavaFamilyCollection>

    The list of java_family_collection.

    DisplayName string

    The display name of the release family.

    FamilyVersion string

    The Java release family identifier.

    Filters List<GetJavaFamiliesFilter>
    Id string

    The provider-assigned unique ID for this managed resource.

    JavaFamilyCollections []GetJavaFamiliesJavaFamilyCollection

    The list of java_family_collection.

    DisplayName string

    The display name of the release family.

    FamilyVersion string

    The Java release family identifier.

    Filters []GetJavaFamiliesFilter
    id String

    The provider-assigned unique ID for this managed resource.

    javaFamilyCollections List<GetJavaFamiliesJavaFamilyCollection>

    The list of java_family_collection.

    displayName String

    The display name of the release family.

    familyVersion String

    The Java release family identifier.

    filters List<GetJavaFamiliesFilter>
    id string

    The provider-assigned unique ID for this managed resource.

    javaFamilyCollections GetJavaFamiliesJavaFamilyCollection[]

    The list of java_family_collection.

    displayName string

    The display name of the release family.

    familyVersion string

    The Java release family identifier.

    filters GetJavaFamiliesFilter[]
    id str

    The provider-assigned unique ID for this managed resource.

    java_family_collections GetJavaFamiliesJavaFamilyCollection]

    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 GetJavaFamiliesFilter]
    id String

    The provider-assigned unique ID for this managed resource.

    javaFamilyCollections List<Property Map>

    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>

    Supporting Types

    GetJavaFamiliesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetJavaFamiliesJavaFamilyCollection

    GetJavaFamiliesJavaFamilyCollectionItem

    DisplayName string

    The display name for the Java 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 version identifier for the Java family.

    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.

    EndOfSupportLifeDate string

    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.

    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.

    endOfSupportLifeDate String

    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.

    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.

    endOfSupportLifeDate string

    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.

    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_support_life_date str

    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.

    displayName String

    The display name for the Java 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 version identifier for the Java family.

    supportType String

    This indicates the support category for the Java release family.

    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 v1.16.1 published on Wednesday, Nov 22, 2023 by Pulumi