Version: 1
restore

Contents

Method

GetVariable

ModuleNomad
Library1E
Action


Gets the value of the given Nomad "variable".

A variable can be any piece of info about Nomad such as a registry setting or even some computed value based on the current state of Nomad. This API is meant to be a flexible way of getting info out from Nomad which can be extended in future without breaking any COM interfaces. Currently the following three are the only supported variables:

  1. CacheAvailableBytes: The disk space currently available to Nomad for its cache in bytes.
  2. CacheUsedBytes: The disk space currently used by Nomad.
  3. SSDEnabled: The value of registry setting “SSDEnabled”.

Parameters

(string): Name of the variable to get.

Return values

Value (string): The hash of the content. (The same value for all rows returned.)

Example
What ConfigMgr distribution points, if any, have version 1 of content "Content_7f368e5f-4dbe-4027-ba81-c5463e372a0c"?

 

Nomad.GetCmContentLocations(ContentId : "Content_7f368e5f-4dbe-4027-ba81-c5463e372a0c", Version : 1);
Platforms
  • Windows
Notes

Requires Nomad v6.3.200 or later.

Available from Tachyon v3.2.

No data is returned if no DPs have the requested content.

variableName