listByService
com.azure.core.http.rest.PagedIterable<TagResourceContract> listByService(String resourceGroupName,
String serviceName,
String filter,
Integer top,
Integer skip,
com.azure.core.util.Context context)
Lists a collection of resources associated with tags.
- Parameters:
resourceGroupName
- The name of the resource group.
serviceName
- The name of the API Management service.
filter
- | Field | Usage | Supported operators | Supported functions
|</br>|-------------|-------------|-------------|-------------|</br>| aid | filter | ge, le, eq,
ne, gt, lt | substringof, contains, startswith, endswith |</br>| name | filter | ge, le, eq, ne, gt, lt
| substringof, contains, startswith, endswith |</br>| displayName | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| apiName | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| apiRevision | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| path | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| description | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| serviceUrl | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| method | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| urlTemplate | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| terms | filter | ge, le, eq, ne, gt, lt |
substringof, contains, startswith, endswith |</br>| state | filter | eq | |</br>| isCurrent |
filter | eq | |</br>.
top
- Number of records to return.
skip
- Number of records to skip.
context
- The context to associate with this operation.
- Returns:
- paged Tag list representation as paginated response with
PagedIterable
.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.
RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.