Show / Hide Table of Contents

Class CreateDatastoreDetails

Details of the Datastore

Inheritance
object
CreateDatastoreDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OcvpService.Models
Assembly: OCI.DotNetSDK.Ocvp.dll
Syntax
public class CreateDatastoreDetails

Properties

AvailabilityDomain

Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type Description
string

The availability domain to create the Datastore in.

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

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 to contain 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.
Example: {"Operations": {"CostCenter": "42"}}

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.
Example: {"Department": "Finance"}

In this article
Back to top