GetARMVNet (Azure Virtual Network (VNet))
This method is used to return the list of Azure virtual network in HCL BigFix CLM.
Method Signature:
GetARMVNet(regionName, vNetName, controlId, async, servicePlanId, callback, addlparam, endpointId)
Sample Response:
[{"EntityID":"NTW-06D2FCB6-DBDC-4DF7-9461-9DCD378A1E7D","Name":" -vnet","ID":"3","ActualIDonEnvironment":"da19a7cf-028d-430e-97be-a626f13ece02","CustomField1":"","CustomField2":"","CustomField3":"","CustomField4":"","CustomField5":"","CustomField6":"","CustomField7":"","CustomField8":"","CustomField9":"","CustomField10":"","IsActive":"Y","ResourceGroupName":"","RegionName":"eastus","AddressSpace":"","PlatformEntityID":"ARM-EF5CA4B6-67BE-4B48-BA7C-5F6FC4DAEA3E","text":"-vnet"}]
Parameter Details:
| Parameter Name | Type | Mandatory | Description |
|---|---|---|---|
| regionName | String | N |
If region name is passed, then details of passed Region’s VNet are returned. If blank “” are passed, then details of all AZURE’s VNets return/bind to the control. |
| vNetName | String | N |
If vNetName is passed, then details of passed VNet are returned. If blank “” is passed, then details of all AZURE’s VNets return/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 is called in synchronous mode. i.e., Current execution waits for method execution to complete In case it’s True: Function is called asynchronously. Execution will not wait for method execution completion. It will jump to the next statement. |
| servicePlanId | String | N | Service Plan ID is a plan related to the cost model created by provider and map to the resource in HCL BigFix CLM. |
| callback | Function | N | User can pass function name that gets executed on completion of Parent function call. |
| addlparam | Object | N |
Addlparam is used for filtering and sorting the records. It contains 3 properties filter/sortby/sortorder. To Filter: To filter records based on column name received from output. e.g., filter="keyname='keyvalue'" To Sort By: To sort the data based on column name. e.g., sortby="keyname" To Sort Order: To define sorting order either ASC (Ascending) or DESC (descending). e.g., sortorder="ASC” |
| endpointId | String | N | To filter the list on specific Cloud Account Id |