Interface EntityRelationsClient
public interface EntityRelationsClient
An instance of this class provides access to all the operations defined in EntityRelationsClient.
-
Method Summary
Modifier and TypeMethodDescriptiongetRelation
(String resourceGroupName, String workspaceName, String entityId, String relationName) Gets an entity relation.com.azure.core.http.rest.Response<RelationInner>
getRelationWithResponse
(String resourceGroupName, String workspaceName, String entityId, String relationName, com.azure.core.util.Context context) Gets an entity relation.
-
Method Details
-
getRelation
RelationInner 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<RelationInner> 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.
-