Modify Protection Group Details
Select
SaaS
Customer Managed
Update Protection Group
Path Parameters
- protectionGroupId int32 required
Id of the ProtectionGroup to update
Header Parameters
- AzureSubscriptionId string required
Azure Subscription Id
- AzureTenantId string required
Azure Tenant Id
- LiftrCorrelationId string required
Liftr Correlation Id
- ArmResourceId string required
Arm Resource Id
- ArmResourceIdForCCA string required
Arm Resource Id For CCA
- application/json
Request Body
- name string
New protection group name
content object
plan object
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorCode int32
- errorMessage string
Tells about the error occured
- warningCode int32
- warningMessage string
Tells about the warning occured
{
"errorCode": 0,
"errorMessage": "string",
"warningCode": 0,
"warningMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/cloud/azure/protectiongroup/:protectiongroupid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/Azure/ProtectionGroup/:protectionGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/Azure/ProtectionGroup/:protectionGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/Azure/ProtectionGroup/:protectionGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/Azure/ProtectionGroup/:protectionGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/Azure/ProtectionGroup/:protectionGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/Azure/ProtectionGroup/:protectionGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/Azure/ProtectionGroup/:protectionGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"content": {
"virtualMachine": {
"virtualMachines": [
{
"name": "string",
"resourceGroup": "string"
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
}
},
"plan": {
"id": 0,
"name": "string"
}
}'