Interface Tables
public interface Tables
Resource collection API of Tables.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Table resource.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.voiddeleteById(String id) Delete a Log Analytics workspace table.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete a Log Analytics workspace table.Gets a Log Analytics workspace table.Gets a Log Analytics workspace table.com.azure.core.http.rest.Response<Table>getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a Log Analytics workspace table.com.azure.core.http.rest.Response<Table>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<Table>listByWorkspace(String resourceGroupName, String workspaceName) Gets all the tables for the specified Log Analytics workspace.com.azure.core.http.rest.PagedIterable<Table>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.
-
Method Details
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<Table> 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<Table> 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.
-
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<Table> 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.
-
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.
-
getById
Gets a Log Analytics workspace table.- Parameters:
id- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Table> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets a Log Analytics workspace table.- Parameters:
id- the resource ID.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.
-
deleteById
Delete a Log Analytics workspace table.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
Delete a Log Analytics workspace table.- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new Table resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Table definition.
-