1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getDataccInfrastructureScaleOption
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi

    This data source provides details about a specific Infrastructure Scale Option resource in Oracle Cloud Infrastructure Datacc service.

    Get the available scale options for the infrastructure that has the specified OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testInfrastructureScaleOption = oci.oci.getDataccInfrastructureScaleOption({
        infrastructureId: testInfrastructure.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_infrastructure_scale_option = oci.oci.get_datacc_infrastructure_scale_option(infrastructure_id=test_infrastructure["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetDataccInfrastructureScaleOption(ctx, &oci.GetDataccInfrastructureScaleOptionArgs{
    			InfrastructureId: testInfrastructure.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 testInfrastructureScaleOption = Oci.Oci.GetDataccInfrastructureScaleOption.Invoke(new()
        {
            InfrastructureId = testInfrastructure.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetDataccInfrastructureScaleOptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testInfrastructureScaleOption = OciFunctions.getDataccInfrastructureScaleOption(GetDataccInfrastructureScaleOptionArgs.builder()
                .infrastructureId(testInfrastructure.id())
                .build());
    
        }
    }
    
    variables:
      testInfrastructureScaleOption:
        fn::invoke:
          function: oci:oci:getDataccInfrastructureScaleOption
          arguments:
            infrastructureId: ${testInfrastructure.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_getdataccinfrastructurescaleoption" "testInfrastructureScaleOption" {
      infrastructure_id = testInfrastructure.id
    }
    

    Using getDataccInfrastructureScaleOption

    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 getDataccInfrastructureScaleOption(args: GetDataccInfrastructureScaleOptionArgs, opts?: InvokeOptions): Promise<GetDataccInfrastructureScaleOptionResult>
    function getDataccInfrastructureScaleOptionOutput(args: GetDataccInfrastructureScaleOptionOutputArgs, opts?: InvokeOptions): Output<GetDataccInfrastructureScaleOptionResult>
    def get_datacc_infrastructure_scale_option(infrastructure_id: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetDataccInfrastructureScaleOptionResult
    def get_datacc_infrastructure_scale_option_output(infrastructure_id: pulumi.Input[Optional[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetDataccInfrastructureScaleOptionResult]
    func GetDataccInfrastructureScaleOption(ctx *Context, args *GetDataccInfrastructureScaleOptionArgs, opts ...InvokeOption) (*GetDataccInfrastructureScaleOptionResult, error)
    func GetDataccInfrastructureScaleOptionOutput(ctx *Context, args *GetDataccInfrastructureScaleOptionOutputArgs, opts ...InvokeOption) GetDataccInfrastructureScaleOptionResultOutput

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

    public static class GetDataccInfrastructureScaleOption 
    {
        public static Task<GetDataccInfrastructureScaleOptionResult> InvokeAsync(GetDataccInfrastructureScaleOptionArgs args, InvokeOptions? opts = null)
        public static Output<GetDataccInfrastructureScaleOptionResult> Invoke(GetDataccInfrastructureScaleOptionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataccInfrastructureScaleOptionResult> getDataccInfrastructureScaleOption(GetDataccInfrastructureScaleOptionArgs args, InvokeOptions options)
    public static Output<GetDataccInfrastructureScaleOptionResult> getDataccInfrastructureScaleOption(GetDataccInfrastructureScaleOptionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getDataccInfrastructureScaleOption:getDataccInfrastructureScaleOption
      arguments:
        # arguments dictionary
    data "oci_oci_get_datacc_infrastructure_scale_option" "name" {
        # arguments
    }

    The following arguments are supported:

    InfrastructureId string
    The OCID of the Database Infrastructure.
    InfrastructureId string
    The OCID of the Database Infrastructure.
    infrastructure_id string
    The OCID of the Database Infrastructure.
    infrastructureId String
    The OCID of the Database Infrastructure.
    infrastructureId string
    The OCID of the Database Infrastructure.
    infrastructure_id str
    The OCID of the Database Infrastructure.
    infrastructureId String
    The OCID of the Database Infrastructure.

    getDataccInfrastructureScaleOption Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    InfrastructureId string
    PossibleSsdConfigurations List<string>
    The available scale options for the infrastructure.
    Id string
    The provider-assigned unique ID for this managed resource.
    InfrastructureId string
    PossibleSsdConfigurations []string
    The available scale options for the infrastructure.
    id string
    The provider-assigned unique ID for this managed resource.
    infrastructure_id string
    possible_ssd_configurations list(string)
    The available scale options for the infrastructure.
    id String
    The provider-assigned unique ID for this managed resource.
    infrastructureId String
    possibleSsdConfigurations List<String>
    The available scale options for the infrastructure.
    id string
    The provider-assigned unique ID for this managed resource.
    infrastructureId string
    possibleSsdConfigurations string[]
    The available scale options for the infrastructure.
    id str
    The provider-assigned unique ID for this managed resource.
    infrastructure_id str
    possible_ssd_configurations Sequence[str]
    The available scale options for the infrastructure.
    id String
    The provider-assigned unique ID for this managed resource.
    infrastructureId String
    possibleSsdConfigurations List<String>
    The available scale options for the infrastructure.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.20.0
    published on Wednesday, Jul 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial