Items with tag softlayer_search

    perl

    php

    python

    reference

    • advancedSearch
      This method allows for searching for SoftLayer resources by simple terms and operators. Fields that are used for searching will be available at sldn.softlayer.com. It returns a collection or array of [SoftLayer_Container_Search_Result](/reference/datatypes/SoftLayer_Container_Search_Result) objects that have search metadata for each result and the resulting resource found. The advancedSearch() method recognizes the special <code>_objectType:</code></b> quantifier in search strings. See the documentation for the [SoftLayer_Search::search](/reference/services/SoftLayer_Search/search) method on how to restrict searches using object types. The advancedSearch() method recognizes [SoftLayer_Container_Search_ObjectType_Property](/reference/datatypes/SoftLayer_Container_Search_ObjectType_Property), which can also be used to limit searches. Example: <code>_objectType:Type_1 propertyA:</code><i><code>value</code></i> A search string can specify multiple properties, separated with spaces. Example: <code>_objectType:Type_1 propertyA:</code><i><code>value</code></i> <code>propertyB:</code><i><code>value</code></i> A collection of available object types and their properties can be retrieved by calling the [SoftLayer_Search::getObjectTypes](/reference/services/SoftLayer_Search/getObjectTypes) method. #### Exact Match on Text Fields To enforce an exact match on text fields, encapsulate the term in double quotes. For example, given a set of device host names: <ul> <li>baremetal-a</li> <li>baremetal-b</li> <li>a-virtual-guest</li> <li>b-virtual-guest</li> <li>edge-router</li> </ul> An exact search (double-quote) for 'baremetal-a' will return only the exact match of <u>baremetal-a</u>. A fuzzy search (no double-quote) for baremetal-a will return <u>baremetal</u>-<u>a</u>, <u>baremetal</u>-b, <u>a</u>-virtu<u>a</u>l-guest, b-virtu<u>a</u>l-guest but will omit edge-router.
    • getObjectTypes
      This method returns a collection of [SoftLayer_Container_Search_ObjectType](/reference/datatypes/SoftLayer_Container_Search_ObjectType) containers that specify which indexed object types and properties are exposed for the current user. These object types can be used to discover searchable data and to create or validate object index search strings. Refer to the [SoftLayer_Search::search](/reference/services/SoftLayer_Search/search) and [SoftLayer_Search::advancedSearch](/reference/services/SoftLayer_Search/advancedSearch) methods for information on using object types and properties in search strings.
    • search
      This method allows for searching for SoftLayer resources by simple phrase. It returns a collection or array of [SoftLayer_Container_Search_Result](/reference/datatypes/SoftLayer_Container_Search_Result) objects that have search metadata for each result and the resulting resource found. This method recognizes the special <b><code>_objectType:</code></b> quantifier in search strings. This quantifier can be used to restrict a search to specific object types. Example usage: <code>_objectType:Type_1 </code><i><code>(other search terms...)</code></i> A search string can specify multiple object types, separated by commas (no spaces are permitted between the type names). Example: <code>_objectType:Type_1,Type_2,Type_3 </code><i><code>(other search terms...)</code></i> If the list of object types is prefixed with a hyphen or minus sign (-), then the specified types are excluded from the search. Example: <code>_objectType:-Type_4,Type_5 </code><i><code>(other search terms...)</code></i> A collection of available object types can be retrieved by calling the [SoftLayer_Search::getObjectTypes](/reference/services/SoftLayer_Search/getObjectTypes) method. #### Exact Match on Text Fields To enforce an exact match on text fields, encapsulate the term in double quotes. For example, given a set of device host names: <ul> <li>baremetal-a</li> <li>baremetal-b</li> <li>a-virtual-guest</li> <li>b-virtual-guest</li> <li>edge-router</li> </ul> An exact search (double-quote) for 'baremetal-a' will return only the exact match of <u>baremetal-a</u>. A fuzzy search (no double-quote) for baremetal-a will return <u>baremetal</u>-<u>a</u>, <u>baremetal</u>-b, <u>a</u>-virtu<u>a</u>l-guest, b-virtu<u>a</u>l-guest but will omit edge-router.
    • SoftLayer_Search
      SoftLayer's account historical service allows users to access a broad overview of devices for that account and historical details concerning the overall function and performance of the devices on that account
    • SoftLayer_Search
      SoftLayer's account historical service allows users to access a broad overview of devices for that account and historical details concerning the overall function and performance of the devices on that account

    ruby