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

tencentcloud.getMonitorAlarmNoticeCallbacks

Explore with Pulumi AI

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

    Use this data source to query detailed information of monitor alarm_notice_callbacks

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const alarmNoticeCallbacks = tencentcloud.getMonitorAlarmNoticeCallbacks({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    alarm_notice_callbacks = tencentcloud.get_monitor_alarm_notice_callbacks()
    
    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 {
    		_, err := tencentcloud.GetMonitorAlarmNoticeCallbacks(ctx, &tencentcloud.GetMonitorAlarmNoticeCallbacksArgs{}, nil)
    		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 alarmNoticeCallbacks = Tencentcloud.GetMonitorAlarmNoticeCallbacks.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetMonitorAlarmNoticeCallbacksArgs;
    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) {
            final var alarmNoticeCallbacks = TencentcloudFunctions.getMonitorAlarmNoticeCallbacks();
    
        }
    }
    
    variables:
      alarmNoticeCallbacks:
        fn::invoke:
          function: tencentcloud:getMonitorAlarmNoticeCallbacks
          arguments: {}
    

    Using getMonitorAlarmNoticeCallbacks

    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 getMonitorAlarmNoticeCallbacks(args: GetMonitorAlarmNoticeCallbacksArgs, opts?: InvokeOptions): Promise<GetMonitorAlarmNoticeCallbacksResult>
    function getMonitorAlarmNoticeCallbacksOutput(args: GetMonitorAlarmNoticeCallbacksOutputArgs, opts?: InvokeOptions): Output<GetMonitorAlarmNoticeCallbacksResult>
    def get_monitor_alarm_notice_callbacks(id: Optional[str] = None,
                                           result_output_file: Optional[str] = None,
                                           tags: Optional[Mapping[str, str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetMonitorAlarmNoticeCallbacksResult
    def get_monitor_alarm_notice_callbacks_output(id: Optional[pulumi.Input[str]] = None,
                                           result_output_file: Optional[pulumi.Input[str]] = None,
                                           tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetMonitorAlarmNoticeCallbacksResult]
    func GetMonitorAlarmNoticeCallbacks(ctx *Context, args *GetMonitorAlarmNoticeCallbacksArgs, opts ...InvokeOption) (*GetMonitorAlarmNoticeCallbacksResult, error)
    func GetMonitorAlarmNoticeCallbacksOutput(ctx *Context, args *GetMonitorAlarmNoticeCallbacksOutputArgs, opts ...InvokeOption) GetMonitorAlarmNoticeCallbacksResultOutput

    > Note: This function is named GetMonitorAlarmNoticeCallbacks in the Go SDK.

    public static class GetMonitorAlarmNoticeCallbacks 
    {
        public static Task<GetMonitorAlarmNoticeCallbacksResult> InvokeAsync(GetMonitorAlarmNoticeCallbacksArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorAlarmNoticeCallbacksResult> Invoke(GetMonitorAlarmNoticeCallbacksInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitorAlarmNoticeCallbacksResult> getMonitorAlarmNoticeCallbacks(GetMonitorAlarmNoticeCallbacksArgs args, InvokeOptions options)
    public static Output<GetMonitorAlarmNoticeCallbacksResult> getMonitorAlarmNoticeCallbacks(GetMonitorAlarmNoticeCallbacksArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getMonitorAlarmNoticeCallbacks:getMonitorAlarmNoticeCallbacks
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Tags Dictionary<string, string>
    Tag description list.
    Id string
    ResultOutputFile string
    Used to save results.
    Tags map[string]string
    Tag description list.
    id String
    resultOutputFile String
    Used to save results.
    tags Map<String,String>
    Tag description list.
    id string
    resultOutputFile string
    Used to save results.
    tags {[key: string]: string}
    Tag description list.
    id str
    result_output_file str
    Used to save results.
    tags Mapping[str, str]
    Tag description list.
    id String
    resultOutputFile String
    Used to save results.
    tags Map<String>
    Tag description list.

    getMonitorAlarmNoticeCallbacks Result

    The following output properties are available:

    Id string
    UrlNotices List<GetMonitorAlarmNoticeCallbacksUrlNotice>
    Alarm callback notification.
    ResultOutputFile string
    Tags Dictionary<string, string>
    Id string
    UrlNotices []GetMonitorAlarmNoticeCallbacksUrlNotice
    Alarm callback notification.
    ResultOutputFile string
    Tags map[string]string
    id String
    urlNotices List<GetMonitorAlarmNoticeCallbacksUrlNotice>
    Alarm callback notification.
    resultOutputFile String
    tags Map<String,String>
    id string
    urlNotices GetMonitorAlarmNoticeCallbacksUrlNotice[]
    Alarm callback notification.
    resultOutputFile string
    tags {[key: string]: string}
    id String
    urlNotices List<Property Map>
    Alarm callback notification.
    resultOutputFile String
    tags Map<String>

    Supporting Types

    GetMonitorAlarmNoticeCallbacksUrlNotice

    EndTime double
    The number of seconds from the end of the notification day.
    IsValid double
    Verified 0=No 1=Yes.
    StartTime double
    The number of seconds starting from the day of notification start time.
    Url string
    Callback URL (limited to 256 characters).
    ValidationCode string
    Verification code.
    Weekdays List<double>
    Notification period 1-7 represents Monday to Sunday.
    EndTime float64
    The number of seconds from the end of the notification day.
    IsValid float64
    Verified 0=No 1=Yes.
    StartTime float64
    The number of seconds starting from the day of notification start time.
    Url string
    Callback URL (limited to 256 characters).
    ValidationCode string
    Verification code.
    Weekdays []float64
    Notification period 1-7 represents Monday to Sunday.
    endTime Double
    The number of seconds from the end of the notification day.
    isValid Double
    Verified 0=No 1=Yes.
    startTime Double
    The number of seconds starting from the day of notification start time.
    url String
    Callback URL (limited to 256 characters).
    validationCode String
    Verification code.
    weekdays List<Double>
    Notification period 1-7 represents Monday to Sunday.
    endTime number
    The number of seconds from the end of the notification day.
    isValid number
    Verified 0=No 1=Yes.
    startTime number
    The number of seconds starting from the day of notification start time.
    url string
    Callback URL (limited to 256 characters).
    validationCode string
    Verification code.
    weekdays number[]
    Notification period 1-7 represents Monday to Sunday.
    end_time float
    The number of seconds from the end of the notification day.
    is_valid float
    Verified 0=No 1=Yes.
    start_time float
    The number of seconds starting from the day of notification start time.
    url str
    Callback URL (limited to 256 characters).
    validation_code str
    Verification code.
    weekdays Sequence[float]
    Notification period 1-7 represents Monday to Sunday.
    endTime Number
    The number of seconds from the end of the notification day.
    isValid Number
    Verified 0=No 1=Yes.
    startTime Number
    The number of seconds starting from the day of notification start time.
    url String
    Callback URL (limited to 256 characters).
    validationCode String
    Verification code.
    weekdays List<Number>
    Notification period 1-7 represents Monday to Sunday.

    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