@byteplus/pulumi-bytepluscc 0.0.45 → 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/README.md +0 -7
- package/certificateservice/childCertInstance.d.ts +421 -0
- package/certificateservice/childCertInstance.d.ts.map +1 -0
- package/certificateservice/childCertInstance.js +175 -0
- package/certificateservice/childCertInstance.js.map +1 -0
- package/certificateservice/getChildCertInstance.d.ts +178 -0
- package/certificateservice/getChildCertInstance.d.ts.map +1 -0
- package/certificateservice/getChildCertInstance.js +51 -0
- package/certificateservice/getChildCertInstance.js.map +1 -0
- package/certificateservice/getChildCertInstances.d.ts +23 -0
- package/certificateservice/getChildCertInstances.d.ts.map +1 -0
- package/certificateservice/getChildCertInstances.js +47 -0
- package/certificateservice/getChildCertInstances.js.map +1 -0
- 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 +19 -0
- package/certificateservice/index.d.ts.map +1 -0
- package/certificateservice/index.js +62 -0
- package/certificateservice/index.js.map +1 -0
- 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/index.d.ts +3 -1
- package/index.d.ts.map +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- 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/resourceshare/getResourceShare.d.ts +82 -0
- package/resourceshare/getResourceShare.d.ts.map +1 -0
- package/resourceshare/getResourceShare.js +51 -0
- package/resourceshare/getResourceShare.js.map +1 -0
- package/resourceshare/getResourceShares.d.ts +23 -0
- package/resourceshare/getResourceShares.d.ts.map +1 -0
- package/resourceshare/getResourceShares.js +47 -0
- package/resourceshare/getResourceShares.js.map +1 -0
- package/resourceshare/index.d.ts +10 -0
- package/resourceshare/index.d.ts.map +1 -0
- package/resourceshare/index.js +51 -0
- package/resourceshare/index.js.map +1 -0
- package/resourceshare/resourceShare.d.ts +183 -0
- package/resourceshare/resourceShare.d.ts.map +1 -0
- package/resourceshare/resourceShare.js +128 -0
- package/resourceshare/resourceShare.js.map +1 -0
- package/types/input.d.ts +790 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1742 -173
- 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/ipPoolCidrB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GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAI/G,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAGvF,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,mEAAmE;gBACpE,OAAO,IAAI,yBAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,iEAAiE;gBAClE,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAA;AACpG,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,qCAAqC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Organization Info template in Certificate Center. Used to reuse enterprise or individual identity information when applying for SSL certificates, including organization name, address, contact person, and other details.
|
|
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.certificateservice.OrganizationInfo("example", {
|
|
14
|
+
* type: "Individual",
|
|
15
|
+
* tag: "tf-org-individual-tags",
|
|
16
|
+
* contact: {
|
|
17
|
+
* first_name: "Example",
|
|
18
|
+
* last_name: "User",
|
|
19
|
+
* email: "user@example.com",
|
|
20
|
+
* phone: "00000000000",
|
|
21
|
+
* id_card_no: "ID_CARD_NUMBER",
|
|
22
|
+
* },
|
|
23
|
+
* projectName: "default",
|
|
24
|
+
* tags: [
|
|
25
|
+
* {
|
|
26
|
+
* key: "case",
|
|
27
|
+
* value: "individual-tags",
|
|
28
|
+
* },
|
|
29
|
+
* {
|
|
30
|
+
* key: "env",
|
|
31
|
+
* value: "test",
|
|
32
|
+
* },
|
|
33
|
+
* ],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import bytepluscc:certificateservice/organizationInfo:OrganizationInfo example "organization_id"
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare class OrganizationInfo extends pulumi.CustomResource {
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing OrganizationInfo resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationInfoState, opts?: pulumi.CustomResourceOptions): OrganizationInfo;
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of OrganizationInfo. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj: any): obj is OrganizationInfo;
|
|
59
|
+
/**
|
|
60
|
+
* Account ID associated with the information template.
|
|
61
|
+
*/
|
|
62
|
+
readonly account: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Enterprise address. Required when Type is Enterprise.
|
|
65
|
+
*/
|
|
66
|
+
readonly address: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Enterprise unified social credit code.
|
|
69
|
+
*/
|
|
70
|
+
readonly businessLicenseNo: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* City where the enterprise is located. Required when Type is Enterprise.
|
|
73
|
+
*/
|
|
74
|
+
readonly city: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Contact information for the information template.
|
|
77
|
+
*/
|
|
78
|
+
readonly contact: pulumi.Output<outputs.certificateservice.OrganizationInfoContact>;
|
|
79
|
+
/**
|
|
80
|
+
* Two-letter country code where the enterprise is located, e.g., CN. Required when Type is Enterprise.
|
|
81
|
+
*/
|
|
82
|
+
readonly country: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Creation time of the information template.
|
|
85
|
+
*/
|
|
86
|
+
readonly createdTime: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Enterprise department.
|
|
89
|
+
*/
|
|
90
|
+
readonly department: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Enterprise email address.
|
|
93
|
+
*/
|
|
94
|
+
readonly email: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Enterprise name. Required when Type is Enterprise.
|
|
97
|
+
*/
|
|
98
|
+
readonly name: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Information template ID, prefixed with org-, for example org-879f6502723b4e0f8762cf3528f4****.
|
|
101
|
+
*/
|
|
102
|
+
readonly organizationId: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Postal code, only for mainland China.
|
|
105
|
+
*/
|
|
106
|
+
readonly postalCode: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Project name associated with the information template. Default is default.
|
|
109
|
+
*/
|
|
110
|
+
readonly projectName: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Province where the enterprise is located. Required when Type is Enterprise.
|
|
113
|
+
*/
|
|
114
|
+
readonly province: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Name of the information template.
|
|
117
|
+
*/
|
|
118
|
+
readonly tag: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* List of resource tags bound to the information template.
|
|
121
|
+
* 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.
|
|
122
|
+
*/
|
|
123
|
+
readonly tags: pulumi.Output<outputs.certificateservice.OrganizationInfoTag[]>;
|
|
124
|
+
/**
|
|
125
|
+
* Information template type. Individual: Personal, can only apply for DV certificates. Enterprise: Enterprise, can apply for DV/OV/EV certificates.
|
|
126
|
+
*/
|
|
127
|
+
readonly type: pulumi.Output<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Create a OrganizationInfo resource with the given unique name, arguments, and options.
|
|
130
|
+
*
|
|
131
|
+
* @param name The _unique_ name of the resource.
|
|
132
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
133
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
134
|
+
*/
|
|
135
|
+
constructor(name: string, args: OrganizationInfoArgs, opts?: pulumi.CustomResourceOptions);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Input properties used for looking up and filtering OrganizationInfo resources.
|
|
139
|
+
*/
|
|
140
|
+
export interface OrganizationInfoState {
|
|
141
|
+
/**
|
|
142
|
+
* Account ID associated with the information template.
|
|
143
|
+
*/
|
|
144
|
+
account?: pulumi.Input<string | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* Enterprise address. Required when Type is Enterprise.
|
|
147
|
+
*/
|
|
148
|
+
address?: pulumi.Input<string | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* Enterprise unified social credit code.
|
|
151
|
+
*/
|
|
152
|
+
businessLicenseNo?: pulumi.Input<string | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* City where the enterprise is located. Required when Type is Enterprise.
|
|
155
|
+
*/
|
|
156
|
+
city?: pulumi.Input<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Contact information for the information template.
|
|
159
|
+
*/
|
|
160
|
+
contact?: pulumi.Input<inputs.certificateservice.OrganizationInfoContact | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* Two-letter country code where the enterprise is located, e.g., CN. Required when Type is Enterprise.
|
|
163
|
+
*/
|
|
164
|
+
country?: pulumi.Input<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Creation time of the information template.
|
|
167
|
+
*/
|
|
168
|
+
createdTime?: pulumi.Input<string | undefined>;
|
|
169
|
+
/**
|
|
170
|
+
* Enterprise department.
|
|
171
|
+
*/
|
|
172
|
+
department?: pulumi.Input<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* Enterprise email address.
|
|
175
|
+
*/
|
|
176
|
+
email?: pulumi.Input<string | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* Enterprise name. Required when Type is Enterprise.
|
|
179
|
+
*/
|
|
180
|
+
name?: pulumi.Input<string | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* Information template ID, prefixed with org-, for example org-879f6502723b4e0f8762cf3528f4****.
|
|
183
|
+
*/
|
|
184
|
+
organizationId?: pulumi.Input<string | undefined>;
|
|
185
|
+
/**
|
|
186
|
+
* Postal code, only for mainland China.
|
|
187
|
+
*/
|
|
188
|
+
postalCode?: pulumi.Input<string | undefined>;
|
|
189
|
+
/**
|
|
190
|
+
* Project name associated with the information template. Default is default.
|
|
191
|
+
*/
|
|
192
|
+
projectName?: pulumi.Input<string | undefined>;
|
|
193
|
+
/**
|
|
194
|
+
* Province where the enterprise is located. Required when Type is Enterprise.
|
|
195
|
+
*/
|
|
196
|
+
province?: pulumi.Input<string | undefined>;
|
|
197
|
+
/**
|
|
198
|
+
* Name of the information template.
|
|
199
|
+
*/
|
|
200
|
+
tag?: pulumi.Input<string | undefined>;
|
|
201
|
+
/**
|
|
202
|
+
* List of resource tags bound to the information template.
|
|
203
|
+
* 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.
|
|
204
|
+
*/
|
|
205
|
+
tags?: pulumi.Input<pulumi.Input<inputs.certificateservice.OrganizationInfoTag>[] | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* Information template type. Individual: Personal, can only apply for DV certificates. Enterprise: Enterprise, can apply for DV/OV/EV certificates.
|
|
208
|
+
*/
|
|
209
|
+
type?: pulumi.Input<string | undefined>;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* The set of arguments for constructing a OrganizationInfo resource.
|
|
213
|
+
*/
|
|
214
|
+
export interface OrganizationInfoArgs {
|
|
215
|
+
/**
|
|
216
|
+
* Enterprise address. Required when Type is Enterprise.
|
|
217
|
+
*/
|
|
218
|
+
address?: pulumi.Input<string | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* Enterprise unified social credit code.
|
|
221
|
+
*/
|
|
222
|
+
businessLicenseNo?: pulumi.Input<string | undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* City where the enterprise is located. Required when Type is Enterprise.
|
|
225
|
+
*/
|
|
226
|
+
city?: pulumi.Input<string | undefined>;
|
|
227
|
+
/**
|
|
228
|
+
* Contact information for the information template.
|
|
229
|
+
*/
|
|
230
|
+
contact: pulumi.Input<inputs.certificateservice.OrganizationInfoContact>;
|
|
231
|
+
/**
|
|
232
|
+
* Two-letter country code where the enterprise is located, e.g., CN. Required when Type is Enterprise.
|
|
233
|
+
*/
|
|
234
|
+
country?: pulumi.Input<string | undefined>;
|
|
235
|
+
/**
|
|
236
|
+
* Enterprise department.
|
|
237
|
+
*/
|
|
238
|
+
department?: pulumi.Input<string | undefined>;
|
|
239
|
+
/**
|
|
240
|
+
* Enterprise email address.
|
|
241
|
+
*/
|
|
242
|
+
email?: pulumi.Input<string | undefined>;
|
|
243
|
+
/**
|
|
244
|
+
* Enterprise name. Required when Type is Enterprise.
|
|
245
|
+
*/
|
|
246
|
+
name?: pulumi.Input<string | undefined>;
|
|
247
|
+
/**
|
|
248
|
+
* Postal code, only for mainland China.
|
|
249
|
+
*/
|
|
250
|
+
postalCode?: pulumi.Input<string | undefined>;
|
|
251
|
+
/**
|
|
252
|
+
* Project name associated with the information template. Default is default.
|
|
253
|
+
*/
|
|
254
|
+
projectName?: pulumi.Input<string | undefined>;
|
|
255
|
+
/**
|
|
256
|
+
* Province where the enterprise is located. Required when Type is Enterprise.
|
|
257
|
+
*/
|
|
258
|
+
province?: pulumi.Input<string | undefined>;
|
|
259
|
+
/**
|
|
260
|
+
* Name of the information template.
|
|
261
|
+
*/
|
|
262
|
+
tag: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* List of resource tags bound to the information template.
|
|
265
|
+
* 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.
|
|
266
|
+
*/
|
|
267
|
+
tags?: pulumi.Input<pulumi.Input<inputs.certificateservice.OrganizationInfoTag>[] | undefined>;
|
|
268
|
+
/**
|
|
269
|
+
* Information template type. Individual: Personal, can only apply for DV certificates. Enterprise: Enterprise, can apply for DV/OV/EV certificates.
|
|
270
|
+
*/
|
|
271
|
+
type: pulumi.Input<string>;
|
|
272
|
+
}
|
|
273
|
+
//# sourceMappingURL=organizationInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationInfo.d.ts","sourceRoot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CAAC;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/F;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,152 @@
|
|
|
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.OrganizationInfo = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Organization Info template in Certificate Center. Used to reuse enterprise or individual identity information when applying for SSL certificates, including organization name, address, contact person, and other details.
|
|
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.certificateservice.OrganizationInfo("example", {
|
|
41
|
+
* type: "Individual",
|
|
42
|
+
* tag: "tf-org-individual-tags",
|
|
43
|
+
* contact: {
|
|
44
|
+
* first_name: "Example",
|
|
45
|
+
* last_name: "User",
|
|
46
|
+
* email: "user@example.com",
|
|
47
|
+
* phone: "00000000000",
|
|
48
|
+
* id_card_no: "ID_CARD_NUMBER",
|
|
49
|
+
* },
|
|
50
|
+
* projectName: "default",
|
|
51
|
+
* tags: [
|
|
52
|
+
* {
|
|
53
|
+
* key: "case",
|
|
54
|
+
* value: "individual-tags",
|
|
55
|
+
* },
|
|
56
|
+
* {
|
|
57
|
+
* key: "env",
|
|
58
|
+
* value: "test",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* ## Import
|
|
65
|
+
*
|
|
66
|
+
* ```sh
|
|
67
|
+
* $ pulumi import bytepluscc:certificateservice/organizationInfo:OrganizationInfo example "organization_id"
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
class OrganizationInfo extends pulumi.CustomResource {
|
|
71
|
+
/**
|
|
72
|
+
* Get an existing OrganizationInfo resource's state with the given name, ID, and optional extra
|
|
73
|
+
* properties used to qualify the lookup.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resulting resource.
|
|
76
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
77
|
+
* @param state Any extra arguments used during the lookup.
|
|
78
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
79
|
+
*/
|
|
80
|
+
static get(name, id, state, opts) {
|
|
81
|
+
return new OrganizationInfo(name, state, { ...opts, id: id });
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
static __pulumiType = 'bytepluscc:certificateservice/organizationInfo:OrganizationInfo';
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of OrganizationInfo. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === OrganizationInfo.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
constructor(name, argsOrState, opts) {
|
|
96
|
+
let resourceInputs = {};
|
|
97
|
+
opts = opts || {};
|
|
98
|
+
if (opts.id) {
|
|
99
|
+
const state = argsOrState;
|
|
100
|
+
resourceInputs["account"] = state?.account;
|
|
101
|
+
resourceInputs["address"] = state?.address;
|
|
102
|
+
resourceInputs["businessLicenseNo"] = state?.businessLicenseNo;
|
|
103
|
+
resourceInputs["city"] = state?.city;
|
|
104
|
+
resourceInputs["contact"] = state?.contact;
|
|
105
|
+
resourceInputs["country"] = state?.country;
|
|
106
|
+
resourceInputs["createdTime"] = state?.createdTime;
|
|
107
|
+
resourceInputs["department"] = state?.department;
|
|
108
|
+
resourceInputs["email"] = state?.email;
|
|
109
|
+
resourceInputs["name"] = state?.name;
|
|
110
|
+
resourceInputs["organizationId"] = state?.organizationId;
|
|
111
|
+
resourceInputs["postalCode"] = state?.postalCode;
|
|
112
|
+
resourceInputs["projectName"] = state?.projectName;
|
|
113
|
+
resourceInputs["province"] = state?.province;
|
|
114
|
+
resourceInputs["tag"] = state?.tag;
|
|
115
|
+
resourceInputs["tags"] = state?.tags;
|
|
116
|
+
resourceInputs["type"] = state?.type;
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
const args = argsOrState;
|
|
120
|
+
if (args?.contact === undefined && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'contact'");
|
|
122
|
+
}
|
|
123
|
+
if (args?.tag === undefined && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'tag'");
|
|
125
|
+
}
|
|
126
|
+
if (args?.type === undefined && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'type'");
|
|
128
|
+
}
|
|
129
|
+
resourceInputs["address"] = args?.address;
|
|
130
|
+
resourceInputs["businessLicenseNo"] = args?.businessLicenseNo;
|
|
131
|
+
resourceInputs["city"] = args?.city;
|
|
132
|
+
resourceInputs["contact"] = args?.contact;
|
|
133
|
+
resourceInputs["country"] = args?.country;
|
|
134
|
+
resourceInputs["department"] = args?.department;
|
|
135
|
+
resourceInputs["email"] = args?.email;
|
|
136
|
+
resourceInputs["name"] = args?.name;
|
|
137
|
+
resourceInputs["postalCode"] = args?.postalCode;
|
|
138
|
+
resourceInputs["projectName"] = args?.projectName;
|
|
139
|
+
resourceInputs["province"] = args?.province;
|
|
140
|
+
resourceInputs["tag"] = args?.tag;
|
|
141
|
+
resourceInputs["tags"] = args?.tags;
|
|
142
|
+
resourceInputs["type"] = args?.type;
|
|
143
|
+
resourceInputs["account"] = undefined /*out*/;
|
|
144
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
145
|
+
resourceInputs["organizationId"] = undefined /*out*/;
|
|
146
|
+
}
|
|
147
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
148
|
+
super(OrganizationInfo.__pulumiType, name, resourceInputs, opts);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.OrganizationInfo = OrganizationInfo;
|
|
152
|
+
//# sourceMappingURL=organizationInfo.js.map
|
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EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/JL,4CAgKC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::Config::GroupRule
|
|
5
|
+
*/
|
|
6
|
+
export declare function getGroupRule(args: GetGroupRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupRuleResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getGroupRule.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetGroupRuleArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getGroupRule.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetGroupRuleResult {
|
|
20
|
+
/**
|
|
21
|
+
* Account group ID. Not required for standard rules; required for account group rules
|
|
22
|
+
*/
|
|
23
|
+
readonly accountGroupId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Creation time
|
|
26
|
+
*/
|
|
27
|
+
readonly createdTime: string;
|
|
28
|
+
/**
|
|
29
|
+
* Rule description
|
|
30
|
+
*/
|
|
31
|
+
readonly description: string;
|
|
32
|
+
/**
|
|
33
|
+
* Uniquely identifies the resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Rule runtime parameters (JSON string)
|
|
38
|
+
*/
|
|
39
|
+
readonly inputParameters: string;
|
|
40
|
+
/**
|
|
41
|
+
* Risk level. Options: Low, Medium, High
|
|
42
|
+
*/
|
|
43
|
+
readonly riskLevel: string;
|
|
44
|
+
/**
|
|
45
|
+
* Rule ID
|
|
46
|
+
*/
|
|
47
|
+
readonly ruleId: string;
|
|
48
|
+
/**
|
|
49
|
+
* Rule name
|
|
50
|
+
*/
|
|
51
|
+
readonly ruleName: string;
|
|
52
|
+
/**
|
|
53
|
+
* Rule status. Options: Enabled, Disabled
|
|
54
|
+
*/
|
|
55
|
+
readonly ruleStatus: string;
|
|
56
|
+
/**
|
|
57
|
+
* Rule template ID
|
|
58
|
+
*/
|
|
59
|
+
readonly ruleTemplateId: string;
|
|
60
|
+
/**
|
|
61
|
+
* Resource evaluation scope
|
|
62
|
+
*/
|
|
63
|
+
readonly scope: outputs.config.GetGroupRuleScope;
|
|
64
|
+
/**
|
|
65
|
+
* Whether to trigger rule re-evaluation. When true, StartRuleEvaluation is called during update
|
|
66
|
+
*/
|
|
67
|
+
readonly startRuleEvaluation: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Rule trigger configuration
|
|
70
|
+
*/
|
|
71
|
+
readonly triggers: outputs.config.GetGroupRuleTrigger[];
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Data Source schema for Byteplus::Config::GroupRule
|
|
75
|
+
*/
|
|
76
|
+
export declare function getGroupRuleOutput(args: GetGroupRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupRuleResult>;
|
|
77
|
+
/**
|
|
78
|
+
* A collection of arguments for invoking getGroupRule.
|
|
79
|
+
*/
|
|
80
|
+
export interface GetGroupRuleOutputArgs {
|
|
81
|
+
/**
|
|
82
|
+
* Uniquely identifies the resource.
|
|
83
|
+
*/
|
|
84
|
+
id: pulumi.Input<string>;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=getGroupRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupRule.d.ts","sourceRoot":"","sources":["../../config/getGroupRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,M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AAC,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.getGroupRuleOutput = exports.getGroupRule = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::Config::GroupRule
|
|
33
|
+
*/
|
|
34
|
+
function getGroupRule(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:config/getGroupRule:getGroupRule", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getGroupRule = getGroupRule;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::Config::GroupRule
|
|
43
|
+
*/
|
|
44
|
+
function getGroupRuleOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:config/getGroupRule:getGroupRule", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getGroupRuleOutput = getGroupRuleOutput;
|
|
51
|
+
//# sourceMappingURL=getGroupRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupRule.js","sourceRoot":"","sources":["../../config/getGroupRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;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,6CAA6C,EAAE;QACxE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AAqED;;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,6CAA6C,EAAE;QAC9E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::Config::GroupRule
|
|
4
|
+
*/
|
|
5
|
+
export declare function getGroupRules(opts?: pulumi.InvokeOptions): Promise<GetGroupRulesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getGroupRules.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetGroupRulesResult {
|
|
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::Config::GroupRule
|
|
21
|
+
*/
|
|
22
|
+
export declare function getGroupRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupRulesResult>;
|
|
23
|
+
//# sourceMappingURL=getGroupRules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupRules.d.ts","sourceRoot":"","sources":["../../config/getGroupRules.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAIvF;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAIzG"}
|
|
@@ -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.getGroupRulesOutput = exports.getGroupRules = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::Config::GroupRule
|
|
33
|
+
*/
|
|
34
|
+
function getGroupRules(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:config/getGroupRules:getGroupRules", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getGroupRules = getGroupRules;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::Config::GroupRule
|
|
41
|
+
*/
|
|
42
|
+
function getGroupRulesOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:config/getGroupRules:getGroupRules", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getGroupRulesOutput = getGroupRulesOutput;
|
|
47
|
+
//# sourceMappingURL=getGroupRules.js.map
|