@byteplus/pulumi-bytepluscc 0.0.53 → 0.0.54
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/billing/financialRelation.d.ts +211 -0
- package/billing/financialRelation.d.ts.map +1 -0
- package/billing/financialRelation.js +130 -0
- package/billing/financialRelation.js.map +1 -0
- package/billing/getFinancialRelation.d.ts +102 -0
- package/billing/getFinancialRelation.d.ts.map +1 -0
- package/billing/getFinancialRelation.js +51 -0
- package/billing/getFinancialRelation.js.map +1 -0
- package/billing/getFinancialRelations.d.ts +23 -0
- package/billing/getFinancialRelations.d.ts.map +1 -0
- package/billing/getFinancialRelations.js +47 -0
- package/billing/getFinancialRelations.js.map +1 -0
- package/billing/index.d.ts +10 -0
- package/billing/index.d.ts.map +1 -0
- package/billing/index.js +51 -0
- package/billing/index.js.map +1 -0
- package/cloudmonitor/alertTemplate.d.ts +252 -0
- package/cloudmonitor/alertTemplate.d.ts.map +1 -0
- package/cloudmonitor/alertTemplate.js +172 -0
- package/cloudmonitor/alertTemplate.js.map +1 -0
- package/cloudmonitor/getAlertTemplate.d.ts +90 -0
- package/cloudmonitor/getAlertTemplate.d.ts.map +1 -0
- package/cloudmonitor/getAlertTemplate.js +51 -0
- package/cloudmonitor/getAlertTemplate.js.map +1 -0
- package/cloudmonitor/getAlertTemplates.d.ts +23 -0
- package/cloudmonitor/getAlertTemplates.d.ts.map +1 -0
- package/cloudmonitor/getAlertTemplates.js +47 -0
- package/cloudmonitor/getAlertTemplates.js.map +1 -0
- package/cloudmonitor/getObjectGroup.d.ts +66 -0
- package/cloudmonitor/getObjectGroup.d.ts.map +1 -0
- package/cloudmonitor/getObjectGroup.js +51 -0
- package/cloudmonitor/getObjectGroup.js.map +1 -0
- package/cloudmonitor/getObjectGroups.d.ts +23 -0
- package/cloudmonitor/getObjectGroups.d.ts.map +1 -0
- package/cloudmonitor/getObjectGroups.js +47 -0
- package/cloudmonitor/getObjectGroups.js.map +1 -0
- package/cloudmonitor/index.d.ts +18 -0
- package/cloudmonitor/index.d.ts.map +1 -1
- package/cloudmonitor/index.js +23 -1
- package/cloudmonitor/index.js.map +1 -1
- package/cloudmonitor/objectGroup.d.ts +143 -0
- package/cloudmonitor/objectGroup.d.ts.map +1 -0
- package/cloudmonitor/objectGroup.js +124 -0
- package/cloudmonitor/objectGroup.js.map +1 -0
- package/ecs/getInstance.d.ts +1 -0
- package/ecs/getInstance.d.ts.map +1 -1
- package/ecs/getInstance.js.map +1 -1
- package/ecs/instance.d.ts +8 -0
- package/ecs/instance.d.ts.map +1 -1
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/hbase/instance.d.ts +0 -5
- package/hbase/instance.d.ts.map +1 -1
- package/hbase/instance.js +1 -1
- package/hbase/instance.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.d.ts.map +1 -1
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/mongodb/getInstance.d.ts +24 -0
- package/mongodb/getInstance.d.ts.map +1 -1
- package/mongodb/getInstance.js.map +1 -1
- package/mongodb/instance.d.ts +68 -0
- package/mongodb/instance.d.ts.map +1 -1
- package/mongodb/instance.js +12 -0
- package/mongodb/instance.js.map +1 -1
- package/package.json +1 -1
- package/rdsmssql/getInstance.d.ts +12 -0
- package/rdsmssql/getInstance.d.ts.map +1 -1
- package/rdsmssql/getInstance.js.map +1 -1
- package/rdsmssql/instance.d.ts +32 -0
- package/rdsmssql/instance.d.ts.map +1 -1
- package/rdsmssql/instance.js +6 -0
- package/rdsmssql/instance.js.map +1 -1
- package/rdspostgresql/getInstance.d.ts +4 -0
- package/rdspostgresql/getInstance.d.ts.map +1 -1
- package/rdspostgresql/getInstance.js.map +1 -1
- package/rdspostgresql/instance.d.ts +12 -0
- package/rdspostgresql/instance.d.ts.map +1 -1
- package/rdspostgresql/instance.js +2 -0
- package/rdspostgresql/instance.js.map +1 -1
- package/redis/getInstance.d.ts +4 -0
- package/redis/getInstance.d.ts.map +1 -1
- package/redis/getInstance.js.map +1 -1
- package/redis/instance.d.ts +12 -0
- package/redis/instance.d.ts.map +1 -1
- package/redis/instance.js +2 -0
- package/redis/instance.js.map +1 -1
- package/securitycenter/agent.d.ts +221 -0
- package/securitycenter/agent.d.ts.map +1 -0
- package/securitycenter/agent.js +131 -0
- package/securitycenter/agent.js.map +1 -0
- package/securitycenter/getAgent.d.ts +118 -0
- package/securitycenter/getAgent.d.ts.map +1 -0
- package/securitycenter/getAgent.js +51 -0
- package/securitycenter/getAgent.js.map +1 -0
- package/securitycenter/getAgents.d.ts +23 -0
- package/securitycenter/getAgents.d.ts.map +1 -0
- package/securitycenter/getAgents.js +47 -0
- package/securitycenter/getAgents.js.map +1 -0
- package/securitycenter/index.d.ts +10 -0
- package/securitycenter/index.d.ts.map +1 -0
- package/securitycenter/index.js +51 -0
- package/securitycenter/index.js.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts +23 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.d.ts.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.js +47 -0
- package/transitrouter/getTransitRouterForwardPolicyEntries.js.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts +77 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.d.ts.map +1 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.js +51 -0
- package/transitrouter/getTransitRouterForwardPolicyEntry.js.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.d.ts +73 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.d.ts.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.js +51 -0
- package/transitrouter/getTransitRouterRoutePolicyTable.js.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.d.ts +23 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.d.ts.map +1 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.js +47 -0
- package/transitrouter/getTransitRouterRoutePolicyTables.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.d.ts.map +1 -1
- package/transitrouter/index.js +24 -2
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterForwardPolicyEntry.d.ts +166 -0
- package/transitrouter/transitRouterForwardPolicyEntry.d.ts.map +1 -0
- package/transitrouter/transitRouterForwardPolicyEntry.js +127 -0
- package/transitrouter/transitRouterForwardPolicyEntry.js.map +1 -0
- package/transitrouter/transitRouterRoutePolicyTable.d.ts +148 -0
- package/transitrouter/transitRouterRoutePolicyTable.d.ts.map +1 -0
- package/transitrouter/transitRouterRoutePolicyTable.js +117 -0
- package/transitrouter/transitRouterRoutePolicyTable.js.map +1 -0
- package/types/input.d.ts +774 -81
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1594 -221
- package/types/output.d.ts.map +1 -1
- package/vke/getNodePool.d.ts +3 -3
- package/vke/getNodepoolScalingPolicies.d.ts +23 -0
- package/vke/getNodepoolScalingPolicies.d.ts.map +1 -0
- package/vke/getNodepoolScalingPolicies.js +47 -0
- package/vke/getNodepoolScalingPolicies.js.map +1 -0
- package/vke/getNodepoolScalingPolicy.d.ts +82 -0
- package/vke/getNodepoolScalingPolicy.d.ts.map +1 -0
- package/vke/getNodepoolScalingPolicy.js +51 -0
- package/vke/getNodepoolScalingPolicy.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.d.ts.map +1 -1
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/nodePool.d.ts +9 -9
- package/vke/nodepoolScalingPolicy.d.ts +191 -0
- package/vke/nodepoolScalingPolicy.d.ts.map +1 -0
- package/vke/nodepoolScalingPolicy.js +140 -0
- package/vke/nodepoolScalingPolicy.js.map +1 -0
- package/vpc/getIpamResourceDiscoveries.d.ts +23 -0
- package/vpc/getIpamResourceDiscoveries.d.ts.map +1 -0
- package/vpc/getIpamResourceDiscoveries.js +47 -0
- package/vpc/getIpamResourceDiscoveries.js.map +1 -0
- package/vpc/getIpamResourceDiscovery.d.ts +90 -0
- package/vpc/getIpamResourceDiscovery.d.ts.map +1 -0
- package/vpc/getIpamResourceDiscovery.js +51 -0
- package/vpc/getIpamResourceDiscovery.js.map +1 -0
- package/vpc/index.d.ts +9 -0
- package/vpc/index.d.ts.map +1 -1
- package/vpc/index.js +14 -3
- package/vpc/index.js.map +1 -1
- package/vpc/ipamResourceDiscovery.d.ts +194 -0
- package/vpc/ipamResourceDiscovery.d.ts.map +1 -0
- package/vpc/ipamResourceDiscovery.js +128 -0
- package/vpc/ipamResourceDiscovery.js.map +1 -0
- package/waf/botAnalyseProtectRule.d.ts +316 -0
- package/waf/botAnalyseProtectRule.d.ts.map +1 -0
- package/waf/botAnalyseProtectRule.js +171 -0
- package/waf/botAnalyseProtectRule.js.map +1 -0
- package/waf/customBot.d.ts +207 -0
- package/waf/customBot.d.ts.map +1 -0
- package/waf/customBot.js +150 -0
- package/waf/customBot.js.map +1 -0
- package/waf/getBotAnalyseProtectRule.d.ts +126 -0
- package/waf/getBotAnalyseProtectRule.d.ts.map +1 -0
- package/waf/getBotAnalyseProtectRule.js +51 -0
- package/waf/getBotAnalyseProtectRule.js.map +1 -0
- package/waf/getBotAnalyseProtectRules.d.ts +23 -0
- package/waf/getBotAnalyseProtectRules.d.ts.map +1 -0
- package/waf/getBotAnalyseProtectRules.js +47 -0
- package/waf/getBotAnalyseProtectRules.js.map +1 -0
- package/waf/getCustomBot.d.ts +86 -0
- package/waf/getCustomBot.d.ts.map +1 -0
- package/waf/getCustomBot.js +51 -0
- package/waf/getCustomBot.js.map +1 -0
- package/waf/getCustomBots.d.ts +23 -0
- package/waf/getCustomBots.d.ts.map +1 -0
- package/waf/getCustomBots.js +47 -0
- package/waf/getCustomBots.js.map +1 -0
- package/waf/index.d.ts +18 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +23 -1
- package/waf/index.js.map +1 -1
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Scaling policy for VKE node pool (ScalingPolicy), used to configure scheduled or scheduled instance elastic scaling strategies for node pools in the specified cluster.
|
|
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.vke.NodepoolScalingPolicy("example", {
|
|
14
|
+
* clusterId: "cluster_id-xxxx",
|
|
15
|
+
* nodePoolId: "node_pool_id-xxxxx",
|
|
16
|
+
* type: "Recurrence",
|
|
17
|
+
* adjustmentValue: 2,
|
|
18
|
+
* enabled: true,
|
|
19
|
+
* scheduledPolicy: {
|
|
20
|
+
* launch_time: "2026-09-19T00:00Z",
|
|
21
|
+
* recurrence_type: "Daily",
|
|
22
|
+
* recurrence_value: "1",
|
|
23
|
+
* recurrence_end_time: "2026-10-19T00:00Z",
|
|
24
|
+
* },
|
|
25
|
+
* scheduledInstancePolicy: {
|
|
26
|
+
* elastic_scheduled_instance_type: "Esi",
|
|
27
|
+
* start_delivery_time: "2026-09-19T04:00Z",
|
|
28
|
+
* end_delivery_time: "2026-09-19T04:10Z",
|
|
29
|
+
* best_effort: false,
|
|
30
|
+
* },
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ## Import
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import bytepluscc:vke/nodepoolScalingPolicy:NodepoolScalingPolicy example "scaling_policy_id|cluster_id|node_pool_id"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare class NodepoolScalingPolicy extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing NodepoolScalingPolicy resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NodepoolScalingPolicyState, opts?: pulumi.CustomResourceOptions): NodepoolScalingPolicy;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of NodepoolScalingPolicy. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj: any): obj is NodepoolScalingPolicy;
|
|
56
|
+
/**
|
|
57
|
+
* Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
|
|
58
|
+
*/
|
|
59
|
+
readonly adjustmentValue: pulumi.Output<number>;
|
|
60
|
+
/**
|
|
61
|
+
* Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
|
|
62
|
+
*/
|
|
63
|
+
readonly clusterId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
|
|
66
|
+
*/
|
|
67
|
+
readonly createClientToken: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
|
|
70
|
+
*/
|
|
71
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
72
|
+
/**
|
|
73
|
+
* Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
|
|
74
|
+
*/
|
|
75
|
+
readonly name: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Node pool ID. The node pool must be in {Running,[*]} status.
|
|
78
|
+
*/
|
|
79
|
+
readonly nodePoolId: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Elastic scheduled scaling rule ID.
|
|
82
|
+
*/
|
|
83
|
+
readonly scalingPolicyId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Elastic reservation scaling rule configuration.
|
|
86
|
+
*/
|
|
87
|
+
readonly scheduledInstancePolicy: pulumi.Output<outputs.vke.NodepoolScalingPolicyScheduledInstancePolicy>;
|
|
88
|
+
/**
|
|
89
|
+
* Scheduled task or recurring task configuration.
|
|
90
|
+
*/
|
|
91
|
+
readonly scheduledPolicy: pulumi.Output<outputs.vke.NodepoolScalingPolicyScheduledPolicy>;
|
|
92
|
+
/**
|
|
93
|
+
* Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
|
|
94
|
+
*/
|
|
95
|
+
readonly type: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
|
|
98
|
+
*/
|
|
99
|
+
readonly updateClientToken: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Create a NodepoolScalingPolicy resource with the given unique name, arguments, and options.
|
|
102
|
+
*
|
|
103
|
+
* @param name The _unique_ name of the resource.
|
|
104
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
105
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
106
|
+
*/
|
|
107
|
+
constructor(name: string, args: NodepoolScalingPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Input properties used for looking up and filtering NodepoolScalingPolicy resources.
|
|
111
|
+
*/
|
|
112
|
+
export interface NodepoolScalingPolicyState {
|
|
113
|
+
/**
|
|
114
|
+
* Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
|
|
115
|
+
*/
|
|
116
|
+
adjustmentValue?: pulumi.Input<number | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
|
|
119
|
+
*/
|
|
120
|
+
clusterId?: pulumi.Input<string | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* String used to ensure idempotency of the request during creation. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
|
|
123
|
+
*/
|
|
124
|
+
createClientToken?: pulumi.Input<string | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
|
|
127
|
+
*/
|
|
128
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* Name of the elastic scheduled scaling rule. Supports Chinese characters, English letters, numbers, underscores (_), and hyphens (-). Must start with a Chinese character or English letter, length 1~128 characters. Rule names must be unique within the same node pool; if not specified, the system will auto-generate a name in the format vke-{ClusterId}-{NodePoolId}.
|
|
131
|
+
*/
|
|
132
|
+
name?: pulumi.Input<string | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Node pool ID. The node pool must be in {Running,[*]} status.
|
|
135
|
+
*/
|
|
136
|
+
nodePoolId?: pulumi.Input<string | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* Elastic scheduled scaling rule ID.
|
|
139
|
+
*/
|
|
140
|
+
scalingPolicyId?: pulumi.Input<string | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* Elastic reservation scaling rule configuration.
|
|
143
|
+
*/
|
|
144
|
+
scheduledInstancePolicy?: pulumi.Input<inputs.vke.NodepoolScalingPolicyScheduledInstancePolicy | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* Scheduled task or recurring task configuration.
|
|
147
|
+
*/
|
|
148
|
+
scheduledPolicy?: pulumi.Input<inputs.vke.NodepoolScalingPolicyScheduledPolicy | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
|
|
151
|
+
*/
|
|
152
|
+
type?: pulumi.Input<string | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* String used to ensure idempotency of the request during update. Provided by the caller and must be unique across different requests. ClientToken is case-sensitive and must not exceed 64 ASCII characters.
|
|
155
|
+
*/
|
|
156
|
+
updateClientToken?: pulumi.Input<string | undefined>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The set of arguments for constructing a NodepoolScalingPolicy resource.
|
|
160
|
+
*/
|
|
161
|
+
export interface NodepoolScalingPolicyArgs {
|
|
162
|
+
/**
|
|
163
|
+
* Number of nodes to add during node pool elastic scaling. Integer, range: 1~500.
|
|
164
|
+
*/
|
|
165
|
+
adjustmentValue: pulumi.Input<number>;
|
|
166
|
+
/**
|
|
167
|
+
* Cluster ID. The cluster must be in {Running,[Ok]} or {Updating,[Progressing]} status.
|
|
168
|
+
*/
|
|
169
|
+
clusterId: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Whether to enable the elastic scheduled scaling rule. Valid values: true (enabled), false (default, disabled).
|
|
172
|
+
*/
|
|
173
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* Node pool ID. The node pool must be in {Running,[*]} status.
|
|
176
|
+
*/
|
|
177
|
+
nodePoolId: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Elastic reservation scaling rule configuration.
|
|
180
|
+
*/
|
|
181
|
+
scheduledInstancePolicy?: pulumi.Input<inputs.vke.NodepoolScalingPolicyScheduledInstancePolicy | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* Scheduled task or recurring task configuration.
|
|
184
|
+
*/
|
|
185
|
+
scheduledPolicy?: pulumi.Input<inputs.vke.NodepoolScalingPolicyScheduledPolicy | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* Type of elastic scheduled scaling rule. Valid values: Scheduled (scheduled task), Recurrence (recurring task).
|
|
188
|
+
*/
|
|
189
|
+
type: pulumi.Input<string>;
|
|
190
|
+
}
|
|
191
|
+
//# sourceMappingURL=nodepoolScalingPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodepoolScalingPolicy.d.ts","sourceRoot":"","sources":["../../vke/nodepoolScalingPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;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,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAgC,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxD;;OAEG;IACH,SAAgC,IAAI,EAAE,MAAM,CAAC,MAAM,C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+1,140 @@
|
|
|
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.NodepoolScalingPolicy = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Scaling policy for VKE node pool (ScalingPolicy), used to configure scheduled or scheduled instance elastic scaling strategies for node pools in the specified cluster.
|
|
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.vke.NodepoolScalingPolicy("example", {
|
|
41
|
+
* clusterId: "cluster_id-xxxx",
|
|
42
|
+
* nodePoolId: "node_pool_id-xxxxx",
|
|
43
|
+
* type: "Recurrence",
|
|
44
|
+
* adjustmentValue: 2,
|
|
45
|
+
* enabled: true,
|
|
46
|
+
* scheduledPolicy: {
|
|
47
|
+
* launch_time: "2026-09-19T00:00Z",
|
|
48
|
+
* recurrence_type: "Daily",
|
|
49
|
+
* recurrence_value: "1",
|
|
50
|
+
* recurrence_end_time: "2026-10-19T00:00Z",
|
|
51
|
+
* },
|
|
52
|
+
* scheduledInstancePolicy: {
|
|
53
|
+
* elastic_scheduled_instance_type: "Esi",
|
|
54
|
+
* start_delivery_time: "2026-09-19T04:00Z",
|
|
55
|
+
* end_delivery_time: "2026-09-19T04:10Z",
|
|
56
|
+
* best_effort: false,
|
|
57
|
+
* },
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* ## Import
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import bytepluscc:vke/nodepoolScalingPolicy:NodepoolScalingPolicy example "scaling_policy_id|cluster_id|node_pool_id"
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
class NodepoolScalingPolicy extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing NodepoolScalingPolicy resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new NodepoolScalingPolicy(name, state, { ...opts, id: id });
|
|
79
|
+
}
|
|
80
|
+
/** @internal */
|
|
81
|
+
static __pulumiType = 'bytepluscc:vke/nodepoolScalingPolicy:NodepoolScalingPolicy';
|
|
82
|
+
/**
|
|
83
|
+
* Returns true if the given object is an instance of NodepoolScalingPolicy. This is designed to work even
|
|
84
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
85
|
+
*/
|
|
86
|
+
static isInstance(obj) {
|
|
87
|
+
if (obj === undefined || obj === null) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
return obj['__pulumiType'] === NodepoolScalingPolicy.__pulumiType;
|
|
91
|
+
}
|
|
92
|
+
constructor(name, argsOrState, opts) {
|
|
93
|
+
let resourceInputs = {};
|
|
94
|
+
opts = opts || {};
|
|
95
|
+
if (opts.id) {
|
|
96
|
+
const state = argsOrState;
|
|
97
|
+
resourceInputs["adjustmentValue"] = state?.adjustmentValue;
|
|
98
|
+
resourceInputs["clusterId"] = state?.clusterId;
|
|
99
|
+
resourceInputs["createClientToken"] = state?.createClientToken;
|
|
100
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
101
|
+
resourceInputs["name"] = state?.name;
|
|
102
|
+
resourceInputs["nodePoolId"] = state?.nodePoolId;
|
|
103
|
+
resourceInputs["scalingPolicyId"] = state?.scalingPolicyId;
|
|
104
|
+
resourceInputs["scheduledInstancePolicy"] = state?.scheduledInstancePolicy;
|
|
105
|
+
resourceInputs["scheduledPolicy"] = state?.scheduledPolicy;
|
|
106
|
+
resourceInputs["type"] = state?.type;
|
|
107
|
+
resourceInputs["updateClientToken"] = state?.updateClientToken;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
const args = argsOrState;
|
|
111
|
+
if (args?.adjustmentValue === undefined && !opts.urn) {
|
|
112
|
+
throw new Error("Missing required property 'adjustmentValue'");
|
|
113
|
+
}
|
|
114
|
+
if (args?.clusterId === undefined && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'clusterId'");
|
|
116
|
+
}
|
|
117
|
+
if (args?.nodePoolId === undefined && !opts.urn) {
|
|
118
|
+
throw new Error("Missing required property 'nodePoolId'");
|
|
119
|
+
}
|
|
120
|
+
if (args?.type === undefined && !opts.urn) {
|
|
121
|
+
throw new Error("Missing required property 'type'");
|
|
122
|
+
}
|
|
123
|
+
resourceInputs["adjustmentValue"] = args?.adjustmentValue;
|
|
124
|
+
resourceInputs["clusterId"] = args?.clusterId;
|
|
125
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
126
|
+
resourceInputs["nodePoolId"] = args?.nodePoolId;
|
|
127
|
+
resourceInputs["scheduledInstancePolicy"] = args?.scheduledInstancePolicy;
|
|
128
|
+
resourceInputs["scheduledPolicy"] = args?.scheduledPolicy;
|
|
129
|
+
resourceInputs["type"] = args?.type;
|
|
130
|
+
resourceInputs["createClientToken"] = undefined /*out*/;
|
|
131
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
132
|
+
resourceInputs["scalingPolicyId"] = undefined /*out*/;
|
|
133
|
+
resourceInputs["updateClientToken"] = undefined /*out*/;
|
|
134
|
+
}
|
|
135
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
136
|
+
super(NodepoolScalingPolicy.__pulumiType, name, resourceInputs, opts);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.NodepoolScalingPolicy = NodepoolScalingPolicy;
|
|
140
|
+
//# sourceMappingURL=nodepoolScalingPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodepoolScalingPolicy.js","sourceRoot":"","sources":["../../vke/nodepoolScalingPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;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GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA7HL,sDA8HC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::VPC::IPAMResourceDiscovery
|
|
4
|
+
*/
|
|
5
|
+
export declare function getIpamResourceDiscoveries(opts?: pulumi.InvokeOptions): Promise<GetIpamResourceDiscoveriesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getIpamResourceDiscoveries.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetIpamResourceDiscoveriesResult {
|
|
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::VPC::IPAMResourceDiscovery
|
|
21
|
+
*/
|
|
22
|
+
export declare function getIpamResourceDiscoveriesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpamResourceDiscoveriesResult>;
|
|
23
|
+
//# sourceMappingURL=getIpamResourceDiscoveries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIpamResourceDiscoveries.d.ts","sourceRoot":"","sources":["../../vpc/getIpamResourceDiscoveries.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAIjH;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gCAAgC,CAAC,CAInI"}
|
|
@@ -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.getIpamResourceDiscoveriesOutput = exports.getIpamResourceDiscoveries = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::VPC::IPAMResourceDiscovery
|
|
33
|
+
*/
|
|
34
|
+
function getIpamResourceDiscoveries(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:vpc/getIpamResourceDiscoveries:getIpamResourceDiscoveries", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getIpamResourceDiscoveries = getIpamResourceDiscoveries;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::VPC::IPAMResourceDiscovery
|
|
41
|
+
*/
|
|
42
|
+
function getIpamResourceDiscoveriesOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:vpc/getIpamResourceDiscoveries:getIpamResourceDiscoveries", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getIpamResourceDiscoveriesOutput = getIpamResourceDiscoveriesOutput;
|
|
47
|
+
//# sourceMappingURL=getIpamResourceDiscoveries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIpamResourceDiscoveries.js","sourceRoot":"","sources":["../../vpc/getIpamResourceDiscoveries.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE,EACpG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC;AAeD;;GAEG;AACH,SAAgB,gCAAgC,CAAC,IAAiC;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sEAAsE,EAAE,EAC1G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4EAIC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::VPC::IPAMResourceDiscovery
|
|
5
|
+
*/
|
|
6
|
+
export declare function getIpamResourceDiscovery(args: GetIpamResourceDiscoveryArgs, opts?: pulumi.InvokeOptions): Promise<GetIpamResourceDiscoveryResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getIpamResourceDiscovery.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetIpamResourceDiscoveryArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getIpamResourceDiscovery.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetIpamResourceDiscoveryResult {
|
|
20
|
+
/**
|
|
21
|
+
* Account ID for IPAM resource discovery.
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* IPAM resource discovery creation time.
|
|
26
|
+
*/
|
|
27
|
+
readonly createTime: string;
|
|
28
|
+
/**
|
|
29
|
+
* IPAM resource discovery description.
|
|
30
|
+
*/
|
|
31
|
+
readonly description: string;
|
|
32
|
+
/**
|
|
33
|
+
* Uniquely identifies the resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly id: string;
|
|
36
|
+
/**
|
|
37
|
+
* IPAM resource discovery ID.
|
|
38
|
+
*/
|
|
39
|
+
readonly ipamResourceDiscoveryId: string;
|
|
40
|
+
/**
|
|
41
|
+
* IPAM resource discovery name.
|
|
42
|
+
*/
|
|
43
|
+
readonly ipamResourceDiscoveryName: string;
|
|
44
|
+
/**
|
|
45
|
+
* Region ID for IPAM resource discovery.
|
|
46
|
+
*/
|
|
47
|
+
readonly ipamResourceDiscoveryRegionId: string;
|
|
48
|
+
/**
|
|
49
|
+
* IPAM resource discovery type, such as system.
|
|
50
|
+
*/
|
|
51
|
+
readonly ipamResourceDiscoveryType: string;
|
|
52
|
+
/**
|
|
53
|
+
* Whether it is the default resource discovery.
|
|
54
|
+
*/
|
|
55
|
+
readonly isDefault: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* List of regions where IPAM resource discovery is effective.
|
|
58
|
+
*/
|
|
59
|
+
readonly operatingRegions: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Project name for IPAM resource discovery.
|
|
62
|
+
*/
|
|
63
|
+
readonly projectName: string;
|
|
64
|
+
/**
|
|
65
|
+
* IPAM resource discovery status, such as Available.
|
|
66
|
+
*/
|
|
67
|
+
readonly status: string;
|
|
68
|
+
/**
|
|
69
|
+
* Tag for IPAM resource discovery.
|
|
70
|
+
*/
|
|
71
|
+
readonly tags: outputs.vpc.GetIpamResourceDiscoveryTag[];
|
|
72
|
+
/**
|
|
73
|
+
* IPAM resource discovery update time.
|
|
74
|
+
*/
|
|
75
|
+
readonly updateTime: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Data Source schema for Byteplus::VPC::IPAMResourceDiscovery
|
|
79
|
+
*/
|
|
80
|
+
export declare function getIpamResourceDiscoveryOutput(args: GetIpamResourceDiscoveryOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpamResourceDiscoveryResult>;
|
|
81
|
+
/**
|
|
82
|
+
* A collection of arguments for invoking getIpamResourceDiscovery.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetIpamResourceDiscoveryOutputArgs {
|
|
85
|
+
/**
|
|
86
|
+
* Uniquely identifies the resource.
|
|
87
|
+
*/
|
|
88
|
+
id: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=getIpamResourceDiscovery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIpamResourceDiscovery.d.ts","sourceRoot":"","sources":["../../vpc/getIpamResourceDiscovery.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;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,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,6BAA6B,EAAE,MAAM,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,CAAC;IACzD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC/B;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.getIpamResourceDiscoveryOutput = exports.getIpamResourceDiscovery = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::VPC::IPAMResourceDiscovery
|
|
33
|
+
*/
|
|
34
|
+
function getIpamResourceDiscovery(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:vpc/getIpamResourceDiscovery:getIpamResourceDiscovery", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getIpamResourceDiscovery = getIpamResourceDiscovery;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::VPC::IPAMResourceDiscovery
|
|
43
|
+
*/
|
|
44
|
+
function getIpamResourceDiscoveryOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:vpc/getIpamResourceDiscovery:getIpamResourceDiscovery", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getIpamResourceDiscoveryOutput = getIpamResourceDiscoveryOutput;
|
|
51
|
+
//# sourceMappingURL=getIpamResourceDiscovery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIpamResourceDiscovery.js","sourceRoot":"","sources":["../../vpc/getIpamResourceDiscovery.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,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,kEAAkE,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4DAKC;AAyED;;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,kEAAkE,EAAE;QACnG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wEAKC"}
|
package/vpc/index.d.ts
CHANGED
|
@@ -61,6 +61,12 @@ export declare const getIpamPoolOutput: typeof import("./getIpamPool").getIpamPo
|
|
|
61
61
|
export { GetIpamPoolsResult } from "./getIpamPools";
|
|
62
62
|
export declare const getIpamPools: typeof import("./getIpamPools").getIpamPools;
|
|
63
63
|
export declare const getIpamPoolsOutput: typeof import("./getIpamPools").getIpamPoolsOutput;
|
|
64
|
+
export { GetIpamResourceDiscoveriesResult } from "./getIpamResourceDiscoveries";
|
|
65
|
+
export declare const getIpamResourceDiscoveries: typeof import("./getIpamResourceDiscoveries").getIpamResourceDiscoveries;
|
|
66
|
+
export declare const getIpamResourceDiscoveriesOutput: typeof import("./getIpamResourceDiscoveries").getIpamResourceDiscoveriesOutput;
|
|
67
|
+
export { GetIpamResourceDiscoveryArgs, GetIpamResourceDiscoveryResult, GetIpamResourceDiscoveryOutputArgs } from "./getIpamResourceDiscovery";
|
|
68
|
+
export declare const getIpamResourceDiscovery: typeof import("./getIpamResourceDiscovery").getIpamResourceDiscovery;
|
|
69
|
+
export declare const getIpamResourceDiscoveryOutput: typeof import("./getIpamResourceDiscovery").getIpamResourceDiscoveryOutput;
|
|
64
70
|
export { GetIpamScopeArgs, GetIpamScopeResult, GetIpamScopeOutputArgs } from "./getIpamScope";
|
|
65
71
|
export declare const getIpamScope: typeof import("./getIpamScope").getIpamScope;
|
|
66
72
|
export declare const getIpamScopeOutput: typeof import("./getIpamScope").getIpamScopeOutput;
|
|
@@ -163,6 +169,9 @@ export declare const Ipam: typeof import("./ipam").Ipam;
|
|
|
163
169
|
export { IpamPoolArgs, IpamPoolState } from "./ipamPool";
|
|
164
170
|
export type IpamPool = import("./ipamPool").IpamPool;
|
|
165
171
|
export declare const IpamPool: typeof import("./ipamPool").IpamPool;
|
|
172
|
+
export { IpamResourceDiscoveryArgs, IpamResourceDiscoveryState } from "./ipamResourceDiscovery";
|
|
173
|
+
export type IpamResourceDiscovery = import("./ipamResourceDiscovery").IpamResourceDiscovery;
|
|
174
|
+
export declare const IpamResourceDiscovery: typeof import("./ipamResourceDiscovery").IpamResourceDiscovery;
|
|
166
175
|
export { IpamScopeArgs, IpamScopeState } from "./ipamScope";
|
|
167
176
|
export type IpamScope = import("./ipamScope").IpamScope;
|
|
168
177
|
export declare const IpamScope: typeof import("./ipamScope").IpamScope;
|