Show / Hide Table of Contents

Class Notifier

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

Constructors

View Source

Notifier(String, NotifierArgs, CustomResourceOptions)

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

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

The unique name of the resource

NotifierArgs 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

Annotations

Annotations for notifier object (map)

Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

ClusterId

The cluster id where create notifier (string)

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

Description

The notifier description (string)

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

Labels

Labels for notifier object (map)

Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Name

The name of the notifier (string)

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

PagerdutyConfig

Pagerduty config for notifier (list maxitems:1)

Declaration
public Output<NotifierPagerdutyConfig> PagerdutyConfig { get; }
Property Value
Type Description
Output<NotifierPagerdutyConfig>
View Source

SendResolved

= (Optional) Enable the notifier to send resolved notifications. Default false (bool)

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

SlackConfig

Slack config for notifier (list maxitems:1)

Declaration
public Output<NotifierSlackConfig> SlackConfig { get; }
Property Value
Type Description
Output<NotifierSlackConfig>
View Source

SmtpConfig

SMTP config for notifier (list maxitems:1)

Declaration
public Output<NotifierSmtpConfig> SmtpConfig { get; }
Property Value
Type Description
Output<NotifierSmtpConfig>
View Source

WebhookConfig

Webhook config for notifier (list maxitems:1)

Declaration
public Output<NotifierWebhookConfig> WebhookConfig { get; }
Property Value
Type Description
Output<NotifierWebhookConfig>
View Source

WechatConfig

Wechat config for notifier (list maxitems:1)

Declaration
public Output<NotifierWechatConfig> WechatConfig { get; }
Property Value
Type Description
Output<NotifierWechatConfig>

Methods

View Source

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

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

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

NotifierState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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