Skip to content

/AWS1/CL_DRSRECOVERYINSTANCE

A Recovery Instance is a replica of a Source Server running on EC2.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_ec2instanceid TYPE /AWS1/DRSEC2INSTANCEID /AWS1/DRSEC2INSTANCEID

The EC2 instance ID of the Recovery Instance.

iv_ec2instancestate TYPE /AWS1/DRSEC2INSTANCESTATE /AWS1/DRSEC2INSTANCESTATE

The state of the EC2 instance for this Recovery Instance.

iv_jobid TYPE /AWS1/DRSJOBID /AWS1/DRSJOBID

The ID of the Job that created the Recovery Instance.

iv_recoveryinstanceid TYPE /AWS1/DRSRECOVERYINSTANCEID /AWS1/DRSRECOVERYINSTANCEID

The ID of the Recovery Instance.

iv_sourceserverid TYPE /AWS1/DRSSOURCESERVERID /AWS1/DRSSOURCESERVERID

The Source Server ID that this Recovery Instance is associated with.

iv_arn TYPE /AWS1/DRSARN /AWS1/DRSARN

The ARN of the Recovery Instance.

it_tags TYPE /AWS1/CL_DRSTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP

An array of tags that are associated with the Recovery Instance.

io_failback TYPE REF TO /AWS1/CL_DRSRECINSTFAILBACK /AWS1/CL_DRSRECINSTFAILBACK

An object representing failback related information of the Recovery Instance.

io_datareplicationinfo TYPE REF TO /AWS1/CL_DRSRECINSTDATAREPLI00 /AWS1/CL_DRSRECINSTDATAREPLI00

The Data Replication Info of the Recovery Instance.

io_recoveryinstanceprps TYPE REF TO /AWS1/CL_DRSRECOVERYINSTPRPS /AWS1/CL_DRSRECOVERYINSTPRPS

Properties of the Recovery Instance machine.

iv_pointintimesnapdatetime TYPE /AWS1/DRSISO8601DATETIMESTRING /AWS1/DRSISO8601DATETIMESTRING

The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.

iv_isdrill TYPE /AWS1/DRSBOOLEAN /AWS1/DRSBOOLEAN

Whether this Recovery Instance was created for a drill or for an actual Recovery event.

iv_originenvironment TYPE /AWS1/DRSORIGINENVIRONMENT /AWS1/DRSORIGINENVIRONMENT

Environment (On Premises / AWS) of the instance that the recovery instance originated from.

iv_originavailabilityzone TYPE /AWS1/DRSAWSAVAILABILITYZONE /AWS1/DRSAWSAVAILABILITYZONE

AWS availability zone associated with the recovery instance.

iv_agentversion TYPE /AWS1/DRSAGENTVERSION /AWS1/DRSAGENTVERSION

The version of the DRS agent installed on the recovery instance

iv_sourceoutpostarn TYPE /AWS1/DRSOUTPOSTARN /AWS1/DRSOUTPOSTARN

The ARN of the source Outpost


Queryable Attributes

ec2InstanceID

The EC2 instance ID of the Recovery Instance.

Accessible with the following methods

Method Description
GET_EC2INSTANCEID() Getter for EC2INSTANCEID, with configurable default
ASK_EC2INSTANCEID() Getter for EC2INSTANCEID w/ exceptions if field has no value
HAS_EC2INSTANCEID() Determine if EC2INSTANCEID has a value

ec2InstanceState

The state of the EC2 instance for this Recovery Instance.

Accessible with the following methods

Method Description
GET_EC2INSTANCESTATE() Getter for EC2INSTANCESTATE, with configurable default
ASK_EC2INSTANCESTATE() Getter for EC2INSTANCESTATE w/ exceptions if field has no va
HAS_EC2INSTANCESTATE() Determine if EC2INSTANCESTATE has a value

jobID

The ID of the Job that created the Recovery Instance.

Accessible with the following methods

Method Description
GET_JOBID() Getter for JOBID, with configurable default
ASK_JOBID() Getter for JOBID w/ exceptions if field has no value
HAS_JOBID() Determine if JOBID has a value

recoveryInstanceID

The ID of the Recovery Instance.

Accessible with the following methods

