WorkspacePurgeOperationsExtensions.Purge Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Purges data in an Log Analytics workspace by a set of user-defined filters.
In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.
public static Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePurgeResponse Purge (this Microsoft.Azure.Management.OperationalInsights.IWorkspacePurgeOperations operations, string resourceGroupName, string workspaceName, Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePurgeBody body);
static member Purge : Microsoft.Azure.Management.OperationalInsights.IWorkspacePurgeOperations * string * string * Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePurgeBody -> Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePurgeResponse
<Extension()>
Public Function Purge (operations As IWorkspacePurgeOperations, resourceGroupName As String, workspaceName As String, body As WorkspacePurgeBody) As WorkspacePurgeResponse
Parameters
- operations
- IWorkspacePurgeOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- workspaceName
- String
The name of the workspace.
- body
- WorkspacePurgeBody
Describes the body of a request to purge data in a single table of an Log Analytics Workspace
Returns
Applies to
Azure SDK for .NET