Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 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:
- ExadataInfrastructure stringId 
- The Exadata infrastructure OCID.
- VmCluster stringNetwork Id 
- The VM cluster network OCID.
- Base64EncodeContent bool
- ExadataInfrastructure stringId 
- The Exadata infrastructure OCID.
- VmCluster stringNetwork Id 
- The VM cluster network OCID.
- Base64EncodeContent bool
- exadataInfrastructure StringId 
- The Exadata infrastructure OCID.
- vmCluster StringNetwork Id 
- The VM cluster network OCID.
- base64EncodeContent Boolean
- exadataInfrastructure stringId 
- The Exadata infrastructure OCID.
- vmCluster stringNetwork Id 
- The VM cluster network OCID.
- base64EncodeContent boolean
- exadata_infrastructure_ strid 
- The Exadata infrastructure OCID.
- vm_cluster_ strnetwork_ id 
- The VM cluster network OCID.
- base64_encode_ boolcontent 
- exadataInfrastructure StringId 
- The Exadata infrastructure OCID.
- vmCluster StringNetwork Id 
- The VM cluster network OCID.
- base64EncodeContent 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.
- ExadataInfrastructure stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- VmCluster stringNetwork Id 
- Base64EncodeContent 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.
- ExadataInfrastructure stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- VmCluster stringNetwork Id 
- Base64EncodeContent 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.
- exadataInfrastructure StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- vmCluster StringNetwork Id 
- base64EncodeContent 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.
- exadataInfrastructure stringId 
- id string
- The provider-assigned unique ID for this managed resource.
- vmCluster stringNetwork Id 
- base64EncodeContent 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.
- exadataInfrastructure StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- vmCluster StringNetwork Id 
- base64EncodeContent Boolean
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.