Interface EntityRelations
public interface EntityRelations
Resource collection API of EntityRelations.
-
Method Summary
Modifier and TypeMethodDescriptiongetRelation
(String resourceGroupName, String workspaceName, String entityId, String relationName) Gets an entity relation.com.azure.core.http.rest.Response<Relation>
getRelationWithResponse
(String resourceGroupName, String workspaceName, String entityId, String relationName, com.azure.core.util.Context context) Gets an entity relation.
-
Method Details
-
getRelation
Relation getRelation(String resourceGroupName, String workspaceName, String entityId, String relationName) Gets an entity relation.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.entityId
- entity ID.relationName
- Relation Name.- Returns:
- an entity relation.
- 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.
-
getRelationWithResponse
com.azure.core.http.rest.Response<Relation> getRelationWithResponse(String resourceGroupName, String workspaceName, String entityId, String relationName, com.azure.core.util.Context context) Gets an entity relation.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.entityId
- entity ID.relationName
- Relation Name.context
- The context to associate with this operation.- Returns:
- an entity relation along with
Response
. - 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.
-