1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. getAlarmNotifyGroups
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

volcengine.tls.getAlarmNotifyGroups

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine

    Use this data source to query detailed information of tls alarm notify groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.tls.getAlarmNotifyGroups({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.tls.get_alarm_notify_groups()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.GetAlarmNotifyGroups(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Tls.GetAlarmNotifyGroups.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.TlsFunctions;
    import com.pulumi.volcengine.tls.inputs.GetAlarmNotifyGroupsArgs;
    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 default = TlsFunctions.getAlarmNotifyGroups();
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:tls:getAlarmNotifyGroups
          Arguments: {}
    

    Using getAlarmNotifyGroups

    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 getAlarmNotifyGroups(args: GetAlarmNotifyGroupsArgs, opts?: InvokeOptions): Promise<GetAlarmNotifyGroupsResult>
    function getAlarmNotifyGroupsOutput(args: GetAlarmNotifyGroupsOutputArgs, opts?: InvokeOptions): Output<GetAlarmNotifyGroupsResult>
    def get_alarm_notify_groups(alarm_notify_group_id: Optional[str] = None,
                                alarm_notify_group_name: Optional[str] = None,
                                iam_project_name: Optional[str] = None,
                                output_file: Optional[str] = None,
                                receiver_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAlarmNotifyGroupsResult
    def get_alarm_notify_groups_output(alarm_notify_group_id: Optional[pulumi.Input[str]] = None,
                                alarm_notify_group_name: Optional[pulumi.Input[str]] = None,
                                iam_project_name: Optional[pulumi.Input[str]] = None,
                                output_file: Optional[pulumi.Input[str]] = None,
                                receiver_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAlarmNotifyGroupsResult]
    func GetAlarmNotifyGroups(ctx *Context, args *GetAlarmNotifyGroupsArgs, opts ...InvokeOption) (*GetAlarmNotifyGroupsResult, error)
    func GetAlarmNotifyGroupsOutput(ctx *Context, args *GetAlarmNotifyGroupsOutputArgs, opts ...InvokeOption) GetAlarmNotifyGroupsResultOutput

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

    public static class GetAlarmNotifyGroups 
    {
        public static Task<GetAlarmNotifyGroupsResult> InvokeAsync(GetAlarmNotifyGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetAlarmNotifyGroupsResult> Invoke(GetAlarmNotifyGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAlarmNotifyGroupsResult> getAlarmNotifyGroups(GetAlarmNotifyGroupsArgs args, InvokeOptions options)
    public static Output<GetAlarmNotifyGroupsResult> getAlarmNotifyGroups(GetAlarmNotifyGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:tls/getAlarmNotifyGroups:getAlarmNotifyGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AlarmNotifyGroupId string
    The id of the alarm notify group.
    AlarmNotifyGroupName string
    The name of the alarm notify group.
    IamProjectName string
    The name of the iam project.
    OutputFile string
    File name where to save data source results.
    ReceiverName string
    The name of the receiver.
    AlarmNotifyGroupId string
    The id of the alarm notify group.
    AlarmNotifyGroupName string
    The name of the alarm notify group.
    IamProjectName string
    The name of the iam project.
    OutputFile string
    File name where to save data source results.
    ReceiverName string
    The name of the receiver.
    alarmNotifyGroupId String
    The id of the alarm notify group.
    alarmNotifyGroupName String
    The name of the alarm notify group.
    iamProjectName String
    The name of the iam project.
    outputFile String
    File name where to save data source results.
    receiverName String
    The name of the receiver.
    alarmNotifyGroupId string
    The id of the alarm notify group.
    alarmNotifyGroupName string
    The name of the alarm notify group.
    iamProjectName string
    The name of the iam project.
    outputFile string
    File name where to save data source results.
    receiverName string
    The name of the receiver.
    alarm_notify_group_id str
    The id of the alarm notify group.
    alarm_notify_group_name str
    The name of the alarm notify group.
    iam_project_name str
    The name of the iam project.
    output_file str
    File name where to save data source results.
    receiver_name str
    The name of the receiver.
    alarmNotifyGroupId String
    The id of the alarm notify group.
    alarmNotifyGroupName String
    The name of the alarm notify group.
    iamProjectName String
    The name of the iam project.
    outputFile String
    File name where to save data source results.
    receiverName String
    The name of the receiver.

    getAlarmNotifyGroups Result

    The following output properties are available:

    Groups List<GetAlarmNotifyGroupsGroup>
    The list of the notify groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    AlarmNotifyGroupId string
    The id of the notify group.
    AlarmNotifyGroupName string
    Name of the notification group.
    IamProjectName string
    The iam project name.
    OutputFile string
    ReceiverName string
    Groups []GetAlarmNotifyGroupsGroup
    The list of the notify groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    AlarmNotifyGroupId string
    The id of the notify group.
    AlarmNotifyGroupName string
    Name of the notification group.
    IamProjectName string
    The iam project name.
    OutputFile string
    ReceiverName string
    groups List<GetAlarmNotifyGroupsGroup>
    The list of the notify groups.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    alarmNotifyGroupId String
    The id of the notify group.
    alarmNotifyGroupName String
    Name of the notification group.
    iamProjectName String
    The iam project name.
    outputFile String
    receiverName String
    groups GetAlarmNotifyGroupsGroup[]
    The list of the notify groups.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    alarmNotifyGroupId string
    The id of the notify group.
    alarmNotifyGroupName string
    Name of the notification group.
    iamProjectName string
    The iam project name.
    outputFile string
    receiverName string
    groups Sequence[GetAlarmNotifyGroupsGroup]
    The list of the notify groups.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    alarm_notify_group_id str
    The id of the notify group.
    alarm_notify_group_name str
    Name of the notification group.
    iam_project_name str
    The iam project name.
    output_file str
    receiver_name str
    groups List<Property Map>
    The list of the notify groups.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    alarmNotifyGroupId String
    The id of the notify group.
    alarmNotifyGroupName String
    Name of the notification group.
    iamProjectName String
    The iam project name.
    outputFile String
    receiverName String

    Supporting Types

    GetAlarmNotifyGroupsGroup

    AlarmNotifyGroupId string
    The id of the alarm notify group.
    AlarmNotifyGroupName string
    The name of the alarm notify group.
    CreateTime string
    The create time the notification.
    IamProjectName string
    The name of the iam project.
    ModifyTime string
    The modification time the notification.
    NotifyTypes List<string>
    The notify group type.
    Receivers List<GetAlarmNotifyGroupsGroupReceiver>
    List of IAM users to receive alerts.
    AlarmNotifyGroupId string
    The id of the alarm notify group.
    AlarmNotifyGroupName string
    The name of the alarm notify group.
    CreateTime string
    The create time the notification.
    IamProjectName string
    The name of the iam project.
    ModifyTime string
    The modification time the notification.
    NotifyTypes []string
    The notify group type.
    Receivers []GetAlarmNotifyGroupsGroupReceiver
    List of IAM users to receive alerts.
    alarmNotifyGroupId String
    The id of the alarm notify group.
    alarmNotifyGroupName String
    The name of the alarm notify group.
    createTime String
    The create time the notification.
    iamProjectName String
    The name of the iam project.
    modifyTime String
    The modification time the notification.
    notifyTypes List<String>
    The notify group type.
    receivers List<GetAlarmNotifyGroupsGroupReceiver>
    List of IAM users to receive alerts.
    alarmNotifyGroupId string
    The id of the alarm notify group.
    alarmNotifyGroupName string
    The name of the alarm notify group.
    createTime string
    The create time the notification.
    iamProjectName string
    The name of the iam project.
    modifyTime string
    The modification time the notification.
    notifyTypes string[]
    The notify group type.
    receivers GetAlarmNotifyGroupsGroupReceiver[]
    List of IAM users to receive alerts.
    alarm_notify_group_id str
    The id of the alarm notify group.
    alarm_notify_group_name str
    The name of the alarm notify group.
    create_time str
    The create time the notification.
    iam_project_name str
    The name of the iam project.
    modify_time str
    The modification time the notification.
    notify_types Sequence[str]
    The notify group type.
    receivers Sequence[GetAlarmNotifyGroupsGroupReceiver]
    List of IAM users to receive alerts.
    alarmNotifyGroupId String
    The id of the alarm notify group.
    alarmNotifyGroupName String
    The name of the alarm notify group.
    createTime String
    The create time the notification.
    iamProjectName String
    The name of the iam project.
    modifyTime String
    The modification time the notification.
    notifyTypes List<String>
    The notify group type.
    receivers List<Property Map>
    List of IAM users to receive alerts.

    GetAlarmNotifyGroupsGroupReceiver

    EndTime string
    The end time.
    ReceiverChannels List<string>
    The list of the receiver channels.
    ReceiverNames List<string>
    List of the receiver names.
    ReceiverType string
    The receiver type.
    StartTime string
    The start time.
    EndTime string
    The end time.
    ReceiverChannels []string
    The list of the receiver channels.
    ReceiverNames []string
    List of the receiver names.
    ReceiverType string
    The receiver type.
    StartTime string
    The start time.
    endTime String
    The end time.
    receiverChannels List<String>
    The list of the receiver channels.
    receiverNames List<String>
    List of the receiver names.
    receiverType String
    The receiver type.
    startTime String
    The start time.
    endTime string
    The end time.
    receiverChannels string[]
    The list of the receiver channels.
    receiverNames string[]
    List of the receiver names.
    receiverType string
    The receiver type.
    startTime string
    The start time.
    end_time str
    The end time.
    receiver_channels Sequence[str]
    The list of the receiver channels.
    receiver_names Sequence[str]
    List of the receiver names.
    receiver_type str
    The receiver type.
    start_time str
    The start time.
    endTime String
    The end time.
    receiverChannels List<String>
    The list of the receiver channels.
    receiverNames List<String>
    List of the receiver names.
    receiverType String
    The receiver type.
    startTime String
    The start time.

    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.31 published on Monday, May 12, 2025 by Volcengine