Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi
oci.Database.getVmClusterNetworkDownloadConfigFile
Explore with Pulumi AI
This data source provides details about a specific Vm Cluster Network Download Config File resource in Oracle Cloud Infrastructure Database service.
Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmClusterNetworkDownloadConfigFile = oci.Database.getVmClusterNetworkDownloadConfigFile({
    exadataInfrastructureId: testExadataInfrastructure.id,
    vmClusterNetworkId: testVmClusterNetwork.id,
    base64EncodeContent: false,
});
import pulumi
import pulumi_oci as oci
test_vm_cluster_network_download_config_file = oci.Database.get_vm_cluster_network_download_config_file(exadata_infrastructure_id=test_exadata_infrastructure["id"],
    vm_cluster_network_id=test_vm_cluster_network["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.GetVmClusterNetworkDownloadConfigFile(ctx, &database.GetVmClusterNetworkDownloadConfigFileArgs{
			ExadataInfrastructureId: testExadataInfrastructure.Id,
			VmClusterNetworkId:      testVmClusterNetwork.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 testVmClusterNetworkDownloadConfigFile = Oci.Database.GetVmClusterNetworkDownloadConfigFile.Invoke(new()
    {
        ExadataInfrastructureId = testExadataInfrastructure.Id,
        VmClusterNetworkId = testVmClusterNetwork.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.GetVmClusterNetworkDownloadConfigFileArgs;
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 testVmClusterNetworkDownloadConfigFile = DatabaseFunctions.getVmClusterNetworkDownloadConfigFile(GetVmClusterNetworkDownloadConfigFileArgs.builder()
            .exadataInfrastructureId(testExadataInfrastructure.id())
            .vmClusterNetworkId(testVmClusterNetwork.id())
            .base64EncodeContent(false)
            .build());
    }
}
variables:
  testVmClusterNetworkDownloadConfigFile:
    fn::invoke:
      function: oci:Database:getVmClusterNetworkDownloadConfigFile
      arguments:
        exadataInfrastructureId: ${testExadataInfrastructure.id}
        vmClusterNetworkId: ${testVmClusterNetwork.id}
        base64EncodeContent: 'false'
Using getVmClusterNetworkDownloadConfigFile
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 getVmClusterNetworkDownloadConfigFile(args: GetVmClusterNetworkDownloadConfigFileArgs, opts?: InvokeOptions): Promise<GetVmClusterNetworkDownloadConfigFileResult>
function getVmClusterNetworkDownloadConfigFileOutput(args: GetVmClusterNetworkDownloadConfigFileOutputArgs, opts?: InvokeOptions): Output<GetVmClusterNetworkDownloadConfigFileResult>def get_vm_cluster_network_download_config_file(base64_encode_content: Optional[bool] = None,
                                                exadata_infrastructure_id: Optional[str] = None,
                                                vm_cluster_network_id: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetVmClusterNetworkDownloadConfigFileResult
def get_vm_cluster_network_download_config_file_output(base64_encode_content: Optional[pulumi.Input[bool]] = None,
                                                exadata_infrastructure_id: Optional[pulumi.Input[str]] = None,
                                                vm_cluster_network_id: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetVmClusterNetworkDownloadConfigFileResult]func GetVmClusterNetworkDownloadConfigFile(ctx *Context, args *GetVmClusterNetworkDownloadConfigFileArgs, opts ...InvokeOption) (*GetVmClusterNetworkDownloadConfigFileResult, error)
func GetVmClusterNetworkDownloadConfigFileOutput(ctx *Context, args *GetVmClusterNetworkDownloadConfigFileOutputArgs, opts ...InvokeOption) GetVmClusterNetworkDownloadConfigFileResultOutput> Note: This function is named GetVmClusterNetworkDownloadConfigFile in the Go SDK.
public static class GetVmClusterNetworkDownloadConfigFile 
{
    public static Task<GetVmClusterNetworkDownloadConfigFileResult> InvokeAsync(GetVmClusterNetworkDownloadConfigFileArgs args, InvokeOptions? opts = null)
    public static Output<GetVmClusterNetworkDownloadConfigFileResult> Invoke(GetVmClusterNetworkDownloadConfigFileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmClusterNetworkDownloadConfigFileResult> getVmClusterNetworkDownloadConfigFile(GetVmClusterNetworkDownloadConfigFileArgs args, InvokeOptions options)
public static Output<GetVmClusterNetworkDownloadConfigFileResult> getVmClusterNetworkDownloadConfigFile(GetVmClusterNetworkDownloadConfigFileArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getVmClusterNetworkDownloadConfigFile:getVmClusterNetworkDownloadConfigFile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Exadata
Infrastructure stringId  - The Exadata infrastructure OCID.
 - Vm
Cluster stringNetwork Id  - The VM cluster network OCID.
 - Base64Encode
Content bool 
- Exadata
Infrastructure stringId  - The Exadata infrastructure OCID.
 - Vm
Cluster stringNetwork Id  - The VM cluster network OCID.
 - Base64Encode
Content bool 
- exadata
Infrastructure StringId  - The Exadata infrastructure OCID.
 - vm
Cluster StringNetwork Id  - The VM cluster network OCID.
 - base64Encode
Content Boolean 
- exadata
Infrastructure stringId  - The Exadata infrastructure OCID.
 - vm
Cluster stringNetwork Id  - The VM cluster network OCID.
 - base64Encode
Content boolean 
- exadata_
infrastructure_ strid  - The Exadata infrastructure OCID.
 - vm_
cluster_ strnetwork_ id  - The VM cluster network OCID.
 - base64_
encode_ boolcontent  
- exadata
Infrastructure StringId  - The Exadata infrastructure OCID.
 - vm
Cluster StringNetwork Id  - The VM cluster network OCID.
 - base64Encode
Content Boolean 
getVmClusterNetworkDownloadConfigFile 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.
 - Vm
Cluster stringNetwork Id  - 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.
 - Vm
Cluster stringNetwork Id  - 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.
 - vm
Cluster StringNetwork Id  - 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.
 - vm
Cluster stringNetwork Id  - 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.
 - vm_
cluster_ strnetwork_ id  - 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.
 - vm
Cluster StringNetwork Id  - base64Encode
Content Boolean 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.