azure-native.securityinsights.getFusionAlertRule
Gets the alert rule. API Version: 2020-01-01.
Using getFusionAlertRule
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 getFusionAlertRule(args: GetFusionAlertRuleArgs, opts?: InvokeOptions): Promise<GetFusionAlertRuleResult>
function getFusionAlertRuleOutput(args: GetFusionAlertRuleOutputArgs, opts?: InvokeOptions): Output<GetFusionAlertRuleResult>
def get_fusion_alert_rule(resource_group_name: Optional[str] = None,
rule_id: Optional[str] = None,
workspace_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFusionAlertRuleResult
def get_fusion_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None,
rule_id: Optional[pulumi.Input[str]] = None,
workspace_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFusionAlertRuleResult]
func LookupFusionAlertRule(ctx *Context, args *LookupFusionAlertRuleArgs, opts ...InvokeOption) (*LookupFusionAlertRuleResult, error)
func LookupFusionAlertRuleOutput(ctx *Context, args *LookupFusionAlertRuleOutputArgs, opts ...InvokeOption) LookupFusionAlertRuleResultOutput
> Note: This function is named LookupFusionAlertRule
in the Go SDK.
public static class GetFusionAlertRule
{
public static Task<GetFusionAlertRuleResult> InvokeAsync(GetFusionAlertRuleArgs args, InvokeOptions? opts = null)
public static Output<GetFusionAlertRuleResult> Invoke(GetFusionAlertRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFusionAlertRuleResult> getFusionAlertRule(GetFusionAlertRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:securityinsights:getFusionAlertRule
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName The name of the resource group within the user's subscription. The name is case insensitive.
- Rule
Id string Alert rule ID
- Workspace
Name string The name of the workspace.
- Resource
Group stringName The name of the resource group within the user's subscription. The name is case insensitive.
- Rule
Id string Alert rule ID
- Workspace
Name string The name of the workspace.
- resource
Group StringName The name of the resource group within the user's subscription. The name is case insensitive.
- rule
Id String Alert rule ID
- workspace
Name String The name of the workspace.
- resource
Group stringName The name of the resource group within the user's subscription. The name is case insensitive.
- rule
Id string Alert rule ID
- workspace
Name string The name of the workspace.
- resource_
group_ strname The name of the resource group within the user's subscription. The name is case insensitive.
- rule_
id str Alert rule ID
- workspace_
name str The name of the workspace.
- resource
Group StringName The name of the resource group within the user's subscription. The name is case insensitive.
- rule
Id String Alert rule ID
- workspace
Name String The name of the workspace.
getFusionAlertRule Result
The following output properties are available:
- Alert
Rule stringTemplate Name The Name of the alert rule template used to create this rule.
- Description string
The description of the alert rule.
- Display
Name string The display name for alerts created by this alert rule.
- Enabled bool
Determines whether this alert rule is enabled or disabled.
- Id string
Azure resource Id
- Last
Modified stringUtc The last time that this alert has been modified.
- Name string
Azure resource name
- Severity string
The severity for alerts created by this alert rule.
- Tactics List<string>
The tactics of the alert rule
- Type string
Azure resource type
- Etag string
Etag of the azure resource
- Alert
Rule stringTemplate Name The Name of the alert rule template used to create this rule.
- Description string
The description of the alert rule.
- Display
Name string The display name for alerts created by this alert rule.
- Enabled bool
Determines whether this alert rule is enabled or disabled.
- Id string
Azure resource Id
- Last
Modified stringUtc The last time that this alert has been modified.
- Name string
Azure resource name
- Severity string
The severity for alerts created by this alert rule.
- Tactics []string
The tactics of the alert rule
- Type string
Azure resource type
- Etag string
Etag of the azure resource
- alert
Rule StringTemplate Name The Name of the alert rule template used to create this rule.
- description String
The description of the alert rule.
- display
Name String The display name for alerts created by this alert rule.
- enabled Boolean
Determines whether this alert rule is enabled or disabled.
- id String
Azure resource Id
- last
Modified StringUtc The last time that this alert has been modified.
- name String
Azure resource name
- severity String
The severity for alerts created by this alert rule.
- tactics List<String>
The tactics of the alert rule
- type String
Azure resource type
- etag String
Etag of the azure resource
- alert
Rule stringTemplate Name The Name of the alert rule template used to create this rule.
- description string
The description of the alert rule.
- display
Name string The display name for alerts created by this alert rule.
- enabled boolean
Determines whether this alert rule is enabled or disabled.
- id string
Azure resource Id
- last
Modified stringUtc The last time that this alert has been modified.
- name string
Azure resource name
- severity string
The severity for alerts created by this alert rule.
- tactics string[]
The tactics of the alert rule
- type string
Azure resource type
- etag string
Etag of the azure resource
- alert_
rule_ strtemplate_ name The Name of the alert rule template used to create this rule.
- description str
The description of the alert rule.
- display_
name str The display name for alerts created by this alert rule.
- enabled bool
Determines whether this alert rule is enabled or disabled.
- id str
Azure resource Id
- last_
modified_ strutc The last time that this alert has been modified.
- name str
Azure resource name
- severity str
The severity for alerts created by this alert rule.
- tactics Sequence[str]
The tactics of the alert rule
- type str
Azure resource type
- etag str
Etag of the azure resource
- alert
Rule StringTemplate Name The Name of the alert rule template used to create this rule.
- description String
The description of the alert rule.
- display
Name String The display name for alerts created by this alert rule.
- enabled Boolean
Determines whether this alert rule is enabled or disabled.
- id String
Azure resource Id
- last
Modified StringUtc The last time that this alert has been modified.
- name String
Azure resource name
- severity String
The severity for alerts created by this alert rule.
- tactics List<String>
The tactics of the alert rule
- type String
Azure resource type
- etag String
Etag of the azure resource
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0