Method Description
GET_RECOVERYINSTANCEID() Getter for RECOVERYINSTANCEID, with configurable default
ASK_RECOVERYINSTANCEID() Getter for RECOVERYINSTANCEID w/ exceptions if field has no
HAS_RECOVERYINSTANCEID() Determine if RECOVERYINSTANCEID has a value

sourceServerID

The Source Server ID that this Recovery Instance is associated with.

Accessible with the following methods

Method Description
GET_SOURCESERVERID() Getter for SOURCESERVERID, with configurable default
ASK_SOURCESERVERID() Getter for SOURCESERVERID w/ exceptions if field has no valu
HAS_SOURCESERVERID() Determine if SOURCESERVERID has a value

arn

The ARN of the Recovery Instance.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

tags

An array of tags that are associated with the Recovery Instance.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS has a value

failback

An object representing failback related information of the Recovery Instance.

Accessible with the following methods

Method Description
GET_FAILBACK() Getter for FAILBACK

dataReplicationInfo

The Data Replication Info of the Recovery Instance.

Accessible with the following methods

Method Description
GET_DATAREPLICATIONINFO() Getter for DATAREPLICATIONINFO

recoveryInstanceProperties

Properties of the Recovery Instance machine.

Accessible with the following methods

Method Description
GET_RECOVERYINSTANCEPRPS() Getter for RECOVERYINSTANCEPROPERTIES

pointInTimeSnapshotDateTime

The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.

Accessible with the following methods

Method Description
GET_POINTINTIMESNAPDATETIME() Getter for POINTINTIMESNAPSHOTDATETIME, with configurable de
ASK_POINTINTIMESNAPDATETIME() Getter for POINTINTIMESNAPSHOTDATETIME w/ exceptions if fiel
HAS_POINTINTIMESNAPDATETIME() Determine if POINTINTIMESNAPSHOTDATETIME has a value

isDrill

Whether this Recovery Instance was created for a drill or for an actual Recovery event.

Accessible with the following methods

Method Description
GET_ISDRILL() Getter for ISDRILL, with configurable default
ASK_ISDRILL() Getter for ISDRILL w/ exceptions if field has no value
HAS_ISDRILL() Determine if ISDRILL has a value

originEnvironment

Environment (On Premises / AWS) of the instance that the recovery instance originated from.

Accessible with the following methods

Method Description
GET_ORIGINENVIRONMENT() Getter for ORIGINENVIRONMENT, with configurable default
ASK_ORIGINENVIRONMENT() Getter for ORIGINENVIRONMENT w/ exceptions if field has no v
HAS_ORIGINENVIRONMENT() Determine if ORIGINENVIRONMENT has a value

originAvailabilityZone

AWS availability zone associated with the recovery instance.

Accessible with the following methods

Method Description
GET_ORIGINAVAILABILITYZONE() Getter for ORIGINAVAILABILITYZONE, with configurable default
ASK_ORIGINAVAILABILITYZONE() Getter for ORIGINAVAILABILITYZONE w/ exceptions if field has
HAS_ORIGINAVAILABILITYZONE() Determine if ORIGINAVAILABILITYZONE has a value

agentVersion

The version of the DRS agent installed on the recovery instance

Accessible with the following methods

Method Description
GET_AGENTVERSION() Getter for AGENTVERSION, with configurable default
ASK_AGENTVERSION() Getter for AGENTVERSION w/ exceptions if field has no value
HAS_AGENTVERSION() Determine if AGENTVERSION has a value

sourceOutpostArn

The ARN of the source Outpost

Accessible with the following methods

Method Description
GET_SOURCEOUTPOSTARN() Getter for SOURCEOUTPOSTARN, with configurable default
ASK_SOURCEOUTPOSTARN() Getter for SOURCEOUTPOSTARN w/ exceptions if field has no va
HAS_SOURCEOUTPOSTARN() Determine if SOURCEOUTPOSTARN has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_DESCRRECOVERYINSTANCESITEMS

TYPES TT_DESCRRECOVERYINSTANCESITEMS TYPE STANDARD TABLE OF REF TO /AWS1/CL_DRSRECOVERYINSTANCE WITH DEFAULT KEY
.