Class GetProjectAlertGroup
Inheritance
System.Object
GetProjectAlertGroup
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 GetProjectAlertGroup
Methods
View SourceInvokeAsync(GetProjectAlertGroupArgs, InvokeOptions)
Use this data source to retrieve information about a Rancher v2 project alert group.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
class MyStack : Stack
{
public MyStack()
{
var foo = Output.Create(Rancher2.GetProjectAlertGroup.InvokeAsync(new Rancher2.GetProjectAlertGroupArgs
{
Name = "<project_alert_group_name>",
ProjectId = "<project_id>",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetProjectAlertGroupResult> InvokeAsync(GetProjectAlertGroupArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetProjectAlertGroupArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetProjectAlertGroupResult> |