AlertsManagementExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.AlertsManagement.

public static class AlertsManagementExtensions
type AlertsManagementExtensions = class
Public Module AlertsManagementExtensions
Inheritance
AlertsManagementExtensions

Methods

GetAlertProcessingRule(ResourceGroupResource, String, CancellationToken)

Get an alert processing rule by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
  • Operation Id: AlertProcessingRules_GetByName
GetAlertProcessingRuleAsync(ResourceGroupResource, String, CancellationToken)

Get an alert processing rule by name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
  • Operation Id: AlertProcessingRules_GetByName
GetAlertProcessingRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing an AlertProcessingRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an AlertProcessingRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAlertProcessingRuleResource(ResourceIdentifier) instead.

GetAlertProcessingRules(ResourceGroupResource)

Gets a collection of AlertProcessingRuleResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAlertProcessingRules() instead.

GetAlertProcessingRules(SubscriptionResource, CancellationToken)

List all alert processing rules in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules
  • Operation Id: AlertProcessingRules_ListBySubscription
GetAlertProcessingRulesAsync(SubscriptionResource, CancellationToken)

List all alert processing rules in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules
  • Operation Id: AlertProcessingRules_ListBySubscription
GetServiceAlert(SubscriptionResource, Guid, CancellationToken)

Get information related to a specific alert

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
  • Operation Id: Alerts_GetById
GetServiceAlertAsync(SubscriptionResource, Guid, CancellationToken)

Get information related to a specific alert

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
  • Operation Id: Alerts_GetById
GetServiceAlertMetadata(TenantResource, RetrievedInformationIdentifier, CancellationToken)

List alerts meta data information based on value of identifier parameter.

  • Request Path: /providers/Microsoft.AlertsManagement/alertsMetaData
  • Operation Id: Alerts_MetaData
GetServiceAlertMetadataAsync(TenantResource, RetrievedInformationIdentifier, CancellationToken)

List alerts meta data information based on value of identifier parameter.

  • Request Path: /providers/Microsoft.AlertsManagement/alertsMetaData
  • Operation Id: Alerts_MetaData
GetServiceAlertResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServiceAlertResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, Guid) to create a ServiceAlertResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetServiceAlertResource(ResourceIdentifier) instead.

GetServiceAlerts(SubscriptionResource)

Gets a collection of ServiceAlertResources in the SubscriptionResource. MockingTo mock this method, please mock GetServiceAlerts() instead.

GetServiceAlertSummary(SubscriptionResource, AlertsSummaryGroupByField, Nullable<Boolean>, String, String, String, Nullable<MonitorServiceSourceForAlert>, Nullable<MonitorCondition>, Nullable<ServiceAlertSeverity>, Nullable<ServiceAlertState>, String, Nullable<TimeRangeFilter>, String, CancellationToken)

Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • Operation Id: Alerts_GetSummary
GetServiceAlertSummary(SubscriptionResource, SubscriptionResourceGetServiceAlertSummaryOptions, CancellationToken)

Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • Operation Id: Alerts_GetSummary
GetServiceAlertSummaryAsync(SubscriptionResource, AlertsSummaryGroupByField, Nullable<Boolean>, String, String, String, Nullable<MonitorServiceSourceForAlert>, Nullable<MonitorCondition>, Nullable<ServiceAlertSeverity>, Nullable<ServiceAlertState>, String, Nullable<TimeRangeFilter>, String, CancellationToken)

Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • Operation Id: Alerts_GetSummary
GetServiceAlertSummaryAsync(SubscriptionResource, SubscriptionResourceGetServiceAlertSummaryOptions, CancellationToken)

Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • Operation Id: Alerts_GetSummary
GetSmartGroup(SubscriptionResource, Guid, CancellationToken)

Get information related to a specific Smart Group.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • Operation Id: SmartGroups_GetById
GetSmartGroupAsync(SubscriptionResource, Guid, CancellationToken)

Get information related to a specific Smart Group.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • Operation Id: SmartGroups_GetById
GetSmartGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a SmartGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, Guid) to create a SmartGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSmartGroupResource(ResourceIdentifier) instead.

GetSmartGroups(SubscriptionResource)

Gets a collection of SmartGroupResources in the SubscriptionResource. MockingTo mock this method, please mock GetSmartGroups() instead.

Applies to