GetARMDiskType (AZURE Disk Type)

This method is used to return the list of Azure standard disk types.

Method Signature:

GetARMDiskType (size, diskTypes, controlId, async, callback)

Sample Response:

 [{"Code":"HDD","text":"Standard_LRS"},{"Code":"SSD","text":"Premium_LRS"}]

Parameter Details:

Table 1. GetARMDiskType
Parameter Name Type Mandatory Description
Size String Y Details of passed Size’ Disk type are returned.
diskTypes String N

If disk type is passed, then details of passed disk type are returned.

If blank “” is passed, then detail of all AZURE’s Disk type will be returned/bind to the control.

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.