Replace a Protection Policy completely.

put/backup-recovery/v1beta1/protection-policies/{id}

Update a Protection Policy for data protection before assignment.

Securitybearer
Request
path Parameters
id
required
string <uuid>

UUID string uniquely identifying the Protection Policy.

Example: c9cdeb6b-24cb-43c1-828a-e8b1b050f3f4
Request Body schema: application/json
required
applicationType
required
string (ApplicationType)

Specifies type of application that the protection applies to. It is a mandatory field.

Enum: "VMWARE" "AWS" "HPE_ARRAY_VOLUME" "MSSQL"
description
string

A brief description about the Protection Policy.

name
required
string

User defined name of the Protection Policy.

required
Array of objects

An array of protection objectives

Responses
200

Success

400

Bad request

401

Unauthorized request

403

Forbidden

500

Internal / unexpected error

Request samples
application/json
{
  • "applicationType": "VMWARE",
  • "description": "Protection Policy protecting Finance department's Virtual Machines or datastores.",
  • "name": "Gold-Protection-Policy",
  • "protections": [
    ]
}
Response samples
application/json
{
  • "applicationType": "VMWARE",
  • "assigned": true,
  • "consoleUri": "string",
  • "createdAt": "2019-07-21T17:32:28Z",
  • "createdBy": {
    },
  • "description": "Protection Policy protecting Finance department's Virtual Machines or datastores.",
  • "generation": 0,
  • "id": "c9cdeb6b-24cb-43c1-828a-e8b1b050f3f4",
  • "name": "Gold-Protection-Policy",
  • "protectionJobsInfo": [
    ],
  • "protections": [
    ],
  • "resourceUri": "string",
  • "type": "string",
  • "updatedAt": "2019-07-21T17:32:28Z"
}