Class GetNotifications
Inheritance
System.Object
GetNotifications
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.AliCloud.Ess
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetNotifications
Methods
View SourceInvokeAsync(GetNotificationsArgs, InvokeOptions)
This data source provides available notification resources.
NOTE: Available in 1.72.0+
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var ds = Output.Create(AliCloud.Ess.GetNotifications.InvokeAsync(new AliCloud.Ess.GetNotificationsArgs
{
ScalingGroupId = "scaling_group_id",
}));
this.FirstNotification = ds.Apply(ds => ds.Notifications[0].Id);
}
[Output("firstNotification")]
public Output<string> FirstNotification { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetNotificationsResult> InvokeAsync(GetNotificationsArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetNotificationsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetNotificationsResult> |