@volcengine/pulumi 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autoscaling/scalingConfiguration.d.ts +1 -1
- package/cen/bandwidthPackage.d.ts +1 -1
- package/cen/cen.d.ts +1 -1
- package/ecs/state.d.ts +3 -0
- package/ecs/state.js.map +1 -1
- package/nat/snatEntries.d.ts +4 -4
- package/nat/snatEntries.js +4 -4
- package/nat/snatEntry.d.ts +1 -1
- package/nat/snatEntry.js +1 -1
- package/package.json +2 -2
- package/transit_router/transitRouter.d.ts +13 -0
- package/transit_router/transitRouter.js +3 -0
- package/transit_router/transitRouter.js.map +1 -1
- package/transit_router/vpcAttachment.d.ts +15 -1
- package/transit_router/vpcAttachment.js +5 -1
- package/transit_router/vpcAttachment.js.map +1 -1
- package/types/output.d.ts +8 -0
|
@@ -168,7 +168,7 @@ export declare class ScalingConfiguration extends pulumi.CustomResource {
|
|
|
168
168
|
/**
|
|
169
169
|
* The project to which the instance created by the scaling configuration belongs.
|
|
170
170
|
*/
|
|
171
|
-
readonly projectName: pulumi.Output<string
|
|
171
|
+
readonly projectName: pulumi.Output<string>;
|
|
172
172
|
/**
|
|
173
173
|
* The id of the scaling configuration.
|
|
174
174
|
*/
|
|
@@ -112,7 +112,7 @@ export declare class BandwidthPackage extends pulumi.CustomResource {
|
|
|
112
112
|
/**
|
|
113
113
|
* The ProjectName of the cen bandwidth package.
|
|
114
114
|
*/
|
|
115
|
-
readonly projectName: pulumi.Output<string
|
|
115
|
+
readonly projectName: pulumi.Output<string>;
|
|
116
116
|
/**
|
|
117
117
|
* The remain bandwidth of the cen bandwidth package.
|
|
118
118
|
*/
|
package/cen/cen.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare class Cen extends pulumi.CustomResource {
|
|
|
71
71
|
/**
|
|
72
72
|
* The ProjectName of the cen instance.
|
|
73
73
|
*/
|
|
74
|
-
readonly projectName: pulumi.Output<string
|
|
74
|
+
readonly projectName: pulumi.Output<string>;
|
|
75
75
|
/**
|
|
76
76
|
* The status of the cen.
|
|
77
77
|
*/
|
package/ecs/state.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ export declare class State extends pulumi.CustomResource {
|
|
|
72
72
|
static isInstance(obj: any): obj is State;
|
|
73
73
|
/**
|
|
74
74
|
* Start or Stop of Instance Action, the value can be `Start`, `Stop` or `ForceStop`.
|
|
75
|
+
* If the target status of the action is consistent with the current status of the instance, the action will not actually be executed.
|
|
75
76
|
*/
|
|
76
77
|
readonly action: pulumi.Output<string>;
|
|
77
78
|
/**
|
|
@@ -101,6 +102,7 @@ export declare class State extends pulumi.CustomResource {
|
|
|
101
102
|
export interface StateState {
|
|
102
103
|
/**
|
|
103
104
|
* Start or Stop of Instance Action, the value can be `Start`, `Stop` or `ForceStop`.
|
|
105
|
+
* If the target status of the action is consistent with the current status of the instance, the action will not actually be executed.
|
|
104
106
|
*/
|
|
105
107
|
action?: pulumi.Input<string>;
|
|
106
108
|
/**
|
|
@@ -122,6 +124,7 @@ export interface StateState {
|
|
|
122
124
|
export interface StateArgs {
|
|
123
125
|
/**
|
|
124
126
|
* Start or Stop of Instance Action, the value can be `Start`, `Stop` or `ForceStop`.
|
|
127
|
+
* If the target status of the action is consistent with the current status of the instance, the action will not actually be executed.
|
|
125
128
|
*/
|
|
126
129
|
action: pulumi.Input<string>;
|
|
127
130
|
/**
|
package/ecs/state.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../ecs/state.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY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D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA9EL,sBA+EC;AAjEG,gBAAgB;AACO,kBAAY,GAAG,4BAA4B,CAAC"}
|
package/nat/snatEntries.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ import * as outputs from "../types/output";
|
|
|
50
50
|
* eipId: fooAddress.id,
|
|
51
51
|
* sourceCidr: "172.16.0.0/24",
|
|
52
52
|
* }, {
|
|
53
|
-
* dependsOn: [
|
|
53
|
+
* dependsOn: [fooAssociate],
|
|
54
54
|
* });
|
|
55
55
|
* const foo2 = new volcengine.nat.SnatEntry("foo2", {
|
|
56
56
|
* snatEntryName: "acc-test-snat-entry",
|
|
@@ -58,7 +58,7 @@ import * as outputs from "../types/output";
|
|
|
58
58
|
* eipId: fooAddress.id,
|
|
59
59
|
* sourceCidr: "172.16.0.0/16",
|
|
60
60
|
* }, {
|
|
61
|
-
* dependsOn: [
|
|
61
|
+
* dependsOn: [fooAssociate],
|
|
62
62
|
* });
|
|
63
63
|
* const fooSnatEntries = volcengine.nat.SnatEntriesOutput({
|
|
64
64
|
* ids: [
|
|
@@ -191,7 +191,7 @@ export interface SnatEntriesResult {
|
|
|
191
191
|
* eipId: fooAddress.id,
|
|
192
192
|
* sourceCidr: "172.16.0.0/24",
|
|
193
193
|
* }, {
|
|
194
|
-
* dependsOn: [
|
|
194
|
+
* dependsOn: [fooAssociate],
|
|
195
195
|
* });
|
|
196
196
|
* const foo2 = new volcengine.nat.SnatEntry("foo2", {
|
|
197
197
|
* snatEntryName: "acc-test-snat-entry",
|
|
@@ -199,7 +199,7 @@ export interface SnatEntriesResult {
|
|
|
199
199
|
* eipId: fooAddress.id,
|
|
200
200
|
* sourceCidr: "172.16.0.0/16",
|
|
201
201
|
* }, {
|
|
202
|
-
* dependsOn: [
|
|
202
|
+
* dependsOn: [fooAssociate],
|
|
203
203
|
* });
|
|
204
204
|
* const fooSnatEntries = volcengine.nat.SnatEntriesOutput({
|
|
205
205
|
* ids: [
|
package/nat/snatEntries.js
CHANGED
|
@@ -55,7 +55,7 @@ const utilities = require("../utilities");
|
|
|
55
55
|
* eipId: fooAddress.id,
|
|
56
56
|
* sourceCidr: "172.16.0.0/24",
|
|
57
57
|
* }, {
|
|
58
|
-
* dependsOn: [
|
|
58
|
+
* dependsOn: [fooAssociate],
|
|
59
59
|
* });
|
|
60
60
|
* const foo2 = new volcengine.nat.SnatEntry("foo2", {
|
|
61
61
|
* snatEntryName: "acc-test-snat-entry",
|
|
@@ -63,7 +63,7 @@ const utilities = require("../utilities");
|
|
|
63
63
|
* eipId: fooAddress.id,
|
|
64
64
|
* sourceCidr: "172.16.0.0/16",
|
|
65
65
|
* }, {
|
|
66
|
-
* dependsOn: [
|
|
66
|
+
* dependsOn: [fooAssociate],
|
|
67
67
|
* });
|
|
68
68
|
* const fooSnatEntries = volcengine.nat.SnatEntriesOutput({
|
|
69
69
|
* ids: [
|
|
@@ -137,7 +137,7 @@ exports.snatEntries = snatEntries;
|
|
|
137
137
|
* eipId: fooAddress.id,
|
|
138
138
|
* sourceCidr: "172.16.0.0/24",
|
|
139
139
|
* }, {
|
|
140
|
-
* dependsOn: [
|
|
140
|
+
* dependsOn: [fooAssociate],
|
|
141
141
|
* });
|
|
142
142
|
* const foo2 = new volcengine.nat.SnatEntry("foo2", {
|
|
143
143
|
* snatEntryName: "acc-test-snat-entry",
|
|
@@ -145,7 +145,7 @@ exports.snatEntries = snatEntries;
|
|
|
145
145
|
* eipId: fooAddress.id,
|
|
146
146
|
* sourceCidr: "172.16.0.0/16",
|
|
147
147
|
* }, {
|
|
148
|
-
* dependsOn: [
|
|
148
|
+
* dependsOn: [fooAssociate],
|
|
149
149
|
* });
|
|
150
150
|
* const fooSnatEntries = volcengine.nat.SnatEntriesOutput({
|
|
151
151
|
* ids: [
|
package/nat/snatEntry.d.ts
CHANGED
package/nat/snatEntry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volcengine/pulumi",
|
|
3
|
-
"version": "v0.0.
|
|
3
|
+
"version": "v0.0.25",
|
|
4
4
|
"description": "A Pulumi package for creating and managing volcengine cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc",
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.
|
|
15
|
+
"install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.25"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -10,6 +10,7 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* import * as volcengine from "@volcengine/pulumi";
|
|
11
11
|
*
|
|
12
12
|
* const foo = new volcengine.transit_router.TransitRouter("foo", {
|
|
13
|
+
* asn: 4294967294,
|
|
13
14
|
* description: "acc-test",
|
|
14
15
|
* projectName: "default",
|
|
15
16
|
* tags: [{
|
|
@@ -48,6 +49,10 @@ export declare class TransitRouter extends pulumi.CustomResource {
|
|
|
48
49
|
* The ID of account.
|
|
49
50
|
*/
|
|
50
51
|
readonly accountId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The asn of the transit router. Valid value range in 64512-65534 and 4200000000-4294967294. Default is 64512.
|
|
54
|
+
*/
|
|
55
|
+
readonly asn: pulumi.Output<number>;
|
|
51
56
|
/**
|
|
52
57
|
* The business status of the transit router.
|
|
53
58
|
*/
|
|
@@ -109,6 +114,10 @@ export interface TransitRouterState {
|
|
|
109
114
|
* The ID of account.
|
|
110
115
|
*/
|
|
111
116
|
accountId?: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The asn of the transit router. Valid value range in 64512-65534 and 4200000000-4294967294. Default is 64512.
|
|
119
|
+
*/
|
|
120
|
+
asn?: pulumi.Input<number>;
|
|
112
121
|
/**
|
|
113
122
|
* The business status of the transit router.
|
|
114
123
|
*/
|
|
@@ -158,6 +167,10 @@ export interface TransitRouterState {
|
|
|
158
167
|
* The set of arguments for constructing a TransitRouter resource.
|
|
159
168
|
*/
|
|
160
169
|
export interface TransitRouterArgs {
|
|
170
|
+
/**
|
|
171
|
+
* The asn of the transit router. Valid value range in 64512-65534 and 4200000000-4294967294. Default is 64512.
|
|
172
|
+
*/
|
|
173
|
+
asn?: pulumi.Input<number>;
|
|
161
174
|
/**
|
|
162
175
|
* The description of the transit router.
|
|
163
176
|
*/
|
|
@@ -14,6 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as volcengine from "@volcengine/pulumi";
|
|
15
15
|
*
|
|
16
16
|
* const foo = new volcengine.transit_router.TransitRouter("foo", {
|
|
17
|
+
* asn: 4294967294,
|
|
17
18
|
* description: "acc-test",
|
|
18
19
|
* projectName: "default",
|
|
19
20
|
* tags: [{
|
|
@@ -61,6 +62,7 @@ class TransitRouter extends pulumi.CustomResource {
|
|
|
61
62
|
if (opts.id) {
|
|
62
63
|
const state = argsOrState;
|
|
63
64
|
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
65
|
+
resourceInputs["asn"] = state ? state.asn : undefined;
|
|
64
66
|
resourceInputs["businessStatus"] = state ? state.businessStatus : undefined;
|
|
65
67
|
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
66
68
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
@@ -75,6 +77,7 @@ class TransitRouter extends pulumi.CustomResource {
|
|
|
75
77
|
}
|
|
76
78
|
else {
|
|
77
79
|
const args = argsOrState;
|
|
80
|
+
resourceInputs["asn"] = args ? args.asn : undefined;
|
|
78
81
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
79
82
|
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
80
83
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transitRouter.js","sourceRoot":"","sources":["../../transit_router/transitRouter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"transitRouter.js","sourceRoot":"","sources":["../../transit_router/transitRouter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA+DD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,c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B,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7HL,sCA8HC;AAhHG,gBAAgB;AACO,0BAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -13,6 +13,7 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* const fooTransitRouter = new volcengine.transit_router.TransitRouter("fooTransitRouter", {
|
|
14
14
|
* transitRouterName: "test-tf-acc",
|
|
15
15
|
* description: "test-tf-acc",
|
|
16
|
+
* asn: 4294967293,
|
|
16
17
|
* });
|
|
17
18
|
* const fooZones = volcengine.ecs.Zones({});
|
|
18
19
|
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
@@ -44,8 +45,9 @@ import * as outputs from "../types/output";
|
|
|
44
45
|
* zoneId: "cn-beijing-b",
|
|
45
46
|
* },
|
|
46
47
|
* ],
|
|
47
|
-
* transitRouterAttachmentName: "tf-test-acc-
|
|
48
|
+
* transitRouterAttachmentName: "tf-test-acc-vpc-attach",
|
|
48
49
|
* description: "tf-test-acc-description",
|
|
50
|
+
* autoPublishRouteEnabled: true,
|
|
49
51
|
* tags: [{
|
|
50
52
|
* key: "k1",
|
|
51
53
|
* value: "v1",
|
|
@@ -81,6 +83,10 @@ export declare class VpcAttachment extends pulumi.CustomResource {
|
|
|
81
83
|
* The attach points of transit router vpc attachment.
|
|
82
84
|
*/
|
|
83
85
|
readonly attachPoints: pulumi.Output<outputs.transit_router.VpcAttachmentAttachPoint[]>;
|
|
86
|
+
/**
|
|
87
|
+
* Whether to auto publish route of the transit router to vpc instance. Default is false.
|
|
88
|
+
*/
|
|
89
|
+
readonly autoPublishRouteEnabled: pulumi.Output<boolean | undefined>;
|
|
84
90
|
/**
|
|
85
91
|
* The create time.
|
|
86
92
|
*/
|
|
@@ -134,6 +140,10 @@ export interface VpcAttachmentState {
|
|
|
134
140
|
* The attach points of transit router vpc attachment.
|
|
135
141
|
*/
|
|
136
142
|
attachPoints?: pulumi.Input<pulumi.Input<inputs.transit_router.VpcAttachmentAttachPoint>[]>;
|
|
143
|
+
/**
|
|
144
|
+
* Whether to auto publish route of the transit router to vpc instance. Default is false.
|
|
145
|
+
*/
|
|
146
|
+
autoPublishRouteEnabled?: pulumi.Input<boolean>;
|
|
137
147
|
/**
|
|
138
148
|
* The create time.
|
|
139
149
|
*/
|
|
@@ -179,6 +189,10 @@ export interface VpcAttachmentArgs {
|
|
|
179
189
|
* The attach points of transit router vpc attachment.
|
|
180
190
|
*/
|
|
181
191
|
attachPoints: pulumi.Input<pulumi.Input<inputs.transit_router.VpcAttachmentAttachPoint>[]>;
|
|
192
|
+
/**
|
|
193
|
+
* Whether to auto publish route of the transit router to vpc instance. Default is false.
|
|
194
|
+
*/
|
|
195
|
+
autoPublishRouteEnabled?: pulumi.Input<boolean>;
|
|
182
196
|
/**
|
|
183
197
|
* The description of the transit router vpc attachment.
|
|
184
198
|
*/
|
|
@@ -17,6 +17,7 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* const fooTransitRouter = new volcengine.transit_router.TransitRouter("fooTransitRouter", {
|
|
18
18
|
* transitRouterName: "test-tf-acc",
|
|
19
19
|
* description: "test-tf-acc",
|
|
20
|
+
* asn: 4294967293,
|
|
20
21
|
* });
|
|
21
22
|
* const fooZones = volcengine.ecs.Zones({});
|
|
22
23
|
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
@@ -48,8 +49,9 @@ const utilities = require("../utilities");
|
|
|
48
49
|
* zoneId: "cn-beijing-b",
|
|
49
50
|
* },
|
|
50
51
|
* ],
|
|
51
|
-
* transitRouterAttachmentName: "tf-test-acc-
|
|
52
|
+
* transitRouterAttachmentName: "tf-test-acc-vpc-attach",
|
|
52
53
|
* description: "tf-test-acc-description",
|
|
54
|
+
* autoPublishRouteEnabled: true,
|
|
53
55
|
* tags: [{
|
|
54
56
|
* key: "k1",
|
|
55
57
|
* value: "v1",
|
|
@@ -94,6 +96,7 @@ class VpcAttachment extends pulumi.CustomResource {
|
|
|
94
96
|
if (opts.id) {
|
|
95
97
|
const state = argsOrState;
|
|
96
98
|
resourceInputs["attachPoints"] = state ? state.attachPoints : undefined;
|
|
99
|
+
resourceInputs["autoPublishRouteEnabled"] = state ? state.autoPublishRouteEnabled : undefined;
|
|
97
100
|
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
98
101
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
99
102
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
@@ -116,6 +119,7 @@ class VpcAttachment extends pulumi.CustomResource {
|
|
|
116
119
|
throw new Error("Missing required property 'vpcId'");
|
|
117
120
|
}
|
|
118
121
|
resourceInputs["attachPoints"] = args ? args.attachPoints : undefined;
|
|
122
|
+
resourceInputs["autoPublishRouteEnabled"] = args ? args.autoPublishRouteEnabled : undefined;
|
|
119
123
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
120
124
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
121
125
|
resourceInputs["transitRouterAttachmentName"] = args ? args.transitRouterAttachmentName : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpcAttachment.js","sourceRoot":"","sources":["../../transit_router/vpcAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"vpcAttachment.js","sourceRoot":"","sources":["../../transit_router/vpcAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,E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
14905
|
*/
|
|
14906
14906
|
accountId: string;
|
|
14907
|
+
/**
|
|
14908
|
+
* The asn of the transit router.
|
|
14909
|
+
*/
|
|
14910
|
+
asn: number;
|
|
14907
14911
|
/**
|
|
14908
14912
|
* The business status of the transit router.
|
|
14909
14913
|
*/
|
|
@@ -15022,6 +15026,10 @@ export declare namespace transit_router {
|
|
|
15022
15026
|
* The collection of attach points.
|
|
15023
15027
|
*/
|
|
15024
15028
|
attachPoints: outputs.transit_router.VpcAttachmentsAttachmentAttachPoint[];
|
|
15029
|
+
/**
|
|
15030
|
+
* Whether to auto publish route of the transit router to vpc instance.
|
|
15031
|
+
*/
|
|
15032
|
+
autoPublishRouteEnabled: boolean;
|
|
15025
15033
|
/**
|
|
15026
15034
|
* The create time.
|
|
15027
15035
|
*/
|