These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.security.getAlertsSuppressionRule
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription 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>
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]
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 CompletableFuture<GetAlertsSuppressionRuleResult> getAlertsSuppressionRule(GetAlertsSuppressionRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:security:getAlertsSuppressionRule
arguments:
# arguments dictionary
The following arguments are supported:
- Alerts
Suppression stringRule Name - The unique name of the suppression alert rule
- Alerts
Suppression stringRule Name - The unique name of the suppression alert rule
- alerts
Suppression StringRule Name - The unique name of the suppression alert rule
- alerts
Suppression stringRule Name - The unique name of the suppression alert rule
- alerts_
suppression_ strrule_ name - The unique name of the suppression alert rule
- alerts
Suppression StringRule Name - The unique name of the suppression alert rule
getAlertsSuppressionRule Result
The following output properties are available:
- Alert
Type string - Type of the alert to automatically suppress. For all alert types, use '*'
- Id string
- Resource Id
- Last
Modified stringUtc - 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
- Expiration
Date stringUtc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
- Suppression
Alerts Pulumi.Scope Azure Native. Security. Outputs. Suppression Alerts Scope Response - The suppression conditions
- Alert
Type string - Type of the alert to automatically suppress. For all alert types, use '*'
- Id string
- Resource Id
- Last
Modified stringUtc - 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
- Expiration
Date stringUtc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
- Suppression
Alerts SuppressionScope Alerts Scope Response - The suppression conditions
- alert
Type String - Type of the alert to automatically suppress. For all alert types, use '*'
- id String
- Resource Id
- last
Modified StringUtc - 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
- expiration
Date StringUtc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
- suppression
Alerts SuppressionScope Alerts Scope Response - The suppression conditions
- alert
Type string - Type of the alert to automatically suppress. For all alert types, use '*'
- id string
- Resource Id
- last
Modified stringUtc - 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
- expiration
Date stringUtc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
- suppression
Alerts SuppressionScope Alerts Scope Response - The suppression conditions
- alert_
type str - Type of the alert to automatically suppress. For all alert types, use '*'
- id str
- Resource Id
- last_
modified_ strutc - 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_ strutc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
- suppression_
alerts_ Suppressionscope Alerts Scope Response - The suppression conditions
- alert
Type String - Type of the alert to automatically suppress. For all alert types, use '*'
- id String
- Resource Id
- last
Modified StringUtc - 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
- expiration
Date StringUtc - Expiration date of the rule, if value is not provided or provided as null this field will default to the maximum allowed expiration date.
- suppression
Alerts Property MapScope - 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
- All
Of List<Pulumi.Azure Native. Security. Inputs. Scope Element Response> - All the conditions inside need to be true in order to suppress the alert
- All
Of []ScopeElement Response - All the conditions inside need to be true in order to suppress the alert
- all
Of List<ScopeElement Response> - All the conditions inside need to be true in order to suppress the alert
- all
Of ScopeElement Response[] - All the conditions inside need to be true in order to suppress the alert
- all_
of Sequence[ScopeElement Response] - All the conditions inside need to be true in order to suppress the alert
- all
Of List<Property Map> - All the conditions inside need to be true in order to suppress the alert
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi