Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Functions.getFusionEnvironmentTimeAvailableForRefresh
Explore with Pulumi AI
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:
- 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
getFusionEnvironmentTimeAvailableForRefresh Result
The following output properties are available:
- Fusion
Environment stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Fusion Environment Time Available For Refresh Item> - A list of available refresh time objects.
- Fusion
Environment stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Fusion Environment Time Available For Refresh Item - A list of available refresh time objects.
- fusion
Environment StringId - id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Fusion Environment Time Available For Refresh Item> - A list of available refresh time objects.
- fusion
Environment stringId - id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Fusion Environment Time Available For Refresh Item[] - A list of available refresh time objects.
- fusion_
environment_ strid - id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[functions.
Get Fusion Environment Time Available For Refresh Item] - A list of available refresh time objects.
- fusion
Environment StringId - 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
- Time
Available stringFor Refresh - refresh time.
- Time
Available stringFor Refresh - refresh time.
- time
Available StringFor Refresh - refresh time.
- time
Available stringFor Refresh - refresh time.
- time_
available_ strfor_ refresh - refresh time.
- time
Available StringFor Refresh - refresh time.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.