getFusionEnvironmentFamilyLimitsAndUsage

This data source provides details about a specific Fusion Environment Family Limits And Usage resource in Oracle Cloud Infrastructure Fusion Apps service.

Gets the number of environments (usage) of each type in the fusion environment family, as well as the limit that’s allowed to be created based on the group’s associated subscriptions.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testFusionEnvironmentFamilyLimitsAndUsage = Oci.Functions.GetFusionEnvironmentFamilyLimitsAndUsage.Invoke(new()
    {
        FusionEnvironmentFamilyId = oci_fusion_apps_fusion_environment_family.Test_fusion_environment_family.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.GetFusionEnvironmentFamilyLimitsAndUsage(ctx, &functions.GetFusionEnvironmentFamilyLimitsAndUsageArgs{
			FusionEnvironmentFamilyId: oci_fusion_apps_fusion_environment_family.Test_fusion_environment_family.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.GetFusionEnvironmentFamilyLimitsAndUsageArgs;
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 testFusionEnvironmentFamilyLimitsAndUsage = FunctionsFunctions.getFusionEnvironmentFamilyLimitsAndUsage(GetFusionEnvironmentFamilyLimitsAndUsageArgs.builder()
            .fusionEnvironmentFamilyId(oci_fusion_apps_fusion_environment_family.test_fusion_environment_family().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_fusion_environment_family_limits_and_usage = oci.Functions.get_fusion_environment_family_limits_and_usage(fusion_environment_family_id=oci_fusion_apps_fusion_environment_family["test_fusion_environment_family"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testFusionEnvironmentFamilyLimitsAndUsage = oci.Functions.getFusionEnvironmentFamilyLimitsAndUsage({
    fusionEnvironmentFamilyId: oci_fusion_apps_fusion_environment_family.test_fusion_environment_family.id,
});
variables:
  testFusionEnvironmentFamilyLimitsAndUsage:
    Fn::Invoke:
      Function: oci:Functions:getFusionEnvironmentFamilyLimitsAndUsage
      Arguments:
        fusionEnvironmentFamilyId: ${oci_fusion_apps_fusion_environment_family.test_fusion_environment_family.id}

Using getFusionEnvironmentFamilyLimitsAndUsage

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 getFusionEnvironmentFamilyLimitsAndUsage(args: GetFusionEnvironmentFamilyLimitsAndUsageArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentFamilyLimitsAndUsageResult>
function getFusionEnvironmentFamilyLimitsAndUsageOutput(args: GetFusionEnvironmentFamilyLimitsAndUsageOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentFamilyLimitsAndUsageResult>
def get_fusion_environment_family_limits_and_usage(fusion_environment_family_id: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentFamilyLimitsAndUsageResult
def get_fusion_environment_family_limits_and_usage_output(fusion_environment_family_id: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentFamilyLimitsAndUsageResult]
func GetFusionEnvironmentFamilyLimitsAndUsage(ctx *Context, args *GetFusionEnvironmentFamilyLimitsAndUsageArgs, opts ...InvokeOption) (*GetFusionEnvironmentFamilyLimitsAndUsageResult, error)
func GetFusionEnvironmentFamilyLimitsAndUsageOutput(ctx *Context, args *GetFusionEnvironmentFamilyLimitsAndUsageOutputArgs, opts ...InvokeOption) GetFusionEnvironmentFamilyLimitsAndUsageResultOutput

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

public static class GetFusionEnvironmentFamilyLimitsAndUsage 
{
    public static Task<GetFusionEnvironmentFamilyLimitsAndUsageResult> InvokeAsync(GetFusionEnvironmentFamilyLimitsAndUsageArgs args, InvokeOptions? opts = null)
    public static Output<GetFusionEnvironmentFamilyLimitsAndUsageResult> Invoke(GetFusionEnvironmentFamilyLimitsAndUsageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFusionEnvironmentFamilyLimitsAndUsageResult> getFusionEnvironmentFamilyLimitsAndUsage(GetFusionEnvironmentFamilyLimitsAndUsageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Functions/getFusionEnvironmentFamilyLimitsAndUsage:getFusionEnvironmentFamilyLimitsAndUsage
  arguments:
    # arguments dictionary

The following arguments are supported:

FusionEnvironmentFamilyId string

The unique identifier (OCID) of the FusionEnvironmentFamily.

FusionEnvironmentFamilyId string

The unique identifier (OCID) of the FusionEnvironmentFamily.

fusionEnvironmentFamilyId String

The unique identifier (OCID) of the FusionEnvironmentFamily.

fusionEnvironmentFamilyId string

The unique identifier (OCID) of the FusionEnvironmentFamily.

fusion_environment_family_id str

The unique identifier (OCID) of the FusionEnvironmentFamily.

fusionEnvironmentFamilyId String

The unique identifier (OCID) of the FusionEnvironmentFamily.

getFusionEnvironmentFamilyLimitsAndUsage Result

The following output properties are available:

DevelopmentLimitAndUsages List<GetFusionEnvironmentFamilyLimitsAndUsageDevelopmentLimitAndUsage>

The limit and usage for a specific environment type, for example, production, development, or test.

FusionEnvironmentFamilyId string
Id string

The provider-assigned unique ID for this managed resource.

ProductionLimitAndUsages List<GetFusionEnvironmentFamilyLimitsAndUsageProductionLimitAndUsage>

The limit and usage for a specific environment type, for example, production, development, or test.

TestLimitAndUsages List<GetFusionEnvironmentFamilyLimitsAndUsageTestLimitAndUsage>

The limit and usage for a specific environment type, for example, production, development, or test.

DevelopmentLimitAndUsages []GetFusionEnvironmentFamilyLimitsAndUsageDevelopmentLimitAndUsage

The limit and usage for a specific environment type, for example, production, development, or test.

FusionEnvironmentFamilyId string
Id string

The provider-assigned unique ID for this managed resource.

ProductionLimitAndUsages []GetFusionEnvironmentFamilyLimitsAndUsageProductionLimitAndUsage

The limit and usage for a specific environment type, for example, production, development, or test.

TestLimitAndUsages []GetFusionEnvironmentFamilyLimitsAndUsageTestLimitAndUsage

The limit and usage for a specific environment type, for example, production, development, or test.

developmentLimitAndUsages List<GetFusionEnvironmentFamilyLimitsAndUsageDevelopmentLimitAndUsage>

The limit and usage for a specific environment type, for example, production, development, or test.

fusionEnvironmentFamilyId String
id String

The provider-assigned unique ID for this managed resource.

productionLimitAndUsages List<GetFusionEnvironmentFamilyLimitsAndUsageProductionLimitAndUsage>

The limit and usage for a specific environment type, for example, production, development, or test.

testLimitAndUsages List<GetFusionEnvironmentFamilyLimitsAndUsageTestLimitAndUsage>

The limit and usage for a specific environment type, for example, production, development, or test.

developmentLimitAndUsages GetFusionEnvironmentFamilyLimitsAndUsageDevelopmentLimitAndUsage[]

The limit and usage for a specific environment type, for example, production, development, or test.

fusionEnvironmentFamilyId string
id string

The provider-assigned unique ID for this managed resource.

productionLimitAndUsages GetFusionEnvironmentFamilyLimitsAndUsageProductionLimitAndUsage[]

The limit and usage for a specific environment type, for example, production, development, or test.

testLimitAndUsages GetFusionEnvironmentFamilyLimitsAndUsageTestLimitAndUsage[]

The limit and usage for a specific environment type, for example, production, development, or test.

development_limit_and_usages GetFusionEnvironmentFamilyLimitsAndUsageDevelopmentLimitAndUsage]

The limit and usage for a specific environment type, for example, production, development, or test.

fusion_environment_family_id str
id str

The provider-assigned unique ID for this managed resource.

production_limit_and_usages GetFusionEnvironmentFamilyLimitsAndUsageProductionLimitAndUsage]

The limit and usage for a specific environment type, for example, production, development, or test.

test_limit_and_usages GetFusionEnvironmentFamilyLimitsAndUsageTestLimitAndUsage]

The limit and usage for a specific environment type, for example, production, development, or test.

developmentLimitAndUsages List<Property Map>

The limit and usage for a specific environment type, for example, production, development, or test.

fusionEnvironmentFamilyId String
id String

The provider-assigned unique ID for this managed resource.

productionLimitAndUsages List<Property Map>

The limit and usage for a specific environment type, for example, production, development, or test.

testLimitAndUsages List<Property Map>

The limit and usage for a specific environment type, for example, production, development, or test.

Supporting Types

GetFusionEnvironmentFamilyLimitsAndUsageDevelopmentLimitAndUsage

Limit int
Usage int

The usage of current environment.

Limit int
Usage int

The usage of current environment.

limit Integer
usage Integer

The usage of current environment.

limit number
usage number

The usage of current environment.

limit int
usage int

The usage of current environment.

limit Number
usage Number

The usage of current environment.

GetFusionEnvironmentFamilyLimitsAndUsageProductionLimitAndUsage

Limit int
Usage int

The usage of current environment.

Limit int
Usage int

The usage of current environment.

limit Integer
usage Integer

The usage of current environment.

limit number
usage number

The usage of current environment.

limit int
usage int

The usage of current environment.

limit Number
usage Number

The usage of current environment.

GetFusionEnvironmentFamilyLimitsAndUsageTestLimitAndUsage

Limit int
Usage int

The usage of current environment.

Limit int
Usage int

The usage of current environment.

limit Integer
usage Integer

The usage of current environment.

limit number
usage number

The usage of current environment.

limit int
usage int

The usage of current environment.

limit Number
usage Number

The usage of current environment.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.