MscSubWebhookArgs

data class MscSubWebhookArgs(val serverUrl: Output<String>? = null, val webhookName: Output<String>? = null) : ConvertibleToJava<MscSubWebhookArgs>

Provides a Msc Sub Webhook resource.

NOTE: Available in v1.141.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.MscSubWebhook;
import com.pulumi.alicloud.MscSubWebhookArgs;
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 MscSubWebhook("example", MscSubWebhookArgs.builder()
.serverUrl("example_value")
.webhookName("example_value")
.build());
}
}

Import

Msc Sub Webhook can be imported using the id, e.g.

$ pulumi import alicloud:index/mscSubWebhook:MscSubWebhook example <id>

Constructors

Link copied to clipboard
fun MscSubWebhookArgs(serverUrl: Output<String>? = null, webhookName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): MscSubWebhookArgs

Properties

Link copied to clipboard
val serverUrl: Output<String>? = null

The serverUrl of the Webhook. This url must start with https://oapi.dingtalk.com/robot/send?access_token=.

Link copied to clipboard
val webhookName: Output<String>? = null

The name of the Webhook. Note: The name must be 2 to 12 characters in length, and can contain uppercase and lowercase letters.