Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Functions.getFusionEnvironmentStatus
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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/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:
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Fusion
Environment stringId - unique FusionEnvironment identifier
- fusion
Environment StringId - unique FusionEnvironment identifier
- fusion
Environment stringId - unique FusionEnvironment identifier
- fusion_
environment_ strid - unique FusionEnvironment identifier
- fusion
Environment StringId - unique FusionEnvironment identifier
getFusionEnvironmentStatus Result
The following output properties are available:
- Fusion
Environment stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The data plane status of FusionEnvironment.
- Fusion
Environment stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The data plane status of FusionEnvironment.
- fusion
Environment StringId - id String
- The provider-assigned unique ID for this managed resource.
- status String
- The data plane status of FusionEnvironment.
- fusion
Environment stringId - id string
- The provider-assigned unique ID for this managed resource.
- status string
- The data plane status of FusionEnvironment.
- fusion_
environment_ strid - id str
- The provider-assigned unique ID for this managed resource.
- status str
- The data plane status of FusionEnvironment.
- fusion
Environment StringId - 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi