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

oci.Functions.getFusionEnvironmentStatus

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 Fusion Environment Status resource in Oracle Cloud Infrastructure Fusion Apps service.

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentStatus = oci.Functions.getFusionEnvironmentStatus({
        fusionEnvironmentId: testFusionEnvironment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_status = oci.Functions.get_fusion_environment_status(fusion_environment_id=test_fusion_environment["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/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: testFusionEnvironment.Id,
    		}, 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 testFusionEnvironmentStatus = Oci.Functions.GetFusionEnvironmentStatus.Invoke(new()
        {
            FusionEnvironmentId = testFusionEnvironment.Id,
        });
    
    });
    
    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(testFusionEnvironment.id())
                .build());
    
        }
    }
    
    variables:
      testFusionEnvironmentStatus:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentStatus
          Arguments:
            fusionEnvironmentId: ${testFusionEnvironment.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
    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