Configuration

The /configuration resource collection allows to get information on Veeam Backup for Microsoft Azure current configuration.

Run Configuration Check

The HTTP POST request to the /configuration/check endpoint runs the configuration check operation for the specified check types.

SecurityBearer
Request
Request Body schema: application/json
checkType
Array of strings (ConfigurationCheckType)

Specifies types of configuration checks that must be run.

Items Enum: "AzureAccounts" "WorkerConfiguration" "Repositories" "RepositoriesEncryption" "PortalUsers" "SsoUsers" "Unknown" "AllPrivateDeployment" "RepositoriesOwnership"
Responses
202

Accepted

400

Bad Request

401

Unauthorized

post/api/v8/configuration/check
Request samples
application/json
{
  • "checkType": [
    ]
}
Response samples
application/problem+json
{
  • "extensions": { },
  • "status": 0,
  • "title": "string",
  • "detail": "string",
  • "type": "string"
}

Get Configuration Check Results

The HTTP GET request ot the /configuration/checkSession endpoint retrieves results of the configuration check operation.

x-veeam-custom-response: true
SecurityBearer
Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

get/api/v8/configuration/checkSession
Request samples
curl -i -X GET \
  https://123.123.123.123/api/v8/configuration/checkSession \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
{
  • "logLine": [
    ],
  • "overallStatus": "Unknown",
  • "checkResponse": {
    }
}

Override Repository Owner

The HTTP POST request to the /configuration/overrideOwnership endpoint allows you to override the owner for the backup repositories with the specified IDs to the current backup appliance. To be able to override the owner for a backup repository, you must first add this repository to the current backup appliance by sending the HTTP POST request to the Add Backup Repository endpoint.

NOTE
As soon as you override a repository owner, backup policies configured on the backup appliance to which the repository previously belonged will start failing.

SecurityBearer
Request
Request Body schema: application/json
repositoryIds
Array of strings <uuid>

Specifies repositories for which you want to override the owner.

Responses
202

Accepted

400

Bad Request

401

Unauthorized

post/api/v8/configuration/overrideOwnership
Request samples
application/json
{
  • "repositoryIds": [
    ]
}
Response samples
application/json
[
  • {
    }
]