oci.Ocvp.Datastore
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:
- Availability
Domain string - The availability domain to create the Datastore in.
- Block
Volume List<string>Ids - The List of Block volume OCIDs that belong to the Datastore.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore.
- Display
Name 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.
- 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 in.
- Block
Volume []stringIds - The List of Block volume OCIDs that belong to the Datastore.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore.
- Display
Name 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.
- 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 in.
- block
Volume List<String>Ids - The List of Block volume OCIDs that belong to the Datastore.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore.
- display
Name 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.
- 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 in.
- block
Volume string[]Ids - The List of Block volume OCIDs that belong to the Datastore.
- compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore.
- display
Name 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.
- {[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 in.
- block_
volume_ Sequence[str]ids - 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.
- 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 in.
- block
Volume List<String>Ids - The List of Block volume OCIDs that belong to the Datastore.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore.
- display
Name 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.
- 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 Datastore resource produces the following output properties:
- Block
Volume List<DatastoreDetails Block Volume Detail> - The list of Block Volume details that belong to the datastore.
- Capacity
In doubleGbs - Total size of the datastore in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore is attached to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sddc
Id string - The OCID of the SDDC that Datastore is associated with.
- State string
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore was updated, in the format defined by RFC3339.
- Block
Volume []DatastoreDetails Block Volume Detail - The list of Block Volume details that belong to the datastore.
- Capacity
In float64Gbs - Total size of the datastore in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore is attached to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sddc
Id string - The OCID of the SDDC that Datastore is associated with.
- State string
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore was updated, in the format defined by RFC3339.
- block
Volume List<DatastoreDetails Block Volume Detail> - The list of Block Volume details that belong to the datastore.
- capacity
In DoubleGbs - Total size of the datastore in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore is attached to.
- id String
- The provider-assigned unique ID for this managed resource.
- sddc
Id String - The OCID of the SDDC that Datastore is associated with.
- state String
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the Datastore was updated, in the format defined by RFC3339.
- block
Volume DatastoreDetails Block Volume Detail[] - The list of Block Volume details that belong to the datastore.
- capacity
In numberGbs - Total size of the datastore in GB.
- cluster
Id string - The OCID of the VMware Cluster that Datastore is attached to.
- id string
- The provider-assigned unique ID for this managed resource.
- sddc
Id string - The OCID of the SDDC that Datastore is associated with.
- state string
- The current state of the Datastore.
- {[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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the Datastore was updated, in the format defined by RFC3339.
- block_
volume_ Sequence[Datastoredetails Block Volume Detail] - The list of Block Volume details that belong to the datastore.
- capacity_
in_ floatgbs - 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.
- 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.
- block
Volume List<Property Map>Details - The list of Block Volume details that belong to the datastore.
- capacity
In NumberGbs - Total size of the datastore in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore is attached to.
- id String
- The provider-assigned unique ID for this managed resource.
- sddc
Id String - The OCID of the SDDC that Datastore is associated with.
- state String
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated 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) -> Datastorefunc 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.
- Availability
Domain string - The availability domain to create the Datastore in.
- Block
Volume List<DatastoreDetails Block Volume Detail> - The list of Block Volume details that belong to the datastore.
- Block
Volume List<string>Ids - The List of Block volume OCIDs that belong to the Datastore.
- Capacity
In doubleGbs - Total size of the datastore in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore is attached to.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore.
- 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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- 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 is associated with.
- State string
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore was updated, in the format defined by RFC3339.
- Availability
Domain string - The availability domain to create the Datastore in.
- Block
Volume []DatastoreDetails Block Volume Detail Args - The list of Block Volume details that belong to the datastore.
- Block
Volume []stringIds - The List of Block volume OCIDs that belong to the Datastore.
- Capacity
In float64Gbs - Total size of the datastore in GB.
- Cluster
Id string - The OCID of the VMware Cluster that Datastore is attached to.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore.
- 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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- 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 is associated with.
- State string
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Datastore was updated, in the format defined by RFC3339.
- availability
Domain String - The availability domain to create the Datastore in.
- block
Volume List<DatastoreDetails Block Volume Detail> - The list of Block Volume details that belong to the datastore.
- block
Volume List<String>Ids - The List of Block volume OCIDs that belong to the Datastore.
- capacity
In DoubleGbs - Total size of the datastore in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore is attached to.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore.
- 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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- 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 is associated with.
- state String
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the Datastore was updated, in the format defined by RFC3339.
- availability
Domain string - The availability domain to create the Datastore in.
- block
Volume DatastoreDetails Block Volume Detail[] - The list of Block Volume details that belong to the datastore.
- block
Volume string[]Ids - The List of Block volume OCIDs that belong to the Datastore.
- capacity
In numberGbs - Total size of the datastore in GB.
- cluster
Id string - The OCID of the VMware Cluster that Datastore is attached to.
- compartment
Id string - (Updatable) The OCID of the compartment to contain the Datastore.
- {[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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- {[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 is associated with.
- state string
- The current state of the Datastore.
- {[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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated 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_ Sequence[Datastoredetails Block Volume Detail Args] - The list of Block Volume details that belong to the datastore.
- block_
volume_ Sequence[str]ids - The List of Block volume OCIDs that belong to the Datastore.
- capacity_
in_ floatgbs - 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.
- 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.
- 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.
- 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.
- availability
Domain String - The availability domain to create the Datastore in.
- block
Volume List<Property Map>Details - The list of Block Volume details that belong to the datastore.
- block
Volume List<String>Ids - The List of Block volume OCIDs that belong to the Datastore.
- capacity
In NumberGbs - Total size of the datastore in GB.
- cluster
Id String - The OCID of the VMware Cluster that Datastore is attached to.
- compartment
Id String - (Updatable) The OCID of the compartment to contain the Datastore.
- 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. It must be unique within a SDDC, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- 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 is associated with.
- state String
- The current state of the Datastore.
- 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 was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the Datastore was updated, in the format defined by RFC3339.
Supporting Types
DatastoreBlockVolumeDetail, DatastoreBlockVolumeDetailArgs
- Attachments
List<Datastore
Block Volume Detail Attachment> - 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
[]Datastore
Block Volume Detail Attachment - 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<Datastore
Block Volume Detail Attachment> - 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
Datastore
Block Volume Detail Attachment[] - 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[Datastore
Block Volume Detail Attachment] - 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
- Esxi
Host stringId - The OCIDs of the ESXi host that block volume is attached to.
- Ip
Address string - The IP address of block volume attachment.
- Port int
- The port of block volume attachment.
- Esxi
Host stringId - The OCIDs of the ESXi host that block volume is attached to.
- Ip
Address string - The IP address of block volume attachment.
- Port int
- The port of block volume attachment.
- esxi
Host StringId - The OCIDs of the ESXi host that block volume is attached to.
- ip
Address String - The IP address of block volume attachment.
- port Integer
- The port of block volume attachment.
- esxi
Host stringId - The OCIDs of the ESXi host that block volume is attached to.
- ip
Address string - The IP address of block volume attachment.
- port number
- The port of block volume attachment.
- esxi_
host_ strid - 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.
- esxi
Host StringId - The OCIDs of the ESXi host that block volume is attached to.
- ip
Address 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
ociTerraform Provider.
