Update hypervisor filters
Select
SaaS
Customer Managed
Update hypervisor filter details
Path Parameters
- hypervisorId string required
- application/json
Request Body
- backupsetId int32
if not specified the default backupset is modified
filters object
diskFilters object
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Bad Request
- 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/hypervisor/:hypervisorid/filter
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/hypervisor/:hypervisorId/filter' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetId": 0,
"filters": {
"overwrite": true,
"virtualMachines": [
{
"name": "string",
"GUID": "string",
"type": "NONE",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
}
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
},
"diskFilters": {
"overwrite": false,
"rules": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false,
"children": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false
}
]
}
]
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/hypervisor/:hypervisorId/filter' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetId": 0,
"filters": {
"overwrite": true,
"virtualMachines": [
{
"name": "string",
"GUID": "string",
"type": "NONE",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
}
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
},
"diskFilters": {
"overwrite": false,
"rules": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false,
"children": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false
}
]
}
]
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/hypervisor/:hypervisorId/filter' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetId": 0,
"filters": {
"overwrite": true,
"virtualMachines": [
{
"name": "string",
"GUID": "string",
"type": "NONE",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
}
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
},
"diskFilters": {
"overwrite": false,
"rules": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false,
"children": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false
}
]
}
]
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/hypervisor/:hypervisorId/filter' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetId": 0,
"filters": {
"overwrite": true,
"virtualMachines": [
{
"name": "string",
"GUID": "string",
"type": "NONE",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
}
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
},
"diskFilters": {
"overwrite": false,
"rules": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false,
"children": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false
}
]
}
]
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/hypervisor/:hypervisorId/filter' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetId": 0,
"filters": {
"overwrite": true,
"virtualMachines": [
{
"name": "string",
"GUID": "string",
"type": "NONE",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
}
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
},
"diskFilters": {
"overwrite": false,
"rules": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false,
"children": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false
}
]
}
]
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/hypervisor/:hypervisorId/filter' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetId": 0,
"filters": {
"overwrite": true,
"virtualMachines": [
{
"name": "string",
"GUID": "string",
"type": "NONE",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
}
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
},
"diskFilters": {
"overwrite": false,
"rules": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false,
"children": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false
}
]
}
]
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/hypervisor/:hypervisorId/filter' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"backupsetId": 0,
"filters": {
"overwrite": true,
"virtualMachines": [
{
"name": "string",
"GUID": "string",
"type": "NONE",
"guestCredentialAssocId": 0,
"guestCredentials": {
"userName": "string",
"password": "string"
},
"existingCredential": {
"credentialId": 0,
"credentialName": "string"
}
}
],
"ruleGroups": [
{
"matchRule": "ALL",
"rules": [
{
"name": "string",
"type": "NONE",
"value": "string",
"condition": "CONTAINS",
"GUID": "string",
"displayName": "string"
}
]
}
]
},
"diskFilters": {
"overwrite": false,
"rules": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false,
"children": [
{
"overwrite": false,
"filterType": "NONE",
"name": "string",
"value": "string",
"condition": "CONTAINS",
"vmName": "string",
"vmGuid": "string",
"filterSubResource": false
}
]
}
]
}
}'