Class VolumeGroup
Specifies a volume group which is a collection of
volumes. For more information, see Volume Groups.
Warning: Oracle recommends that you avoid using any confidential information when you
supply string values using the API.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class VolumeGroup
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 volume group. |
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 that contains the volume group. |
Remarks
Required
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 user-friendly name. Does not have to be unique, and it's changeable. 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 for the volume group. |
Remarks
Required
IsHydrated
Declaration
[JsonProperty(PropertyName = "isHydrated")]
public bool? IsHydrated { get; set; }
Property Value
Type | Description |
---|---|
bool? | Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VolumeGroup.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
VolumeGroup.LifecycleStateEnum? | The current state of a volume group. |
Remarks
Required
SizeInGBs
Declaration
[JsonProperty(PropertyName = "sizeInGBs")]
public long? SizeInGBs { get; set; }
Property Value
Type | Description |
---|---|
long? | The aggregate size of the volume group in GBs. |
SizeInMBs
Declaration
[Required(ErrorMessage = "SizeInMBs is required.")]
[JsonProperty(PropertyName = "sizeInMBs")]
public long? SizeInMBs { get; set; }
Property Value
Type | Description |
---|---|
long? | The aggregate size of the volume group in MBs. |
Remarks
Required
SourceDetails
Declaration
[JsonProperty(PropertyName = "sourceDetails")]
public VolumeGroupSourceDetails SourceDetails { get; set; }
Property Value
Type | Description |
---|---|
VolumeGroupSourceDetails |
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 volume group was created. Format defined by RFC3339. |
Remarks
Required
VolumeGroupReplicas
Declaration
[JsonProperty(PropertyName = "volumeGroupReplicas")]
public List<VolumeGroupReplicaInfo> VolumeGroupReplicas { get; set; }
Property Value
Type | Description |
---|---|
List<VolumeGroupReplicaInfo> | The list of volume group replicas of this volume group. |
VolumeIds
Declaration
[Required(ErrorMessage = "VolumeIds is required.")]
[JsonProperty(PropertyName = "volumeIds")]
public List<string> VolumeIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | OCIDs for the volumes in this volume group. |
Remarks
Required