Discover overrides

To discover the overrides that are configured for a computer, use any method or function that returns the computer with the overrides parameter set to true. As described in About the overrides parameter, the Computer object that is returned contains values only for the properties that are overrides. All other property values are null.

All properties of a Computer object can be configured, except for the name and description.

Tip:

When there are no overrides, all properties of the object are null. Check for a null ID to quickly determine if there are no overrides.

The following example gets the overrides for a computer

Language

Code

Python

View source
# Get the Computer object with overrides set to True
computers_api = api.ComputersApi(api.ApiClient(configuration))

return computers_api.describe_computer(computer_id, api_version, expand=expand.list(), overrides=True)

JavaScript

View source
const computersApi = new api.ComputersApi();
const opts = {
  overrides: true,
  expand: expand.list()
};

return computersApi.describeComputer(computerID, apiVersion, opts);

Java

View source
ComputersApi computersApi = new ComputersApi();

// Set the overrides parameter to true
return computersApi.describeComputer(computerId, expand.list(), Boolean.TRUE, apiVersion);

Also see the Describe a Computer operation in the API Reference. For information about the expand parameter, see "Minimize computer response size" in the Performance Tips guide.