MCLD Root Variable

MCLD (HCL BigFix CLM out-of-box) is the root variable that allows you to access all the functions and variables of HCL BigFix CLM with intelligence features.

As soon as you type MCLD in scripting block and press dot(.), two categories come up:

  • MCLD. Functions
  • MCLD. Variables

MCLD Functions

MCLD functions contains the list of all out-of-box functions in HCL BigFix CLM.

Figure 1. List of HCL BigFix CLM functions

Whenever you want to use a function, for example, if you want to use AMAZN_ExpectedCost, then you need to type MCLD.Functions.AMAZN_ExpectedCost in the script block. When you open the function bracket, a popup appears displaying parameters suggestions, as shown in the image below:

Figure 2. Parameter suggestions for a function

Pressing the Alt key here displays detailed information about the function, as shown in the following image:F

Figure 3. Details of a Function
Note:

The following functions have been deprecated and therefore are not part of MCLD.Functions:

- GetCluster

- GetNetwork

- GetSoftware

- GetCostTypeList

- GetARMPublisher

MCLD Variables

The MCLD.Variables are further divided into two parts:

  • Global
  • ServiceCatalog

The value of variables under MCLD.variables.ServiceCatalog will only be available on UI templates associated with Service Catalog. Variables defined under MCLD.variables.Global are available on both requests(action Request or Create Request).

Figure 4. Variable Categories

Available variables list is given below:

MCLD Variables List

Category Variable Name Details
Global RegionName Region name in which catalog is published and associated with UI.
PlatFormId Unique Id of Cloud Account created in HCL BigFix CLM
OrganizationName Organization Name under which the catalog is published.
OrganizationCode Unique Organization Code under which the catalog is published.
OrganizationEntityId Unique Organization entity created in HCL BigFix CLM.
LocationName Location Name in which catalog is published and associated with UI.
ProvisioningEndpointId

It Contains different values based on the cloud provider.

ARM: It stores Subscription id of the provisioning Cloud Account.

AWS: It stores Account ID

VMWAR/SCVMM: It Stores Platform name

ProvisioningEndpointName Unique Cloud Account name under which catalog is published.
PlatFormCode Unique Platform Code of Cloud Account created in HCL BigFix CLM.
UserEntityId Unique User ID created in HCL BigFix CLM
ServiceCatalog ServiceCatalogId Unique Identifier of published service catalog in HCL BigFix CLM.
ServiceCatalogName Unique Name of published service catalog in HCL BigFix CLM.
CatalogEntityId Unique Identifier of catalogue in HCL BigFix CLM.
CatalogName Unique of catalog name in HCL BigFix CLM.