1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. security
  6. getAlertsSuppressionRule
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.26.0
published on Thursday, Aug 13, 2026 by Pulumi

    Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription

    Uses Azure REST API version 2019-01-01-preview.

    Using getAlertsSuppressionRule

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAlertsSuppressionRule(args: GetAlertsSuppressionRuleArgs, opts?: InvokeOptions): Promise<GetAlertsSuppressionRuleResult>
    function getAlertsSuppressionRuleOutput(args: GetAlertsSuppressionRuleOutputArgs, opts?: InvokeOutputOptions): Output<GetAlertsSuppressionRuleResult>
    def get_alerts_suppression_rule(alerts_suppression_rule_name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetAlertsSuppressionRuleResult
    def get_alerts_suppression_rule_output(alerts_suppression_rule_name: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetAlertsSuppressionRuleResult]
    func LookupAlertsSuppressionRule(ctx *Context, args *LookupAlertsSuppressionRuleArgs, opts ...InvokeOption) (*LookupAlertsSuppressionRuleResult, error)
    func LookupAlertsSuppressionRuleOutput(ctx *Context, args *LookupAlertsSuppressionRuleOutputArgs, opts ...InvokeOption) LookupAlertsSuppressionRuleResultOutput

    > Note: This function is named LookupAlertsSuppressionRule in the Go SDK.

    public static class GetAlertsSuppressionRule 
    {
        public static Task<GetAlertsSuppressionRuleResult> InvokeAsync(GetAlertsSuppressionRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetAlertsSuppressionRuleResult> Invoke(GetAlertsSuppressionRuleInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAlertsSuppressionRuleResult> Invoke(GetAlertsSuppressionRuleInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAlertsSuppressionRuleResult> getAlertsSuppressionRule(GetAlertsSuppressionRuleArgs args, InvokeOptions options)
    public static Output<GetAlertsSuppressionRuleResult> getAlertsSuppressionRule(GetAlertsSuppressionRuleArgs args, InvokeOptions options)
    public static Output<GetAlertsSuppressionRuleResult> getAlertsSuppressionRule(GetAlertsSuppressionRuleArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: azure-native:security:getAlertsSuppressionRule
      arguments:
        # arguments dictionary
    data "azure-native_security_get_alerts_suppression_rule" "name" {
        # arguments
    }

    The following arguments are supported:

    AlertsSuppressionRuleName string
    The unique name of the suppression alert rule
    AlertsSuppressionRuleName string
    The unique name of the suppression alert rule
    alerts_suppression_rule_name string
    The unique name of the suppression alert rule
    alertsSuppressionRuleName String
    The unique name of the suppression alert rule
    alertsSuppressionRuleName string
    The unique name of the suppression alert rule
    alerts_suppression_rule_name str
    The unique name of the suppression alert rule
    alertsSuppressionRuleName String
    The unique name of the suppression alert rule

    getAlertsSuppressionRule Result

    The following output properties are available:

    AlertType string
    Type of the alert to automatically suppress. For all alert types, use '*'
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    LastModifiedUtc string
    The last time this rule was modified
    Name string
    The name of the resource
    Reason string
    The reason for dismissing the alert
    State string
    Possible states of the rule
    SystemData Pulumi.AzureNative.Security.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Comment string
    Any comment regarding the rule
    ExpirationDateUtc string
    Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
    SuppressionAlertsScope Pulumi.AzureNative.Security.Outputs.SuppressionAlertsScopeResponse
    The suppression conditions
    AlertType string
    Type of the alert to automatically suppress. For all alert types, use '*'
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    LastModifiedUtc string
    The last time this rule was modified
    Name string
    The name of the resource
    Reason string
    The reason for dismissing the alert
    State string
    Possible states of the rule
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Comment string
    Any comment regarding the rule
    ExpirationDateUtc string
    Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
    SuppressionAlertsScope SuppressionAlertsScopeResponse
    The suppression conditions
    alert_type string
    Type of the alert to automatically suppress. For all alert types, use '*'
    azure_api_version string
    The Azure API version of the resource.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    last_modified_utc string
    The last time this rule was modified
    name string
    The name of the resource
    reason string
    The reason for dismissing the alert
    state string
    Possible states of the rule
    system_data object
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    comment string
    Any comment regarding the rule
    expiration_date_utc string
    Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
    suppression_alerts_scope object
    The suppression conditions
    alertType String
    Type of the alert to automatically suppress. For all alert types, use '*'
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    lastModifiedUtc String
    The last time this rule was modified
    name String
    The name of the resource
    reason String
    The reason for dismissing the alert
    state String
    Possible states of the rule
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    comment String
    Any comment regarding the rule
    expirationDateUtc String
    Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
    suppressionAlertsScope SuppressionAlertsScopeResponse
    The suppression conditions
    alertType string
    Type of the alert to automatically suppress. For all alert types, use '*'
    azureApiVersion string
    The Azure API version of the resource.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    lastModifiedUtc string
    The last time this rule was modified
    name string
    The name of the resource
    reason string
    The reason for dismissing the alert
    state string
    Possible states of the rule
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    comment string
    Any comment regarding the rule
    expirationDateUtc string
    Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
    suppressionAlertsScope SuppressionAlertsScopeResponse
    The suppression conditions
    alert_type str
    Type of the alert to automatically suppress. For all alert types, use '*'
    azure_api_version str
    The Azure API version of the resource.
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    last_modified_utc str
    The last time this rule was modified
    name str
    The name of the resource
    reason str
    The reason for dismissing the alert
    state str
    Possible states of the rule
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    comment str
    Any comment regarding the rule
    expiration_date_utc str
    Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
    suppression_alerts_scope SuppressionAlertsScopeResponse
    The suppression conditions
    alertType String
    Type of the alert to automatically suppress. For all alert types, use '*'
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    lastModifiedUtc String
    The last time this rule was modified
    name String
    The name of the resource
    reason String
    The reason for dismissing the alert
    state String
    Possible states of the rule
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    comment String
    Any comment regarding the rule
    expirationDateUtc String
    Expiration date of the rule, if value is not provided or provided as null there will no expiration at all
    suppressionAlertsScope Property Map
    The suppression conditions

    Supporting Types

    ScopeElementResponse

    Field string
    The alert entity type to suppress by.
    Field string
    The alert entity type to suppress by.
    field string
    The alert entity type to suppress by.
    field String
    The alert entity type to suppress by.
    field string
    The alert entity type to suppress by.
    field str
    The alert entity type to suppress by.
    field String
    The alert entity type to suppress by.

    SuppressionAlertsScopeResponse

    AllOf List<Pulumi.AzureNative.Security.Inputs.ScopeElementResponse>
    All the conditions inside need to be true in order to suppress the alert
    AllOf []ScopeElementResponse
    All the conditions inside need to be true in order to suppress the alert
    all_of list(object)
    All the conditions inside need to be true in order to suppress the alert
    allOf List<ScopeElementResponse>
    All the conditions inside need to be true in order to suppress the alert
    allOf ScopeElementResponse[]
    All the conditions inside need to be true in order to suppress the alert
    all_of Sequence[ScopeElementResponse]
    All the conditions inside need to be true in order to suppress the alert
    allOf List<Property Map>
    All the conditions inside need to be true in order to suppress the alert

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    created_at string
    The timestamp of resource creation (UTC).
    created_by string
    The identity that created the resource.
    created_by_type string
    The type of identity that created the resource.
    last_modified_at string
    The timestamp of resource last modification (UTC)
    last_modified_by string
    The identity that last modified the resource.
    last_modified_by_type string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.26.0
    published on Thursday, Aug 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial