Interface SummaryLogsOperationsClient
public interface SummaryLogsOperationsClient
An instance of this class provides access to all the operations defined in SummaryLogsOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SummaryLogsInner>, SummaryLogsInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters) Creates or updates Log Analytics workspace Summary rules.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SummaryLogsInner>, SummaryLogsInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters, com.azure.core.util.Context context) Creates or updates Log Analytics workspace Summary rules.beginDelete(String resourceGroupName, String workspaceName, String summaryLogsName) Deletes Log Analytics workspace Summary rules.beginDelete(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Deletes Log Analytics workspace Summary rules.beginRetryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters) Retries a failed Summary rule bin.beginRetryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters, com.azure.core.util.Context context) Retries a failed Summary rule bin.beginStart(String resourceGroupName, String workspaceName, String summaryLogsName) Starts an inactive Summary rule.beginStart(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Starts an inactive Summary rule.createOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters) Creates or updates Log Analytics workspace Summary rules.createOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters, com.azure.core.util.Context context) Creates or updates Log Analytics workspace Summary rules.voidDeletes Log Analytics workspace Summary rules.voiddelete(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Deletes Log Analytics workspace Summary rules.Gets Log Analytics workspace Summary rules.com.azure.core.http.rest.Response<SummaryLogsInner> getWithResponse(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Gets Log Analytics workspace Summary rules.com.azure.core.http.rest.PagedIterable<SummaryLogsInner> listByWorkspace(String resourceGroupName, String workspaceName) Gets all summary rules for the specified Log Analytics workspace.com.azure.core.http.rest.PagedIterable<SummaryLogsInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets all summary rules for the specified Log Analytics workspace.voidretryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters) Retries a failed Summary rule bin.voidretryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters, com.azure.core.util.Context context) Retries a failed Summary rule bin.voidStarts an inactive Summary rule.voidstart(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Starts an inactive Summary rule.voidStops an active Summary rule.com.azure.core.http.rest.Response<Void> stopWithResponse(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Stops an active Summary rule.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<SummaryLogsInner> getWithResponse(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Gets Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.context- The context to associate with this operation.- Returns:
- log Analytics workspace Summary rules 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.
-
get
Gets Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.- Returns:
- log Analytics workspace Summary rules.
- 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<SummaryLogsInner>, SummaryLogsInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters) Creates or updates Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to update summary rules properties.- Returns:
- the
SyncPollerfor polling of workspace data summary rules 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<SummaryLogsInner>, SummaryLogsInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters, com.azure.core.util.Context context) Creates or updates Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to update summary rules properties.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of workspace data summary rules 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
SummaryLogsInner createOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters) Creates or updates Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to update summary rules properties.- Returns:
- workspace data summary rules 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
SummaryLogsInner createOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters, com.azure.core.util.Context context) Creates or updates Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to update summary rules properties.context- The context to associate with this operation.- Returns:
- workspace data summary rules 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String workspaceName, String summaryLogsName) Deletes Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.- 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 summaryLogsName, com.azure.core.util.Context context) Deletes Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.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
Deletes Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.- 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 summaryLogsName, com.azure.core.util.Context context) Deletes Log Analytics workspace Summary rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.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.
-
listByWorkspace
com.azure.core.http.rest.PagedIterable<SummaryLogsInner> listByWorkspace(String resourceGroupName, String workspaceName) Gets all summary rules 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 summary rules 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<SummaryLogsInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets all summary rules 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 summary rules 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStart(String resourceGroupName, String workspaceName, String summaryLogsName) Starts an inactive Summary rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.- 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStart(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Starts an inactive Summary rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.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.
-
start
Starts an inactive Summary rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.- 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.
-
start
void start(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Starts an inactive Summary rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.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.
-
stopWithResponse
com.azure.core.http.rest.Response<Void> stopWithResponse(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context) Stops an active Summary rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.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.
-
stop
Stops an active Summary rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.- 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.
-
beginRetryBin
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginRetryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters) Retries a failed Summary rule bin.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to retry a Summary rule bin.- 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.
-
beginRetryBin
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginRetryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters, com.azure.core.util.Context context) Retries a failed Summary rule bin.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to retry a Summary rule bin.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.
-
retryBin
void retryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters) Retries a failed Summary rule bin.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to retry a Summary rule bin.- 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.
-
retryBin
void retryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters, com.azure.core.util.Context context) Retries a failed Summary rule bin.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- The name of the workspace.summaryLogsName- The name of the summary logs. Must not contain '/'.parameters- The parameters required to retry a Summary rule bin.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.
-