1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opensearch
  5. Cluster
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Opensearch.Cluster

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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("test_opensearch_cluster", {
        compartmentId: compartmentId,
        dataNodeCount: opensearchClusterDataNodeCount,
        dataNodeHostMemoryGb: opensearchClusterDataNodeHostMemoryGb,
        dataNodeHostOcpuCount: opensearchClusterDataNodeHostOcpuCount,
        dataNodeHostType: opensearchClusterDataNodeHostType,
        dataNodeStorageGb: opensearchClusterDataNodeStorageGb,
        displayName: opensearchClusterDisplayName,
        masterNodeCount: opensearchClusterMasterNodeCount,
        masterNodeHostMemoryGb: opensearchClusterMasterNodeHostMemoryGb,
        masterNodeHostOcpuCount: opensearchClusterMasterNodeHostOcpuCount,
        masterNodeHostType: opensearchClusterMasterNodeHostType,
        opendashboardNodeCount: opensearchClusterOpendashboardNodeCount,
        opendashboardNodeHostMemoryGb: opensearchClusterOpendashboardNodeHostMemoryGb,
        opendashboardNodeHostOcpuCount: opensearchClusterOpendashboardNodeHostOcpuCount,
        softwareVersion: opensearchClusterSoftwareVersion,
        subnetCompartmentId: testCompartment.id,
        subnetId: testSubnet.id,
        vcnCompartmentId: testCompartment.id,
        vcnId: testVcn.id,
        dataNodeHostBareMetalShape: opensearchClusterDataNodeHostBareMetalShape,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        masterNodeHostBareMetalShape: opensearchClusterMasterNodeHostBareMetalShape,
        securityMasterUserName: testUser.name,
        securityMasterUserPasswordHash: opensearchClusterSecurityMasterUserPasswordHash,
        securityMode: opensearchClusterSecurityMode,
        systemTags: opensearchClusterSystemTags,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_opensearch_cluster = oci.opensearch.Cluster("test_opensearch_cluster",
        compartment_id=compartment_id,
        data_node_count=opensearch_cluster_data_node_count,
        data_node_host_memory_gb=opensearch_cluster_data_node_host_memory_gb,
        data_node_host_ocpu_count=opensearch_cluster_data_node_host_ocpu_count,
        data_node_host_type=opensearch_cluster_data_node_host_type,
        data_node_storage_gb=opensearch_cluster_data_node_storage_gb,
        display_name=opensearch_cluster_display_name,
        master_node_count=opensearch_cluster_master_node_count,
        master_node_host_memory_gb=opensearch_cluster_master_node_host_memory_gb,
        master_node_host_ocpu_count=opensearch_cluster_master_node_host_ocpu_count,
        master_node_host_type=opensearch_cluster_master_node_host_type,
        opendashboard_node_count=opensearch_cluster_opendashboard_node_count,
        opendashboard_node_host_memory_gb=opensearch_cluster_opendashboard_node_host_memory_gb,
        opendashboard_node_host_ocpu_count=opensearch_cluster_opendashboard_node_host_ocpu_count,
        software_version=opensearch_cluster_software_version,
        subnet_compartment_id=test_compartment["id"],
        subnet_id=test_subnet["id"],
        vcn_compartment_id=test_compartment["id"],
        vcn_id=test_vcn["id"],
        data_node_host_bare_metal_shape=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=opensearch_cluster_master_node_host_bare_metal_shape,
        security_master_user_name=test_user["name"],
        security_master_user_password_hash=opensearch_cluster_security_master_user_password_hash,
        security_mode=opensearch_cluster_security_mode,
        system_tags=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, "test_opensearch_cluster", &Opensearch.ClusterArgs{
    			CompartmentId:                  pulumi.Any(compartmentId),
    			DataNodeCount:                  pulumi.Any(opensearchClusterDataNodeCount),
    			DataNodeHostMemoryGb:           pulumi.Any(opensearchClusterDataNodeHostMemoryGb),
    			DataNodeHostOcpuCount:          pulumi.Any(opensearchClusterDataNodeHostOcpuCount),
    			DataNodeHostType:               pulumi.Any(opensearchClusterDataNodeHostType),
    			DataNodeStorageGb:              pulumi.Any(opensearchClusterDataNodeStorageGb),
    			DisplayName:                    pulumi.Any(opensearchClusterDisplayName),
    			MasterNodeCount:                pulumi.Any(opensearchClusterMasterNodeCount),
    			MasterNodeHostMemoryGb:         pulumi.Any(opensearchClusterMasterNodeHostMemoryGb),
    			MasterNodeHostOcpuCount:        pulumi.Any(opensearchClusterMasterNodeHostOcpuCount),
    			MasterNodeHostType:             pulumi.Any(opensearchClusterMasterNodeHostType),
    			OpendashboardNodeCount:         pulumi.Any(opensearchClusterOpendashboardNodeCount),
    			OpendashboardNodeHostMemoryGb:  pulumi.Any(opensearchClusterOpendashboardNodeHostMemoryGb),
    			OpendashboardNodeHostOcpuCount: pulumi.Any(opensearchClusterOpendashboardNodeHostOcpuCount),
    			SoftwareVersion:                pulumi.Any(opensearchClusterSoftwareVersion),
    			SubnetCompartmentId:            pulumi.Any(testCompartment.Id),
    			SubnetId:                       pulumi.Any(testSubnet.Id),
    			VcnCompartmentId:               pulumi.Any(testCompartment.Id),
    			VcnId:                          pulumi.Any(testVcn.Id),
    			DataNodeHostBareMetalShape:     pulumi.Any(opensearchClusterDataNodeHostBareMetalShape),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			MasterNodeHostBareMetalShape:   pulumi.Any(opensearchClusterMasterNodeHostBareMetalShape),
    			SecurityMasterUserName:         pulumi.Any(testUser.Name),
    			SecurityMasterUserPasswordHash: pulumi.Any(opensearchClusterSecurityMasterUserPasswordHash),
    			SecurityMode:                   pulumi.Any(opensearchClusterSecurityMode),
    			SystemTags:                     pulumi.Any(opensearchClusterSystemTags),
    		})
    		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("test_opensearch_cluster", new()
        {
            CompartmentId = compartmentId,
            DataNodeCount = opensearchClusterDataNodeCount,
            DataNodeHostMemoryGb = opensearchClusterDataNodeHostMemoryGb,
            DataNodeHostOcpuCount = opensearchClusterDataNodeHostOcpuCount,
            DataNodeHostType = opensearchClusterDataNodeHostType,
            DataNodeStorageGb = opensearchClusterDataNodeStorageGb,
            DisplayName = opensearchClusterDisplayName,
            MasterNodeCount = opensearchClusterMasterNodeCount,
            MasterNodeHostMemoryGb = opensearchClusterMasterNodeHostMemoryGb,
            MasterNodeHostOcpuCount = opensearchClusterMasterNodeHostOcpuCount,
            MasterNodeHostType = opensearchClusterMasterNodeHostType,
            OpendashboardNodeCount = opensearchClusterOpendashboardNodeCount,
            OpendashboardNodeHostMemoryGb = opensearchClusterOpendashboardNodeHostMemoryGb,
            OpendashboardNodeHostOcpuCount = opensearchClusterOpendashboardNodeHostOcpuCount,
            SoftwareVersion = opensearchClusterSoftwareVersion,
            SubnetCompartmentId = testCompartment.Id,
            SubnetId = testSubnet.Id,
            VcnCompartmentId = testCompartment.Id,
            VcnId = testVcn.Id,
            DataNodeHostBareMetalShape = opensearchClusterDataNodeHostBareMetalShape,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            MasterNodeHostBareMetalShape = opensearchClusterMasterNodeHostBareMetalShape,
            SecurityMasterUserName = testUser.Name,
            SecurityMasterUserPasswordHash = opensearchClusterSecurityMasterUserPasswordHash,
            SecurityMode = opensearchClusterSecurityMode,
            SystemTags = opensearchClusterSystemTags,
        });
    
    });
    
    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(compartmentId)
                .dataNodeCount(opensearchClusterDataNodeCount)
                .dataNodeHostMemoryGb(opensearchClusterDataNodeHostMemoryGb)
                .dataNodeHostOcpuCount(opensearchClusterDataNodeHostOcpuCount)
                .dataNodeHostType(opensearchClusterDataNodeHostType)
                .dataNodeStorageGb(opensearchClusterDataNodeStorageGb)
                .displayName(opensearchClusterDisplayName)
                .masterNodeCount(opensearchClusterMasterNodeCount)
                .masterNodeHostMemoryGb(opensearchClusterMasterNodeHostMemoryGb)
                .masterNodeHostOcpuCount(opensearchClusterMasterNodeHostOcpuCount)
                .masterNodeHostType(opensearchClusterMasterNodeHostType)
                .opendashboardNodeCount(opensearchClusterOpendashboardNodeCount)
                .opendashboardNodeHostMemoryGb(opensearchClusterOpendashboardNodeHostMemoryGb)
                .opendashboardNodeHostOcpuCount(opensearchClusterOpendashboardNodeHostOcpuCount)
                .softwareVersion(opensearchClusterSoftwareVersion)
                .subnetCompartmentId(testCompartment.id())
                .subnetId(testSubnet.id())
                .vcnCompartmentId(testCompartment.id())
                .vcnId(testVcn.id())
                .dataNodeHostBareMetalShape(opensearchClusterDataNodeHostBareMetalShape)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .masterNodeHostBareMetalShape(opensearchClusterMasterNodeHostBareMetalShape)
                .securityMasterUserName(testUser.name())
                .securityMasterUserPasswordHash(opensearchClusterSecurityMasterUserPasswordHash)
                .securityMode(opensearchClusterSecurityMode)
                .systemTags(opensearchClusterSystemTags)
                .build());
    
        }
    }
    
    resources:
      testOpensearchCluster:
        type: oci:Opensearch:Cluster
        name: test_opensearch_cluster
        properties:
          compartmentId: ${compartmentId}
          dataNodeCount: ${opensearchClusterDataNodeCount}
          dataNodeHostMemoryGb: ${opensearchClusterDataNodeHostMemoryGb}
          dataNodeHostOcpuCount: ${opensearchClusterDataNodeHostOcpuCount}
          dataNodeHostType: ${opensearchClusterDataNodeHostType}
          dataNodeStorageGb: ${opensearchClusterDataNodeStorageGb}
          displayName: ${opensearchClusterDisplayName}
          masterNodeCount: ${opensearchClusterMasterNodeCount}
          masterNodeHostMemoryGb: ${opensearchClusterMasterNodeHostMemoryGb}
          masterNodeHostOcpuCount: ${opensearchClusterMasterNodeHostOcpuCount}
          masterNodeHostType: ${opensearchClusterMasterNodeHostType}
          opendashboardNodeCount: ${opensearchClusterOpendashboardNodeCount}
          opendashboardNodeHostMemoryGb: ${opensearchClusterOpendashboardNodeHostMemoryGb}
          opendashboardNodeHostOcpuCount: ${opensearchClusterOpendashboardNodeHostOcpuCount}
          softwareVersion: ${opensearchClusterSoftwareVersion}
          subnetCompartmentId: ${testCompartment.id}
          subnetId: ${testSubnet.id}
          vcnCompartmentId: ${testCompartment.id}
          vcnId: ${testVcn.id}
          dataNodeHostBareMetalShape: ${opensearchClusterDataNodeHostBareMetalShape}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          masterNodeHostBareMetalShape: ${opensearchClusterMasterNodeHostBareMetalShape}
          securityMasterUserName: ${testUser.name}
          securityMasterUserPasswordHash: ${opensearchClusterSecurityMasterUserPasswordHash}
          securityMode: ${opensearchClusterSecurityMode}
          systemTags: ${opensearchClusterSystemTags}
    

    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.41.0 published on Wednesday, Jun 19, 2024 by Pulumi