Reference for StartRollbackFromCloud

Url: rollback/startRollbackFromCloud

HTTP Method: POST

Message direction Format Body
Request XML Example,Schema
Response XML Example,Schema

The following is an example request XML body:

<?xml version="1.0" encoding="utf-16"?>
<CloudRollbackJobRequest xmlns="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Rollback">
  <AgentId>1627aea5-8e0a-4371-9022-9b504344e724</AgentId>
  <AutoPartitionInputs>
    <targetDisks xmlns="http://apprecovery.com/management/api/2010/05">
      <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
      <unsignedInt xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">4294967295</unsignedInt>
    </targetDisks>
    <volumes xmlns="http://apprecovery.com/management/api/2010/05">
      <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
      <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string>
    </volumes>
  </AutoPartitionInputs>
  <AutoRemountDatabases>true</AutoRemountDatabases>
  <AutoRestartExchangeServer>true</AutoRestartExchangeServer>
  <BaseMountPointPath>String content</BaseMountPointPath>
  <CoreId>1627aea5-8e0a-4371-9022-9b504344e724</CoreId>
  <EnableInstant>true</EnableInstant>
  <EncryptionKeyPassphrase>String content</EncryptionKeyPassphrase>
  <ForceDismount>true</ForceDismount>
  <ForceStopExchangeServer>true</ForceStopExchangeServer>
  <RecoveryPointId>
    <AgentId xmlns="http://schemas.datacontract.org/2004/07/Cloud.Common.Contracts.Storage">1627aea5-8e0a-4371-9022-9b504344e724</AgentId>
    <CoreId xmlns="http://schemas.datacontract.org/2004/07/Cloud.Common.Contracts.Storage">1627aea5-8e0a-4371-9022-9b504344e724</CoreId>
    <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Cloud.Common.Contracts.Storage">9223372036854775807</Timestamp>
  </RecoveryPointId>
  <SourceTargetDisksMap>
    <disk xmlns="http://apprecovery.com/management/api/2010/05">
      <sourceVolumeImageId>String content</sourceVolumeImageId>
      <targetDiskName>
        <name>String content</name>
        <number>4294967295</number>
        <guidName>String content</guidName>
      </targetDiskName>
    </disk>
    <disk xmlns="http://apprecovery.com/management/api/2010/05">
      <sourceVolumeImageId>String content</sourceVolumeImageId>
      <targetDiskName>
        <name>String content</name>
        <number>4294967295</number>
        <guidName>String content</guidName>
      </targetDiskName>
    </disk>
  </SourceTargetDisksMap>
  <SourceTargetVolumesMap>
    <volume xmlns="http://apprecovery.com/management/api/2010/05">
      <sourceVolumeImageId>String content</sourceVolumeImageId>
      <targetVolumeName>
        <guidName>String content</guidName>
        <displayName>String content</displayName>
      </targetVolumeName>
    </volume>
    <volume xmlns="http://apprecovery.com/management/api/2010/05">
      <sourceVolumeImageId>String content</sourceVolumeImageId>
      <targetVolumeName>
        <guidName>String content</guidName>
        <displayName>String content</displayName>
      </targetVolumeName>
    </volume>
  </SourceTargetVolumesMap>
  <SystemVolumeAsBootable>true</SystemVolumeAsBootable>
  <Target>
    <agentId xmlns="http://apprecovery.com/management/api/2010/05">1627aea5-8e0a-4371-9022-9b504344e724</agentId>
    <rrcAdminPassword xmlns="http://apprecovery.com/management/api/2010/05">String content</rrcAdminPassword>
    <rrcIpAddress xmlns="http://apprecovery.com/management/api/2010/05">String content</rrcIpAddress>
    <rrcType xmlns="http://apprecovery.com/management/api/2010/05">Unknown</rrcType>
    <type xmlns="http://apprecovery.com/management/api/2010/05">ProtectedAgent</type>
  </Target>
</CloudRollbackJobRequest>

The following is an example response XML body:

<?xml version="1.0" encoding="utf-16"?>
<startRollbackResponse xmlns="http://apprecovery.com/management/api/2010/05">
  <jobId>1627aea5-8e0a-4371-9022-9b504344e724</jobId>
</startRollbackResponse>

The following is the request XML Schema:

