JavaScript Library

HCL BigFix CLM has features to create dynamic UI where Users can create UI specific service request forms to capture information of cloud platforms like AWS, AZURE, GCP, SCVMM and VMWare. In UI service requests forms, a user has controls like Select, TextBox, TextArea etc. and to bind these controls, the user uses HCL BigFix CLM’s in-built JavaScript library. These functions help to bind Select controls.

The following table lists all the available JavaScript functions:

Table 1. JavaScript Functions
Method Name Short Description Applicable Platform
GetARMRegion To Get Azure Regions Azure
GetARMResourceGroup To Get Azure Resource Groups Azure
GetARMVNet To Get Azure Virtual Network of Subscription Azure
GetARMSubNet To Get Azure Subnets of Subscription Azure
GetARMPIP To Get Azure Public IP List for Subscription Azure
GetARMAvailabilitySet Lists Azure Availability Set of subscription Azure
GetARMLoadBalancer Lists Azure Load Balancers of Subscription Azure
GetARMRecoveryVault Return Lists of Azure Recovery vault of Subscription Azure
GetARMSize Return Lists of VM Sizes Applicable in Azure Azure
GetARMDiskType Lists Type of Disk applicable in Azure Azure
GETARMBACKUPPOLICY Lists Backup Policy of vault of an Azure Subscription Azure
GetARMStorageGroup Lists Storage Account of Azure Subscription Azure
GetARMDisk Lists of Disk Applicable on Azure Azure
GetARMNIC Lists of NIC Applicable on Azure Azure
GetARMSnapshots To get Azure Snapshots Azure
GetOrgWiseARMSizeDetails To Get organization and Region wise Size Azure
GetARMIPConfiguration To Get ARM IP configuration details Azure
GetARMAdvisorData To Get ARM Advisor Data Azure
GetARMSQLDatabases To Get ARM SQL Databases Azure
GetARMRedisCache To Get ARM Redis Cache Azure
GetARMKeyVault To Get ARM Key Vault Azure
GetARMMicrosoftFabric To Get ARM Microsoft Fabric Azure
GetARMCustomImages To Get ARM Custom Images Azure
GetARMFunctionsApp To Get ARM Functions App Azure
GetARMLogicApps To Get ARM Logic Apps Azure
GetARMDataFactory To Get ARM Data Factory Azure
GetAWSRegion Returns AWS Applicable of AWS Regions Amazon
GetAWSAvailabilityZone Lists applicable Availability zone of region Amazon
GetAWSVPC Lists Amazon VPC of subscription Amazon
GetAWSSubNet Lists Amazon Subnet of subscription Amazon
GetAWSEIP Returns list of Amazon Elastic IP of Subscription Amazon
GetAWSInstanceType Returns List of Amazon Instance Types Amazon
GetAWSLoadBalancer Returns List of Amazon Load Balancers Amazon
GETAWSSECURITYGROUP Lists the AWS Security Group for Subscription Amazon
GetAWSKeyPairs Lists AWS Key pairs of Region in a subscription Amazon
GETAWSEBS Lists AWS EBS of Region for a specific subscription Amazon
GetAWSNIC Lists AWS Network Interface for a specific subscription Amazon
GetAWSInstancesVMs Lists AWS Instance VM's for specific subscription Amazon
GetAWSVPCID Lists AWS VPC ID based on Subnet Amazon
GetAWSSnapshots To get Amazon Snapshots Amazon
GetOrgWiseAWSSizeDetails To get organization and region wise size details Amazon
GetServiceCategories Lists the Service categories for vCenter vCenter
GetVmwareCluster Lists vCenter Clusters specific to Datacenter vCenter
GetVmwareHost Lists vCenter Hosts for specific clusters vCenter
GetVmwareStorage Lists vCenter Storages based on vCenter Cluster vCenter
GetVmwareResource Lists vCenter Resources pools based on Cluster vCenter
GetVmwareNetwork Lists vCenter Network on basis of Cluster vCenter
GetVmwareDatacenter Lists vCenter Datacenter vCenter
GetSize Return Compute Categories (Sizes) vCenter
GetDataCenterClusterResource To get the vCenter Datacenter, Cluster and Resource Pool vCenter
GetNetworkDetails Return the details for Network vCenter
GetScvmmCloud Return the list of all Cloud of Hyper-v SCVMM
GetScvmmHost Return the list of all Host of Hyper-v SCVMM
GetScvmmStorage Return lists of hyper v Storage based on Cloud or Host SCVMM
GetScvmmNetwork Return the list of Hyper-V Networks SCVMM
GetGCPSize Return the list of GCP sizes GCP
GetGCPVpc Return the list of GCP vpcs GCP
GetGCPSubnet Return the list of GCP Subnets GCP
GetGCPRegion Return the list of GCP regions GCP
GetGCPZone Return the list of GCP Zones GCP
GetGCPCustomMachineTypes Return the list of Custom machine types GCP
GetMemoryCpuInfoByMachineType Return the detail of Memory and CPU based on Machine type GCP
GetPlatformWiseGCPSizeDetails Return the details of Size based on Zone GCP
GetGCPDisk Return the details of Disk GCP
GetGCPPIP Return the details of PIP GCP
GetOrgWiseGCPSizeDetails Return the details of Size based on Organization and zone GCP
GetGCPProjects Return the details of GCP Projects GCP
GetGCPCloudBuckets Return the details of GCP Cloud Buckets GCP
GetGCPVmSnapshots Return the details of GCP Vm Snapshots GCP
GetGCPImages Return the details of GCP Images GCP
GetGCPBigQuery Return the details of GCP Big Query GCP
GetGCPTemplates Return the details of GCP Templates GCP
GetGCPInstanceGroups Return the details of GCP Instance Groups GCP
GetTemplateDetails Return details of Template Generic
GetCustomTableRecords Return the list of Custom Table Records Generic
AddCustomTableRecords Insert new record into the Custom Table Generic
UpdateCustomTableRecords Update existing record in Custom Table Generic
GetCustomTableRecordsByTableName Return the list of Custom Table Records based on Table Name Generic
GetCIMasterSingleRow Return the CI data based on CI Id. Generic
GetCIMasterData Return CI data based on Object ID and Object Type Generic
GetUserInfo Return current logged in user details Generic
GetUsersByOrganization Fetch all the users for Organization Generic
GetUserDependentDetails Fetch User hierarchical data Generic
GetParameterByName Fetch Query Sting values Generic
DecryptString Decrypt encrypted values received from query string. Generic
CalculateDecommissionDate Calculate decommission date based on specific period Generic
GetSelectedValue Fetch selected value of the control in Edit mode Generic
GetPeriods Return period details i.e., Day(s)/ Month(s)/ Week(s)/ Year(s) Generic
GetServicePlanLists Return service plan list i.e., Platinum Generic
GetPlatformWiseSizeDetails Return the details of Size based on region and platform Generic (ARM/AWS)