Skip to main content

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

Request Body
  • name string
  • cloudAccount object required

    cloud account name or id

  • id integer
  • name string
  • plan object required

    plan name or id

  • id integer
  • name string
  • content object

    virtual machine content to be backed up

  • ruleGroups object[]
  • matchRule string
  • rules object[]
  • type string
  • condition string
  • GUID string
  • name string
Responses

OK


Schema
  • subclientId integer
  • errorCode integer
  • warningMessage string
POST /v4/azurevm/vmgroup    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"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"
}
]
}
]
}
}'