Interface EntityQueryTemplates
-
public interface EntityQueryTemplates
Resource collection API of EntityQueryTemplates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityQueryTemplate
get(String resourceGroupName, String workspaceName, String entityQueryTemplateId)
Gets an entity query.com.azure.core.http.rest.Response<EntityQueryTemplate>
getWithResponse(String resourceGroupName, String workspaceName, String entityQueryTemplateId, com.azure.core.util.Context context)
Gets an entity query.com.azure.core.http.rest.PagedIterable<EntityQueryTemplate>
list(String resourceGroupName, String workspaceName)
Gets all entity query templates.com.azure.core.http.rest.PagedIterable<EntityQueryTemplate>
list(String resourceGroupName, String workspaceName, Constant74 kind, com.azure.core.util.Context context)
Gets all entity query templates.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<EntityQueryTemplate> list(String resourceGroupName, String workspaceName)
Gets all entity query templates.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.- Returns:
- all entity query templates 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<EntityQueryTemplate> list(String resourceGroupName, String workspaceName, Constant74 kind, com.azure.core.util.Context context)
Gets all entity query templates.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.kind
- The entity template query kind we want to fetch.context
- The context to associate with this operation.- Returns:
- all entity query templates 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
EntityQueryTemplate get(String resourceGroupName, String workspaceName, String entityQueryTemplateId)
Gets an entity query.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.entityQueryTemplateId
- entity query template ID.- Returns:
- an entity query.
- 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<EntityQueryTemplate> getWithResponse(String resourceGroupName, String workspaceName, String entityQueryTemplateId, com.azure.core.util.Context context)
Gets an entity query.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.workspaceName
- The name of the workspace.entityQueryTemplateId
- entity query template ID.context
- The context to associate with this operation.- Returns:
- an entity query 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.
-
-