1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. PtsAlertChannel
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.PtsAlertChannel

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a pts alert_channel

    NOTE: Modification is not currently supported, please go to the console to modify.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.MonitorAlarmNotice("example", {
        noticeType: "ALL",
        noticeLanguage: "zh-CN",
        userNotices: [{
            receiverType: "USER",
            startTime: 0,
            endTime: 1,
            noticeWays: [
                "EMAIL",
                "SMS",
                "WECHAT",
            ],
            userIds: [10001],
            groupIds: [],
            phoneOrders: [10001],
            phoneCircleTimes: 2,
            phoneCircleInterval: 50,
            phoneInnerInterval: 60,
            needPhoneArriveNotice: 1,
            phoneCallType: "CIRCLE",
            weekdays: [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }],
        urlNotices: [{
            url: "https://www.mytest.com/validate",
            endTime: 0,
            startTime: 1,
            weekdays: [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }],
    });
    const project = new tencentcloud.PtsProject("project", {
        description: "desc",
        tags: [{
            tagKey: "createdBy",
            tagValue: "terraform",
        }],
    });
    const alertChannel = new tencentcloud.PtsAlertChannel("alertChannel", {
        noticeId: example.monitorAlarmNoticeId,
        projectId: project.ptsProjectId,
        ampConsumerId: "Consumer-vvy1xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.MonitorAlarmNotice("example",
        notice_type="ALL",
        notice_language="zh-CN",
        user_notices=[{
            "receiver_type": "USER",
            "start_time": 0,
            "end_time": 1,
            "notice_ways": [
                "EMAIL",
                "SMS",
                "WECHAT",
            ],
            "user_ids": [10001],
            "group_ids": [],
            "phone_orders": [10001],
            "phone_circle_times": 2,
            "phone_circle_interval": 50,
            "phone_inner_interval": 60,
            "need_phone_arrive_notice": 1,
            "phone_call_type": "CIRCLE",
            "weekdays": [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }],
        url_notices=[{
            "url": "https://www.mytest.com/validate",
            "end_time": 0,
            "start_time": 1,
            "weekdays": [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
            ],
        }])
    project = tencentcloud.PtsProject("project",
        description="desc",
        tags=[{
            "tag_key": "createdBy",
            "tag_value": "terraform",
        }])
    alert_channel = tencentcloud.PtsAlertChannel("alertChannel",
        notice_id=example.monitor_alarm_notice_id,
        project_id=project.pts_project_id,
        amp_consumer_id="Consumer-vvy1xxxxxx")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := tencentcloud.NewMonitorAlarmNotice(ctx, "example", &tencentcloud.MonitorAlarmNoticeArgs{
    			NoticeType:     pulumi.String("ALL"),
    			NoticeLanguage: pulumi.String("zh-CN"),
    			UserNotices: tencentcloud.MonitorAlarmNoticeUserNoticeArray{
    				&tencentcloud.MonitorAlarmNoticeUserNoticeArgs{
    					ReceiverType: pulumi.String("USER"),
    					StartTime:    pulumi.Float64(0),
    					EndTime:      pulumi.Float64(1),
    					NoticeWays: pulumi.StringArray{
    						pulumi.String("EMAIL"),
    						pulumi.String("SMS"),
    						pulumi.String("WECHAT"),
    					},
    					UserIds: pulumi.Float64Array{
    						pulumi.Float64(10001),
    					},
    					GroupIds: pulumi.Float64Array{},
    					PhoneOrders: pulumi.Float64Array{
    						pulumi.Float64(10001),
    					},
    					PhoneCircleTimes:      pulumi.Float64(2),
    					PhoneCircleInterval:   pulumi.Float64(50),
    					PhoneInnerInterval:    pulumi.Float64(60),
    					NeedPhoneArriveNotice: pulumi.Float64(1),
    					PhoneCallType:         pulumi.String("CIRCLE"),
    					Weekdays: pulumi.Float64Array{
    						pulumi.Float64(1),
    						pulumi.Float64(2),
    						pulumi.Float64(3),
    						pulumi.Float64(4),
    						pulumi.Float64(5),
    						pulumi.Float64(6),
    						pulumi.Float64(7),
    					},
    				},
    			},
    			UrlNotices: tencentcloud.MonitorAlarmNoticeUrlNoticeArray{
    				&tencentcloud.MonitorAlarmNoticeUrlNoticeArgs{
    					Url:       pulumi.String("https://www.mytest.com/validate"),
    					EndTime:   pulumi.Float64(0),
    					StartTime: pulumi.Float64(1),
    					Weekdays: pulumi.Float64Array{
    						pulumi.Float64(1),
    						pulumi.Float64(2),
    						pulumi.Float64(3),
    						pulumi.Float64(4),
    						pulumi.Float64(5),
    						pulumi.Float64(6),
    						pulumi.Float64(7),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		project, err := tencentcloud.NewPtsProject(ctx, "project", &tencentcloud.PtsProjectArgs{
    			Description: pulumi.String("desc"),
    			Tags: tencentcloud.PtsProjectTagArray{
    				&tencentcloud.PtsProjectTagArgs{
    					TagKey:   pulumi.String("createdBy"),
    					TagValue: pulumi.String("terraform"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewPtsAlertChannel(ctx, "alertChannel", &tencentcloud.PtsAlertChannelArgs{
    			NoticeId:      example.MonitorAlarmNoticeId,
    			ProjectId:     project.PtsProjectId,
    			AmpConsumerId: pulumi.String("Consumer-vvy1xxxxxx"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.MonitorAlarmNotice("example", new()
        {
            NoticeType = "ALL",
            NoticeLanguage = "zh-CN",
            UserNotices = new[]
            {
                new Tencentcloud.Inputs.MonitorAlarmNoticeUserNoticeArgs
                {
                    ReceiverType = "USER",
                    StartTime = 0,
                    EndTime = 1,
                    NoticeWays = new[]
                    {
                        "EMAIL",
                        "SMS",
                        "WECHAT",
                    },
                    UserIds = new[]
                    {
                        10001,
                    },
                    GroupIds = new() { },
                    PhoneOrders = new[]
                    {
                        10001,
                    },
                    PhoneCircleTimes = 2,
                    PhoneCircleInterval = 50,
                    PhoneInnerInterval = 60,
                    NeedPhoneArriveNotice = 1,
                    PhoneCallType = "CIRCLE",
                    Weekdays = new[]
                    {
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                    },
                },
            },
            UrlNotices = new[]
            {
                new Tencentcloud.Inputs.MonitorAlarmNoticeUrlNoticeArgs
                {
                    Url = "https://www.mytest.com/validate",
                    EndTime = 0,
                    StartTime = 1,
                    Weekdays = new[]
                    {
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                    },
                },
            },
        });
    
        var project = new Tencentcloud.PtsProject("project", new()
        {
            Description = "desc",
            Tags = new[]
            {
                new Tencentcloud.Inputs.PtsProjectTagArgs
                {
                    TagKey = "createdBy",
                    TagValue = "terraform",
                },
            },
        });
    
        var alertChannel = new Tencentcloud.PtsAlertChannel("alertChannel", new()
        {
            NoticeId = example.MonitorAlarmNoticeId,
            ProjectId = project.PtsProjectId,
            AmpConsumerId = "Consumer-vvy1xxxxxx",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.MonitorAlarmNotice;
    import com.pulumi.tencentcloud.MonitorAlarmNoticeArgs;
    import com.pulumi.tencentcloud.inputs.MonitorAlarmNoticeUserNoticeArgs;
    import com.pulumi.tencentcloud.inputs.MonitorAlarmNoticeUrlNoticeArgs;
    import com.pulumi.tencentcloud.PtsProject;
    import com.pulumi.tencentcloud.PtsProjectArgs;
    import com.pulumi.tencentcloud.inputs.PtsProjectTagArgs;
    import com.pulumi.tencentcloud.PtsAlertChannel;
    import com.pulumi.tencentcloud.PtsAlertChannelArgs;
    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 example = new MonitorAlarmNotice("example", MonitorAlarmNoticeArgs.builder()
                .noticeType("ALL")
                .noticeLanguage("zh-CN")
                .userNotices(MonitorAlarmNoticeUserNoticeArgs.builder()
                    .receiverType("USER")
                    .startTime(0)
                    .endTime(1)
                    .noticeWays(                
                        "EMAIL",
                        "SMS",
                        "WECHAT")
                    .userIds(10001)
                    .groupIds()
                    .phoneOrders(10001)
                    .phoneCircleTimes(2)
                    .phoneCircleInterval(50)
                    .phoneInnerInterval(60)
                    .needPhoneArriveNotice(1)
                    .phoneCallType("CIRCLE")
                    .weekdays(                
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7)
                    .build())
                .urlNotices(MonitorAlarmNoticeUrlNoticeArgs.builder()
                    .url("https://www.mytest.com/validate")
                    .endTime(0)
                    .startTime(1)
                    .weekdays(                
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7)
                    .build())
                .build());
    
            var project = new PtsProject("project", PtsProjectArgs.builder()
                .description("desc")
                .tags(PtsProjectTagArgs.builder()
                    .tagKey("createdBy")
                    .tagValue("terraform")
                    .build())
                .build());
    
            var alertChannel = new PtsAlertChannel("alertChannel", PtsAlertChannelArgs.builder()
                .noticeId(example.monitorAlarmNoticeId())
                .projectId(project.ptsProjectId())
                .ampConsumerId("Consumer-vvy1xxxxxx")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:MonitorAlarmNotice
        properties:
          noticeType: ALL
          noticeLanguage: zh-CN
          userNotices:
            - receiverType: USER
              startTime: 0
              endTime: 1
              noticeWays:
                - EMAIL
                - SMS
                - WECHAT
              userIds:
                - 10001
              groupIds: []
              phoneOrders:
                - 10001
              phoneCircleTimes: 2
              phoneCircleInterval: 50
              phoneInnerInterval: 60
              needPhoneArriveNotice: 1
              phoneCallType: CIRCLE
              weekdays:
                - 1
                - 2
                - 3
                - 4
                - 5
                - 6
                - 7
          urlNotices:
            - url: https://www.mytest.com/validate
              endTime: 0
              startTime: 1
              weekdays:
                - 1
                - 2
                - 3
                - 4
                - 5
                - 6
                - 7
      project:
        type: tencentcloud:PtsProject
        properties:
          description: desc
          tags:
            - tagKey: createdBy
              tagValue: terraform
      alertChannel:
        type: tencentcloud:PtsAlertChannel
        properties:
          noticeId: ${example.monitorAlarmNoticeId}
          projectId: ${project.ptsProjectId}
          ampConsumerId: Consumer-vvy1xxxxxx
    

    Create PtsAlertChannel Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PtsAlertChannel(name: string, args: PtsAlertChannelArgs, opts?: CustomResourceOptions);
    @overload
    def PtsAlertChannel(resource_name: str,
                        args: PtsAlertChannelArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def PtsAlertChannel(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        notice_id: Optional[str] = None,
                        project_id: Optional[str] = None,
                        amp_consumer_id: Optional[str] = None,
                        pts_alert_channel_id: Optional[str] = None)
    func NewPtsAlertChannel(ctx *Context, name string, args PtsAlertChannelArgs, opts ...ResourceOption) (*PtsAlertChannel, error)
    public PtsAlertChannel(string name, PtsAlertChannelArgs args, CustomResourceOptions? opts = null)
    public PtsAlertChannel(String name, PtsAlertChannelArgs args)
    public PtsAlertChannel(String name, PtsAlertChannelArgs args, CustomResourceOptions options)
    
    type: tencentcloud:PtsAlertChannel
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PtsAlertChannelArgs
    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 PtsAlertChannelArgs
    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 PtsAlertChannelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PtsAlertChannelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PtsAlertChannelArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PtsAlertChannel Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PtsAlertChannel resource accepts the following input properties:

    NoticeId string
    Notice ID.
    ProjectId string
    Project ID.
    AmpConsumerId string
    AMP Consumer ID.
    PtsAlertChannelId string
    ID of the resource.
    NoticeId string
    Notice ID.
    ProjectId string
    Project ID.
    AmpConsumerId string
    AMP Consumer ID.
    PtsAlertChannelId string
    ID of the resource.
    noticeId String
    Notice ID.
    projectId String
    Project ID.
    ampConsumerId String
    AMP Consumer ID.
    ptsAlertChannelId String
    ID of the resource.
    noticeId string
    Notice ID.
    projectId string
    Project ID.
    ampConsumerId string
    AMP Consumer ID.
    ptsAlertChannelId string
    ID of the resource.
    notice_id str
    Notice ID.
    project_id str
    Project ID.
    amp_consumer_id str
    AMP Consumer ID.
    pts_alert_channel_id str
    ID of the resource.
    noticeId String
    Notice ID.
    projectId String
    Project ID.
    ampConsumerId String
    AMP Consumer ID.
    ptsAlertChannelId String
    ID of the resource.

    Outputs

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

    AppId double
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    CreatedAt string
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status double
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    SubAccountUin string
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    Uin string
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    UpdatedAt string
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    AppId float64
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    CreatedAt string
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status float64
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    SubAccountUin string
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    Uin string
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    UpdatedAt string
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    appId Double
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    createdAt String
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    id String
    The provider-assigned unique ID for this managed resource.
    status Double
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    subAccountUin String
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin String
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updatedAt String
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    appId number
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    createdAt string
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    id string
    The provider-assigned unique ID for this managed resource.
    status number
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    subAccountUin string
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin string
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updatedAt string
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    app_id float
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    created_at str
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    id str
    The provider-assigned unique ID for this managed resource.
    status float
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    sub_account_uin str
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin str
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updated_at str
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    appId Number
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    createdAt String
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    id String
    The provider-assigned unique ID for this managed resource.
    status Number
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    subAccountUin String
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin String
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updatedAt String
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.

    Look up Existing PtsAlertChannel Resource

    Get an existing PtsAlertChannel 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?: PtsAlertChannelState, opts?: CustomResourceOptions): PtsAlertChannel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            amp_consumer_id: Optional[str] = None,
            app_id: Optional[float] = None,
            created_at: Optional[str] = None,
            notice_id: Optional[str] = None,
            project_id: Optional[str] = None,
            pts_alert_channel_id: Optional[str] = None,
            status: Optional[float] = None,
            sub_account_uin: Optional[str] = None,
            uin: Optional[str] = None,
            updated_at: Optional[str] = None) -> PtsAlertChannel
    func GetPtsAlertChannel(ctx *Context, name string, id IDInput, state *PtsAlertChannelState, opts ...ResourceOption) (*PtsAlertChannel, error)
    public static PtsAlertChannel Get(string name, Input<string> id, PtsAlertChannelState? state, CustomResourceOptions? opts = null)
    public static PtsAlertChannel get(String name, Output<String> id, PtsAlertChannelState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:PtsAlertChannel    get:      id: ${id}
    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:
    AmpConsumerId string
    AMP Consumer ID.
    AppId double
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    CreatedAt string
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    NoticeId string
    Notice ID.
    ProjectId string
    Project ID.
    PtsAlertChannelId string
    ID of the resource.
    Status double
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    SubAccountUin string
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    Uin string
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    UpdatedAt string
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    AmpConsumerId string
    AMP Consumer ID.
    AppId float64
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    CreatedAt string
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    NoticeId string
    Notice ID.
    ProjectId string
    Project ID.
    PtsAlertChannelId string
    ID of the resource.
    Status float64
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    SubAccountUin string
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    Uin string
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    UpdatedAt string
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    ampConsumerId String
    AMP Consumer ID.
    appId Double
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    createdAt String
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    noticeId String
    Notice ID.
    projectId String
    Project ID.
    ptsAlertChannelId String
    ID of the resource.
    status Double
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    subAccountUin String
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin String
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updatedAt String
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    ampConsumerId string
    AMP Consumer ID.
    appId number
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    createdAt string
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    noticeId string
    Notice ID.
    projectId string
    Project ID.
    ptsAlertChannelId string
    ID of the resource.
    status number
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    subAccountUin string
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin string
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updatedAt string
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    amp_consumer_id str
    AMP Consumer ID.
    app_id float
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    created_at str
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    notice_id str
    Notice ID.
    project_id str
    Project ID.
    pts_alert_channel_id str
    ID of the resource.
    status float
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    sub_account_uin str
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin str
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updated_at str
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.
    ampConsumerId String
    AMP Consumer ID.
    appId Number
    App ID Note: this field may return null, indicating that a valid value cannot be obtained.
    createdAt String
    Creation time Note: this field may return null, indicating that a valid value cannot be obtained.
    noticeId String
    Notice ID.
    projectId String
    Project ID.
    ptsAlertChannelId String
    ID of the resource.
    status Number
    Status Note: this field may return null, indicating that a valid value cannot be obtained.
    subAccountUin String
    Sub-user ID Note: this field may return null, indicating that a valid value cannot be obtained.
    uin String
    User ID Note: this field may return null, indicating that a valid value cannot be obtained.
    updatedAt String
    Update time Note: this field may return null, indicating that a valid value cannot be obtained.

    Import

    pts alert_channel can be imported using the project_id#notice_id, e.g.

    $ pulumi import tencentcloud:index/ptsAlertChannel:PtsAlertChannel alert_channel project-kww5v8se#notice-kl66t6y9
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack