1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Ocvp
  5. DatastoreCluster
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

oci.Ocvp.DatastoreCluster

Start a Neo task
Explain and create an oci.Ocvp.DatastoreCluster resource
oci logo
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatastoreCluster = new oci.ocvp.DatastoreCluster("test_datastore_cluster", {
        availabilityDomain: datastoreClusterAvailabilityDomain,
        compartmentId: compartmentId,
        datastoreClusterType: datastoreClusterDatastoreClusterType,
        displayName: datastoreClusterDisplayName,
        datastoreIds: datastoreClusterDatastoreIds,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_datastore_cluster = oci.ocvp.DatastoreCluster("test_datastore_cluster",
        availability_domain=datastore_cluster_availability_domain,
        compartment_id=compartment_id,
        datastore_cluster_type=datastore_cluster_datastore_cluster_type,
        display_name=datastore_cluster_display_name,
        datastore_ids=datastore_cluster_datastore_ids,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/ocvp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ocvp.NewDatastoreCluster(ctx, "test_datastore_cluster", &ocvp.DatastoreClusterArgs{
    			AvailabilityDomain:   pulumi.Any(datastoreClusterAvailabilityDomain),
    			CompartmentId:        pulumi.Any(compartmentId),
    			DatastoreClusterType: pulumi.Any(datastoreClusterDatastoreClusterType),
    			DisplayName:          pulumi.Any(datastoreClusterDisplayName),
    			DatastoreIds:         pulumi.Any(datastoreClusterDatastoreIds),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		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 testDatastoreCluster = new Oci.Ocvp.DatastoreCluster("test_datastore_cluster", new()
        {
            AvailabilityDomain = datastoreClusterAvailabilityDomain,
            CompartmentId = compartmentId,
            DatastoreClusterType = datastoreClusterDatastoreClusterType,
            DisplayName = datastoreClusterDisplayName,
            DatastoreIds = datastoreClusterDatastoreIds,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Ocvp.DatastoreCluster;
    import com.pulumi.oci.Ocvp.DatastoreClusterArgs;
    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 testDatastoreCluster = new DatastoreCluster("testDatastoreCluster", DatastoreClusterArgs.builder()
                .availabilityDomain(datastoreClusterAvailabilityDomain)
                .compartmentId(compartmentId)
                .datastoreClusterType(datastoreClusterDatastoreClusterType)
                .displayName(datastoreClusterDisplayName)
                .datastoreIds(datastoreClusterDatastoreIds)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testDatastoreCluster:
        type: oci:Ocvp:DatastoreCluster
        name: test_datastore_cluster
        properties:
          availabilityDomain: ${datastoreClusterAvailabilityDomain}
          compartmentId: ${compartmentId}
          datastoreClusterType: ${datastoreClusterDatastoreClusterType}
          displayName: ${datastoreClusterDisplayName}
          datastoreIds: ${datastoreClusterDatastoreIds}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
    

    Create DatastoreCluster Resource

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

    Constructor syntax

    new DatastoreCluster(name: string, args: DatastoreClusterArgs, opts?: CustomResourceOptions);
    @overload
    def DatastoreCluster(resource_name: str,
                         args: DatastoreClusterArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatastoreCluster(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         availability_domain: Optional[str] = None,
                         compartment_id: Optional[str] = None,
                         datastore_cluster_type: Optional[str] = None,
                         display_name: Optional[str] = None,
                         datastore_ids: Optional[Sequence[str]] = None,
                         defined_tags: Optional[Mapping[str, str]] = None,
                         freeform_tags: Optional[Mapping[str, str]] = None)
    func NewDatastoreCluster(ctx *Context, name string, args DatastoreClusterArgs, opts ...ResourceOption) (*DatastoreCluster, error)
    public DatastoreCluster(string name, DatastoreClusterArgs args, CustomResourceOptions? opts = null)
    public DatastoreCluster(String name, DatastoreClusterArgs args)
    public DatastoreCluster(String name, DatastoreClusterArgs args, CustomResourceOptions options)
    
    type: oci:Ocvp:DatastoreCluster
    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 DatastoreClusterArgs
    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 DatastoreClusterArgs
    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 DatastoreClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatastoreClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatastoreClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var datastoreClusterResource = new Oci.Ocvp.DatastoreCluster("datastoreClusterResource", new()
    {
        AvailabilityDomain = "string",
        CompartmentId = "string",
        DatastoreClusterType = "string",
        DisplayName = "string",
        DatastoreIds = new[]
        {
            "string",
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := ocvp.NewDatastoreCluster(ctx, "datastoreClusterResource", &ocvp.DatastoreClusterArgs{
    	AvailabilityDomain:   pulumi.String("string"),
    	CompartmentId:        pulumi.String("string"),
    	DatastoreClusterType: pulumi.String("string"),
    	DisplayName:          pulumi.String("string"),
    	DatastoreIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var datastoreClusterResource = new DatastoreCluster("datastoreClusterResource", DatastoreClusterArgs.builder()
        .availabilityDomain("string")
        .compartmentId("string")
        .datastoreClusterType("string")
        .displayName("string")
        .datastoreIds("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .build());
    
    datastore_cluster_resource = oci.ocvp.DatastoreCluster("datastoreClusterResource",
        availability_domain="string",
        compartment_id="string",
        datastore_cluster_type="string",
        display_name="string",
        datastore_ids=["string"],
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        })
    
    const datastoreClusterResource = new oci.ocvp.DatastoreCluster("datastoreClusterResource", {
        availabilityDomain: "string",
        compartmentId: "string",
        datastoreClusterType: "string",
        displayName: "string",
        datastoreIds: ["string"],
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:Ocvp:DatastoreCluster
    properties:
        availabilityDomain: string
        compartmentId: string
        datastoreClusterType: string
        datastoreIds:
            - string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
    

    DatastoreCluster Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DatastoreCluster resource accepts the following input properties:

    AvailabilityDomain string
    The availability domain to create the Datastore Cluster in.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    DatastoreClusterType string
    Type of the datastore.
    DisplayName string
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    DatastoreIds List<string>
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, string>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    AvailabilityDomain string
    The availability domain to create the Datastore Cluster in.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    DatastoreClusterType string
    Type of the datastore.
    DisplayName string
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    DatastoreIds []string
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]string

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    availabilityDomain String
    The availability domain to create the Datastore Cluster in.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastoreClusterType String
    Type of the datastore.
    displayName String
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    datastoreIds List<String>
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,String>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    availabilityDomain string
    The availability domain to create the Datastore Cluster in.
    compartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastoreClusterType string
    Type of the datastore.
    displayName string
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    datastoreIds string[]
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: string}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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_domain str
    The availability domain to create the Datastore Cluster in.
    compartment_id str
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastore_cluster_type str
    Type of the datastore.
    display_name str
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    datastore_ids Sequence[str]
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, str]

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    availabilityDomain String
    The availability domain to create the Datastore Cluster in.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastoreClusterType String
    Type of the datastore.
    displayName String
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    datastoreIds List<String>
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    Outputs

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

    CapacityInGbs double
    Total size of all datastores associated with the datastore cluster in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    EsxiHostIds List<string>
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    SddcId string
    The OCID of the SDDC that Datastore cluster is associated with.
    State string
    The current state of the Datastore Cluster.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    TimeCreated string
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    CapacityInGbs float64
    Total size of all datastores associated with the datastore cluster in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    EsxiHostIds []string
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    SddcId string
    The OCID of the SDDC that Datastore cluster is associated with.
    State string
    The current state of the Datastore Cluster.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    TimeCreated string
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    capacityInGbs Double
    Total size of all datastores associated with the datastore cluster in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    esxiHostIds List<String>
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    sddcId String
    The OCID of the SDDC that Datastore cluster is associated with.
    state String
    The current state of the Datastore Cluster.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated String
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    capacityInGbs number
    Total size of all datastores associated with the datastore cluster in GB.
    clusterId string
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    esxiHostIds string[]
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    sddcId string
    The OCID of the SDDC that Datastore cluster is associated with.
    state string
    The current state of the Datastore Cluster.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated string
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    capacity_in_gbs float
    Total size of all datastores associated with the datastore cluster in GB.
    cluster_id str
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    esxi_host_ids Sequence[str]
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    sddc_id str
    The OCID of the SDDC that Datastore cluster is associated with.
    state str
    The current state of the Datastore Cluster.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    time_created str
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    capacityInGbs Number
    Total size of all datastores associated with the datastore cluster in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    esxiHostIds List<String>
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    sddcId String
    The OCID of the SDDC that Datastore cluster is associated with.
    state String
    The current state of the Datastore Cluster.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated String
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.

    Look up Existing DatastoreCluster Resource

    Get an existing DatastoreCluster 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?: DatastoreClusterState, opts?: CustomResourceOptions): DatastoreCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            capacity_in_gbs: Optional[float] = None,
            cluster_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            datastore_cluster_type: Optional[str] = None,
            datastore_ids: Optional[Sequence[str]] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            esxi_host_ids: Optional[Sequence[str]] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            sddc_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> DatastoreCluster
    func GetDatastoreCluster(ctx *Context, name string, id IDInput, state *DatastoreClusterState, opts ...ResourceOption) (*DatastoreCluster, error)
    public static DatastoreCluster Get(string name, Input<string> id, DatastoreClusterState? state, CustomResourceOptions? opts = null)
    public static DatastoreCluster get(String name, Output<String> id, DatastoreClusterState state, CustomResourceOptions options)
    resources:  _:    type: oci:Ocvp:DatastoreCluster    get:      id: ${id}
    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:
    AvailabilityDomain string
    The availability domain to create the Datastore Cluster in.
    CapacityInGbs double
    Total size of all datastores associated with the datastore cluster in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    DatastoreClusterType string
    Type of the datastore.
    DatastoreIds List<string>
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    EsxiHostIds List<string>
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    FreeformTags Dictionary<string, string>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    SddcId string
    The OCID of the SDDC that Datastore cluster is associated with.
    State string
    The current state of the Datastore Cluster.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    TimeCreated string
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    AvailabilityDomain string
    The availability domain to create the Datastore Cluster in.
    CapacityInGbs float64
    Total size of all datastores associated with the datastore cluster in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    DatastoreClusterType string
    Type of the datastore.
    DatastoreIds []string
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    EsxiHostIds []string
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    FreeformTags map[string]string

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    SddcId string
    The OCID of the SDDC that Datastore cluster is associated with.
    State string
    The current state of the Datastore Cluster.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    TimeCreated string
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    availabilityDomain String
    The availability domain to create the Datastore Cluster in.
    capacityInGbs Double
    Total size of all datastores associated with the datastore cluster in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastoreClusterType String
    Type of the datastore.
    datastoreIds List<String>
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    esxiHostIds List<String>
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    freeformTags Map<String,String>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    sddcId String
    The OCID of the SDDC that Datastore cluster is associated with.
    state String
    The current state of the Datastore Cluster.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated String
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    availabilityDomain string
    The availability domain to create the Datastore Cluster in.
    capacityInGbs number
    Total size of all datastores associated with the datastore cluster in GB.
    clusterId string
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    compartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastoreClusterType string
    Type of the datastore.
    datastoreIds string[]
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    esxiHostIds string[]
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    freeformTags {[key: string]: string}

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    sddcId string
    The OCID of the SDDC that Datastore cluster is associated with.
    state string
    The current state of the Datastore Cluster.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated string
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    availability_domain str
    The availability domain to create the Datastore Cluster in.
    capacity_in_gbs float
    Total size of all datastores associated with the datastore cluster in GB.
    cluster_id str
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    compartment_id str
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastore_cluster_type str
    Type of the datastore.
    datastore_ids Sequence[str]
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    esxi_host_ids Sequence[str]
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    freeform_tags Mapping[str, str]

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    sddc_id str
    The OCID of the SDDC that Datastore cluster is associated with.
    state str
    The current state of the Datastore Cluster.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    time_created str
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
    availabilityDomain String
    The availability domain to create the Datastore Cluster in.
    capacityInGbs Number
    Total size of all datastores associated with the datastore cluster in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore cluster is attached to.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore Cluster.
    datastoreClusterType String
    Type of the datastore.
    datastoreIds List<String>
    The OCIDs of the Datastores that belong to the Datastore Cluster.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A descriptive name for the Datastore Cluster. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    esxiHostIds List<String>
    The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
    freeformTags Map<String>

    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

    ** 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

    sddcId String
    The OCID of the SDDC that Datastore cluster is associated with.
    state String
    The current state of the Datastore Cluster.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}
    timeCreated String
    The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore Cluster was updated, in the format defined by RFC3339.

    Import

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

    $ pulumi import oci:Ocvp/datastoreCluster:DatastoreCluster test_datastore_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 v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate