1. Packages
  2. Rancher2
  3. API Docs
  4. Notifier
Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi

rancher2.Notifier

Explore with Pulumi AI

rancher2 logo
Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi

    Provides a Rancher v2 Notifier resource. This can be used to create notifiers for Rancher v2 environments and retrieve their information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as rancher2 from "@pulumi/rancher2";
    
    // Create a new rancher2 Notifier
    const foo = new rancher2.Notifier("foo", {
        clusterId: "<cluster_id>",
        description: "Terraform notifier acceptance test",
        pagerdutyConfig: {
            proxyUrl: "http://proxy.test.io",
            serviceKey: "XXXXXXXX",
        },
        sendResolved: true,
    });
    
    import pulumi
    import pulumi_rancher2 as rancher2
    
    # Create a new rancher2 Notifier
    foo = rancher2.Notifier("foo",
        cluster_id="<cluster_id>",
        description="Terraform notifier acceptance test",
        pagerduty_config=rancher2.NotifierPagerdutyConfigArgs(
            proxy_url="http://proxy.test.io",
            service_key="XXXXXXXX",
        ),
        send_resolved=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rancher2/sdk/v6/go/rancher2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a new rancher2 Notifier
    		_, err := rancher2.NewNotifier(ctx, "foo", &rancher2.NotifierArgs{
    			ClusterId:   pulumi.String("<cluster_id>"),
    			Description: pulumi.String("Terraform notifier acceptance test"),
    			PagerdutyConfig: &rancher2.NotifierPagerdutyConfigArgs{
    				ProxyUrl:   pulumi.String("http://proxy.test.io"),
    				ServiceKey: pulumi.String("XXXXXXXX"),
    			},
    			SendResolved: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rancher2 = Pulumi.Rancher2;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new rancher2 Notifier
        var foo = new Rancher2.Notifier("foo", new()
        {
            ClusterId = "<cluster_id>",
            Description = "Terraform notifier acceptance test",
            PagerdutyConfig = new Rancher2.Inputs.NotifierPagerdutyConfigArgs
            {
                ProxyUrl = "http://proxy.test.io",
                ServiceKey = "XXXXXXXX",
            },
            SendResolved = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rancher2.Notifier;
    import com.pulumi.rancher2.NotifierArgs;
    import com.pulumi.rancher2.inputs.NotifierPagerdutyConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var foo = new Notifier("foo", NotifierArgs.builder()        
                .clusterId("<cluster_id>")
                .description("Terraform notifier acceptance test")
                .pagerdutyConfig(NotifierPagerdutyConfigArgs.builder()
                    .proxyUrl("http://proxy.test.io")
                    .serviceKey("XXXXXXXX")
                    .build())
                .sendResolved("true")
                .build());
    
        }
    }
    
    resources:
      # Create a new rancher2 Notifier
      foo:
        type: rancher2:Notifier
        properties:
          clusterId: <cluster_id>
          description: Terraform notifier acceptance test
          pagerdutyConfig:
            proxyUrl: http://proxy.test.io
            serviceKey: XXXXXXXX
          sendResolved: 'true'
    

    Create Notifier Resource

    new Notifier(name: string, args: NotifierArgs, opts?: CustomResourceOptions);
    @overload
    def Notifier(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 annotations: Optional[Mapping[str, Any]] = None,
                 cluster_id: Optional[str] = None,
                 description: Optional[str] = None,
                 dingtalk_config: Optional[NotifierDingtalkConfigArgs] = None,
                 labels: Optional[Mapping[str, Any]] = None,
                 msteams_config: Optional[NotifierMsteamsConfigArgs] = None,
                 name: Optional[str] = None,
                 pagerduty_config: Optional[NotifierPagerdutyConfigArgs] = None,
                 send_resolved: Optional[bool] = None,
                 slack_config: Optional[NotifierSlackConfigArgs] = None,
                 smtp_config: Optional[NotifierSmtpConfigArgs] = None,
                 webhook_config: Optional[NotifierWebhookConfigArgs] = None,
                 wechat_config: Optional[NotifierWechatConfigArgs] = None)
    @overload
    def Notifier(resource_name: str,
                 args: NotifierArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewNotifier(ctx *Context, name string, args NotifierArgs, opts ...ResourceOption) (*Notifier, error)
    public Notifier(string name, NotifierArgs args, CustomResourceOptions? opts = null)
    public Notifier(String name, NotifierArgs args)
    public Notifier(String name, NotifierArgs args, CustomResourceOptions options)
    
    type: rancher2:Notifier
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args NotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NotifierArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NotifierArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NotifierArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NotifierArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Notifier Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Notifier resource accepts the following input properties:

    ClusterId string
    The cluster id where create notifier (string)
    Annotations Dictionary<string, object>
    Annotations for notifier object (map)
    Description string
    The notifier description (string)
    DingtalkConfig NotifierDingtalkConfig
    Dingtalk config for notifier (list maxitems:1)
    Labels Dictionary<string, object>
    Labels for notifier object (map)
    MsteamsConfig NotifierMsteamsConfig
    MSTeams config for notifier (list maxitems:1)
    Name string
    The name of the notifier (string)
    PagerdutyConfig NotifierPagerdutyConfig
    Pagerduty config for notifier (list maxitems:1)
    SendResolved bool
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    SlackConfig NotifierSlackConfig
    Slack config for notifier (list maxitems:1)
    SmtpConfig NotifierSmtpConfig
    SMTP config for notifier (list maxitems:1)
    WebhookConfig NotifierWebhookConfig
    Webhook config for notifier (list maxitems:1)
    WechatConfig NotifierWechatConfig
    Wechat config for notifier (list maxitems:1)
    ClusterId string
    The cluster id where create notifier (string)
    Annotations map[string]interface{}
    Annotations for notifier object (map)
    Description string
    The notifier description (string)
    DingtalkConfig NotifierDingtalkConfigArgs
    Dingtalk config for notifier (list maxitems:1)
    Labels map[string]interface{}
    Labels for notifier object (map)
    MsteamsConfig NotifierMsteamsConfigArgs
    MSTeams config for notifier (list maxitems:1)
    Name string
    The name of the notifier (string)
    PagerdutyConfig NotifierPagerdutyConfigArgs
    Pagerduty config for notifier (list maxitems:1)
    SendResolved bool
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    SlackConfig NotifierSlackConfigArgs
    Slack config for notifier (list maxitems:1)
    SmtpConfig NotifierSmtpConfigArgs
    SMTP config for notifier (list maxitems:1)
    WebhookConfig NotifierWebhookConfigArgs
    Webhook config for notifier (list maxitems:1)
    WechatConfig NotifierWechatConfigArgs
    Wechat config for notifier (list maxitems:1)
    clusterId String
    The cluster id where create notifier (string)
    annotations Map<String,Object>
    Annotations for notifier object (map)
    description String
    The notifier description (string)
    dingtalkConfig NotifierDingtalkConfig
    Dingtalk config for notifier (list maxitems:1)
    labels Map<String,Object>
    Labels for notifier object (map)
    msteamsConfig NotifierMsteamsConfig
    MSTeams config for notifier (list maxitems:1)
    name String
    The name of the notifier (string)
    pagerdutyConfig NotifierPagerdutyConfig
    Pagerduty config for notifier (list maxitems:1)
    sendResolved Boolean
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slackConfig NotifierSlackConfig
    Slack config for notifier (list maxitems:1)
    smtpConfig NotifierSmtpConfig
    SMTP config for notifier (list maxitems:1)
    webhookConfig NotifierWebhookConfig
    Webhook config for notifier (list maxitems:1)
    wechatConfig NotifierWechatConfig
    Wechat config for notifier (list maxitems:1)
    clusterId string
    The cluster id where create notifier (string)
    annotations {[key: string]: any}
    Annotations for notifier object (map)
    description string
    The notifier description (string)
    dingtalkConfig NotifierDingtalkConfig
    Dingtalk config for notifier (list maxitems:1)
    labels {[key: string]: any}
    Labels for notifier object (map)
    msteamsConfig NotifierMsteamsConfig
    MSTeams config for notifier (list maxitems:1)
    name string
    The name of the notifier (string)
    pagerdutyConfig NotifierPagerdutyConfig
    Pagerduty config for notifier (list maxitems:1)
    sendResolved boolean
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slackConfig NotifierSlackConfig
    Slack config for notifier (list maxitems:1)
    smtpConfig NotifierSmtpConfig
    SMTP config for notifier (list maxitems:1)
    webhookConfig NotifierWebhookConfig
    Webhook config for notifier (list maxitems:1)
    wechatConfig NotifierWechatConfig
    Wechat config for notifier (list maxitems:1)
    cluster_id str
    The cluster id where create notifier (string)
    annotations Mapping[str, Any]
    Annotations for notifier object (map)
    description str
    The notifier description (string)
    dingtalk_config NotifierDingtalkConfigArgs
    Dingtalk config for notifier (list maxitems:1)
    labels Mapping[str, Any]
    Labels for notifier object (map)
    msteams_config NotifierMsteamsConfigArgs
    MSTeams config for notifier (list maxitems:1)
    name str
    The name of the notifier (string)
    pagerduty_config NotifierPagerdutyConfigArgs
    Pagerduty config for notifier (list maxitems:1)
    send_resolved bool
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slack_config NotifierSlackConfigArgs
    Slack config for notifier (list maxitems:1)
    smtp_config NotifierSmtpConfigArgs
    SMTP config for notifier (list maxitems:1)
    webhook_config NotifierWebhookConfigArgs
    Webhook config for notifier (list maxitems:1)
    wechat_config NotifierWechatConfigArgs
    Wechat config for notifier (list maxitems:1)
    clusterId String
    The cluster id where create notifier (string)
    annotations Map<Any>
    Annotations for notifier object (map)
    description String
    The notifier description (string)
    dingtalkConfig Property Map
    Dingtalk config for notifier (list maxitems:1)
    labels Map<Any>
    Labels for notifier object (map)
    msteamsConfig Property Map
    MSTeams config for notifier (list maxitems:1)
    name String
    The name of the notifier (string)
    pagerdutyConfig Property Map
    Pagerduty config for notifier (list maxitems:1)
    sendResolved Boolean
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slackConfig Property Map
    Slack config for notifier (list maxitems:1)
    smtpConfig Property Map
    SMTP config for notifier (list maxitems:1)
    webhookConfig Property Map
    Webhook config for notifier (list maxitems:1)
    wechatConfig Property Map
    Wechat config for notifier (list maxitems:1)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Notifier resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Notifier Resource

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

    public static get(name: string, id: Input<ID>, state?: NotifierState, opts?: CustomResourceOptions): Notifier
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Mapping[str, Any]] = None,
            cluster_id: Optional[str] = None,
            description: Optional[str] = None,
            dingtalk_config: Optional[NotifierDingtalkConfigArgs] = None,
            labels: Optional[Mapping[str, Any]] = None,
            msteams_config: Optional[NotifierMsteamsConfigArgs] = None,
            name: Optional[str] = None,
            pagerduty_config: Optional[NotifierPagerdutyConfigArgs] = None,
            send_resolved: Optional[bool] = None,
            slack_config: Optional[NotifierSlackConfigArgs] = None,
            smtp_config: Optional[NotifierSmtpConfigArgs] = None,
            webhook_config: Optional[NotifierWebhookConfigArgs] = None,
            wechat_config: Optional[NotifierWechatConfigArgs] = None) -> Notifier
    func GetNotifier(ctx *Context, name string, id IDInput, state *NotifierState, opts ...ResourceOption) (*Notifier, error)
    public static Notifier Get(string name, Input<string> id, NotifierState? state, CustomResourceOptions? opts = null)
    public static Notifier get(String name, Output<String> id, NotifierState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Annotations Dictionary<string, object>
    Annotations for notifier object (map)
    ClusterId string
    The cluster id where create notifier (string)
    Description string
    The notifier description (string)
    DingtalkConfig NotifierDingtalkConfig
    Dingtalk config for notifier (list maxitems:1)
    Labels Dictionary<string, object>
    Labels for notifier object (map)
    MsteamsConfig NotifierMsteamsConfig
    MSTeams config for notifier (list maxitems:1)
    Name string
    The name of the notifier (string)
    PagerdutyConfig NotifierPagerdutyConfig
    Pagerduty config for notifier (list maxitems:1)
    SendResolved bool
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    SlackConfig NotifierSlackConfig
    Slack config for notifier (list maxitems:1)
    SmtpConfig NotifierSmtpConfig
    SMTP config for notifier (list maxitems:1)
    WebhookConfig NotifierWebhookConfig
    Webhook config for notifier (list maxitems:1)
    WechatConfig NotifierWechatConfig
    Wechat config for notifier (list maxitems:1)
    Annotations map[string]interface{}
    Annotations for notifier object (map)
    ClusterId string
    The cluster id where create notifier (string)
    Description string
    The notifier description (string)
    DingtalkConfig NotifierDingtalkConfigArgs
    Dingtalk config for notifier (list maxitems:1)
    Labels map[string]interface{}
    Labels for notifier object (map)
    MsteamsConfig NotifierMsteamsConfigArgs
    MSTeams config for notifier (list maxitems:1)
    Name string
    The name of the notifier (string)
    PagerdutyConfig NotifierPagerdutyConfigArgs
    Pagerduty config for notifier (list maxitems:1)
    SendResolved bool
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    SlackConfig NotifierSlackConfigArgs
    Slack config for notifier (list maxitems:1)
    SmtpConfig NotifierSmtpConfigArgs
    SMTP config for notifier (list maxitems:1)
    WebhookConfig NotifierWebhookConfigArgs
    Webhook config for notifier (list maxitems:1)
    WechatConfig NotifierWechatConfigArgs
    Wechat config for notifier (list maxitems:1)
    annotations Map<String,Object>
    Annotations for notifier object (map)
    clusterId String
    The cluster id where create notifier (string)
    description String
    The notifier description (string)
    dingtalkConfig NotifierDingtalkConfig
    Dingtalk config for notifier (list maxitems:1)
    labels Map<String,Object>
    Labels for notifier object (map)
    msteamsConfig NotifierMsteamsConfig
    MSTeams config for notifier (list maxitems:1)
    name String
    The name of the notifier (string)
    pagerdutyConfig NotifierPagerdutyConfig
    Pagerduty config for notifier (list maxitems:1)
    sendResolved Boolean
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slackConfig NotifierSlackConfig
    Slack config for notifier (list maxitems:1)
    smtpConfig NotifierSmtpConfig
    SMTP config for notifier (list maxitems:1)
    webhookConfig NotifierWebhookConfig
    Webhook config for notifier (list maxitems:1)
    wechatConfig NotifierWechatConfig
    Wechat config for notifier (list maxitems:1)
    annotations {[key: string]: any}
    Annotations for notifier object (map)
    clusterId string
    The cluster id where create notifier (string)
    description string
    The notifier description (string)
    dingtalkConfig NotifierDingtalkConfig
    Dingtalk config for notifier (list maxitems:1)
    labels {[key: string]: any}
    Labels for notifier object (map)
    msteamsConfig NotifierMsteamsConfig
    MSTeams config for notifier (list maxitems:1)
    name string
    The name of the notifier (string)
    pagerdutyConfig NotifierPagerdutyConfig
    Pagerduty config for notifier (list maxitems:1)
    sendResolved boolean
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slackConfig NotifierSlackConfig
    Slack config for notifier (list maxitems:1)
    smtpConfig NotifierSmtpConfig
    SMTP config for notifier (list maxitems:1)
    webhookConfig NotifierWebhookConfig
    Webhook config for notifier (list maxitems:1)
    wechatConfig NotifierWechatConfig
    Wechat config for notifier (list maxitems:1)
    annotations Mapping[str, Any]
    Annotations for notifier object (map)
    cluster_id str
    The cluster id where create notifier (string)
    description str
    The notifier description (string)
    dingtalk_config NotifierDingtalkConfigArgs
    Dingtalk config for notifier (list maxitems:1)
    labels Mapping[str, Any]
    Labels for notifier object (map)
    msteams_config NotifierMsteamsConfigArgs
    MSTeams config for notifier (list maxitems:1)
    name str
    The name of the notifier (string)
    pagerduty_config NotifierPagerdutyConfigArgs
    Pagerduty config for notifier (list maxitems:1)
    send_resolved bool
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slack_config NotifierSlackConfigArgs
    Slack config for notifier (list maxitems:1)
    smtp_config NotifierSmtpConfigArgs
    SMTP config for notifier (list maxitems:1)
    webhook_config NotifierWebhookConfigArgs
    Webhook config for notifier (list maxitems:1)
    wechat_config NotifierWechatConfigArgs
    Wechat config for notifier (list maxitems:1)
    annotations Map<Any>
    Annotations for notifier object (map)
    clusterId String
    The cluster id where create notifier (string)
    description String
    The notifier description (string)
    dingtalkConfig Property Map
    Dingtalk config for notifier (list maxitems:1)
    labels Map<Any>
    Labels for notifier object (map)
    msteamsConfig Property Map
    MSTeams config for notifier (list maxitems:1)
    name String
    The name of the notifier (string)
    pagerdutyConfig Property Map
    Pagerduty config for notifier (list maxitems:1)
    sendResolved Boolean
    = (Optional) Enable the notifier to send resolved notifications. Default false (bool)
    slackConfig Property Map
    Slack config for notifier (list maxitems:1)
    smtpConfig Property Map
    SMTP config for notifier (list maxitems:1)
    webhookConfig Property Map
    Webhook config for notifier (list maxitems:1)
    wechatConfig Property Map
    Wechat config for notifier (list maxitems:1)

    Supporting Types

    NotifierDingtalkConfig, NotifierDingtalkConfigArgs

    Url string
    Slack url (string)
    ProxyUrl string
    Wechat proxy url (string)
    Secret string
    Wechat agent ID (string)
    Url string
    Slack url (string)
    ProxyUrl string
    Wechat proxy url (string)
    Secret string
    Wechat agent ID (string)
    url String
    Slack url (string)
    proxyUrl String
    Wechat proxy url (string)
    secret String
    Wechat agent ID (string)
    url string
    Slack url (string)
    proxyUrl string
    Wechat proxy url (string)
    secret string
    Wechat agent ID (string)
    url str
    Slack url (string)
    proxy_url str
    Wechat proxy url (string)
    secret str
    Wechat agent ID (string)
    url String
    Slack url (string)
    proxyUrl String
    Wechat proxy url (string)
    secret String
    Wechat agent ID (string)

    NotifierMsteamsConfig, NotifierMsteamsConfigArgs

    Url string
    Slack url (string)
    ProxyUrl string
    Wechat proxy url (string)
    Url string
    Slack url (string)
    ProxyUrl string
    Wechat proxy url (string)
    url String
    Slack url (string)
    proxyUrl String
    Wechat proxy url (string)
    url string
    Slack url (string)
    proxyUrl string
    Wechat proxy url (string)
    url str
    Slack url (string)
    proxy_url str
    Wechat proxy url (string)
    url String
    Slack url (string)
    proxyUrl String
    Wechat proxy url (string)

    NotifierPagerdutyConfig, NotifierPagerdutyConfigArgs

    ServiceKey string
    Pagerduty service key (string)
    ProxyUrl string
    Wechat proxy url (string)
    ServiceKey string
    Pagerduty service key (string)
    ProxyUrl string
    Wechat proxy url (string)
    serviceKey String
    Pagerduty service key (string)
    proxyUrl String
    Wechat proxy url (string)
    serviceKey string
    Pagerduty service key (string)
    proxyUrl string
    Wechat proxy url (string)
    service_key str
    Pagerduty service key (string)
    proxy_url str
    Wechat proxy url (string)
    serviceKey String
    Pagerduty service key (string)
    proxyUrl String
    Wechat proxy url (string)

    NotifierSlackConfig, NotifierSlackConfigArgs

    DefaultRecipient string
    Wechat default recipient (string)
    Url string
    Slack url (string)
    ProxyUrl string
    Wechat proxy url (string)
    DefaultRecipient string
    Wechat default recipient (string)
    Url string
    Slack url (string)
    ProxyUrl string
    Wechat proxy url (string)
    defaultRecipient String
    Wechat default recipient (string)
    url String
    Slack url (string)
    proxyUrl String
    Wechat proxy url (string)
    defaultRecipient string
    Wechat default recipient (string)
    url string
    Slack url (string)
    proxyUrl string
    Wechat proxy url (string)
    default_recipient str
    Wechat default recipient (string)
    url str
    Slack url (string)
    proxy_url str
    Wechat proxy url (string)
    defaultRecipient String
    Wechat default recipient (string)
    url String
    Slack url (string)
    proxyUrl String
    Wechat proxy url (string)

    NotifierSmtpConfig, NotifierSmtpConfigArgs

    DefaultRecipient string
    SMTP default recipient (string)
    Host string
    SMTP host (string)
    Port int
    SMTP port (int)
    Sender string
    SMTP sender (string)
    Password string
    SMTP password (string)
    Tls bool
    SMTP tls. Default true (bool)
    Username string
    SMTP username (string)
    DefaultRecipient string
    SMTP default recipient (string)
    Host string
    SMTP host (string)
    Port int
    SMTP port (int)
    Sender string
    SMTP sender (string)
    Password string
    SMTP password (string)
    Tls bool
    SMTP tls. Default true (bool)
    Username string
    SMTP username (string)
    defaultRecipient String
    SMTP default recipient (string)
    host String
    SMTP host (string)
    port Integer
    SMTP port (int)
    sender String
    SMTP sender (string)
    password String
    SMTP password (string)
    tls Boolean
    SMTP tls. Default true (bool)
    username String
    SMTP username (string)
    defaultRecipient string
    SMTP default recipient (string)
    host string
    SMTP host (string)
    port number
    SMTP port (int)
    sender string
    SMTP sender (string)
    password string
    SMTP password (string)
    tls boolean
    SMTP tls. Default true (bool)
    username string
    SMTP username (string)
    default_recipient str
    SMTP default recipient (string)
    host str
    SMTP host (string)
    port int
    SMTP port (int)
    sender str
    SMTP sender (string)
    password str
    SMTP password (string)
    tls bool
    SMTP tls. Default true (bool)
    username str
    SMTP username (string)
    defaultRecipient String
    SMTP default recipient (string)
    host String
    SMTP host (string)
    port Number
    SMTP port (int)
    sender String
    SMTP sender (string)
    password String
    SMTP password (string)
    tls Boolean
    SMTP tls. Default true (bool)
    username String
    SMTP username (string)

    NotifierWebhookConfig, NotifierWebhookConfigArgs

    Url string
    Webhook url (string)
    ProxyUrl string
    Webhook proxy url (string)
    Url string
    Webhook url (string)
    ProxyUrl string
    Webhook proxy url (string)
    url String
    Webhook url (string)
    proxyUrl String
    Webhook proxy url (string)
    url string
    Webhook url (string)
    proxyUrl string
    Webhook proxy url (string)
    url str
    Webhook url (string)
    proxy_url str
    Webhook proxy url (string)
    url String
    Webhook url (string)
    proxyUrl String
    Webhook proxy url (string)

    NotifierWechatConfig, NotifierWechatConfigArgs

    Agent string
    Wechat agent ID (string)
    Corp string
    Wechat corporation ID (string)
    DefaultRecipient string
    Wechat default recipient (string)
    Secret string
    Wechat agent ID (string)
    ProxyUrl string
    Wechat proxy url (string)
    RecipientType string
    Wechat recipient type. Allowed values: party | tag | user (string)
    Agent string
    Wechat agent ID (string)
    Corp string
    Wechat corporation ID (string)
    DefaultRecipient string
    Wechat default recipient (string)
    Secret string
    Wechat agent ID (string)
    ProxyUrl string
    Wechat proxy url (string)
    RecipientType string
    Wechat recipient type. Allowed values: party | tag | user (string)
    agent String
    Wechat agent ID (string)
    corp String
    Wechat corporation ID (string)
    defaultRecipient String
    Wechat default recipient (string)
    secret String
    Wechat agent ID (string)
    proxyUrl String
    Wechat proxy url (string)
    recipientType String
    Wechat recipient type. Allowed values: party | tag | user (string)
    agent string
    Wechat agent ID (string)
    corp string
    Wechat corporation ID (string)
    defaultRecipient string
    Wechat default recipient (string)
    secret string
    Wechat agent ID (string)
    proxyUrl string
    Wechat proxy url (string)
    recipientType string
    Wechat recipient type. Allowed values: party | tag | user (string)
    agent str
    Wechat agent ID (string)
    corp str
    Wechat corporation ID (string)
    default_recipient str
    Wechat default recipient (string)
    secret str
    Wechat agent ID (string)
    proxy_url str
    Wechat proxy url (string)
    recipient_type str
    Wechat recipient type. Allowed values: party | tag | user (string)
    agent String
    Wechat agent ID (string)
    corp String
    Wechat corporation ID (string)
    defaultRecipient String
    Wechat default recipient (string)
    secret String
    Wechat agent ID (string)
    proxyUrl String
    Wechat proxy url (string)
    recipientType String
    Wechat recipient type. Allowed values: party | tag | user (string)

    Import

    Notifiers can be imported using the Rancher nNtifier ID

    $ pulumi import rancher2:index/notifier:Notifier foo &lt;notifier_id&gt;
    

    Package Details

    Repository
    Rancher2 pulumi/pulumi-rancher2
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rancher2 Terraform Provider.
    rancher2 logo
    Rancher 2 v6.1.0 published on Tuesday, Mar 12, 2024 by Pulumi