oci.Ocvp.DatastoreCluster
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:
- Availability
Domain string - The availability domain to create the Datastore Cluster in.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- Datastore
Cluster stringType - Type of the datastore.
- Display
Name 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.
- Datastore
Ids List<string> - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - 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
- Availability
Domain string - The availability domain to create the Datastore Cluster in.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- Datastore
Cluster stringType - Type of the datastore.
- Display
Name 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.
- Datastore
Ids []string - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - 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
- availability
Domain String - The availability domain to create the Datastore Cluster in.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- datastore
Cluster StringType - Type of the datastore.
- display
Name 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.
- datastore
Ids List<String> - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - 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
- availability
Domain string - The availability domain to create the Datastore Cluster in.
- compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- datastore
Cluster stringType - Type of the datastore.
- display
Name 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.
- datastore
Ids string[] - The OCIDs of the Datastores that belong to the Datastore Cluster.
- {[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"} - {[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_ strtype - 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.
- 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"} - 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
- availability
Domain String - The availability domain to create the Datastore Cluster in.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- datastore
Cluster StringType - Type of the datastore.
- display
Name 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.
- datastore
Ids List<String> - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - 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:
- Capacity
In doubleGbs - Total size of all datastores associated with the datastore cluster in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore cluster is attached to.
- Esxi
Host List<string>Ids - 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.
- Sddc
Id string - The OCID of the SDDC that Datastore cluster is associated with.
- State string
- The current state of the Datastore Cluster.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
- Capacity
In float64Gbs - Total size of all datastores associated with the datastore cluster in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore cluster is attached to.
- Esxi
Host []stringIds - 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.
- Sddc
Id string - The OCID of the SDDC that Datastore cluster is associated with.
- State string
- The current state of the Datastore Cluster.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
- capacity
In DoubleGbs - Total size of all datastores associated with the datastore cluster in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore cluster is attached to.
- esxi
Host List<String>Ids - 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.
- sddc
Id String - The OCID of the SDDC that Datastore cluster is associated with.
- state String
- The current state of the Datastore Cluster.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
- capacity
In numberGbs - Total size of all datastores associated with the datastore cluster in GB.
- cluster
Id string - The OCID of the VMware Cluster that Datastore cluster is attached to.
- esxi
Host string[]Ids - 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.
- sddc
Id string - The OCID of the SDDC that Datastore cluster is associated with.
- state string
- The current state of the Datastore Cluster.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created string - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
- capacity_
in_ floatgbs - 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_ Sequence[str]ids - 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.
- 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.
- capacity
In NumberGbs - Total size of all datastores associated with the datastore cluster in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore cluster is attached to.
- esxi
Host List<String>Ids - 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.
- sddc
Id String - The OCID of the SDDC that Datastore cluster is associated with.
- state String
- The current state of the Datastore Cluster.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated 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) -> DatastoreClusterfunc 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.
- Availability
Domain string - The availability domain to create the Datastore Cluster in.
- Capacity
In doubleGbs - Total size of all datastores associated with the datastore cluster in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore cluster is attached to.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- Datastore
Cluster stringType - Type of the datastore.
- Datastore
Ids List<string> - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - Display
Name 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.
- Esxi
Host List<string>Ids - The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
- 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
- Sddc
Id string - The OCID of the SDDC that Datastore cluster is associated with.
- State string
- The current state of the Datastore Cluster.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
- Availability
Domain string - The availability domain to create the Datastore Cluster in.
- Capacity
In float64Gbs - Total size of all datastores associated with the datastore cluster in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore cluster is attached to.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- Datastore
Cluster stringType - Type of the datastore.
- Datastore
Ids []string - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - Display
Name 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.
- Esxi
Host []stringIds - The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
- 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
- Sddc
Id string - The OCID of the SDDC that Datastore cluster is associated with.
- State string
- The current state of the Datastore Cluster.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
- availability
Domain String - The availability domain to create the Datastore Cluster in.
- capacity
In DoubleGbs - Total size of all datastores associated with the datastore cluster in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore cluster is attached to.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- datastore
Cluster StringType - Type of the datastore.
- datastore
Ids List<String> - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - display
Name 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.
- esxi
Host List<String>Ids - The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
- 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
- sddc
Id String - The OCID of the SDDC that Datastore cluster is associated with.
- state String
- The current state of the Datastore Cluster.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the Datastore Cluster was updated, in the format defined by RFC3339.
- availability
Domain string - The availability domain to create the Datastore Cluster in.
- capacity
In numberGbs - Total size of all datastores associated with the datastore cluster in GB.
- cluster
Id string - The OCID of the VMware Cluster that Datastore cluster is attached to.
- compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- datastore
Cluster stringType - Type of the datastore.
- datastore
Ids string[] - The OCIDs of the Datastores that belong to the Datastore Cluster.
- {[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"} - display
Name 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.
- esxi
Host string[]Ids - The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
- {[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
- sddc
Id string - The OCID of the SDDC that Datastore cluster is associated with.
- state string
- The current state of the Datastore Cluster.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created string - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated 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_ floatgbs - 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_ strtype - Type of the datastore.
- datastore_
ids Sequence[str] - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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_ Sequence[str]ids - The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
- 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.
- 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.
- availability
Domain String - The availability domain to create the Datastore Cluster in.
- capacity
In NumberGbs - Total size of all datastores associated with the datastore cluster in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore cluster is attached to.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore Cluster.
- datastore
Cluster StringType - Type of the datastore.
- datastore
Ids List<String> - The OCIDs of the Datastores that belong to the Datastore Cluster.
- 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"} - display
Name 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.
- esxi
Host List<String>Ids - The OCIDs of the ESXi hosts to attach the datastore to. All ESXi hosts must belong to the same VMware cluster.
- 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
- sddc
Id String - The OCID of the SDDC that Datastore cluster is associated with.
- state String
- The current state of the Datastore Cluster.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The date and time the Datastore Cluster was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated 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
ociTerraform Provider.
