Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
This data source provides details about a specific Exadata Infrastructure Download Config File resource in Oracle Cloud Infrastructure Database service.
Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExadataInfrastructureDownloadConfigFile = oci.Database.getExadataInfrastructureDownloadConfigFile({
exadataInfrastructureId: testExadataInfrastructure.id,
base64EncodeContent: false,
});
import pulumi
import pulumi_oci as oci
test_exadata_infrastructure_download_config_file = oci.Database.get_exadata_infrastructure_download_config_file(exadata_infrastructure_id=test_exadata_infrastructure["id"],
base64_encode_content=False)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.GetExadataInfrastructureDownloadConfigFile(ctx, &database.GetExadataInfrastructureDownloadConfigFileArgs{
ExadataInfrastructureId: testExadataInfrastructure.Id,
Base64EncodeContent: pulumi.BoolRef(false),
}, 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 testExadataInfrastructureDownloadConfigFile = Oci.Database.GetExadataInfrastructureDownloadConfigFile.Invoke(new()
{
ExadataInfrastructureId = testExadataInfrastructure.Id,
Base64EncodeContent = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetExadataInfrastructureDownloadConfigFileArgs;
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 testExadataInfrastructureDownloadConfigFile = DatabaseFunctions.getExadataInfrastructureDownloadConfigFile(GetExadataInfrastructureDownloadConfigFileArgs.builder()
.exadataInfrastructureId(testExadataInfrastructure.id())
.base64EncodeContent(false)
.build());
}
}
variables:
testExadataInfrastructureDownloadConfigFile:
fn::invoke:
function: oci:Database:getExadataInfrastructureDownloadConfigFile
arguments:
exadataInfrastructureId: ${testExadataInfrastructure.id}
base64EncodeContent: 'false'
Using getExadataInfrastructureDownloadConfigFile
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 getExadataInfrastructureDownloadConfigFile(args: GetExadataInfrastructureDownloadConfigFileArgs, opts?: InvokeOptions): Promise<GetExadataInfrastructureDownloadConfigFileResult>
function getExadataInfrastructureDownloadConfigFileOutput(args: GetExadataInfrastructureDownloadConfigFileOutputArgs, opts?: InvokeOptions): Output<GetExadataInfrastructureDownloadConfigFileResult>def get_exadata_infrastructure_download_config_file(base64_encode_content: Optional[bool] = None,
exadata_infrastructure_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExadataInfrastructureDownloadConfigFileResult
def get_exadata_infrastructure_download_config_file_output(base64_encode_content: Optional[pulumi.Input[bool]] = None,
exadata_infrastructure_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExadataInfrastructureDownloadConfigFileResult]func GetExadataInfrastructureDownloadConfigFile(ctx *Context, args *GetExadataInfrastructureDownloadConfigFileArgs, opts ...InvokeOption) (*GetExadataInfrastructureDownloadConfigFileResult, error)
func GetExadataInfrastructureDownloadConfigFileOutput(ctx *Context, args *GetExadataInfrastructureDownloadConfigFileOutputArgs, opts ...InvokeOption) GetExadataInfrastructureDownloadConfigFileResultOutput> Note: This function is named GetExadataInfrastructureDownloadConfigFile in the Go SDK.
public static class GetExadataInfrastructureDownloadConfigFile
{
public static Task<GetExadataInfrastructureDownloadConfigFileResult> InvokeAsync(GetExadataInfrastructureDownloadConfigFileArgs args, InvokeOptions? opts = null)
public static Output<GetExadataInfrastructureDownloadConfigFileResult> Invoke(GetExadataInfrastructureDownloadConfigFileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExadataInfrastructureDownloadConfigFileResult> getExadataInfrastructureDownloadConfigFile(GetExadataInfrastructureDownloadConfigFileArgs args, InvokeOptions options)
public static Output<GetExadataInfrastructureDownloadConfigFileResult> getExadataInfrastructureDownloadConfigFile(GetExadataInfrastructureDownloadConfigFileArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getExadataInfrastructureDownloadConfigFile:getExadataInfrastructureDownloadConfigFile
arguments:
# arguments dictionaryThe following arguments are supported:
- Exadata
Infrastructure stringId - The Exadata infrastructure OCID.
- Base64Encode
Content bool - Encodes the downloaded zipped config in base64. It is recommended to set this to
trueto avoid corrupting the zip file in Terraform state. The default value isfalse.
- Exadata
Infrastructure stringId - The Exadata infrastructure OCID.
- Base64Encode
Content bool - Encodes the downloaded zipped config in base64. It is recommended to set this to
trueto avoid corrupting the zip file in Terraform state. The default value isfalse.
- exadata
Infrastructure StringId - The Exadata infrastructure OCID.
- base64Encode
Content Boolean - Encodes the downloaded zipped config in base64. It is recommended to set this to
trueto avoid corrupting the zip file in Terraform state. The default value isfalse.
- exadata
Infrastructure stringId - The Exadata infrastructure OCID.
- base64Encode
Content boolean - Encodes the downloaded zipped config in base64. It is recommended to set this to
trueto avoid corrupting the zip file in Terraform state. The default value isfalse.
- exadata_
infrastructure_ strid - The Exadata infrastructure OCID.
- base64_
encode_ boolcontent - Encodes the downloaded zipped config in base64. It is recommended to set this to
trueto avoid corrupting the zip file in Terraform state. The default value isfalse.
- exadata
Infrastructure StringId - The Exadata infrastructure OCID.
- base64Encode
Content Boolean - Encodes the downloaded zipped config in base64. It is recommended to set this to
trueto avoid corrupting the zip file in Terraform state. The default value isfalse.
getExadataInfrastructureDownloadConfigFile Result
The following output properties are available:
- Content string
- content of the downloaded config file for exadata infrastructure. If
base64_encode_contentis set totrue, then this content will be base64 encoded. - Exadata
Infrastructure stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Base64Encode
Content bool
- Content string
- content of the downloaded config file for exadata infrastructure. If
base64_encode_contentis set totrue, then this content will be base64 encoded. - Exadata
Infrastructure stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Base64Encode
Content bool
- content String
- content of the downloaded config file for exadata infrastructure. If
base64_encode_contentis set totrue, then this content will be base64 encoded. - exadata
Infrastructure StringId - id String
- The provider-assigned unique ID for this managed resource.
- base64Encode
Content Boolean
- content string
- content of the downloaded config file for exadata infrastructure. If
base64_encode_contentis set totrue, then this content will be base64 encoded. - exadata
Infrastructure stringId - id string
- The provider-assigned unique ID for this managed resource.
- base64Encode
Content boolean
- content str
- content of the downloaded config file for exadata infrastructure. If
base64_encode_contentis set totrue, then this content will be base64 encoded. - exadata_
infrastructure_ strid - id str
- The provider-assigned unique ID for this managed resource.
- base64_
encode_ boolcontent
- content String
- content of the downloaded config file for exadata infrastructure. If
base64_encode_contentis set totrue, then this content will be base64 encoded. - exadata
Infrastructure StringId - id String
- The provider-assigned unique ID for this managed resource.
- base64Encode
Content Boolean
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.4.0
published on Thursday, Mar 26, 2026 by Pulumi
published on Thursday, Mar 26, 2026 by Pulumi
