Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getFusionEnvironmentStatus

This data source provides details about a specific Fusion Environment Status resource in Oracle Cloud Infrastructure Fusion Apps service.

Gets the status of a Fusion environment identified by its OCID.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentStatus = Oci.Functions.GetFusionEnvironmentStatus.Invoke(new()
    {
        FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Functions"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Functions.GetFusionEnvironmentStatus(ctx, &functions.GetFusionEnvironmentStatusArgs{
			FusionEnvironmentId: oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
		}, 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.Functions.FunctionsFunctions;
import com.pulumi.oci.Functions.inputs.GetFusionEnvironmentStatusArgs;
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 testFusionEnvironmentStatus = FunctionsFunctions.getFusionEnvironmentStatus(GetFusionEnvironmentStatusArgs.builder()
            .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fusion_environment_status = oci.Functions.get_fusion_environment_status(fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFusionEnvironmentStatus = oci.Functions.getFusionEnvironmentStatus({
    fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
});
variables:
  testFusionEnvironmentStatus:
    Fn::Invoke:
      Function: oci:Functions:getFusionEnvironmentStatus
      Arguments:
        fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}

Using getFusionEnvironmentStatus

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 getFusionEnvironmentStatus(args: GetFusionEnvironmentStatusArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentStatusResult>
function getFusionEnvironmentStatusOutput(args: GetFusionEnvironmentStatusOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentStatusResult>
def get_fusion_environment_status(fusion_environment_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentStatusResult
def get_fusion_environment_status_output(fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentStatusResult]
func GetFusionEnvironmentStatus(ctx *Context, args *GetFusionEnvironmentStatusArgs, opts ...InvokeOption) (*GetFusionEnvironmentStatusResult, error)
func GetFusionEnvironmentStatusOutput(ctx *Context, args *GetFusionEnvironmentStatusOutputArgs, opts ...InvokeOption) GetFusionEnvironmentStatusResultOutput

> Note: This function is named GetFusionEnvironmentStatus in the Go SDK.

public static class GetFusionEnvironmentStatus 
{
    public static Task<GetFusionEnvironmentStatusResult> InvokeAsync(GetFusionEnvironmentStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetFusionEnvironmentStatusResult> Invoke(GetFusionEnvironmentStatusInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFusionEnvironmentStatusResult> getFusionEnvironmentStatus(GetFusionEnvironmentStatusArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Functions/getFusionEnvironmentStatus:getFusionEnvironmentStatus
  Arguments:
    # Arguments dictionary

The following arguments are supported:

FusionEnvironmentId string

unique FusionEnvironment identifier

FusionEnvironmentId string

unique FusionEnvironment identifier

fusionEnvironmentId String

unique FusionEnvironment identifier

fusionEnvironmentId string

unique FusionEnvironment identifier

fusion_environment_id str

unique FusionEnvironment identifier

fusionEnvironmentId String

unique FusionEnvironment identifier

getFusionEnvironmentStatus Result

The following output properties are available:

FusionEnvironmentId string
Id string

The provider-assigned unique ID for this managed resource.

Status string

The data plane status of FusionEnvironment.

FusionEnvironmentId string
Id string

The provider-assigned unique ID for this managed resource.

Status string

The data plane status of FusionEnvironment.

fusionEnvironmentId String
id String

The provider-assigned unique ID for this managed resource.

status String

The data plane status of FusionEnvironment.

fusionEnvironmentId string
id string

The provider-assigned unique ID for this managed resource.

status string

The data plane status of FusionEnvironment.

fusion_environment_id str
id str

The provider-assigned unique ID for this managed resource.

status str

The data plane status of FusionEnvironment.

fusionEnvironmentId String
id String

The provider-assigned unique ID for this managed resource.

status String

The data plane status of FusionEnvironment.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.