1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getExadataInfrastructureDownloadConfigFile
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Database.getExadataInfrastructureDownloadConfigFile

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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/v2/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Database/getExadataInfrastructureDownloadConfigFile:getExadataInfrastructureDownloadConfigFile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExadataInfrastructureId string
    The Exadata infrastructure OCID.
    Base64EncodeContent bool
    ExadataInfrastructureId string
    The Exadata infrastructure OCID.
    Base64EncodeContent bool
    exadataInfrastructureId String
    The Exadata infrastructure OCID.
    base64EncodeContent Boolean
    exadataInfrastructureId string
    The Exadata infrastructure OCID.
    base64EncodeContent boolean
    exadata_infrastructure_id str
    The Exadata infrastructure OCID.
    base64_encode_content bool
    exadataInfrastructureId String
    The Exadata infrastructure OCID.
    base64EncodeContent Boolean

    getExadataInfrastructureDownloadConfigFile Result

    The following output properties are available:

    Content string
    content of the downloaded config file for exadata infrastructure. If base64_encode_content is set to true, then this content will be base64 encoded.
    ExadataInfrastructureId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Base64EncodeContent bool
    Content string
    content of the downloaded config file for exadata infrastructure. If base64_encode_content is set to true, then this content will be base64 encoded.
    ExadataInfrastructureId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Base64EncodeContent bool
    content String
    content of the downloaded config file for exadata infrastructure. If base64_encode_content is set to true, then this content will be base64 encoded.
    exadataInfrastructureId String
    id String
    The provider-assigned unique ID for this managed resource.
    base64EncodeContent Boolean
    content string
    content of the downloaded config file for exadata infrastructure. If base64_encode_content is set to true, then this content will be base64 encoded.
    exadataInfrastructureId string
    id string
    The provider-assigned unique ID for this managed resource.
    base64EncodeContent boolean
    content str
    content of the downloaded config file for exadata infrastructure. If base64_encode_content is set to true, then this content will be base64 encoded.
    exadata_infrastructure_id str
    id str
    The provider-assigned unique ID for this managed resource.
    base64_encode_content bool
    content String
    content of the downloaded config file for exadata infrastructure. If base64_encode_content is set to true, then this content will be base64 encoded.
    exadataInfrastructureId String
    id String
    The provider-assigned unique ID for this managed resource.
    base64EncodeContent Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi