Interface EntityQueryTemplatesClient


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

      • list

        com.azure.core.http.rest.PagedIterable<EntityQueryTemplateInner> 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<EntityQueryTemplateInner> 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

        EntityQueryTemplateInner 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<EntityQueryTemplateInner> 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.