SecurityInsightsIncidentResource.GetAlertsAsync(CancellationToken) 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.
Gets all incident alerts.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts
- Operation Id: Incidents_ListAlerts
- Default Api Version: 2024-01-01-preview
- Resource: SecurityInsightsIncidentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAlert> GetAlertsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAlertsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAlert>
override this.GetAlertsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAlert>
Public Overridable Function GetAlertsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecurityInsightsAlert)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of SecurityInsightsAlert that may take multiple service requests to iterate over.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET