Interface TablesClient
public interface TablesClient
An instance of this class provides access to all the operations defined in TablesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableInner>,TableInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters) Update or Create a Log Analytics workspace table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableInner>,TableInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.Context context) Update or Create a Log Analytics workspace table.beginDelete(String resourceGroupName, String workspaceName, String tableName) Delete a Log Analytics workspace table.beginDelete(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.Context context) Delete a Log Analytics workspace table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableInner>,TableInner> beginUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters) Update a Log Analytics workspace table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableInner>,TableInner> beginUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.Context context) Update a Log Analytics workspace table.createOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters) Update or Create a Log Analytics workspace table.createOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.Context context) Update or Create a Log Analytics workspace table.voidDelete a Log Analytics workspace table.voiddelete(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.Context context) Delete a Log Analytics workspace table.Gets a Log Analytics workspace table.com.azure.core.http.rest.Response<TableInner>getWithResponse(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.Context context) Gets a Log Analytics workspace table.com.azure.core.http.rest.PagedIterable<TableInner>listByWorkspace(String resourceGroupName, String workspaceName) Gets all the tables for the specified Log Analytics workspace.com.azure.core.http.rest.PagedIterable<TableInner>listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets all the tables for the specified Log Analytics workspace.voidMigrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.com.azure.core.http.rest.Response<Void>migrateWithResponse(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.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.update(String resourceGroupName, String workspaceName, String tableName, TableInner parameters) Update a Log Analytics workspace table.update(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.Context context) Update a Log Analytics workspace table.
-
Method Details
-
listByWorkspace
com.azure.core.http.rest.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. - 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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<TableInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.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. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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
SyncPollerfor polling of workspace data table definition. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableInner>,TableInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.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
SyncPollerfor polling of workspace data table definition. - 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.
-
createOrUpdate
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.
- 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.
-
createOrUpdate
TableInner createOrUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.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.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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
SyncPollerfor polling of workspace data table definition. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableInner>,TableInner> beginUpdate(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.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
SyncPollerfor polling of workspace data table definition. - 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.
-
update
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.
- 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.
-
update
TableInner update(String resourceGroupName, String workspaceName, String tableName, TableInner parameters, com.azure.core.util.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.
- 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
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.
- 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<TableInner> getWithResponse(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.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. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.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
SyncPollerfor polling of long-running operation. - 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.
-
delete
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.- 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.
-
delete
void delete(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.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.- 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.
-
migrate
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.- 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.
-
migrateWithResponse
com.azure.core.http.rest.Response<Void> migrateWithResponse(String resourceGroupName, String workspaceName, String tableName, com.azure.core.util.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:
- the
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.
-