Create backupPolicyAssignment
POST/projects/:projectId/providers/Aruba.Schedule/backupPolicyAssignments
Create backupPolicyAssignment
Request
Path Parameters
unique identifier of the project CMP
Query Parameters
The requested API version
1- application/json
- text/json
- application/*+json
Body
the backup policy assignment to create
- ITBG-Bergamo
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
resource
object
backupPolicy
object
Body
the backup policy assignment to create
- ITBG-Bergamo
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
resource
object
backupPolicy
object
Body
the backup policy assignment to create
- ITBG-Bergamo
metadata
object
Metadata of the resource
Name of the resource
location
object
Contains information about the Region of a resource
Value of the region in which the resource will be located. Available regions at present:
For more information, check the documentation.
List of tags for the resource
properties
object
resource
object
backupPolicy
object
Responses
- 201
- 400
- 500
Created
- 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
resource
object
backupPolicy
object
jobs
object[]
nullable
{
"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": {
"resource": {
"uri": "string"
},
"backupPolicy": {
"uri": "string"
},
"jobs": [
{
"id": "string",
"uri": "string"
}
]
}
}
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
resource
object
backupPolicy
object
jobs
object[]
nullable
{
"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": {
"resource": {
"uri": "string"
},
"backupPolicy": {
"uri": "string"
},
"jobs": [
{
"id": "string",
"uri": "string"
}
]
}
}
- Schema
- Example (from schema)
Schema
Array [
]
metadata
object
project
object
category
object
typology
object
status
object
error
object
properties
object
resource
object
backupPolicy
object
jobs
object[]
nullable
{
"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": {
"resource": {
"uri": "string"
},
"backupPolicy": {
"uri": "string"
},
"jobs": [
{
"id": "string",
"uri": "string"
}
]
}
}
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"
}
Internal Server Error