Class BlockVolumeReplica
An asynchronous replica of a block volume that can then be used to create
a new block volume or recover a block volume. For more information, see Overview
of Cross-Region Volume Replication
To use any of the API operations, you must be authorized in an IAM policy.
If you're not authorized, talk to an administrator. If you're an administrator
who needs to write policies to give users access, see Getting Started with
Policies.
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 BlockVolumeReplica
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 block volume replica.
|
Remarks
Required
BlockVolumeId
Declaration
[Required(ErrorMessage = "BlockVolumeId is required.")]
[JsonProperty(PropertyName = "blockVolumeId")]
public string BlockVolumeId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the source block volume. |
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 block volume replica. |
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 block volume replica's Oracle ID (OCID). |
Remarks
Required
KmsKeyId
Declaration
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see Overview of Vault service and Using Keys. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BlockVolumeReplica.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
BlockVolumeReplica.LifecycleStateEnum? | The current state of a block volume replica. |
Remarks
Required
SizeInGBs
Declaration
[Required(ErrorMessage = "SizeInGBs is required.")]
[JsonProperty(PropertyName = "sizeInGBs")]
public long? SizeInGBs { get; set; }
Property Value
Type | Description |
---|---|
long? | The size of the source block volume, in GBs. |
Remarks
Required
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 block volume replica was created. Format defined by RFC3339. |
Remarks
Required
TimeLastSynced
Declaration
[Required(ErrorMessage = "TimeLastSynced is required.")]
[JsonProperty(PropertyName = "timeLastSynced")]
public DateTime? TimeLastSynced { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the block volume replica was last synced from the source block volume. Format defined by RFC3339. |
Remarks
Required
TotalDataTransferredInGBs
Declaration
[JsonProperty(PropertyName = "totalDataTransferredInGBs")]
public long? TotalDataTransferredInGBs { get; set; }
Property Value
Type | Description |
---|---|
long? | The total size of the data transferred from the source block volume to the block volume replica, in GBs. |
VolumeGroupReplicaId
Declaration
[JsonProperty(PropertyName = "volumeGroupReplicaId")]
public string VolumeGroupReplicaId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the volume group replica. |