Get protection
Get protection by 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 - protectionId string required
Protection ID.
Example: t12345678:123456:1234:145:1746784337032
Responses
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
- 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"
]
}
Loading...