Configure Backup content in Azure VMGroup
Select
SaaS
This API creates a vm group for Cloud account on metallic azure.
Content is optional . If not provided all VMs in the account are backed up. Any VMs tagged to the particular tag in the same region as plan will be backed up
- application/json
Request Body
- name string
cloudAccount object required
plan object required
content object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- subclientId integer
- errorCode integer
- warningMessage string
{
"subclientId": 0,
"errorCode": 0,
"warningMessage": "string"
}
{
"subclientId": 46075,
"errorCode": 0,
"warningMessage": ""
}
POST /v4/azurevm/vmgroup
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurevm/vmgroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"cloudAccount": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"ruleGroups": [
{
"matchRule": "string",
"rules": [
{
"type": "string",
"condition": "string",
"GUID": "string",
"name": "string"
}
]
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurevm/vmgroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"cloudAccount": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"ruleGroups": [
{
"matchRule": "string",
"rules": [
{
"type": "string",
"condition": "string",
"GUID": "string",
"name": "string"
}
]
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurevm/vmgroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"cloudAccount": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"ruleGroups": [
{
"matchRule": "string",
"rules": [
{
"type": "string",
"condition": "string",
"GUID": "string",
"name": "string"
}
]
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurevm/vmgroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"cloudAccount": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"ruleGroups": [
{
"matchRule": "string",
"rules": [
{
"type": "string",
"condition": "string",
"GUID": "string",
"name": "string"
}
]
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurevm/vmgroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"cloudAccount": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"ruleGroups": [
{
"matchRule": "string",
"rules": [
{
"type": "string",
"condition": "string",
"GUID": "string",
"name": "string"
}
]
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurevm/vmgroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"cloudAccount": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"ruleGroups": [
{
"matchRule": "string",
"rules": [
{
"type": "string",
"condition": "string",
"GUID": "string",
"name": "string"
}
]
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/azurevm/vmgroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"cloudAccount": {
"id": 0,
"name": "string"
},
"plan": {
"id": 0,
"name": "string"
},
"content": {
"ruleGroups": [
{
"matchRule": "string",
"rules": [
{
"type": "string",
"condition": "string",
"GUID": "string",
"name": "string"
}
]
}
]
}
}'