@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
package/config/rule.d.ts
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Configuration audit 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.Rule("example", {
|
|
14
|
+
* ruleTemplateId: "00000000-0000-0000-0000-000000000000",
|
|
15
|
+
* ruleName: "ccapi-config-rule-full",
|
|
16
|
+
* description: "ccapi config rule full",
|
|
17
|
+
* triggers: [{
|
|
18
|
+
* trigger_type: "Periodic",
|
|
19
|
+
* maximum_execution_frequency: "TwentyFourHours",
|
|
20
|
+
* }],
|
|
21
|
+
* inputParameters: "{}",
|
|
22
|
+
* scope: {
|
|
23
|
+
* resource_types: {
|
|
24
|
+
* include: ["Byteplus::Redis::AllowList"],
|
|
25
|
+
* },
|
|
26
|
+
* resource_ids: {
|
|
27
|
+
* include: ["example-resource-id"],
|
|
28
|
+
* },
|
|
29
|
+
* regions: {
|
|
30
|
+
* include: ["ap-southeast-1"],
|
|
31
|
+
* },
|
|
32
|
+
* projects: {
|
|
33
|
+
* include: ["default"],
|
|
34
|
+
* },
|
|
35
|
+
* tags: {
|
|
36
|
+
* include: [{
|
|
37
|
+
* key: "k1",
|
|
38
|
+
* value: "v1",
|
|
39
|
+
* }],
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* riskLevel: "Medium",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import bytepluscc:config/rule:Rule example "rule_id"
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
export declare class Rule extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing Rule resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleState, opts?: pulumi.CustomResourceOptions): Rule;
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of Rule. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj: any): obj is Rule;
|
|
68
|
+
/**
|
|
69
|
+
* Creation time
|
|
70
|
+
*/
|
|
71
|
+
readonly createdTime: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Rule description
|
|
74
|
+
*/
|
|
75
|
+
readonly description: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Rule runtime parameters (JSON string)
|
|
78
|
+
*/
|
|
79
|
+
readonly inputParameters: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Risk level. Options: Low, Medium, High
|
|
82
|
+
*/
|
|
83
|
+
readonly riskLevel: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Rule ID
|
|
86
|
+
*/
|
|
87
|
+
readonly ruleId: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Rule name
|
|
90
|
+
*/
|
|
91
|
+
readonly ruleName: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Rule enable status. Options: Enabled, Disabled
|
|
94
|
+
*/
|
|
95
|
+
readonly ruleStatus: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Rule template ID
|
|
98
|
+
*/
|
|
99
|
+
readonly ruleTemplateId: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Resource evaluation scope
|
|
102
|
+
*/
|
|
103
|
+
readonly scope: pulumi.Output<outputs.config.RuleScope>;
|
|
104
|
+
/**
|
|
105
|
+
* Whether to trigger regular rule re-evaluation. If true, StartRuleEvaluation is called during update
|
|
106
|
+
*/
|
|
107
|
+
readonly startRuleEvaluation: pulumi.Output<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* Rule trigger configuration
|
|
110
|
+
* 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.
|
|
111
|
+
*/
|
|
112
|
+
readonly triggers: pulumi.Output<outputs.config.RuleTrigger[]>;
|
|
113
|
+
/**
|
|
114
|
+
* Create a Rule resource with the given unique name, arguments, and options.
|
|
115
|
+
*
|
|
116
|
+
* @param name The _unique_ name of the resource.
|
|
117
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
118
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
119
|
+
*/
|
|
120
|
+
constructor(name: string, args: RuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Input properties used for looking up and filtering Rule resources.
|
|
124
|
+
*/
|
|
125
|
+
export interface RuleState {
|
|
126
|
+
/**
|
|
127
|
+
* Creation time
|
|
128
|
+
*/
|
|
129
|
+
createdTime?: pulumi.Input<string | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Rule description
|
|
132
|
+
*/
|
|
133
|
+
description?: pulumi.Input<string | undefined>;
|
|
134
|
+
/**
|
|
135
|
+
* Rule runtime parameters (JSON string)
|
|
136
|
+
*/
|
|
137
|
+
inputParameters?: pulumi.Input<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* Risk level. Options: Low, Medium, High
|
|
140
|
+
*/
|
|
141
|
+
riskLevel?: pulumi.Input<string | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* Rule ID
|
|
144
|
+
*/
|
|
145
|
+
ruleId?: pulumi.Input<string | undefined>;
|
|
146
|
+
/**
|
|
147
|
+
* Rule name
|
|
148
|
+
*/
|
|
149
|
+
ruleName?: pulumi.Input<string | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* Rule enable status. Options: Enabled, Disabled
|
|
152
|
+
*/
|
|
153
|
+
ruleStatus?: pulumi.Input<string | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* Rule template ID
|
|
156
|
+
*/
|
|
157
|
+
ruleTemplateId?: pulumi.Input<string | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* Resource evaluation scope
|
|
160
|
+
*/
|
|
161
|
+
scope?: pulumi.Input<inputs.config.RuleScope | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* Whether to trigger regular rule re-evaluation. If true, StartRuleEvaluation is called during update
|
|
164
|
+
*/
|
|
165
|
+
startRuleEvaluation?: pulumi.Input<boolean | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* Rule trigger configuration
|
|
168
|
+
* 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.
|
|
169
|
+
*/
|
|
170
|
+
triggers?: pulumi.Input<pulumi.Input<inputs.config.RuleTrigger>[] | undefined>;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* The set of arguments for constructing a Rule resource.
|
|
174
|
+
*/
|
|
175
|
+
export interface RuleArgs {
|
|
176
|
+
/**
|
|
177
|
+
* Rule description
|
|
178
|
+
*/
|
|
179
|
+
description: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Rule runtime parameters (JSON string)
|
|
182
|
+
*/
|
|
183
|
+
inputParameters: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Risk level. Options: Low, Medium, High
|
|
186
|
+
*/
|
|
187
|
+
riskLevel: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Rule name
|
|
190
|
+
*/
|
|
191
|
+
ruleName: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Rule enable status. Options: Enabled, Disabled
|
|
194
|
+
*/
|
|
195
|
+
ruleStatus?: pulumi.Input<string | undefined>;
|
|
196
|
+
/**
|
|
197
|
+
* Rule template ID
|
|
198
|
+
*/
|
|
199
|
+
ruleTemplateId: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* Resource evaluation scope
|
|
202
|
+
*/
|
|
203
|
+
scope: pulumi.Input<inputs.config.RuleScope>;
|
|
204
|
+
/**
|
|
205
|
+
* Whether to trigger regular rule re-evaluation. If true, StartRuleEvaluation is called during update
|
|
206
|
+
*/
|
|
207
|
+
startRuleEvaluation?: pulumi.Input<boolean | undefined>;
|
|
208
|
+
/**
|
|
209
|
+
* Rule trigger configuration
|
|
210
|
+
* 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.
|
|
211
|
+
*/
|
|
212
|
+
triggers: pulumi.Input<pulumi.Input<inputs.config.RuleTrigger>[]>;
|
|
213
|
+
}
|
|
214
|
+
//# sourceMappingURL=rule.d.ts.map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|
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.Rule = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Configuration audit 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.Rule("example", {
|
|
41
|
+
* ruleTemplateId: "00000000-0000-0000-0000-000000000000",
|
|
42
|
+
* ruleName: "ccapi-config-rule-full",
|
|
43
|
+
* description: "ccapi config rule full",
|
|
44
|
+
* triggers: [{
|
|
45
|
+
* trigger_type: "Periodic",
|
|
46
|
+
* maximum_execution_frequency: "TwentyFourHours",
|
|
47
|
+
* }],
|
|
48
|
+
* inputParameters: "{}",
|
|
49
|
+
* scope: {
|
|
50
|
+
* resource_types: {
|
|
51
|
+
* include: ["Byteplus::Redis::AllowList"],
|
|
52
|
+
* },
|
|
53
|
+
* resource_ids: {
|
|
54
|
+
* include: ["example-resource-id"],
|
|
55
|
+
* },
|
|
56
|
+
* regions: {
|
|
57
|
+
* include: ["ap-southeast-1"],
|
|
58
|
+
* },
|
|
59
|
+
* projects: {
|
|
60
|
+
* include: ["default"],
|
|
61
|
+
* },
|
|
62
|
+
* tags: {
|
|
63
|
+
* include: [{
|
|
64
|
+
* key: "k1",
|
|
65
|
+
* value: "v1",
|
|
66
|
+
* }],
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* riskLevel: "Medium",
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* ## Import
|
|
74
|
+
*
|
|
75
|
+
* ```sh
|
|
76
|
+
* $ pulumi import bytepluscc:config/rule:Rule example "rule_id"
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
class Rule extends pulumi.CustomResource {
|
|
80
|
+
/**
|
|
81
|
+
* Get an existing Rule resource's state with the given name, ID, and optional extra
|
|
82
|
+
* properties used to qualify the lookup.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resulting resource.
|
|
85
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
+
* @param state Any extra arguments used during the lookup.
|
|
87
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
+
*/
|
|
89
|
+
static get(name, id, state, opts) {
|
|
90
|
+
return new Rule(name, state, { ...opts, id: id });
|
|
91
|
+
}
|
|
92
|
+
/** @internal */
|
|
93
|
+
static __pulumiType = 'bytepluscc:config/rule:Rule';
|
|
94
|
+
/**
|
|
95
|
+
* Returns true if the given object is an instance of Rule. This is designed to work even
|
|
96
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
97
|
+
*/
|
|
98
|
+
static isInstance(obj) {
|
|
99
|
+
if (obj === undefined || obj === null) {
|
|
100
|
+
return false;
|
|
101
|
+
}
|
|
102
|
+
return obj['__pulumiType'] === Rule.__pulumiType;
|
|
103
|
+
}
|
|
104
|
+
constructor(name, argsOrState, opts) {
|
|
105
|
+
let resourceInputs = {};
|
|
106
|
+
opts = opts || {};
|
|
107
|
+
if (opts.id) {
|
|
108
|
+
const state = argsOrState;
|
|
109
|
+
resourceInputs["createdTime"] = state?.createdTime;
|
|
110
|
+
resourceInputs["description"] = state?.description;
|
|
111
|
+
resourceInputs["inputParameters"] = state?.inputParameters;
|
|
112
|
+
resourceInputs["riskLevel"] = state?.riskLevel;
|
|
113
|
+
resourceInputs["ruleId"] = state?.ruleId;
|
|
114
|
+
resourceInputs["ruleName"] = state?.ruleName;
|
|
115
|
+
resourceInputs["ruleStatus"] = state?.ruleStatus;
|
|
116
|
+
resourceInputs["ruleTemplateId"] = state?.ruleTemplateId;
|
|
117
|
+
resourceInputs["scope"] = state?.scope;
|
|
118
|
+
resourceInputs["startRuleEvaluation"] = state?.startRuleEvaluation;
|
|
119
|
+
resourceInputs["triggers"] = state?.triggers;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
const args = argsOrState;
|
|
123
|
+
if (args?.description === undefined && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'description'");
|
|
125
|
+
}
|
|
126
|
+
if (args?.inputParameters === undefined && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'inputParameters'");
|
|
128
|
+
}
|
|
129
|
+
if (args?.riskLevel === undefined && !opts.urn) {
|
|
130
|
+
throw new Error("Missing required property 'riskLevel'");
|
|
131
|
+
}
|
|
132
|
+
if (args?.ruleName === undefined && !opts.urn) {
|
|
133
|
+
throw new Error("Missing required property 'ruleName'");
|
|
134
|
+
}
|
|
135
|
+
if (args?.ruleTemplateId === undefined && !opts.urn) {
|
|
136
|
+
throw new Error("Missing required property 'ruleTemplateId'");
|
|
137
|
+
}
|
|
138
|
+
if (args?.scope === undefined && !opts.urn) {
|
|
139
|
+
throw new Error("Missing required property 'scope'");
|
|
140
|
+
}
|
|
141
|
+
if (args?.triggers === undefined && !opts.urn) {
|
|
142
|
+
throw new Error("Missing required property 'triggers'");
|
|
143
|
+
}
|
|
144
|
+
resourceInputs["description"] = args?.description;
|
|
145
|
+
resourceInputs["inputParameters"] = args?.inputParameters;
|
|
146
|
+
resourceInputs["riskLevel"] = args?.riskLevel;
|
|
147
|
+
resourceInputs["ruleName"] = args?.ruleName;
|
|
148
|
+
resourceInputs["ruleStatus"] = args?.ruleStatus;
|
|
149
|
+
resourceInputs["ruleTemplateId"] = args?.ruleTemplateId;
|
|
150
|
+
resourceInputs["scope"] = args?.scope;
|
|
151
|
+
resourceInputs["startRuleEvaluation"] = args?.startRuleEvaluation;
|
|
152
|
+
resourceInputs["triggers"] = args?.triggers;
|
|
153
|
+
resourceInputs["createdTime"] = undefined /*out*/;
|
|
154
|
+
resourceInputs["ruleId"] = undefined /*out*/;
|
|
155
|
+
}
|
|
156
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
157
|
+
super(Rule.__pulumiType, name, resourceInputs, opts);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.Rule = Rule;
|
|
161
|
+
//# sourceMappingURL=rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../config/rule.ts"],"names":[],"mappings":";AAAA,sEA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Q,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,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,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAvIL,oBAwIC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
/**
|
|
3
|
-
* The Access Key for Byteplus Provider. It
|
|
3
|
+
* The Access Key for Byteplus Provider. It can also be sourced from the `BYTEPLUS_ACCESS_KEY` environment variable
|
|
4
4
|
*/
|
|
5
5
|
export declare const accessKey: string | undefined;
|
|
6
6
|
/**
|
|
7
|
-
* An `assumeRole` block
|
|
7
|
+
* An `assumeRole` block that uses the selected source credentials to obtain target-role credentials. Only one `assumeRole` block may be in the configuration.
|
|
8
8
|
*/
|
|
9
9
|
export declare const assumeRole: outputs.config.AssumeRole | undefined;
|
|
10
10
|
/**
|
|
@@ -20,15 +20,27 @@ export declare const disableSsl: boolean | undefined;
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const endpoints: outputs.config.Endpoints | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* The file path for Byteplus Provider
|
|
23
|
+
* The Profile configuration file path for Byteplus Provider. It defaults to `~/.byteplus/config.json` and can be sourced from the `BYTEPLUS_FILE_PATH` environment variable
|
|
24
24
|
*/
|
|
25
25
|
export declare const filePath: string | undefined;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Comma-separated hosts, domain suffixes, IP addresses, or CIDR ranges that bypass proxy_url. It follows standard NO_PROXY matching and can be sourced from BYTEPLUS_NO_PROXY, NO_PROXY, or no_proxy.
|
|
28
|
+
*/
|
|
29
|
+
export declare const noProxy: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* The Profile for Byteplus Provider. It can be sourced from the `BYTEPLUS_PROFILE` environment variable. Complete AccessKey and SecretKey credentials take precedence when both sources are configured
|
|
28
32
|
*/
|
|
29
33
|
export declare const profile: string | undefined;
|
|
30
34
|
/**
|
|
31
|
-
*
|
|
35
|
+
* Value of the Proxy-Authorization header for Cloud Control API proxy requests, for example `Basic <token>`. It can also be sourced from the `BYTEPLUS_PROXY_AUTHORIZATION` environment variable.
|
|
36
|
+
*/
|
|
37
|
+
export declare const proxyAuthorization: string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Hosts, domain suffixes, IP addresses, or CIDR ranges that use proxyUrl while all other destinations connect directly. It can be sourced as a comma-separated list from BYTEPLUS_PROXY_INCLUDE_DOMAINS and cannot be combined with no_proxy.
|
|
40
|
+
*/
|
|
41
|
+
export declare const proxyIncludeDomains: string[] | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* HTTP, HTTPS, SOCKS5, or SOCKS5H proxy URL for Cloud Control API requests. It can also be sourced from the `BYTEPLUS_PROXY_URL` environment variable.
|
|
32
44
|
*/
|
|
33
45
|
export declare const proxyUrl: string | undefined;
|
|
34
46
|
/**
|
|
@@ -36,7 +48,7 @@ export declare const proxyUrl: string | undefined;
|
|
|
36
48
|
*/
|
|
37
49
|
export declare const region: string | undefined;
|
|
38
50
|
/**
|
|
39
|
-
*
|
|
51
|
+
* The Secret Key for Byteplus Provider. It can also be sourced from the `BYTEPLUS_SECRET_KEY` environment variable
|
|
40
52
|
*/
|
|
41
53
|
export declare const secretKey: string | undefined;
|
|
42
54
|
/**
|
package/config/vars.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAM3C;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;AAQnD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG,SAAS,CAAC;AAQvE;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;AAQzD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC;AAQrD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,SAAS,CAAC;AAQrE;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAQlD;;GAEG;AACH,MAAM,CAAC,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M,GAAG,SAAS,CAAC;AAQjD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;AAQ5D;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;AAQ/D;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAQlD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;AAQhD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;AAQnD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC"}
|
package/config/vars.js
CHANGED
|
@@ -64,12 +64,30 @@ Object.defineProperty(exports, "filePath", {
|
|
|
64
64
|
},
|
|
65
65
|
enumerable: true,
|
|
66
66
|
});
|
|
67
|
+
Object.defineProperty(exports, "noProxy", {
|
|
68
|
+
get() {
|
|
69
|
+
return __config.get("noProxy");
|
|
70
|
+
},
|
|
71
|
+
enumerable: true,
|
|
72
|
+
});
|
|
67
73
|
Object.defineProperty(exports, "profile", {
|
|
68
74
|
get() {
|
|
69
75
|
return __config.get("profile") ?? utilities.getEnv("BYTEPLUS_PROFILE");
|
|
70
76
|
},
|
|
71
77
|
enumerable: true,
|
|
72
78
|
});
|
|
79
|
+
Object.defineProperty(exports, "proxyAuthorization", {
|
|
80
|
+
get() {
|
|
81
|
+
return __config.get("proxyAuthorization");
|
|
82
|
+
},
|
|
83
|
+
enumerable: true,
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "proxyIncludeDomains", {
|
|
86
|
+
get() {
|
|
87
|
+
return __config.getObject("proxyIncludeDomains");
|
|
88
|
+
},
|
|
89
|
+
enumerable: true,
|
|
90
|
+
});
|
|
73
91
|
Object.defineProperty(exports, "proxyUrl", {
|
|
74
92
|
get() {
|
|
75
93
|
return __config.get("proxyUrl") ?? utilities.getEnv("BYTEPLUS_PROXY_URL");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;AAMjD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAA4B,YAAY,CAAC,CAAC;IACvE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE;IAC9C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC;IAC5F,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,YAAY,CAAC,IAAI,SAAS,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;IACxG,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,C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AI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;IAC9E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACzE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAChF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;IACtF,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::ECS::ScheduledInstance
|
|
5
|
+
*/
|
|
6
|
+
export declare function getScheduledInstance(args: GetScheduledInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduledInstanceResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getScheduledInstance.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetScheduledInstanceArgs {
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A collection of values returned by getScheduledInstance.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetScheduledInstanceResult {
|
|
17
|
+
readonly autoReleaseAt: string;
|
|
18
|
+
readonly cpuMaxFrequency: number;
|
|
19
|
+
readonly createdAt: string;
|
|
20
|
+
readonly deletionProtection: boolean;
|
|
21
|
+
readonly deliveryCount: number;
|
|
22
|
+
readonly deliveryType: string;
|
|
23
|
+
readonly description: string;
|
|
24
|
+
readonly eipAddress: outputs.ecs.GetScheduledInstanceEipAddress;
|
|
25
|
+
readonly elasticScheduledInstanceType: string;
|
|
26
|
+
readonly endDeliveryAt: string;
|
|
27
|
+
readonly hostName: string;
|
|
28
|
+
readonly hpcClusterId: string;
|
|
29
|
+
readonly httpTokens: string;
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly imageId: string;
|
|
32
|
+
readonly installRunCommandAgent: boolean;
|
|
33
|
+
readonly instanceConfig: outputs.ecs.GetScheduledInstanceInstanceConfig;
|
|
34
|
+
readonly instanceCount: number;
|
|
35
|
+
readonly instanceName: string;
|
|
36
|
+
readonly instanceTypeId: string;
|
|
37
|
+
readonly invalidAt: string;
|
|
38
|
+
readonly keepImageCredential: boolean;
|
|
39
|
+
readonly keyPairName: string;
|
|
40
|
+
readonly minCount: number;
|
|
41
|
+
readonly networkInterfaces: outputs.ecs.GetScheduledInstanceNetworkInterface[];
|
|
42
|
+
readonly password: string;
|
|
43
|
+
readonly projectName: string;
|
|
44
|
+
readonly releaseCount: number;
|
|
45
|
+
readonly scheduledInstanceDescription: string;
|
|
46
|
+
readonly scheduledInstanceId: string;
|
|
47
|
+
readonly scheduledInstanceName: string;
|
|
48
|
+
readonly securityEnhancementStrategy: string;
|
|
49
|
+
readonly startDeliveryAt: string;
|
|
50
|
+
readonly status: string;
|
|
51
|
+
readonly suffixIndex: number;
|
|
52
|
+
readonly tags: outputs.ecs.GetScheduledInstanceTag[];
|
|
53
|
+
readonly uniqueSuffix: boolean;
|
|
54
|
+
readonly updatedAt: string;
|
|
55
|
+
readonly userData: string;
|
|
56
|
+
readonly volumes: outputs.ecs.GetScheduledInstanceVolume[];
|
|
57
|
+
readonly zoneId: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Data Source schema for Byteplus::ECS::ScheduledInstance
|
|
61
|
+
*/
|
|
62
|
+
export declare function getScheduledInstanceOutput(args: GetScheduledInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduledInstanceResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getScheduledInstance.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetScheduledInstanceOutputArgs {
|
|
67
|
+
id: pulumi.Input<string>;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=getScheduledInstance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScheduledInstance.d.ts","sourceRoot":"","sources":["../../ecs/getScheduledInstance.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAKrI;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IACrC,QAAQ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,CAAC;IACrC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,2BAA2B,EAAE,MAAM,CAAC;IAC7C,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,CAAC;IACrD,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,CAAC;IAC3D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAK7J;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC3C,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.getScheduledInstanceOutput = exports.getScheduledInstance = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::ECS::ScheduledInstance
|
|
33
|
+
*/
|
|
34
|
+
function getScheduledInstance(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:ecs/getScheduledInstance:getScheduledInstance", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getScheduledInstance = getScheduledInstance;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::ECS::ScheduledInstance
|
|
43
|
+
*/
|
|
44
|
+
function getScheduledInstanceOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:ecs/getScheduledInstance:getScheduledInstance", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getScheduledInstanceOutput = getScheduledInstanceOutput;
|
|
51
|
+
//# sourceMappingURL=getScheduledInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScheduledInstance.js","sourceRoot":"","sources":["../../ecs/getScheduledInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAuDD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0DAA0D,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::ECS::ScheduledInstance
|
|
4
|
+
*/
|
|
5
|
+
export declare function getScheduledInstances(opts?: pulumi.InvokeOptions): Promise<GetScheduledInstancesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getScheduledInstances.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetScheduledInstancesResult {
|
|
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::ECS::ScheduledInstance
|
|
21
|
+
*/
|
|
22
|
+
export declare function getScheduledInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduledInstancesResult>;
|
|
23
|
+
//# sourceMappingURL=getScheduledInstances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getScheduledInstances.d.ts","sourceRoot":"","sources":["../../ecs/getScheduledInstances.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAIvG;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAIzH"}
|