Class Datastore
An Oracle Cloud VMware Solution Datastore for software-defined data center.
Inherited Members
Namespace: Oci.OcvpService.Models
Assembly: OCI.DotNetSDK.Ocvp.dll
Syntax
public class Datastore
Properties
AvailabilityDomain
Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain of the Datastore. |
Remarks
Required
BlockVolumeDetails
Declaration
[Required(ErrorMessage = "BlockVolumeDetails is required.")]
[JsonProperty(PropertyName = "blockVolumeDetails")]
public List<BlockVolumeDetails> BlockVolumeDetails { get; set; }
Property Value
Type | Description |
---|---|
List<BlockVolumeDetails> | The list of Block Volume details that belong to the datastore. |
Remarks
Required
BlockVolumeIds
Declaration
[Required(ErrorMessage = "BlockVolumeIds is required.")]
[JsonProperty(PropertyName = "blockVolumeIds")]
public List<string> BlockVolumeIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The List of Block volume OCIDs that belong to the Datastore. |
Remarks
Required
CapacityInGBs
Declaration
[JsonProperty(PropertyName = "capacityInGBs")]
public double CapacityInGBs { get; set; }
Property Value
Type | Description |
---|---|
double | Total size of the datastore in GB. |
ClusterId
Declaration
[JsonProperty(PropertyName = "clusterId")]
public string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the VMware Cluster that Datastore is attached to. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the Datastore. |
Remarks
Required
DatastoreClusterId
Declaration
[JsonProperty(PropertyName = "datastoreClusterId")]
public string DatastoreClusterId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the datastore cluster that Datastore belongs to. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a
namespace. For more information, see Resource Tags.
|
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | 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.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Datastore. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleStates? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleStates? | The current state of the Datastore. |
Remarks
Required
SddcId
Declaration
[JsonProperty(PropertyName = "sddcId")]
public string SddcId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the SDDC that Datastore is associated with. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Datastore was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the Datastore was updated, in the format defined by RFC3339. |
Remarks
Required