1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentTimeAvailableForRefresh
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Functions.getFusionEnvironmentTimeAvailableForRefresh

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides details about a specific Fusion Environment Time Available For Refresh resource in Oracle Cloud Infrastructure Fusion Apps service.

    Gets available refresh time for this fusion environment

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentTimeAvailableForRefresh = oci.Functions.getFusionEnvironmentTimeAvailableForRefresh({
        fusionEnvironmentId: testFusionEnvironment.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_time_available_for_refresh = oci.Functions.get_fusion_environment_time_available_for_refresh(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.GetFusionEnvironmentTimeAvailableForRefresh(ctx, &functions.GetFusionEnvironmentTimeAvailableForRefreshArgs{
    			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 testFusionEnvironmentTimeAvailableForRefresh = Oci.Functions.GetFusionEnvironmentTimeAvailableForRefresh.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.GetFusionEnvironmentTimeAvailableForRefreshArgs;
    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 testFusionEnvironmentTimeAvailableForRefresh = FunctionsFunctions.getFusionEnvironmentTimeAvailableForRefresh(GetFusionEnvironmentTimeAvailableForRefreshArgs.builder()
                .fusionEnvironmentId(testFusionEnvironment.id())
                .build());
    
        }
    }
    
    variables:
      testFusionEnvironmentTimeAvailableForRefresh:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentTimeAvailableForRefresh
          Arguments:
            fusionEnvironmentId: ${testFusionEnvironment.id}
    

    Using getFusionEnvironmentTimeAvailableForRefresh

    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 getFusionEnvironmentTimeAvailableForRefresh(args: GetFusionEnvironmentTimeAvailableForRefreshArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentTimeAvailableForRefreshResult>
    function getFusionEnvironmentTimeAvailableForRefreshOutput(args: GetFusionEnvironmentTimeAvailableForRefreshOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentTimeAvailableForRefreshResult>
    def get_fusion_environment_time_available_for_refresh(fusion_environment_id: Optional[str] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentTimeAvailableForRefreshResult
    def get_fusion_environment_time_available_for_refresh_output(fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentTimeAvailableForRefreshResult]
    func GetFusionEnvironmentTimeAvailableForRefresh(ctx *Context, args *GetFusionEnvironmentTimeAvailableForRefreshArgs, opts ...InvokeOption) (*GetFusionEnvironmentTimeAvailableForRefreshResult, error)
    func GetFusionEnvironmentTimeAvailableForRefreshOutput(ctx *Context, args *GetFusionEnvironmentTimeAvailableForRefreshOutputArgs, opts ...InvokeOption) GetFusionEnvironmentTimeAvailableForRefreshResultOutput

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

    public static class GetFusionEnvironmentTimeAvailableForRefresh 
    {
        public static Task<GetFusionEnvironmentTimeAvailableForRefreshResult> InvokeAsync(GetFusionEnvironmentTimeAvailableForRefreshArgs args, InvokeOptions? opts = null)
        public static Output<GetFusionEnvironmentTimeAvailableForRefreshResult> Invoke(GetFusionEnvironmentTimeAvailableForRefreshInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFusionEnvironmentTimeAvailableForRefreshResult> getFusionEnvironmentTimeAvailableForRefresh(GetFusionEnvironmentTimeAvailableForRefreshArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getFusionEnvironmentTimeAvailableForRefresh:getFusionEnvironmentTimeAvailableForRefresh
      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

    getFusionEnvironmentTimeAvailableForRefresh Result

    The following output properties are available:

    FusionEnvironmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetFusionEnvironmentTimeAvailableForRefreshItem>
    A list of available refresh time objects.
    FusionEnvironmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetFusionEnvironmentTimeAvailableForRefreshItem
    A list of available refresh time objects.
    fusionEnvironmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetFusionEnvironmentTimeAvailableForRefreshItem>
    A list of available refresh time objects.
    fusionEnvironmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    items GetFusionEnvironmentTimeAvailableForRefreshItem[]
    A list of available refresh time objects.
    fusion_environment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[functions.GetFusionEnvironmentTimeAvailableForRefreshItem]
    A list of available refresh time objects.
    fusionEnvironmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    A list of available refresh time objects.

    Supporting Types

    GetFusionEnvironmentTimeAvailableForRefreshItem

    TimeAvailableForRefresh string
    refresh time.
    TimeAvailableForRefresh string
    refresh time.
    timeAvailableForRefresh String
    refresh time.
    timeAvailableForRefresh string
    refresh time.
    timeAvailableForRefresh String
    refresh time.

    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.11.0 published on Thursday, Sep 19, 2024 by Pulumi