Share via


TablesClient Interface

public interface TablesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<TableInner>,TableInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update or Create a Log Analytics workspace table.

abstract SyncPoller<PollResult<TableInner>,TableInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update or Create a Log Analytics workspace table.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String tableName)

Delete a Log Analytics workspace table.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String tableName, Context context)

Delete a Log Analytics workspace table.

abstract SyncPoller<PollResult<TableInner>,TableInner> beginUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update a Log Analytics workspace table.

abstract SyncPoller<PollResult<TableInner>,TableInner> beginUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update a Log Analytics workspace table.

abstract void cancelSearch(String resourceGroupName, String workspaceName, String tableName)

Cancel a log analytics workspace search results table query run.

abstract Response<Void> cancelSearchWithResponse(String resourceGroupName, String workspaceName, String tableName, Context context)

Cancel a log analytics workspace search results table query run.

abstract TableInner createOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update or Create a Log Analytics workspace table.

abstract TableInner createOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update or Create a Log Analytics workspace table.

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

Delete a Log Analytics workspace table.

abstract void delete(String resourceGroupName, String workspaceName, String tableName, Context context)

Delete a Log Analytics workspace table.

abstract TableInner get(String resourceGroupName, String workspaceName, String tableName)

Gets a Log Analytics workspace table.

abstract Response<TableInner> getWithResponse(String resourceGroupName, String workspaceName, String tableName, Context context)

Gets a Log Analytics workspace table.

abstract PagedIterable<TableInner> listByWorkspace(String resourceGroupName, String workspaceName)

Gets all the tables for the specified Log Analytics workspace.

abstract PagedIterable<TableInner> listByWorkspace(String resourceGroupName, String workspaceName, Context context)

Gets all the tables for the specified Log Analytics workspace.

abstract void migrate(String resourceGroupName, String workspaceName, String tableName)

Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.

abstract Response<Void> migrateWithResponse(String resourceGroupName, String workspaceName, String tableName, Context context)

Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.

abstract TableInner update(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update a Log Analytics workspace table.

abstract TableInner update(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update a Log Analytics workspace table.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<TableInner>,TableInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update or Create a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.

Returns:

the SyncPoller<T,U> for polling of workspace data table definition.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<TableInner>,TableInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update or Create a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of workspace data table definition.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String tableName)

Delete a Log Analytics workspace table.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String tableName, Context context)

Delete a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<TableInner>,TableInner> beginUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.

Returns:

the SyncPoller<T,U> for polling of workspace data table definition.

beginUpdate

public abstract SyncPoller<PollResult<TableInner>,TableInner> beginUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of workspace data table definition.

cancelSearch

public abstract void cancelSearch(String resourceGroupName, String workspaceName, String tableName)

Cancel a log analytics workspace search results table query run.

Parameters:

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

cancelSearchWithResponse

public abstract Response<Void> cancelSearchWithResponse(String resourceGroupName, String workspaceName, String tableName, Context context)

Cancel a log analytics workspace search results table query run.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
context - The context to associate with this operation.

Returns:

createOrUpdate

public abstract TableInner createOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update or Create a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.

Returns:

workspace data table definition.

createOrUpdate

public abstract TableInner createOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update or Create a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.
context - The context to associate with this operation.

Returns:

workspace data table definition.

delete

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

Delete a Log Analytics workspace table.

Parameters:

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

delete

public abstract void delete(String resourceGroupName, String workspaceName, String tableName, Context context)

Delete a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
context - The context to associate with this operation.

get

public abstract TableInner get(String resourceGroupName, String workspaceName, String tableName)

Gets a Log Analytics workspace table.

Parameters:

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

Returns:

a Log Analytics workspace table.

getWithResponse

public abstract Response<TableInner> getWithResponse(String resourceGroupName, String workspaceName, String tableName, Context context)

Gets a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
context - The context to associate with this operation.

Returns:

a Log Analytics workspace table along with Response<T>.

listByWorkspace

public abstract PagedIterable<TableInner> listByWorkspace(String resourceGroupName, String workspaceName)

Gets all the tables for the specified Log Analytics workspace.

Parameters:

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

Returns:

all the tables for the specified Log Analytics workspace as paginated response with PagedIterable<T>.

listByWorkspace

public abstract PagedIterable<TableInner> listByWorkspace(String resourceGroupName, String workspaceName, Context context)

Gets all the tables for the specified Log Analytics workspace.

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 the tables for the specified Log Analytics workspace as paginated response with PagedIterable<T>.

migrate

public abstract void migrate(String resourceGroupName, String workspaceName, String tableName)

Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.

Parameters:

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

migrateWithResponse

public abstract Response<Void> migrateWithResponse(String resourceGroupName, String workspaceName, String tableName, Context context)

Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
context - The context to associate with this operation.

Returns:

update

public abstract TableInner update(String resourceGroupName, String workspaceName, String tableName, TableInner parameters)

Update a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.

Returns:

workspace data table definition.

update

public abstract TableInner update(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, Context context)

Update a Log Analytics workspace table.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
tableName - The name of the table.
parameters - The parameters required to update table properties.
context - The context to associate with this operation.

Returns:

workspace data table definition.

Applies to