Show / Hide Table of Contents

Class DrPlanStep

Details of a step in a DR plan.

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

Properties

DisplayName

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

The display name of the group.
Example: DATABASE_SWITCHOVER

Remarks

Required

ErrorMode

Declaration
[Required(ErrorMessage = "ErrorMode is required.")]
[JsonProperty(PropertyName = "errorMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrPlanStepErrorMode? ErrorMode { get; set; }
Property Value
Type Description
DrPlanStepErrorMode?

The error mode for this step.

Remarks

Required

GroupId

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

The unique id of the group to which this step belongs. Must not be modified by user.
Example: sgid1.group..uniqueID

Remarks

Required

Id

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

The unique id of the step. Must not be modified by the user.
Example: sgid1.step..uniqueID

Remarks

Required

IsEnabled

Declaration
[Required(ErrorMessage = "IsEnabled is required.")]
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

A flag indicating whether this step should be enabled for execution.
Example: true

Remarks

Required

MemberId

Declaration
[JsonProperty(PropertyName = "memberId")]
public string MemberId { get; set; }
Property Value
Type Description
string

The OCID of the member associated with this step.
Example: ocid1.database.oc1..uniqueID

RefreshStatus

Declaration
[JsonProperty(PropertyName = "refreshStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrPlanStepRefreshStatus? RefreshStatus { get; set; }
Property Value
Type Description
DrPlanStepRefreshStatus?

The DR plan step refresh status.
Example: STEP_ADDED

Timeout

Declaration
[Required(ErrorMessage = "Timeout is required.")]
[JsonProperty(PropertyName = "timeout")]
public int? Timeout { get; set; }
Property Value
Type Description
int?

The timeout in seconds for executing this step.
Example: 600

Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DrPlanStepType? Type { get; set; }
Property Value
Type Description
DrPlanStepType?

The plan step type.

Remarks

Required

TypeDisplayName

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

The display name of the DR Plan step type.
Example: Database Switchover

Remarks

Required

UserDefinedStep

Declaration
[JsonProperty(PropertyName = "userDefinedStep")]
public DrPlanUserDefinedStep UserDefinedStep { get; set; }
Property Value
Type Description
DrPlanUserDefinedStep
In this article
Back to top