1. Packages
  2. Volcengine
  3. API Docs
  4. vmp
  5. NotifyPolicies
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.vmp.NotifyPolicies

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
    Deprecated: volcengine.vmp.NotifyPolicies has been deprecated in favor of volcengine.vmp.getNotifyPolicies

    Use this data source to query detailed information of vmp notify policies

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    import * as volcengine from "@volcengine/pulumi";
    
    const fooContact = new volcengine.vmp.Contact("fooContact", {
        email: "acctest1@tftest.com",
        webhook: {
            address: "https://www.acctest1.com",
        },
        larkBotWebhook: {
            address: "https://www.acctest1.com",
        },
        dingTalkBotWebhook: {
            address: "https://www.dingacctest1.com",
            atMobiles: ["18046891812"],
        },
        phoneNumber: {
            countryCode: "+86",
            number: "18310101010",
        },
    });
    const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
        email: "acctest2@tftest.com",
        webhook: {
            address: "https://www.acctest2.com",
        },
        larkBotWebhook: {
            address: "https://www.acctest2.com",
        },
        dingTalkBotWebhook: {
            address: "https://www.dingacctest2.com",
            atMobiles: ["18046891813"],
        },
        phoneNumber: {
            countryCode: "+86",
            number: "18310101011",
        },
    });
    const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
    const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
    const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
        description: "acc-test-1",
        levels: [
            {
                level: "P1",
                contactGroupIds: [fooContactGroup.id],
                channels: [
                    "Email",
                    "Webhook",
                ],
            },
            {
                level: "P0",
                contactGroupIds: [foo1ContactGroup.id],
                channels: ["LarkBotWebhook"],
            },
        ],
    });
    const fooNotifyPolicies = volcengine.vmp.getNotifyPoliciesOutput({
        ids: [fooNotifyPolicy.id],
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo_contact = volcengine.vmp.Contact("fooContact",
        email="acctest1@tftest.com",
        webhook=volcengine.vmp.ContactWebhookArgs(
            address="https://www.acctest1.com",
        ),
        lark_bot_webhook=volcengine.vmp.ContactLarkBotWebhookArgs(
            address="https://www.acctest1.com",
        ),
        ding_talk_bot_webhook=volcengine.vmp.ContactDingTalkBotWebhookArgs(
            address="https://www.dingacctest1.com",
            at_mobiles=["18046891812"],
        ),
        phone_number=volcengine.vmp.ContactPhoneNumberArgs(
            country_code="+86",
            number="18310101010",
        ))
    foo1_contact = volcengine.vmp.Contact("foo1Contact",
        email="acctest2@tftest.com",
        webhook=volcengine.vmp.ContactWebhookArgs(
            address="https://www.acctest2.com",
        ),
        lark_bot_webhook=volcengine.vmp.ContactLarkBotWebhookArgs(
            address="https://www.acctest2.com",
        ),
        ding_talk_bot_webhook=volcengine.vmp.ContactDingTalkBotWebhookArgs(
            address="https://www.dingacctest2.com",
            at_mobiles=["18046891813"],
        ),
        phone_number=volcengine.vmp.ContactPhoneNumberArgs(
            country_code="+86",
            number="18310101011",
        ))
    foo_contact_group = volcengine.vmp.ContactGroup("fooContactGroup", contact_ids=[foo_contact.id])
    foo1_contact_group = volcengine.vmp.ContactGroup("foo1ContactGroup", contact_ids=[foo1_contact.id])
    foo_notify_policy = volcengine.vmp.NotifyPolicy("fooNotifyPolicy",
        description="acc-test-1",
        levels=[
            volcengine.vmp.NotifyPolicyLevelArgs(
                level="P1",
                contact_group_ids=[foo_contact_group.id],
                channels=[
                    "Email",
                    "Webhook",
                ],
            ),
            volcengine.vmp.NotifyPolicyLevelArgs(
                level="P0",
                contact_group_ids=[foo1_contact_group.id],
                channels=["LarkBotWebhook"],
            ),
        ])
    foo_notify_policies = volcengine.vmp.get_notify_policies_output(ids=[foo_notify_policy.id])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vmp"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fooContact, err := vmp.NewContact(ctx, "fooContact", &vmp.ContactArgs{
    			Email: pulumi.String("acctest1@tftest.com"),
    			Webhook: &vmp.ContactWebhookArgs{
    				Address: pulumi.String("https://www.acctest1.com"),
    			},
    			LarkBotWebhook: &vmp.ContactLarkBotWebhookArgs{
    				Address: pulumi.String("https://www.acctest1.com"),
    			},
    			DingTalkBotWebhook: &vmp.ContactDingTalkBotWebhookArgs{
    				Address: pulumi.String("https://www.dingacctest1.com"),
    				AtMobiles: pulumi.StringArray{
    					pulumi.String("18046891812"),
    				},
    			},
    			PhoneNumber: &vmp.ContactPhoneNumberArgs{
    				CountryCode: pulumi.String("+86"),
    				Number:      pulumi.String("18310101010"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		foo1Contact, err := vmp.NewContact(ctx, "foo1Contact", &vmp.ContactArgs{
    			Email: pulumi.String("acctest2@tftest.com"),
    			Webhook: &vmp.ContactWebhookArgs{
    				Address: pulumi.String("https://www.acctest2.com"),
    			},
    			LarkBotWebhook: &vmp.ContactLarkBotWebhookArgs{
    				Address: pulumi.String("https://www.acctest2.com"),
    			},
    			DingTalkBotWebhook: &vmp.ContactDingTalkBotWebhookArgs{
    				Address: pulumi.String("https://www.dingacctest2.com"),
    				AtMobiles: pulumi.StringArray{
    					pulumi.String("18046891813"),
    				},
    			},
    			PhoneNumber: &vmp.ContactPhoneNumberArgs{
    				CountryCode: pulumi.String("+86"),
    				Number:      pulumi.String("18310101011"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		fooContactGroup, err := vmp.NewContactGroup(ctx, "fooContactGroup", &vmp.ContactGroupArgs{
    			ContactIds: pulumi.StringArray{
    				fooContact.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		foo1ContactGroup, err := vmp.NewContactGroup(ctx, "foo1ContactGroup", &vmp.ContactGroupArgs{
    			ContactIds: pulumi.StringArray{
    				foo1Contact.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		fooNotifyPolicy, err := vmp.NewNotifyPolicy(ctx, "fooNotifyPolicy", &vmp.NotifyPolicyArgs{
    			Description: pulumi.String("acc-test-1"),
    			Levels: vmp.NotifyPolicyLevelArray{
    				&vmp.NotifyPolicyLevelArgs{
    					Level: pulumi.String("P1"),
    					ContactGroupIds: pulumi.StringArray{
    						fooContactGroup.ID(),
    					},
    					Channels: pulumi.StringArray{
    						pulumi.String("Email"),
    						pulumi.String("Webhook"),
    					},
    				},
    				&vmp.NotifyPolicyLevelArgs{
    					Level: pulumi.String("P0"),
    					ContactGroupIds: pulumi.StringArray{
    						foo1ContactGroup.ID(),
    					},
    					Channels: pulumi.StringArray{
    						pulumi.String("LarkBotWebhook"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = vmp.GetNotifyPoliciesOutput(ctx, vmp.GetNotifyPoliciesOutputArgs{
    			Ids: pulumi.StringArray{
    				fooNotifyPolicy.ID(),
    			},
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var fooContact = new Volcengine.Vmp.Contact("fooContact", new()
        {
            Email = "acctest1@tftest.com",
            Webhook = new Volcengine.Vmp.Inputs.ContactWebhookArgs
            {
                Address = "https://www.acctest1.com",
            },
            LarkBotWebhook = new Volcengine.Vmp.Inputs.ContactLarkBotWebhookArgs
            {
                Address = "https://www.acctest1.com",
            },
            DingTalkBotWebhook = new Volcengine.Vmp.Inputs.ContactDingTalkBotWebhookArgs
            {
                Address = "https://www.dingacctest1.com",
                AtMobiles = new[]
                {
                    "18046891812",
                },
            },
            PhoneNumber = new Volcengine.Vmp.Inputs.ContactPhoneNumberArgs
            {
                CountryCode = "+86",
                Number = "18310101010",
            },
        });
    
        var foo1Contact = new Volcengine.Vmp.Contact("foo1Contact", new()
        {
            Email = "acctest2@tftest.com",
            Webhook = new Volcengine.Vmp.Inputs.ContactWebhookArgs
            {
                Address = "https://www.acctest2.com",
            },
            LarkBotWebhook = new Volcengine.Vmp.Inputs.ContactLarkBotWebhookArgs
            {
                Address = "https://www.acctest2.com",
            },
            DingTalkBotWebhook = new Volcengine.Vmp.Inputs.ContactDingTalkBotWebhookArgs
            {
                Address = "https://www.dingacctest2.com",
                AtMobiles = new[]
                {
                    "18046891813",
                },
            },
            PhoneNumber = new Volcengine.Vmp.Inputs.ContactPhoneNumberArgs
            {
                CountryCode = "+86",
                Number = "18310101011",
            },
        });
    
        var fooContactGroup = new Volcengine.Vmp.ContactGroup("fooContactGroup", new()
        {
            ContactIds = new[]
            {
                fooContact.Id,
            },
        });
    
        var foo1ContactGroup = new Volcengine.Vmp.ContactGroup("foo1ContactGroup", new()
        {
            ContactIds = new[]
            {
                foo1Contact.Id,
            },
        });
    
        var fooNotifyPolicy = new Volcengine.Vmp.NotifyPolicy("fooNotifyPolicy", new()
        {
            Description = "acc-test-1",
            Levels = new[]
            {
                new Volcengine.Vmp.Inputs.NotifyPolicyLevelArgs
                {
                    Level = "P1",
                    ContactGroupIds = new[]
                    {
                        fooContactGroup.Id,
                    },
                    Channels = new[]
                    {
                        "Email",
                        "Webhook",
                    },
                },
                new Volcengine.Vmp.Inputs.NotifyPolicyLevelArgs
                {
                    Level = "P0",
                    ContactGroupIds = new[]
                    {
                        foo1ContactGroup.Id,
                    },
                    Channels = new[]
                    {
                        "LarkBotWebhook",
                    },
                },
            },
        });
    
        var fooNotifyPolicies = Volcengine.Vmp.GetNotifyPolicies.Invoke(new()
        {
            Ids = new[]
            {
                fooNotifyPolicy.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.vmp.Contact;
    import com.pulumi.volcengine.vmp.ContactArgs;
    import com.pulumi.volcengine.vmp.inputs.ContactWebhookArgs;
    import com.pulumi.volcengine.vmp.inputs.ContactLarkBotWebhookArgs;
    import com.pulumi.volcengine.vmp.inputs.ContactDingTalkBotWebhookArgs;
    import com.pulumi.volcengine.vmp.inputs.ContactPhoneNumberArgs;
    import com.pulumi.volcengine.vmp.ContactGroup;
    import com.pulumi.volcengine.vmp.ContactGroupArgs;
    import com.pulumi.volcengine.vmp.NotifyPolicy;
    import com.pulumi.volcengine.vmp.NotifyPolicyArgs;
    import com.pulumi.volcengine.vmp.inputs.NotifyPolicyLevelArgs;
    import com.pulumi.volcengine.vmp.VmpFunctions;
    import com.pulumi.volcengine.vmp.inputs.GetNotifyPoliciesArgs;
    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 fooContact = new Contact("fooContact", ContactArgs.builder()        
                .email("acctest1@tftest.com")
                .webhook(ContactWebhookArgs.builder()
                    .address("https://www.acctest1.com")
                    .build())
                .larkBotWebhook(ContactLarkBotWebhookArgs.builder()
                    .address("https://www.acctest1.com")
                    .build())
                .dingTalkBotWebhook(ContactDingTalkBotWebhookArgs.builder()
                    .address("https://www.dingacctest1.com")
                    .atMobiles("18046891812")
                    .build())
                .phoneNumber(ContactPhoneNumberArgs.builder()
                    .countryCode("+86")
                    .number("18310101010")
                    .build())
                .build());
    
            var foo1Contact = new Contact("foo1Contact", ContactArgs.builder()        
                .email("acctest2@tftest.com")
                .webhook(ContactWebhookArgs.builder()
                    .address("https://www.acctest2.com")
                    .build())
                .larkBotWebhook(ContactLarkBotWebhookArgs.builder()
                    .address("https://www.acctest2.com")
                    .build())
                .dingTalkBotWebhook(ContactDingTalkBotWebhookArgs.builder()
                    .address("https://www.dingacctest2.com")
                    .atMobiles("18046891813")
                    .build())
                .phoneNumber(ContactPhoneNumberArgs.builder()
                    .countryCode("+86")
                    .number("18310101011")
                    .build())
                .build());
    
            var fooContactGroup = new ContactGroup("fooContactGroup", ContactGroupArgs.builder()        
                .contactIds(fooContact.id())
                .build());
    
            var foo1ContactGroup = new ContactGroup("foo1ContactGroup", ContactGroupArgs.builder()        
                .contactIds(foo1Contact.id())
                .build());
    
            var fooNotifyPolicy = new NotifyPolicy("fooNotifyPolicy", NotifyPolicyArgs.builder()        
                .description("acc-test-1")
                .levels(            
                    NotifyPolicyLevelArgs.builder()
                        .level("P1")
                        .contactGroupIds(fooContactGroup.id())
                        .channels(                    
                            "Email",
                            "Webhook")
                        .build(),
                    NotifyPolicyLevelArgs.builder()
                        .level("P0")
                        .contactGroupIds(foo1ContactGroup.id())
                        .channels("LarkBotWebhook")
                        .build())
                .build());
    
            final var fooNotifyPolicies = VmpFunctions.getNotifyPolicies(GetNotifyPoliciesArgs.builder()
                .ids(fooNotifyPolicy.id())
                .build());
    
        }
    }
    
    resources:
      fooContact:
        type: volcengine:vmp:Contact
        properties:
          email: acctest1@tftest.com
          webhook:
            address: https://www.acctest1.com
          larkBotWebhook:
            address: https://www.acctest1.com
          dingTalkBotWebhook:
            address: https://www.dingacctest1.com
            atMobiles:
              - '18046891812'
          phoneNumber:
            countryCode: '+86'
            number: '18310101010'
      foo1Contact:
        type: volcengine:vmp:Contact
        properties:
          email: acctest2@tftest.com
          webhook:
            address: https://www.acctest2.com
          larkBotWebhook:
            address: https://www.acctest2.com
          dingTalkBotWebhook:
            address: https://www.dingacctest2.com
            atMobiles:
              - '18046891813'
          phoneNumber:
            countryCode: '+86'
            number: '18310101011'
      fooContactGroup:
        type: volcengine:vmp:ContactGroup
        properties:
          contactIds:
            - ${fooContact.id}
      foo1ContactGroup:
        type: volcengine:vmp:ContactGroup
        properties:
          contactIds:
            - ${foo1Contact.id}
      fooNotifyPolicy:
        type: volcengine:vmp:NotifyPolicy
        properties:
          description: acc-test-1
          levels:
            - level: P1
              contactGroupIds:
                - ${fooContactGroup.id}
              channels:
                - Email
                - Webhook
            - level: P0
              contactGroupIds:
                - ${foo1ContactGroup.id}
              channels:
                - LarkBotWebhook
    variables:
      fooNotifyPolicies:
        fn::invoke:
          Function: volcengine:vmp:getNotifyPolicies
          Arguments:
            ids:
              - ${fooNotifyPolicy.id}
    

    Using NotifyPolicies

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function notifyPolicies(args: NotifyPoliciesArgs, opts?: InvokeOptions): Promise<NotifyPoliciesResult>
    function notifyPoliciesOutput(args: NotifyPoliciesOutputArgs, opts?: InvokeOptions): Output<NotifyPoliciesResult>
    def notify_policies(channel_notify_template_ids: Optional[Sequence[str]] = None,
                        contact_group_ids: Optional[Sequence[str]] = None,
                        ids: Optional[Sequence[str]] = None,
                        name: Optional[str] = None,
                        output_file: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> NotifyPoliciesResult
    def notify_policies_output(channel_notify_template_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        contact_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[NotifyPoliciesResult]
    func NotifyPolicies(ctx *Context, args *NotifyPoliciesArgs, opts ...InvokeOption) (*NotifyPoliciesResult, error)
    func NotifyPoliciesOutput(ctx *Context, args *NotifyPoliciesOutputArgs, opts ...InvokeOption) NotifyPoliciesResultOutput
    public static class NotifyPolicies 
    {
        public static Task<NotifyPoliciesResult> InvokeAsync(NotifyPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<NotifyPoliciesResult> Invoke(NotifyPoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<NotifyPoliciesResult> notifyPolicies(NotifyPoliciesArgs args, InvokeOptions options)
    public static Output<NotifyPoliciesResult> notifyPolicies(NotifyPoliciesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:vmp:NotifyPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ChannelNotifyTemplateIds List<string>
    The channel notify template for the alarm notification policy.
    ContactGroupIds List<string>
    The contact group for the alarm notification policy.
    Ids List<string>
    A list of notify policy ids.
    Name string
    The name of notify policy.
    OutputFile string
    File name where to save data source results.
    ChannelNotifyTemplateIds []string
    The channel notify template for the alarm notification policy.
    ContactGroupIds []string
    The contact group for the alarm notification policy.
    Ids []string
    A list of notify policy ids.
    Name string
    The name of notify policy.
    OutputFile string
    File name where to save data source results.
    channelNotifyTemplateIds List<String>
    The channel notify template for the alarm notification policy.
    contactGroupIds List<String>
    The contact group for the alarm notification policy.
    ids List<String>
    A list of notify policy ids.
    name String
    The name of notify policy.
    outputFile String
    File name where to save data source results.
    channelNotifyTemplateIds string[]
    The channel notify template for the alarm notification policy.
    contactGroupIds string[]
    The contact group for the alarm notification policy.
    ids string[]
    A list of notify policy ids.
    name string
    The name of notify policy.
    outputFile string
    File name where to save data source results.
    channel_notify_template_ids Sequence[str]
    The channel notify template for the alarm notification policy.
    contact_group_ids Sequence[str]
    The contact group for the alarm notification policy.
    ids Sequence[str]
    A list of notify policy ids.
    name str
    The name of notify policy.
    output_file str
    File name where to save data source results.
    channelNotifyTemplateIds List<String>
    The channel notify template for the alarm notification policy.
    contactGroupIds List<String>
    The contact group for the alarm notification policy.
    ids List<String>
    A list of notify policy ids.
    name String
    The name of notify policy.
    outputFile String
    File name where to save data source results.

    NotifyPolicies Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    NotifyPolicies List<NotifyPoliciesNotifyPolicy>
    The list of notify policies.
    TotalCount int
    The total count of query.
    ChannelNotifyTemplateIds List<string>
    The channel notify template for the alarm notification policy.
    ContactGroupIds List<string>
    The contact group for the alarm notification policy.
    Ids List<string>
    Name string
    The name of notify policy.
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    NotifyPolicies []NotifyPoliciesNotifyPolicy
    The list of notify policies.
    TotalCount int
    The total count of query.
    ChannelNotifyTemplateIds []string
    The channel notify template for the alarm notification policy.
    ContactGroupIds []string
    The contact group for the alarm notification policy.
    Ids []string
    Name string
    The name of notify policy.
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    notifyPolicies List<NotifyPoliciesNotifyPolicy>
    The list of notify policies.
    totalCount Integer
    The total count of query.
    channelNotifyTemplateIds List<String>
    The channel notify template for the alarm notification policy.
    contactGroupIds List<String>
    The contact group for the alarm notification policy.
    ids List<String>
    name String
    The name of notify policy.
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    notifyPolicies NotifyPoliciesNotifyPolicy[]
    The list of notify policies.
    totalCount number
    The total count of query.
    channelNotifyTemplateIds string[]
    The channel notify template for the alarm notification policy.
    contactGroupIds string[]
    The contact group for the alarm notification policy.
    ids string[]
    name string
    The name of notify policy.
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    notify_policies Sequence[NotifyPoliciesNotifyPolicy]
    The list of notify policies.
    total_count int
    The total count of query.
    channel_notify_template_ids Sequence[str]
    The channel notify template for the alarm notification policy.
    contact_group_ids Sequence[str]
    The contact group for the alarm notification policy.
    ids Sequence[str]
    name str
    The name of notify policy.
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    notifyPolicies List<Property Map>
    The list of notify policies.
    totalCount Number
    The total count of query.
    channelNotifyTemplateIds List<String>
    The channel notify template for the alarm notification policy.
    contactGroupIds List<String>
    The contact group for the alarm notification policy.
    ids List<String>
    name String
    The name of notify policy.
    outputFile String

    Supporting Types

    NotifyPoliciesNotifyPolicy

    ChannelNotifyTemplateIds List<string>
    The channel notify template for the alarm notification policy.
    CreateTime string
    The create time of notify policy.
    Description string
    The description of notify policy.
    Id string
    The id of the notify policy.
    Levels List<NotifyPoliciesNotifyPolicyLevel>
    The levels of the notify policy.
    Name string
    The name of notify policy.
    ChannelNotifyTemplateIds []string
    The channel notify template for the alarm notification policy.
    CreateTime string
    The create time of notify policy.
    Description string
    The description of notify policy.
    Id string
    The id of the notify policy.
    Levels []NotifyPoliciesNotifyPolicyLevel
    The levels of the notify policy.
    Name string
    The name of notify policy.
    channelNotifyTemplateIds List<String>
    The channel notify template for the alarm notification policy.
    createTime String
    The create time of notify policy.
    description String
    The description of notify policy.
    id String
    The id of the notify policy.
    levels List<NotifyPoliciesNotifyPolicyLevel>
    The levels of the notify policy.
    name String
    The name of notify policy.
    channelNotifyTemplateIds string[]
    The channel notify template for the alarm notification policy.
    createTime string
    The create time of notify policy.
    description string
    The description of notify policy.
    id string
    The id of the notify policy.
    levels NotifyPoliciesNotifyPolicyLevel[]
    The levels of the notify policy.
    name string
    The name of notify policy.
    channel_notify_template_ids Sequence[str]
    The channel notify template for the alarm notification policy.
    create_time str
    The create time of notify policy.
    description str
    The description of notify policy.
    id str
    The id of the notify policy.
    levels Sequence[NotifyPoliciesNotifyPolicyLevel]
    The levels of the notify policy.
    name str
    The name of notify policy.
    channelNotifyTemplateIds List<String>
    The channel notify template for the alarm notification policy.
    createTime String
    The create time of notify policy.
    description String
    The description of notify policy.
    id String
    The id of the notify policy.
    levels List<Property Map>
    The levels of the notify policy.
    name String
    The name of notify policy.

    NotifyPoliciesNotifyPolicyLevel

    Channels List<string>
    The alarm notification method of the alarm notification policy.
    ContactGroupIds List<string>
    The contact group for the alarm notification policy.
    Level string
    The level of the policy.
    ResolvedChannels List<string>
    The resolved alarm notification method of the alarm notification policy.
    Channels []string
    The alarm notification method of the alarm notification policy.
    ContactGroupIds []string
    The contact group for the alarm notification policy.
    Level string
    The level of the policy.
    ResolvedChannels []string
    The resolved alarm notification method of the alarm notification policy.
    channels List<String>
    The alarm notification method of the alarm notification policy.
    contactGroupIds List<String>
    The contact group for the alarm notification policy.
    level String
    The level of the policy.
    resolvedChannels List<String>
    The resolved alarm notification method of the alarm notification policy.
    channels string[]
    The alarm notification method of the alarm notification policy.
    contactGroupIds string[]
    The contact group for the alarm notification policy.
    level string
    The level of the policy.
    resolvedChannels string[]
    The resolved alarm notification method of the alarm notification policy.
    channels Sequence[str]
    The alarm notification method of the alarm notification policy.
    contact_group_ids Sequence[str]
    The contact group for the alarm notification policy.
    level str
    The level of the policy.
    resolved_channels Sequence[str]
    The resolved alarm notification method of the alarm notification policy.
    channels List<String>
    The alarm notification method of the alarm notification policy.
    contactGroupIds List<String>
    The contact group for the alarm notification policy.
    level String
    The level of the policy.
    resolvedChannels List<String>
    The resolved alarm notification method of the alarm notification policy.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine