Show / Hide Table of Contents

Class Alarm

Inheritance
System.Object
Resource
CustomResource
Alarm
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.CloudAmqp
Assembly: Pulumi.CloudAmqp.dll
Syntax
public class Alarm : CustomResource

Constructors

View Source

Alarm(String, AlarmArgs, CustomResourceOptions)

Create a Alarm resource with the given unique name, arguments, and options.

Declaration
public Alarm(string name, AlarmArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AlarmArgs 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

Enabled

Enable or disable an alarm

Declaration
public Output<bool> Enabled { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

InstanceId

Instance identifier

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

MessageType

Message types (total, unacked, ready) of the queue to trigger the alarm

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

QueueRegex

Regex for which queues to check

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

Recipients

Identifiers for recipients to be notified.

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

TimeThreshold

For how long (in seconds) the value_threshold should be active before trigger alarm

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

Type

Type of the alarm, valid options are: cpu, memory, disk_usage, queue_length, connection_count, consumers_count, net_split

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

ValueThreshold

What value to trigger the alarm for

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

VhostRegex

Regex for which vhost the queues are in

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

Methods

View Source

Get(String, Input<String>, AlarmState, CustomResourceOptions)

Get an existing Alarm resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Alarm Get(string name, Input<string> id, AlarmState 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.

AlarmState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Alarm
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.