@volcengine/pulumi-volcenginecc 0.0.42 → 0.0.43
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/dns/backup.d.ts +90 -0
- package/dns/backup.js +76 -0
- package/dns/backup.js.map +1 -0
- package/dns/getBackup.d.ts +52 -0
- package/dns/getBackup.js +28 -0
- package/dns/getBackup.js.map +1 -0
- package/dns/getBackups.d.ts +22 -0
- package/dns/getBackups.js +24 -0
- package/dns/getBackups.js.map +1 -0
- package/dns/index.d.ts +9 -0
- package/dns/index.js +12 -1
- package/dns/index.js.map +1 -1
- package/iam/allowedIpAddress.d.ts +107 -0
- package/iam/allowedIpAddress.js +95 -0
- package/iam/allowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddress.d.ts +53 -0
- package/iam/getAllowedIpAddress.js +28 -0
- package/iam/getAllowedIpAddress.js.map +1 -0
- package/iam/getAllowedIpAddresses.d.ts +22 -0
- package/iam/getAllowedIpAddresses.js +24 -0
- package/iam/getAllowedIpAddresses.js.map +1 -0
- package/iam/index.d.ts +9 -0
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/mongodb/endpoint.d.ts +175 -0
- package/mongodb/endpoint.js +97 -0
- package/mongodb/endpoint.js.map +1 -0
- package/mongodb/getEndpoint.d.ts +39 -0
- package/mongodb/getEndpoint.js +28 -0
- package/mongodb/getEndpoint.js.map +1 -0
- package/mongodb/getEndpoints.d.ts +22 -0
- package/mongodb/getEndpoints.js +24 -0
- package/mongodb/getEndpoints.js.map +1 -0
- package/mongodb/index.d.ts +9 -0
- package/mongodb/index.js +12 -1
- package/mongodb/index.js.map +1 -1
- package/package.json +1 -1
- package/privatelink/gatewayEndpoint.d.ts +182 -0
- package/privatelink/gatewayEndpoint.js +106 -0
- package/privatelink/gatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoint.d.ts +85 -0
- package/privatelink/getGatewayEndpoint.js +28 -0
- package/privatelink/getGatewayEndpoint.js.map +1 -0
- package/privatelink/getGatewayEndpoints.d.ts +22 -0
- package/privatelink/getGatewayEndpoints.js +24 -0
- package/privatelink/getGatewayEndpoints.js.map +1 -0
- package/privatelink/index.d.ts +9 -0
- package/privatelink/index.js +12 -1
- package/privatelink/index.js.map +1 -1
- package/rdsmssql/backup.d.ts +148 -0
- package/rdsmssql/backup.js +85 -0
- package/rdsmssql/backup.js.map +1 -0
- package/rdsmssql/getBackup.d.ts +89 -0
- package/rdsmssql/getBackup.js +28 -0
- package/rdsmssql/getBackup.js.map +1 -0
- package/rdsmssql/getBackups.d.ts +22 -0
- package/rdsmssql/getBackups.js +24 -0
- package/rdsmssql/getBackups.js.map +1 -0
- package/rdsmssql/index.d.ts +9 -0
- package/rdsmssql/index.js +12 -1
- package/rdsmssql/index.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +24 -0
- package/rdspostgresql/allowList.js +4 -0
- package/rdspostgresql/allowList.js.map +1 -1
- package/rdspostgresql/getAllowList.d.ts +8 -0
- package/rdspostgresql/getAllowList.js.map +1 -1
- package/rdspostgresql/getInstanceSsl.d.ts +68 -0
- package/rdspostgresql/getInstanceSsl.js +28 -0
- package/rdspostgresql/getInstanceSsl.js.map +1 -0
- package/rdspostgresql/getInstanceSsls.d.ts +22 -0
- package/rdspostgresql/getInstanceSsls.js +24 -0
- package/rdspostgresql/getInstanceSsls.js.map +1 -0
- package/rdspostgresql/index.d.ts +9 -0
- package/rdspostgresql/index.js +12 -1
- package/rdspostgresql/index.js.map +1 -1
- package/rdspostgresql/instanceSsl.d.ts +134 -0
- package/rdspostgresql/instanceSsl.js +88 -0
- package/rdspostgresql/instanceSsl.js.map +1 -0
- package/redis/allowList.d.ts +2 -2
- package/redis/allowList.js +3 -0
- package/redis/allowList.js.map +1 -1
- package/storageebs/getSnapshotPolicies.d.ts +22 -0
- package/storageebs/getSnapshotPolicies.js +24 -0
- package/storageebs/getSnapshotPolicies.js.map +1 -0
- package/storageebs/getSnapshotPolicy.d.ts +93 -0
- package/storageebs/getSnapshotPolicy.js +28 -0
- package/storageebs/getSnapshotPolicy.js.map +1 -0
- package/storageebs/index.d.ts +9 -0
- package/storageebs/index.js +12 -1
- package/storageebs/index.js.map +1 -1
- package/storageebs/snapshotPolicy.d.ts +215 -0
- package/storageebs/snapshotPolicy.js +122 -0
- package/storageebs/snapshotPolicy.js.map +1 -0
- package/transitrouter/directConnectGatewayAttachment.d.ts +180 -0
- package/transitrouter/directConnectGatewayAttachment.js +106 -0
- package/transitrouter/directConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachment.d.ts +89 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js +28 -0
- package/transitrouter/getDirectConnectGatewayAttachment.js.map +1 -0
- package/transitrouter/getDirectConnectGatewayAttachments.d.ts +22 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js +24 -0
- package/transitrouter/getDirectConnectGatewayAttachments.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackage.d.ts +141 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js +28 -0
- package/transitrouter/getTransitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/getTransitRouterBandwidthPackages.d.ts +22 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js +24 -0
- package/transitrouter/getTransitRouterBandwidthPackages.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.d.ts +48 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js +28 -0
- package/transitrouter/getTransitRouterRouteTableAssociation.js.map +1 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.d.ts +22 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js +24 -0
- package/transitrouter/getTransitRouterRouteTableAssociations.js.map +1 -0
- package/transitrouter/index.d.ts +27 -0
- package/transitrouter/index.js +34 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/transitRouterBandwidthPackage.d.ts +320 -0
- package/transitrouter/transitRouterBandwidthPackage.js +138 -0
- package/transitrouter/transitRouterBandwidthPackage.js.map +1 -0
- package/transitrouter/transitRouterRouteTableAssociation.d.ts +89 -0
- package/transitrouter/transitRouterRouteTableAssociation.js +80 -0
- package/transitrouter/transitRouterRouteTableAssociation.js.map +1 -0
- package/types/input.d.ts +167 -0
- package/types/output.d.ts +338 -0
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Transit router bandwidth package resources.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
12
|
+
*
|
|
13
|
+
* const transitRouterBandwidthPackageDemo = new volcenginecc.transitrouter.TransitRouterBandwidthPackage("TransitRouterBandwidthPackageDemo", {
|
|
14
|
+
* bandwidth: 3,
|
|
15
|
+
* billingType: 1,
|
|
16
|
+
* description: "test",
|
|
17
|
+
* lineOperator: "",
|
|
18
|
+
* localGeographicRegionSetId: "China",
|
|
19
|
+
* peerGeographicRegionSetId: "China",
|
|
20
|
+
* period: 1,
|
|
21
|
+
* periodUnit: "Month",
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* tags: [{
|
|
24
|
+
* key: "env",
|
|
25
|
+
* value: "test",
|
|
26
|
+
* }],
|
|
27
|
+
* transitRouterBandwidthPackageName: "ccapi-test",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import volcenginecc:transitrouter/transitRouterBandwidthPackage:TransitRouterBandwidthPackage example "transit_router_bandwidth_package_id"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class TransitRouterBandwidthPackage extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing TransitRouterBandwidthPackage resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TransitRouterBandwidthPackageState, opts?: pulumi.CustomResourceOptions): TransitRouterBandwidthPackage;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of TransitRouterBandwidthPackage. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is TransitRouterBandwidthPackage;
|
|
53
|
+
/**
|
|
54
|
+
* Account ID to which the bandwidth package belongs.
|
|
55
|
+
*/
|
|
56
|
+
readonly accountId: pulumi.Output<string>;
|
|
57
|
+
readonly allocations: pulumi.Output<outputs.transitrouter.TransitRouterBandwidthPackageAllocation[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Bandwidth peak of the transit router bandwidth package, in Mbps.
|
|
60
|
+
*/
|
|
61
|
+
readonly bandwidth: pulumi.Output<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
|
|
64
|
+
*/
|
|
65
|
+
readonly billingStatus: pulumi.Output<number>;
|
|
66
|
+
/**
|
|
67
|
+
* Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
|
|
68
|
+
*/
|
|
69
|
+
readonly billingType: pulumi.Output<number>;
|
|
70
|
+
/**
|
|
71
|
+
* Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
|
|
72
|
+
*/
|
|
73
|
+
readonly businessStatus: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Creation time of the transit router bandwidth package.
|
|
76
|
+
*/
|
|
77
|
+
readonly creationTime: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Deletion time of the transit router bandwidth package.
|
|
80
|
+
*/
|
|
81
|
+
readonly deletedTime: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Description of the transit router bandwidth package.
|
|
84
|
+
*/
|
|
85
|
+
readonly description: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Expiration time of the transit router bandwidth package.
|
|
88
|
+
*/
|
|
89
|
+
readonly expiredTime: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
|
|
92
|
+
*/
|
|
93
|
+
readonly lineOperator: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
|
|
96
|
+
*/
|
|
97
|
+
readonly localGeographicRegionSetId: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
|
|
100
|
+
*/
|
|
101
|
+
readonly peerGeographicRegionSetId: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Purchase duration of the transit router bandwidth package.
|
|
104
|
+
*/
|
|
105
|
+
readonly period: pulumi.Output<number>;
|
|
106
|
+
/**
|
|
107
|
+
* Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
|
|
108
|
+
*/
|
|
109
|
+
readonly periodUnit: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Name of the project to which the transit router bandwidth package belongs.
|
|
112
|
+
*/
|
|
113
|
+
readonly projectName: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
|
|
116
|
+
*/
|
|
117
|
+
readonly reclaimTime: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
|
|
120
|
+
*/
|
|
121
|
+
readonly remainRenewTimes: pulumi.Output<number>;
|
|
122
|
+
/**
|
|
123
|
+
* Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
|
|
124
|
+
*/
|
|
125
|
+
readonly remainingBandwidth: pulumi.Output<number>;
|
|
126
|
+
/**
|
|
127
|
+
* Duration of each auto-renewal, in months.
|
|
128
|
+
*/
|
|
129
|
+
readonly renewPeriod: pulumi.Output<number>;
|
|
130
|
+
/**
|
|
131
|
+
* Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
|
|
132
|
+
*/
|
|
133
|
+
readonly renewType: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
|
|
136
|
+
*/
|
|
137
|
+
readonly status: pulumi.Output<string>;
|
|
138
|
+
readonly tags: pulumi.Output<outputs.transitrouter.TransitRouterBandwidthPackageTag[]>;
|
|
139
|
+
/**
|
|
140
|
+
* Transit router bandwidth package ID.
|
|
141
|
+
*/
|
|
142
|
+
readonly transitRouterBandwidthPackageId: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Name of the transit router bandwidth package.
|
|
145
|
+
*/
|
|
146
|
+
readonly transitRouterBandwidthPackageName: pulumi.Output<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Last operation time of the transit router bandwidth package.
|
|
149
|
+
*/
|
|
150
|
+
readonly updateTime: pulumi.Output<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Create a TransitRouterBandwidthPackage resource with the given unique name, arguments, and options.
|
|
153
|
+
*
|
|
154
|
+
* @param name The _unique_ name of the resource.
|
|
155
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
156
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
157
|
+
*/
|
|
158
|
+
constructor(name: string, args: TransitRouterBandwidthPackageArgs, opts?: pulumi.CustomResourceOptions);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Input properties used for looking up and filtering TransitRouterBandwidthPackage resources.
|
|
162
|
+
*/
|
|
163
|
+
export interface TransitRouterBandwidthPackageState {
|
|
164
|
+
/**
|
|
165
|
+
* Account ID to which the bandwidth package belongs.
|
|
166
|
+
*/
|
|
167
|
+
accountId?: pulumi.Input<string>;
|
|
168
|
+
allocations?: pulumi.Input<pulumi.Input<inputs.transitrouter.TransitRouterBandwidthPackageAllocation>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* Bandwidth peak of the transit router bandwidth package, in Mbps.
|
|
171
|
+
*/
|
|
172
|
+
bandwidth?: pulumi.Input<number>;
|
|
173
|
+
/**
|
|
174
|
+
* Billing status of the transit router bandwidth package. 0: creating. 1: running. 3: unsubscribed. 4: expired and stopped. 5: expired and recycled. 8: unsubscribed and stopped.
|
|
175
|
+
*/
|
|
176
|
+
billingStatus?: pulumi.Input<number>;
|
|
177
|
+
/**
|
|
178
|
+
* Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
|
|
179
|
+
*/
|
|
180
|
+
billingType?: pulumi.Input<number>;
|
|
181
|
+
/**
|
|
182
|
+
* Business status of the transit router bandwidth package. Normal: normal. FinancialLocked: frozen.
|
|
183
|
+
*/
|
|
184
|
+
businessStatus?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Creation time of the transit router bandwidth package.
|
|
187
|
+
*/
|
|
188
|
+
creationTime?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Deletion time of the transit router bandwidth package.
|
|
191
|
+
*/
|
|
192
|
+
deletedTime?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Description of the transit router bandwidth package.
|
|
195
|
+
*/
|
|
196
|
+
description?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Expiration time of the transit router bandwidth package.
|
|
199
|
+
*/
|
|
200
|
+
expiredTime?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
|
|
203
|
+
*/
|
|
204
|
+
lineOperator?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
|
|
207
|
+
*/
|
|
208
|
+
localGeographicRegionSetId?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
|
|
211
|
+
*/
|
|
212
|
+
peerGeographicRegionSetId?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Purchase duration of the transit router bandwidth package.
|
|
215
|
+
*/
|
|
216
|
+
period?: pulumi.Input<number>;
|
|
217
|
+
/**
|
|
218
|
+
* Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
|
|
219
|
+
*/
|
|
220
|
+
periodUnit?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* Name of the project to which the transit router bandwidth package belongs.
|
|
223
|
+
*/
|
|
224
|
+
projectName?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Recycle time after the transit router bandwidth package expires. Returned when BillingType is 1.
|
|
227
|
+
*/
|
|
228
|
+
reclaimTime?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
|
|
231
|
+
*/
|
|
232
|
+
remainRenewTimes?: pulumi.Input<number>;
|
|
233
|
+
/**
|
|
234
|
+
* Remaining unallocated bandwidth of the transit router bandwidth package, in Mbps.
|
|
235
|
+
*/
|
|
236
|
+
remainingBandwidth?: pulumi.Input<number>;
|
|
237
|
+
/**
|
|
238
|
+
* Duration of each auto-renewal, in months.
|
|
239
|
+
*/
|
|
240
|
+
renewPeriod?: pulumi.Input<number>;
|
|
241
|
+
/**
|
|
242
|
+
* Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
|
|
243
|
+
*/
|
|
244
|
+
renewType?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* Status of the transit router bandwidth package. Creating: creating. Deleting: deleting. Pending: configuring. Available: available.
|
|
247
|
+
*/
|
|
248
|
+
status?: pulumi.Input<string>;
|
|
249
|
+
tags?: pulumi.Input<pulumi.Input<inputs.transitrouter.TransitRouterBandwidthPackageTag>[]>;
|
|
250
|
+
/**
|
|
251
|
+
* Transit router bandwidth package ID.
|
|
252
|
+
*/
|
|
253
|
+
transitRouterBandwidthPackageId?: pulumi.Input<string>;
|
|
254
|
+
/**
|
|
255
|
+
* Name of the transit router bandwidth package.
|
|
256
|
+
*/
|
|
257
|
+
transitRouterBandwidthPackageName?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* Last operation time of the transit router bandwidth package.
|
|
260
|
+
*/
|
|
261
|
+
updateTime?: pulumi.Input<string>;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* The set of arguments for constructing a TransitRouterBandwidthPackage resource.
|
|
265
|
+
*/
|
|
266
|
+
export interface TransitRouterBandwidthPackageArgs {
|
|
267
|
+
/**
|
|
268
|
+
* Bandwidth peak of the transit router bandwidth package, in Mbps.
|
|
269
|
+
*/
|
|
270
|
+
bandwidth?: pulumi.Input<number>;
|
|
271
|
+
/**
|
|
272
|
+
* Billing method of the transit router bandwidth package. 1: subscription (yearly/monthly).
|
|
273
|
+
*/
|
|
274
|
+
billingType?: pulumi.Input<number>;
|
|
275
|
+
/**
|
|
276
|
+
* Description of the transit router bandwidth package.
|
|
277
|
+
*/
|
|
278
|
+
description?: pulumi.Input<string>;
|
|
279
|
+
/**
|
|
280
|
+
* Carrier for cross-border bandwidth package. ChinaUnicom: China Unicom ChinaTelecom: China Telecom
|
|
281
|
+
*/
|
|
282
|
+
lineOperator?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* Local geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland Asia: Asia-Pacific
|
|
285
|
+
*/
|
|
286
|
+
localGeographicRegionSetId: pulumi.Input<string>;
|
|
287
|
+
/**
|
|
288
|
+
* Peer geographic region ID for transit router bandwidth package interconnection. China: Chinese mainland. Asia: Asia-Pacific.
|
|
289
|
+
*/
|
|
290
|
+
peerGeographicRegionSetId: pulumi.Input<string>;
|
|
291
|
+
/**
|
|
292
|
+
* Purchase duration of the transit router bandwidth package.
|
|
293
|
+
*/
|
|
294
|
+
period?: pulumi.Input<number>;
|
|
295
|
+
/**
|
|
296
|
+
* Billing cycle of the transit router bandwidth package. Month: billed monthly. Year: billed yearly.
|
|
297
|
+
*/
|
|
298
|
+
periodUnit?: pulumi.Input<string>;
|
|
299
|
+
/**
|
|
300
|
+
* Name of the project to which the transit router bandwidth package belongs.
|
|
301
|
+
*/
|
|
302
|
+
projectName?: pulumi.Input<string>;
|
|
303
|
+
/**
|
|
304
|
+
* Number of auto-renewals. Value can be -1 or 1–100. Default is -1, which means unlimited auto-renewals.
|
|
305
|
+
*/
|
|
306
|
+
remainRenewTimes?: pulumi.Input<number>;
|
|
307
|
+
/**
|
|
308
|
+
* Duration of each auto-renewal, in months.
|
|
309
|
+
*/
|
|
310
|
+
renewPeriod?: pulumi.Input<number>;
|
|
311
|
+
/**
|
|
312
|
+
* Renewal type for transit router bandwidth package. Manual: Manual renewal Auto: Automatic renewal NoRenew: Do not renew
|
|
313
|
+
*/
|
|
314
|
+
renewType?: pulumi.Input<string>;
|
|
315
|
+
tags?: pulumi.Input<pulumi.Input<inputs.transitrouter.TransitRouterBandwidthPackageTag>[]>;
|
|
316
|
+
/**
|
|
317
|
+
* Name of the transit router bandwidth package.
|
|
318
|
+
*/
|
|
319
|
+
transitRouterBandwidthPackageName?: pulumi.Input<string>;
|
|
320
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TransitRouterBandwidthPackage = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Transit router bandwidth package resources.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const transitRouterBandwidthPackageDemo = new volcenginecc.transitrouter.TransitRouterBandwidthPackage("TransitRouterBandwidthPackageDemo", {
|
|
18
|
+
* bandwidth: 3,
|
|
19
|
+
* billingType: 1,
|
|
20
|
+
* description: "test",
|
|
21
|
+
* lineOperator: "",
|
|
22
|
+
* localGeographicRegionSetId: "China",
|
|
23
|
+
* peerGeographicRegionSetId: "China",
|
|
24
|
+
* period: 1,
|
|
25
|
+
* periodUnit: "Month",
|
|
26
|
+
* projectName: "default",
|
|
27
|
+
* tags: [{
|
|
28
|
+
* key: "env",
|
|
29
|
+
* value: "test",
|
|
30
|
+
* }],
|
|
31
|
+
* transitRouterBandwidthPackageName: "ccapi-test",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcenginecc:transitrouter/transitRouterBandwidthPackage:TransitRouterBandwidthPackage example "transit_router_bandwidth_package_id"
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class TransitRouterBandwidthPackage extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing TransitRouterBandwidthPackage resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new TransitRouterBandwidthPackage(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of TransitRouterBandwidthPackage. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === TransitRouterBandwidthPackage.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
70
|
+
resourceInputs["allocations"] = state ? state.allocations : undefined;
|
|
71
|
+
resourceInputs["bandwidth"] = state ? state.bandwidth : undefined;
|
|
72
|
+
resourceInputs["billingStatus"] = state ? state.billingStatus : undefined;
|
|
73
|
+
resourceInputs["billingType"] = state ? state.billingType : undefined;
|
|
74
|
+
resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
|
|
75
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
76
|
+
resourceInputs["deletedTime"] = state ? state.deletedTime : undefined;
|
|
77
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
78
|
+
resourceInputs["expiredTime"] = state ? state.expiredTime : undefined;
|
|
79
|
+
resourceInputs["lineOperator"] = state ? state.lineOperator : undefined;
|
|
80
|
+
resourceInputs["localGeographicRegionSetId"] = state ? state.localGeographicRegionSetId : undefined;
|
|
81
|
+
resourceInputs["peerGeographicRegionSetId"] = state ? state.peerGeographicRegionSetId : undefined;
|
|
82
|
+
resourceInputs["period"] = state ? state.period : undefined;
|
|
83
|
+
resourceInputs["periodUnit"] = state ? state.periodUnit : undefined;
|
|
84
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
85
|
+
resourceInputs["reclaimTime"] = state ? state.reclaimTime : undefined;
|
|
86
|
+
resourceInputs["remainRenewTimes"] = state ? state.remainRenewTimes : undefined;
|
|
87
|
+
resourceInputs["remainingBandwidth"] = state ? state.remainingBandwidth : undefined;
|
|
88
|
+
resourceInputs["renewPeriod"] = state ? state.renewPeriod : undefined;
|
|
89
|
+
resourceInputs["renewType"] = state ? state.renewType : undefined;
|
|
90
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
91
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
92
|
+
resourceInputs["transitRouterBandwidthPackageId"] = state ? state.transitRouterBandwidthPackageId : undefined;
|
|
93
|
+
resourceInputs["transitRouterBandwidthPackageName"] = state ? state.transitRouterBandwidthPackageName : undefined;
|
|
94
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
const args = argsOrState;
|
|
98
|
+
if ((!args || args.localGeographicRegionSetId === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'localGeographicRegionSetId'");
|
|
100
|
+
}
|
|
101
|
+
if ((!args || args.peerGeographicRegionSetId === undefined) && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'peerGeographicRegionSetId'");
|
|
103
|
+
}
|
|
104
|
+
resourceInputs["bandwidth"] = args ? args.bandwidth : undefined;
|
|
105
|
+
resourceInputs["billingType"] = args ? args.billingType : undefined;
|
|
106
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
107
|
+
resourceInputs["lineOperator"] = args ? args.lineOperator : undefined;
|
|
108
|
+
resourceInputs["localGeographicRegionSetId"] = args ? args.localGeographicRegionSetId : undefined;
|
|
109
|
+
resourceInputs["peerGeographicRegionSetId"] = args ? args.peerGeographicRegionSetId : undefined;
|
|
110
|
+
resourceInputs["period"] = args ? args.period : undefined;
|
|
111
|
+
resourceInputs["periodUnit"] = args ? args.periodUnit : undefined;
|
|
112
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
113
|
+
resourceInputs["remainRenewTimes"] = args ? args.remainRenewTimes : undefined;
|
|
114
|
+
resourceInputs["renewPeriod"] = args ? args.renewPeriod : undefined;
|
|
115
|
+
resourceInputs["renewType"] = args ? args.renewType : undefined;
|
|
116
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
117
|
+
resourceInputs["transitRouterBandwidthPackageName"] = args ? args.transitRouterBandwidthPackageName : undefined;
|
|
118
|
+
resourceInputs["accountId"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["allocations"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["billingStatus"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["businessStatus"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["deletedTime"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["expiredTime"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["reclaimTime"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["remainingBandwidth"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["transitRouterBandwidthPackageId"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
130
|
+
}
|
|
131
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
132
|
+
super(TransitRouterBandwidthPackage.__pulumiType, name, resourceInputs, opts);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.TransitRouterBandwidthPackage = TransitRouterBandwidthPackage;
|
|
136
|
+
/** @internal */
|
|
137
|
+
TransitRouterBandwidthPackage.__pulumiType = 'volcenginecc:transitrouter/transitRouterBandwidthPackage:TransitRouterBandwidthPackage';
|
|
138
|
+
//# sourceMappingURL=transitRouterBandwidthPackage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transitRouterBandwidthPackage.js","sourceRoot":"","sources":["../../transitrouter/transitRouterBandwidthPackage.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpF,CAAC;IAKD;;;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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IA6GD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAA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cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,iCAAiC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AA3ML,sEA4MC;AA9LG,gBAAgB;AACO,0CAAY,GAAG,wFAAwF,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Forwarding association of the transit router route table.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
10
|
+
*
|
|
11
|
+
* const transitRouterRouteTableAssociationDemo = new volcenginecc.transitrouter.TransitRouterRouteTableAssociation("TransitRouterRouteTableAssociationDemo", {
|
|
12
|
+
* transitRouterAttachmentId: "tr-attach-mjoxz9mx5ji85***",
|
|
13
|
+
* transitRouterRouteTableId: "tr-rtb-mjoxx4ofrt345sm****",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import volcenginecc:transitrouter/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation example "transit_router_route_table_id|transit_router_attachment_id"
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare class TransitRouterRouteTableAssociation extends pulumi.CustomResource {
|
|
24
|
+
/**
|
|
25
|
+
* Get an existing TransitRouterRouteTableAssociation resource's state with the given name, ID, and optional extra
|
|
26
|
+
* properties used to qualify the lookup.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resulting resource.
|
|
29
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
30
|
+
* @param state Any extra arguments used during the lookup.
|
|
31
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
|
+
*/
|
|
33
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TransitRouterRouteTableAssociationState, opts?: pulumi.CustomResourceOptions): TransitRouterRouteTableAssociation;
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if the given object is an instance of TransitRouterRouteTableAssociation. This is designed to work even
|
|
36
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
37
|
+
*/
|
|
38
|
+
static isInstance(obj: any): obj is TransitRouterRouteTableAssociation;
|
|
39
|
+
/**
|
|
40
|
+
* Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
|
|
41
|
+
*/
|
|
42
|
+
readonly status: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* ID of the network instance connection.
|
|
45
|
+
*/
|
|
46
|
+
readonly transitRouterAttachmentId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* ID of the route table associated with the transit router instance.
|
|
49
|
+
*/
|
|
50
|
+
readonly transitRouterRouteTableId: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Create a TransitRouterRouteTableAssociation resource with the given unique name, arguments, and options.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resource.
|
|
55
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
56
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
57
|
+
*/
|
|
58
|
+
constructor(name: string, args: TransitRouterRouteTableAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Input properties used for looking up and filtering TransitRouterRouteTableAssociation resources.
|
|
62
|
+
*/
|
|
63
|
+
export interface TransitRouterRouteTableAssociationState {
|
|
64
|
+
/**
|
|
65
|
+
* Status of the forwarding association. Available: Available. Creating: Creating. Configuring: Being configured. Deleting: Deleting.
|
|
66
|
+
*/
|
|
67
|
+
status?: pulumi.Input<string>;
|
|
68
|
+
/**
|
|
69
|
+
* ID of the network instance connection.
|
|
70
|
+
*/
|
|
71
|
+
transitRouterAttachmentId?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* ID of the route table associated with the transit router instance.
|
|
74
|
+
*/
|
|
75
|
+
transitRouterRouteTableId?: pulumi.Input<string>;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The set of arguments for constructing a TransitRouterRouteTableAssociation resource.
|
|
79
|
+
*/
|
|
80
|
+
export interface TransitRouterRouteTableAssociationArgs {
|
|
81
|
+
/**
|
|
82
|
+
* ID of the network instance connection.
|
|
83
|
+
*/
|
|
84
|
+
transitRouterAttachmentId: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* ID of the route table associated with the transit router instance.
|
|
87
|
+
*/
|
|
88
|
+
transitRouterRouteTableId: pulumi.Input<string>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TransitRouterRouteTableAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Forwarding association of the transit router route table.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
|
|
16
|
+
*
|
|
17
|
+
* const transitRouterRouteTableAssociationDemo = new volcenginecc.transitrouter.TransitRouterRouteTableAssociation("TransitRouterRouteTableAssociationDemo", {
|
|
18
|
+
* transitRouterAttachmentId: "tr-attach-mjoxz9mx5ji85***",
|
|
19
|
+
* transitRouterRouteTableId: "tr-rtb-mjoxx4ofrt345sm****",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import volcenginecc:transitrouter/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation example "transit_router_route_table_id|transit_router_attachment_id"
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class TransitRouterRouteTableAssociation extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing TransitRouterRouteTableAssociation resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name, id, state, opts) {
|
|
40
|
+
return new TransitRouterRouteTableAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of TransitRouterRouteTableAssociation. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === TransitRouterRouteTableAssociation.__pulumiType;
|
|
51
|
+
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
58
|
+
resourceInputs["transitRouterAttachmentId"] = state ? state.transitRouterAttachmentId : undefined;
|
|
59
|
+
resourceInputs["transitRouterRouteTableId"] = state ? state.transitRouterRouteTableId : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.transitRouterAttachmentId === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'transitRouterAttachmentId'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.transitRouterRouteTableId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'transitRouterRouteTableId'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["transitRouterAttachmentId"] = args ? args.transitRouterAttachmentId : undefined;
|
|
70
|
+
resourceInputs["transitRouterRouteTableId"] = args ? args.transitRouterRouteTableId : undefined;
|
|
71
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(TransitRouterRouteTableAssociation.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.TransitRouterRouteTableAssociation = TransitRouterRouteTableAssociation;
|
|
78
|
+
/** @internal */
|
|
79
|
+
TransitRouterRouteTableAssociation.__pulumiType = 'volcenginecc:transitrouter/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation';
|
|
80
|
+
//# sourceMappingURL=transitRouterRouteTableAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transitRouterRouteTableAssociation.js","sourceRoot":"","sources":["../../transitrouter/transitRouterRouteTableAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzF,CAAC;IAKD;;;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,kCAAkC,CAAC,YAAY,CAAC;IACnF,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA8F,EAAE,IAAmC;QACzJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IA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