<?xml version="1.0" encoding="utf-16"?>
<Schemas>
  <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="anyType" nillable="true" type="xs:anyType" />
    <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
    <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
    <xs:element name="boolean" nillable="true" type="xs:boolean" />
    <xs:element name="byte" nillable="true" type="xs:byte" />
    <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
    <xs:element name="decimal" nillable="true" type="xs:decimal" />
    <xs:element name="double" nillable="true" type="xs:double" />
    <xs:element name="float" nillable="true" type="xs:float" />
    <xs:element name="int" nillable="true" type="xs:int" />
    <xs:element name="long" nillable="true" type="xs:long" />
    <xs:element name="QName" nillable="true" type="xs:QName" />
    <xs:element name="short" nillable="true" type="xs:short" />
    <xs:element name="string" nillable="true" type="xs:string" />
    <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
    <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
    <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
    <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
    <xs:element name="char" nillable="true" type="tns:char" />
    <xs:simpleType name="char">
      <xs:restriction base="xs:int" />
    </xs:simpleType>
    <xs:element name="duration" nillable="true" type="tns:duration" />
    <xs:simpleType name="duration">
      <xs:restriction base="xs:duration">
        <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
        <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
        <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="guid" nillable="true" type="tns:guid" />
    <xs:simpleType name="guid">
      <xs:restriction base="xs:string">
        <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
      </xs:restriction>
    </xs:simpleType>
    <xs:attribute name="FactoryType" type="xs:QName" />
    <xs:attribute name="Id" type="xs:ID" />
    <xs:attribute name="Ref" type="xs:IDREF" />
  </xs:schema>
  <xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Rollback" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Rollback" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:import namespace="http://apprecovery.com/management/api/2010/05" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Cloud.Common.Contracts.Storage" />
    <xs:complexType name="CloudRollbackJobRequest">
      <xs:sequence>
        <xs:element minOccurs="0" name="AgentId" type="ser:guid" />
        <xs:element minOccurs="0" name="AutoPartitionInputs" nillable="true" xmlns:q1="http://apprecovery.com/management/api/2010/05" type="q1:partitionDisksAndVolumes" />
        <xs:element minOccurs="0" name="AutoRemountDatabases" type="xs:boolean" />
        <xs:element minOccurs="0" name="AutoRestartExchangeServer" type="xs:boolean" />
        <xs:element minOccurs="0" name="BaseMountPointPath" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="CoreId" type="ser:guid" />
        <xs:element minOccurs="0" name="EnableInstant" type="xs:boolean" />
        <xs:element minOccurs="0" name="EncryptionKeyPassphrase" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="ForceDismount" type="xs:boolean" />
        <xs:element minOccurs="0" name="ForceStopExchangeServer" type="xs:boolean" />
        <xs:element minOccurs="0" name="RecoveryPointId" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/Cloud.Common.Contracts.Storage" type="q2:RecoveryPointId" />
        <xs:element minOccurs="0" name="SourceTargetDisksMap" nillable="true" xmlns:q3="http://apprecovery.com/management/api/2010/05" type="q3:volumeDiskTargetMap" />
        <xs:element minOccurs="0" name="SourceTargetVolumesMap" nillable="true" xmlns:q4="http://apprecovery.com/management/api/2010/05" type="q4:volumeTargetMap" />
        <xs:element minOccurs="0" name="SystemVolumeAsBootable" type="xs:boolean" />
        <xs:element minOccurs="0" name="Target" nillable="true" xmlns:q5="http://apprecovery.com/management/api/2010/05" type="q5:rollbackTarget" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="CloudRollbackJobRequest" nillable="true" type="tns:CloudRollbackJobRequest" />
    <xs:simpleType name="RrcType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="Unknown" />
        <xs:enumeration value="RrcTypeWindows" />
        <xs:enumeration value="RrcTypeLinux" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="RrcType" nillable="true" type="tns:RrcType" />
    <xs:simpleType name="RollbackTargetType">
      <xs:restriction base="xs:string">
        <xs:enumeration value="ProtectedAgent" />
        <xs:enumeration value="ReplayRecoveryConsole" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="RollbackTargetType" nillable="true" type="tns:RollbackTargetType" />
  </xs:schema>
  <xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://apprecovery.com/management/api/2010/05" elementFormDefault="qualified" targetNamespace="http://apprecovery.com/management/api/2010/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Rollback" />
    <xs:complexType name="partitionDisksAndVolumes">
      <xs:sequence>
        <xs:element minOccurs="0" name="targetDisks" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfunsignedInt" />
        <xs:element minOccurs="0" name="volumes" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfstring" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="partitionDisksAndVolumes" nillable="true" type="tns:partitionDisksAndVolumes" />
    <xs:complexType name="volumeDiskTargetMap">
      <xs:annotation>
        <xs:appinfo>
          <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
        </xs:appinfo>
      </xs:annotation>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="disk">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sourceVolumeImageId" nillable="true" type="xs:string" />
              <xs:element name="targetDiskName" nillable="true" type="tns:diskName" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
    <xs:element name="volumeDiskTargetMap" nillable="true" type="tns:volumeDiskTargetMap" />
    <xs:complexType name="diskName">
      <xs:sequence>
        <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="number" type="xs:unsignedInt" />
        <xs:element minOccurs="0" name="guidName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="diskName" nillable="true" type="tns:diskName" />
    <xs:complexType name="volumeTargetMap">
      <xs:annotation>
        <xs:appinfo>
          <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
        </xs:appinfo>
      </xs:annotation>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="volume">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sourceVolumeImageId" nillable="true" type="xs:string" />
              <xs:element name="targetVolumeName" nillable="true" type="tns:volumeName" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
    <xs:element name="volumeTargetMap" nillable="true" type="tns:volumeTargetMap" />
    <xs:complexType name="volumeName">
      <xs:sequence>
        <xs:element minOccurs="0" name="guidName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="volumeName" nillable="true" type="tns:volumeName" />
    <xs:complexType name="rollbackTarget">
      <xs:sequence>
        <xs:element minOccurs="0" name="agentId" type="ser:guid" />
        <xs:element minOccurs="0" name="rrcAdminPassword" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="rrcIpAddress" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="rrcType" xmlns:q3="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Rollback" type="q3:RrcType" />
        <xs:element minOccurs="0" name="type" xmlns:q4="http://schemas.datacontract.org/2004/07/Replay.Core.Contracts.Rollback" type="q4:RollbackTargetType" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="rollbackTarget" nillable="true" type="tns:rollbackTarget" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:complexType name="ArrayOfunsignedInt">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="unsignedInt" type="xs:unsignedInt" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="ArrayOfunsignedInt" nillable="true" type="tns:ArrayOfunsignedInt" />
    <xs:complexType name="ArrayOfstring">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
  </xs:schema>
  <xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/Cloud.Common.Contracts.Storage" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Cloud.Common.Contracts.Storage" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:complexType name="RecoveryPointId">
      <xs:sequence>
        <xs:element minOccurs="0" name="AgentId" type="ser:guid" />
        <xs:element minOccurs="0" name="CoreId" type="ser:guid" />
        <xs:element minOccurs="0" name="Timestamp" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="RecoveryPointId" nillable="true" type="tns:RecoveryPointId" />
  </xs:schema>
