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

oci.Ocvp.Datastore

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

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      testDatastore:
        type: oci:Ocvp:Datastore
        name: test_datastore
        properties:
          availabilityDomain: ${datastoreAvailabilityDomain}
          blockVolumeIds: ${datastoreBlockVolumeIds}
          compartmentId: ${compartmentId}
          displayName: ${datastoreDisplayName}
          datastoreClusterId: ${testDatastoreCluster.id}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
    

    Create Datastore Resource

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

    Constructor syntax

    new Datastore(name: string, args: DatastoreArgs, opts?: CustomResourceOptions);
    @overload
    def Datastore(resource_name: str,
                  args: DatastoreArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Datastore(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  availability_domain: Optional[str] = None,
                  block_volume_ids: Optional[Sequence[str]] = None,
                  compartment_id: Optional[str] = None,
                  display_name: Optional[str] = None,
                  defined_tags: Optional[Mapping[str, str]] = None,
                  freeform_tags: Optional[Mapping[str, str]] = None)
    func NewDatastore(ctx *Context, name string, args DatastoreArgs, opts ...ResourceOption) (*Datastore, error)
    public Datastore(string name, DatastoreArgs args, CustomResourceOptions? opts = null)
    public Datastore(String name, DatastoreArgs args)
    public Datastore(String name, DatastoreArgs args, CustomResourceOptions options)
    
    type: oci:Ocvp:Datastore
    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 DatastoreArgs
    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 DatastoreArgs
    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 DatastoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatastoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatastoreArgs
    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 datastoreResource = new Oci.Ocvp.Datastore("datastoreResource", new()
    {
        AvailabilityDomain = "string",
        BlockVolumeIds = new[]
        {
            "string",
        },
        CompartmentId = "string",
        DisplayName = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := ocvp.NewDatastore(ctx, "datastoreResource", &ocvp.DatastoreArgs{
    	AvailabilityDomain: pulumi.String("string"),
    	BlockVolumeIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var datastoreResource = new Datastore("datastoreResource", DatastoreArgs.builder()
        .availabilityDomain("string")
        .blockVolumeIds("string")
        .compartmentId("string")
        .displayName("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .build());
    
    datastore_resource = oci.ocvp.Datastore("datastoreResource",
        availability_domain="string",
        block_volume_ids=["string"],
        compartment_id="string",
        display_name="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        })
    
    const datastoreResource = new oci.ocvp.Datastore("datastoreResource", {
        availabilityDomain: "string",
        blockVolumeIds: ["string"],
        compartmentId: "string",
        displayName: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:Ocvp:Datastore
    properties:
        availabilityDomain: string
        blockVolumeIds:
            - string
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
    

    Datastore 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 Datastore resource accepts the following input properties:

    AvailabilityDomain string
    The availability domain to create the Datastore in.
    BlockVolumeIds List<string>
    The List of Block volume OCIDs that belong to the Datastore.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore.
    DisplayName string
    (Updatable) A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 in.
    BlockVolumeIds []string
    The List of Block volume OCIDs that belong to the Datastore.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore.
    DisplayName string
    (Updatable) A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 in.
    blockVolumeIds List<String>
    The List of Block volume OCIDs that belong to the Datastore.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore.
    displayName String
    (Updatable) A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 in.
    blockVolumeIds string[]
    The List of Block volume OCIDs that belong to the Datastore.
    compartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore.
    displayName string
    (Updatable) A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 in.
    block_volume_ids Sequence[str]
    The List of Block volume OCIDs that belong to the Datastore.
    compartment_id str
    (Updatable) The OCID of the compartment to contain the Datastore.
    display_name str
    (Updatable) A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 in.
    blockVolumeIds List<String>
    The List of Block volume OCIDs that belong to the Datastore.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore.
    displayName String
    (Updatable) A descriptive name for the Datastore. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 Datastore resource produces the following output properties:

    BlockVolumeDetails List<DatastoreBlockVolumeDetail>
    The list of Block Volume details that belong to the datastore.
    CapacityInGbs double
    Total size of the datastore in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore is attached to.
    Id string
    The provider-assigned unique ID for this managed resource.
    SddcId string
    The OCID of the SDDC that Datastore is associated with.
    State string
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore was updated, in the format defined by RFC3339.
    BlockVolumeDetails []DatastoreBlockVolumeDetail
    The list of Block Volume details that belong to the datastore.
    CapacityInGbs float64
    Total size of the datastore in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore is attached to.
    Id string
    The provider-assigned unique ID for this managed resource.
    SddcId string
    The OCID of the SDDC that Datastore is associated with.
    State string
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore was updated, in the format defined by RFC3339.
    blockVolumeDetails List<DatastoreBlockVolumeDetail>
    The list of Block Volume details that belong to the datastore.
    capacityInGbs Double
    Total size of the datastore in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore is attached to.
    id String
    The provider-assigned unique ID for this managed resource.
    sddcId String
    The OCID of the SDDC that Datastore is associated with.
    state String
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore was updated, in the format defined by RFC3339.
    blockVolumeDetails DatastoreBlockVolumeDetail[]
    The list of Block Volume details that belong to the datastore.
    capacityInGbs number
    Total size of the datastore in GB.
    clusterId string
    The OCID of the VMware Cluster that Datastore is attached to.
    id string
    The provider-assigned unique ID for this managed resource.
    sddcId string
    The OCID of the SDDC that Datastore is associated with.
    state string
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Datastore was updated, in the format defined by RFC3339.
    block_volume_details Sequence[DatastoreBlockVolumeDetail]
    The list of Block Volume details that belong to the datastore.
    capacity_in_gbs float
    Total size of the datastore in GB.
    cluster_id str
    The OCID of the VMware Cluster that Datastore is attached to.
    id str
    The provider-assigned unique ID for this managed resource.
    sddc_id str
    The OCID of the SDDC that Datastore is associated with.
    state str
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Datastore was updated, in the format defined by RFC3339.
    blockVolumeDetails List<Property Map>
    The list of Block Volume details that belong to the datastore.
    capacityInGbs Number
    Total size of the datastore in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore is attached to.
    id String
    The provider-assigned unique ID for this managed resource.
    sddcId String
    The OCID of the SDDC that Datastore is associated with.
    state String
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore was updated, in the format defined by RFC3339.

    Look up Existing Datastore Resource

    Get an existing Datastore 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?: DatastoreState, opts?: CustomResourceOptions): Datastore
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_domain: Optional[str] = None,
            block_volume_details: Optional[Sequence[DatastoreBlockVolumeDetailArgs]] = None,
            block_volume_ids: Optional[Sequence[str]] = None,
            capacity_in_gbs: Optional[float] = None,
            cluster_id: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[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) -> Datastore
    func GetDatastore(ctx *Context, name string, id IDInput, state *DatastoreState, opts ...ResourceOption) (*Datastore, error)
    public static Datastore Get(string name, Input<string> id, DatastoreState? state, CustomResourceOptions? opts = null)
    public static Datastore get(String name, Output<String> id, DatastoreState state, CustomResourceOptions options)
    resources:  _:    type: oci:Ocvp:Datastore    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 in.
    BlockVolumeDetails List<DatastoreBlockVolumeDetail>
    The list of Block Volume details that belong to the datastore.
    BlockVolumeIds List<string>
    The List of Block volume OCIDs that belong to the Datastore.
    CapacityInGbs double
    Total size of the datastore in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore is attached to.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore.
    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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 is associated with.
    State string
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore was updated, in the format defined by RFC3339.
    AvailabilityDomain string
    The availability domain to create the Datastore in.
    BlockVolumeDetails []DatastoreBlockVolumeDetailArgs
    The list of Block Volume details that belong to the datastore.
    BlockVolumeIds []string
    The List of Block volume OCIDs that belong to the Datastore.
    CapacityInGbs float64
    Total size of the datastore in GB.
    ClusterId string
    The OCID of the VMware Cluster that Datastore is attached to.
    CompartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore.
    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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 is associated with.
    State string
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Datastore was updated, in the format defined by RFC3339.
    availabilityDomain String
    The availability domain to create the Datastore in.
    blockVolumeDetails List<DatastoreBlockVolumeDetail>
    The list of Block Volume details that belong to the datastore.
    blockVolumeIds List<String>
    The List of Block volume OCIDs that belong to the Datastore.
    capacityInGbs Double
    Total size of the datastore in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore is attached to.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore.
    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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 is associated with.
    state String
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore was updated, in the format defined by RFC3339.
    availabilityDomain string
    The availability domain to create the Datastore in.
    blockVolumeDetails DatastoreBlockVolumeDetail[]
    The list of Block Volume details that belong to the datastore.
    blockVolumeIds string[]
    The List of Block volume OCIDs that belong to the Datastore.
    capacityInGbs number
    Total size of the datastore in GB.
    clusterId string
    The OCID of the VMware Cluster that Datastore is attached to.
    compartmentId string
    (Updatable) The OCID of the compartment to contain the Datastore.
    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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 is associated with.
    state string
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Datastore was updated, in the format defined by RFC3339.
    availability_domain str
    The availability domain to create the Datastore in.
    block_volume_details Sequence[DatastoreBlockVolumeDetailArgs]
    The list of Block Volume details that belong to the datastore.
    block_volume_ids Sequence[str]
    The List of Block volume OCIDs that belong to the Datastore.
    capacity_in_gbs float
    Total size of the datastore in GB.
    cluster_id str
    The OCID of the VMware Cluster that Datastore is attached to.
    compartment_id str
    (Updatable) The OCID of the compartment to contain the Datastore.
    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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 is associated with.
    state str
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Datastore was updated, in the format defined by RFC3339.
    availabilityDomain String
    The availability domain to create the Datastore in.
    blockVolumeDetails List<Property Map>
    The list of Block Volume details that belong to the datastore.
    blockVolumeIds List<String>
    The List of Block volume OCIDs that belong to the Datastore.
    capacityInGbs Number
    Total size of the datastore in GB.
    clusterId String
    The OCID of the VMware Cluster that Datastore is attached to.
    compartmentId String
    (Updatable) The OCID of the compartment to contain the Datastore.
    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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
    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 is associated with.
    state String
    The current state of the Datastore.
    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 was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Datastore was updated, in the format defined by RFC3339.

    Supporting Types

    DatastoreBlockVolumeDetail, DatastoreBlockVolumeDetailArgs

    Attachments List<DatastoreBlockVolumeDetailAttachment>
    List of BlockVolumeAttachment objects containing information about attachment details
    Id string
    The OCID of the Datastore.
    Iqn string
    An IQN of the Block Storage Volume.
    Attachments []DatastoreBlockVolumeDetailAttachment
    List of BlockVolumeAttachment objects containing information about attachment details
    Id string
    The OCID of the Datastore.
    Iqn string
    An IQN of the Block Storage Volume.
    attachments List<DatastoreBlockVolumeDetailAttachment>
    List of BlockVolumeAttachment objects containing information about attachment details
    id String
    The OCID of the Datastore.
    iqn String
    An IQN of the Block Storage Volume.
    attachments DatastoreBlockVolumeDetailAttachment[]
    List of BlockVolumeAttachment objects containing information about attachment details
    id string
    The OCID of the Datastore.
    iqn string
    An IQN of the Block Storage Volume.
    attachments Sequence[DatastoreBlockVolumeDetailAttachment]
    List of BlockVolumeAttachment objects containing information about attachment details
    id str
    The OCID of the Datastore.
    iqn str
    An IQN of the Block Storage Volume.
    attachments List<Property Map>
    List of BlockVolumeAttachment objects containing information about attachment details
    id String
    The OCID of the Datastore.
    iqn String
    An IQN of the Block Storage Volume.

    DatastoreBlockVolumeDetailAttachment, DatastoreBlockVolumeDetailAttachmentArgs

    EsxiHostId string
    The OCIDs of the ESXi host that block volume is attached to.
    IpAddress string
    The IP address of block volume attachment.
    Port int
    The port of block volume attachment.
    EsxiHostId string
    The OCIDs of the ESXi host that block volume is attached to.
    IpAddress string
    The IP address of block volume attachment.
    Port int
    The port of block volume attachment.
    esxiHostId String
    The OCIDs of the ESXi host that block volume is attached to.
    ipAddress String
    The IP address of block volume attachment.
    port Integer
    The port of block volume attachment.
    esxiHostId string
    The OCIDs of the ESXi host that block volume is attached to.
    ipAddress string
    The IP address of block volume attachment.
    port number
    The port of block volume attachment.
    esxi_host_id str
    The OCIDs of the ESXi host that block volume is attached to.
    ip_address str
    The IP address of block volume attachment.
    port int
    The port of block volume attachment.
    esxiHostId String
    The OCIDs of the ESXi host that block volume is attached to.
    ipAddress String
    The IP address of block volume attachment.
    port Number
    The port of block volume attachment.

    Import

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

    $ pulumi import oci:Ocvp/datastore:Datastore test_datastore "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