Interface EntitiesRelations
public interface EntitiesRelations
Resource collection API of EntitiesRelations.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<Relation>
Gets all relations of an entity.com.azure.core.http.rest.PagedIterable<Relation>
list
(String resourceGroupName, String workspaceName, String entityId, String filter, String orderby, Integer top, String skipToken, com.azure.core.util.Context context) Gets all relations of an entity.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Relation> list(String resourceGroupName, String workspaceName, String entityId) Gets all relations of an entity.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.entityId
- entity ID.- Returns:
- all relations of an entity 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.
-
list
com.azure.core.http.rest.PagedIterable<Relation> list(String resourceGroupName, String workspaceName, String entityId, String filter, String orderby, Integer top, String skipToken, com.azure.core.util.Context context) Gets all relations of an entity.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.entityId
- entity ID.filter
- Filters the results, based on a Boolean condition. Optional.orderby
- Sorts the results. Optional.top
- Returns only the first n results. Optional.skipToken
- Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.context
- The context to associate with this operation.- Returns:
- all relations of an entity 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.
-