Show / Hide Table of Contents

Class GetProjectAlertRule

Inheritance
System.Object
GetProjectAlertRule
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.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public static class GetProjectAlertRule

Methods

View Source

InvokeAsync(GetProjectAlertRuleArgs, InvokeOptions)

Use this data source to retrieve information about a Rancher v2 project alert rule.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Rancher2 = Pulumi.Rancher2;

class MyStack : Stack
{
public MyStack()
{
    var foo = Output.Create(Rancher2.GetProjectAlertRule.InvokeAsync(new Rancher2.GetProjectAlertRuleArgs
    {
        Name = "<project_alert_rule_name>",
        ProjectId = "<project_id>",
    }));
}

}

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

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