@byteplus/pulumi-bytepluscc 0.0.46 → 0.0.47
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/certificateservice/getOrganizationInfo.d.ts +106 -0
- package/certificateservice/getOrganizationInfo.d.ts.map +1 -0
- package/certificateservice/getOrganizationInfo.js +51 -0
- package/certificateservice/getOrganizationInfo.js.map +1 -0
- package/certificateservice/getOrganizationInfos.d.ts +23 -0
- package/certificateservice/getOrganizationInfos.d.ts.map +1 -0
- package/certificateservice/getOrganizationInfos.js +47 -0
- package/certificateservice/getOrganizationInfos.js.map +1 -0
- package/certificateservice/index.d.ts +9 -0
- package/certificateservice/index.d.ts.map +1 -1
- package/certificateservice/index.js +12 -1
- package/certificateservice/index.js.map +1 -1
- package/certificateservice/organizationInfo.d.ts +273 -0
- package/certificateservice/organizationInfo.d.ts.map +1 -0
- package/certificateservice/organizationInfo.js +152 -0
- package/certificateservice/organizationInfo.js.map +1 -0
- package/config/getGroupRule.d.ts +86 -0
- package/config/getGroupRule.d.ts.map +1 -0
- package/config/getGroupRule.js +51 -0
- package/config/getGroupRule.js.map +1 -0
- package/config/getGroupRules.d.ts +23 -0
- package/config/getGroupRules.d.ts.map +1 -0
- package/config/getGroupRules.js +47 -0
- package/config/getGroupRules.js.map +1 -0
- package/config/getRule.d.ts +82 -0
- package/config/getRule.d.ts.map +1 -0
- package/config/getRule.js +51 -0
- package/config/getRule.js.map +1 -0
- package/config/getRules.d.ts +23 -0
- package/config/getRules.d.ts.map +1 -0
- package/config/getRules.js +47 -0
- package/config/getRules.js.map +1 -0
- package/config/groupRule.d.ts +227 -0
- package/config/groupRule.d.ts.map +1 -0
- package/config/groupRule.js +164 -0
- package/config/groupRule.js.map +1 -0
- package/config/index.d.ts +18 -0
- package/config/index.d.ts.map +1 -1
- package/config/index.js +46 -1
- package/config/index.js.map +1 -1
- package/config/rule.d.ts +214 -0
- package/config/rule.d.ts.map +1 -0
- package/config/rule.js +161 -0
- package/config/rule.js.map +1 -0
- package/config/vars.d.ts +18 -6
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +18 -0
- package/config/vars.js.map +1 -1
- package/ecs/getScheduledInstance.d.ts +69 -0
- package/ecs/getScheduledInstance.d.ts.map +1 -0
- package/ecs/getScheduledInstance.js +51 -0
- package/ecs/getScheduledInstance.js.map +1 -0
- package/ecs/getScheduledInstances.d.ts +23 -0
- package/ecs/getScheduledInstances.d.ts.map +1 -0
- package/ecs/getScheduledInstances.js +47 -0
- package/ecs/getScheduledInstances.js.map +1 -0
- package/ecs/index.d.ts +9 -0
- package/ecs/index.d.ts.map +1 -1
- package/ecs/index.js +12 -1
- package/ecs/index.js.map +1 -1
- package/ecs/scheduledInstance.d.ts +741 -0
- package/ecs/scheduledInstance.d.ts.map +1 -0
- package/ecs/scheduledInstance.js +248 -0
- package/ecs/scheduledInstance.js.map +1 -0
- package/package.json +1 -1
- package/provider.d.ts +31 -11
- package/provider.d.ts.map +1 -1
- package/provider.js +5 -0
- package/provider.js.map +1 -1
- package/types/input.d.ts +520 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1064 -31
- package/types/output.d.ts.map +1 -1
- package/vpc/getIpPool.d.ts +114 -0
- package/vpc/getIpPool.d.ts.map +1 -0
- package/vpc/getIpPool.js +51 -0
- package/vpc/getIpPool.js.map +1 -0
- package/vpc/getIpPoolCidrBlock.d.ts +65 -0
- package/vpc/getIpPoolCidrBlock.d.ts.map +1 -0
- package/vpc/getIpPoolCidrBlock.js +51 -0
- package/vpc/getIpPoolCidrBlock.js.map +1 -0
- package/vpc/getIpPoolCidrBlocks.d.ts +23 -0
- package/vpc/getIpPoolCidrBlocks.d.ts.map +1 -0
- package/vpc/getIpPoolCidrBlocks.js +47 -0
- package/vpc/getIpPoolCidrBlocks.js.map +1 -0
- package/vpc/getIpPools.d.ts +23 -0
- package/vpc/getIpPools.d.ts.map +1 -0
- package/vpc/getIpPools.js +47 -0
- package/vpc/getIpPools.js.map +1 -0
- package/vpc/index.d.ts +18 -0
- package/vpc/index.d.ts.map +1 -1
- package/vpc/index.js +24 -2
- package/vpc/index.js.map +1 -1
- package/vpc/ipPool.d.ts +250 -0
- package/vpc/ipPool.d.ts.map +1 -0
- package/vpc/ipPool.js +139 -0
- package/vpc/ipPool.js.map +1 -0
- package/vpc/ipPoolCidrBlock.d.ts +126 -0
- package/vpc/ipPoolCidrBlock.d.ts.map +1 -0
- package/vpc/ipPoolCidrBlock.js +108 -0
- package/vpc/ipPoolCidrBlock.js.map +1 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Configure audit account group rule
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
12
|
+
*
|
|
13
|
+
* const example = new bytepluscc.config.GroupRule("example", {
|
|
14
|
+
* accountGroupId: "00000000-0000-0000-0000-000000000000",
|
|
15
|
+
* ruleTemplateId: "00000000-0000-0000-0000-000000000000",
|
|
16
|
+
* ruleName: "ccapi-config-grouprule-full",
|
|
17
|
+
* description: "ccapi config group rule full",
|
|
18
|
+
* triggers: [{
|
|
19
|
+
* trigger_type: "Periodic",
|
|
20
|
+
* maximum_execution_frequency: "TwentyFourHours",
|
|
21
|
+
* }],
|
|
22
|
+
* inputParameters: "{}",
|
|
23
|
+
* scope: {
|
|
24
|
+
* resource_types: {
|
|
25
|
+
* include: ["Byteplus::Redis::AllowList"],
|
|
26
|
+
* },
|
|
27
|
+
* resource_ids: {
|
|
28
|
+
* include: ["example-resource-id"],
|
|
29
|
+
* },
|
|
30
|
+
* regions: {
|
|
31
|
+
* include: ["ap-southeast-1"],
|
|
32
|
+
* },
|
|
33
|
+
* projects: {
|
|
34
|
+
* include: ["default"],
|
|
35
|
+
* },
|
|
36
|
+
* tags: {
|
|
37
|
+
* include: [{
|
|
38
|
+
* key: "k1",
|
|
39
|
+
* value: "v1",
|
|
40
|
+
* }],
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* riskLevel: "Medium",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import bytepluscc:config/groupRule:GroupRule example "account_group_id|rule_id"
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare class GroupRule extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing GroupRule resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GroupRuleState, opts?: pulumi.CustomResourceOptions): GroupRule;
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of GroupRule. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj: any): obj is GroupRule;
|
|
69
|
+
/**
|
|
70
|
+
* Account group ID. Not required for standard rules; required for account group rules
|
|
71
|
+
*/
|
|
72
|
+
readonly accountGroupId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Creation time
|
|
75
|
+
*/
|
|
76
|
+
readonly createdTime: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Rule description
|
|
79
|
+
*/
|
|
80
|
+
readonly description: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Rule runtime parameters (JSON string)
|
|
83
|
+
*/
|
|
84
|
+
readonly inputParameters: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Risk level. Options: Low, Medium, High
|
|
87
|
+
*/
|
|
88
|
+
readonly riskLevel: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Rule ID
|
|
91
|
+
*/
|
|
92
|
+
readonly ruleId: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Rule name
|
|
95
|
+
*/
|
|
96
|
+
readonly ruleName: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Rule status. Options: Enabled, Disabled
|
|
99
|
+
*/
|
|
100
|
+
readonly ruleStatus: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Rule template ID
|
|
103
|
+
*/
|
|
104
|
+
readonly ruleTemplateId: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Resource evaluation scope
|
|
107
|
+
*/
|
|
108
|
+
readonly scope: pulumi.Output<outputs.config.GroupRuleScope>;
|
|
109
|
+
/**
|
|
110
|
+
* Whether to trigger rule re-evaluation. When true, StartRuleEvaluation is called during update
|
|
111
|
+
*/
|
|
112
|
+
readonly startRuleEvaluation: pulumi.Output<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* Rule trigger configuration
|
|
115
|
+
* 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.
|
|
116
|
+
*/
|
|
117
|
+
readonly triggers: pulumi.Output<outputs.config.GroupRuleTrigger[]>;
|
|
118
|
+
/**
|
|
119
|
+
* Create a GroupRule resource with the given unique name, arguments, and options.
|
|
120
|
+
*
|
|
121
|
+
* @param name The _unique_ name of the resource.
|
|
122
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
123
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
124
|
+
*/
|
|
125
|
+
constructor(name: string, args: GroupRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Input properties used for looking up and filtering GroupRule resources.
|
|
129
|
+
*/
|
|
130
|
+
export interface GroupRuleState {
|
|
131
|
+
/**
|
|
132
|
+
* Account group ID. Not required for standard rules; required for account group rules
|
|
133
|
+
*/
|
|
134
|
+
accountGroupId?: pulumi.Input<string | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Creation time
|
|
137
|
+
*/
|
|
138
|
+
createdTime?: pulumi.Input<string | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* Rule description
|
|
141
|
+
*/
|
|
142
|
+
description?: pulumi.Input<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Rule runtime parameters (JSON string)
|
|
145
|
+
*/
|
|
146
|
+
inputParameters?: pulumi.Input<string | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Risk level. Options: Low, Medium, High
|
|
149
|
+
*/
|
|
150
|
+
riskLevel?: pulumi.Input<string | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* Rule ID
|
|
153
|
+
*/
|
|
154
|
+
ruleId?: pulumi.Input<string | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* Rule name
|
|
157
|
+
*/
|
|
158
|
+
ruleName?: pulumi.Input<string | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* Rule status. Options: Enabled, Disabled
|
|
161
|
+
*/
|
|
162
|
+
ruleStatus?: pulumi.Input<string | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* Rule template ID
|
|
165
|
+
*/
|
|
166
|
+
ruleTemplateId?: pulumi.Input<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* Resource evaluation scope
|
|
169
|
+
*/
|
|
170
|
+
scope?: pulumi.Input<inputs.config.GroupRuleScope | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* Whether to trigger rule re-evaluation. When true, StartRuleEvaluation is called during update
|
|
173
|
+
*/
|
|
174
|
+
startRuleEvaluation?: pulumi.Input<boolean | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* Rule trigger configuration
|
|
177
|
+
* 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.
|
|
178
|
+
*/
|
|
179
|
+
triggers?: pulumi.Input<pulumi.Input<inputs.config.GroupRuleTrigger>[] | undefined>;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* The set of arguments for constructing a GroupRule resource.
|
|
183
|
+
*/
|
|
184
|
+
export interface GroupRuleArgs {
|
|
185
|
+
/**
|
|
186
|
+
* Account group ID. Not required for standard rules; required for account group rules
|
|
187
|
+
*/
|
|
188
|
+
accountGroupId?: pulumi.Input<string | undefined>;
|
|
189
|
+
/**
|
|
190
|
+
* Rule description
|
|
191
|
+
*/
|
|
192
|
+
description: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Rule runtime parameters (JSON string)
|
|
195
|
+
*/
|
|
196
|
+
inputParameters: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Risk level. Options: Low, Medium, High
|
|
199
|
+
*/
|
|
200
|
+
riskLevel: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Rule name
|
|
203
|
+
*/
|
|
204
|
+
ruleName: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Rule status. Options: Enabled, Disabled
|
|
207
|
+
*/
|
|
208
|
+
ruleStatus?: pulumi.Input<string | undefined>;
|
|
209
|
+
/**
|
|
210
|
+
* Rule template ID
|
|
211
|
+
*/
|
|
212
|
+
ruleTemplateId: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Resource evaluation scope
|
|
215
|
+
*/
|
|
216
|
+
scope: pulumi.Input<inputs.config.GroupRuleScope>;
|
|
217
|
+
/**
|
|
218
|
+
* Whether to trigger rule re-evaluation. When true, StartRuleEvaluation is called during update
|
|
219
|
+
*/
|
|
220
|
+
startRuleEvaluation?: pulumi.Input<boolean | undefined>;
|
|
221
|
+
/**
|
|
222
|
+
* Rule trigger configuration
|
|
223
|
+
* 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.
|
|
224
|
+
*/
|
|
225
|
+
triggers: pulumi.Input<pulumi.Input<inputs.config.GroupRuleTrigger>[]>;
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=groupRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupRule.d.ts","sourceRoot":"","sources":["../../config/groupRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,SAAS;IAOpI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS;IAOpD;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAgC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnE;;OAEG;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AC;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;IAClD;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxD;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;CAC1E"}
|
|
@@ -0,0 +1,164 @@
|
|
|
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.GroupRule = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Configure audit account group rule
|
|
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.config.GroupRule("example", {
|
|
41
|
+
* accountGroupId: "00000000-0000-0000-0000-000000000000",
|
|
42
|
+
* ruleTemplateId: "00000000-0000-0000-0000-000000000000",
|
|
43
|
+
* ruleName: "ccapi-config-grouprule-full",
|
|
44
|
+
* description: "ccapi config group rule full",
|
|
45
|
+
* triggers: [{
|
|
46
|
+
* trigger_type: "Periodic",
|
|
47
|
+
* maximum_execution_frequency: "TwentyFourHours",
|
|
48
|
+
* }],
|
|
49
|
+
* inputParameters: "{}",
|
|
50
|
+
* scope: {
|
|
51
|
+
* resource_types: {
|
|
52
|
+
* include: ["Byteplus::Redis::AllowList"],
|
|
53
|
+
* },
|
|
54
|
+
* resource_ids: {
|
|
55
|
+
* include: ["example-resource-id"],
|
|
56
|
+
* },
|
|
57
|
+
* regions: {
|
|
58
|
+
* include: ["ap-southeast-1"],
|
|
59
|
+
* },
|
|
60
|
+
* projects: {
|
|
61
|
+
* include: ["default"],
|
|
62
|
+
* },
|
|
63
|
+
* tags: {
|
|
64
|
+
* include: [{
|
|
65
|
+
* key: "k1",
|
|
66
|
+
* value: "v1",
|
|
67
|
+
* }],
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* riskLevel: "Medium",
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* ## Import
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ pulumi import bytepluscc:config/groupRule:GroupRule example "account_group_id|rule_id"
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
class GroupRule extends pulumi.CustomResource {
|
|
81
|
+
/**
|
|
82
|
+
* Get an existing GroupRule resource's state with the given name, ID, and optional extra
|
|
83
|
+
* properties used to qualify the lookup.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resulting resource.
|
|
86
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
87
|
+
* @param state Any extra arguments used during the lookup.
|
|
88
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
|
+
*/
|
|
90
|
+
static get(name, id, state, opts) {
|
|
91
|
+
return new GroupRule(name, state, { ...opts, id: id });
|
|
92
|
+
}
|
|
93
|
+
/** @internal */
|
|
94
|
+
static __pulumiType = 'bytepluscc:config/groupRule:GroupRule';
|
|
95
|
+
/**
|
|
96
|
+
* Returns true if the given object is an instance of GroupRule. This is designed to work even
|
|
97
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
98
|
+
*/
|
|
99
|
+
static isInstance(obj) {
|
|
100
|
+
if (obj === undefined || obj === null) {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
return obj['__pulumiType'] === GroupRule.__pulumiType;
|
|
104
|
+
}
|
|
105
|
+
constructor(name, argsOrState, opts) {
|
|
106
|
+
let resourceInputs = {};
|
|
107
|
+
opts = opts || {};
|
|
108
|
+
if (opts.id) {
|
|
109
|
+
const state = argsOrState;
|
|
110
|
+
resourceInputs["accountGroupId"] = state?.accountGroupId;
|
|
111
|
+
resourceInputs["createdTime"] = state?.createdTime;
|
|
112
|
+
resourceInputs["description"] = state?.description;
|
|
113
|
+
resourceInputs["inputParameters"] = state?.inputParameters;
|
|
114
|
+
resourceInputs["riskLevel"] = state?.riskLevel;
|
|
115
|
+
resourceInputs["ruleId"] = state?.ruleId;
|
|
116
|
+
resourceInputs["ruleName"] = state?.ruleName;
|
|
117
|
+
resourceInputs["ruleStatus"] = state?.ruleStatus;
|
|
118
|
+
resourceInputs["ruleTemplateId"] = state?.ruleTemplateId;
|
|
119
|
+
resourceInputs["scope"] = state?.scope;
|
|
120
|
+
resourceInputs["startRuleEvaluation"] = state?.startRuleEvaluation;
|
|
121
|
+
resourceInputs["triggers"] = state?.triggers;
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
const args = argsOrState;
|
|
125
|
+
if (args?.description === undefined && !opts.urn) {
|
|
126
|
+
throw new Error("Missing required property 'description'");
|
|
127
|
+
}
|
|
128
|
+
if (args?.inputParameters === undefined && !opts.urn) {
|
|
129
|
+
throw new Error("Missing required property 'inputParameters'");
|
|
130
|
+
}
|
|
131
|
+
if (args?.riskLevel === undefined && !opts.urn) {
|
|
132
|
+
throw new Error("Missing required property 'riskLevel'");
|
|
133
|
+
}
|
|
134
|
+
if (args?.ruleName === undefined && !opts.urn) {
|
|
135
|
+
throw new Error("Missing required property 'ruleName'");
|
|
136
|
+
}
|
|
137
|
+
if (args?.ruleTemplateId === undefined && !opts.urn) {
|
|
138
|
+
throw new Error("Missing required property 'ruleTemplateId'");
|
|
139
|
+
}
|
|
140
|
+
if (args?.scope === undefined && !opts.urn) {
|
|
141
|
+
throw new Error("Missing required property 'scope'");
|
|
142
|
+
}
|
|
143
|
+
if (args?.triggers === undefined && !opts.urn) {
|
|
144
|
+
throw new Error("Missing required property 'triggers'");
|
|
145
|
+
}
|
|
146
|
+
resourceInputs["accountGroupId"] = args?.accountGroupId;
|
|
147
|
+
resourceInputs["description"] = args?.description;
|
|
148
|
+
resourceInputs["inputParameters"] = args?.inputParameters;
|
|
149
|
+
resourceInputs["riskLevel"] = args?.riskLevel;
|
|
150
|
+
resourceInputs["ruleName"] = args?.ruleName;
|
|
151
|
+
resourceInputs["ruleStatus"] = args?.ruleStatus;
|
|
152
|
+
resourceInputs["ruleTemplateId"] = args?.ruleTemplateId;
|
|
153
|
+
resourceInputs["scope"] = args?.scope;
|
|
154
|
+
resourceInputs["startRuleEvaluation"] = args?.startRuleEvaluation;
|
|
155
|
+
resourceInputs["triggers"] = args?.triggers;
|
|
156
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
157
|
+
resourceInputs["ruleId"] = undefined /*out*/;
|
|
158
|
+
}
|
|
159
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
160
|
+
super(GroupRule.__pulumiType, name, resourceInputs, opts);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
exports.GroupRule = GroupRule;
|
|
164
|
+
//# sourceMappingURL=groupRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupRule.js","sourceRoot":"","sources":["../../config/groupRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;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,EAAE,EAAE,GAAG,IAAI,EAAE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Ac,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA7IL,8BA8IC"}
|
package/config/index.d.ts
CHANGED
|
@@ -1,2 +1,20 @@
|
|
|
1
|
+
export { GetGroupRuleArgs, GetGroupRuleResult, GetGroupRuleOutputArgs } from "./getGroupRule";
|
|
2
|
+
export declare const getGroupRule: typeof import("./getGroupRule").getGroupRule;
|
|
3
|
+
export declare const getGroupRuleOutput: typeof import("./getGroupRule").getGroupRuleOutput;
|
|
4
|
+
export { GetGroupRulesResult } from "./getGroupRules";
|
|
5
|
+
export declare const getGroupRules: typeof import("./getGroupRules").getGroupRules;
|
|
6
|
+
export declare const getGroupRulesOutput: typeof import("./getGroupRules").getGroupRulesOutput;
|
|
7
|
+
export { GetRuleArgs, GetRuleResult, GetRuleOutputArgs } from "./getRule";
|
|
8
|
+
export declare const getRule: typeof import("./getRule").getRule;
|
|
9
|
+
export declare const getRuleOutput: typeof import("./getRule").getRuleOutput;
|
|
10
|
+
export { GetRulesResult } from "./getRules";
|
|
11
|
+
export declare const getRules: typeof import("./getRules").getRules;
|
|
12
|
+
export declare const getRulesOutput: typeof import("./getRules").getRulesOutput;
|
|
13
|
+
export { GroupRuleArgs, GroupRuleState } from "./groupRule";
|
|
14
|
+
export type GroupRule = import("./groupRule").GroupRule;
|
|
15
|
+
export declare const GroupRule: typeof import("./groupRule").GroupRule;
|
|
16
|
+
export { RuleArgs, RuleState } from "./rule";
|
|
17
|
+
export type Rule = import("./rule").Rule;
|
|
18
|
+
export declare const Rule: typeof import("./rule").Rule;
|
|
1
19
|
export * from "./vars";
|
|
2
20
|
//# sourceMappingURL=index.d.ts.map
|
package/config/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC9F,eAAO,MAAM,YAAY,EAAE,cAAc,gBAAgB,EAAE,YAA0B,CAAC;AACtF,eAAO,MAAM,kBAAkB,EAAE,cAAc,gBAAgB,EAAE,kBAAgC,CAAC;AAGlG,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC;AACzF,eAAO,MAAM,mBAAmB,EAAE,cAAc,iBAAiB,EAAE,mBAAiC,CAAC;AAGrG,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1E,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AACvE,eAAO,MAAM,aAAa,EAAE,cAAc,WAAW,EAAE,aAA2B,CAAC;AAGnF,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,eAAO,MAAM,QAAQ,EAAE,cAAc,YAAY,EAAE,QAAsB,CAAC;AAC1E,eAAO,MAAM,cAAc,EAAE,cAAc,YAAY,EAAE,cAA4B,CAAC;AAGtF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,MAAM,MAAM,SAAS,GAAG,OAAO,aAAa,EAAE,SAAS,CAAC;AACxD,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC;AAG7E,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7C,MAAM,MAAM,IAAI,GAAG,OAAO,QAAQ,EAAE,IAAI,CAAC;AACzC,eAAO,MAAM,IAAI,EAAE,cAAc,QAAQ,EAAE,IAAkB,CAAC;AAG9D,cAAc,QAAQ,CAAC"}
|
package/config/index.js
CHANGED
|
@@ -12,10 +12,55 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
12
12
|
if (k2 === undefined) k2 = k;
|
|
13
13
|
o[k2] = m[k];
|
|
14
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
|
+
};
|
|
15
27
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
28
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
29
|
};
|
|
18
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
|
|
31
|
+
exports.Rule = exports.GroupRule = exports.getRulesOutput = exports.getRules = exports.getRuleOutput = exports.getRule = exports.getGroupRulesOutput = exports.getGroupRules = exports.getGroupRuleOutput = exports.getGroupRule = void 0;
|
|
32
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
33
|
+
const utilities = __importStar(require("../utilities"));
|
|
34
|
+
exports.getGroupRule = null;
|
|
35
|
+
exports.getGroupRuleOutput = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["getGroupRule", "getGroupRuleOutput"], () => require("./getGroupRule"));
|
|
37
|
+
exports.getGroupRules = null;
|
|
38
|
+
exports.getGroupRulesOutput = null;
|
|
39
|
+
utilities.lazyLoad(exports, ["getGroupRules", "getGroupRulesOutput"], () => require("./getGroupRules"));
|
|
40
|
+
exports.getRule = null;
|
|
41
|
+
exports.getRuleOutput = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["getRule", "getRuleOutput"], () => require("./getRule"));
|
|
43
|
+
exports.getRules = null;
|
|
44
|
+
exports.getRulesOutput = null;
|
|
45
|
+
utilities.lazyLoad(exports, ["getRules", "getRulesOutput"], () => require("./getRules"));
|
|
46
|
+
exports.GroupRule = null;
|
|
47
|
+
utilities.lazyLoad(exports, ["GroupRule"], () => require("./groupRule"));
|
|
48
|
+
exports.Rule = null;
|
|
49
|
+
utilities.lazyLoad(exports, ["Rule"], () => require("./rule"));
|
|
20
50
|
__exportStar(require("./vars"), exports);
|
|
51
|
+
const _module = {
|
|
52
|
+
version: utilities.getVersion(),
|
|
53
|
+
construct: (name, type, urn) => {
|
|
54
|
+
switch (type) {
|
|
55
|
+
case "bytepluscc:config/groupRule:GroupRule":
|
|
56
|
+
return new exports.GroupRule(name, undefined, { urn });
|
|
57
|
+
case "bytepluscc:config/rule:Rule":
|
|
58
|
+
return new exports.Rule(name, undefined, { urn });
|
|
59
|
+
default:
|
|
60
|
+
throw new Error(`unknown resource type ${type}`);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "config/groupRule", _module);
|
|
65
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "config/rule", _module);
|
|
21
66
|
//# sourceMappingURL=index.js.map
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAI7B,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,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAA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