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
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 = @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.GetJavaFamily(ctx, &jms.GetJavaFamilyArgs{
FamilyVersion: _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.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(var_.java_family_family_version())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_java_family = oci.Jms.get_java_family(family_version=var["java_family_family_version"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testJavaFamily = oci.Jms.getJavaFamily({
familyVersion: _var.java_family_family_version,
});
variables:
testJavaFamily:
fn::invoke:
Function: oci:Jms:getJavaFamily
Arguments:
familyVersion: ${var.java_family_family_version}
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:
- Family
Version string Unique Java family version identifier.
- Family
Version string Unique Java family version identifier.
- family
Version String Unique Java family version identifier.
- family
Version string Unique Java family version identifier.
- family_
version str Unique Java family version identifier.
- family
Version 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.