1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cloudfirewall
  5. UserAlarmConfig
Viewing docs for Alibaba Cloud v3.98.0
published on Saturday, Apr 4, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.98.0
published on Saturday, Apr 4, 2026 by Pulumi

    Provides a Cloud Firewall User Alarm Config resource.

    Configure alarm notifications and contacts.

    For information about Cloud Firewall User Alarm Config and how to use it, see What is User Alarm Config.

    NOTE: Available since v1.271.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = new alicloud.cloudfirewall.UserAlarmConfig("default", {
        alarmConfigs: [{
            alarmValue: "on",
            alarmType: "bandwidth",
            alarmPeriod: "1",
            alarmHour: "0",
            alarmNotify: "0",
            alarmWeekDay: "0",
        }],
        useDefaultContact: "1",
        notifyConfigs: [{
            notifyValue: "13000000000",
            notifyType: "sms",
        }],
        alarmLang: "zh",
        lang: "zh",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.cloudfirewall.UserAlarmConfig("default",
        alarm_configs=[{
            "alarm_value": "on",
            "alarm_type": "bandwidth",
            "alarm_period": "1",
            "alarm_hour": "0",
            "alarm_notify": "0",
            "alarm_week_day": "0",
        }],
        use_default_contact="1",
        notify_configs=[{
            "notify_value": "13000000000",
            "notify_type": "sms",
        }],
        alarm_lang="zh",
        lang="zh")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudfirewall.NewUserAlarmConfig(ctx, "default", &cloudfirewall.UserAlarmConfigArgs{
    			AlarmConfigs: cloudfirewall.UserAlarmConfigAlarmConfigArray{
    				&cloudfirewall.UserAlarmConfigAlarmConfigArgs{
    					AlarmValue:   pulumi.String("on"),
    					AlarmType:    pulumi.String("bandwidth"),
    					AlarmPeriod:  pulumi.String("1"),
    					AlarmHour:    pulumi.String("0"),
    					AlarmNotify:  pulumi.String("0"),
    					AlarmWeekDay: pulumi.String("0"),
    				},
    			},
    			UseDefaultContact: pulumi.String("1"),
    			NotifyConfigs: cloudfirewall.UserAlarmConfigNotifyConfigArray{
    				&cloudfirewall.UserAlarmConfigNotifyConfigArgs{
    					NotifyValue: pulumi.String("13000000000"),
    					NotifyType:  pulumi.String("sms"),
    				},
    			},
    			AlarmLang: pulumi.String("zh"),
    			Lang:      pulumi.String("zh"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new AliCloud.CloudFirewall.UserAlarmConfig("default", new()
        {
            AlarmConfigs = new[]
            {
                new AliCloud.CloudFirewall.Inputs.UserAlarmConfigAlarmConfigArgs
                {
                    AlarmValue = "on",
                    AlarmType = "bandwidth",
                    AlarmPeriod = "1",
                    AlarmHour = "0",
                    AlarmNotify = "0",
                    AlarmWeekDay = "0",
                },
            },
            UseDefaultContact = "1",
            NotifyConfigs = new[]
            {
                new AliCloud.CloudFirewall.Inputs.UserAlarmConfigNotifyConfigArgs
                {
                    NotifyValue = "13000000000",
                    NotifyType = "sms",
                },
            },
            AlarmLang = "zh",
            Lang = "zh",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.cloudfirewall.UserAlarmConfig;
    import com.pulumi.alicloud.cloudfirewall.UserAlarmConfigArgs;
    import com.pulumi.alicloud.cloudfirewall.inputs.UserAlarmConfigAlarmConfigArgs;
    import com.pulumi.alicloud.cloudfirewall.inputs.UserAlarmConfigNotifyConfigArgs;
    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 default_ = new UserAlarmConfig("default", UserAlarmConfigArgs.builder()
                .alarmConfigs(UserAlarmConfigAlarmConfigArgs.builder()
                    .alarmValue("on")
                    .alarmType("bandwidth")
                    .alarmPeriod("1")
                    .alarmHour("0")
                    .alarmNotify("0")
                    .alarmWeekDay("0")
                    .build())
                .useDefaultContact("1")
                .notifyConfigs(UserAlarmConfigNotifyConfigArgs.builder()
                    .notifyValue("13000000000")
                    .notifyType("sms")
                    .build())
                .alarmLang("zh")
                .lang("zh")
                .build());
    
        }
    }
    
    resources:
      default:
        type: alicloud:cloudfirewall:UserAlarmConfig
        properties:
          alarmConfigs:
            - alarmValue: on
              alarmType: bandwidth
              alarmPeriod: '1'
              alarmHour: '0'
              alarmNotify: '0'
              alarmWeekDay: '0'
          useDefaultContact: '1'
          notifyConfigs:
            - notifyValue: '13000000000'
              notifyType: sms
          alarmLang: zh
          lang: zh
    

    Deleting alicloud.cloudfirewall.UserAlarmConfig or removing it from your configuration

    Terraform cannot destroy resource alicloud.cloudfirewall.UserAlarmConfig. Terraform will remove this resource from the state file, however resources may remain.

    📚 Need more examples? VIEW MORE EXAMPLES

    Create UserAlarmConfig Resource

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

    Constructor syntax

    new UserAlarmConfig(name: string, args: UserAlarmConfigArgs, opts?: CustomResourceOptions);
    @overload
    def UserAlarmConfig(resource_name: str,
                        args: UserAlarmConfigArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def UserAlarmConfig(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        alarm_configs: Optional[Sequence[UserAlarmConfigAlarmConfigArgs]] = None,
                        alarm_lang: Optional[str] = None,
                        contact_configs: Optional[Sequence[UserAlarmConfigContactConfigArgs]] = None,
                        lang: Optional[str] = None,
                        notify_configs: Optional[Sequence[UserAlarmConfigNotifyConfigArgs]] = None,
                        use_default_contact: Optional[str] = None)
    func NewUserAlarmConfig(ctx *Context, name string, args UserAlarmConfigArgs, opts ...ResourceOption) (*UserAlarmConfig, error)
    public UserAlarmConfig(string name, UserAlarmConfigArgs args, CustomResourceOptions? opts = null)
    public UserAlarmConfig(String name, UserAlarmConfigArgs args)
    public UserAlarmConfig(String name, UserAlarmConfigArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudfirewall:UserAlarmConfig
    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 UserAlarmConfigArgs
    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 UserAlarmConfigArgs
    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 UserAlarmConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserAlarmConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserAlarmConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var userAlarmConfigResource = new AliCloud.CloudFirewall.UserAlarmConfig("userAlarmConfigResource", new()
    {
        AlarmConfigs = new[]
        {
            new AliCloud.CloudFirewall.Inputs.UserAlarmConfigAlarmConfigArgs
            {
                AlarmHour = "string",
                AlarmNotify = "string",
                AlarmPeriod = "string",
                AlarmType = "string",
                AlarmValue = "string",
                AlarmWeekDay = "string",
            },
        },
        AlarmLang = "string",
        ContactConfigs = new[]
        {
            new AliCloud.CloudFirewall.Inputs.UserAlarmConfigContactConfigArgs
            {
                Email = "string",
                MobilePhone = "string",
                Name = "string",
                Status = "string",
            },
        },
        Lang = "string",
        NotifyConfigs = new[]
        {
            new AliCloud.CloudFirewall.Inputs.UserAlarmConfigNotifyConfigArgs
            {
                NotifyType = "string",
                NotifyValue = "string",
            },
        },
        UseDefaultContact = "string",
    });
    
    example, err := cloudfirewall.NewUserAlarmConfig(ctx, "userAlarmConfigResource", &cloudfirewall.UserAlarmConfigArgs{
    	AlarmConfigs: cloudfirewall.UserAlarmConfigAlarmConfigArray{
    		&cloudfirewall.UserAlarmConfigAlarmConfigArgs{
    			AlarmHour:    pulumi.String("string"),
    			AlarmNotify:  pulumi.String("string"),
    			AlarmPeriod:  pulumi.String("string"),
    			AlarmType:    pulumi.String("string"),
    			AlarmValue:   pulumi.String("string"),
    			AlarmWeekDay: pulumi.String("string"),
    		},
    	},
    	AlarmLang: pulumi.String("string"),
    	ContactConfigs: cloudfirewall.UserAlarmConfigContactConfigArray{
    		&cloudfirewall.UserAlarmConfigContactConfigArgs{
    			Email:       pulumi.String("string"),
    			MobilePhone: pulumi.String("string"),
    			Name:        pulumi.String("string"),
    			Status:      pulumi.String("string"),
    		},
    	},
    	Lang: pulumi.String("string"),
    	NotifyConfigs: cloudfirewall.UserAlarmConfigNotifyConfigArray{
    		&cloudfirewall.UserAlarmConfigNotifyConfigArgs{
    			NotifyType:  pulumi.String("string"),
    			NotifyValue: pulumi.String("string"),
    		},
    	},
    	UseDefaultContact: pulumi.String("string"),
    })
    
    var userAlarmConfigResource = new UserAlarmConfig("userAlarmConfigResource", UserAlarmConfigArgs.builder()
        .alarmConfigs(UserAlarmConfigAlarmConfigArgs.builder()
            .alarmHour("string")
            .alarmNotify("string")
            .alarmPeriod("string")
            .alarmType("string")
            .alarmValue("string")
            .alarmWeekDay("string")
            .build())
        .alarmLang("string")
        .contactConfigs(UserAlarmConfigContactConfigArgs.builder()
            .email("string")
            .mobilePhone("string")
            .name("string")
            .status("string")
            .build())
        .lang("string")
        .notifyConfigs(UserAlarmConfigNotifyConfigArgs.builder()
            .notifyType("string")
            .notifyValue("string")
            .build())
        .useDefaultContact("string")
        .build());
    
    user_alarm_config_resource = alicloud.cloudfirewall.UserAlarmConfig("userAlarmConfigResource",
        alarm_configs=[{
            "alarm_hour": "string",
            "alarm_notify": "string",
            "alarm_period": "string",
            "alarm_type": "string",
            "alarm_value": "string",
            "alarm_week_day": "string",
        }],
        alarm_lang="string",
        contact_configs=[{
            "email": "string",
            "mobile_phone": "string",
            "name": "string",
            "status": "string",
        }],
        lang="string",
        notify_configs=[{
            "notify_type": "string",
            "notify_value": "string",
        }],
        use_default_contact="string")
    
    const userAlarmConfigResource = new alicloud.cloudfirewall.UserAlarmConfig("userAlarmConfigResource", {
        alarmConfigs: [{
            alarmHour: "string",
            alarmNotify: "string",
            alarmPeriod: "string",
            alarmType: "string",
            alarmValue: "string",
            alarmWeekDay: "string",
        }],
        alarmLang: "string",
        contactConfigs: [{
            email: "string",
            mobilePhone: "string",
            name: "string",
            status: "string",
        }],
        lang: "string",
        notifyConfigs: [{
            notifyType: "string",
            notifyValue: "string",
        }],
        useDefaultContact: "string",
    });
    
    type: alicloud:cloudfirewall:UserAlarmConfig
    properties:
        alarmConfigs:
            - alarmHour: string
              alarmNotify: string
              alarmPeriod: string
              alarmType: string
              alarmValue: string
              alarmWeekDay: string
        alarmLang: string
        contactConfigs:
            - email: string
              mobilePhone: string
              name: string
              status: string
        lang: string
        notifyConfigs:
            - notifyType: string
              notifyValue: string
        useDefaultContact: string
    

    UserAlarmConfig 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 UserAlarmConfig resource accepts the following input properties:

    AlarmConfigs List<Pulumi.AliCloud.CloudFirewall.Inputs.UserAlarmConfigAlarmConfig>
    The alarm configuration. More details see alarmConfig below.
    AlarmLang string
    The alarm language. Possible values are zh, en.
    ContactConfigs List<Pulumi.AliCloud.CloudFirewall.Inputs.UserAlarmConfigContactConfig>
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    Lang string

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    NotifyConfigs List<Pulumi.AliCloud.CloudFirewall.Inputs.UserAlarmConfigNotifyConfig>
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    UseDefaultContact string

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    AlarmConfigs []UserAlarmConfigAlarmConfigArgs
    The alarm configuration. More details see alarmConfig below.
    AlarmLang string
    The alarm language. Possible values are zh, en.
    ContactConfigs []UserAlarmConfigContactConfigArgs
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    Lang string

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    NotifyConfigs []UserAlarmConfigNotifyConfigArgs
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    UseDefaultContact string

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarmConfigs List<UserAlarmConfigAlarmConfig>
    The alarm configuration. More details see alarmConfig below.
    alarmLang String
    The alarm language. Possible values are zh, en.
    contactConfigs List<UserAlarmConfigContactConfig>
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang String

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notifyConfigs List<UserAlarmConfigNotifyConfig>
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    useDefaultContact String

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarmConfigs UserAlarmConfigAlarmConfig[]
    The alarm configuration. More details see alarmConfig below.
    alarmLang string
    The alarm language. Possible values are zh, en.
    contactConfigs UserAlarmConfigContactConfig[]
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang string

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notifyConfigs UserAlarmConfigNotifyConfig[]
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    useDefaultContact string

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarm_configs Sequence[UserAlarmConfigAlarmConfigArgs]
    The alarm configuration. More details see alarmConfig below.
    alarm_lang str
    The alarm language. Possible values are zh, en.
    contact_configs Sequence[UserAlarmConfigContactConfigArgs]
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang str

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notify_configs Sequence[UserAlarmConfigNotifyConfigArgs]
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    use_default_contact str

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarmConfigs List<Property Map>
    The alarm configuration. More details see alarmConfig below.
    alarmLang String
    The alarm language. Possible values are zh, en.
    contactConfigs List<Property Map>
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang String

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notifyConfigs List<Property Map>
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    useDefaultContact String

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing UserAlarmConfig Resource

    Get an existing UserAlarmConfig 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?: UserAlarmConfigState, opts?: CustomResourceOptions): UserAlarmConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alarm_configs: Optional[Sequence[UserAlarmConfigAlarmConfigArgs]] = None,
            alarm_lang: Optional[str] = None,
            contact_configs: Optional[Sequence[UserAlarmConfigContactConfigArgs]] = None,
            lang: Optional[str] = None,
            notify_configs: Optional[Sequence[UserAlarmConfigNotifyConfigArgs]] = None,
            use_default_contact: Optional[str] = None) -> UserAlarmConfig
    func GetUserAlarmConfig(ctx *Context, name string, id IDInput, state *UserAlarmConfigState, opts ...ResourceOption) (*UserAlarmConfig, error)
    public static UserAlarmConfig Get(string name, Input<string> id, UserAlarmConfigState? state, CustomResourceOptions? opts = null)
    public static UserAlarmConfig get(String name, Output<String> id, UserAlarmConfigState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:cloudfirewall:UserAlarmConfig    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:
    AlarmConfigs List<Pulumi.AliCloud.CloudFirewall.Inputs.UserAlarmConfigAlarmConfig>
    The alarm configuration. More details see alarmConfig below.
    AlarmLang string
    The alarm language. Possible values are zh, en.
    ContactConfigs List<Pulumi.AliCloud.CloudFirewall.Inputs.UserAlarmConfigContactConfig>
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    Lang string

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    NotifyConfigs List<Pulumi.AliCloud.CloudFirewall.Inputs.UserAlarmConfigNotifyConfig>
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    UseDefaultContact string

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    AlarmConfigs []UserAlarmConfigAlarmConfigArgs
    The alarm configuration. More details see alarmConfig below.
    AlarmLang string
    The alarm language. Possible values are zh, en.
    ContactConfigs []UserAlarmConfigContactConfigArgs
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    Lang string

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    NotifyConfigs []UserAlarmConfigNotifyConfigArgs
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    UseDefaultContact string

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarmConfigs List<UserAlarmConfigAlarmConfig>
    The alarm configuration. More details see alarmConfig below.
    alarmLang String
    The alarm language. Possible values are zh, en.
    contactConfigs List<UserAlarmConfigContactConfig>
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang String

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notifyConfigs List<UserAlarmConfigNotifyConfig>
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    useDefaultContact String

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarmConfigs UserAlarmConfigAlarmConfig[]
    The alarm configuration. More details see alarmConfig below.
    alarmLang string
    The alarm language. Possible values are zh, en.
    contactConfigs UserAlarmConfigContactConfig[]
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang string

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notifyConfigs UserAlarmConfigNotifyConfig[]
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    useDefaultContact string

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarm_configs Sequence[UserAlarmConfigAlarmConfigArgs]
    The alarm configuration. More details see alarmConfig below.
    alarm_lang str
    The alarm language. Possible values are zh, en.
    contact_configs Sequence[UserAlarmConfigContactConfigArgs]
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang str

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notify_configs Sequence[UserAlarmConfigNotifyConfigArgs]
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    use_default_contact str

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    alarmConfigs List<Property Map>
    The alarm configuration. More details see alarmConfig below.
    alarmLang String
    The alarm language. Possible values are zh, en.
    contactConfigs List<Property Map>
    Conflict with notifyConfig. The contact configuration. More details see contactConfig below.
    lang String

    The language type. Possible values are zh, en.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    notifyConfigs List<Property Map>
    Conflict with contactConfig. The notification configuration. More details see notifyConfig below.
    useDefaultContact String

    Whether to Use the default contact.

    NOTE: This parameter only applies during resource creation, update. If modified in isolation without other property changes, Terraform will not trigger any action.

    Supporting Types

    UserAlarmConfigAlarmConfig, UserAlarmConfigAlarmConfigArgs

    AlarmHour string
    The time of the day when the alarm is triggered. The range is 0 ~ 24.
    AlarmNotify string
    The alarm notification type. Possible values are: 0(sms/email), 1(sms), 2(email), 3(none)
    AlarmPeriod string
    The alarm period. Possible values are: 0 (8:00 ~ 20:00), 1 24 hours.
    AlarmType string
    The alarm type. Possible values are: weeklyReport, trafficPreAlert, outgoingRiskAll, ipsMiddlethreat, bandwidth, ipsHighthreat, outgoingRiskNonWhite, ipsIgnoreResolved etc.
    AlarmValue string
    The alarm notification message.
    AlarmWeekDay string
    The day of the week when the alarm is triggered. The range is 1 ~ 7.
    AlarmHour string
    The time of the day when the alarm is triggered. The range is 0 ~ 24.
    AlarmNotify string
    The alarm notification type. Possible values are: 0(sms/email), 1(sms), 2(email), 3(none)
    AlarmPeriod string
    The alarm period. Possible values are: 0 (8:00 ~ 20:00), 1 24 hours.
    AlarmType string
    The alarm type. Possible values are: weeklyReport, trafficPreAlert, outgoingRiskAll, ipsMiddlethreat, bandwidth, ipsHighthreat, outgoingRiskNonWhite, ipsIgnoreResolved etc.
    AlarmValue string
    The alarm notification message.
    AlarmWeekDay string
    The day of the week when the alarm is triggered. The range is 1 ~ 7.
    alarmHour String
    The time of the day when the alarm is triggered. The range is 0 ~ 24.
    alarmNotify String
    The alarm notification type. Possible values are: 0(sms/email), 1(sms), 2(email), 3(none)
    alarmPeriod String
    The alarm period. Possible values are: 0 (8:00 ~ 20:00), 1 24 hours.
    alarmType String
    The alarm type. Possible values are: weeklyReport, trafficPreAlert, outgoingRiskAll, ipsMiddlethreat, bandwidth, ipsHighthreat, outgoingRiskNonWhite, ipsIgnoreResolved etc.
    alarmValue String
    The alarm notification message.
    alarmWeekDay String
    The day of the week when the alarm is triggered. The range is 1 ~ 7.
    alarmHour string
    The time of the day when the alarm is triggered. The range is 0 ~ 24.
    alarmNotify string
    The alarm notification type. Possible values are: 0(sms/email), 1(sms), 2(email), 3(none)
    alarmPeriod string
    The alarm period. Possible values are: 0 (8:00 ~ 20:00), 1 24 hours.
    alarmType string
    The alarm type. Possible values are: weeklyReport, trafficPreAlert, outgoingRiskAll, ipsMiddlethreat, bandwidth, ipsHighthreat, outgoingRiskNonWhite, ipsIgnoreResolved etc.
    alarmValue string
    The alarm notification message.
    alarmWeekDay string
    The day of the week when the alarm is triggered. The range is 1 ~ 7.
    alarm_hour str
    The time of the day when the alarm is triggered. The range is 0 ~ 24.
    alarm_notify str
    The alarm notification type. Possible values are: 0(sms/email), 1(sms), 2(email), 3(none)
    alarm_period str
    The alarm period. Possible values are: 0 (8:00 ~ 20:00), 1 24 hours.
    alarm_type str
    The alarm type. Possible values are: weeklyReport, trafficPreAlert, outgoingRiskAll, ipsMiddlethreat, bandwidth, ipsHighthreat, outgoingRiskNonWhite, ipsIgnoreResolved etc.
    alarm_value str
    The alarm notification message.
    alarm_week_day str
    The day of the week when the alarm is triggered. The range is 1 ~ 7.
    alarmHour String
    The time of the day when the alarm is triggered. The range is 0 ~ 24.
    alarmNotify String
    The alarm notification type. Possible values are: 0(sms/email), 1(sms), 2(email), 3(none)
    alarmPeriod String
    The alarm period. Possible values are: 0 (8:00 ~ 20:00), 1 24 hours.
    alarmType String
    The alarm type. Possible values are: weeklyReport, trafficPreAlert, outgoingRiskAll, ipsMiddlethreat, bandwidth, ipsHighthreat, outgoingRiskNonWhite, ipsIgnoreResolved etc.
    alarmValue String
    The alarm notification message.
    alarmWeekDay String
    The day of the week when the alarm is triggered. The range is 1 ~ 7.

    UserAlarmConfigContactConfig, UserAlarmConfigContactConfigArgs

    Email string
    The email address of the contact.
    MobilePhone string
    The mobile phone number of the contact.
    Name string
    The name of the contact.
    Status string
    The status of the contact configuration. Possible values are: 0 disable, 1 enable.
    Email string
    The email address of the contact.
    MobilePhone string
    The mobile phone number of the contact.
    Name string
    The name of the contact.
    Status string
    The status of the contact configuration. Possible values are: 0 disable, 1 enable.
    email String
    The email address of the contact.
    mobilePhone String
    The mobile phone number of the contact.
    name String
    The name of the contact.
    status String
    The status of the contact configuration. Possible values are: 0 disable, 1 enable.
    email string
    The email address of the contact.
    mobilePhone string
    The mobile phone number of the contact.
    name string
    The name of the contact.
    status string
    The status of the contact configuration. Possible values are: 0 disable, 1 enable.
    email str
    The email address of the contact.
    mobile_phone str
    The mobile phone number of the contact.
    name str
    The name of the contact.
    status str
    The status of the contact configuration. Possible values are: 0 disable, 1 enable.
    email String
    The email address of the contact.
    mobilePhone String
    The mobile phone number of the contact.
    name String
    The name of the contact.
    status String
    The status of the contact configuration. Possible values are: 0 disable, 1 enable.

    UserAlarmConfigNotifyConfig, UserAlarmConfigNotifyConfigArgs

    NotifyType string
    The notification type. Possible values are sms, mail.
    NotifyValue string
    The notification value. Depending on the value of notifyType, it can be a mobile phone number or an email address.
    NotifyType string
    The notification type. Possible values are sms, mail.
    NotifyValue string
    The notification value. Depending on the value of notifyType, it can be a mobile phone number or an email address.
    notifyType String
    The notification type. Possible values are sms, mail.
    notifyValue String
    The notification value. Depending on the value of notifyType, it can be a mobile phone number or an email address.
    notifyType string
    The notification type. Possible values are sms, mail.
    notifyValue string
    The notification value. Depending on the value of notifyType, it can be a mobile phone number or an email address.
    notify_type str
    The notification type. Possible values are sms, mail.
    notify_value str
    The notification value. Depending on the value of notifyType, it can be a mobile phone number or an email address.
    notifyType String
    The notification type. Possible values are sms, mail.
    notifyValue String
    The notification value. Depending on the value of notifyType, it can be a mobile phone number or an email address.

    Import

    Cloud Firewall User Alarm Config can be imported using the Account ID, e.g.

    $ terraform import alicloud_cloud_firewall_user_alarm_config.example <Alibaba Cloud Account ID>
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.98.0
    published on Saturday, Apr 4, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.