Delen via


ComponentsOperationsExtensions.Purge Method

Definition

Purges data in an Application Insights component 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.ApplicationInsights.Management.Models.ComponentPurgeResponse Purge (this Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ApplicationInsights.Management.Models.ComponentPurgeBody body);
static member Purge : Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.ComponentPurgeBody -> Microsoft.Azure.Management.ApplicationInsights.Management.Models.ComponentPurgeResponse
<Extension()>
Public Function Purge (operations As IComponentsOperations, resourceGroupName As String, resourceName As String, body As ComponentPurgeBody) As ComponentPurgeResponse

Parameters

operations
IComponentsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

body
ComponentPurgeBody

Describes the body of a request to purge data in a single table of an Application Insights component

Returns

Applies to