Show / Hide Table of Contents

Class Alert

Inheritance
System.Object
Resource
CustomResource
Alert
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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.Log
Assembly: Pulumi.AliCloud.dll
Syntax
public class Alert : CustomResource

Constructors

View Source

Alert(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 Source

AlertDescription

Alert description.

Declaration
public Output<string> AlertDescription { get; }
Property Value
Type Description
Output<System.String>
View Source

AlertDisplayname

Alert displayname.

Declaration
public Output<string> AlertDisplayname { get; }
Property Value
Type Description
Output<System.String>
View Source

AlertName

Name of logstore for configuring alarm service.

Declaration
public Output<string> AlertName { get; }
Property Value
Type Description
Output<System.String>
View Source

Condition

Conditional expression, such as: count> 100.

Declaration
public Output<string> Condition { get; }
Property Value
Type Description
Output<System.String>
View Source

Dashboard

Declaration
public Output<string> Dashboard { get; }
Property Value
Type Description
Output<System.String>
View Source

MuteUntil

Timestamp, notifications before closing again.

Declaration
public Output<int?> MuteUntil { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

NotificationLists

Alarm information notification list.

Declaration
public Output<ImmutableArray<AlertNotificationList>> NotificationLists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<AlertNotificationList>>
View Source

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>>
View Source

ProjectName

The project name.

Declaration
public Output<string> ProjectName { get; }
Property Value
Type Description
Output<System.String>
View Source

QueryLists

Multiple conditions for configured alarm query.

Declaration
public Output<ImmutableArray<AlertQueryList>> QueryLists { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<AlertQueryList>>
View Source

ScheduleInterval

Execution interval. 60 seconds minimum, such as 60s, 1h.

Declaration
public Output<string> ScheduleInterval { get; }
Property Value
Type Description
Output<System.String>
View Source

ScheduleType

Default FixedRate. No need to configure this parameter.

Declaration
public Output<string> ScheduleType { get; }
Property Value
Type Description
Output<System.String>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.