GetARMSubNet (AZURE Subnets)
This method is used to return the list of Azure subnets in HCL BigFix CLM.
Method Signature:
GetARMSubNet(vNetName, subNetName, controlId, async, servicePlanId, callback, addlparam)
Sample Response:
[{"SubnetEntityID":"SUB-07752781-C3F5-4D0A-B4BD-0CF989B64756",
"SubnetName":"PublicSubnet2","ID":"19","VnetName":"xxxx","SubnetAddressPrefix":"xxx.xx.x.xx","IsActive":"Y","NSGEntityID":"","PlatformEntityID":"ARM-EF5CA4B6-67BE-4B48-BA7C-5F6FC4DAEA3E","RegionName":"eastus","text":"PublicSubnet2"}]
Parameter Details:
| Parameter Name | Type | Mandatory | Description |
|---|---|---|---|
| vNetName | String | N |
If VNet name is passed, then details of passed VNet’s Subnets are returned. If blank “” is passed, then detail of all AZURE’s Subnets return/bind to the control. |
| subNetName | String | N |
If Subnet Name is passed, then details of passed Subnet are returned If blank “” is passed, then detail of all AZURE’s Subnets 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 will wait 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 Unique ID. |
| callback | Function | N | Users can pass function name that gets executed on completion of the 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” |