Hello,
Can anyone suggest a way to get this to work. I've used the REST API to pull the list of available actions for a VM, two of the results are below:
"@type": "ConsumerResourceOperation",
"name": "Connect using VMRC",
"description": "Infrastructure connect using VMRC",
"iconId": "cafe_default_icon_genericResourceOperation",
"type": "EXTENSION",
"id": "bf83082c-682f-4c54-bc67-24d3b7eccb35",
"extensionId": "csp.places.iaas.item.nowindow.ConnectViaNativeVmrc",
"providerTypeId": null,
"bindingId": null,
"hasForm": false,
"formScale": null
},
{
"@type": "ConsumerResourceOperation",
"name": "Create Snapshot",
"description": "Create a snapshot for this machine.",
"iconId": "virtualCreateSnapshot.png",
"type": "ACTION",
"id": "a390dcbc-c3a7-4668-8246-69237e075605",
"extensionId": null,
"providerTypeId": "com.vmware.csp.iaas.blueprint.service",
"bindingId": "Infrastructure.Virtual.Action.CreateSnapshot",
"hasForm": true,
"formScale": "SMALL"
}
I can get the template and submit the action for creating a snapshot since its type is ACTION, but I can't work with anything of type EXTENSION. Does anyone know if it is possible to perform/execute these extensions?
Thanks.