Aracılığıyla paylaş


EntityQueriesClient Interface

public interface EntityQueriesClient

An instance of this class provides access to all the operations defined in EntityQueriesClient.

Method Summary

Modifier and Type Method and Description
abstract EntityQueryInner createOrUpdate(String resourceGroupName, String workspaceName, String entityQueryId, CustomEntityQuery entityQuery)

Creates or updates the entity query.

abstract Response<EntityQueryInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String entityQueryId, CustomEntityQuery entityQuery, Context context)

Creates or updates the entity query.

abstract void delete(String resourceGroupName, String workspaceName, String entityQueryId)

Delete the entity query.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String entityQueryId, Context context)

Delete the entity query.

abstract EntityQueryInner get(String resourceGroupName, String workspaceName, String entityQueryId)

Gets an entity query.

abstract Response<EntityQueryInner> getWithResponse(String resourceGroupName, String workspaceName, String entityQueryId, Context context)

Gets an entity query.

abstract PagedIterable<EntityQueryInner> list(String resourceGroupName, String workspaceName)

Gets all entity queries.

abstract PagedIterable<EntityQueryInner> list(String resourceGroupName, String workspaceName, EntityQueriesKind kind, Context context)

Gets all entity queries.

Method Details

createOrUpdate

public abstract EntityQueryInner createOrUpdate(String resourceGroupName, String workspaceName, String entityQueryId, CustomEntityQuery entityQuery)

Creates or updates the entity query.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
entityQueryId - entity query ID.
entityQuery - The entity query we want to create or update.

Returns:

specific entity query.

createOrUpdateWithResponse

public abstract Response<EntityQueryInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String entityQueryId, CustomEntityQuery entityQuery, Context context)

Creates or updates the entity query.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
entityQueryId - entity query ID.
entityQuery - The entity query we want to create or update.
context - The context to associate with this operation.

Returns:

specific entity query along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String workspaceName, String entityQueryId)

Delete the entity query.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
entityQueryId - entity query ID.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String entityQueryId, Context context)

Delete the entity query.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
entityQueryId - entity query ID.
context - The context to associate with this operation.

Returns:

get

public abstract EntityQueryInner get(String resourceGroupName, String workspaceName, String entityQueryId)

Gets an entity query.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
entityQueryId - entity query ID.

Returns:

an entity query.

getWithResponse

public abstract Response<EntityQueryInner> getWithResponse(String resourceGroupName, String workspaceName, String entityQueryId, 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.
entityQueryId - entity query ID.
context - The context to associate with this operation.

Returns:

an entity query along with Response<T>.

list

public abstract PagedIterable<EntityQueryInner> list(String resourceGroupName, String workspaceName)

Gets all entity queries.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.

Returns:

all entity queries as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<EntityQueryInner> list(String resourceGroupName, String workspaceName, EntityQueriesKind kind, Context context)

Gets all entity queries.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
kind - The entity query kind we want to fetch.
context - The context to associate with this operation.

Returns:

all entity queries as paginated response with PagedIterable<T>.

Applies to