List protections
List protections by cloud assembly id
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
Query Parameters
- groupStatus string
Possible values: [
ALL
,IN_PROGRESS
,ACTIVE
,FAILED
]Default value:
ACTIVE
Group and filter the results based on available status.
Example: ACTIVE - sortOrder string
Default value:
desc
Sort the timestamps either in ascending or descending order.
Example: desc
Header Parameters
- Range string
Default value:
items=1-20
Filter to specify the page range for paginated results. Format: items=startIndex-endIndex.
Example: items=1-10
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- */*
- Schema
- Example (from schema)
Schema array
- protectionId string
Protection ID.
- status string
The status of protection.
- protectionPolicyId int64
Protection policy ID.
- timestamp int64
Timestamp of the protection in epoch-milli.
- protectionPolicyName string
Protection policy name.
- isLocked boolean
Flag to indicate if the protection is locked.
- duration int64
Duration of the protection in milli-seconds.
- hasRecovery boolean
Flag to indicate if the protection has recovery.
primaryRegionProtectionDetails object
List of replication region details associated with the protection.
region stringThe region of the azure resource.
status stringThe status of protection.
replicaRegionProtectionDetails object[]
List of replication region details associated with the protection.
region stringThe region of the azure resource.
status stringThe status of protection.
[
{
"protectionId": "t12345678:123456:1234:145:1746784337032",
"status": "IN_PROGRESS",
"protectionPolicyId": 145,
"timestamp": 1746784337032,
"protectionPolicyName": "yearly-policy",
"isLocked": true,
"duration": 1556426,
"hasRecovery": true,
"primaryRegionProtectionDetails": {
"region": "eastus",
"status": "IN_PROGRESS"
},
"replicaRegionProtectionDetails": [
{
"region": "eastus",
"status": "IN_PROGRESS"
}
]
}
]
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"
]
}