GetGCPMachineClassDetails

This method is used to return the list of GCP Machine Class Details.

Method Signature:

GetGCPMachineClassDetails(controlId, async, callback)

Sample Response:

 [{"Name":"Preemptible","Code":"Preemptible","text":"Preemptible"}, 
{"Name":"Regular","Code":"OnDemand","text":"Regular"}]

Parameter Details:

Table 1. GetGCPMachineClassDetails
Parameter Name Type Mandatory Description
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.