Azure Native

Pulumi Official
Package maintained by Pulumi
v1.68.2 published on Tuesday, Aug 16, 2022 by Pulumi

getAlertsSuppressionRule

Describes the suppression rule 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:

AlertsSuppressionRuleName 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

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 '*'

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 this field will default to the maximum allowed expiration date.

SuppressionAlertsScope Pulumi.AzureNative.Security.Outputs.SuppressionAlertsScopeResponse

The suppression conditions

AlertType string

Type of the alert to automatically suppress. For all alert types, use '*'

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 this field will default to the maximum allowed expiration date.

SuppressionAlertsScope SuppressionAlertsScopeResponse

The suppression conditions

alertType String

Type of the alert to automatically suppress. For all alert types, use '*'

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 this field will default to the maximum allowed expiration date.

suppressionAlertsScope SuppressionAlertsScopeResponse

The suppression conditions

alertType string

Type of the alert to automatically suppress. For all alert types, use '*'

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 this field will default to the maximum allowed expiration date.

suppressionAlertsScope SuppressionAlertsScopeResponse

The suppression conditions

alert_type str

Type of the alert to automatically suppress. For all alert types, use '*'

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 this field will default to the maximum allowed expiration date.

suppression_alerts_scope SuppressionAlertsScopeResponse

The suppression conditions

alertType String

Type of the alert to automatically suppress. For all alert types, use '*'

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 this field will default to the maximum allowed expiration date.

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 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

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

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0