Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi
oci.DatabaseManagement.getCloudCluster
Explore with Pulumi AI
This data source provides details about a specific Cloud Cluster resource in Oracle Cloud Infrastructure Database Management service.
Gets the details for the cloud cluster specified by cloudClusterId
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCloudCluster = oci.DatabaseManagement.getCloudCluster({
cloudClusterId: testCloudClusterOciDatabaseManagementCloudCluster.id,
});
import pulumi
import pulumi_oci as oci
test_cloud_cluster = oci.DatabaseManagement.get_cloud_cluster(cloud_cluster_id=test_cloud_cluster_oci_database_management_cloud_cluster["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/databasemanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasemanagement.GetCloudCluster(ctx, &databasemanagement.GetCloudClusterArgs{
CloudClusterId: testCloudClusterOciDatabaseManagementCloudCluster.Id,
}, 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 testCloudCluster = Oci.DatabaseManagement.GetCloudCluster.Invoke(new()
{
CloudClusterId = testCloudClusterOciDatabaseManagementCloudCluster.Id,
});
});
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.GetCloudClusterArgs;
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 testCloudCluster = DatabaseManagementFunctions.getCloudCluster(GetCloudClusterArgs.builder()
.cloudClusterId(testCloudClusterOciDatabaseManagementCloudCluster.id())
.build());
}
}
variables:
testCloudCluster:
fn::invoke:
function: oci:DatabaseManagement:getCloudCluster
arguments:
cloudClusterId: ${testCloudClusterOciDatabaseManagementCloudCluster.id}
Using getCloudCluster
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 getCloudCluster(args: GetCloudClusterArgs, opts?: InvokeOptions): Promise<GetCloudClusterResult>
function getCloudClusterOutput(args: GetCloudClusterOutputArgs, opts?: InvokeOptions): Output<GetCloudClusterResult>
def get_cloud_cluster(cloud_cluster_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudClusterResult
def get_cloud_cluster_output(cloud_cluster_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudClusterResult]
func LookupCloudCluster(ctx *Context, args *LookupCloudClusterArgs, opts ...InvokeOption) (*LookupCloudClusterResult, error)
func LookupCloudClusterOutput(ctx *Context, args *LookupCloudClusterOutputArgs, opts ...InvokeOption) LookupCloudClusterResultOutput
> Note: This function is named LookupCloudCluster
in the Go SDK.
public static class GetCloudCluster
{
public static Task<GetCloudClusterResult> InvokeAsync(GetCloudClusterArgs args, InvokeOptions? opts = null)
public static Output<GetCloudClusterResult> Invoke(GetCloudClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCloudClusterResult> getCloudCluster(GetCloudClusterArgs args, InvokeOptions options)
public static Output<GetCloudClusterResult> getCloudCluster(GetCloudClusterArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseManagement/getCloudCluster:getCloudCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Cluster stringId - The OCID of the cloud cluster.
- Cloud
Cluster stringId - The OCID of the cloud cluster.
- cloud
Cluster StringId - The OCID of the cloud cluster.
- cloud
Cluster stringId - The OCID of the cloud cluster.
- cloud_
cluster_ strid - The OCID of the cloud cluster.
- cloud
Cluster StringId - The OCID of the cloud cluster.
getCloudCluster Result
The following output properties are available:
- Additional
Details Dictionary<string, string> - The additional details of the cloud cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Cloud
Cluster stringId - Cloud
Connector stringId - The OCID of the cloud connector.
- Cloud
Db stringSystem Id - The OCID of the cloud DB system that the cluster is a part of.
- Compartment
Id string - The OCID of the compartment.
- Component
Name string - The name of the cloud cluster.
- Dbaas
Id string - The OCID in DBaas service.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - The user-friendly name for the cloud cluster. The name does not have to be unique.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Grid
Home string - The directory in which Oracle Grid Infrastructure is installed.
- Id string
- The OCID of the cloud 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<GetCloud Cluster Network Configuration> - The list of network address configurations of the cloud cluster.
- Ocr
File stringLocation - The location of the Oracle Cluster Registry (OCR).
- Scan
Configurations List<GetCloud Cluster Scan Configuration> - The list of Single Client Access Name (SCAN) configurations of the cloud cluster.
- State string
- The current lifecycle state of the cloud cluster.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the cloud cluster was created.
- Time
Updated string - The date and time the cloud cluster was last updated.
- Version string
- The cluster version.
- Vip
Configurations List<GetCloud Cluster Vip Configuration> - The list of Virtual IP (VIP) configurations of the cloud cluster.
- Additional
Details map[string]string - The additional details of the cloud cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Cloud
Cluster stringId - Cloud
Connector stringId - The OCID of the cloud connector.
- Cloud
Db stringSystem Id - The OCID of the cloud DB system that the cluster is a part of.
- Compartment
Id string - The OCID of the compartment.
- Component
Name string - The name of the cloud cluster.
- Dbaas
Id string - The OCID in DBaas service.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - The user-friendly name for the cloud cluster. The name does not have to be unique.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Grid
Home string - The directory in which Oracle Grid Infrastructure is installed.
- Id string
- The OCID of the cloud 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 []GetCloud Cluster Network Configuration - The list of network address configurations of the cloud cluster.
- Ocr
File stringLocation - The location of the Oracle Cluster Registry (OCR).
- Scan
Configurations []GetCloud Cluster Scan Configuration - The list of Single Client Access Name (SCAN) configurations of the cloud cluster.
- State string
- The current lifecycle state of the cloud cluster.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the cloud cluster was created.
- Time
Updated string - The date and time the cloud cluster was last updated.
- Version string
- The cluster version.
- Vip
Configurations []GetCloud Cluster Vip Configuration - The list of Virtual IP (VIP) configurations of the cloud cluster.
- additional
Details Map<String,String> - The additional details of the cloud cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Cluster StringId - cloud
Connector StringId - The OCID of the cloud connector.
- cloud
Db StringSystem Id - The OCID of the cloud DB system that the cluster is a part of.
- compartment
Id String - The OCID of the compartment.
- component
Name String - The name of the cloud cluster.
- dbaas
Id String - The OCID in DBaas service.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - The user-friendly name for the cloud cluster. The name does not have to be unique.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- grid
Home String - The directory in which Oracle Grid Infrastructure is installed.
- id String
- The OCID of the cloud 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<GetCloud Cluster Network Configuration> - The list of network address configurations of the cloud cluster.
- ocr
File StringLocation - The location of the Oracle Cluster Registry (OCR).
- scan
Configurations List<GetCloud Cluster Scan Configuration> - The list of Single Client Access Name (SCAN) configurations of the cloud cluster.
- state String
- The current lifecycle state of the cloud cluster.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the cloud cluster was created.
- time
Updated String - The date and time the cloud cluster was last updated.
- version String
- The cluster version.
- vip
Configurations List<GetCloud Cluster Vip Configuration> - The list of Virtual IP (VIP) configurations of the cloud cluster.
- additional
Details {[key: string]: string} - The additional details of the cloud cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Cluster stringId - cloud
Connector stringId - The OCID of the cloud connector.
- cloud
Db stringSystem Id - The OCID of the cloud DB system that the cluster is a part of.
- compartment
Id string - The OCID of the compartment.
- component
Name string - The name of the cloud cluster.
- dbaas
Id string - The OCID in DBaas service.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - The user-friendly name for the cloud cluster. The name does not have to be unique.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- grid
Home string - The directory in which Oracle Grid Infrastructure is installed.
- id string
- The OCID of the cloud 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 GetCloud Cluster Network Configuration[] - The list of network address configurations of the cloud cluster.
- ocr
File stringLocation - The location of the Oracle Cluster Registry (OCR).
- scan
Configurations GetCloud Cluster Scan Configuration[] - The list of Single Client Access Name (SCAN) configurations of the cloud cluster.
- state string
- The current lifecycle state of the cloud cluster.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the cloud cluster was created.
- time
Updated string - The date and time the cloud cluster was last updated.
- version string
- The cluster version.
- vip
Configurations GetCloud Cluster Vip Configuration[] - The list of Virtual IP (VIP) configurations of the cloud cluster.
- additional_
details Mapping[str, str] - The additional details of the cloud cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud_
cluster_ strid - cloud_
connector_ strid - The OCID of the cloud connector.
- cloud_
db_ strsystem_ id - The OCID of the cloud DB system that the cluster is a part of.
- compartment_
id str - The OCID of the compartment.
- component_
name str - The name of the cloud cluster.
- dbaas_
id str - The OCID in DBaas service.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - The user-friendly name for the cloud cluster. The name does not have to be unique.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- grid_
home str - The directory in which Oracle Grid Infrastructure is installed.
- id str
- The OCID of the cloud 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 Sequence[GetCloud Cluster Network Configuration] - The list of network address configurations of the cloud cluster.
- ocr_
file_ strlocation - The location of the Oracle Cluster Registry (OCR).
- scan_
configurations Sequence[GetCloud Cluster Scan Configuration] - The list of Single Client Access Name (SCAN) configurations of the cloud cluster.
- state str
- The current lifecycle state of the cloud cluster.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the cloud cluster was created.
- time_
updated str - The date and time the cloud cluster was last updated.
- version str
- The cluster version.
- vip_
configurations Sequence[GetCloud Cluster Vip Configuration] - The list of Virtual IP (VIP) configurations of the cloud cluster.
- additional
Details Map<String> - The additional details of the cloud cluster defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- cloud
Cluster StringId - cloud
Connector StringId - The OCID of the cloud connector.
- cloud
Db StringSystem Id - The OCID of the cloud DB system that the cluster is a part of.
- compartment
Id String - The OCID of the compartment.
- component
Name String - The name of the cloud cluster.
- dbaas
Id String - The OCID in DBaas service.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - The user-friendly name for the cloud cluster. The name does not have to be unique.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- grid
Home String - The directory in which Oracle Grid Infrastructure is installed.
- id String
- The OCID of the cloud 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 cloud 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 cloud cluster.
- state String
- The current lifecycle state of the cloud cluster.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the cloud cluster was created.
- time
Updated String - The date and time the cloud cluster was last updated.
- version String
- The cluster version.
- vip
Configurations List<Property Map> - The list of Virtual IP (VIP) configurations of the cloud cluster.
Supporting Types
GetCloudClusterNetworkConfiguration
- 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.
GetCloudClusterScanConfiguration
- 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.
GetCloudClusterVipConfiguration
- 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.