GetMemoryCpuInfoByMachineType(GCP Cpu Info)
This method is used to return the list of GCP Custom Machine Type.
Method Signature:
GetMemoryCpuInfoByMachineType(machineType, controlId, async, callback)
Sample Response:
[{"ID":90,"MachineType":"E2","vCPU":"2","MinMemory":"1","MaxMemory":"16","IsActive":"Y"},
{"ID":91,"MachineType":"E2","vCPU":"4","MinMemory":"2","MaxMemory":"32","IsActive":"Y"}]
Parameter Details:
| Parameter Name | Type | Mandatory | Description |
|---|---|---|---|
| machineType | String | Y | User has to pass machine type, then details of passed machine type are returned. |
| controlId | String | N |
Id of ‘Select’ control to be populated. If Id Control of dynamic UI is passed, then control will be populated with values return from this function else “Result set” will be returned in JSON format. |
| async | Boolean | N |
In case it’s False: Function will be called in synchronous mode. i.e., Current execution will wait for method execution to complete In case it’s True: Function will be called asynchronously. Execution will not wait for method execution completion. It will jump to next statement. |
| Callback | Function | N | User can pass function name that can be executed on completion of Parent function call. |