1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opensearch
  5. Cluster
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Opensearch.Cluster

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Opensearch Cluster resource in Oracle Cloud Infrastructure Opensearch service.

    Creates a new OpensearchCluster.

    Prerequisites

    The below policies must be created in compartment before creating OpensearchCluster

    {Compartment-Name} - Name of your compartment
    Allow service opensearch to manage vnics in compartment {Compartment-Name}
    Allow service opensearch to use subnets in compartment {Compartment-Name}
    Allow service opensearch to use network-security-groups in compartment {Compartment-Name}
    Allow service opensearch to manage vcns in compartment {Compartment-Name}
    

    For latest documentation on OpenSearch use please refer to https://docs.oracle.com/en-us/iaas/Content/search-opensearch/home.htm
    Required permissions: https://docs.oracle.com/en-us/iaas/Content/search-opensearch/Concepts/ocisearchpermissions.htm

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testOpensearchCluster = new oci.opensearch.Cluster("testOpensearchCluster", {
        compartmentId: _var.compartment_id,
        dataNodeCount: _var.opensearch_cluster_data_node_count,
        dataNodeHostMemoryGb: _var.opensearch_cluster_data_node_host_memory_gb,
        dataNodeHostOcpuCount: _var.opensearch_cluster_data_node_host_ocpu_count,
        dataNodeHostType: _var.opensearch_cluster_data_node_host_type,
        dataNodeStorageGb: _var.opensearch_cluster_data_node_storage_gb,
        displayName: _var.opensearch_cluster_display_name,
        masterNodeCount: _var.opensearch_cluster_master_node_count,
        masterNodeHostMemoryGb: _var.opensearch_cluster_master_node_host_memory_gb,
        masterNodeHostOcpuCount: _var.opensearch_cluster_master_node_host_ocpu_count,
        masterNodeHostType: _var.opensearch_cluster_master_node_host_type,
        opendashboardNodeCount: _var.opensearch_cluster_opendashboard_node_count,
        opendashboardNodeHostMemoryGb: _var.opensearch_cluster_opendashboard_node_host_memory_gb,
        opendashboardNodeHostOcpuCount: _var.opensearch_cluster_opendashboard_node_host_ocpu_count,
        softwareVersion: _var.opensearch_cluster_software_version,
        subnetCompartmentId: oci_identity_compartment.test_compartment.id,
        subnetId: oci_core_subnet.test_subnet.id,
        vcnCompartmentId: oci_identity_compartment.test_compartment.id,
        vcnId: oci_core_vcn.test_vcn.id,
        dataNodeHostBareMetalShape: _var.opensearch_cluster_data_node_host_bare_metal_shape,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        masterNodeHostBareMetalShape: _var.opensearch_cluster_master_node_host_bare_metal_shape,
        securityMasterUserName: oci_identity_user.test_user.name,
        securityMasterUserPasswordHash: _var.opensearch_cluster_security_master_user_password_hash,
        securityMode: _var.opensearch_cluster_security_mode,
        systemTags: _var.opensearch_cluster_system_tags,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_opensearch_cluster = oci.opensearch.Cluster("testOpensearchCluster",
        compartment_id=var["compartment_id"],
        data_node_count=var["opensearch_cluster_data_node_count"],
        data_node_host_memory_gb=var["opensearch_cluster_data_node_host_memory_gb"],
        data_node_host_ocpu_count=var["opensearch_cluster_data_node_host_ocpu_count"],
        data_node_host_type=var["opensearch_cluster_data_node_host_type"],
        data_node_storage_gb=var["opensearch_cluster_data_node_storage_gb"],
        display_name=var["opensearch_cluster_display_name"],
        master_node_count=var["opensearch_cluster_master_node_count"],
        master_node_host_memory_gb=var["opensearch_cluster_master_node_host_memory_gb"],
        master_node_host_ocpu_count=var["opensearch_cluster_master_node_host_ocpu_count"],
        master_node_host_type=var["opensearch_cluster_master_node_host_type"],
        opendashboard_node_count=var["opensearch_cluster_opendashboard_node_count"],
        opendashboard_node_host_memory_gb=var["opensearch_cluster_opendashboard_node_host_memory_gb"],
        opendashboard_node_host_ocpu_count=var["opensearch_cluster_opendashboard_node_host_ocpu_count"],
        software_version=var["opensearch_cluster_software_version"],
        subnet_compartment_id=oci_identity_compartment["test_compartment"]["id"],
        subnet_id=oci_core_subnet["test_subnet"]["id"],
        vcn_compartment_id=oci_identity_compartment["test_compartment"]["id"],
        vcn_id=oci_core_vcn["test_vcn"]["id"],
        data_node_host_bare_metal_shape=var["opensearch_cluster_data_node_host_bare_metal_shape"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        master_node_host_bare_metal_shape=var["opensearch_cluster_master_node_host_bare_metal_shape"],
        security_master_user_name=oci_identity_user["test_user"]["name"],
        security_master_user_password_hash=var["opensearch_cluster_security_master_user_password_hash"],
        security_mode=var["opensearch_cluster_security_mode"],
        system_tags=var["opensearch_cluster_system_tags"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Opensearch"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Opensearch.NewCluster(ctx, "testOpensearchCluster", &Opensearch.ClusterArgs{
    			CompartmentId:                  pulumi.Any(_var.Compartment_id),
    			DataNodeCount:                  pulumi.Any(_var.Opensearch_cluster_data_node_count),
    			DataNodeHostMemoryGb:           pulumi.Any(_var.Opensearch_cluster_data_node_host_memory_gb),
    			DataNodeHostOcpuCount:          pulumi.Any(_var.Opensearch_cluster_data_node_host_ocpu_count),
    			DataNodeHostType:               pulumi.Any(_var.Opensearch_cluster_data_node_host_type),
    			DataNodeStorageGb:              pulumi.Any(_var.Opensearch_cluster_data_node_storage_gb),
    			DisplayName:                    pulumi.Any(_var.Opensearch_cluster_display_name),
    			MasterNodeCount:                pulumi.Any(_var.Opensearch_cluster_master_node_count),
    			MasterNodeHostMemoryGb:         pulumi.Any(_var.Opensearch_cluster_master_node_host_memory_gb),
    			MasterNodeHostOcpuCount:        pulumi.Any(_var.Opensearch_cluster_master_node_host_ocpu_count),
    			MasterNodeHostType:             pulumi.Any(_var.Opensearch_cluster_master_node_host_type),
    			OpendashboardNodeCount:         pulumi.Any(_var.Opensearch_cluster_opendashboard_node_count),
    			OpendashboardNodeHostMemoryGb:  pulumi.Any(_var.Opensearch_cluster_opendashboard_node_host_memory_gb),
    			OpendashboardNodeHostOcpuCount: pulumi.Any(_var.Opensearch_cluster_opendashboard_node_host_ocpu_count),
    			SoftwareVersion:                pulumi.Any(_var.Opensearch_cluster_software_version),
    			SubnetCompartmentId:            pulumi.Any(oci_identity_compartment.Test_compartment.Id),
    			SubnetId:                       pulumi.Any(oci_core_subnet.Test_subnet.Id),
    			VcnCompartmentId:               pulumi.Any(oci_identity_compartment.Test_compartment.Id),
    			VcnId:                          pulumi.Any(oci_core_vcn.Test_vcn.Id),
    			DataNodeHostBareMetalShape:     pulumi.Any(_var.Opensearch_cluster_data_node_host_bare_metal_shape),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			MasterNodeHostBareMetalShape:   pulumi.Any(_var.Opensearch_cluster_master_node_host_bare_metal_shape),
    			SecurityMasterUserName:         pulumi.Any(oci_identity_user.Test_user.Name),
    			SecurityMasterUserPasswordHash: pulumi.Any(_var.Opensearch_cluster_security_master_user_password_hash),
    			SecurityMode:                   pulumi.Any(_var.Opensearch_cluster_security_mode),
    			SystemTags:                     pulumi.Any(_var.Opensearch_cluster_system_tags),
    		})
    		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 testOpensearchCluster = new Oci.Opensearch.Cluster("testOpensearchCluster", new()
        {
            CompartmentId = @var.Compartment_id,
            DataNodeCount = @var.Opensearch_cluster_data_node_count,
            DataNodeHostMemoryGb = @var.Opensearch_cluster_data_node_host_memory_gb,
            DataNodeHostOcpuCount = @var.Opensearch_cluster_data_node_host_ocpu_count,
            DataNodeHostType = @var.Opensearch_cluster_data_node_host_type,
            DataNodeStorageGb = @var.Opensearch_cluster_data_node_storage_gb,
            DisplayName = @var.Opensearch_cluster_display_name,
            MasterNodeCount = @var.Opensearch_cluster_master_node_count,
            MasterNodeHostMemoryGb = @var.Opensearch_cluster_master_node_host_memory_gb,
            MasterNodeHostOcpuCount = @var.Opensearch_cluster_master_node_host_ocpu_count,
            MasterNodeHostType = @var.Opensearch_cluster_master_node_host_type,
            OpendashboardNodeCount = @var.Opensearch_cluster_opendashboard_node_count,
            OpendashboardNodeHostMemoryGb = @var.Opensearch_cluster_opendashboard_node_host_memory_gb,
            OpendashboardNodeHostOcpuCount = @var.Opensearch_cluster_opendashboard_node_host_ocpu_count,
            SoftwareVersion = @var.Opensearch_cluster_software_version,
            SubnetCompartmentId = oci_identity_compartment.Test_compartment.Id,
            SubnetId = oci_core_subnet.Test_subnet.Id,
            VcnCompartmentId = oci_identity_compartment.Test_compartment.Id,
            VcnId = oci_core_vcn.Test_vcn.Id,
            DataNodeHostBareMetalShape = @var.Opensearch_cluster_data_node_host_bare_metal_shape,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            MasterNodeHostBareMetalShape = @var.Opensearch_cluster_master_node_host_bare_metal_shape,
            SecurityMasterUserName = oci_identity_user.Test_user.Name,
            SecurityMasterUserPasswordHash = @var.Opensearch_cluster_security_master_user_password_hash,
            SecurityMode = @var.Opensearch_cluster_security_mode,
            SystemTags = @var.Opensearch_cluster_system_tags,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Opensearch.Cluster;
    import com.pulumi.oci.Opensearch.ClusterArgs;
    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) {
            var testOpensearchCluster = new Cluster("testOpensearchCluster", ClusterArgs.builder()        
                .compartmentId(var_.compartment_id())
                .dataNodeCount(var_.opensearch_cluster_data_node_count())
                .dataNodeHostMemoryGb(var_.opensearch_cluster_data_node_host_memory_gb())
                .dataNodeHostOcpuCount(var_.opensearch_cluster_data_node_host_ocpu_count())
                .dataNodeHostType(var_.opensearch_cluster_data_node_host_type())
                .dataNodeStorageGb(var_.opensearch_cluster_data_node_storage_gb())
                .displayName(var_.opensearch_cluster_display_name())
                .masterNodeCount(var_.opensearch_cluster_master_node_count())
                .masterNodeHostMemoryGb(var_.opensearch_cluster_master_node_host_memory_gb())
                .masterNodeHostOcpuCount(var_.opensearch_cluster_master_node_host_ocpu_count())
                .masterNodeHostType(var_.opensearch_cluster_master_node_host_type())
                .opendashboardNodeCount(var_.opensearch_cluster_opendashboard_node_count())
                .opendashboardNodeHostMemoryGb(var_.opensearch_cluster_opendashboard_node_host_memory_gb())
                .opendashboardNodeHostOcpuCount(var_.opensearch_cluster_opendashboard_node_host_ocpu_count())
                .softwareVersion(var_.opensearch_cluster_software_version())
                .subnetCompartmentId(oci_identity_compartment.test_compartment().id())
                .subnetId(oci_core_subnet.test_subnet().id())
                .vcnCompartmentId(oci_identity_compartment.test_compartment().id())
                .vcnId(oci_core_vcn.test_vcn().id())
                .dataNodeHostBareMetalShape(var_.opensearch_cluster_data_node_host_bare_metal_shape())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .masterNodeHostBareMetalShape(var_.opensearch_cluster_master_node_host_bare_metal_shape())
                .securityMasterUserName(oci_identity_user.test_user().name())
                .securityMasterUserPasswordHash(var_.opensearch_cluster_security_master_user_password_hash())
                .securityMode(var_.opensearch_cluster_security_mode())
                .systemTags(var_.opensearch_cluster_system_tags())
                .build());
    
        }
    }
    
    resources:
      testOpensearchCluster:
        type: oci:Opensearch:Cluster
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          dataNodeCount: ${var.opensearch_cluster_data_node_count}
          dataNodeHostMemoryGb: ${var.opensearch_cluster_data_node_host_memory_gb}
          dataNodeHostOcpuCount: ${var.opensearch_cluster_data_node_host_ocpu_count}
          dataNodeHostType: ${var.opensearch_cluster_data_node_host_type}
          dataNodeStorageGb: ${var.opensearch_cluster_data_node_storage_gb}
          displayName: ${var.opensearch_cluster_display_name}
          masterNodeCount: ${var.opensearch_cluster_master_node_count}
          masterNodeHostMemoryGb: ${var.opensearch_cluster_master_node_host_memory_gb}
          masterNodeHostOcpuCount: ${var.opensearch_cluster_master_node_host_ocpu_count}
          masterNodeHostType: ${var.opensearch_cluster_master_node_host_type}
          opendashboardNodeCount: ${var.opensearch_cluster_opendashboard_node_count}
          opendashboardNodeHostMemoryGb: ${var.opensearch_cluster_opendashboard_node_host_memory_gb}
          opendashboardNodeHostOcpuCount: ${var.opensearch_cluster_opendashboard_node_host_ocpu_count}
          softwareVersion: ${var.opensearch_cluster_software_version}
          subnetCompartmentId: ${oci_identity_compartment.test_compartment.id}
          subnetId: ${oci_core_subnet.test_subnet.id}
          vcnCompartmentId: ${oci_identity_compartment.test_compartment.id}
          vcnId: ${oci_core_vcn.test_vcn.id}
          #Optional
          dataNodeHostBareMetalShape: ${var.opensearch_cluster_data_node_host_bare_metal_shape}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          masterNodeHostBareMetalShape: ${var.opensearch_cluster_master_node_host_bare_metal_shape}
          securityMasterUserName: ${oci_identity_user.test_user.name}
          securityMasterUserPasswordHash: ${var.opensearch_cluster_security_master_user_password_hash}
          securityMode: ${var.opensearch_cluster_security_mode}
          systemTags: ${var.opensearch_cluster_system_tags}
    

    Create Cluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
    @overload
    def Cluster(resource_name: str,
                args: ClusterArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Cluster(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                master_node_host_memory_gb: Optional[int] = None,
                master_node_host_ocpu_count: Optional[int] = None,
                compartment_id: Optional[str] = None,
                data_node_host_memory_gb: Optional[int] = None,
                data_node_host_ocpu_count: Optional[int] = None,
                data_node_host_type: Optional[str] = None,
                data_node_storage_gb: Optional[int] = None,
                data_node_count: Optional[int] = None,
                display_name: Optional[str] = None,
                master_node_host_type: Optional[str] = None,
                master_node_count: Optional[int] = None,
                vcn_compartment_id: Optional[str] = None,
                subnet_id: Optional[str] = None,
                vcn_id: Optional[str] = None,
                software_version: Optional[str] = None,
                opendashboard_node_count: Optional[int] = None,
                opendashboard_node_host_memory_gb: Optional[int] = None,
                opendashboard_node_host_ocpu_count: Optional[int] = None,
                subnet_compartment_id: Optional[str] = None,
                defined_tags: Optional[Mapping[str, Any]] = None,
                security_mode: Optional[str] = None,
                security_master_user_password_hash: Optional[str] = None,
                security_master_user_name: Optional[str] = None,
                data_node_host_bare_metal_shape: Optional[str] = None,
                system_tags: Optional[Mapping[str, Any]] = None,
                master_node_host_bare_metal_shape: Optional[str] = None,
                freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
    public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
    public Cluster(String name, ClusterArgs args)
    public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
    
    type: oci:Opensearch:Cluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var exampleclusterResourceResourceFromOpensearchcluster = new Oci.Opensearch.Cluster("exampleclusterResourceResourceFromOpensearchcluster", new()
    {
        MasterNodeHostMemoryGb = 0,
        MasterNodeHostOcpuCount = 0,
        CompartmentId = "string",
        DataNodeHostMemoryGb = 0,
        DataNodeHostOcpuCount = 0,
        DataNodeHostType = "string",
        DataNodeStorageGb = 0,
        DataNodeCount = 0,
        DisplayName = "string",
        MasterNodeHostType = "string",
        MasterNodeCount = 0,
        VcnCompartmentId = "string",
        SubnetId = "string",
        VcnId = "string",
        SoftwareVersion = "string",
        OpendashboardNodeCount = 0,
        OpendashboardNodeHostMemoryGb = 0,
        OpendashboardNodeHostOcpuCount = 0,
        SubnetCompartmentId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        SecurityMode = "string",
        SecurityMasterUserPasswordHash = "string",
        SecurityMasterUserName = "string",
        DataNodeHostBareMetalShape = "string",
        SystemTags = 
        {
            { "string", "any" },
        },
        MasterNodeHostBareMetalShape = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := Opensearch.NewCluster(ctx, "exampleclusterResourceResourceFromOpensearchcluster", &Opensearch.ClusterArgs{
    	MasterNodeHostMemoryGb:         pulumi.Int(0),
    	MasterNodeHostOcpuCount:        pulumi.Int(0),
    	CompartmentId:                  pulumi.String("string"),
    	DataNodeHostMemoryGb:           pulumi.Int(0),
    	DataNodeHostOcpuCount:          pulumi.Int(0),
    	DataNodeHostType:               pulumi.String("string"),
    	DataNodeStorageGb:              pulumi.Int(0),
    	DataNodeCount:                  pulumi.Int(0),
    	DisplayName:                    pulumi.String("string"),
    	MasterNodeHostType:             pulumi.String("string"),
    	MasterNodeCount:                pulumi.Int(0),
    	VcnCompartmentId:               pulumi.String("string"),
    	SubnetId:                       pulumi.String("string"),
    	VcnId:                          pulumi.String("string"),
    	SoftwareVersion:                pulumi.String("string"),
    	OpendashboardNodeCount:         pulumi.Int(0),
    	OpendashboardNodeHostMemoryGb:  pulumi.Int(0),
    	OpendashboardNodeHostOcpuCount: pulumi.Int(0),
    	SubnetCompartmentId:            pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	SecurityMode:                   pulumi.String("string"),
    	SecurityMasterUserPasswordHash: pulumi.String("string"),
    	SecurityMasterUserName:         pulumi.String("string"),
    	DataNodeHostBareMetalShape:     pulumi.String("string"),
    	SystemTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	MasterNodeHostBareMetalShape: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var exampleclusterResourceResourceFromOpensearchcluster = new Cluster("exampleclusterResourceResourceFromOpensearchcluster", ClusterArgs.builder()        
        .masterNodeHostMemoryGb(0)
        .masterNodeHostOcpuCount(0)
        .compartmentId("string")
        .dataNodeHostMemoryGb(0)
        .dataNodeHostOcpuCount(0)
        .dataNodeHostType("string")
        .dataNodeStorageGb(0)
        .dataNodeCount(0)
        .displayName("string")
        .masterNodeHostType("string")
        .masterNodeCount(0)
        .vcnCompartmentId("string")
        .subnetId("string")
        .vcnId("string")
        .softwareVersion("string")
        .opendashboardNodeCount(0)
        .opendashboardNodeHostMemoryGb(0)
        .opendashboardNodeHostOcpuCount(0)
        .subnetCompartmentId("string")
        .definedTags(Map.of("string", "any"))
        .securityMode("string")
        .securityMasterUserPasswordHash("string")
        .securityMasterUserName("string")
        .dataNodeHostBareMetalShape("string")
        .systemTags(Map.of("string", "any"))
        .masterNodeHostBareMetalShape("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    examplecluster_resource_resource_from_opensearchcluster = oci.opensearch.Cluster("exampleclusterResourceResourceFromOpensearchcluster",
        master_node_host_memory_gb=0,
        master_node_host_ocpu_count=0,
        compartment_id="string",
        data_node_host_memory_gb=0,
        data_node_host_ocpu_count=0,
        data_node_host_type="string",
        data_node_storage_gb=0,
        data_node_count=0,
        display_name="string",
        master_node_host_type="string",
        master_node_count=0,
        vcn_compartment_id="string",
        subnet_id="string",
        vcn_id="string",
        software_version="string",
        opendashboard_node_count=0,
        opendashboard_node_host_memory_gb=0,
        opendashboard_node_host_ocpu_count=0,
        subnet_compartment_id="string",
        defined_tags={
            "string": "any",
        },
        security_mode="string",
        security_master_user_password_hash="string",
        security_master_user_name="string",
        data_node_host_bare_metal_shape="string",
        system_tags={
            "string": "any",
        },
        master_node_host_bare_metal_shape="string",
        freeform_tags={
            "string": "any",
        })
    
    const exampleclusterResourceResourceFromOpensearchcluster = new oci.opensearch.Cluster("exampleclusterResourceResourceFromOpensearchcluster", {
        masterNodeHostMemoryGb: 0,
        masterNodeHostOcpuCount: 0,
        compartmentId: "string",
        dataNodeHostMemoryGb: 0,
        dataNodeHostOcpuCount: 0,
        dataNodeHostType: "string",
        dataNodeStorageGb: 0,
        dataNodeCount: 0,
        displayName: "string",
        masterNodeHostType: "string",
        masterNodeCount: 0,
        vcnCompartmentId: "string",
        subnetId: "string",
        vcnId: "string",
        softwareVersion: "string",
        opendashboardNodeCount: 0,
        opendashboardNodeHostMemoryGb: 0,
        opendashboardNodeHostOcpuCount: 0,
        subnetCompartmentId: "string",
        definedTags: {
            string: "any",
        },
        securityMode: "string",
        securityMasterUserPasswordHash: "string",
        securityMasterUserName: "string",
        dataNodeHostBareMetalShape: "string",
        systemTags: {
            string: "any",
        },
        masterNodeHostBareMetalShape: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:Opensearch:Cluster
    properties:
        compartmentId: string
        dataNodeCount: 0
        dataNodeHostBareMetalShape: string
        dataNodeHostMemoryGb: 0
        dataNodeHostOcpuCount: 0
        dataNodeHostType: string
        dataNodeStorageGb: 0
        definedTags:
            string: any
        displayName: string
        freeformTags:
            string: any
        masterNodeCount: 0
        masterNodeHostBareMetalShape: string
        masterNodeHostMemoryGb: 0
        masterNodeHostOcpuCount: 0
        masterNodeHostType: string
        opendashboardNodeCount: 0
        opendashboardNodeHostMemoryGb: 0
        opendashboardNodeHostOcpuCount: 0
        securityMasterUserName: string
        securityMasterUserPasswordHash: string
        securityMode: string
        softwareVersion: string
        subnetCompartmentId: string
        subnetId: string
        systemTags:
            string: any
        vcnCompartmentId: string
        vcnId: string
    

    Cluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Cluster resource accepts the following input properties:

    CompartmentId string
    The OCID of the compartment to create the cluster in.
    DataNodeCount int
    (Updatable) The number of data nodes to configure for the cluster.
    DataNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    DataNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    DataNodeHostType string
    TThe instance type for the cluster's data nodes.
    DataNodeStorageGb int
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    DisplayName string
    (Updatable) The name of the cluster. Avoid entering confidential information.
    MasterNodeCount int
    (Updatable) The number of master nodes to configure for the cluster.
    MasterNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    MasterNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    MasterNodeHostType string
    The instance type for the cluster's master nodes.
    OpendashboardNodeCount int
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    OpendashboardNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    OpendashboardNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    SoftwareVersion string
    (Updatable) The version of the software the cluster is running.
    SubnetCompartmentId string
    The OCID for the compartment where the cluster's subnet is located.
    SubnetId string
    The OCID of the cluster's subnet.
    VcnCompartmentId string
    The OCID for the compartment where the cluster's VCN is located.
    VcnId string

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DataNodeHostBareMetalShape string
    The bare metal shape for the cluster's data nodes.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    MasterNodeHostBareMetalShape string
    The bare metal shape for the cluster's master nodes.
    SecurityMasterUserName string
    (Updatable) The name of the master user that are used to manage security config
    SecurityMasterUserPasswordHash string
    (Updatable) The password hash of the master user that are used to manage security config
    SecurityMode string
    (Updatable) The security mode of the cluster.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    CompartmentId string
    The OCID of the compartment to create the cluster in.
    DataNodeCount int
    (Updatable) The number of data nodes to configure for the cluster.
    DataNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    DataNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    DataNodeHostType string
    TThe instance type for the cluster's data nodes.
    DataNodeStorageGb int
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    DisplayName string
    (Updatable) The name of the cluster. Avoid entering confidential information.
    MasterNodeCount int
    (Updatable) The number of master nodes to configure for the cluster.
    MasterNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    MasterNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    MasterNodeHostType string
    The instance type for the cluster's master nodes.
    OpendashboardNodeCount int
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    OpendashboardNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    OpendashboardNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    SoftwareVersion string
    (Updatable) The version of the software the cluster is running.
    SubnetCompartmentId string
    The OCID for the compartment where the cluster's subnet is located.
    SubnetId string
    The OCID of the cluster's subnet.
    VcnCompartmentId string
    The OCID for the compartment where the cluster's VCN is located.
    VcnId string

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DataNodeHostBareMetalShape string
    The bare metal shape for the cluster's data nodes.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    MasterNodeHostBareMetalShape string
    The bare metal shape for the cluster's master nodes.
    SecurityMasterUserName string
    (Updatable) The name of the master user that are used to manage security config
    SecurityMasterUserPasswordHash string
    (Updatable) The password hash of the master user that are used to manage security config
    SecurityMode string
    (Updatable) The security mode of the cluster.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    compartmentId String
    The OCID of the compartment to create the cluster in.
    dataNodeCount Integer
    (Updatable) The number of data nodes to configure for the cluster.
    dataNodeHostMemoryGb Integer
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    dataNodeHostOcpuCount Integer
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    dataNodeHostType String
    TThe instance type for the cluster's data nodes.
    dataNodeStorageGb Integer
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    displayName String
    (Updatable) The name of the cluster. Avoid entering confidential information.
    masterNodeCount Integer
    (Updatable) The number of master nodes to configure for the cluster.
    masterNodeHostMemoryGb Integer
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    masterNodeHostOcpuCount Integer
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    masterNodeHostType String
    The instance type for the cluster's master nodes.
    opendashboardNodeCount Integer
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboardNodeHostMemoryGb Integer
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardNodeHostOcpuCount Integer
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    softwareVersion String
    (Updatable) The version of the software the cluster is running.
    subnetCompartmentId String
    The OCID for the compartment where the cluster's subnet is located.
    subnetId String
    The OCID of the cluster's subnet.
    vcnCompartmentId String
    The OCID for the compartment where the cluster's VCN is located.
    vcnId String

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dataNodeHostBareMetalShape String
    The bare metal shape for the cluster's data nodes.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    masterNodeHostBareMetalShape String
    The bare metal shape for the cluster's master nodes.
    securityMasterUserName String
    (Updatable) The name of the master user that are used to manage security config
    securityMasterUserPasswordHash String
    (Updatable) The password hash of the master user that are used to manage security config
    securityMode String
    (Updatable) The security mode of the cluster.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    compartmentId string
    The OCID of the compartment to create the cluster in.
    dataNodeCount number
    (Updatable) The number of data nodes to configure for the cluster.
    dataNodeHostMemoryGb number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    dataNodeHostOcpuCount number
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    dataNodeHostType string
    TThe instance type for the cluster's data nodes.
    dataNodeStorageGb number
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    displayName string
    (Updatable) The name of the cluster. Avoid entering confidential information.
    masterNodeCount number
    (Updatable) The number of master nodes to configure for the cluster.
    masterNodeHostMemoryGb number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    masterNodeHostOcpuCount number
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    masterNodeHostType string
    The instance type for the cluster's master nodes.
    opendashboardNodeCount number
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboardNodeHostMemoryGb number
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardNodeHostOcpuCount number
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    softwareVersion string
    (Updatable) The version of the software the cluster is running.
    subnetCompartmentId string
    The OCID for the compartment where the cluster's subnet is located.
    subnetId string
    The OCID of the cluster's subnet.
    vcnCompartmentId string
    The OCID for the compartment where the cluster's VCN is located.
    vcnId string

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dataNodeHostBareMetalShape string
    The bare metal shape for the cluster's data nodes.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    masterNodeHostBareMetalShape string
    The bare metal shape for the cluster's master nodes.
    securityMasterUserName string
    (Updatable) The name of the master user that are used to manage security config
    securityMasterUserPasswordHash string
    (Updatable) The password hash of the master user that are used to manage security config
    securityMode string
    (Updatable) The security mode of the cluster.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    compartment_id str
    The OCID of the compartment to create the cluster in.
    data_node_count int
    (Updatable) The number of data nodes to configure for the cluster.
    data_node_host_memory_gb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    data_node_host_ocpu_count int
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    data_node_host_type str
    TThe instance type for the cluster's data nodes.
    data_node_storage_gb int
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    display_name str
    (Updatable) The name of the cluster. Avoid entering confidential information.
    master_node_count int
    (Updatable) The number of master nodes to configure for the cluster.
    master_node_host_memory_gb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    master_node_host_ocpu_count int
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    master_node_host_type str
    The instance type for the cluster's master nodes.
    opendashboard_node_count int
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboard_node_host_memory_gb int
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboard_node_host_ocpu_count int
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    software_version str
    (Updatable) The version of the software the cluster is running.
    subnet_compartment_id str
    The OCID for the compartment where the cluster's subnet is located.
    subnet_id str
    The OCID of the cluster's subnet.
    vcn_compartment_id str
    The OCID for the compartment where the cluster's VCN is located.
    vcn_id str

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    data_node_host_bare_metal_shape str
    The bare metal shape for the cluster's data nodes.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    master_node_host_bare_metal_shape str
    The bare metal shape for the cluster's master nodes.
    security_master_user_name str
    (Updatable) The name of the master user that are used to manage security config
    security_master_user_password_hash str
    (Updatable) The password hash of the master user that are used to manage security config
    security_mode str
    (Updatable) The security mode of the cluster.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    compartmentId String
    The OCID of the compartment to create the cluster in.
    dataNodeCount Number
    (Updatable) The number of data nodes to configure for the cluster.
    dataNodeHostMemoryGb Number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    dataNodeHostOcpuCount Number
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    dataNodeHostType String
    TThe instance type for the cluster's data nodes.
    dataNodeStorageGb Number
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    displayName String
    (Updatable) The name of the cluster. Avoid entering confidential information.
    masterNodeCount Number
    (Updatable) The number of master nodes to configure for the cluster.
    masterNodeHostMemoryGb Number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    masterNodeHostOcpuCount Number
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    masterNodeHostType String
    The instance type for the cluster's master nodes.
    opendashboardNodeCount Number
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboardNodeHostMemoryGb Number
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardNodeHostOcpuCount Number
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    softwareVersion String
    (Updatable) The version of the software the cluster is running.
    subnetCompartmentId String
    The OCID for the compartment where the cluster's subnet is located.
    subnetId String
    The OCID of the cluster's subnet.
    vcnCompartmentId String
    The OCID for the compartment where the cluster's VCN is located.
    vcnId String

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    dataNodeHostBareMetalShape String
    The bare metal shape for the cluster's data nodes.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    masterNodeHostBareMetalShape String
    The bare metal shape for the cluster's master nodes.
    securityMasterUserName String
    (Updatable) The name of the master user that are used to manage security config
    securityMasterUserPasswordHash String
    (Updatable) The password hash of the master user that are used to manage security config
    securityMode String
    (Updatable) The security mode of the cluster.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:

    AvailabilityDomains List<string>
    The availability domains to distribute the cluser nodes across.
    Fqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycle state of the cluster.
    OpendashboardFqdn string
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    OpendashboardPrivateIp string
    The private IP address for the cluster's OpenSearch Dashboard.
    OpensearchFqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    OpensearchPrivateIp string
    The cluster's private IP address.
    State string
    The current state of the cluster.
    TimeCreated string
    The amount of time in milliseconds since the cluster was created.
    TimeDeleted string
    The amount of time in milliseconds since the cluster was updated.
    TimeUpdated string
    The amount of time in milliseconds since the cluster was updated.
    TotalStorageGb int
    The size in GB of the cluster's total storage.
    AvailabilityDomains []string
    The availability domains to distribute the cluser nodes across.
    Fqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Additional information about the current lifecycle state of the cluster.
    OpendashboardFqdn string
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    OpendashboardPrivateIp string
    The private IP address for the cluster's OpenSearch Dashboard.
    OpensearchFqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    OpensearchPrivateIp string
    The cluster's private IP address.
    State string
    The current state of the cluster.
    TimeCreated string
    The amount of time in milliseconds since the cluster was created.
    TimeDeleted string
    The amount of time in milliseconds since the cluster was updated.
    TimeUpdated string
    The amount of time in milliseconds since the cluster was updated.
    TotalStorageGb int
    The size in GB of the cluster's total storage.
    availabilityDomains List<String>
    The availability domains to distribute the cluser nodes across.
    fqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycle state of the cluster.
    opendashboardFqdn String
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboardPrivateIp String
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearchFqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearchPrivateIp String
    The cluster's private IP address.
    state String
    The current state of the cluster.
    timeCreated String
    The amount of time in milliseconds since the cluster was created.
    timeDeleted String
    The amount of time in milliseconds since the cluster was updated.
    timeUpdated String
    The amount of time in milliseconds since the cluster was updated.
    totalStorageGb Integer
    The size in GB of the cluster's total storage.
    availabilityDomains string[]
    The availability domains to distribute the cluser nodes across.
    fqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Additional information about the current lifecycle state of the cluster.
    opendashboardFqdn string
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboardPrivateIp string
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearchFqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearchPrivateIp string
    The cluster's private IP address.
    state string
    The current state of the cluster.
    timeCreated string
    The amount of time in milliseconds since the cluster was created.
    timeDeleted string
    The amount of time in milliseconds since the cluster was updated.
    timeUpdated string
    The amount of time in milliseconds since the cluster was updated.
    totalStorageGb number
    The size in GB of the cluster's total storage.
    availability_domains Sequence[str]
    The availability domains to distribute the cluser nodes across.
    fqdn str
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Additional information about the current lifecycle state of the cluster.
    opendashboard_fqdn str
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboard_private_ip str
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearch_fqdn str
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearch_private_ip str
    The cluster's private IP address.
    state str
    The current state of the cluster.
    time_created str
    The amount of time in milliseconds since the cluster was created.
    time_deleted str
    The amount of time in milliseconds since the cluster was updated.
    time_updated str
    The amount of time in milliseconds since the cluster was updated.
    total_storage_gb int
    The size in GB of the cluster's total storage.
    availabilityDomains List<String>
    The availability domains to distribute the cluser nodes across.
    fqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Additional information about the current lifecycle state of the cluster.
    opendashboardFqdn String
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboardPrivateIp String
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearchFqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearchPrivateIp String
    The cluster's private IP address.
    state String
    The current state of the cluster.
    timeCreated String
    The amount of time in milliseconds since the cluster was created.
    timeDeleted String
    The amount of time in milliseconds since the cluster was updated.
    timeUpdated String
    The amount of time in milliseconds since the cluster was updated.
    totalStorageGb Number
    The size in GB of the cluster's total storage.

    Look up Existing Cluster Resource

    Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domains: Optional[Sequence[str]] = None,
            compartment_id: Optional[str] = None,
            data_node_count: Optional[int] = None,
            data_node_host_bare_metal_shape: Optional[str] = None,
            data_node_host_memory_gb: Optional[int] = None,
            data_node_host_ocpu_count: Optional[int] = None,
            data_node_host_type: Optional[str] = None,
            data_node_storage_gb: Optional[int] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            fqdn: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            master_node_count: Optional[int] = None,
            master_node_host_bare_metal_shape: Optional[str] = None,
            master_node_host_memory_gb: Optional[int] = None,
            master_node_host_ocpu_count: Optional[int] = None,
            master_node_host_type: Optional[str] = None,
            opendashboard_fqdn: Optional[str] = None,
            opendashboard_node_count: Optional[int] = None,
            opendashboard_node_host_memory_gb: Optional[int] = None,
            opendashboard_node_host_ocpu_count: Optional[int] = None,
            opendashboard_private_ip: Optional[str] = None,
            opensearch_fqdn: Optional[str] = None,
            opensearch_private_ip: Optional[str] = None,
            security_master_user_name: Optional[str] = None,
            security_master_user_password_hash: Optional[str] = None,
            security_mode: Optional[str] = None,
            software_version: Optional[str] = None,
            state: Optional[str] = None,
            subnet_compartment_id: Optional[str] = None,
            subnet_id: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_deleted: Optional[str] = None,
            time_updated: Optional[str] = None,
            total_storage_gb: Optional[int] = None,
            vcn_compartment_id: Optional[str] = None,
            vcn_id: Optional[str] = None) -> Cluster
    func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
    public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
    public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityDomains List<string>
    The availability domains to distribute the cluser nodes across.
    CompartmentId string
    The OCID of the compartment to create the cluster in.
    DataNodeCount int
    (Updatable) The number of data nodes to configure for the cluster.
    DataNodeHostBareMetalShape string
    The bare metal shape for the cluster's data nodes.
    DataNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    DataNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    DataNodeHostType string
    TThe instance type for the cluster's data nodes.
    DataNodeStorageGb int
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the cluster. Avoid entering confidential information.
    Fqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails string
    Additional information about the current lifecycle state of the cluster.
    MasterNodeCount int
    (Updatable) The number of master nodes to configure for the cluster.
    MasterNodeHostBareMetalShape string
    The bare metal shape for the cluster's master nodes.
    MasterNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    MasterNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    MasterNodeHostType string
    The instance type for the cluster's master nodes.
    OpendashboardFqdn string
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    OpendashboardNodeCount int
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    OpendashboardNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    OpendashboardNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    OpendashboardPrivateIp string
    The private IP address for the cluster's OpenSearch Dashboard.
    OpensearchFqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    OpensearchPrivateIp string
    The cluster's private IP address.
    SecurityMasterUserName string
    (Updatable) The name of the master user that are used to manage security config
    SecurityMasterUserPasswordHash string
    (Updatable) The password hash of the master user that are used to manage security config
    SecurityMode string
    (Updatable) The security mode of the cluster.
    SoftwareVersion string
    (Updatable) The version of the software the cluster is running.
    State string
    The current state of the cluster.
    SubnetCompartmentId string
    The OCID for the compartment where the cluster's subnet is located.
    SubnetId string
    The OCID of the cluster's subnet.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The amount of time in milliseconds since the cluster was created.
    TimeDeleted string
    The amount of time in milliseconds since the cluster was updated.
    TimeUpdated string
    The amount of time in milliseconds since the cluster was updated.
    TotalStorageGb int
    The size in GB of the cluster's total storage.
    VcnCompartmentId string
    The OCID for the compartment where the cluster's VCN is located.
    VcnId string

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AvailabilityDomains []string
    The availability domains to distribute the cluser nodes across.
    CompartmentId string
    The OCID of the compartment to create the cluster in.
    DataNodeCount int
    (Updatable) The number of data nodes to configure for the cluster.
    DataNodeHostBareMetalShape string
    The bare metal shape for the cluster's data nodes.
    DataNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    DataNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    DataNodeHostType string
    TThe instance type for the cluster's data nodes.
    DataNodeStorageGb int
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) The name of the cluster. Avoid entering confidential information.
    Fqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails string
    Additional information about the current lifecycle state of the cluster.
    MasterNodeCount int
    (Updatable) The number of master nodes to configure for the cluster.
    MasterNodeHostBareMetalShape string
    The bare metal shape for the cluster's master nodes.
    MasterNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    MasterNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    MasterNodeHostType string
    The instance type for the cluster's master nodes.
    OpendashboardFqdn string
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    OpendashboardNodeCount int
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    OpendashboardNodeHostMemoryGb int
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    OpendashboardNodeHostOcpuCount int
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    OpendashboardPrivateIp string
    The private IP address for the cluster's OpenSearch Dashboard.
    OpensearchFqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    OpensearchPrivateIp string
    The cluster's private IP address.
    SecurityMasterUserName string
    (Updatable) The name of the master user that are used to manage security config
    SecurityMasterUserPasswordHash string
    (Updatable) The password hash of the master user that are used to manage security config
    SecurityMode string
    (Updatable) The security mode of the cluster.
    SoftwareVersion string
    (Updatable) The version of the software the cluster is running.
    State string
    The current state of the cluster.
    SubnetCompartmentId string
    The OCID for the compartment where the cluster's subnet is located.
    SubnetId string
    The OCID of the cluster's subnet.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The amount of time in milliseconds since the cluster was created.
    TimeDeleted string
    The amount of time in milliseconds since the cluster was updated.
    TimeUpdated string
    The amount of time in milliseconds since the cluster was updated.
    TotalStorageGb int
    The size in GB of the cluster's total storage.
    VcnCompartmentId string
    The OCID for the compartment where the cluster's VCN is located.
    VcnId string

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomains List<String>
    The availability domains to distribute the cluser nodes across.
    compartmentId String
    The OCID of the compartment to create the cluster in.
    dataNodeCount Integer
    (Updatable) The number of data nodes to configure for the cluster.
    dataNodeHostBareMetalShape String
    The bare metal shape for the cluster's data nodes.
    dataNodeHostMemoryGb Integer
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    dataNodeHostOcpuCount Integer
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    dataNodeHostType String
    TThe instance type for the cluster's data nodes.
    dataNodeStorageGb Integer
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the cluster. Avoid entering confidential information.
    fqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails String
    Additional information about the current lifecycle state of the cluster.
    masterNodeCount Integer
    (Updatable) The number of master nodes to configure for the cluster.
    masterNodeHostBareMetalShape String
    The bare metal shape for the cluster's master nodes.
    masterNodeHostMemoryGb Integer
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    masterNodeHostOcpuCount Integer
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    masterNodeHostType String
    The instance type for the cluster's master nodes.
    opendashboardFqdn String
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboardNodeCount Integer
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboardNodeHostMemoryGb Integer
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardNodeHostOcpuCount Integer
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardPrivateIp String
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearchFqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearchPrivateIp String
    The cluster's private IP address.
    securityMasterUserName String
    (Updatable) The name of the master user that are used to manage security config
    securityMasterUserPasswordHash String
    (Updatable) The password hash of the master user that are used to manage security config
    securityMode String
    (Updatable) The security mode of the cluster.
    softwareVersion String
    (Updatable) The version of the software the cluster is running.
    state String
    The current state of the cluster.
    subnetCompartmentId String
    The OCID for the compartment where the cluster's subnet is located.
    subnetId String
    The OCID of the cluster's subnet.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The amount of time in milliseconds since the cluster was created.
    timeDeleted String
    The amount of time in milliseconds since the cluster was updated.
    timeUpdated String
    The amount of time in milliseconds since the cluster was updated.
    totalStorageGb Integer
    The size in GB of the cluster's total storage.
    vcnCompartmentId String
    The OCID for the compartment where the cluster's VCN is located.
    vcnId String

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomains string[]
    The availability domains to distribute the cluser nodes across.
    compartmentId string
    The OCID of the compartment to create the cluster in.
    dataNodeCount number
    (Updatable) The number of data nodes to configure for the cluster.
    dataNodeHostBareMetalShape string
    The bare metal shape for the cluster's data nodes.
    dataNodeHostMemoryGb number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    dataNodeHostOcpuCount number
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    dataNodeHostType string
    TThe instance type for the cluster's data nodes.
    dataNodeStorageGb number
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) The name of the cluster. Avoid entering confidential information.
    fqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails string
    Additional information about the current lifecycle state of the cluster.
    masterNodeCount number
    (Updatable) The number of master nodes to configure for the cluster.
    masterNodeHostBareMetalShape string
    The bare metal shape for the cluster's master nodes.
    masterNodeHostMemoryGb number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    masterNodeHostOcpuCount number
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    masterNodeHostType string
    The instance type for the cluster's master nodes.
    opendashboardFqdn string
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboardNodeCount number
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboardNodeHostMemoryGb number
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardNodeHostOcpuCount number
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardPrivateIp string
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearchFqdn string
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearchPrivateIp string
    The cluster's private IP address.
    securityMasterUserName string
    (Updatable) The name of the master user that are used to manage security config
    securityMasterUserPasswordHash string
    (Updatable) The password hash of the master user that are used to manage security config
    securityMode string
    (Updatable) The security mode of the cluster.
    softwareVersion string
    (Updatable) The version of the software the cluster is running.
    state string
    The current state of the cluster.
    subnetCompartmentId string
    The OCID for the compartment where the cluster's subnet is located.
    subnetId string
    The OCID of the cluster's subnet.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The amount of time in milliseconds since the cluster was created.
    timeDeleted string
    The amount of time in milliseconds since the cluster was updated.
    timeUpdated string
    The amount of time in milliseconds since the cluster was updated.
    totalStorageGb number
    The size in GB of the cluster's total storage.
    vcnCompartmentId string
    The OCID for the compartment where the cluster's VCN is located.
    vcnId string

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availability_domains Sequence[str]
    The availability domains to distribute the cluser nodes across.
    compartment_id str
    The OCID of the compartment to create the cluster in.
    data_node_count int
    (Updatable) The number of data nodes to configure for the cluster.
    data_node_host_bare_metal_shape str
    The bare metal shape for the cluster's data nodes.
    data_node_host_memory_gb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    data_node_host_ocpu_count int
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    data_node_host_type str
    TThe instance type for the cluster's data nodes.
    data_node_storage_gb int
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) The name of the cluster. Avoid entering confidential information.
    fqdn str
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycle_details str
    Additional information about the current lifecycle state of the cluster.
    master_node_count int
    (Updatable) The number of master nodes to configure for the cluster.
    master_node_host_bare_metal_shape str
    The bare metal shape for the cluster's master nodes.
    master_node_host_memory_gb int
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    master_node_host_ocpu_count int
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    master_node_host_type str
    The instance type for the cluster's master nodes.
    opendashboard_fqdn str
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboard_node_count int
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboard_node_host_memory_gb int
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboard_node_host_ocpu_count int
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboard_private_ip str
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearch_fqdn str
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearch_private_ip str
    The cluster's private IP address.
    security_master_user_name str
    (Updatable) The name of the master user that are used to manage security config
    security_master_user_password_hash str
    (Updatable) The password hash of the master user that are used to manage security config
    security_mode str
    (Updatable) The security mode of the cluster.
    software_version str
    (Updatable) The version of the software the cluster is running.
    state str
    The current state of the cluster.
    subnet_compartment_id str
    The OCID for the compartment where the cluster's subnet is located.
    subnet_id str
    The OCID of the cluster's subnet.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The amount of time in milliseconds since the cluster was created.
    time_deleted str
    The amount of time in milliseconds since the cluster was updated.
    time_updated str
    The amount of time in milliseconds since the cluster was updated.
    total_storage_gb int
    The size in GB of the cluster's total storage.
    vcn_compartment_id str
    The OCID for the compartment where the cluster's VCN is located.
    vcn_id str

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    availabilityDomains List<String>
    The availability domains to distribute the cluser nodes across.
    compartmentId String
    The OCID of the compartment to create the cluster in.
    dataNodeCount Number
    (Updatable) The number of data nodes to configure for the cluster.
    dataNodeHostBareMetalShape String
    The bare metal shape for the cluster's data nodes.
    dataNodeHostMemoryGb Number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's data nodes.
    dataNodeHostOcpuCount Number
    (Updatable) The number of OCPUs to configure for the cluster's data nodes.
    dataNodeHostType String
    TThe instance type for the cluster's data nodes.
    dataNodeStorageGb Number
    (Updatable) The amount of storage in GB, to configure per node for the cluster's data nodes.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) The name of the cluster. Avoid entering confidential information.
    fqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails String
    Additional information about the current lifecycle state of the cluster.
    masterNodeCount Number
    (Updatable) The number of master nodes to configure for the cluster.
    masterNodeHostBareMetalShape String
    The bare metal shape for the cluster's master nodes.
    masterNodeHostMemoryGb Number
    (Updatable) The amount of memory in GB, to configure per node for the cluster's master nodes.
    masterNodeHostOcpuCount Number
    (Updatable) The number of OCPUs to configure for the cluser's master nodes.
    masterNodeHostType String
    The instance type for the cluster's master nodes.
    opendashboardFqdn String
    The fully qualified domain name (FQDN) for the cluster's OpenSearch Dashboard API endpoint.
    opendashboardNodeCount Number
    (Updatable) The number of OpenSearch Dashboard nodes to configure for the cluster.
    opendashboardNodeHostMemoryGb Number
    (Updatable) The amount of memory in GB, to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardNodeHostOcpuCount Number
    (Updatable) The number of OCPUs to configure for the cluster's OpenSearch Dashboard nodes.
    opendashboardPrivateIp String
    The private IP address for the cluster's OpenSearch Dashboard.
    opensearchFqdn String
    The fully qualified domain name (FQDN) for the cluster's API endpoint.
    opensearchPrivateIp String
    The cluster's private IP address.
    securityMasterUserName String
    (Updatable) The name of the master user that are used to manage security config
    securityMasterUserPasswordHash String
    (Updatable) The password hash of the master user that are used to manage security config
    securityMode String
    (Updatable) The security mode of the cluster.
    softwareVersion String
    (Updatable) The version of the software the cluster is running.
    state String
    The current state of the cluster.
    subnetCompartmentId String
    The OCID for the compartment where the cluster's subnet is located.
    subnetId String
    The OCID of the cluster's subnet.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The amount of time in milliseconds since the cluster was created.
    timeDeleted String
    The amount of time in milliseconds since the cluster was updated.
    timeUpdated String
    The amount of time in milliseconds since the cluster was updated.
    totalStorageGb Number
    The size in GB of the cluster's total storage.
    vcnCompartmentId String
    The OCID for the compartment where the cluster's VCN is located.
    vcnId String

    The OCID of the cluster's VCN.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    OpensearchClusters can be imported using the id, e.g.

    $ pulumi import oci:Opensearch/cluster:Cluster test_opensearch_cluster "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi