Components Interface
public interface Components
Resource collection API of Components.
Method Summary
Method Details
define
public abstract ApplicationInsightsComponent.DefinitionStages.Blank define(String name)
Begins definition for a new ApplicationInsightsComponent resource.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Deletes an Application Insights component.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, Context context)
Deletes an Application Insights component.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String resourceName)
Deletes an Application Insights component.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)
Deletes an Application Insights component.
Parameters:
Returns:
getById
public abstract ApplicationInsightsComponent getById(String id)
Returns an Application Insights component.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<ApplicationInsightsComponent> getByIdWithResponse(String id, Context context)
Returns an Application Insights component.
Parameters:
Returns:
getByResourceGroup
public abstract ApplicationInsightsComponent getByResourceGroup(String resourceGroupName, String resourceName)
Returns an Application Insights component.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<ApplicationInsightsComponent> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)
Returns an Application Insights component.
Parameters:
Returns:
getPurgeStatus
public abstract ComponentPurgeStatusResponse getPurgeStatus(String resourceGroupName, String resourceName, String purgeId)
Get status for an ongoing purge operation.
Parameters:
Returns:
getPurgeStatusWithResponse
public abstract Response<ComponentPurgeStatusResponse> getPurgeStatusWithResponse(String resourceGroupName, String resourceName, String purgeId, Context context)
Get status for an ongoing purge operation.
Parameters:
Returns:
list
public abstract PagedIterable<ApplicationInsightsComponent> list()
Gets a list of all Application Insights components within a subscription.
Returns:
list
public abstract PagedIterable<ApplicationInsightsComponent> list(Context context)
Gets a list of all Application Insights components within a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<ApplicationInsightsComponent> listByResourceGroup(String resourceGroupName)
Gets a list of Application Insights components within a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<ApplicationInsightsComponent> listByResourceGroup(String resourceGroupName, Context context)
Gets a list of Application Insights components within a resource group.
Parameters:
Returns:
purge
public abstract ComponentPurgeResponse purge(String resourceGroupName, String resourceName, ComponentPurgeBody body)
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. Note: this operation is intended for Classic resources, for workspace-based Application Insights resource please run purge operation (directly on the workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific resource id.
Parameters:
Returns:
purgeWithResponse
public abstract Response<ComponentPurgeResponse> purgeWithResponse(String resourceGroupName, String resourceName, ComponentPurgeBody body, Context context)
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. Note: this operation is intended for Classic resources, for workspace-based Application Insights resource please run purge operation (directly on the workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific resource id.
Parameters:
Returns: