...
CMS_GetDeploymentTemplateVariable(sSection, sVariable, bMustExist ) As string
Parameters
sSection (String)
Name The name of the section in the template
sVariable (String)
The requested variablename of the variable to return
bMustExist (Boolean)
TRUE if variable must exist
Return value
Result The result will be stored in gsValue
If the variable can be read, then gbValue will be set to TRUE, otherwise, it will be set to FALSE.
Code Block |
---|
{
"operatingSystem": {
"ImageId": 13,
"diskConfigId": 1,
"localAdmin": "true",
"password": "1506Test"
},
"domain": {
"joinDomain": "CAPADEMO.LOCAL",
"domainName": "CAPADEMO.LOCAL",
"domainUserName": "ciinst",
"domainUserPassword": "1506Test",
"computerObjectOU": "OU=Computers,OU=Odder,OU=Dev2,DC=CAPADEMO,DC=local"},
"title": "Default",
"customValues": [{
"key": "a",
"value": "1"
}]
} |
Example
|
...