listByTags
com.azure.core.http.rest.PagedIterable<TagResourceContract> listByTags(String resourceGroupName,
String serviceName,
String apiId,
String filter,
Integer top,
Integer skip,
Boolean includeNotTaggedOperations,
com.azure.core.util.Context context)
Lists a collection of operations associated with tags.
- Parameters:
resourceGroupName
- The name of the resource group.
serviceName
- The name of the API Management service.
apiId
- API revision identifier. Must be unique in the current API Management service instance. Non-current
revision has ;rev=n as a suffix where n is the revision number.
filter
- | Field | Usage | Supported operators | Supported functions
|</br>|-------------|-------------|-------------|-------------|</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>| description | 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>.
top
- Number of records to return.
skip
- Number of records to skip.
includeNotTaggedOperations
- Include not tagged Operations.
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.