@volcengine/pulumi-volcenginecc 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alb/acl.d.ts +20 -20
- package/alb/acl.js +1 -1
- package/alb/certificate.d.ts +19 -3
- package/alb/certificate.js +3 -4
- package/alb/certificate.js.map +1 -1
- package/alb/getAcl.d.ts +11 -11
- package/alb/getCertificate.d.ts +5 -1
- package/alb/getCertificate.js.map +1 -1
- package/alb/getListener.d.ts +20 -20
- package/alb/getServerGroup.d.ts +9 -9
- package/alb/listener.d.ts +52 -52
- package/alb/listener.js +1 -1
- package/alb/serverGroup.d.ts +24 -24
- package/alb/serverGroup.js +1 -1
- package/cbr/backupPolicy.d.ts +2 -2
- package/cbr/backupPolicy.js +2 -2
- package/cloudidentity/userProvisioning.d.ts +2 -2
- package/cloudidentity/userProvisioning.js +2 -2
- package/cloudmonitor/eventRule.d.ts +226 -0
- package/cloudmonitor/eventRule.js +126 -0
- package/cloudmonitor/eventRule.js.map +1 -0
- package/cloudmonitor/getEventRule.d.ts +65 -0
- package/cloudmonitor/getEventRule.js +28 -0
- package/cloudmonitor/getEventRule.js.map +1 -0
- package/cloudmonitor/getEventRules.d.ts +22 -0
- package/cloudmonitor/getEventRules.js +24 -0
- package/cloudmonitor/getEventRules.js.map +1 -0
- package/cloudmonitor/getRule.d.ts +11 -11
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cloudmonitor/rule.d.ts +33 -33
- package/cr/getRegistry.d.ts +11 -11
- package/cr/getVpcEndpoint.d.ts +45 -0
- package/cr/getVpcEndpoint.js +28 -0
- package/cr/getVpcEndpoint.js.map +1 -0
- package/cr/getVpcEndpoints.d.ts +22 -0
- package/cr/getVpcEndpoints.js +24 -0
- package/cr/getVpcEndpoints.js.map +1 -0
- package/cr/index.d.ts +9 -0
- package/cr/index.js +12 -1
- package/cr/index.js.map +1 -1
- package/cr/registry.d.ts +28 -28
- package/cr/registry.js +1 -1
- package/cr/vpcEndpoint.d.ts +62 -0
- package/cr/vpcEndpoint.js +66 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/directconnect/connection.d.ts +332 -0
- package/directconnect/connection.js +163 -0
- package/directconnect/connection.js.map +1 -0
- package/directconnect/getConnection.d.ts +145 -0
- package/directconnect/getConnection.js +28 -0
- package/directconnect/getConnection.js.map +1 -0
- package/directconnect/getConnections.d.ts +22 -0
- package/directconnect/getConnections.js +24 -0
- package/directconnect/getConnections.js.map +1 -0
- package/directconnect/index.d.ts +9 -0
- package/directconnect/index.js +12 -1
- package/directconnect/index.js.map +1 -1
- package/dns/backupSchedule.d.ts +89 -0
- package/dns/backupSchedule.js +80 -0
- package/dns/backupSchedule.js.map +1 -0
- package/dns/getBackupSchedule.d.ts +48 -0
- package/dns/getBackupSchedule.js +28 -0
- package/dns/getBackupSchedule.js.map +1 -0
- package/dns/getBackupSchedules.d.ts +22 -0
- package/dns/getBackupSchedules.js +24 -0
- package/dns/getBackupSchedules.js.map +1 -0
- package/dns/index.d.ts +9 -0
- package/dns/index.js +12 -1
- package/dns/index.js.map +1 -1
- package/fwcenter/addressBook.d.ts +210 -0
- package/fwcenter/addressBook.js +115 -0
- package/fwcenter/addressBook.js.map +1 -0
- package/fwcenter/controlPolicy.d.ts +437 -0
- package/fwcenter/controlPolicy.js +183 -0
- package/fwcenter/controlPolicy.js.map +1 -0
- package/fwcenter/getAddressBook.d.ts +93 -0
- package/fwcenter/getAddressBook.js +28 -0
- package/fwcenter/getAddressBook.js.map +1 -0
- package/fwcenter/getAddressBooks.d.ts +22 -0
- package/fwcenter/getAddressBooks.js +24 -0
- package/fwcenter/getAddressBooks.js.map +1 -0
- package/fwcenter/getControlPolicies.d.ts +22 -0
- package/fwcenter/getControlPolicies.js +24 -0
- package/fwcenter/getControlPolicies.js.map +1 -0
- package/fwcenter/getControlPolicy.d.ts +185 -0
- package/fwcenter/getControlPolicy.js +28 -0
- package/fwcenter/getControlPolicy.js.map +1 -0
- package/fwcenter/getVpcFireWallAclRule.d.ts +189 -0
- package/fwcenter/getVpcFireWallAclRule.js +28 -0
- package/fwcenter/getVpcFireWallAclRule.js.map +1 -0
- package/fwcenter/getVpcFireWallAclRules.d.ts +22 -0
- package/fwcenter/getVpcFireWallAclRules.js +24 -0
- package/fwcenter/getVpcFireWallAclRules.js.map +1 -0
- package/fwcenter/index.d.ts +27 -0
- package/fwcenter/index.js +34 -1
- package/fwcenter/index.js.map +1 -1
- package/fwcenter/vpcFireWallAclRule.d.ts +446 -0
- package/fwcenter/vpcFireWallAclRule.js +186 -0
- package/fwcenter/vpcFireWallAclRule.js.map +1 -0
- package/gtm/getGtm.d.ts +9 -0
- package/gtm/getGtm.js.map +1 -1
- package/gtm/getPolicies.d.ts +22 -0
- package/gtm/getPolicies.js +24 -0
- package/gtm/getPolicies.js.map +1 -0
- package/gtm/getPolicy.d.ts +65 -0
- package/gtm/getPolicy.js +28 -0
- package/gtm/getPolicy.js.map +1 -0
- package/gtm/gtm.d.ts +18 -0
- package/gtm/gtm.js +4 -0
- package/gtm/gtm.js.map +1 -1
- package/gtm/index.d.ts +9 -0
- package/gtm/index.js +12 -1
- package/gtm/index.js.map +1 -1
- package/gtm/policy.d.ts +114 -0
- package/gtm/policy.js +76 -0
- package/gtm/policy.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/kafka/allowList.d.ts +0 -22
- package/kafka/allowList.js +0 -22
- package/kafka/allowList.js.map +1 -1
- package/kafka/getGroup.d.ts +65 -0
- package/kafka/getGroup.js +28 -0
- package/kafka/getGroup.js.map +1 -0
- package/kafka/getGroups.d.ts +22 -0
- package/kafka/getGroups.js +24 -0
- package/kafka/getGroups.js.map +1 -0
- package/kafka/group.d.ts +127 -0
- package/kafka/group.js +93 -0
- package/kafka/group.js.map +1 -0
- package/kafka/index.d.ts +9 -0
- package/kafka/index.js +12 -1
- package/kafka/index.js.map +1 -1
- package/organization/getServiceControlPolicyEnabler.d.ts +48 -0
- package/organization/getServiceControlPolicyEnabler.js +28 -0
- package/organization/getServiceControlPolicyEnabler.js.map +1 -0
- package/organization/getServiceControlPolicyEnablers.d.ts +22 -0
- package/organization/getServiceControlPolicyEnablers.js +24 -0
- package/organization/getServiceControlPolicyEnablers.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/organization/serviceControlPolicyEnabler.d.ts +78 -0
- package/organization/serviceControlPolicyEnabler.js +71 -0
- package/organization/serviceControlPolicyEnabler.js.map +1 -0
- package/package.json +1 -1
- package/rabbitmq/allowList.d.ts +0 -17
- package/rabbitmq/allowList.js +0 -17
- package/rabbitmq/allowList.js.map +1 -1
- package/rdsmysql/allowList.d.ts +1 -0
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/allowList.js.map +1 -1
- package/rdsmysql/getInstance.d.ts +16 -0
- package/rdsmysql/getInstance.js.map +1 -1
- package/rdsmysql/instance.d.ts +48 -0
- package/rdsmysql/instance.js +8 -0
- package/rdsmysql/instance.js.map +1 -1
- package/redis/getInstance.d.ts +4 -0
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +3 -0
- package/redis/instance.js +3 -0
- package/redis/instance.js.map +1 -1
- package/redis/parameterGroup.d.ts +2 -2
- package/redis/parameterGroup.js +2 -2
- package/rocketmq/accessKey.d.ts +126 -0
- package/rocketmq/accessKey.js +80 -0
- package/rocketmq/accessKey.js.map +1 -0
- package/rocketmq/getAccessKey.d.ts +73 -0
- package/rocketmq/getAccessKey.js +28 -0
- package/rocketmq/getAccessKey.js.map +1 -0
- package/rocketmq/getAccessKeys.d.ts +22 -0
- package/rocketmq/getAccessKeys.js +24 -0
- package/rocketmq/getAccessKeys.js.map +1 -0
- package/rocketmq/index.d.ts +9 -0
- package/rocketmq/index.js +12 -1
- package/rocketmq/index.js.map +1 -1
- package/tls/alarmWebhookIntegrationType.d.ts +159 -0
- package/tls/alarmWebhookIntegrationType.js +108 -0
- package/tls/alarmWebhookIntegrationType.js.map +1 -0
- package/tls/etl.d.ts +222 -0
- package/tls/etl.js +113 -0
- package/tls/etl.js.map +1 -0
- package/tls/getAlarmWebhookIntegrationType.d.ts +73 -0
- package/tls/getAlarmWebhookIntegrationType.js +28 -0
- package/tls/getAlarmWebhookIntegrationType.js.map +1 -0
- package/tls/getAlarmWebhookIntegrationTypes.d.ts +22 -0
- package/tls/getAlarmWebhookIntegrationTypes.js +24 -0
- package/tls/getAlarmWebhookIntegrationTypes.js.map +1 -0
- package/tls/getEtl.d.ts +109 -0
- package/tls/getEtl.js +28 -0
- package/tls/getEtl.js.map +1 -0
- package/tls/getEtls.d.ts +22 -0
- package/tls/getEtls.js +24 -0
- package/tls/getEtls.js.map +1 -0
- package/tls/getHost.d.ts +52 -0
- package/tls/getHost.js +28 -0
- package/tls/getHost.js.map +1 -0
- package/tls/getHostGroup.d.ts +113 -0
- package/tls/getHostGroup.js +28 -0
- package/tls/getHostGroup.js.map +1 -0
- package/tls/getHostGroups.d.ts +22 -0
- package/tls/getHostGroups.js +24 -0
- package/tls/getHostGroups.js.map +1 -0
- package/tls/getHosts.d.ts +22 -0
- package/tls/getHosts.js +24 -0
- package/tls/getHosts.js.map +1 -0
- package/tls/host.d.ts +97 -0
- package/tls/host.js +82 -0
- package/tls/host.js.map +1 -0
- package/tls/hostGroup.d.ts +254 -0
- package/tls/hostGroup.js +121 -0
- package/tls/hostGroup.js.map +1 -0
- package/tls/index.d.ts +36 -0
- package/tls/index.js +46 -1
- package/tls/index.js.map +1 -1
- package/tos/bucket.d.ts +12 -0
- package/tos/bucket.js +2 -0
- package/tos/bucket.js.map +1 -1
- package/tos/bucketMirrorBack.d.ts +62 -0
- package/tos/bucketMirrorBack.js +63 -0
- package/tos/bucketMirrorBack.js.map +1 -0
- package/tos/bucketRename.d.ts +74 -0
- package/tos/bucketRename.js +72 -0
- package/tos/bucketRename.js.map +1 -0
- package/tos/bucketWebsite.d.ts +98 -0
- package/tos/bucketWebsite.js +69 -0
- package/tos/bucketWebsite.js.map +1 -0
- package/tos/getBucket.d.ts +4 -0
- package/tos/getBucket.js.map +1 -1
- package/tos/getBucketMirrorBack.d.ts +45 -0
- package/tos/getBucketMirrorBack.js +28 -0
- package/tos/getBucketMirrorBack.js.map +1 -0
- package/tos/getBucketMirrorBacks.d.ts +22 -0
- package/tos/getBucketMirrorBacks.js +24 -0
- package/tos/getBucketMirrorBacks.js.map +1 -0
- package/tos/getBucketRename.d.ts +44 -0
- package/tos/getBucketRename.js +28 -0
- package/tos/getBucketRename.js.map +1 -0
- package/tos/getBucketRenames.d.ts +22 -0
- package/tos/getBucketRenames.js +24 -0
- package/tos/getBucketRenames.js.map +1 -0
- package/tos/getBucketWebsite.d.ts +57 -0
- package/tos/getBucketWebsite.js +28 -0
- package/tos/getBucketWebsite.js.map +1 -0
- package/tos/getBucketWebsites.d.ts +22 -0
- package/tos/getBucketWebsites.js +24 -0
- package/tos/getBucketWebsites.js.map +1 -0
- package/tos/index.d.ts +27 -0
- package/tos/index.js +34 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +1493 -114
- package/types/output.d.ts +4728 -1830
- package/veenedge/getVpc.d.ts +101 -0
- package/veenedge/getVpc.js +28 -0
- package/veenedge/getVpc.js.map +1 -0
- package/veenedge/getVpcs.d.ts +22 -0
- package/veenedge/getVpcs.js +24 -0
- package/veenedge/getVpcs.js.map +1 -0
- package/veenedge/index.d.ts +9 -0
- package/veenedge/index.js +28 -0
- package/veenedge/index.js.map +1 -0
- package/veenedge/vpc.d.ts +216 -0
- package/veenedge/vpc.js +131 -0
- package/veenedge/vpc.js.map +1 -0
- package/vke/node.d.ts +1 -1
- package/vke/node.js +0 -3
- package/vke/node.js.map +1 -1
- package/vmp/ruleFile.d.ts +2 -2
- package/vmp/ruleFile.js +2 -2
- package/vpc/vpc.d.ts +4 -0
- package/vpc/vpc.js +1 -1
- package/vpc/vpc.js.map +1 -1
- package/waf/getHostGroup.d.ts +69 -0
- package/waf/getHostGroup.js +28 -0
- package/waf/getHostGroup.js.map +1 -0
- package/waf/getHostGroups.d.ts +22 -0
- package/waf/getHostGroups.js +24 -0
- package/waf/getHostGroups.js.map +1 -0
- package/waf/hostGroup.d.ts +135 -0
- package/waf/hostGroup.js +92 -0
- package/waf/hostGroup.js.map +1 -0
- package/waf/index.d.ts +9 -0
- package/waf/index.js +12 -1
- package/waf/index.js.map +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AccessKey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* RocketMQ key
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:rocketmq/accessKey:AccessKey example "instance_id|access_key"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class AccessKey extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing AccessKey resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new AccessKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of AccessKey. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === AccessKey.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["accessKey"] = state ? state.accessKey : undefined;
|
|
46
|
+
resourceInputs["aclConfigJson"] = state ? state.aclConfigJson : undefined;
|
|
47
|
+
resourceInputs["actived"] = state ? state.actived : undefined;
|
|
48
|
+
resourceInputs["allAuthority"] = state ? state.allAuthority : undefined;
|
|
49
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
50
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
51
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
52
|
+
resourceInputs["secretKey"] = state ? state.secretKey : undefined;
|
|
53
|
+
resourceInputs["topicPermissions"] = state ? state.topicPermissions : undefined;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
const args = argsOrState;
|
|
57
|
+
if ((!args || args.allAuthority === undefined) && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'allAuthority'");
|
|
59
|
+
}
|
|
60
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'instanceId'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["allAuthority"] = args ? args.allAuthority : undefined;
|
|
64
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
65
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
66
|
+
resourceInputs["topicPermissions"] = args ? args.topicPermissions : undefined;
|
|
67
|
+
resourceInputs["accessKey"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["aclConfigJson"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["actived"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["secretKey"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(AccessKey.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.AccessKey = AccessKey;
|
|
78
|
+
/** @internal */
|
|
79
|
+
AccessKey.__pulumiType = 'volcenginecc:rocketmq/accessKey:AccessKey';
|
|
80
|
+
//# sourceMappingURL=accessKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessKey.js","sourceRoot":"","sources":["../../rocketmq/accessKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA4CD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;Q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AA2C,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAccessKey(args: GetAccessKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessKeyResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAccessKey.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAccessKeyArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAccessKey.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAccessKeyResult {
|
|
20
|
+
/**
|
|
21
|
+
* AccessKey ID for the RocketMQ key
|
|
22
|
+
*/
|
|
23
|
+
readonly accessKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* All ACL configuration information for the RocketMQ key
|
|
26
|
+
*/
|
|
27
|
+
readonly aclConfigJson: string;
|
|
28
|
+
/**
|
|
29
|
+
* Enable status for the RocketMQ key. - `true`: Enabled - `false`: Not enabled
|
|
30
|
+
*/
|
|
31
|
+
readonly actived: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Default permissions for the RocketMQ key. - `ALL`: Publish and subscribe permissions - `PUB`: Publish permission - `SUB`: Subscribe permission - `DENY`: No publish or subscribe permissions
|
|
34
|
+
*/
|
|
35
|
+
readonly allAuthority: string;
|
|
36
|
+
/**
|
|
37
|
+
* Creation time for the RocketMQ key. Time format: YYYY-MM-DD'T'HH:MM:SS'Z'
|
|
38
|
+
*/
|
|
39
|
+
readonly createTime: string;
|
|
40
|
+
/**
|
|
41
|
+
* Description for the RocketMQ key, used to distinguish and manage keys effectively. Length limit: 0–128 characters
|
|
42
|
+
*/
|
|
43
|
+
readonly description: string;
|
|
44
|
+
/**
|
|
45
|
+
* Uniquely identifies the resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Instance ID
|
|
50
|
+
*/
|
|
51
|
+
readonly instanceId: string;
|
|
52
|
+
/**
|
|
53
|
+
* RocketMQ key. Returned only after creation
|
|
54
|
+
*/
|
|
55
|
+
readonly secretKey: string;
|
|
56
|
+
/**
|
|
57
|
+
* Custom permissions for the key. Sets the permissions this AccessKey has for a specific Topic. If there are no custom permissions, displays as null
|
|
58
|
+
*/
|
|
59
|
+
readonly topicPermissions: outputs.rocketmq.GetAccessKeyTopicPermission[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
63
|
+
*/
|
|
64
|
+
export declare function getAccessKeyOutput(args: GetAccessKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessKeyResult>;
|
|
65
|
+
/**
|
|
66
|
+
* A collection of arguments for invoking getAccessKey.
|
|
67
|
+
*/
|
|
68
|
+
export interface GetAccessKeyOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* Uniquely identifies the resource.
|
|
71
|
+
*/
|
|
72
|
+
id: pulumi.Input<string>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getAccessKeyOutput = exports.getAccessKey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
10
|
+
*/
|
|
11
|
+
function getAccessKey(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:rocketmq/getAccessKey:getAccessKey", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAccessKey = getAccessKey;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
20
|
+
*/
|
|
21
|
+
function getAccessKeyOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:rocketmq/getAccessKey:getAccessKey", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getAccessKeyOutput = getAccessKeyOutput;
|
|
28
|
+
//# sourceMappingURL=getAccessKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccessKey.js","sourceRoot":"","sources":["../../rocketmq/getAccessKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAyDD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
4
|
+
*/
|
|
5
|
+
export declare function getAccessKeys(opts?: pulumi.InvokeOptions): Promise<GetAccessKeysResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getAccessKeys.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetAccessKeysResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAccessKeysOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessKeysResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getAccessKeysOutput = exports.getAccessKeys = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
10
|
+
*/
|
|
11
|
+
function getAccessKeys(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:rocketmq/getAccessKeys:getAccessKeys", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getAccessKeys = getAccessKeys;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::RocketMQ::AccessKey
|
|
18
|
+
*/
|
|
19
|
+
function getAccessKeysOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:rocketmq/getAccessKeys:getAccessKeys", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAccessKeysOutput = getAccessKeysOutput;
|
|
24
|
+
//# sourceMappingURL=getAccessKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccessKeys.js","sourceRoot":"","sources":["../../rocketmq/getAccessKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
|
package/rocketmq/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
export { AccessKeyArgs, AccessKeyState } from "./accessKey";
|
|
2
|
+
export type AccessKey = import("./accessKey").AccessKey;
|
|
3
|
+
export declare const AccessKey: typeof import("./accessKey").AccessKey;
|
|
1
4
|
export { AllowListArgs, AllowListState } from "./allowList";
|
|
2
5
|
export type AllowList = import("./allowList").AllowList;
|
|
3
6
|
export declare const AllowList: typeof import("./allowList").AllowList;
|
|
7
|
+
export { GetAccessKeyArgs, GetAccessKeyResult, GetAccessKeyOutputArgs } from "./getAccessKey";
|
|
8
|
+
export declare const getAccessKey: typeof import("./getAccessKey").getAccessKey;
|
|
9
|
+
export declare const getAccessKeyOutput: typeof import("./getAccessKey").getAccessKeyOutput;
|
|
10
|
+
export { GetAccessKeysResult } from "./getAccessKeys";
|
|
11
|
+
export declare const getAccessKeys: typeof import("./getAccessKeys").getAccessKeys;
|
|
12
|
+
export declare const getAccessKeysOutput: typeof import("./getAccessKeys").getAccessKeysOutput;
|
|
4
13
|
export { GetAllowListArgs, GetAllowListResult, GetAllowListOutputArgs } from "./getAllowList";
|
|
5
14
|
export declare const getAllowList: typeof import("./getAllowList").getAllowList;
|
|
6
15
|
export declare const getAllowListOutput: typeof import("./getAllowList").getAllowListOutput;
|
package/rocketmq/index.js
CHANGED
|
@@ -2,11 +2,19 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Topic = exports.Instance = exports.Group = exports.getTopicsOutput = exports.getTopics = exports.getTopicOutput = exports.getTopic = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getGroupsOutput = exports.getGroups = exports.getGroupOutput = exports.getGroup = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.AllowList = void 0;
|
|
5
|
+
exports.Topic = exports.Instance = exports.Group = exports.getTopicsOutput = exports.getTopics = exports.getTopicOutput = exports.getTopic = exports.getInstancesOutput = exports.getInstances = exports.getInstanceOutput = exports.getInstance = exports.getGroupsOutput = exports.getGroups = exports.getGroupOutput = exports.getGroup = exports.getAllowListsOutput = exports.getAllowLists = exports.getAllowListOutput = exports.getAllowList = exports.getAccessKeysOutput = exports.getAccessKeys = exports.getAccessKeyOutput = exports.getAccessKey = exports.AllowList = exports.AccessKey = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.AccessKey = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["AccessKey"], () => require("./accessKey"));
|
|
8
10
|
exports.AllowList = null;
|
|
9
11
|
utilities.lazyLoad(exports, ["AllowList"], () => require("./allowList"));
|
|
12
|
+
exports.getAccessKey = null;
|
|
13
|
+
exports.getAccessKeyOutput = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["getAccessKey", "getAccessKeyOutput"], () => require("./getAccessKey"));
|
|
15
|
+
exports.getAccessKeys = null;
|
|
16
|
+
exports.getAccessKeysOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["getAccessKeys", "getAccessKeysOutput"], () => require("./getAccessKeys"));
|
|
10
18
|
exports.getAllowList = null;
|
|
11
19
|
exports.getAllowListOutput = null;
|
|
12
20
|
utilities.lazyLoad(exports, ["getAllowList", "getAllowListOutput"], () => require("./getAllowList"));
|
|
@@ -41,6 +49,8 @@ const _module = {
|
|
|
41
49
|
version: utilities.getVersion(),
|
|
42
50
|
construct: (name, type, urn) => {
|
|
43
51
|
switch (type) {
|
|
52
|
+
case "volcenginecc:rocketmq/accessKey:AccessKey":
|
|
53
|
+
return new exports.AccessKey(name, undefined, { urn });
|
|
44
54
|
case "volcenginecc:rocketmq/allowList:AllowList":
|
|
45
55
|
return new exports.AllowList(name, undefined, { urn });
|
|
46
56
|
case "volcenginecc:rocketmq/group:Group":
|
|
@@ -54,6 +64,7 @@ const _module = {
|
|
|
54
64
|
}
|
|
55
65
|
},
|
|
56
66
|
};
|
|
67
|
+
pulumi.runtime.registerResourceModule("volcenginecc", "rocketmq/accessKey", _module);
|
|
57
68
|
pulumi.runtime.registerResourceModule("volcenginecc", "rocketmq/allowList", _module);
|
|
58
69
|
pulumi.runtime.registerResourceModule("volcenginecc", "rocketmq/group", _module);
|
|
59
70
|
pulumi.runtime.registerResourceModule("volcenginecc", "rocketmq/instance", _module);
|
package/rocketmq/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../rocketmq/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG5D,QAAA,YAAY,GAAiD,IAAW,CAAC;AACzE,QAAA,kBAAkB,GAAuD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,EAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAGvF,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAG1F,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UA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K,mCAAmC;gBACpC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,mCAAmC;gBACpC,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Webhook integration configuration is used to manage alert notification channels such as DingTalk, Feishu, WeCom, and custom Webhooks
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new volcenginecc.tls.AlarmWebhookIntegrationType("Example", {
|
|
14
|
+
* webhookName: "ccapi-test-1002replace",
|
|
15
|
+
* webhookSecret: "",
|
|
16
|
+
* webhookType: "custom",
|
|
17
|
+
* webhookUrl: "https://open.feishu.cn/open-apis/bot/v2/hook/79a2f8dxxxxxxx",
|
|
18
|
+
* webhookHeaders: [
|
|
19
|
+
* {
|
|
20
|
+
* key: "Content-Type",
|
|
21
|
+
* value: "application/json",
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* key: "env",
|
|
25
|
+
* value: "pre",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* webhookMethod: "PUT",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcenginecc:tls/alarmWebhookIntegrationType:AlarmWebhookIntegrationType example "webhook_id"
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class AlarmWebhookIntegrationType extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing AlarmWebhookIntegrationType resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlarmWebhookIntegrationTypeState, opts?: pulumi.CustomResourceOptions): AlarmWebhookIntegrationType;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of AlarmWebhookIntegrationType. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is AlarmWebhookIntegrationType;
|
|
54
|
+
/**
|
|
55
|
+
* Webhook integration configuration creation time
|
|
56
|
+
*/
|
|
57
|
+
readonly createTime: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Webhook integration configuration last modified time
|
|
60
|
+
*/
|
|
61
|
+
readonly modifyTime: pulumi.Output<string>;
|
|
62
|
+
readonly webhookHeaders: pulumi.Output<outputs.tls.AlarmWebhookIntegrationTypeWebhookHeader[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Webhook integration configuration ID
|
|
65
|
+
*/
|
|
66
|
+
readonly webhookId: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Custom Webhook request methods; only POST and PUT are supported
|
|
69
|
+
*/
|
|
70
|
+
readonly webhookMethod: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Webhook integration configuration name
|
|
73
|
+
*/
|
|
74
|
+
readonly webhookName: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Webhook encryption key. If WebhookType is set to lark and signature verification is enabled in the Feishu bot security settings, enter the Feishu bot signature key here. For details, refer to the custom bot usage guide. If WebhookType is set to dingtalk and a signature value is configured in the DingTalk bot, enter the DingTalk bot signature value here. For details, refer to bot development documentation
|
|
77
|
+
*/
|
|
78
|
+
readonly webhookSecret: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Webhook type. custom: custom Webhook address. lark: Feishu. dingtalk: DingTalk. wechat: WeCom
|
|
81
|
+
*/
|
|
82
|
+
readonly webhookType: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Webhook request URL
|
|
85
|
+
*/
|
|
86
|
+
readonly webhookUrl: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a AlarmWebhookIntegrationType resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: AlarmWebhookIntegrationTypeArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering AlarmWebhookIntegrationType resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface AlarmWebhookIntegrationTypeState {
|
|
100
|
+
/**
|
|
101
|
+
* Webhook integration configuration creation time
|
|
102
|
+
*/
|
|
103
|
+
createTime?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Webhook integration configuration last modified time
|
|
106
|
+
*/
|
|
107
|
+
modifyTime?: pulumi.Input<string>;
|
|
108
|
+
webhookHeaders?: pulumi.Input<pulumi.Input<inputs.tls.AlarmWebhookIntegrationTypeWebhookHeader>[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Webhook integration configuration ID
|
|
111
|
+
*/
|
|
112
|
+
webhookId?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Custom Webhook request methods; only POST and PUT are supported
|
|
115
|
+
*/
|
|
116
|
+
webhookMethod?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Webhook integration configuration name
|
|
119
|
+
*/
|
|
120
|
+
webhookName?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Webhook encryption key. If WebhookType is set to lark and signature verification is enabled in the Feishu bot security settings, enter the Feishu bot signature key here. For details, refer to the custom bot usage guide. If WebhookType is set to dingtalk and a signature value is configured in the DingTalk bot, enter the DingTalk bot signature value here. For details, refer to bot development documentation
|
|
123
|
+
*/
|
|
124
|
+
webhookSecret?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Webhook type. custom: custom Webhook address. lark: Feishu. dingtalk: DingTalk. wechat: WeCom
|
|
127
|
+
*/
|
|
128
|
+
webhookType?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Webhook request URL
|
|
131
|
+
*/
|
|
132
|
+
webhookUrl?: pulumi.Input<string>;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* The set of arguments for constructing a AlarmWebhookIntegrationType resource.
|
|
136
|
+
*/
|
|
137
|
+
export interface AlarmWebhookIntegrationTypeArgs {
|
|
138
|
+
webhookHeaders?: pulumi.Input<pulumi.Input<inputs.tls.AlarmWebhookIntegrationTypeWebhookHeader>[]>;
|
|
139
|
+
/**
|
|
140
|
+
* Custom Webhook request methods; only POST and PUT are supported
|
|
141
|
+
*/
|
|
142
|
+
webhookMethod?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Webhook integration configuration name
|
|
145
|
+
*/
|
|
146
|
+
webhookName: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Webhook encryption key. If WebhookType is set to lark and signature verification is enabled in the Feishu bot security settings, enter the Feishu bot signature key here. For details, refer to the custom bot usage guide. If WebhookType is set to dingtalk and a signature value is configured in the DingTalk bot, enter the DingTalk bot signature value here. For details, refer to bot development documentation
|
|
149
|
+
*/
|
|
150
|
+
webhookSecret?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Webhook type. custom: custom Webhook address. lark: Feishu. dingtalk: DingTalk. wechat: WeCom
|
|
153
|
+
*/
|
|
154
|
+
webhookType: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Webhook request URL
|
|
157
|
+
*/
|
|
158
|
+
webhookUrl: pulumi.Input<string>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AlarmWebhookIntegrationType = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Webhook integration configuration is used to manage alert notification channels such as DingTalk, Feishu, WeCom, and custom Webhooks
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const example = new volcenginecc.tls.AlarmWebhookIntegrationType("Example", {
|
|
18
|
+
* webhookName: "ccapi-test-1002replace",
|
|
19
|
+
* webhookSecret: "",
|
|
20
|
+
* webhookType: "custom",
|
|
21
|
+
* webhookUrl: "https://open.feishu.cn/open-apis/bot/v2/hook/79a2f8dxxxxxxx",
|
|
22
|
+
* webhookHeaders: [
|
|
23
|
+
* {
|
|
24
|
+
* key: "Content-Type",
|
|
25
|
+
* value: "application/json",
|
|
26
|
+
* },
|
|
27
|
+
* {
|
|
28
|
+
* key: "env",
|
|
29
|
+
* value: "pre",
|
|
30
|
+
* },
|
|
31
|
+
* ],
|
|
32
|
+
* webhookMethod: "PUT",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* ```sh
|
|
39
|
+
* $ pulumi import volcenginecc:tls/alarmWebhookIntegrationType:AlarmWebhookIntegrationType example "webhook_id"
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
class AlarmWebhookIntegrationType extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing AlarmWebhookIntegrationType resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name, id, state, opts) {
|
|
53
|
+
return new AlarmWebhookIntegrationType(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of AlarmWebhookIntegrationType. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj) {
|
|
60
|
+
if (obj === undefined || obj === null) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
return obj['__pulumiType'] === AlarmWebhookIntegrationType.__pulumiType;
|
|
64
|
+
}
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
71
|
+
resourceInputs["modifyTime"] = state ? state.modifyTime : undefined;
|
|
72
|
+
resourceInputs["webhookHeaders"] = state ? state.webhookHeaders : undefined;
|
|
73
|
+
resourceInputs["webhookId"] = state ? state.webhookId : undefined;
|
|
74
|
+
resourceInputs["webhookMethod"] = state ? state.webhookMethod : undefined;
|
|
75
|
+
resourceInputs["webhookName"] = state ? state.webhookName : undefined;
|
|
76
|
+
resourceInputs["webhookSecret"] = state ? state.webhookSecret : undefined;
|
|
77
|
+
resourceInputs["webhookType"] = state ? state.webhookType : undefined;
|
|
78
|
+
resourceInputs["webhookUrl"] = state ? state.webhookUrl : undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
if ((!args || args.webhookName === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'webhookName'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.webhookType === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'webhookType'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.webhookUrl === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'webhookUrl'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["webhookHeaders"] = args ? args.webhookHeaders : undefined;
|
|
92
|
+
resourceInputs["webhookMethod"] = args ? args.webhookMethod : undefined;
|
|
93
|
+
resourceInputs["webhookName"] = args ? args.webhookName : undefined;
|
|
94
|
+
resourceInputs["webhookSecret"] = args ? args.webhookSecret : undefined;
|
|
95
|
+
resourceInputs["webhookType"] = args ? args.webhookType : undefined;
|
|
96
|
+
resourceInputs["webhookUrl"] = args ? args.webhookUrl : undefined;
|
|
97
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["modifyTime"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["webhookId"] = undefined /*out*/;
|
|
100
|
+
}
|
|
101
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
super(AlarmWebhookIntegrationType.__pulumiType, name, resourceInputs, opts);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.AlarmWebhookIntegrationType = AlarmWebhookIntegrationType;
|
|
106
|
+
/** @internal */
|
|
107
|
+
AlarmWebhookIntegrationType.__pulumiType = 'volcenginecc:tls/alarmWebhookIntegrationType:AlarmWebhookIntegrationType';
|
|
108
|
+
//# sourceMappingURL=alarmWebhookIntegrationType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarmWebhookIntegrationType.js","sourceRoot":"","sources":["../../tls/alarmWebhookIntegrationType.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAA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