@byteplus/pulumi-bytepluscc 0.0.46 → 0.0.48
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/autoscaling/getNotificationConfiguration.d.ts +57 -0
- package/autoscaling/getNotificationConfiguration.d.ts.map +1 -0
- package/autoscaling/getNotificationConfiguration.js +51 -0
- package/autoscaling/getNotificationConfiguration.js.map +1 -0
- package/autoscaling/getNotificationConfigurations.d.ts +23 -0
- package/autoscaling/getNotificationConfigurations.d.ts.map +1 -0
- package/autoscaling/getNotificationConfigurations.js +47 -0
- package/autoscaling/getNotificationConfigurations.js.map +1 -0
- package/autoscaling/index.d.ts +9 -0
- package/autoscaling/index.d.ts.map +1 -1
- package/autoscaling/index.js +12 -1
- package/autoscaling/index.js.map +1 -1
- package/autoscaling/notificationConfiguration.d.ts +122 -0
- package/autoscaling/notificationConfiguration.d.ts.map +1 -0
- package/autoscaling/notificationConfiguration.js +122 -0
- package/autoscaling/notificationConfiguration.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 +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/configurationRecorder.d.ts +127 -0
- package/config/configurationRecorder.d.ts.map +1 -0
- package/config/configurationRecorder.js +109 -0
- package/config/configurationRecorder.js.map +1 -0
- package/config/getConfigurationRecorder.d.ts +65 -0
- package/config/getConfigurationRecorder.d.ts.map +1 -0
- package/config/getConfigurationRecorder.js +51 -0
- package/config/getConfigurationRecorder.js.map +1 -0
- package/config/getConfigurationRecorders.d.ts +23 -0
- package/config/getConfigurationRecorders.d.ts.map +1 -0
- package/config/getConfigurationRecorders.js +47 -0
- package/config/getConfigurationRecorders.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 +27 -0
- package/config/index.d.ts.map +1 -1
- package/config/index.js +57 -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/rdsmysql/getInstance.d.ts +5 -5
- package/rdsmysql/getInstance.d.ts.map +1 -1
- package/rdsmysql/instance.d.ts +15 -15
- package/rdsmysql/instance.d.ts.map +1 -1
- package/rdsmysql/instance.js +2 -2
- package/rdsmysql/instance.js.map +1 -1
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts +23 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js +47 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntries.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts +129 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js +51 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingEntry.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts +23 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js +47 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicies.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts +65 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js +51 -0
- package/transitrouter/getTransitRouterTrafficQosMarkingPolicy.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts +23 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.js +47 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntries.js.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts +81 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.d.ts.map +1 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.js +51 -0
- package/transitrouter/getTransitRouterTrafficQosQueueEntry.js.map +1 -0
- package/transitrouter/index.d.ts +27 -0
- package/transitrouter/index.d.ts.map +1 -1
- package/transitrouter/index.js +35 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts +329 -0
- package/transitrouter/transitRouterTrafficQosMarkingEntry.d.ts.map +1 -0
- package/transitrouter/transitRouterTrafficQosMarkingEntry.js +163 -0
- package/transitrouter/transitRouterTrafficQosMarkingEntry.js.map +1 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts +127 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.d.ts.map +1 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.js +109 -0
- package/transitrouter/transitRouterTrafficQosMarkingPolicy.js.map +1 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts +177 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.d.ts.map +1 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.js +129 -0
- package/transitrouter/transitRouterTrafficQosQueueEntry.js.map +1 -0
- package/types/input.d.ts +524 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1069 -28
- 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,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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationInfo.js","sourceRoot":"","sources":["../../certificateservice/organizationInfo.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,iEAAiE,CAAC;IAExG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,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AAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/JL,4CAgKC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Configuration Recorder is used to record and track configuration changes for specified resource types under the Volcano Engine account
|
|
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.config.ConfigurationRecorder("example", {
|
|
12
|
+
* recorderType: "SingleAccount",
|
|
13
|
+
* includeAllResourceTypes: false,
|
|
14
|
+
* includeResourceTypes: ["Byteplus::ALB::ACL"],
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import bytepluscc:config/configurationRecorder:ConfigurationRecorder example "recorder_type"
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class ConfigurationRecorder extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing ConfigurationRecorder resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConfigurationRecorderState, opts?: pulumi.CustomResourceOptions): ConfigurationRecorder;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of ConfigurationRecorder. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj: any): obj is ConfigurationRecorder;
|
|
40
|
+
/**
|
|
41
|
+
* Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
|
|
42
|
+
*/
|
|
43
|
+
readonly configurationRecorderStatus: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* Configuration recorder creation source
|
|
46
|
+
*/
|
|
47
|
+
readonly createBy: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to record all supported resource types
|
|
50
|
+
*/
|
|
51
|
+
readonly includeAllResourceTypes: pulumi.Output<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* List of specified resource types to record
|
|
54
|
+
*/
|
|
55
|
+
readonly includeResourceTypes: pulumi.Output<string[]>;
|
|
56
|
+
/**
|
|
57
|
+
* Configuration recorder ID
|
|
58
|
+
*/
|
|
59
|
+
readonly recorderId: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Configuration recorder name
|
|
62
|
+
*/
|
|
63
|
+
readonly recorderName: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Configuration recorder type. Options: SingleAccount, Organization
|
|
66
|
+
*/
|
|
67
|
+
readonly recorderType: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a ConfigurationRecorder resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: ConfigurationRecorderArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering ConfigurationRecorder resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface ConfigurationRecorderState {
|
|
81
|
+
/**
|
|
82
|
+
* Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
|
|
83
|
+
*/
|
|
84
|
+
configurationRecorderStatus?: pulumi.Input<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Configuration recorder creation source
|
|
87
|
+
*/
|
|
88
|
+
createBy?: pulumi.Input<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Whether to record all supported resource types
|
|
91
|
+
*/
|
|
92
|
+
includeAllResourceTypes?: pulumi.Input<boolean | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* List of specified resource types to record
|
|
95
|
+
*/
|
|
96
|
+
includeResourceTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Configuration recorder ID
|
|
99
|
+
*/
|
|
100
|
+
recorderId?: pulumi.Input<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Configuration recorder name
|
|
103
|
+
*/
|
|
104
|
+
recorderName?: pulumi.Input<string | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Configuration recorder type. Options: SingleAccount, Organization
|
|
107
|
+
*/
|
|
108
|
+
recorderType?: pulumi.Input<string | undefined>;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* The set of arguments for constructing a ConfigurationRecorder resource.
|
|
112
|
+
*/
|
|
113
|
+
export interface ConfigurationRecorderArgs {
|
|
114
|
+
/**
|
|
115
|
+
* Whether to record all supported resource types
|
|
116
|
+
*/
|
|
117
|
+
includeAllResourceTypes?: pulumi.Input<boolean | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* List of specified resource types to record
|
|
120
|
+
*/
|
|
121
|
+
includeResourceTypes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
122
|
+
/**
|
|
123
|
+
* Configuration recorder type. Options: SingleAccount, Organization
|
|
124
|
+
*/
|
|
125
|
+
recorderType: pulumi.Input<string>;
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=configurationRecorder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationRecorder.d.ts","sourceRoot":"","sources":["../../config/configurationRecorder.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAO5J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE;;OAEG;IACH,SAAgC,2BAA2B,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnF;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,uBAAuB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAA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BAAuB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
|
|
@@ -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.ConfigurationRecorder = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Configuration Recorder is used to record and track configuration changes for specified resource types under the Volcano Engine account
|
|
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.ConfigurationRecorder("example", {
|
|
41
|
+
* recorderType: "SingleAccount",
|
|
42
|
+
* includeAllResourceTypes: false,
|
|
43
|
+
* includeResourceTypes: ["Byteplus::ALB::ACL"],
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import bytepluscc:config/configurationRecorder:ConfigurationRecorder example "recorder_type"
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class ConfigurationRecorder extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing ConfigurationRecorder 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, id, state, opts) {
|
|
64
|
+
return new ConfigurationRecorder(name, state, { ...opts, id: id });
|
|
65
|
+
}
|
|
66
|
+
/** @internal */
|
|
67
|
+
static __pulumiType = 'bytepluscc:config/configurationRecorder:ConfigurationRecorder';
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of ConfigurationRecorder. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === ConfigurationRecorder.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
constructor(name, argsOrState, opts) {
|
|
79
|
+
let resourceInputs = {};
|
|
80
|
+
opts = opts || {};
|
|
81
|
+
if (opts.id) {
|
|
82
|
+
const state = argsOrState;
|
|
83
|
+
resourceInputs["configurationRecorderStatus"] = state?.configurationRecorderStatus;
|
|
84
|
+
resourceInputs["createBy"] = state?.createBy;
|
|
85
|
+
resourceInputs["includeAllResourceTypes"] = state?.includeAllResourceTypes;
|
|
86
|
+
resourceInputs["includeResourceTypes"] = state?.includeResourceTypes;
|
|
87
|
+
resourceInputs["recorderId"] = state?.recorderId;
|
|
88
|
+
resourceInputs["recorderName"] = state?.recorderName;
|
|
89
|
+
resourceInputs["recorderType"] = state?.recorderType;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
const args = argsOrState;
|
|
93
|
+
if (args?.recorderType === undefined && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'recorderType'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["includeAllResourceTypes"] = args?.includeAllResourceTypes;
|
|
97
|
+
resourceInputs["includeResourceTypes"] = args?.includeResourceTypes;
|
|
98
|
+
resourceInputs["recorderType"] = args?.recorderType;
|
|
99
|
+
resourceInputs["configurationRecorderStatus"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["createBy"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["recorderId"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["recorderName"] = undefined /*out*/;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(ConfigurationRecorder.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ConfigurationRecorder = ConfigurationRecorder;
|
|
109
|
+
//# sourceMappingURL=configurationRecorder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurationRecorder.js","sourceRoot":"","sources":["../../config/configurationRecorder.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,+DAA+D,CAAC;IAEtG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,EAAE,2BAA2B,CAAC;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@@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Data Source schema for Byteplus::Config::ConfigurationRecorder
|
|
4
|
+
*/
|
|
5
|
+
export declare function getConfigurationRecorder(args: GetConfigurationRecorderArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationRecorderResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of arguments for invoking getConfigurationRecorder.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetConfigurationRecorderArgs {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the resource.
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A collection of values returned by getConfigurationRecorder.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetConfigurationRecorderResult {
|
|
19
|
+
/**
|
|
20
|
+
* Configuration recorder status. Options: Disabled, PendingEnable, Building, Rebuilding, Enabled, PendingDisable
|
|
21
|
+
*/
|
|
22
|
+
readonly configurationRecorderStatus: string;
|
|
23
|
+
/**
|
|
24
|
+
* Configuration recorder creation source
|
|
25
|
+
*/
|
|
26
|
+
readonly createBy: string;
|
|
27
|
+
/**
|
|
28
|
+
* Uniquely identifies the resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
/**
|
|
32
|
+
* Whether to record all supported resource types
|
|
33
|
+
*/
|
|
34
|
+
readonly includeAllResourceTypes: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* List of specified resource types to record
|
|
37
|
+
*/
|
|
38
|
+
readonly includeResourceTypes: string[];
|
|
39
|
+
/**
|
|
40
|
+
* Configuration recorder ID
|
|
41
|
+
*/
|
|
42
|
+
readonly recorderId: string;
|
|
43
|
+
/**
|
|
44
|
+
* Configuration recorder name
|
|
45
|
+
*/
|
|
46
|
+
readonly recorderName: string;
|
|
47
|
+
/**
|
|
48
|
+
* Configuration recorder type. Options: SingleAccount, Organization
|
|
49
|
+
*/
|
|
50
|
+
readonly recorderType: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Data Source schema for Byteplus::Config::ConfigurationRecorder
|
|
54
|
+
*/
|
|
55
|
+
export declare function getConfigurationRecorderOutput(args: GetConfigurationRecorderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigurationRecorderResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getConfigurationRecorder.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetConfigurationRecorderOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* Uniquely identifies the resource.
|
|
62
|
+
*/
|
|
63
|
+
id: pulumi.Input<string>;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=getConfigurationRecorder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfigurationRecorder.d.ts","sourceRoot":"","sources":["../../config/getConfigurationRecorder.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAKjJ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,QAAQ,CAAC,2BAA2B,EAAE,MAAM,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,EAAE,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CACjC;AACD;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,kCAAkC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAKzK;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;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.getConfigurationRecorderOutput = exports.getConfigurationRecorder = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::Config::ConfigurationRecorder
|
|
33
|
+
*/
|
|
34
|
+
function getConfigurationRecorder(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:config/getConfigurationRecorder:getConfigurationRecorder", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getConfigurationRecorder = getConfigurationRecorder;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::Config::ConfigurationRecorder
|
|
43
|
+
*/
|
|
44
|
+
function getConfigurationRecorderOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:config/getConfigurationRecorder:getConfigurationRecorder", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getConfigurationRecorderOutput = getConfigurationRecorderOutput;
|
|
51
|
+
//# sourceMappingURL=getConfigurationRecorder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfigurationRecorder.js","sourceRoot":"","sources":["../../config/getConfigurationRecorder.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qEAAqE,EAAE;QAChG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC;AAiDD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qEAAqE,EAAE;QACtG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wEAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::Config::ConfigurationRecorder
|
|
4
|
+
*/
|
|
5
|
+
export declare function getConfigurationRecorders(opts?: pulumi.InvokeOptions): Promise<GetConfigurationRecordersResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getConfigurationRecorders.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetConfigurationRecordersResult {
|
|
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::ConfigurationRecorder
|
|
21
|
+
*/
|
|
22
|
+
export declare function getConfigurationRecordersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigurationRecordersResult>;
|
|
23
|
+
//# sourceMappingURL=getConfigurationRecorders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfigurationRecorders.d.ts","sourceRoot":"","sources":["../../config/getConfigurationRecorders.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAI/G;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAIjI"}
|
|
@@ -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.getConfigurationRecordersOutput = exports.getConfigurationRecorders = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::Config::ConfigurationRecorder
|
|
33
|
+
*/
|
|
34
|
+
function getConfigurationRecorders(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:config/getConfigurationRecorders:getConfigurationRecorders", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getConfigurationRecorders = getConfigurationRecorders;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::Config::ConfigurationRecorder
|
|
41
|
+
*/
|
|
42
|
+
function getConfigurationRecordersOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:config/getConfigurationRecorders:getConfigurationRecorders", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getConfigurationRecordersOutput = getConfigurationRecordersOutput;
|
|
47
|
+
//# sourceMappingURL=getConfigurationRecorders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfigurationRecorders.js","sourceRoot":"","sources":["../../config/getConfigurationRecorders.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAA2B;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE,EACrG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8DAIC;AAeD;;GAEG;AACH,SAAgB,+BAA+B,CAAC,IAAiC;IAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uEAAuE,EAAE,EAC3G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0EAIC"}
|