public static parseFilterList ( string filterString ) : List |
||
filterString | string | query string formatted filter (key==/<>value) or (filter[]=key==/<>value) for a list of filters |
Результат | List |
/// <summary> /// Lists the MultiCloudImages for a given ServerTemplate /// </summary> /// <param name="serverTemplateID">ID of the ServerTemplate</param> /// <param name="filter">String of filters to be applied to this index query</param> /// <returns>List of MultiCloudImages</returns> public static List <MultiCloudImage> index_ServerTemplate(string serverTemplateID, string filter) { List <Filter> filterList = Filter.parseFilterList(filter); return(index_ServerTemplate(serverTemplateID, filterList)); }
/// <summary> /// This method is intended for use within PowerShell. /// Lists the Images owned by this Account. /// </summary> /// <param name="filterList">Set of filters to modify query to return Images from RightScale API</param> /// <param name="view">Defines specific view to limit the Images returned from RightScale API</param> /// <returns>Filtered list of Images based on filter and view input</returns> public static List <Image> index(string cloudID, string filterList, string view) { List <Filter> filter = Filter.parseFilterList(filterList); return(index(cloudID, filter, view)); }
/// <summary> /// This method is intended for use within PowerShell. /// Lists the MultiCloudImages owned by this Account. /// </summary> /// <param name="filterList">Set of filters to modify query to return MultiCloudImages from RightScale API</param> /// <returns>Filtered list of MultiCloudImages</returns> public static List <MultiCloudImage> index(string filter) { List <Filter> filterList = Filter.parseFilterList(filter); return(index(filterList)); }
public static List <ServerTemplate> index(string filterlist, string view) { List <Filter> filter = Filter.parseFilterList(view); return(index(filter, view)); }