Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
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 dictionarydata "oci_oci_get_datacc_infrastructure_scale_option" "name" {
# arguments
}The following arguments are supported:
- Infrastructure
Id string - The OCID of the Database Infrastructure.
- Infrastructure
Id string - The OCID of the Database Infrastructure.
- infrastructure_
id string - The OCID of the Database Infrastructure.
- infrastructure
Id String - The OCID of the Database Infrastructure.
- infrastructure
Id string - The OCID of the Database Infrastructure.
- infrastructure_
id str - The OCID of the Database Infrastructure.
- infrastructure
Id 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.
- Infrastructure
Id string - Possible
Ssd List<string>Configurations - The available scale options for the infrastructure.
- Id string
- The provider-assigned unique ID for this managed resource.
- Infrastructure
Id string - Possible
Ssd []stringConfigurations - The available scale options for the infrastructure.
- id string
- The provider-assigned unique ID for this managed resource.
- infrastructure_
id string - possible_
ssd_ list(string)configurations - The available scale options for the infrastructure.
- id String
- The provider-assigned unique ID for this managed resource.
- infrastructure
Id String - possible
Ssd List<String>Configurations - The available scale options for the infrastructure.
- id string
- The provider-assigned unique ID for this managed resource.
- infrastructure
Id string - possible
Ssd string[]Configurations - The available scale options for the infrastructure.
- id str
- The provider-assigned unique ID for this managed resource.
- infrastructure_
id str - possible_
ssd_ Sequence[str]configurations - The available scale options for the infrastructure.
- id String
- The provider-assigned unique ID for this managed resource.
- infrastructure
Id String - possible
Ssd List<String>Configurations - 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
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi