1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getAlertsSuppressionRule
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.security.getAlertsSuppressionRule

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 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?: InvokeOptions): Output<GetAlertsSuppressionRuleResult>
Copy
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: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAlertsSuppressionRuleResult]
Copy
func LookupAlertsSuppressionRule(ctx *Context, args *LookupAlertsSuppressionRuleArgs, opts ...InvokeOption) (*LookupAlertsSuppressionRuleResult, error)
func LookupAlertsSuppressionRuleOutput(ctx *Context, args *LookupAlertsSuppressionRuleOutputArgs, opts ...InvokeOption) LookupAlertsSuppressionRuleResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAlertsSuppressionRuleResult> getAlertsSuppressionRule(GetAlertsSuppressionRuleArgs args, InvokeOptions options)
public static Output<GetAlertsSuppressionRuleResult> getAlertsSuppressionRule(GetAlertsSuppressionRuleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:security:getAlertsSuppressionRule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AlertsSuppressionRuleName
This property is required.
Changes to this property will trigger replacement.
string
The unique name of the suppression alert rule
AlertsSuppressionRuleName
This property is required.
Changes to this property will trigger replacement.
string
The unique name of the suppression alert rule
alertsSuppressionRuleName
This property is required.
Changes to this property will trigger replacement.
String
The unique name of the suppression alert rule
alertsSuppressionRuleName
This property is required.
Changes to this property will trigger replacement.
string
The unique name of the suppression alert rule
alerts_suppression_rule_name
This property is required.
Changes to this property will trigger replacement.
str
The unique name of the suppression alert rule
alertsSuppressionRuleName
This property is required.
Changes to this property will trigger replacement.
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
Resource Id
LastModifiedUtc string
The last time this rule was modified
Name string
Resource name
Reason string
The reason for dismissing the alert
State string
Possible states of the rule
Type string
Resource type
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
Resource Id
LastModifiedUtc string
The last time this rule was modified
Name string
Resource name
Reason string
The reason for dismissing the alert
State string
Possible states of the rule
Type string
Resource type
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
Resource Id
lastModifiedUtc String
The last time this rule was modified
name String
Resource name
reason String
The reason for dismissing the alert
state String
Possible states of the rule
type String
Resource type
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
Resource Id
lastModifiedUtc string
The last time this rule was modified
name string
Resource name
reason string
The reason for dismissing the alert
state string
Possible states of the rule
type string
Resource type
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
Resource Id
last_modified_utc str
The last time this rule was modified
name str
Resource name
reason str
The reason for dismissing the alert
state str
Possible states of the rule
type str
Resource type
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
Resource Id
lastModifiedUtc String
The last time this rule was modified
name String
Resource name
reason String
The reason for dismissing the alert
state String
Possible states of the rule
type String
Resource type
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 str
The alert entity type to suppress by.
field String
The alert entity type to suppress by.

SuppressionAlertsScopeResponse

AllOf This property is required. List<Pulumi.AzureNative.Security.Inputs.ScopeElementResponse>
All the conditions inside need to be true in order to suppress the alert
AllOf This property is required. []ScopeElementResponse
All the conditions inside need to be true in order to suppress the alert
allOf This property is required. List<ScopeElementResponse>
All the conditions inside need to be true in order to suppress the alert
allOf This property is required. ScopeElementResponse[]
All the conditions inside need to be true in order to suppress the alert
all_of This property is required. Sequence[ScopeElementResponse]
All the conditions inside need to be true in order to suppress the alert
allOf This property is required. List<Property Map>
All the conditions inside need to be true in order to suppress the alert

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi