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
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:
- Display
Name string The display name for the Java family.
- Family
Version string The version identifier for the Java family.
- Filters
List<Get
Java Families Filter>
- Display
Name string The display name for the Java family.
- Family
Version string The version identifier for the Java family.
- Filters
[]Get
Java Families Filter
- display
Name String The display name for the Java family.
- family
Version String The version identifier for the Java family.
- filters
List<Get
Java Families Filter>
- display
Name string The display name for the Java family.
- family
Version string The version identifier for the Java family.
- filters
Get
Java Families Filter[]
- display_
name str The display name for the Java family.
- family_
version str The version identifier for the Java family.
- filters
Get
Java Families Filter]
- display
Name String The display name for the Java family.
- family
Version 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.
- Java
Family List<GetCollections Java Families Java Family Collection> The list of java_family_collection.
- Display
Name string The display name of the release family.
- Family
Version string The Java release family identifier.
- Filters
List<Get
Java Families Filter>
- Id string
The provider-assigned unique ID for this managed resource.
- Java
Family []GetCollections Java Families Java Family Collection The list of java_family_collection.
- Display
Name string The display name of the release family.
- Family
Version string The Java release family identifier.
- Filters
[]Get
Java Families Filter
- id String
The provider-assigned unique ID for this managed resource.
- java
Family List<GetCollections Java Families Java Family Collection> The list of java_family_collection.
- display
Name String The display name of the release family.
- family
Version String The Java release family identifier.
- filters
List<Get
Java Families Filter>
- id string
The provider-assigned unique ID for this managed resource.
- java
Family GetCollections Java Families Java Family Collection[] The list of java_family_collection.
- display
Name string The display name of the release family.
- family
Version string The Java release family identifier.
- filters
Get
Java Families Filter[]
- id str
The provider-assigned unique ID for this managed resource.
- java_
family_ 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
Get
Java Families Filter]
- id String
The provider-assigned unique ID for this managed resource.
- java
Family List<Property Map>Collections The list of java_family_collection.
- display
Name String The display name of the release family.
- family
Version String The Java release family identifier.
- filters List<Property Map>
Supporting Types
GetJavaFamiliesFilter
GetJavaFamiliesJavaFamilyCollection
GetJavaFamiliesJavaFamilyCollectionItem
- Display
Name string The display name for the Java 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 version identifier for the Java family.
- Support
Type string This indicates the support category for the Java release family.
- Display
Name string The display name for the Java 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 version identifier for the Java family.
- Support
Type string This indicates the support category for the Java release family.
- display
Name String The display name for the Java 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 version identifier for the Java family.
- support
Type String This indicates the support category for the Java release family.
- display
Name string The display name for the Java 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 version identifier for the Java family.
- support
Type 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.
- support_
type str This indicates the support category for the Java release family.
- display
Name String The display name for the Java 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 version identifier for the Java family.
- support
Type 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.