Users can list all the domains in the platform
#To list all domains in a platform
platform.list_domains()
This will return a list of all the domains within a platform. Users can iterate through this
for domain in platform.list_domains():
print(domain)
Each domain is returned as a dictionary with keys; ‘domain_name’, ‘display_name’, ‘processor’, ‘os. For example, we can return the domain names
for domain in platform.list_domains():
print(domain['domain_name'])
Users can return a specific domain within a platform using the metadata above
domain_object = platform.get_domain(name = "domain_name")