Provides a resource to manage tls alarm notify group
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.AlarmNotifyGroup;
import com.pulumi.volcengine.tls.AlarmNotifyGroupArgs;
import com.pulumi.volcengine.tls.inputs.AlarmNotifyGroupNoticeRuleArgs;
import com.pulumi.volcengine.tls.inputs.AlarmNotifyGroupNoticeRuleRuleNodeArgs;
import com.pulumi.volcengine.tls.inputs.AlarmNotifyGroupReceiverArgs;
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 foo = new AlarmNotifyGroup("foo", AlarmNotifyGroupArgs.builder()
.alarmNotifyGroupName("tf-test-modify-b")
.iamProjectName("default")
.noticeRules(AlarmNotifyGroupNoticeRuleArgs.builder()
.hasEndNode(true)
.hasNext(false)
.receiverInfos(AlarmNotifyGroupNoticeRuleReceiverInfoArgs.builder()
.endTime("23:59:59")
.receiverChannels(
"Email",
"Sms")
.receiverNames("jonny")
.receiverType("User")
.startTime("23:00:00")
.build())
.ruleNode(AlarmNotifyGroupNoticeRuleRuleNodeArgs.builder()
.children(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.type("Operation")
.value("OR")
.build())
.build())
.notifyTypes("Recovery")
.receivers(AlarmNotifyGroupReceiverArgs.builder()
.endTime("23:59:59")
.generalWebhookBody("test")
.generalWebhookHeaders(AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs.builder()
.key("test")
.value("test")
.build())
.generalWebhookMethod("POST")
.generalWebhookUrl("https://www.volcengine.com/docs/6470/112220?lang=zh")
.receiverChannels("Email")
.receiverNames("jonny")
.receiverType("User")
.startTime("23:00:00")
.build())
.build());
}
}
resources:
foo:
type: volcengine:tls:AlarmNotifyGroup
properties:
alarmNotifyGroupName: tf-test-modify-b
iamProjectName: default
noticeRules:
- hasEndNode: true
hasNext: false
receiverInfos:
- endTime: 23:59:59
receiverChannels:
- Email
- Sms
receiverNames:
- jonny
receiverType: User
startTime: 23:00:00
ruleNode:
children:
- type: Condition
value:
- NotifyType
- in
- '["1"]'
type: Operation
value:
- OR
notifyTypes:
- Recovery
receivers:
- endTime: 23:59:59
generalWebhookBody: test
generalWebhookHeaders:
- key: test
value: test
generalWebhookMethod: POST
generalWebhookUrl: https://www.volcengine.com/docs/6470/112220?lang=zh
receiverChannels:
- Email
receiverNames:
- jonny
receiverType: User
startTime: 23:00:00
Create AlarmNotifyGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlarmNotifyGroup(name: string, args: AlarmNotifyGroupArgs, opts?: CustomResourceOptions);@overload
def AlarmNotifyGroup(resource_name: str,
args: AlarmNotifyGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AlarmNotifyGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
alarm_notify_group_name: Optional[str] = None,
iam_project_name: Optional[str] = None,
notice_rules: Optional[Sequence[AlarmNotifyGroupNoticeRuleArgs]] = None,
notify_types: Optional[Sequence[str]] = None,
receivers: Optional[Sequence[AlarmNotifyGroupReceiverArgs]] = None)func NewAlarmNotifyGroup(ctx *Context, name string, args AlarmNotifyGroupArgs, opts ...ResourceOption) (*AlarmNotifyGroup, error)public AlarmNotifyGroup(string name, AlarmNotifyGroupArgs args, CustomResourceOptions? opts = null)
public AlarmNotifyGroup(String name, AlarmNotifyGroupArgs args)
public AlarmNotifyGroup(String name, AlarmNotifyGroupArgs args, CustomResourceOptions options)
type: volcengine:tls:AlarmNotifyGroup
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 AlarmNotifyGroupArgs
- 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 AlarmNotifyGroupArgs
- 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 AlarmNotifyGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlarmNotifyGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlarmNotifyGroupArgs
- 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 alarmNotifyGroupResource = new Volcengine.Tls.AlarmNotifyGroup("alarmNotifyGroupResource", new()
{
AlarmNotifyGroupName = "string",
IamProjectName = "string",
NoticeRules = new[]
{
new Volcengine.Tls.Inputs.AlarmNotifyGroupNoticeRuleArgs
{
HasEndNode = false,
HasNext = false,
ReceiverInfos = new[]
{
new Volcengine.Tls.Inputs.AlarmNotifyGroupNoticeRuleReceiverInfoArgs
{
AlarmContentTemplateId = "string",
AlarmWebhookAtUsers = new[]
{
"string",
},
AlarmWebhookIntegrationId = "string",
AlarmWebhookIntegrationName = "string",
AlarmWebhookIsAtAll = false,
EndTime = "string",
GeneralWebhookBody = "string",
GeneralWebhookHeaders = new[]
{
new Volcengine.Tls.Inputs.AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs
{
Key = "string",
Value = "string",
},
},
GeneralWebhookMethod = "string",
GeneralWebhookUrl = "string",
ReceiverChannels = new[]
{
"string",
},
ReceiverNames = new[]
{
"string",
},
ReceiverType = "string",
StartTime = "string",
},
},
RuleNode = new Volcengine.Tls.Inputs.AlarmNotifyGroupNoticeRuleRuleNodeArgs
{
Childrens = new[]
{
new Volcengine.Tls.Inputs.AlarmNotifyGroupNoticeRuleRuleNodeChildrenArgs
{
Type = "string",
Values = new[]
{
"string",
},
},
},
Type = "string",
Values = new[]
{
"string",
},
},
},
},
NotifyTypes = new[]
{
"string",
},
Receivers = new[]
{
new Volcengine.Tls.Inputs.AlarmNotifyGroupReceiverArgs
{
EndTime = "string",
StartTime = "string",
ReceiverType = "string",
ReceiverNames = new[]
{
"string",
},
ReceiverChannels = new[]
{
"string",
},
GeneralWebhookBody = "string",
AlarmContentTemplateId = "string",
GeneralWebhookHeaders = new[]
{
new Volcengine.Tls.Inputs.AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs
{
Key = "string",
Value = "string",
},
},
GeneralWebhookMethod = "string",
GeneralWebhookUrl = "string",
AlarmWebhookIsAtAll = false,
AlarmWebhookIntegrationName = "string",
AlarmWebhookIntegrationId = "string",
AlarmWebhookAtUsers = new[]
{
"string",
},
},
},
});
example, err := tls.NewAlarmNotifyGroup(ctx, "alarmNotifyGroupResource", &tls.AlarmNotifyGroupArgs{
AlarmNotifyGroupName: pulumi.String("string"),
IamProjectName: pulumi.String("string"),
NoticeRules: tls.AlarmNotifyGroupNoticeRuleArray{
&tls.AlarmNotifyGroupNoticeRuleArgs{
HasEndNode: pulumi.Bool(false),
HasNext: pulumi.Bool(false),
ReceiverInfos: tls.AlarmNotifyGroupNoticeRuleReceiverInfoArray{
&tls.AlarmNotifyGroupNoticeRuleReceiverInfoArgs{
AlarmContentTemplateId: pulumi.String("string"),
AlarmWebhookAtUsers: pulumi.StringArray{
pulumi.String("string"),
},
AlarmWebhookIntegrationId: pulumi.String("string"),
AlarmWebhookIntegrationName: pulumi.String("string"),
AlarmWebhookIsAtAll: pulumi.Bool(false),
EndTime: pulumi.String("string"),
GeneralWebhookBody: pulumi.String("string"),
GeneralWebhookHeaders: tls.AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArray{
&tls.AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
GeneralWebhookMethod: pulumi.String("string"),
GeneralWebhookUrl: pulumi.String("string"),
ReceiverChannels: pulumi.StringArray{
pulumi.String("string"),
},
ReceiverNames: pulumi.StringArray{
pulumi.String("string"),
},
ReceiverType: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
},
RuleNode: &tls.AlarmNotifyGroupNoticeRuleRuleNodeArgs{
Childrens: tls.AlarmNotifyGroupNoticeRuleRuleNodeChildrenArray{
&tls.AlarmNotifyGroupNoticeRuleRuleNodeChildrenArgs{
Type: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Type: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
NotifyTypes: pulumi.StringArray{
pulumi.String("string"),
},
Receivers: tls.AlarmNotifyGroupReceiverArray{
&tls.AlarmNotifyGroupReceiverArgs{
EndTime: pulumi.String("string"),
StartTime: pulumi.String("string"),
ReceiverType: pulumi.String("string"),
ReceiverNames: pulumi.StringArray{
pulumi.String("string"),
},
ReceiverChannels: pulumi.StringArray{
pulumi.String("string"),
},
GeneralWebhookBody: pulumi.String("string"),
AlarmContentTemplateId: pulumi.String("string"),
GeneralWebhookHeaders: tls.AlarmNotifyGroupReceiverGeneralWebhookHeaderArray{
&tls.AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
GeneralWebhookMethod: pulumi.String("string"),
GeneralWebhookUrl: pulumi.String("string"),
AlarmWebhookIsAtAll: pulumi.Bool(false),
AlarmWebhookIntegrationName: pulumi.String("string"),
AlarmWebhookIntegrationId: pulumi.String("string"),
AlarmWebhookAtUsers: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
var alarmNotifyGroupResource = new AlarmNotifyGroup("alarmNotifyGroupResource", AlarmNotifyGroupArgs.builder()
.alarmNotifyGroupName("string")
.iamProjectName("string")
.noticeRules(AlarmNotifyGroupNoticeRuleArgs.builder()
.hasEndNode(false)
.hasNext(false)
.receiverInfos(AlarmNotifyGroupNoticeRuleReceiverInfoArgs.builder()
.alarmContentTemplateId("string")
.alarmWebhookAtUsers("string")
.alarmWebhookIntegrationId("string")
.alarmWebhookIntegrationName("string")
.alarmWebhookIsAtAll(false)
.endTime("string")
.generalWebhookBody("string")
.generalWebhookHeaders(AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs.builder()
.key("string")
.value("string")
.build())
.generalWebhookMethod("string")
.generalWebhookUrl("string")
.receiverChannels("string")
.receiverNames("string")
.receiverType("string")
.startTime("string")
.build())
.ruleNode(AlarmNotifyGroupNoticeRuleRuleNodeArgs.builder()
.childrens(AlarmNotifyGroupNoticeRuleRuleNodeChildrenArgs.builder()
.type("string")
.values("string")
.build())
.type("string")
.values("string")
.build())
.build())
.notifyTypes("string")
.receivers(AlarmNotifyGroupReceiverArgs.builder()
.endTime("string")
.startTime("string")
.receiverType("string")
.receiverNames("string")
.receiverChannels("string")
.generalWebhookBody("string")
.alarmContentTemplateId("string")
.generalWebhookHeaders(AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs.builder()
.key("string")
.value("string")
.build())
.generalWebhookMethod("string")
.generalWebhookUrl("string")
.alarmWebhookIsAtAll(false)
.alarmWebhookIntegrationName("string")
.alarmWebhookIntegrationId("string")
.alarmWebhookAtUsers("string")
.build())
.build());
alarm_notify_group_resource = volcengine.tls.AlarmNotifyGroup("alarmNotifyGroupResource",
alarm_notify_group_name="string",
iam_project_name="string",
notice_rules=[{
"has_end_node": False,
"has_next": False,
"receiver_infos": [{
"alarm_content_template_id": "string",
"alarm_webhook_at_users": ["string"],
"alarm_webhook_integration_id": "string",
"alarm_webhook_integration_name": "string",
"alarm_webhook_is_at_all": False,
"end_time": "string",
"general_webhook_body": "string",
"general_webhook_headers": [{
"key": "string",
"value": "string",
}],
"general_webhook_method": "string",
"general_webhook_url": "string",
"receiver_channels": ["string"],
"receiver_names": ["string"],
"receiver_type": "string",
"start_time": "string",
}],
"rule_node": {
"childrens": [{
"type": "string",
"values": ["string"],
}],
"type": "string",
"values": ["string"],
},
}],
notify_types=["string"],
receivers=[{
"end_time": "string",
"start_time": "string",
"receiver_type": "string",
"receiver_names": ["string"],
"receiver_channels": ["string"],
"general_webhook_body": "string",
"alarm_content_template_id": "string",
"general_webhook_headers": [{
"key": "string",
"value": "string",
}],
"general_webhook_method": "string",
"general_webhook_url": "string",
"alarm_webhook_is_at_all": False,
"alarm_webhook_integration_name": "string",
"alarm_webhook_integration_id": "string",
"alarm_webhook_at_users": ["string"],
}])
const alarmNotifyGroupResource = new volcengine.tls.AlarmNotifyGroup("alarmNotifyGroupResource", {
alarmNotifyGroupName: "string",
iamProjectName: "string",
noticeRules: [{
hasEndNode: false,
hasNext: false,
receiverInfos: [{
alarmContentTemplateId: "string",
alarmWebhookAtUsers: ["string"],
alarmWebhookIntegrationId: "string",
alarmWebhookIntegrationName: "string",
alarmWebhookIsAtAll: false,
endTime: "string",
generalWebhookBody: "string",
generalWebhookHeaders: [{
key: "string",
value: "string",
}],
generalWebhookMethod: "string",
generalWebhookUrl: "string",
receiverChannels: ["string"],
receiverNames: ["string"],
receiverType: "string",
startTime: "string",
}],
ruleNode: {
childrens: [{
type: "string",
values: ["string"],
}],
type: "string",
values: ["string"],
},
}],
notifyTypes: ["string"],
receivers: [{
endTime: "string",
startTime: "string",
receiverType: "string",
receiverNames: ["string"],
receiverChannels: ["string"],
generalWebhookBody: "string",
alarmContentTemplateId: "string",
generalWebhookHeaders: [{
key: "string",
value: "string",
}],
generalWebhookMethod: "string",
generalWebhookUrl: "string",
alarmWebhookIsAtAll: false,
alarmWebhookIntegrationName: "string",
alarmWebhookIntegrationId: "string",
alarmWebhookAtUsers: ["string"],
}],
});
type: volcengine:tls:AlarmNotifyGroup
properties:
alarmNotifyGroupName: string
iamProjectName: string
noticeRules:
- hasEndNode: false
hasNext: false
receiverInfos:
- alarmContentTemplateId: string
alarmWebhookAtUsers:
- string
alarmWebhookIntegrationId: string
alarmWebhookIntegrationName: string
alarmWebhookIsAtAll: false
endTime: string
generalWebhookBody: string
generalWebhookHeaders:
- key: string
value: string
generalWebhookMethod: string
generalWebhookUrl: string
receiverChannels:
- string
receiverNames:
- string
receiverType: string
startTime: string
ruleNode:
childrens:
- type: string
values:
- string
type: string
values:
- string
notifyTypes:
- string
receivers:
- alarmContentTemplateId: string
alarmWebhookAtUsers:
- string
alarmWebhookIntegrationId: string
alarmWebhookIntegrationName: string
alarmWebhookIsAtAll: false
endTime: string
generalWebhookBody: string
generalWebhookHeaders:
- key: string
value: string
generalWebhookMethod: string
generalWebhookUrl: string
receiverChannels:
- string
receiverNames:
- string
receiverType: string
startTime: string
AlarmNotifyGroup 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 AlarmNotifyGroup resource accepts the following input properties:
- Alarm
Notify stringGroup Name - The name of the notify group.
- Iam
Project stringName - The name of the iam project.
- Notice
Rules List<AlarmNotify Group Notice Rule> - The list of the notice rules.
- Notify
Types List<string> - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- Receivers
List<Alarm
Notify Group Receiver> - List of IAM users to receive alerts.
- Alarm
Notify stringGroup Name - The name of the notify group.
- Iam
Project stringName - The name of the iam project.
- Notice
Rules []AlarmNotify Group Notice Rule Args - The list of the notice rules.
- Notify
Types []string - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- Receivers
[]Alarm
Notify Group Receiver Args - List of IAM users to receive alerts.
- alarm
Notify StringGroup Name - The name of the notify group.
- iam
Project StringName - The name of the iam project.
- notice
Rules List<AlarmNotify Group Notice Rule> - The list of the notice rules.
- notify
Types List<String> - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers
List<Alarm
Notify Group Receiver> - List of IAM users to receive alerts.
- alarm
Notify stringGroup Name - The name of the notify group.
- iam
Project stringName - The name of the iam project.
- notice
Rules AlarmNotify Group Notice Rule[] - The list of the notice rules.
- notify
Types string[] - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers
Alarm
Notify Group Receiver[] - List of IAM users to receive alerts.
- alarm_
notify_ strgroup_ name - The name of the notify group.
- iam_
project_ strname - The name of the iam project.
- notice_
rules Sequence[AlarmNotify Group Notice Rule Args] - The list of the notice rules.
- notify_
types Sequence[str] - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers
Sequence[Alarm
Notify Group Receiver Args] - List of IAM users to receive alerts.
- alarm
Notify StringGroup Name - The name of the notify group.
- iam
Project StringName - The name of the iam project.
- notice
Rules List<Property Map> - The list of the notice rules.
- notify
Types List<String> - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers List<Property Map>
- List of IAM users to receive alerts.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlarmNotifyGroup resource produces the following output properties:
- Alarm
Notify stringGroup Id - The alarm notification group id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Alarm
Notify stringGroup Id - The alarm notification group id.
- Id string
- The provider-assigned unique ID for this managed resource.
- alarm
Notify StringGroup Id - The alarm notification group id.
- id String
- The provider-assigned unique ID for this managed resource.
- alarm
Notify stringGroup Id - The alarm notification group id.
- id string
- The provider-assigned unique ID for this managed resource.
- alarm_
notify_ strgroup_ id - The alarm notification group id.
- id str
- The provider-assigned unique ID for this managed resource.
- alarm
Notify StringGroup Id - The alarm notification group id.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AlarmNotifyGroup Resource
Get an existing AlarmNotifyGroup 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?: AlarmNotifyGroupState, opts?: CustomResourceOptions): AlarmNotifyGroup@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alarm_notify_group_id: Optional[str] = None,
alarm_notify_group_name: Optional[str] = None,
iam_project_name: Optional[str] = None,
notice_rules: Optional[Sequence[AlarmNotifyGroupNoticeRuleArgs]] = None,
notify_types: Optional[Sequence[str]] = None,
receivers: Optional[Sequence[AlarmNotifyGroupReceiverArgs]] = None) -> AlarmNotifyGroupfunc GetAlarmNotifyGroup(ctx *Context, name string, id IDInput, state *AlarmNotifyGroupState, opts ...ResourceOption) (*AlarmNotifyGroup, error)public static AlarmNotifyGroup Get(string name, Input<string> id, AlarmNotifyGroupState? state, CustomResourceOptions? opts = null)public static AlarmNotifyGroup get(String name, Output<String> id, AlarmNotifyGroupState state, CustomResourceOptions options)resources: _: type: volcengine:tls:AlarmNotifyGroup 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.
- Alarm
Notify stringGroup Id - The alarm notification group id.
- Alarm
Notify stringGroup Name - The name of the notify group.
- Iam
Project stringName - The name of the iam project.
- Notice
Rules List<AlarmNotify Group Notice Rule> - The list of the notice rules.
- Notify
Types List<string> - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- Receivers
List<Alarm
Notify Group Receiver> - List of IAM users to receive alerts.
- Alarm
Notify stringGroup Id - The alarm notification group id.
- Alarm
Notify stringGroup Name - The name of the notify group.
- Iam
Project stringName - The name of the iam project.
- Notice
Rules []AlarmNotify Group Notice Rule Args - The list of the notice rules.
- Notify
Types []string - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- Receivers
[]Alarm
Notify Group Receiver Args - List of IAM users to receive alerts.
- alarm
Notify StringGroup Id - The alarm notification group id.
- alarm
Notify StringGroup Name - The name of the notify group.
- iam
Project StringName - The name of the iam project.
- notice
Rules List<AlarmNotify Group Notice Rule> - The list of the notice rules.
- notify
Types List<String> - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers
List<Alarm
Notify Group Receiver> - List of IAM users to receive alerts.
- alarm
Notify stringGroup Id - The alarm notification group id.
- alarm
Notify stringGroup Name - The name of the notify group.
- iam
Project stringName - The name of the iam project.
- notice
Rules AlarmNotify Group Notice Rule[] - The list of the notice rules.
- notify
Types string[] - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers
Alarm
Notify Group Receiver[] - List of IAM users to receive alerts.
- alarm_
notify_ strgroup_ id - The alarm notification group id.
- alarm_
notify_ strgroup_ name - The name of the notify group.
- iam_
project_ strname - The name of the iam project.
- notice_
rules Sequence[AlarmNotify Group Notice Rule Args] - The list of the notice rules.
- notify_
types Sequence[str] - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers
Sequence[Alarm
Notify Group Receiver Args] - List of IAM users to receive alerts.
- alarm
Notify StringGroup Id - The alarm notification group id.
- alarm
Notify StringGroup Name - The name of the notify group.
- iam
Project StringName - The name of the iam project.
- notice
Rules List<Property Map> - The list of the notice rules.
- notify
Types List<String> - The notify type. Trigger: Alarm Trigger Recovery: Alarm Recovery.
- receivers List<Property Map>
- List of IAM users to receive alerts.
Supporting Types
AlarmNotifyGroupNoticeRule, AlarmNotifyGroupNoticeRuleArgs
- Has
End boolNode - Whether there is an end node behind.
- Has
Next bool - Whether to continue to the next level of condition judgment.
- Receiver
Infos List<AlarmNotify Group Notice Rule Receiver Info> - List of IAM users to receive alerts.
- Rule
Node AlarmNotify Group Notice Rule Rule Node - The rule node.
- Has
End boolNode - Whether there is an end node behind.
- Has
Next bool - Whether to continue to the next level of condition judgment.
- Receiver
Infos []AlarmNotify Group Notice Rule Receiver Info - List of IAM users to receive alerts.
- Rule
Node AlarmNotify Group Notice Rule Rule Node - The rule node.
- has
End BooleanNode - Whether there is an end node behind.
- has
Next Boolean - Whether to continue to the next level of condition judgment.
- receiver
Infos List<AlarmNotify Group Notice Rule Receiver Info> - List of IAM users to receive alerts.
- rule
Node AlarmNotify Group Notice Rule Rule Node - The rule node.
- has
End booleanNode - Whether there is an end node behind.
- has
Next boolean - Whether to continue to the next level of condition judgment.
- receiver
Infos AlarmNotify Group Notice Rule Receiver Info[] - List of IAM users to receive alerts.
- rule
Node AlarmNotify Group Notice Rule Rule Node - The rule node.
- has_
end_ boolnode - Whether there is an end node behind.
- has_
next bool - Whether to continue to the next level of condition judgment.
- receiver_
infos Sequence[AlarmNotify Group Notice Rule Receiver Info] - List of IAM users to receive alerts.
- rule_
node AlarmNotify Group Notice Rule Rule Node - The rule node.
- has
End BooleanNode - Whether there is an end node behind.
- has
Next Boolean - Whether to continue to the next level of condition judgment.
- receiver
Infos List<Property Map> - List of IAM users to receive alerts.
- rule
Node Property Map - The rule node.
AlarmNotifyGroupNoticeRuleReceiverInfo, AlarmNotifyGroupNoticeRuleReceiverInfoArgs
- Alarm
Content stringTemplate Id - The alarm content template id.
- Alarm
Webhook List<string>At Users - The alarm webhook at users.
- Alarm
Webhook stringIntegration Id - The alarm webhook integration id.
- Alarm
Webhook stringIntegration Name - The alarm webhook integration name.
- Alarm
Webhook boolIs At All - The alarm webhook is at all.
- End
Time string - The end time.
- General
Webhook stringBody - The webhook body.
- General
Webhook List<AlarmHeaders Notify Group Notice Rule Receiver Info General Webhook Header> - The general webhook headers.
- General
Webhook stringMethod - The general webhook method.
- General
Webhook stringUrl - The webhook url.
- Receiver
Channels List<string> - The list of the receiver channels.
- Receiver
Names List<string> - List of the receiver names.
- Receiver
Type string - The receiver type.
- Start
Time string - The start time.
- Alarm
Content stringTemplate Id - The alarm content template id.
- Alarm
Webhook []stringAt Users - The alarm webhook at users.
- Alarm
Webhook stringIntegration Id - The alarm webhook integration id.
- Alarm
Webhook stringIntegration Name - The alarm webhook integration name.
- Alarm
Webhook boolIs At All - The alarm webhook is at all.
- End
Time string - The end time.
- General
Webhook stringBody - The webhook body.
- General
Webhook []AlarmHeaders Notify Group Notice Rule Receiver Info General Webhook Header - The general webhook headers.
- General
Webhook stringMethod - The general webhook method.
- General
Webhook stringUrl - The webhook url.
- Receiver
Channels []string - The list of the receiver channels.
- Receiver
Names []string - List of the receiver names.
- Receiver
Type string - The receiver type.
- Start
Time string - The start time.
- alarm
Content StringTemplate Id - The alarm content template id.
- alarm
Webhook List<String>At Users - The alarm webhook at users.
- alarm
Webhook StringIntegration Id - The alarm webhook integration id.
- alarm
Webhook StringIntegration Name - The alarm webhook integration name.
- alarm
Webhook BooleanIs At All - The alarm webhook is at all.
- end
Time String - The end time.
- general
Webhook StringBody - The webhook body.
- general
Webhook List<AlarmHeaders Notify Group Notice Rule Receiver Info General Webhook Header> - The general webhook headers.
- general
Webhook StringMethod - The general webhook method.
- general
Webhook StringUrl - The webhook url.
- receiver
Channels List<String> - The list of the receiver channels.
- receiver
Names List<String> - List of the receiver names.
- receiver
Type String - The receiver type.
- start
Time String - The start time.
- alarm
Content stringTemplate Id - The alarm content template id.
- alarm
Webhook string[]At Users - The alarm webhook at users.
- alarm
Webhook stringIntegration Id - The alarm webhook integration id.
- alarm
Webhook stringIntegration Name - The alarm webhook integration name.
- alarm
Webhook booleanIs At All - The alarm webhook is at all.
- end
Time string - The end time.
- general
Webhook stringBody - The webhook body.
- general
Webhook AlarmHeaders Notify Group Notice Rule Receiver Info General Webhook Header[] - The general webhook headers.
- general
Webhook stringMethod - The general webhook method.
- general
Webhook stringUrl - The webhook url.
- receiver
Channels string[] - The list of the receiver channels.
- receiver
Names string[] - List of the receiver names.
- receiver
Type string - The receiver type.
- start
Time string - The start time.
- alarm_
content_ strtemplate_ id - The alarm content template id.
- alarm_
webhook_ Sequence[str]at_ users - The alarm webhook at users.
- alarm_
webhook_ strintegration_ id - The alarm webhook integration id.
- alarm_
webhook_ strintegration_ name - The alarm webhook integration name.
- alarm_
webhook_ boolis_ at_ all - The alarm webhook is at all.
- end_
time str - The end time.
- general_
webhook_ strbody - The webhook body.
- general_
webhook_ Sequence[Alarmheaders Notify Group Notice Rule Receiver Info General Webhook Header] - The general webhook headers.
- general_
webhook_ strmethod - The general webhook method.
- general_
webhook_ strurl - The webhook url.
- 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.
- alarm
Content StringTemplate Id - The alarm content template id.
- alarm
Webhook List<String>At Users - The alarm webhook at users.
- alarm
Webhook StringIntegration Id - The alarm webhook integration id.
- alarm
Webhook StringIntegration Name - The alarm webhook integration name.
- alarm
Webhook BooleanIs At All - The alarm webhook is at all.
- end
Time String - The end time.
- general
Webhook StringBody - The webhook body.
- general
Webhook List<Property Map>Headers - The general webhook headers.
- general
Webhook StringMethod - The general webhook method.
- general
Webhook StringUrl - The webhook url.
- receiver
Channels List<String> - The list of the receiver channels.
- receiver
Names List<String> - List of the receiver names.
- receiver
Type String - The receiver type.
- start
Time String - The start time.
AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeader, AlarmNotifyGroupNoticeRuleReceiverInfoGeneralWebhookHeaderArgs
AlarmNotifyGroupNoticeRuleRuleNode, AlarmNotifyGroupNoticeRuleRuleNodeArgs
- Childrens
List<Alarm
Notify Group Notice Rule Rule Node Children> - The children of the rule node.
- Type string
- The type of the rule node.
- Values List<string>
- The value of the rule node.
- Childrens
[]Alarm
Notify Group Notice Rule Rule Node Children - The children of the rule node.
- Type string
- The type of the rule node.
- Values []string
- The value of the rule node.
- childrens
List<Alarm
Notify Group Notice Rule Rule Node Children> - The children of the rule node.
- type String
- The type of the rule node.
- values List<String>
- The value of the rule node.
- childrens
Alarm
Notify Group Notice Rule Rule Node Children[] - The children of the rule node.
- type string
- The type of the rule node.
- values string[]
- The value of the rule node.
- childrens
Sequence[Alarm
Notify Group Notice Rule Rule Node Children] - The children of the rule node.
- type str
- The type of the rule node.
- values Sequence[str]
- The value of the rule node.
- childrens List<Property Map>
- The children of the rule node.
- type String
- The type of the rule node.
- values List<String>
- The value of the rule node.
AlarmNotifyGroupNoticeRuleRuleNodeChildren, AlarmNotifyGroupNoticeRuleRuleNodeChildrenArgs
AlarmNotifyGroupReceiver, AlarmNotifyGroupReceiverArgs
- End
Time string - The end time.
- Receiver
Channels List<string> - The list of the receiver channels. Currently supported channels: Email, Sms, Phone.
- Receiver
Names List<string> - List of the receiver names.
- Receiver
Type string - The receiver type, Can be set as:
User(The id of user). - Start
Time string - The start time.
- Alarm
Content stringTemplate Id - The alarm content template id.
- Alarm
Webhook List<string>At Users - The alarm webhook at users.
- Alarm
Webhook stringIntegration Id - The alarm webhook integration id.
- Alarm
Webhook stringIntegration Name - The alarm webhook integration name.
- Alarm
Webhook boolIs At All - The alarm webhook is at all.
- General
Webhook stringBody - The webhook body.
- General
Webhook List<AlarmHeaders Notify Group Receiver General Webhook Header> - The general webhook headers.
- General
Webhook stringMethod - The general webhook method.
- General
Webhook stringUrl - The webhook url.
- End
Time string - The end time.
- Receiver
Channels []string - The list of the receiver channels. Currently supported channels: Email, Sms, Phone.
- Receiver
Names []string - List of the receiver names.
- Receiver
Type string - The receiver type, Can be set as:
User(The id of user). - Start
Time string - The start time.
- Alarm
Content stringTemplate Id - The alarm content template id.
- Alarm
Webhook []stringAt Users - The alarm webhook at users.
- Alarm
Webhook stringIntegration Id - The alarm webhook integration id.
- Alarm
Webhook stringIntegration Name - The alarm webhook integration name.
- Alarm
Webhook boolIs At All - The alarm webhook is at all.
- General
Webhook stringBody - The webhook body.
- General
Webhook []AlarmHeaders Notify Group Receiver General Webhook Header - The general webhook headers.
- General
Webhook stringMethod - The general webhook method.
- General
Webhook stringUrl - The webhook url.
- end
Time String - The end time.
- receiver
Channels List<String> - The list of the receiver channels. Currently supported channels: Email, Sms, Phone.
- receiver
Names List<String> - List of the receiver names.
- receiver
Type String - The receiver type, Can be set as:
User(The id of user). - start
Time String - The start time.
- alarm
Content StringTemplate Id - The alarm content template id.
- alarm
Webhook List<String>At Users - The alarm webhook at users.
- alarm
Webhook StringIntegration Id - The alarm webhook integration id.
- alarm
Webhook StringIntegration Name - The alarm webhook integration name.
- alarm
Webhook BooleanIs At All - The alarm webhook is at all.
- general
Webhook StringBody - The webhook body.
- general
Webhook List<AlarmHeaders Notify Group Receiver General Webhook Header> - The general webhook headers.
- general
Webhook StringMethod - The general webhook method.
- general
Webhook StringUrl - The webhook url.
- end
Time string - The end time.
- receiver
Channels string[] - The list of the receiver channels. Currently supported channels: Email, Sms, Phone.
- receiver
Names string[] - List of the receiver names.
- receiver
Type string - The receiver type, Can be set as:
User(The id of user). - start
Time string - The start time.
- alarm
Content stringTemplate Id - The alarm content template id.
- alarm
Webhook string[]At Users - The alarm webhook at users.
- alarm
Webhook stringIntegration Id - The alarm webhook integration id.
- alarm
Webhook stringIntegration Name - The alarm webhook integration name.
- alarm
Webhook booleanIs At All - The alarm webhook is at all.
- general
Webhook stringBody - The webhook body.
- general
Webhook AlarmHeaders Notify Group Receiver General Webhook Header[] - The general webhook headers.
- general
Webhook stringMethod - The general webhook method.
- general
Webhook stringUrl - The webhook url.
- end_
time str - The end time.
- receiver_
channels Sequence[str] - The list of the receiver channels. Currently supported channels: Email, Sms, Phone.
- receiver_
names Sequence[str] - List of the receiver names.
- receiver_
type str - The receiver type, Can be set as:
User(The id of user). - start_
time str - The start time.
- alarm_
content_ strtemplate_ id - The alarm content template id.
- alarm_
webhook_ Sequence[str]at_ users - The alarm webhook at users.
- alarm_
webhook_ strintegration_ id - The alarm webhook integration id.
- alarm_
webhook_ strintegration_ name - The alarm webhook integration name.
- alarm_
webhook_ boolis_ at_ all - The alarm webhook is at all.
- general_
webhook_ strbody - The webhook body.
- general_
webhook_ Sequence[Alarmheaders Notify Group Receiver General Webhook Header] - The general webhook headers.
- general_
webhook_ strmethod - The general webhook method.
- general_
webhook_ strurl - The webhook url.
- end
Time String - The end time.
- receiver
Channels List<String> - The list of the receiver channels. Currently supported channels: Email, Sms, Phone.
- receiver
Names List<String> - List of the receiver names.
- receiver
Type String - The receiver type, Can be set as:
User(The id of user). - start
Time String - The start time.
- alarm
Content StringTemplate Id - The alarm content template id.
- alarm
Webhook List<String>At Users - The alarm webhook at users.
- alarm
Webhook StringIntegration Id - The alarm webhook integration id.
- alarm
Webhook StringIntegration Name - The alarm webhook integration name.
- alarm
Webhook BooleanIs At All - The alarm webhook is at all.
- general
Webhook StringBody - The webhook body.
- general
Webhook List<Property Map>Headers - The general webhook headers.
- general
Webhook StringMethod - The general webhook method.
- general
Webhook StringUrl - The webhook url.
AlarmNotifyGroupReceiverGeneralWebhookHeader, AlarmNotifyGroupReceiverGeneralWebhookHeaderArgs
Import
tls alarm notify group can be imported using the id, e.g.
$ pulumi import volcengine:tls/alarmNotifyGroup:AlarmNotifyGroup default fa************
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
