Show / Hide Table of Contents

Class GetScheduledQueryRulesAlert

Inheritance
System.Object
GetScheduledQueryRulesAlert
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public static class GetScheduledQueryRulesAlert

Methods

View Source

InvokeAsync(GetScheduledQueryRulesAlertArgs, InvokeOptions)

Use this data source to access the properties of an AlertingAction scheduled query rule.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.Monitoring.GetScheduledQueryRulesAlert.InvokeAsync(new Azure.Monitoring.GetScheduledQueryRulesAlertArgs
    {
        Name = "tfex-queryrule",
        ResourceGroupName = "example-rg",
    }));
    this.QueryRuleId = example.Apply(example => example.Id);
}

[Output("queryRuleId")]
public Output<string> QueryRuleId { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetScheduledQueryRulesAlertResult> InvokeAsync(GetScheduledQueryRulesAlertArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetScheduledQueryRulesAlertArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetScheduledQueryRulesAlertResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.