Create
Create Azure Cloud Assembly recovery profile
Path Parameters
- accountId int64 required
Cloud Rewind account ID.
Example: 12345678 - projectId string required
Cloud Rewind project ID.
Example: 123456 - cloudAssemblyId int64 required
Azure Cloud assembly ID.
Example: 1234
- application/json
Request Body required
- name string
Specifies the name of the recovery profile.
(Required)
- description string
Provides a description of the recovery profile.
- sourceRegion string
Specifies the source region for the recovery profile.
(Required)
- recoveryRegion string
Specifies the recovery region for the recovery profile.
(Required)
recoveryConfiguration object
The recovery configurations option object.
enableRecoverWithDependency booleanEnables recovery of resources along with their dependencies. When enabled, it overrides all dependencies of the selected resources.
Default: FALSE if not specified.
enableCreateScaleSetWithZeroInstance booleanEnables recovery of a virtual machine scale set without its virtual machine instances.
Default: FALSE if not specified.
enableIsolatedServerlessRecovery booleanEnables isolated serverless recovery.
Default: FALSE if not specified.
enablePrivateIpRetention booleanEnables retention of the private IP address of the resource.
Notes:
- Must be disabled when recovering the same resource group in the same region to avoid errors from Azure.
Default: TRUE if not specified.
enableSkipProtection booleanEnables skipping protection for the recovered resource.
Default: FALSE if not specified.
enableVnetMapping booleanEnables configuration of VNet mapping options.
Notes:
- Used when the application needs to be recovered to an existing virtual network (VNet).
- If the CIDR ranges of the VNets do not match, set
enablePrivateIpRetentionto FALSE for successful recovery.
Default: FALSE if not specified.
vnetMapping object[]
Virtual network mapping configuration
sourceVnetId stringSpecifies the source virtual network (VNet) ID for VNet mapping.
Notes:
- Required only if the recovery option
EnableVnetMappingDatais enabled.
targetVnetId stringSpecifies the target virtual network (VNet) ID for VNet mapping.
Notes:
- Required only if the recovery option
EnableVnetMappingDatais enabled.
subnetMapping object
Specifies the subnet mapping configuration.
Notes:
- Required only if the recovery option
EnableVnetMappingDatais enabled.
property name*stringenableResourceMapping booleanEnables resource mapping during recovery.
Notes:
- Contains the source and destination resource IDs that should be replaced during recovery.
Default: FALSE if not specified.
resourceMapping object[]
Specifies the resource mapping details used during recovery.
Notes:
- Contains the source and destination resource IDs to be replaced if resource mapping is enabled.
mappingType stringPossible values: [
VM_SIZE,PROXIMITY_PLACEMENT_GROUP,NEW_RESOURCE_GROUP,EXISTING_RESOURCE_GROUP]Specifies the type of resource mapping.
Allowed values:
- VM_SIZE
- PROXIMITY_PLACEMENT_GROUP
- EXISTING_RESOURCE_GROUP
- NEW_RESOURCE_GROUP
Details:
-
PROXIMITY_PLACEMENT_GROUP: Maps one proximity placement group to another. Example: { "/subscriptions/ab123456-aa12-abcd-12c-abcdefghijkl/resourceGroups/appservice1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1" : "/subscriptions/ab123456-aa12-abcd-12c-abcdefghijkl/resourceGroups/appservice1/providers/Microsoft.Compute/proximityPlacementGroups/ppg1" }
-
VM_SIZE: Maps a virtual machine size to another size. Example:
{"Standard_B1ls":"Standard_DS2_v2"} -
EXISTING_RESOURCE_GROUP: Maps a resource group to an existing resource group. Notes:
- Recovery may override existing resource configurations or fail if resource name conflicts occur. As a result, the recovery reset cannot be performed.
Format:
<SourceResourceGroupName, TargetResourceGroupName>Example:{"SourceResourceGroupName":"TargetResourceGroupName"}
- Recovery may override existing resource configurations or fail if resource name conflicts occur. As a result, the recovery reset cannot be performed.
Format:
-
NEW_RESOURCE_GROUP: Maps a resource group to a new resource group. Format:
<SourceResourceGroupName, NewTargetResourceGroupName>Example:{"SourceResourceGroupName":"new-rg-name"}
mappings object
Resource mappings configuration It is a map of source id and target id
property name*stringrecoveryWebhook object[]
Recovery webhook configuration
type stringSpecifies the type of webhook trigger.
Notes:
- Required only if the recovery option
EnableVnetMappingDatais enabled.
Allowed values:
- POST_RECOVERY
- PRE_RECOVERY
- PRE_RESET
- POST_RESET
data object
Webhook data configuration
url stringURL endpoint for the webhook
timeout int32Timeout duration for webhook in seconds
retryAttempts int32Number of retry attempts for webhook
failOnError booleanFlag to fail recovery on webhook error
authenticationHeaders stringAuthentication headers for webhook
authenticationType stringType of authentication for webhook
headers stringAdditional headers for webhook
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- tenantId string
Tenant identifier owning the recovery profile
- projectId int64
Project identifier associated with the recovery profile
- cloudAssemblyId int64
Cloud assembly identifier
- id int64
Unique identifier of the recovery profile
- name string
Specifies the name of the recovery profile.
(Required)
- description string
Provides a description of the recovery profile.
- cloudType string
Cloud provider type
configurations object[]
List of configuration items for the recovery profile
name stringtype stringdescription stringisEnabled booleanoptions object- createdAt date-time
Timestamp when the recovery profile was created (epoch millis)
{
"tenantId": "t12345678",
"projectId": 123456,
"cloudAssemblyId": 1234,
"id": 39,
"name": "tst-profile28",
"description": "Profile for Azure cloud assembly recovery",
"cloudType": "AZURE",
"configurations": [
{
"name": "Region-Configuration",
"type": "REGION_CONFIGURATION",
"description": "Source and recovery region",
"isEnabled": true,
"options": {
"sourceRegionName": "eastus",
"recoveryRegionName": "eastus",
"isSourceRegion": true
}
}
],
"createdAt": "2025-10-23"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Conflict
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Precondition Failed
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}