Interface EntitiesClient


public interface EntitiesClient
An instance of this class provides access to all the operations defined in EntitiesClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<EntityInner> list(String resourceGroupName, String workspaceName)
      Gets all entities.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      all entities 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<EntityInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Gets all entities.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      context - The context to associate with this operation.
      Returns:
      all entities 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.
    • get

      EntityInner get(String resourceGroupName, String workspaceName, String entityId)
      Gets 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:
      an entity.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<EntityInner> getWithResponse(String resourceGroupName, String workspaceName, String entityId, com.azure.core.util.Context context)
      Gets an entity.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      entityId - entity ID.
      context - The context to associate with this operation.
      Returns:
      an entity 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.
    • expand

      EntityExpandResponseInner expand(String resourceGroupName, String workspaceName, String entityId, EntityExpandParameters parameters)
      Expands an entity.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      entityId - entity ID.
      parameters - The parameters required to execute an expand operation on the given entity.
      Returns:
      the entity expansion result operation 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.
    • expandWithResponse

      com.azure.core.http.rest.Response<EntityExpandResponseInner> expandWithResponse(String resourceGroupName, String workspaceName, String entityId, EntityExpandParameters parameters, com.azure.core.util.Context context)
      Expands an entity.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      entityId - entity ID.
      parameters - The parameters required to execute an expand operation on the given entity.
      context - The context to associate with this operation.
      Returns:
      the entity expansion result operation response 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.
    • queries

      GetQueriesResponseInner queries(String resourceGroupName, String workspaceName, String entityId, EntityItemQueryKind kind)
      Get Insights and Activities for an entity.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      entityId - entity ID.
      kind - The Kind parameter for queries.
      Returns:
      insights and Activities for an entity.
      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.
    • queriesWithResponse

      com.azure.core.http.rest.Response<GetQueriesResponseInner> queriesWithResponse(String resourceGroupName, String workspaceName, String entityId, EntityItemQueryKind kind, com.azure.core.util.Context context)
      Get Insights and Activities for an entity.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      entityId - entity ID.
      kind - The Kind parameter for queries.
      context - The context to associate with this operation.
      Returns:
      insights and Activities for an entity 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.
    • getInsights

      EntityGetInsightsResponseInner getInsights(String resourceGroupName, String workspaceName, String entityId, EntityGetInsightsParameters parameters)
      Execute Insights for an entity.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      entityId - entity ID.
      parameters - The parameters required to execute insights on the given entity.
      Returns:
      the Get Insights result operation 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.
    • getInsightsWithResponse

      com.azure.core.http.rest.Response<EntityGetInsightsResponseInner> getInsightsWithResponse(String resourceGroupName, String workspaceName, String entityId, EntityGetInsightsParameters parameters, com.azure.core.util.Context context)
      Execute Insights for an entity.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      entityId - entity ID.
      parameters - The parameters required to execute insights on the given entity.
      context - The context to associate with this operation.
      Returns:
      the Get Insights result operation response 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.