Class DrPlanStep
Details of a step in a DR plan.
Inherited Members
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
UserDefinedStep
Declaration
[JsonProperty(PropertyName = "userDefinedStep")]
public DrPlanUserDefinedStep UserDefinedStep { get; set; }
Property Value
Type | Description |
---|---|
DrPlanUserDefinedStep |