AlertIncidentsOperations Class  
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
AuthorizationManagementClient's
<xref:alert_incidents> attribute.
Constructor
AlertIncidentsOperations(*args, **kwargs)Methods
| get | Get the specified alert incident. | 
| list_for_scope | Gets alert incidents for a resource scope. | 
| remediate | Remediate an alert incident. | 
get
Get the specified alert incident.
async get(scope: str, alert_id: str, alert_incident_id: str, **kwargs: Any) -> AlertIncidentParameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | The scope of the alert incident. The scope can be any REST resource instance. For example, use '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. Required. | 
| alert_id 
				Required
			 | The name of the alert. Required. | 
| alert_incident_id 
				Required
			 | The name of the alert incident to get. Required. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| AlertIncident or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
list_for_scope
Gets alert incidents for a resource scope.
list_for_scope(scope: str, alert_id: str, **kwargs: Any) -> AsyncIterable[AlertIncident]Parameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | The scope of the alert incident. Required. | 
| alert_id 
				Required
			 | The name of the alert. Required. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| An iterator like instance of either AlertIncident or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
remediate
Remediate an alert incident.
async remediate(scope: str, alert_id: str, alert_incident_id: str, **kwargs: Any) -> NoneParameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | The scope of the alert incident. Required. | 
| alert_id 
				Required
			 | The name of the alert. Required. | 
| alert_incident_id 
				Required
			 | The name of the alert incident to remediate. Required. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| None or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
Attributes
models
models = <module 'azure.mgmt.authorization.v2022_08_01_preview.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv71\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2022_08_01_preview\\models\\__init__.py'>