Create
Create Azure Cloud Assembly
Path Parameters
- accountId int64 required
Cloud Rewind account ID.
Example: 12345678 - projectId string required
Cloud Rewind project ID.
Example: 123456
- application/json
Request Body required
- name string
Specifies the name of the assembly.
Constraints:
- Must match the regex: ^[a-zA-Z][a-zA-Z0-9-]{2,29}$
- Length: 3-30 characters
- Must start with a letter
- Allowed characters: letters, numbers, and hyphens
(Required)
- description string
Description of the Azure protection.
- cloudConnectionId int64
Specifies the cloud connection ID used for the protection.
(Required)
- region string
Possible values: [
all,eastus,eastus2,southcentralus,westus2,australiaeast,southeastasia,northeurope,uksouth,westeurope,centralus,northcentralus,westus,southafricanorth,centralindia,eastasia,japaneast,koreacentral,canadacentral,francecentral,germanywestcentral,norwayeast,switzerlandnorth,uaenorth,brazilsouth,centraluseuap,eastus2euap,westcentralus,southafricawest,australiacentral,australiacentral2,australiasoutheast,japanwest,koreasouth,southindia,westindia,canadaeast,francesouth,germanynorth,swedencentral,westus3,norwaywest,switzerlandwest,ukwest,uaecentral,brazilsoutheast,italynorth,polandcentral,spaincentral,mexicocentral,israelcentral,qatarcentral,global,jioindiawest,jioindiacentral]Specifies the source region for the protection.
Constraints:
- Must not be null
- Must be a valid Azure region
resourceSelectionStrategy object
Defines the strategy for selecting resources to be protected.
selectionType stringPossible values: [
RESOURCE_GROUP,TAGS]Specifies the type of resource selection strategy.
Optional.
Allowed values:
- RESOURCE_GROUP
- TAG
tags object[]
Specifies a map of tag key-value pairs used for resource selection when
resourceSelectionTypeis TAG.Optional: Required if
resourceSelectionTypeis TAG; must not be null or empty in that case.key stringKey of the tag
value stringValue of the tag
conditions stringPossible values: [
MATCH_ALL_TAGS,MATCH_ATLEAST_ONE_TAG]Specifies the condition logic applied when matching tags for resource selection.
Optional: Required if
resourceSelectionTypeis TAG; must not be null or empty in that case.Allowed values:
- MATCH_ALL_TAGS
- MATCH_ATLEAST_ONE_TAG
excludeTagStrategy object
Specifies the configuration for excluding resources based on tags during selection.
isEnabled booleanFlag to indicate whether exclude tag strategy is enabled. (Optional)
excludedTags object[]
Specifies a list of tags used to exclude resources from protection.
Optional: Required if
isEnabledis true; must not be null or empty in that case.key stringKey of the tag
value stringValue of the tag
conditions stringPossible values: [
MATCH_ALL_TAGS,MATCH_ATLEAST_ONE_TAG]Specifies the conditions for tag matching.
Optional: Required if
isEnabledis true; must not be null or empty in that case.Allowed values:
- MATCH_ALL_TAGS
- MATCH_ATLEAST_ONE_TAG
resourceGroups string[]Specifies the list of Azure resource group IDs to include.
Constraints:
- If
resourceGroupSelectionTypeisSELECTED_RESOURCE_GROUP, this field must not be null or empty. - If
resourceGroupSelectionTypeisALL, this field can be null. - Each value must match the regex:
^/subscriptions/[a-fA-F0-9\-]+/resourceGroups/[a-zA-Z0-9-_\.]{1,90}$
- replicaRegions string[]
Possible values: [
all,eastus,eastus2,southcentralus,westus2,australiaeast,southeastasia,northeurope,uksouth,westeurope,centralus,northcentralus,westus,southafricanorth,centralindia,eastasia,japaneast,koreacentral,canadacentral,francecentral,germanywestcentral,norwayeast,switzerlandnorth,uaenorth,brazilsouth,centraluseuap,eastus2euap,westcentralus,southafricawest,australiacentral,australiacentral2,australiasoutheast,japanwest,koreasouth,southindia,westindia,canadaeast,francesouth,germanynorth,swedencentral,westus3,norwaywest,switzerlandwest,ukwest,uaecentral,brazilsoutheast,italynorth,polandcentral,spaincentral,mexicocentral,israelcentral,qatarcentral,global,jioindiawest,jioindiacentral]List of replica region names.
- policyTemplateId int64
Specifies the policy template ID applied to the protection.
Optional: If not provided, the default policy template (
Daily) will be used. - policyActivation string
Possible values: [
IMMEDIATE,BY_POLICY]Specifies how the policy is activated for this protection.
Optional: Required only if
policyTemplateIdis provided.Allowed values:
- IMMEDIATE
- BY_POLICY
- isStorageAccountOnly boolean
Indicates whether only storage accounts are included in the protection.
(Required)
protectionStrategyOptions object
Container for Azure-specific protection strategy option objects.
Notes:
- Can be null if
isConfigurationAssemblyis true. - Must not be null if
isConfigurationAssemblyis false.
azureSnapshotProtectionStrategyOption object
Specifies the snapshot protection strategy, including the source resource group and replication details.
sourceResourceGroupName stringSource resource group used for snapshot based protection.
azureSnapshotReplicationDetails object[]
Specifies a list of snapshot replication detail objects, including region and resource group information.
resourceGroupName stringName of the replica resource group.
replicaRegion stringReplica region where data is copied.
azureServerlessProtectionStrategyOption object
Serverless (e.g., storage account) strategy option with replication details.
sourceStorageAccountId stringSource storage account ID for serverless protection.
azureServerlessReplicationDetails object[]
List of serverless replication detail objects (region, storage account).
replicaRegion stringReplica region where data is copied.
storageAccountId stringReplica storage account ID.
azureStorageAccountProtectionStrategyOption object
Specifies the storage account protection strategy, including container configuration and region mappings.
containerName stringName of the storage container to protect.
containerRenameType stringPossible values: [
NONE,PREFIX,SUFFIX]Specifies the strategy for renaming containers during recovery.
Allowed values:
- NONE
- PREFIX
- SUFFIX
storageAccountRegionMap object
Specifies the mapping of source storage accounts to target region and account information.
Format:
{sourceSa:{region:targetRegion, storageAccount:targetSa}}property name*string- Can be null if
- isConfigurationAssembly boolean
Indicates whether the cloud assembly is configuration-only (no data protection).
tags object
Specifies a map of tag key-value pairs used for resource selection when
resourceSelectionTypeis TAG.Optional: Required if
resourceSelectionTypeis TAG; must not be null or empty in that case.property name*string- resourceGroupSelectionType string
Possible values: [
ALL,SELECTED_RESOURCE_GROUP]Specifies the type of resource group selection.
Constraints:
- Must not be null.
- Allowed values: SELECTED_RESOURCE_GROUP, ALL
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- accountId int64
Cloud Rewind account ID.
- projectId int64
Cloud Rewind project ID.
- id int64
Cloud assembly ID.
- name string
Specifies the name of the assembly.
Constraints:
- Must match the regex: ^[a-zA-Z][a-zA-Z0-9-]{2,29}$
- Length: 3-30 characters
- Must start with a letter
- Allowed characters: letters, numbers, and hyphens
(Required)
- description string
Description of the Azure protection.
- cloudConnectionId int64
Specifies the cloud connection ID used for the protection.
(Required)
- lockStatus string
Possible values: [
LOCKED,UNLOCKED]Protection lock status (LOCKED/UNLOCKED).
- status string
Possible values: [
ENABLED,DISABLED]Current status of the protection assembly.
- cloudType string
Possible values: [
aws,gcp,azure]Type of cloud provider.
- sourceRegion string
Specifies the source region for the protection.
Constraints:
- Must not be null
- Must be a valid Azure region
- createdAt date-time
Timestamp when the protection was created in epoch-milli.
- allowCrossRegionRecovery boolean
Indicates whether cross-region recovery is allowed.
- replicaRegions string[]
List of replica region names.
- isStorageAccountOnly boolean
Indicates whether only storage accounts are included in the protection.
(Required)
resourceSelectionStrategy object
Defines the strategy for selecting resources to be protected.
resourceGroups string[]Specifies the list of Azure resource group IDs to include.
Constraints:
- If
resourceGroupSelectionTypeisSELECTED_RESOURCE_GROUP, this field must not be null or empty. - If
resourceGroupSelectionTypeisALL, this field can be null. - Each value must match the regex:
^/subscriptions/[a-fA-F0-9\-]+/resourceGroups/[a-zA-Z0-9-_\.]{1,90}$
excludeTagStrategy object
Specifies the configuration for excluding resources based on tags during selection.
isEnabled booleanIndicates whether the exclude tag strategy is enabled.
condition stringPossible values: [
MATCH_ALL_TAGS,MATCH_ATLEAST_ONE_TAG]Specifies the conditions for tag matching.
Optional: Required if
isEnabledis true; must not be null or empty in that case.Allowed values:
- MATCH_ALL_TAGS
- MATCH_ATLEAST_ONE_TAG
excludedTags object[]
Specifies a list of tags used to exclude resources from protection.
Optional: Required if
isEnabledis true; must not be null or empty in that case.key stringKey of the tag
value stringValue of the tag
protectionStrategyOptions object
Container for Azure-specific protection strategy option objects.
Notes:
- Can be null if
isConfigurationAssemblyis true. - Must not be null if
isConfigurationAssemblyis false.
azureSnapshotProtectionStrategyOption object
Specifies the snapshot protection strategy, including the source resource group and replication details.
sourceResourceGroup stringSource resource group used for snapshot based protection.
azureSnapshotReplicationDetails object[]
Specifies a list of snapshot replication detail objects, including region and resource group information.
sourceResourceGroup stringSource resource group used for snapshot based protection.
replicaRegion stringReplica region where data is copied.
azureServerlessProtectionStrategyOption object
Serverless (e.g., storage account) strategy option with replication details.
sourceStorageAccountId stringSource storage account ID for serverless protection.
azureServerlessReplicationDetails object[]
List of serverless replication detail objects (region, storage account).
replicaRegion stringReplica region where data is copied.
storageAccountId stringReplica storage account ID.
azureStorageAccountProtectionStrategyOption object
Specifies the storage account protection strategy, including container configuration and region mappings.
containerName stringName of the storage container to protect.
containerNameType stringPossible values: [
PREFIX,SUFFIX,NONE]Specifies the strategy for renaming containers during recovery.
Allowed values:
- NONE
- PREFIX
- SUFFIX
storageAccountRegionMap object
Specifies the mapping of source storage accounts to target region and account information.
Format:
{sourceSa:{region:targetRegion, storageAccount:targetSa}}property name*string- Can be null if
{
"accountId": 12345678,
"projectId": 123456,
"id": 3955,
"name": "compute-test-example",
"description": "Data assembly for compute test example",
"cloudConnectionId": 3091,
"lockStatus": "UNLOCKED",
"status": "ENABLED",
"cloudType": "AZURE",
"sourceRegion": "eastus",
"createdAt": "2025-10-23",
"allowCrossRegionRecovery": true,
"replicaRegions": [
"westus"
],
"isStorageAccountOnly": false,
"resourceSelectionStrategy": {
"resourceGroups": "[/subscriptions/ab123456-aa12-abcd-12c-abcdefghijkl/resourceGroups/rg1]",
"excludeTagStrategy": {
"isEnabled": false,
"condition": "null",
"excludedTags": null
}
},
"protectionStrategyOptions": {
"azureSnapshotProtectionStrategyOption": {
"sourceResourceGroup": "selva-eus-snap",
"azureSnapshotReplicationDetails": [
{
"sourceResourceGroup": "selva-eus-snap",
"replicaRegion": "westus"
}
]
},
"azureServerlessProtectionStrategyOption": {
"sourceStorageAccountId": "/subscriptions/ab123456-aa12-abcd-12c-abcdefghijkl/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageacct1",
"azureServerlessReplicationDetails": [
{
"replicaRegion": "westus",
"storageAccountId": "/subscriptions/ab123456-aa12-abcd-12c-abcdefghijkl/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageacct2"
}
]
},
"azureStorageAccountProtectionStrategyOption": {
"containerName": "mycontainer",
"containerNameType": "PREFIX",
"storageAccountRegionMap": {
"sourcestorageacct": {
"region": "westus",
"storageAccount": "targetstorageacct"
}
}
}
}
}
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"
]
}