Class Notifier
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class Notifier : CustomResource
Constructors
View SourceNotifier(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 SourceAnnotations
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>> |
ClusterId
The cluster id where create notifier (string)
Declaration
public Output<string> ClusterId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
The notifier description (string)
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
Name
The name of the notifier (string)
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PagerdutyConfig
Pagerduty config for notifier (list maxitems:1)
Declaration
public Output<NotifierPagerdutyConfig> PagerdutyConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<NotifierPagerdutyConfig> |
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>> |
SlackConfig
Slack config for notifier (list maxitems:1)
Declaration
public Output<NotifierSlackConfig> SlackConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<NotifierSlackConfig> |
SmtpConfig
SMTP config for notifier (list maxitems:1)
Declaration
public Output<NotifierSmtpConfig> SmtpConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<NotifierSmtpConfig> |
WebhookConfig
Webhook config for notifier (list maxitems:1)
Declaration
public Output<NotifierWebhookConfig> WebhookConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<NotifierWebhookConfig> |
WechatConfig
Wechat config for notifier (list maxitems:1)
Declaration
public Output<NotifierWechatConfig> WechatConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<NotifierWechatConfig> |
Methods
View SourceGet(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 |