AlertContact

class AlertContact : KotlinCustomResource

Provides a Application Real-Time Monitoring Service (ARMS) Alert Contact resource. For information about Application Real-Time Monitoring Service (ARMS) Alert Contact and how to use it, see What is Alert Contact.

NOTE: Available since v1.129.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.arms.AlertContact;
import com.pulumi.alicloud.arms.AlertContactArgs;
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 example = new AlertContact("example", AlertContactArgs.builder()
.alertContactName("example_value")
.dingRobotWebhookUrl("https://oapi.dingtalk.com/robot/send?access_token=91f2f6****")
.email("someone@example.com")
.phoneNum("1381111****")
.build());
}
}

Import

Application Real-Time Monitoring Service (ARMS) Alert Contact can be imported using the id, e.g.

$ pulumi import alicloud:arms/alertContact:AlertContact example <id>

Properties

Link copied to clipboard
val alertContactName: Output<String>?

The name of the alert contact.

Link copied to clipboard

The webhook URL of the DingTalk chatbot. For more information about how to obtain the URL, see Configure a DingTalk chatbot to send alert notifications: https://www.alibabacloud.com/help/en/doc-detail/106247.htm. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.

Link copied to clipboard
val email: Output<String>?

The email address of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val phoneNum: Output<String>?

The mobile number of the alert contact. You must specify at least one of the following parameters: PhoneNum, Email, and DingRobotWebhookUrl.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val systemNoc: Output<Boolean>?

Specifies whether the alert contact receives system notifications. Valid values: true: receives system notifications. false: does not receive system notifications.

Link copied to clipboard
val urn: Output<String>