MscSubWebhook

class MscSubWebhook : KotlinCustomResource

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>

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serverUrl: Output<String>

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val webhookName: Output<String>

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