Update Backup Policy
PUT/projects/:projectId/providers/Aruba.Schedule/backupPolicies/:backupPolicyId
Update Backup Policy
Request
Path Parameters
unique identifier of the project CMP
unique identifier of the Backup Policy
Query Parameters
The requested API version
1- application/json
- text/json
- application/*+json
Body
the backup policy to update
Array [
]
metadata
object
Metadata of the resource
Name of the resource
List of tags for the resource
properties
object
schedules
object[]
Body
the backup policy to update
Array [
]
metadata
object
Metadata of the resource
Name of the resource
List of tags for the resource
properties
object
schedules
object[]
Body
the backup policy to update
Array [
]
metadata
object
Metadata of the resource
Name of the resource
List of tags for the resource
properties
object
schedules
object[]
Responses
- 200
- 400
- 404
- 500
OK
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
schedules
object[]
{
"metadata": {
"id": "string",
"uri": "string",
"name": "string",
"project": {
"id": "string",
"folderId": "string"
},
"tags": [
"string"
],
"category": {
"name": "string",
"provider": "string",
"typology": {
"id": "string",
"name": "string"
}
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"ownerId": "string",
"updateDate": "2024-07-29T15:51:28.071Z",
"updatedBy": "string",
"version": "string",
"createdUser": "string",
"updatedUser": "string",
"managedBy": "string"
},
"status": {
"state": "string",
"creationDate": "2024-07-29T15:51:28.071Z",
"failureReason": "string",
"error": {
"reason": "string",
"message": "string"
}
},
"properties": {
"resourceType": "string",
"schedules": [
{
"backupType": "string",
"frequency": "string",
"time": "string",
"dayOfWeek": "string",
"dayOfMonth": "string",
"retentionDays": 0
}
]
}
}
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
schedules
object[]
{
"metadata": {
"id": "string",
"uri": "string",
"name": "string",
"project": {
"id": "string",
"folderId": "string"
},
"tags": [
"string"
],
"category": {
"name": "string",
"provider": "string",
"typology": {
"id": "string",
"name": "string"
}
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"ownerId": "string",
"updateDate": "2024-07-29T15:51:28.071Z",
"updatedBy": "string",
"version": "string",
"createdUser": "string",
"updatedUser": "string",
"managedBy": "string"
},
"status": {
"state": "string",
"creationDate": "2024-07-29T15:51:28.071Z",
"failureReason": "string",
"error": {
"reason": "string",
"message": "string"
}
},
"properties": {
"resourceType": "string",
"schedules": [
{
"backupType": "string",
"frequency": "string",
"time": "string",
"dayOfWeek": "string",
"dayOfMonth": "string",
"retentionDays": 0
}
]
}
}
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
schedules
object[]
{
"metadata": {
"id": "string",
"uri": "string",
"name": "string",
"project": {
"id": "string",
"folderId": "string"
},
"tags": [
"string"
],
"category": {
"name": "string",
"provider": "string",
"typology": {
"id": "string",
"name": "string"
}
},
"creationDate": "2024-07-29T15:51:28.071Z",
"createdBy": "string",
"ownerId": "string",
"updateDate": "2024-07-29T15:51:28.071Z",
"updatedBy": "string",
"version": "string",
"createdUser": "string",
"updatedUser": "string",
"managedBy": "string"
},
"status": {
"state": "string",
"creationDate": "2024-07-29T15:51:28.071Z",
"failureReason": "string",
"error": {
"reason": "string",
"message": "string"
}
},
"properties": {
"resourceType": "string",
"schedules": [
{
"backupType": "string",
"frequency": "string",
"time": "string",
"dayOfWeek": "string",
"dayOfMonth": "string",
"retentionDays": 0
}
]
}
}
Bad Request
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Not Found
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Internal Server Error