Create a VM Group
Select
SaaS
Customer Managed
Create a VM Group
- application/json
Request Body
- name string required
subclient name
Hypervisor object required
content object required
plan object required
storage object
- enableIntellisnap boolean
Default value:
false
True if Intellisnap has to be enabled
Meditech object
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- subclientId int32
- warningCode int32
- errorCode int32
- errorMessage string
Response message
- warningMessage string
Response message
{
"subclientId": 0,
"warningCode": 0,
"errorCode": 0,
"errorMessage": "string",
"warningMessage": "string"
}
Internal Server Error
- 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
}
POST /v4/vmgroup
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/VMGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"Hypervisor": {
"id": 0,
"name": "string"
},
"content": {
"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"
}
]
}
]
},
"plan": {
"id": 0,
"name": "string"
},
"storage": {
"id": 0,
"name": "string"
},
"enableIntellisnap": false,
"Meditech": {
"systemName": "string",
"listenerIP": "string",
"listenerPort": 0,
"MBFtimeout": 60,
"userAccount": {
"name": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/VMGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"Hypervisor": {
"id": 0,
"name": "string"
},
"content": {
"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"
}
]
}
]
},
"plan": {
"id": 0,
"name": "string"
},
"storage": {
"id": 0,
"name": "string"
},
"enableIntellisnap": false,
"Meditech": {
"systemName": "string",
"listenerIP": "string",
"listenerPort": 0,
"MBFtimeout": 60,
"userAccount": {
"name": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/VMGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"Hypervisor": {
"id": 0,
"name": "string"
},
"content": {
"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"
}
]
}
]
},
"plan": {
"id": 0,
"name": "string"
},
"storage": {
"id": 0,
"name": "string"
},
"enableIntellisnap": false,
"Meditech": {
"systemName": "string",
"listenerIP": "string",
"listenerPort": 0,
"MBFtimeout": 60,
"userAccount": {
"name": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/VMGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"Hypervisor": {
"id": 0,
"name": "string"
},
"content": {
"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"
}
]
}
]
},
"plan": {
"id": 0,
"name": "string"
},
"storage": {
"id": 0,
"name": "string"
},
"enableIntellisnap": false,
"Meditech": {
"systemName": "string",
"listenerIP": "string",
"listenerPort": 0,
"MBFtimeout": 60,
"userAccount": {
"name": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/VMGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"Hypervisor": {
"id": 0,
"name": "string"
},
"content": {
"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"
}
]
}
]
},
"plan": {
"id": 0,
"name": "string"
},
"storage": {
"id": 0,
"name": "string"
},
"enableIntellisnap": false,
"Meditech": {
"systemName": "string",
"listenerIP": "string",
"listenerPort": 0,
"MBFtimeout": 60,
"userAccount": {
"name": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/VMGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"Hypervisor": {
"id": 0,
"name": "string"
},
"content": {
"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"
}
]
}
]
},
"plan": {
"id": 0,
"name": "string"
},
"storage": {
"id": 0,
"name": "string"
},
"enableIntellisnap": false,
"Meditech": {
"systemName": "string",
"listenerIP": "string",
"listenerPort": 0,
"MBFtimeout": 60,
"userAccount": {
"name": "string",
"password": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/VMGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"Hypervisor": {
"id": 0,
"name": "string"
},
"content": {
"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"
}
]
}
]
},
"plan": {
"id": 0,
"name": "string"
},
"storage": {
"id": 0,
"name": "string"
},
"enableIntellisnap": false,
"Meditech": {
"systemName": "string",
"listenerIP": "string",
"listenerPort": 0,
"MBFtimeout": 60,
"userAccount": {
"name": "string",
"password": "string"
}
}
}'