@byteplus/pulumi-bytepluscc 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/README.md +7 -0
- package/cloudmonitor/contact.d.ts +116 -0
- package/cloudmonitor/contact.d.ts.map +1 -0
- package/cloudmonitor/contact.js +109 -0
- package/cloudmonitor/contact.js.map +1 -0
- package/cloudmonitor/getContact.d.ts +57 -0
- package/cloudmonitor/getContact.d.ts.map +1 -0
- package/cloudmonitor/getContact.js +51 -0
- package/cloudmonitor/getContact.js.map +1 -0
- package/cloudmonitor/getContacts.d.ts +23 -0
- package/cloudmonitor/getContacts.d.ts.map +1 -0
- package/cloudmonitor/getContacts.js +47 -0
- package/cloudmonitor/getContacts.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.d.ts.map +1 -1
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +55 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +109 -0
- package/types/output.d.ts.map +1 -1
- package/waf/ccRule.d.ts +361 -0
- package/waf/ccRule.d.ts.map +1 -0
- package/waf/ccRule.js +185 -0
- package/waf/ccRule.js.map +1 -0
- package/waf/getCcRule.d.ts +138 -0
- package/waf/getCcRule.d.ts.map +1 -0
- package/waf/getCcRule.js +51 -0
- package/waf/getCcRule.js.map +1 -0
- package/waf/getCcRules.d.ts +23 -0
- package/waf/getCcRules.d.ts.map +1 -0
- package/waf/getCcRules.js +47 -0
- package/waf/getCcRules.js.map +1 -0
- package/waf/index.d.ts +9 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +12 -1
- package/waf/index.js.map +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
# Bytepluscc Resource Provider
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
[](https://www.volcengine.com/survey/q/v2/7662656599489085475/q36U8r81/5ffc/channel=doc)
|
|
6
|
+
|
|
7
|
+
To help us improve your experience with Volcengine SKILL & CLI, we invite you to participate in our [survey](https://www.volcengine.com/survey/q/v2/7662656599489085475/q36U8r81/5ffc/channel=doc) from July 27 to August 21, 2026. Rewards are available for participants.
|
|
8
|
+
|
|
9
|
+
---
|
|
3
10
|
|
|
4
11
|
The Bytepluscc resource provider for Pulumi lets you use byteplus resources in your cloud programs. To use
|
|
5
12
|
this package, please [install the Pulumi CLI first](https://pulumi.io/).
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Cloud Monitoring alert contact. Used to configure recipients for alert notifications. You can add a contact to one or more contact groups.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
10
|
+
*
|
|
11
|
+
* const example = new bytepluscc.cloudmonitor.Contact("Example", {
|
|
12
|
+
* email: "test_contact2@example.com",
|
|
13
|
+
* contactGroupIds: ["20493********741184"],
|
|
14
|
+
* phone: "138*****000",
|
|
15
|
+
* name: "Test_Contact2",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import bytepluscc:cloudmonitor/contact:Contact example "contact_id"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class Contact extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing Contact resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContactState, opts?: pulumi.CustomResourceOptions): Contact;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of Contact. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is Contact;
|
|
41
|
+
/**
|
|
42
|
+
* List of contact group IDs the contact has joined. A single contact can be added to up to 10 contact groups. The value will replace the contact's existing associated groups.
|
|
43
|
+
*/
|
|
44
|
+
readonly contactGroupIds: pulumi.Output<string[]>;
|
|
45
|
+
/**
|
|
46
|
+
* Alert contact ID.
|
|
47
|
+
*/
|
|
48
|
+
readonly contactId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Required when updating. Alert email address. Cloud Monitoring will send a verification email to the provided address. You must open the verification link in the email to complete verification. Only after the email address is verified can it receive alert notifications.
|
|
51
|
+
*/
|
|
52
|
+
readonly email: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Contact name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
|
|
55
|
+
*/
|
|
56
|
+
readonly name: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Alert phone number. If not provided during update, the original value remains. Cloud Monitoring will send a verification SMS to the provided phone number. You must open the verification link in the SMS to complete verification. Only after the phone number is verified can it receive alert messages.
|
|
59
|
+
*/
|
|
60
|
+
readonly phone: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a Contact resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: ContactArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering Contact resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface ContactState {
|
|
74
|
+
/**
|
|
75
|
+
* List of contact group IDs the contact has joined. A single contact can be added to up to 10 contact groups. The value will replace the contact's existing associated groups.
|
|
76
|
+
*/
|
|
77
|
+
contactGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Alert contact ID.
|
|
80
|
+
*/
|
|
81
|
+
contactId?: pulumi.Input<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Required when updating. Alert email address. Cloud Monitoring will send a verification email to the provided address. You must open the verification link in the email to complete verification. Only after the email address is verified can it receive alert notifications.
|
|
84
|
+
*/
|
|
85
|
+
email?: pulumi.Input<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Contact name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
|
|
88
|
+
*/
|
|
89
|
+
name?: pulumi.Input<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Alert phone number. If not provided during update, the original value remains. Cloud Monitoring will send a verification SMS to the provided phone number. You must open the verification link in the SMS to complete verification. Only after the phone number is verified can it receive alert messages.
|
|
92
|
+
*/
|
|
93
|
+
phone?: pulumi.Input<string | undefined>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a Contact resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface ContactArgs {
|
|
99
|
+
/**
|
|
100
|
+
* List of contact group IDs the contact has joined. A single contact can be added to up to 10 contact groups. The value will replace the contact's existing associated groups.
|
|
101
|
+
*/
|
|
102
|
+
contactGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Required when updating. Alert email address. Cloud Monitoring will send a verification email to the provided address. You must open the verification link in the email to complete verification. Only after the email address is verified can it receive alert notifications.
|
|
105
|
+
*/
|
|
106
|
+
email: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Contact name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
|
|
109
|
+
*/
|
|
110
|
+
name: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Alert phone number. If not provided during update, the original value remains. Cloud Monitoring will send a verification SMS to the provided phone number. You must open the verification link in the SMS to complete verification. Only after the phone number is verified can it receive alert messages.
|
|
113
|
+
*/
|
|
114
|
+
phone?: pulumi.Input<string | undefined>;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../cloudmonitor/contact.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,OAAO;IAOhI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,OAAO;IAOlD;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACjE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,KAAK,EAA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,SAAS,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Contact = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Cloud Monitoring alert contact. Used to configure recipients for alert notifications. You can add a contact to one or more contact groups.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new bytepluscc.cloudmonitor.Contact("Example", {
|
|
41
|
+
* email: "test_contact2@example.com",
|
|
42
|
+
* contactGroupIds: ["20493********741184"],
|
|
43
|
+
* phone: "138*****000",
|
|
44
|
+
* name: "Test_Contact2",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import bytepluscc:cloudmonitor/contact:Contact example "contact_id"
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
class Contact extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing Contact resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name, id, state, opts) {
|
|
65
|
+
return new Contact(name, state, { ...opts, id: id });
|
|
66
|
+
}
|
|
67
|
+
/** @internal */
|
|
68
|
+
static __pulumiType = 'bytepluscc:cloudmonitor/contact:Contact';
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of Contact. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === Contact.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
constructor(name, argsOrState, opts) {
|
|
80
|
+
let resourceInputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (opts.id) {
|
|
83
|
+
const state = argsOrState;
|
|
84
|
+
resourceInputs["contactGroupIds"] = state?.contactGroupIds;
|
|
85
|
+
resourceInputs["contactId"] = state?.contactId;
|
|
86
|
+
resourceInputs["email"] = state?.email;
|
|
87
|
+
resourceInputs["name"] = state?.name;
|
|
88
|
+
resourceInputs["phone"] = state?.phone;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
const args = argsOrState;
|
|
92
|
+
if (args?.email === undefined && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'email'");
|
|
94
|
+
}
|
|
95
|
+
if (args?.name === undefined && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'name'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["contactGroupIds"] = args?.contactGroupIds;
|
|
99
|
+
resourceInputs["email"] = args?.email;
|
|
100
|
+
resourceInputs["name"] = args?.name;
|
|
101
|
+
resourceInputs["phone"] = args?.phone;
|
|
102
|
+
resourceInputs["contactId"] = undefined /*out*/;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(Contact.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.Contact = Contact;
|
|
109
|
+
//# sourceMappingURL=contact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../cloudmonitor/contact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,I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,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAnFL,0BAoFC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Byteplus::CloudMonitor::Contact
|
|
4
|
+
*/
|
|
5
|
+
export declare function getContact(args: GetContactArgs, opts?: pulumi.InvokeOptions): Promise<GetContactResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getContact.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetContactArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getContact.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetContactResult {
|
|
19
|
+
/**
|
|
20
|
+
* List of contact group IDs the contact has joined. A single contact can be added to up to 10 contact groups. The value will replace the contact's existing associated groups.
|
|
21
|
+
*/
|
|
22
|
+
readonly contactGroupIds: string[];
|
|
23
|
+
/**
|
|
24
|
+
* Alert contact ID.
|
|
25
|
+
*/
|
|
26
|
+
readonly contactId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Required when updating. Alert email address. Cloud Monitoring will send a verification email to the provided address. You must open the verification link in the email to complete verification. Only after the email address is verified can it receive alert notifications.
|
|
29
|
+
*/
|
|
30
|
+
readonly email: string;
|
|
31
|
+
/**
|
|
32
|
+
* Uniquely identifies the resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* Contact name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
|
|
37
|
+
*/
|
|
38
|
+
readonly name: string;
|
|
39
|
+
/**
|
|
40
|
+
* Alert phone number. If not provided during update, the original value remains. Cloud Monitoring will send a verification SMS to the provided phone number. You must open the verification link in the SMS to complete verification. Only after the phone number is verified can it receive alert messages.
|
|
41
|
+
*/
|
|
42
|
+
readonly phone: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Data Source schema for Byteplus::CloudMonitor::Contact
|
|
46
|
+
*/
|
|
47
|
+
export declare function getContactOutput(args: GetContactOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContactResult>;
|
|
48
|
+
/**
|
|
49
|
+
* A collection of arguments for invoking getContact.
|
|
50
|
+
*/
|
|
51
|
+
export interface GetContactOutputArgs {
|
|
52
|
+
/**
|
|
53
|
+
* Uniquely identifies the resource.
|
|
54
|
+
*/
|
|
55
|
+
id: pulumi.Input<string>;
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=getContact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getContact.d.ts","sourceRoot":"","sources":["../../cloudmonitor/getContact.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAKvG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAK/H;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getContactOutput = exports.getContact = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::CloudMonitor::Contact
|
|
33
|
+
*/
|
|
34
|
+
function getContact(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:cloudmonitor/getContact:getContact", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getContact = getContact;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::CloudMonitor::Contact
|
|
43
|
+
*/
|
|
44
|
+
function getContactOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:cloudmonitor/getContact:getContact", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getContactOutput = getContactOutput;
|
|
51
|
+
//# sourceMappingURL=getContact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getContact.js","sourceRoot":"","sources":["../../cloudmonitor/getContact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAyCD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+CAA+C,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::CloudMonitor::Contact
|
|
4
|
+
*/
|
|
5
|
+
export declare function getContacts(opts?: pulumi.InvokeOptions): Promise<GetContactsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getContacts.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetContactsResult {
|
|
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 Byteplus::CloudMonitor::Contact
|
|
21
|
+
*/
|
|
22
|
+
export declare function getContactsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContactsResult>;
|
|
23
|
+
//# sourceMappingURL=getContacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../cloudmonitor/getContacts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAInF;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAIrG"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getContactsOutput = exports.getContacts = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::CloudMonitor::Contact
|
|
33
|
+
*/
|
|
34
|
+
function getContacts(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:cloudmonitor/getContacts:getContacts", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getContacts = getContacts;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::CloudMonitor::Contact
|
|
41
|
+
*/
|
|
42
|
+
function getContactsOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:cloudmonitor/getContacts:getContacts", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getContactsOutput = getContactsOutput;
|
|
47
|
+
//# sourceMappingURL=getContacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getContacts.js","sourceRoot":"","sources":["../../cloudmonitor/getContacts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,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,EAC/E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAeD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,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,EACrF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
package/cloudmonitor/index.d.ts
CHANGED
|
@@ -1,15 +1,24 @@
|
|
|
1
|
+
export { ContactArgs, ContactState } from "./contact";
|
|
2
|
+
export type Contact = import("./contact").Contact;
|
|
3
|
+
export declare const Contact: typeof import("./contact").Contact;
|
|
1
4
|
export { ContactGroupArgs, ContactGroupState } from "./contactGroup";
|
|
2
5
|
export type ContactGroup = import("./contactGroup").ContactGroup;
|
|
3
6
|
export declare const ContactGroup: typeof import("./contactGroup").ContactGroup;
|
|
4
7
|
export { EventRuleArgs, EventRuleState } from "./eventRule";
|
|
5
8
|
export type EventRule = import("./eventRule").EventRule;
|
|
6
9
|
export declare const EventRule: typeof import("./eventRule").EventRule;
|
|
10
|
+
export { GetContactArgs, GetContactResult, GetContactOutputArgs } from "./getContact";
|
|
11
|
+
export declare const getContact: typeof import("./getContact").getContact;
|
|
12
|
+
export declare const getContactOutput: typeof import("./getContact").getContactOutput;
|
|
7
13
|
export { GetContactGroupArgs, GetContactGroupResult, GetContactGroupOutputArgs } from "./getContactGroup";
|
|
8
14
|
export declare const getContactGroup: typeof import("./getContactGroup").getContactGroup;
|
|
9
15
|
export declare const getContactGroupOutput: typeof import("./getContactGroup").getContactGroupOutput;
|
|
10
16
|
export { GetContactGroupsResult } from "./getContactGroups";
|
|
11
17
|
export declare const getContactGroups: typeof import("./getContactGroups").getContactGroups;
|
|
12
18
|
export declare const getContactGroupsOutput: typeof import("./getContactGroups").getContactGroupsOutput;
|
|
19
|
+
export { GetContactsResult } from "./getContacts";
|
|
20
|
+
export declare const getContacts: typeof import("./getContacts").getContacts;
|
|
21
|
+
export declare const getContactsOutput: typeof import("./getContacts").getContactsOutput;
|
|
13
22
|
export { GetEventRuleArgs, GetEventRuleResult, GetEventRuleOutputArgs } from "./getEventRule";
|
|
14
23
|
export declare const getEventRule: typeof import("./getEventRule").getEventRule;
|
|
15
24
|
export declare const getEventRuleOutput: typeof import("./getEventRule").getEventRuleOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../cloudmonitor/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,OAAO,gBAAgB,EAAE,YAAY,CAAC;AACjE,eAAO,MAAM,YAAY,EAAE,cAAc,gBAAgB,EAAE,YAA0B,CAAC;AAGtF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,EAAE,SAAS,CA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QAAQ,CAAC;AAC7C,MAAM,MAAM,IAAI,GAAG,OAAO,QAAQ,EAAE,IAAI,CAAC;AACzC,eAAO,MAAM,IAAI,EAAE,cAAc,QAAQ,EAAE,IAAkB,CAAC"}
|
package/cloudmonitor/index.js
CHANGED
|
@@ -25,19 +25,27 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.Rule = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getEventRulesOutput = exports.getEventRules = exports.getEventRuleOutput = exports.getEventRule = exports.getContactGroupsOutput = exports.getContactGroups = exports.getContactGroupOutput = exports.getContactGroup = exports.EventRule = exports.ContactGroup = void 0;
|
|
28
|
+
exports.Rule = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getEventRulesOutput = exports.getEventRules = exports.getEventRuleOutput = exports.getEventRule = exports.getContactsOutput = exports.getContacts = exports.getContactGroupsOutput = exports.getContactGroups = exports.getContactGroupOutput = exports.getContactGroup = exports.getContactOutput = exports.getContact = exports.EventRule = exports.ContactGroup = exports.Contact = void 0;
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.Contact = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["Contact"], () => require("./contact"));
|
|
31
33
|
exports.ContactGroup = null;
|
|
32
34
|
utilities.lazyLoad(exports, ["ContactGroup"], () => require("./contactGroup"));
|
|
33
35
|
exports.EventRule = null;
|
|
34
36
|
utilities.lazyLoad(exports, ["EventRule"], () => require("./eventRule"));
|
|
37
|
+
exports.getContact = null;
|
|
38
|
+
exports.getContactOutput = null;
|
|
39
|
+
utilities.lazyLoad(exports, ["getContact", "getContactOutput"], () => require("./getContact"));
|
|
35
40
|
exports.getContactGroup = null;
|
|
36
41
|
exports.getContactGroupOutput = null;
|
|
37
42
|
utilities.lazyLoad(exports, ["getContactGroup", "getContactGroupOutput"], () => require("./getContactGroup"));
|
|
38
43
|
exports.getContactGroups = null;
|
|
39
44
|
exports.getContactGroupsOutput = null;
|
|
40
45
|
utilities.lazyLoad(exports, ["getContactGroups", "getContactGroupsOutput"], () => require("./getContactGroups"));
|
|
46
|
+
exports.getContacts = null;
|
|
47
|
+
exports.getContactsOutput = null;
|
|
48
|
+
utilities.lazyLoad(exports, ["getContacts", "getContactsOutput"], () => require("./getContacts"));
|
|
41
49
|
exports.getEventRule = null;
|
|
42
50
|
exports.getEventRuleOutput = null;
|
|
43
51
|
utilities.lazyLoad(exports, ["getEventRule", "getEventRuleOutput"], () => require("./getEventRule"));
|
|
@@ -56,6 +64,8 @@ const _module = {
|
|
|
56
64
|
version: utilities.getVersion(),
|
|
57
65
|
construct: (name, type, urn) => {
|
|
58
66
|
switch (type) {
|
|
67
|
+
case "bytepluscc:cloudmonitor/contact:Contact":
|
|
68
|
+
return new exports.Contact(name, undefined, { urn });
|
|
59
69
|
case "bytepluscc:cloudmonitor/contactGroup:ContactGroup":
|
|
60
70
|
return new exports.ContactGroup(name, undefined, { urn });
|
|
61
71
|
case "bytepluscc:cloudmonitor/eventRule:EventRule":
|
|
@@ -67,6 +77,7 @@ const _module = {
|
|
|
67
77
|
}
|
|
68
78
|
},
|
|
69
79
|
};
|
|
80
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "cloudmonitor/contact", _module);
|
|
70
81
|
pulumi.runtime.registerResourceModule("bytepluscc", "cloudmonitor/contactGroup", _module);
|
|
71
82
|
pulumi.runtime.registerResourceModule("bytepluscc", "cloudmonitor/eventRule", _module);
|
|
72
83
|
pulumi.runtime.registerResourceModule("bytepluscc", "cloudmonitor/rule", _module);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../cloudmonitor/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;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AAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
|
package/package.json
CHANGED
package/types/input.d.ts
CHANGED
|
@@ -16296,6 +16296,61 @@ export declare namespace vpn {
|
|
|
16296
16296
|
}
|
|
16297
16297
|
}
|
|
16298
16298
|
export declare namespace waf {
|
|
16299
|
+
interface CcRuleAccurateGroup {
|
|
16300
|
+
/**
|
|
16301
|
+
* Advanced condition group priority. Not required when creating/updating, used only for list display.
|
|
16302
|
+
*/
|
|
16303
|
+
accurateGroupPriority?: pulumi.Input<number | undefined>;
|
|
16304
|
+
/**
|
|
16305
|
+
* List of subrules in advanced conditions
|
|
16306
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
16307
|
+
*/
|
|
16308
|
+
accurateRules?: pulumi.Input<pulumi.Input<inputs.waf.CcRuleAccurateGroupAccurateRule>[] | undefined>;
|
|
16309
|
+
/**
|
|
16310
|
+
* Advanced condition group ID. Not required for create/update; used only for list display
|
|
16311
|
+
*/
|
|
16312
|
+
id?: pulumi.Input<number | undefined>;
|
|
16313
|
+
/**
|
|
16314
|
+
* Logical relationship. 1: AND; 2: OR.
|
|
16315
|
+
*/
|
|
16316
|
+
logic?: pulumi.Input<number | undefined>;
|
|
16317
|
+
}
|
|
16318
|
+
interface CcRuleAccurateGroupAccurateRule {
|
|
16319
|
+
/**
|
|
16320
|
+
* Match object. Fixed objects are automatically generated as HttpObj by ObjType; custom objects require a specific Key in HttpObj. For example: request.header.clientip, request.uri, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc
|
|
16321
|
+
*/
|
|
16322
|
+
httpObj?: pulumi.Input<string | undefined>;
|
|
16323
|
+
/**
|
|
16324
|
+
* Match object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameters; 5: Request headers; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie; 23: JA3 Hash; 25: Session-ID; 26: Client fingerprint.
|
|
16325
|
+
*/
|
|
16326
|
+
objType?: pulumi.Input<number | undefined>;
|
|
16327
|
+
/**
|
|
16328
|
+
* Match operator enumeration. 0–5: size comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP identification (only request.header.clientip or custom objects); 23/24: include/exclude address group; 25/26: include/exclude location; 27: include IP intelligence; 28/29: AS number belongs/does not belong
|
|
16329
|
+
*/
|
|
16330
|
+
opretar?: pulumi.Input<number | undefined>;
|
|
16331
|
+
/**
|
|
16332
|
+
* Match attribute type enumeration. 0: Value; 1: StrLen; 2: Size; 3: Keys; 4: Version; 5: IP (only used when Opretar=17–21); 6: Country.
|
|
16333
|
+
*/
|
|
16334
|
+
property?: pulumi.Input<number | undefined>;
|
|
16335
|
+
/**
|
|
16336
|
+
* Match value. For Opretar=17–21 (IP identification), no match content is involved and can be an empty string; for Opretar=23–29, fill in according to the required format (IP address group ID/location code/IP intelligence tag/ASN); for other operators, enter the actual match value
|
|
16337
|
+
*/
|
|
16338
|
+
valueString?: pulumi.Input<string | undefined>;
|
|
16339
|
+
}
|
|
16340
|
+
interface CcRuleCronConf {
|
|
16341
|
+
/**
|
|
16342
|
+
* crontab expression. Recommended format: * \n\n-\n\n * * \n\n, for example * 18-20 * * 1,2,3,4,5.
|
|
16343
|
+
*/
|
|
16344
|
+
crontab?: pulumi.Input<string | undefined>;
|
|
16345
|
+
/**
|
|
16346
|
+
* Total path threshold during the specified period. Range: 1–300000
|
|
16347
|
+
*/
|
|
16348
|
+
pathThreshold?: pulumi.Input<number | undefined>;
|
|
16349
|
+
/**
|
|
16350
|
+
* Threshold for a single object during this time period. Range: 1–300000.
|
|
16351
|
+
*/
|
|
16352
|
+
singleThreshold?: pulumi.Input<number | undefined>;
|
|
16353
|
+
}
|
|
16299
16354
|
interface DomainBackendGroup {
|
|
16300
16355
|
/**
|
|
16301
16356
|
* Access port number.
|