Add MSSQL instance
Select
SaaS
Customer Managed
This operation adds a new MSSQL instance to an existing client
- application/json
Request Body
instanceProperties object
Responses
- 200
- 400
- 401
OK
Response Headers
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid.
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
Default value:
Access denied
- errorCode integer
Default value:
5
{
"errorMessage": "Access denied",
"errorCode": 5
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
POST /instance
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"clientName": "string",
"instanceName": "string",
"appName": "SQL SERVER"
},
"planEntity": {
"planId": 0
},
"mssqlInstance": {
"useVss": false,
"vDITimeOut": 300,
"isOnDemand": false,
"MSSQLCredentialinfo": {
"credentialId": 0,
"credentialName": "string",
"recordType": 0
},
"overrideHigherLevelSettings": {
"useLocalSystemAccount": true,
"overrideGlobalAuthentication": false
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"clientName": "string",
"instanceName": "string",
"appName": "SQL SERVER"
},
"planEntity": {
"planId": 0
},
"mssqlInstance": {
"useVss": false,
"vDITimeOut": 300,
"isOnDemand": false,
"MSSQLCredentialinfo": {
"credentialId": 0,
"credentialName": "string",
"recordType": 0
},
"overrideHigherLevelSettings": {
"useLocalSystemAccount": true,
"overrideGlobalAuthentication": false
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"clientName": "string",
"instanceName": "string",
"appName": "SQL SERVER"
},
"planEntity": {
"planId": 0
},
"mssqlInstance": {
"useVss": false,
"vDITimeOut": 300,
"isOnDemand": false,
"MSSQLCredentialinfo": {
"credentialId": 0,
"credentialName": "string",
"recordType": 0
},
"overrideHigherLevelSettings": {
"useLocalSystemAccount": true,
"overrideGlobalAuthentication": false
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"clientName": "string",
"instanceName": "string",
"appName": "SQL SERVER"
},
"planEntity": {
"planId": 0
},
"mssqlInstance": {
"useVss": false,
"vDITimeOut": 300,
"isOnDemand": false,
"MSSQLCredentialinfo": {
"credentialId": 0,
"credentialName": "string",
"recordType": 0
},
"overrideHigherLevelSettings": {
"useLocalSystemAccount": true,
"overrideGlobalAuthentication": false
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"clientName": "string",
"instanceName": "string",
"appName": "SQL SERVER"
},
"planEntity": {
"planId": 0
},
"mssqlInstance": {
"useVss": false,
"vDITimeOut": 300,
"isOnDemand": false,
"MSSQLCredentialinfo": {
"credentialId": 0,
"credentialName": "string",
"recordType": 0
},
"overrideHigherLevelSettings": {
"useLocalSystemAccount": true,
"overrideGlobalAuthentication": false
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"clientName": "string",
"instanceName": "string",
"appName": "SQL SERVER"
},
"planEntity": {
"planId": 0
},
"mssqlInstance": {
"useVss": false,
"vDITimeOut": 300,
"isOnDemand": false,
"MSSQLCredentialinfo": {
"credentialId": 0,
"credentialName": "string",
"recordType": 0
},
"overrideHigherLevelSettings": {
"useLocalSystemAccount": true,
"overrideGlobalAuthentication": false
}
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"clientName": "string",
"instanceName": "string",
"appName": "SQL SERVER"
},
"planEntity": {
"planId": 0
},
"mssqlInstance": {
"useVss": false,
"vDITimeOut": 300,
"isOnDemand": false,
"MSSQLCredentialinfo": {
"credentialId": 0,
"credentialName": "string",
"recordType": 0
},
"overrideHigherLevelSettings": {
"useLocalSystemAccount": true,
"overrideGlobalAuthentication": false
}
}
}
}'