SearchManager

class SoftLayer.managers.SearchManager(client)[source]

Manager to help search via the SoftLayer API.

Parameters:

client (SoftLayer.API.BaseClient) – the client instance

__init__(client)[source]

Methods

__init__(client)

advanced(search_string)

Uses the SoftLayer_Search::advancedSearch API.

get_object_types()

returns a collection of SoftLayer_Container_Search_ObjectType containers.

search(search_string)

allows for searching for SoftLayer resources by simple phrase.

search_hadrware_instances(search_string[, mask])

Lists hardwares based in the search_string.

search_instances(search_string[, mask])

Lists VSIs based in the search_string.

advanced(search_string)[source]

Uses the SoftLayer_Search::advancedSearch API. Allows for more complicated search phrases.

get_object_types()[source]

returns a collection of SoftLayer_Container_Search_ObjectType containers.

search(search_string)[source]

allows for searching for SoftLayer resources by simple phrase.

search_hadrware_instances(search_string, mask=None, **kwargs)[source]

Lists hardwares based in the search_string.

Also takes in a few search terms as **kwargs. such as hostname, datacenter, domain and tags

search_instances(search_string, mask=None, **kwargs)[source]

Lists VSIs based in the search_string.

Also takes in a few search terms as **kwargs. such as hostname, datacenter, domain and tags