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