Class Alert
Inherited Members
Namespace: Pulumi.AliCloud.Log
Assembly: Pulumi.AliCloud.dll
Syntax
public class Alert : CustomResource
Constructors
View SourceAlert(String, AlertArgs, CustomResourceOptions)
Create a Alert resource with the given unique name, arguments, and options.
Declaration
public Alert(string name, AlertArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AlertArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAlertDescription
Alert description.
Declaration
public Output<string> AlertDescription { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AlertDisplayname
Alert displayname.
Declaration
public Output<string> AlertDisplayname { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AlertName
Name of logstore for configuring alarm service.
Declaration
public Output<string> AlertName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Condition
Conditional expression, such as: count> 100.
Declaration
public Output<string> Condition { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Dashboard
Declaration
public Output<string> Dashboard { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MuteUntil
Timestamp, notifications before closing again.
Declaration
public Output<int?> MuteUntil { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
NotificationLists
Alarm information notification list.
Declaration
public Output<ImmutableArray<AlertNotificationList>> NotificationLists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<AlertNotificationList>> |
NotifyThreshold
Notification threshold, which is not notified until the number of triggers is reached. The default is 1.
Declaration
public Output<int?> NotifyThreshold { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
ProjectName
The project name.
Declaration
public Output<string> ProjectName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
QueryLists
Multiple conditions for configured alarm query.
Declaration
public Output<ImmutableArray<AlertQueryList>> QueryLists { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<AlertQueryList>> |
ScheduleInterval
Execution interval. 60 seconds minimum, such as 60s, 1h.
Declaration
public Output<string> ScheduleInterval { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ScheduleType
Default FixedRate. No need to configure this parameter.
Declaration
public Output<string> ScheduleType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Throttling
Notification interval, default is no interval. Support number + unit type, for example 60s, 1h.
Declaration
public Output<string> Throttling { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, AlertState, CustomResourceOptions)
Get an existing Alert resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Alert Get(string name, Input<string> id, AlertState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| AlertState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Alert |