oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.Database.getVmClusterNetworkDownloadConfigFile

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testVmClusterNetworkDownloadConfigFile = Oci.Database.GetVmClusterNetworkDownloadConfigFile.Invoke(new()
    {
        ExadataInfrastructureId = oci_database_exadata_infrastructure.Test_exadata_infrastructure.Id,
        VmClusterNetworkId = oci_database_vm_cluster_network.Test_vm_cluster_network.Id,
        Base64EncodeContent = false,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: oci_database_exadata_infrastructure.Test_exadata_infrastructure.Id,
			VmClusterNetworkId:      oci_database_vm_cluster_network.Test_vm_cluster_network.Id,
			Base64EncodeContent:     pulumi.BoolRef(false),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(oci_database_exadata_infrastructure.test_exadata_infrastructure().id())
            .vmClusterNetworkId(oci_database_vm_cluster_network.test_vm_cluster_network().id())
            .base64EncodeContent("false")
            .build());

    }
}
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=oci_database_exadata_infrastructure["test_exadata_infrastructure"]["id"],
    vm_cluster_network_id=oci_database_vm_cluster_network["test_vm_cluster_network"]["id"],
    base64_encode_content=False)
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testVmClusterNetworkDownloadConfigFile = oci.Database.getVmClusterNetworkDownloadConfigFile({
    exadataInfrastructureId: oci_database_exadata_infrastructure.test_exadata_infrastructure.id,
    vmClusterNetworkId: oci_database_vm_cluster_network.test_vm_cluster_network.id,
    base64EncodeContent: false,
});
variables:
  testVmClusterNetworkDownloadConfigFile:
    fn::invoke:
      Function: oci:Database:getVmClusterNetworkDownloadConfigFile
      Arguments:
        exadataInfrastructureId: ${oci_database_exadata_infrastructure.test_exadata_infrastructure.id}
        vmClusterNetworkId: ${oci_database_vm_cluster_network.test_vm_cluster_network.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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Database/getVmClusterNetworkDownloadConfigFile:getVmClusterNetworkDownloadConfigFile
  arguments:
    # arguments dictionary

The following arguments are supported:

ExadataInfrastructureId string

The Exadata infrastructure OCID.

VmClusterNetworkId string

The VM cluster network OCID.

Base64EncodeContent bool
ExadataInfrastructureId string

The Exadata infrastructure OCID.

VmClusterNetworkId string

The VM cluster network OCID.

Base64EncodeContent bool
exadataInfrastructureId String

The Exadata infrastructure OCID.

vmClusterNetworkId String

The VM cluster network OCID.

base64EncodeContent Boolean
exadataInfrastructureId string

The Exadata infrastructure OCID.

vmClusterNetworkId string

The VM cluster network OCID.

base64EncodeContent boolean
exadata_infrastructure_id str

The Exadata infrastructure OCID.

vm_cluster_network_id str

The VM cluster network OCID.

base64_encode_content bool
exadataInfrastructureId String

The Exadata infrastructure OCID.

vmClusterNetworkId String

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_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.

VmClusterNetworkId string
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.

VmClusterNetworkId string
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.

vmClusterNetworkId String
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.

vmClusterNetworkId string
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.

vm_cluster_network_id str
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.

vmClusterNetworkId String
base64EncodeContent Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.