I am using vCenter Orchestrator v5.1 with vCloud v5.1 and I am trying to change the vApp Storage Profile at the point of Instantiation using the following code
var objVclInstantiateVAppTemplateParams;
objVclInstantiateVAppTemplateParams = new VclInstantiateVAppTemplateParams();
objVclInstantiateVAppTemplateParams["name"] = strVclVAppName;
objVclInstantiateVAppTemplateParams["description"] = "vCO Deployed vApp - " + fullname + " (" + username + ")";
objVclInstantiateVAppTemplateParams["source"] = objVclVAppTemplate.getReference();
objVclInstantiateVAppTemplateParams["vAppParent"] = objVclVdc.getReference();
objVclInstantiateVAppTemplateParams["isSourceDelete"] = false;
objVclInstantiateVAppTemplateParams["linkedClone"] = true;
objVclInstantiateVAppTemplateParams["deploy"] = false;
objVclInstantiateVAppTemplateParams["powerOn"] = false;
objVclInstantiateVAppTemplateParams["allEULAsAccepted"] = true;
objVclInstantiateVAppTemplateParams["instantiationParams"] = objVclInstantiationParams;
But I get an error message saying that "DefaultStorageProfileSection" is an un-supported Instantiation section.
Please can someone assist me inresolving this issue.