次の方法で共有


AlertsManagementExtensions クラス

定義

Azure.ResourceManager.AlertsManagement に拡張メソッドを追加するクラス。

public static class AlertsManagementExtensions
type AlertsManagementExtensions = class
Public Module AlertsManagementExtensions
継承
AlertsManagementExtensions

メソッド

GetAlertProcessingRule(ResourceGroupResource, String, CancellationToken)

名前でアラート処理ルールを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
  • 操作IdAlertProcessingRules_GetByName
GetAlertProcessingRuleAsync(ResourceGroupResource, String, CancellationToken)

名前でアラート処理ルールを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AlertsManagement/actionRules/{alertProcessingRuleName}
  • 操作IdAlertProcessingRules_GetByName
GetAlertProcessingRuleResource(ArmClient, ResourceIdentifier)

に対して AlertProcessingRuleResource 実行できるが、データを含まないインスタンス操作と共に を表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String) して、そのコンポーネントから を AlertProcessingRuleResourceResourceIdentifier 作成できます。

GetAlertProcessingRules(ResourceGroupResource)

ResourceGroupResource 内の AlertProcessingRuleResources のコレクションを取得します。

GetAlertProcessingRules(SubscriptionResource, CancellationToken)

サブスクリプション内のすべてのアラート処理ルールを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules
  • 操作IdAlertProcessingRules_ListBySubscription
GetAlertProcessingRulesAsync(SubscriptionResource, CancellationToken)

サブスクリプション内のすべてのアラート処理ルールを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/actionRules
  • 操作IdAlertProcessingRules_ListBySubscription
GetServiceAlert(SubscriptionResource, Guid, CancellationToken)

特定のアラートに関連する情報を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
  • 操作IdAlerts_GetById
GetServiceAlertAsync(SubscriptionResource, Guid, CancellationToken)

特定のアラートに関連する情報を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}
  • 操作IdAlerts_GetById
GetServiceAlertMetadata(TenantResource, RetrievedInformationIdentifier, CancellationToken)

識別子パラメーターの値に基づいてアラートメタデータ情報を一覧表示します。

  • 要求パス/プロバイダー/Microsoft.AlertsManagement/alertsMetaData
  • 操作IdAlerts_MetaData
GetServiceAlertMetadataAsync(TenantResource, RetrievedInformationIdentifier, CancellationToken)

識別子パラメーターの値に基づいてアラートメタデータ情報を一覧表示します。

  • 要求パス/プロバイダー/Microsoft.AlertsManagement/alertsMetaData
  • 操作IdAlerts_MetaData
GetServiceAlertResource(ArmClient, ResourceIdentifier)

に対して ServiceAlertResource 実行できるが、データを含まないインスタンス操作と共に を表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, Guid) して、そのコンポーネントから を ServiceAlertResourceResourceIdentifier 作成できます。

GetServiceAlerts(SubscriptionResource)

SubscriptionResource 内の ServiceAlertResources のコレクションを取得します。

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

さまざまなパラメーターでグループ化されたアラートの集計された数を取得します (たとえば、"重大度" でグループ化すると、各重大度のアラートの数が返されます)。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • 操作IdAlerts_GetSummary
GetServiceAlertSummary(SubscriptionResource, SubscriptionResourceGetServiceAlertSummaryOptions, CancellationToken)

さまざまなパラメーターでグループ化されたアラートの集計された数を取得します (たとえば、"重大度" でグループ化すると、各重大度のアラートの数が返されます)。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • 操作IdAlerts_GetSummary
GetServiceAlertSummaryAsync(SubscriptionResource, AlertsSummaryGroupByField, Nullable<Boolean>, String, String, String, Nullable<MonitorServiceSourceForAlert>, Nullable<MonitorCondition>, Nullable<ServiceAlertSeverity>, Nullable<ServiceAlertState>, String, Nullable<TimeRangeFilter>, String, CancellationToken)

さまざまなパラメーターでグループ化されたアラートの集計された数を取得します (たとえば、"重大度" でグループ化すると、各重大度のアラートの数が返されます)。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • 操作IdAlerts_GetSummary
GetServiceAlertSummaryAsync(SubscriptionResource, SubscriptionResourceGetServiceAlertSummaryOptions, CancellationToken)

さまざまなパラメーターでグループ化されたアラートの集計された数を取得します (たとえば、"重大度" でグループ化すると、各重大度のアラートの数が返されます)。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary
  • 操作IdAlerts_GetSummary
GetSmartGroup(SubscriptionResource, Guid, CancellationToken)

特定のスマート グループに関連する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • 操作IdSmartGroups_GetById
GetSmartGroupAsync(SubscriptionResource, Guid, CancellationToken)

特定のスマート グループに関連する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}
  • 操作IdSmartGroups_GetById
GetSmartGroupResource(ArmClient, ResourceIdentifier)

に対して SmartGroupResource 実行できるが、データを含まないインスタンス操作と共に を表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, Guid) して、そのコンポーネントから を SmartGroupResourceResourceIdentifier 作成できます。

GetSmartGroups(SubscriptionResource)

SubscriptionResource 内の SmartGroupResources のコレクションを取得します。

適用対象