oci.DatabaseManagement.getExternalCluster
This data source provides details about a specific External Cluster resource in Oracle Cloud Infrastructure Database Management service.
Gets the details for the external cluster specified by externalClusterId
.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testExternalCluster = Oci.DatabaseManagement.GetExternalCluster.Invoke(new()
{
ExternalClusterId = oci_database_management_external_cluster.Test_external_cluster.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseManagement.GetExternalCluster(ctx, &databasemanagement.GetExternalClusterArgs{
ExternalClusterId: oci_database_management_external_cluster.Test_external_cluster.Id,
}, 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.DatabaseManagement.DatabaseManagementFunctions;
import com.pulumi.oci.DatabaseManagement.inputs.GetExternalClusterArgs;
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 testExternalCluster = DatabaseManagementFunctions.getExternalCluster(GetExternalClusterArgs.builder()
.externalClusterId(oci_database_management_external_cluster.test_external_cluster().id())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_external_cluster = oci.DatabaseManagement.get_external_cluster(external_cluster_id=oci_database_management_external_cluster["test_external_cluster"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExternalCluster = oci.DatabaseManagement.getExternalCluster({
externalClusterId: oci_database_management_external_cluster.test_external_cluster.id,
});
variables:
testExternalCluster:
fn::invoke:
Function: oci:DatabaseManagement:getExternalCluster
Arguments:
externalClusterId: ${oci_database_management_external_cluster.test_external_cluster.id}
Using getExternalCluster
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 getExternalCluster(args: GetExternalClusterArgs, opts?: InvokeOptions): Promise<GetExternalClusterResult>
function getExternalClusterOutput(args: GetExternalClusterOutputArgs, opts?: InvokeOptions): Output<GetExternalClusterResult>
def get_external_cluster(external_cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExternalClusterResult
def get_external_cluster_output(external_cluster_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExternalClusterResult]
func GetExternalCluster(ctx *Context, args *GetExternalClusterArgs, opts ...InvokeOption) (*GetExternalClusterResult, error)
func GetExternalClusterOutput(ctx *Context, args *GetExternalClusterOutputArgs, opts ...InvokeOption) GetExternalClusterResultOutput
> Note: This function is named GetExternalCluster
in the Go SDK.
public static class GetExternalCluster
{
public static Task<GetExternalClusterResult> InvokeAsync(GetExternalClusterArgs args, InvokeOptions? opts = null)
public static Output<GetExternalClusterResult> Invoke(GetExternalClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExternalClusterResult> getExternalCluster(GetExternalClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseManagement/getExternalCluster:getExternalCluster
arguments:
# arguments dictionary
The following arguments are supported:
- External
Cluster stringId The OCID of the external cluster.
- External
Cluster stringId The OCID of the external cluster.
- external
Cluster StringId The OCID of the external cluster.
- external
Cluster stringId The OCID of the external cluster.
- external_
cluster_ strid The OCID of the external cluster.
- external
Cluster StringId The OCID of the external cluster.
getExternalCluster Result
The following output properties are available:
- Additional
Details Dictionary<string, object> The additional details of the external cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string The OCID of the compartment.
- Component
Name string The name of the external cluster.
- Display
Name string The user-friendly name for the external cluster. The name does not have to be unique.
- External
Cluster stringId - External
Connector stringId The OCID of the external connector.
- External
Db stringSystem Id The OCID of the external DB system that the cluster is a part of.
- Grid
Home string The directory in which Oracle Grid Infrastructure is installed.
- Id string
The OCID of the external cluster.
- Is
Flex boolCluster Indicates whether the cluster is Oracle Flex Cluster or not.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Network
Configurations List<GetExternal Cluster Network Configuration> The list of network address configurations of the external cluster.
- Ocr
File stringLocation The location of the Oracle Cluster Registry (OCR).
- Scan
Configurations List<GetExternal Cluster Scan Configuration> The list of Single Client Access Name (SCAN) configurations of the external cluster.
- State string
The current lifecycle state of the external cluster.
- Time
Created string The date and time the external cluster was created.
- Time
Updated string The date and time the external cluster was last updated.
- Version string
The cluster version.
- Vip
Configurations List<GetExternal Cluster Vip Configuration> The list of Virtual IP (VIP) configurations of the external cluster.
- Additional
Details map[string]interface{} The additional details of the external cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string The OCID of the compartment.
- Component
Name string The name of the external cluster.
- Display
Name string The user-friendly name for the external cluster. The name does not have to be unique.
- External
Cluster stringId - External
Connector stringId The OCID of the external connector.
- External
Db stringSystem Id The OCID of the external DB system that the cluster is a part of.
- Grid
Home string The directory in which Oracle Grid Infrastructure is installed.
- Id string
The OCID of the external cluster.
- Is
Flex boolCluster Indicates whether the cluster is Oracle Flex Cluster or not.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Network
Configurations []GetExternal Cluster Network Configuration The list of network address configurations of the external cluster.
- Ocr
File stringLocation The location of the Oracle Cluster Registry (OCR).
- Scan
Configurations []GetExternal Cluster Scan Configuration The list of Single Client Access Name (SCAN) configurations of the external cluster.
- State string
The current lifecycle state of the external cluster.
- Time
Created string The date and time the external cluster was created.
- Time
Updated string The date and time the external cluster was last updated.
- Version string
The cluster version.
- Vip
Configurations []GetExternal Cluster Vip Configuration The list of Virtual IP (VIP) configurations of the external cluster.
- additional
Details Map<String,Object> The additional details of the external cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String The OCID of the compartment.
- component
Name String The name of the external cluster.
- display
Name String The user-friendly name for the external cluster. The name does not have to be unique.
- external
Cluster StringId - external
Connector StringId The OCID of the external connector.
- external
Db StringSystem Id The OCID of the external DB system that the cluster is a part of.
- grid
Home String The directory in which Oracle Grid Infrastructure is installed.
- id String
The OCID of the external cluster.
- is
Flex BooleanCluster Indicates whether the cluster is Oracle Flex Cluster or not.
- lifecycle
Details String Additional information about the current lifecycle state.
- network
Configurations List<GetExternal Cluster Network Configuration> The list of network address configurations of the external cluster.
- ocr
File StringLocation The location of the Oracle Cluster Registry (OCR).
- scan
Configurations List<GetExternal Cluster Scan Configuration> The list of Single Client Access Name (SCAN) configurations of the external cluster.
- state String
The current lifecycle state of the external cluster.
- time
Created String The date and time the external cluster was created.
- time
Updated String The date and time the external cluster was last updated.
- version String
The cluster version.
- vip
Configurations List<GetExternal Cluster Vip Configuration> The list of Virtual IP (VIP) configurations of the external cluster.
- additional
Details {[key: string]: any} The additional details of the external cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id string The OCID of the compartment.
- component
Name string The name of the external cluster.
- display
Name string The user-friendly name for the external cluster. The name does not have to be unique.
- external
Cluster stringId - external
Connector stringId The OCID of the external connector.
- external
Db stringSystem Id The OCID of the external DB system that the cluster is a part of.
- grid
Home string The directory in which Oracle Grid Infrastructure is installed.
- id string
The OCID of the external cluster.
- is
Flex booleanCluster Indicates whether the cluster is Oracle Flex Cluster or not.
- lifecycle
Details string Additional information about the current lifecycle state.
- network
Configurations GetExternal Cluster Network Configuration[] The list of network address configurations of the external cluster.
- ocr
File stringLocation The location of the Oracle Cluster Registry (OCR).
- scan
Configurations GetExternal Cluster Scan Configuration[] The list of Single Client Access Name (SCAN) configurations of the external cluster.
- state string
The current lifecycle state of the external cluster.
- time
Created string The date and time the external cluster was created.
- time
Updated string The date and time the external cluster was last updated.
- version string
The cluster version.
- vip
Configurations GetExternal Cluster Vip Configuration[] The list of Virtual IP (VIP) configurations of the external cluster.
- additional_
details Mapping[str, Any] The additional details of the external cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment_
id str The OCID of the compartment.
- component_
name str The name of the external cluster.
- display_
name str The user-friendly name for the external cluster. The name does not have to be unique.
- external_
cluster_ strid - external_
connector_ strid The OCID of the external connector.
- external_
db_ strsystem_ id The OCID of the external DB system that the cluster is a part of.
- grid_
home str The directory in which Oracle Grid Infrastructure is installed.
- id str
The OCID of the external cluster.
- is_
flex_ boolcluster Indicates whether the cluster is Oracle Flex Cluster or not.
- lifecycle_
details str Additional information about the current lifecycle state.
- network_
configurations GetExternal Cluster Network Configuration] The list of network address configurations of the external cluster.
- ocr_
file_ strlocation The location of the Oracle Cluster Registry (OCR).
- scan_
configurations GetExternal Cluster Scan Configuration] The list of Single Client Access Name (SCAN) configurations of the external cluster.
- state str
The current lifecycle state of the external cluster.
- time_
created str The date and time the external cluster was created.
- time_
updated str The date and time the external cluster was last updated.
- version str
The cluster version.
- vip_
configurations GetExternal Cluster Vip Configuration] The list of Virtual IP (VIP) configurations of the external cluster.
- additional
Details Map<Any> The additional details of the external cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String The OCID of the compartment.
- component
Name String The name of the external cluster.
- display
Name String The user-friendly name for the external cluster. The name does not have to be unique.
- external
Cluster StringId - external
Connector StringId The OCID of the external connector.
- external
Db StringSystem Id The OCID of the external DB system that the cluster is a part of.
- grid
Home String The directory in which Oracle Grid Infrastructure is installed.
- id String
The OCID of the external cluster.
- is
Flex BooleanCluster Indicates whether the cluster is Oracle Flex Cluster or not.
- lifecycle
Details String Additional information about the current lifecycle state.
- network
Configurations List<Property Map> The list of network address configurations of the external cluster.
- ocr
File StringLocation The location of the Oracle Cluster Registry (OCR).
- scan
Configurations List<Property Map> The list of Single Client Access Name (SCAN) configurations of the external cluster.
- state String
The current lifecycle state of the external cluster.
- time
Created String The date and time the external cluster was created.
- time
Updated String The date and time the external cluster was last updated.
- version String
The cluster version.
- vip
Configurations List<Property Map> The list of Virtual IP (VIP) configurations of the external cluster.
Supporting Types
GetExternalClusterNetworkConfiguration
- Network
Number int The network number from which VIPs are obtained.
- Network
Type string The network type.
- Subnet string
The subnet for the network.
- Network
Number int The network number from which VIPs are obtained.
- Network
Type string The network type.
- Subnet string
The subnet for the network.
- network
Number Integer The network number from which VIPs are obtained.
- network
Type String The network type.
- subnet String
The subnet for the network.
- network
Number number The network number from which VIPs are obtained.
- network
Type string The network type.
- subnet string
The subnet for the network.
- network_
number int The network number from which VIPs are obtained.
- network_
type str The network type.
- subnet str
The subnet for the network.
- network
Number Number The network number from which VIPs are obtained.
- network
Type String The network type.
- subnet String
The subnet for the network.
GetExternalClusterScanConfiguration
- Network
Number int The network number from which VIPs are obtained.
- Scan
Name string The name of the SCAN listener.
- Scan
Port int The port number of the SCAN listener.
- Scan
Protocol string The protocol of the SCAN listener.
- Network
Number int The network number from which VIPs are obtained.
- Scan
Name string The name of the SCAN listener.
- Scan
Port int The port number of the SCAN listener.
- Scan
Protocol string The protocol of the SCAN listener.
- network
Number Integer The network number from which VIPs are obtained.
- scan
Name String The name of the SCAN listener.
- scan
Port Integer The port number of the SCAN listener.
- scan
Protocol String The protocol of the SCAN listener.
- network
Number number The network number from which VIPs are obtained.
- scan
Name string The name of the SCAN listener.
- scan
Port number The port number of the SCAN listener.
- scan
Protocol string The protocol of the SCAN listener.
- network_
number int The network number from which VIPs are obtained.
- scan_
name str The name of the SCAN listener.
- scan_
port int The port number of the SCAN listener.
- scan_
protocol str The protocol of the SCAN listener.
- network
Number Number The network number from which VIPs are obtained.
- scan
Name String The name of the SCAN listener.
- scan
Port Number The port number of the SCAN listener.
- scan
Protocol String The protocol of the SCAN listener.
GetExternalClusterVipConfiguration
- Address string
The VIP name or IP address.
- Network
Number int The network number from which VIPs are obtained.
- Node
Name string The name of the node with the VIP.
- Address string
The VIP name or IP address.
- Network
Number int The network number from which VIPs are obtained.
- Node
Name string The name of the node with the VIP.
- address String
The VIP name or IP address.
- network
Number Integer The network number from which VIPs are obtained.
- node
Name String The name of the node with the VIP.
- address string
The VIP name or IP address.
- network
Number number The network number from which VIPs are obtained.
- node
Name string The name of the node with the VIP.
- address str
The VIP name or IP address.
- network_
number int The network number from which VIPs are obtained.
- node_
name str The name of the node with the VIP.
- address String
The VIP name or IP address.
- network
Number Number The network number from which VIPs are obtained.
- node
Name String The name of the node with the VIP.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.