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

tencentcloud.getMonitorAlarmAllNamespaces

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_all_namespaces

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const alarmAllNamespaces = tencentcloud.getMonitorAlarmAllNamespaces({
        ids: ["qaap_tunnel_l4_listeners"],
        module: "monitor",
        monitorTypes: ["MT_QCE"],
        sceneType: "ST_ALARM",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    alarm_all_namespaces = tencentcloud.get_monitor_alarm_all_namespaces(ids=["qaap_tunnel_l4_listeners"],
        module="monitor",
        monitor_types=["MT_QCE"],
        scene_type="ST_ALARM")
    
    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.GetMonitorAlarmAllNamespaces(ctx, &tencentcloud.GetMonitorAlarmAllNamespacesArgs{
    			Ids: []string{
    				"qaap_tunnel_l4_listeners",
    			},
    			Module: "monitor",
    			MonitorTypes: []string{
    				"MT_QCE",
    			},
    			SceneType: "ST_ALARM",
    		}, 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 alarmAllNamespaces = Tencentcloud.GetMonitorAlarmAllNamespaces.Invoke(new()
        {
            Ids = new[]
            {
                "qaap_tunnel_l4_listeners",
            },
            Module = "monitor",
            MonitorTypes = new[]
            {
                "MT_QCE",
            },
            SceneType = "ST_ALARM",
        });
    
    });
    
    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.GetMonitorAlarmAllNamespacesArgs;
    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 alarmAllNamespaces = TencentcloudFunctions.getMonitorAlarmAllNamespaces(GetMonitorAlarmAllNamespacesArgs.builder()
                .ids("qaap_tunnel_l4_listeners")
                .module("monitor")
                .monitorTypes("MT_QCE")
                .sceneType("ST_ALARM")
                .build());
    
        }
    }
    
    variables:
      alarmAllNamespaces:
        fn::invoke:
          function: tencentcloud:getMonitorAlarmAllNamespaces
          arguments:
            ids:
              - qaap_tunnel_l4_listeners
            module: monitor
            monitorTypes:
              - MT_QCE
            sceneType: ST_ALARM
    

    Using getMonitorAlarmAllNamespaces

    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 getMonitorAlarmAllNamespaces(args: GetMonitorAlarmAllNamespacesArgs, opts?: InvokeOptions): Promise<GetMonitorAlarmAllNamespacesResult>
    function getMonitorAlarmAllNamespacesOutput(args: GetMonitorAlarmAllNamespacesOutputArgs, opts?: InvokeOptions): Output<GetMonitorAlarmAllNamespacesResult>
    def get_monitor_alarm_all_namespaces(id: Optional[str] = None,
                                         ids: Optional[Sequence[str]] = None,
                                         module: Optional[str] = None,
                                         monitor_types: Optional[Sequence[str]] = None,
                                         result_output_file: Optional[str] = None,
                                         scene_type: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetMonitorAlarmAllNamespacesResult
    def get_monitor_alarm_all_namespaces_output(id: Optional[pulumi.Input[str]] = None,
                                         ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                         module: Optional[pulumi.Input[str]] = None,
                                         monitor_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                         result_output_file: Optional[pulumi.Input[str]] = None,
                                         scene_type: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetMonitorAlarmAllNamespacesResult]
    func GetMonitorAlarmAllNamespaces(ctx *Context, args *GetMonitorAlarmAllNamespacesArgs, opts ...InvokeOption) (*GetMonitorAlarmAllNamespacesResult, error)
    func GetMonitorAlarmAllNamespacesOutput(ctx *Context, args *GetMonitorAlarmAllNamespacesOutputArgs, opts ...InvokeOption) GetMonitorAlarmAllNamespacesResultOutput

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

    public static class GetMonitorAlarmAllNamespaces 
    {
        public static Task<GetMonitorAlarmAllNamespacesResult> InvokeAsync(GetMonitorAlarmAllNamespacesArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitorAlarmAllNamespacesResult> Invoke(GetMonitorAlarmAllNamespacesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitorAlarmAllNamespacesResult> getMonitorAlarmAllNamespaces(GetMonitorAlarmAllNamespacesArgs args, InvokeOptions options)
    public static Output<GetMonitorAlarmAllNamespacesResult> getMonitorAlarmAllNamespaces(GetMonitorAlarmAllNamespacesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getMonitorAlarmAllNamespaces:getMonitorAlarmAllNamespaces
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Module string
    Fixed value, as monitor.
    SceneType string
    Currently, only ST_ALARM=alarm type is filtered based on usage scenarios.
    Id string
    Namespace labeling.
    Ids List<string>
    Filter based on the Id of the namespace without filling in the default query for all.
    MonitorTypes List<string>
    Filter based on monitoring type, do not fill in default, check all types MT_QCE=cloud product monitoring.
    ResultOutputFile string
    Used to save results.
    Module string
    Fixed value, as monitor.
    SceneType string
    Currently, only ST_ALARM=alarm type is filtered based on usage scenarios.
    Id string
    Namespace labeling.
    Ids []string
    Filter based on the Id of the namespace without filling in the default query for all.
    MonitorTypes []string
    Filter based on monitoring type, do not fill in default, check all types MT_QCE=cloud product monitoring.
    ResultOutputFile string
    Used to save results.
    module String
    Fixed value, as monitor.
    sceneType String
    Currently, only ST_ALARM=alarm type is filtered based on usage scenarios.
    id String
    Namespace labeling.
    ids List<String>
    Filter based on the Id of the namespace without filling in the default query for all.
    monitorTypes List<String>
    Filter based on monitoring type, do not fill in default, check all types MT_QCE=cloud product monitoring.
    resultOutputFile String
    Used to save results.
    module string
    Fixed value, as monitor.
    sceneType string
    Currently, only ST_ALARM=alarm type is filtered based on usage scenarios.
    id string
    Namespace labeling.
    ids string[]
    Filter based on the Id of the namespace without filling in the default query for all.
    monitorTypes string[]
    Filter based on monitoring type, do not fill in default, check all types MT_QCE=cloud product monitoring.
    resultOutputFile string
    Used to save results.
    module str
    Fixed value, as monitor.
    scene_type str
    Currently, only ST_ALARM=alarm type is filtered based on usage scenarios.
    id str
    Namespace labeling.
    ids Sequence[str]
    Filter based on the Id of the namespace without filling in the default query for all.
    monitor_types Sequence[str]
    Filter based on monitoring type, do not fill in default, check all types MT_QCE=cloud product monitoring.
    result_output_file str
    Used to save results.
    module String
    Fixed value, as monitor.
    sceneType String
    Currently, only ST_ALARM=alarm type is filtered based on usage scenarios.
    id String
    Namespace labeling.
    ids List<String>
    Filter based on the Id of the namespace without filling in the default query for all.
    monitorTypes List<String>
    Filter based on monitoring type, do not fill in default, check all types MT_QCE=cloud product monitoring.
    resultOutputFile String
    Used to save results.

    getMonitorAlarmAllNamespaces Result

    The following output properties are available:

    CommonNamespaces List<GetMonitorAlarmAllNamespacesCommonNamespace>
    General alarm strategy types (including: application performance monitoring, front-end performance monitoring, cloud dial testing).
    CustomNamespacesNews List<GetMonitorAlarmAllNamespacesCustomNamespacesNews>
    Other alarm strategy types are currently not supported.
    Id string
    Namespace labeling.
    Module string
    QceNamespacesNews List<GetMonitorAlarmAllNamespacesQceNamespacesNews>
    Types of alarm strategies for cloud products.
    SceneType string
    Ids List<string>
    MonitorTypes List<string>
    ResultOutputFile string
    CommonNamespaces []GetMonitorAlarmAllNamespacesCommonNamespace
    General alarm strategy types (including: application performance monitoring, front-end performance monitoring, cloud dial testing).
    CustomNamespacesNews []GetMonitorAlarmAllNamespacesCustomNamespacesNews
    Other alarm strategy types are currently not supported.
    Id string
    Namespace labeling.
    Module string
    QceNamespacesNews []GetMonitorAlarmAllNamespacesQceNamespacesNews
    Types of alarm strategies for cloud products.
    SceneType string
    Ids []string
    MonitorTypes []string
    ResultOutputFile string
    commonNamespaces List<GetMonitorAlarmAllNamespacesCommonNamespace>
    General alarm strategy types (including: application performance monitoring, front-end performance monitoring, cloud dial testing).
    customNamespacesNews List<GetMonitorAlarmAllNamespacesCustomNamespacesNews>
    Other alarm strategy types are currently not supported.
    id String
    Namespace labeling.
    module String
    qceNamespacesNews List<GetMonitorAlarmAllNamespacesQceNamespacesNews>
    Types of alarm strategies for cloud products.
    sceneType String
    ids List<String>
    monitorTypes List<String>
    resultOutputFile String
    commonNamespaces GetMonitorAlarmAllNamespacesCommonNamespace[]
    General alarm strategy types (including: application performance monitoring, front-end performance monitoring, cloud dial testing).
    customNamespacesNews GetMonitorAlarmAllNamespacesCustomNamespacesNews[]
    Other alarm strategy types are currently not supported.
    id string
    Namespace labeling.
    module string
    qceNamespacesNews GetMonitorAlarmAllNamespacesQceNamespacesNews[]
    Types of alarm strategies for cloud products.
    sceneType string
    ids string[]
    monitorTypes string[]
    resultOutputFile string
    common_namespaces Sequence[GetMonitorAlarmAllNamespacesCommonNamespace]
    General alarm strategy types (including: application performance monitoring, front-end performance monitoring, cloud dial testing).
    custom_namespaces_news Sequence[GetMonitorAlarmAllNamespacesCustomNamespacesNews]
    Other alarm strategy types are currently not supported.
    id str
    Namespace labeling.
    module str
    qce_namespaces_news Sequence[GetMonitorAlarmAllNamespacesQceNamespacesNews]
    Types of alarm strategies for cloud products.
    scene_type str
    ids Sequence[str]
    monitor_types Sequence[str]
    result_output_file str
    commonNamespaces List<Property Map>
    General alarm strategy types (including: application performance monitoring, front-end performance monitoring, cloud dial testing).
    customNamespacesNews List<Property Map>
    Other alarm strategy types are currently not supported.
    id String
    Namespace labeling.
    module String
    qceNamespacesNews List<Property Map>
    Types of alarm strategies for cloud products.
    sceneType String
    ids List<String>
    monitorTypes List<String>
    resultOutputFile String

    Supporting Types

    GetMonitorAlarmAllNamespacesCommonNamespace

    Dimensions List<GetMonitorAlarmAllNamespacesCommonNamespaceDimension>
    Dimension Information.
    Id string
    Namespace labeling.
    MonitorType string
    Monitoring type.
    Name string
    Namespace name.
    Dimensions []GetMonitorAlarmAllNamespacesCommonNamespaceDimension
    Dimension Information.
    Id string
    Namespace labeling.
    MonitorType string
    Monitoring type.
    Name string
    Namespace name.
    dimensions List<GetMonitorAlarmAllNamespacesCommonNamespaceDimension>
    Dimension Information.
    id String
    Namespace labeling.
    monitorType String
    Monitoring type.
    name String
    Namespace name.
    dimensions GetMonitorAlarmAllNamespacesCommonNamespaceDimension[]
    Dimension Information.
    id string
    Namespace labeling.
    monitorType string
    Monitoring type.
    name string
    Namespace name.
    dimensions Sequence[GetMonitorAlarmAllNamespacesCommonNamespaceDimension]
    Dimension Information.
    id str
    Namespace labeling.
    monitor_type str
    Monitoring type.
    name str
    Namespace name.
    dimensions List<Property Map>
    Dimension Information.
    id String
    Namespace labeling.
    monitorType String
    Monitoring type.
    name String
    Namespace name.

    GetMonitorAlarmAllNamespacesCommonNamespaceDimension

    CanFilterHistory bool
    Can it be used to filter alarm history.
    CanFilterPolicy bool
    Can it be used to filter the policy list.
    CanGroupBy bool
    Can it be used as an aggregation dimension.
    IsMultiple bool
    Do you support multiple selections.
    IsMutable bool
    Can I modify it after creation.
    IsRequired bool
    Required or not.
    IsVisible bool
    Whether to display to users.
    Key string
    Dimension key identifier, backend English name.
    MustGroupBy bool
    Must it be used as an aggregation dimension.
    Name string
    Namespace name.
    Operators List<GetMonitorAlarmAllNamespacesCommonNamespaceDimensionOperator>
    List of supported operators.
    ShowValueReplace string
    Key to replace in front-end translation.
    CanFilterHistory bool
    Can it be used to filter alarm history.
    CanFilterPolicy bool
    Can it be used to filter the policy list.
    CanGroupBy bool
    Can it be used as an aggregation dimension.
    IsMultiple bool
    Do you support multiple selections.
    IsMutable bool
    Can I modify it after creation.
    IsRequired bool
    Required or not.
    IsVisible bool
    Whether to display to users.
    Key string
    Dimension key identifier, backend English name.
    MustGroupBy bool
    Must it be used as an aggregation dimension.
    Name string
    Namespace name.
    Operators []GetMonitorAlarmAllNamespacesCommonNamespaceDimensionOperator
    List of supported operators.
    ShowValueReplace string
    Key to replace in front-end translation.
    canFilterHistory Boolean
    Can it be used to filter alarm history.
    canFilterPolicy Boolean
    Can it be used to filter the policy list.
    canGroupBy Boolean
    Can it be used as an aggregation dimension.
    isMultiple Boolean
    Do you support multiple selections.
    isMutable Boolean
    Can I modify it after creation.
    isRequired Boolean
    Required or not.
    isVisible Boolean
    Whether to display to users.
    key String
    Dimension key identifier, backend English name.
    mustGroupBy Boolean
    Must it be used as an aggregation dimension.
    name String
    Namespace name.
    operators List<GetMonitorAlarmAllNamespacesCommonNamespaceDimensionOperator>
    List of supported operators.
    showValueReplace String
    Key to replace in front-end translation.
    canFilterHistory boolean
    Can it be used to filter alarm history.
    canFilterPolicy boolean
    Can it be used to filter the policy list.
    canGroupBy boolean
    Can it be used as an aggregation dimension.
    isMultiple boolean
    Do you support multiple selections.
    isMutable boolean
    Can I modify it after creation.
    isRequired boolean
    Required or not.
    isVisible boolean
    Whether to display to users.
    key string
    Dimension key identifier, backend English name.
    mustGroupBy boolean
    Must it be used as an aggregation dimension.
    name string
    Namespace name.
    operators GetMonitorAlarmAllNamespacesCommonNamespaceDimensionOperator[]
    List of supported operators.
    showValueReplace string
    Key to replace in front-end translation.
    can_filter_history bool
    Can it be used to filter alarm history.
    can_filter_policy bool
    Can it be used to filter the policy list.
    can_group_by bool
    Can it be used as an aggregation dimension.
    is_multiple bool
    Do you support multiple selections.
    is_mutable bool
    Can I modify it after creation.
    is_required bool
    Required or not.
    is_visible bool
    Whether to display to users.
    key str
    Dimension key identifier, backend English name.
    must_group_by bool
    Must it be used as an aggregation dimension.
    name str
    Namespace name.
    operators Sequence[GetMonitorAlarmAllNamespacesCommonNamespaceDimensionOperator]
    List of supported operators.
    show_value_replace str
    Key to replace in front-end translation.
    canFilterHistory Boolean
    Can it be used to filter alarm history.
    canFilterPolicy Boolean
    Can it be used to filter the policy list.
    canGroupBy Boolean
    Can it be used as an aggregation dimension.
    isMultiple Boolean
    Do you support multiple selections.
    isMutable Boolean
    Can I modify it after creation.
    isRequired Boolean
    Required or not.
    isVisible Boolean
    Whether to display to users.
    key String
    Dimension key identifier, backend English name.
    mustGroupBy Boolean
    Must it be used as an aggregation dimension.
    name String
    Namespace name.
    operators List<Property Map>
    List of supported operators.
    showValueReplace String
    Key to replace in front-end translation.

    GetMonitorAlarmAllNamespacesCommonNamespaceDimensionOperator

    Id string
    Namespace labeling.
    Name string
    Namespace name.
    Id string
    Namespace labeling.
    Name string
    Namespace name.
    id String
    Namespace labeling.
    name String
    Namespace name.
    id string
    Namespace labeling.
    name string
    Namespace name.
    id str
    Namespace labeling.
    name str
    Namespace name.
    id String
    Namespace labeling.
    name String
    Namespace name.

    GetMonitorAlarmAllNamespacesCustomNamespacesNews

    AvailableRegions List<string>
    List of supported regions.
    Config string
    Configuration information.
    DashboardId string
    Unique representation in dashboard.
    Id string
    Namespace labeling.
    Name string
    Namespace name.
    ProductName string
    Product Name.
    SortId double
    Sort Id.
    Value string
    Namespace value.
    AvailableRegions []string
    List of supported regions.
    Config string
    Configuration information.
    DashboardId string
    Unique representation in dashboard.
    Id string
    Namespace labeling.
    Name string
    Namespace name.
    ProductName string
    Product Name.
    SortId float64
    Sort Id.
    Value string
    Namespace value.
    availableRegions List<String>
    List of supported regions.
    config String
    Configuration information.
    dashboardId String
    Unique representation in dashboard.
    id String
    Namespace labeling.
    name String
    Namespace name.
    productName String
    Product Name.
    sortId Double
    Sort Id.
    value String
    Namespace value.
    availableRegions string[]
    List of supported regions.
    config string
    Configuration information.
    dashboardId string
    Unique representation in dashboard.
    id string
    Namespace labeling.
    name string
    Namespace name.
    productName string
    Product Name.
    sortId number
    Sort Id.
    value string
    Namespace value.
    available_regions Sequence[str]
    List of supported regions.
    config str
    Configuration information.
    dashboard_id str
    Unique representation in dashboard.
    id str
    Namespace labeling.
    name str
    Namespace name.
    product_name str
    Product Name.
    sort_id float
    Sort Id.
    value str
    Namespace value.
    availableRegions List<String>
    List of supported regions.
    config String
    Configuration information.
    dashboardId String
    Unique representation in dashboard.
    id String
    Namespace labeling.
    name String
    Namespace name.
    productName String
    Product Name.
    sortId Number
    Sort Id.
    value String
    Namespace value.

    GetMonitorAlarmAllNamespacesQceNamespacesNews

    AvailableRegions List<string>
    List of supported regions.
    Config string
    Configuration information.
    DashboardId string
    Unique representation in dashboard.
    Id string
    Namespace labeling.
    Name string
    Namespace name.
    ProductName string
    Product Name.
    SortId double
    Sort Id.
    Value string
    Namespace value.
    AvailableRegions []string
    List of supported regions.
    Config string
    Configuration information.
    DashboardId string
    Unique representation in dashboard.
    Id string
    Namespace labeling.
    Name string
    Namespace name.
    ProductName string
    Product Name.
    SortId float64
    Sort Id.
    Value string
    Namespace value.
    availableRegions List<String>
    List of supported regions.
    config String
    Configuration information.
    dashboardId String
    Unique representation in dashboard.
    id String
    Namespace labeling.
    name String
    Namespace name.
    productName String
    Product Name.
    sortId Double
    Sort Id.
    value String
    Namespace value.
    availableRegions string[]
    List of supported regions.
    config string
    Configuration information.
    dashboardId string
    Unique representation in dashboard.
    id string
    Namespace labeling.
    name string
    Namespace name.
    productName string
    Product Name.
    sortId number
    Sort Id.
    value string
    Namespace value.
    available_regions Sequence[str]
    List of supported regions.
    config str
    Configuration information.
    dashboard_id str
    Unique representation in dashboard.
    id str
    Namespace labeling.
    name str
    Namespace name.
    product_name str
    Product Name.
    sort_id float
    Sort Id.
    value str
    Namespace value.
    availableRegions List<String>
    List of supported regions.
    config String
    Configuration information.
    dashboardId String
    Unique representation in dashboard.
    id String
    Namespace labeling.
    name String
    Namespace name.
    productName String
    Product Name.
    sortId Number
    Sort Id.
    value String
    Namespace value.

    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