</Schemas>

The following is the response XML Schema:

<?xml version="1.0" encoding="utf-16"?>
<Schemas>
  <xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="anyType" nillable="true" type="xs:anyType" />
    <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
    <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
    <xs:element name="boolean" nillable="true" type="xs:boolean" />
    <xs:element name="byte" nillable="true" type="xs:byte" />
    <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
    <xs:element name="decimal" nillable="true" type="xs:decimal" />
    <xs:element name="double" nillable="true" type="xs:double" />
    <xs:element name="float" nillable="true" type="xs:float" />
    <xs:element name="int" nillable="true" type="xs:int" />
    <xs:element name="long" nillable="true" type="xs:long" />
    <xs:element name="QName" nillable="true" type="xs:QName" />
    <xs:element name="short" nillable="true" type="xs:short" />
    <xs:element name="string" nillable="true" type="xs:string" />
    <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
    <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
    <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
    <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
    <xs:element name="char" nillable="true" type="tns:char" />
    <xs:simpleType name="char">
      <xs:restriction base="xs:int" />
    </xs:simpleType>
    <xs:element name="duration" nillable="true" type="tns:duration" />
    <xs:simpleType name="duration">
      <xs:restriction base="xs:duration">
        <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
        <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
        <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
      </xs:restriction>
    </xs:simpleType>
    <xs:element name="guid" nillable="true" type="tns:guid" />
    <xs:simpleType name="guid">
      <xs:restriction base="xs:string">
        <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
      </xs:restriction>
    </xs:simpleType>
    <xs:attribute name="FactoryType" type="xs:QName" />
    <xs:attribute name="Id" type="xs:ID" />
    <xs:attribute name="Ref" type="xs:IDREF" />
  </xs:schema>
  <xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://apprecovery.com/management/api/2010/05" elementFormDefault="qualified" targetNamespace="http://apprecovery.com/management/api/2010/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
    <xs:complexType name="startRollbackResponse">
      <xs:sequence>
        <xs:element minOccurs="0" name="jobId" type="ser:guid" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="startRollbackResponse" nillable="true" type="tns:startRollbackResponse" />
  </xs:schema>
</Schemas>