Oracle Cloud Infrastructure

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

getFusionEnvironmentTimeAvailableForRefreshs

This data source provides the list of Fusion Environment Time Available For Refreshs in Oracle Cloud Infrastructure Fusion Apps service.

Gets available refresh time for this fusion environment

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentTimeAvailableForRefreshs = Oci.Functions.GetFusionEnvironmentTimeAvailableForRefreshs.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.GetFusionEnvironmentTimeAvailableForRefreshs(ctx, &functions.GetFusionEnvironmentTimeAvailableForRefreshsArgs{
			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.GetFusionEnvironmentTimeAvailableForRefreshsArgs;
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 testFusionEnvironmentTimeAvailableForRefreshs = FunctionsFunctions.getFusionEnvironmentTimeAvailableForRefreshs(GetFusionEnvironmentTimeAvailableForRefreshsArgs.builder()
            .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fusion_environment_time_available_for_refreshs = oci.Functions.get_fusion_environment_time_available_for_refreshs(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 testFusionEnvironmentTimeAvailableForRefreshs = oci.Functions.getFusionEnvironmentTimeAvailableForRefreshs({
    fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
});
variables:
  testFusionEnvironmentTimeAvailableForRefreshs:
    Fn::Invoke:
      Function: oci:Functions:getFusionEnvironmentTimeAvailableForRefreshs
      Arguments:
        fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}

Using getFusionEnvironmentTimeAvailableForRefreshs

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 getFusionEnvironmentTimeAvailableForRefreshs(args: GetFusionEnvironmentTimeAvailableForRefreshsArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentTimeAvailableForRefreshsResult>
function getFusionEnvironmentTimeAvailableForRefreshsOutput(args: GetFusionEnvironmentTimeAvailableForRefreshsOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentTimeAvailableForRefreshsResult>
def get_fusion_environment_time_available_for_refreshs(filters: Optional[Sequence[_functions.GetFusionEnvironmentTimeAvailableForRefreshsFilter]] = None,
                                                       fusion_environment_id: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentTimeAvailableForRefreshsResult
def get_fusion_environment_time_available_for_refreshs_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_functions.GetFusionEnvironmentTimeAvailableForRefreshsFilterArgs]]]] = None,
                                                       fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentTimeAvailableForRefreshsResult]
func GetFusionEnvironmentTimeAvailableForRefreshs(ctx *Context, args *GetFusionEnvironmentTimeAvailableForRefreshsArgs, opts ...InvokeOption) (*GetFusionEnvironmentTimeAvailableForRefreshsResult, error)
func GetFusionEnvironmentTimeAvailableForRefreshsOutput(ctx *Context, args *GetFusionEnvironmentTimeAvailableForRefreshsOutputArgs, opts ...InvokeOption) GetFusionEnvironmentTimeAvailableForRefreshsResultOutput

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

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

The following arguments are supported:

fusionEnvironmentId String

unique FusionEnvironment identifier

filters List<Property Map>

getFusionEnvironmentTimeAvailableForRefreshs Result

The following output properties are available:

fusionEnvironmentId String
id String

The provider-assigned unique ID for this managed resource.

timeAvailableForRefreshCollections List<Property Map>

The list of time_available_for_refresh_collection.

filters List<Property Map>

Supporting Types

GetFusionEnvironmentTimeAvailableForRefreshsFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

GetFusionEnvironmentTimeAvailableForRefreshsTimeAvailableForRefreshCollection

items List<Property Map>

A list of available refresh time objects.

GetFusionEnvironmentTimeAvailableForRefreshsTimeAvailableForRefreshCollectionItem

TimeAvailableForRefresh string

refresh time.

TimeAvailableForRefresh string

refresh time.

timeAvailableForRefresh String

refresh time.

timeAvailableForRefresh string

refresh time.

timeAvailableForRefresh String

refresh time.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.