Default language.

Information
Important This documentation space contains information about the SaaS version of BMC Helix Discovery. If you are using the on-premises version of BMC Helix Discovery, see BMC Helix Discovery 25.2 (On-Premises).

yaml.encode


yaml.encode(object)

Converts the given object into a YAML-encoded string.

yaml.encode supports objects such as lists and dictionaries, and basic types such as int, string, and so on, including nested lists and dictionaries.

To encode attributes from a node, create a dictionary of the required attributes and encode the dictionary. If you attempt to encode a node, the function returns none.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix Discovery (SaaS)