ApplicationInsightsComponentResource.DeleteAnalyticsItemAsync 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.
Overloads
DeleteAnalyticsItemAsync(AnalyticsItemScopePath, String, String, CancellationToken) |
Deletes a specific Analytics Items defined within an Application Insights component.
|
DeleteAnalyticsItemAsync(ItemScopePath, String, String, CancellationToken) |
Deletes a specific Analytics Items defined within an Application Insights component.
|
DeleteAnalyticsItemAsync(AnalyticsItemScopePath, String, String, CancellationToken)
Deletes a specific Analytics Items defined within an Application Insights component.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
- Operation Id: AnalyticsItems_Delete
- Default Api Version: 2015-05-01
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAnalyticsItemAsync (Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAnalyticsItemAsync (scopePath As AnalyticsItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- scopePath
- AnalyticsItemScopePath
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- id
- String
The Id of a specific item defined in the Application Insights component.
- name
- String
The name of a specific item defined in the Application Insights component.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
DeleteAnalyticsItemAsync(ItemScopePath, String, String, CancellationToken)
Deletes a specific Analytics Items defined within an Application Insights component.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
- Operation Id: AnalyticsItems_Delete
- Default Api Version: 2015-05-01
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAnalyticsItemAsync (Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAnalyticsItemAsync (scopePath As ItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- scopePath
- ItemScopePath
Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
- id
- String
The Id of a specific item defined in the Application Insights component.
- name
- String
The name of a specific item defined in the Application Insights component.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Azure SDK for .NET