@pulumi/alicloud 3.55.0 → 3.55.2
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/arms/syntheticTask.d.ts +1 -1
- package/arms/syntheticTask.js +1 -1
- package/cen/instanceGrant.d.ts +0 -7
- package/cen/instanceGrant.js +0 -7
- package/cen/instanceGrant.js.map +1 -1
- package/cen/transitRouterPeerAttachment.d.ts +24 -4
- package/cen/transitRouterPeerAttachment.js +6 -2
- package/cen/transitRouterPeerAttachment.js.map +1 -1
- package/clickhouse/account.d.ts +25 -7
- package/clickhouse/account.js +3 -1
- package/clickhouse/account.js.map +1 -1
- package/clickhouse/dbCluster.d.ts +6 -6
- package/clickhouse/getAccounts.d.ts +60 -16
- package/clickhouse/getAccounts.js +46 -14
- package/clickhouse/getAccounts.js.map +1 -1
- package/cloudconnect/networkGrant.d.ts +2 -2
- package/cloudconnect/networkGrant.js +2 -2
- package/cms/alarm.d.ts +14 -20
- package/cms/alarm.js +14 -20
- package/cms/alarm.js.map +1 -1
- package/cms/namespace.d.ts +0 -1
- package/cms/namespace.js +0 -1
- package/cms/namespace.js.map +1 -1
- package/cs/edgeKubernetes.d.ts +17 -10
- package/cs/edgeKubernetes.js +4 -3
- package/cs/edgeKubernetes.js.map +1 -1
- package/cs/kubernetes.d.ts +26 -18
- package/cs/kubernetes.js +2 -0
- package/cs/kubernetes.js.map +1 -1
- package/cs/managedKubernetes.d.ts +5 -6
- package/cs/managedKubernetes.js +2 -0
- package/cs/managedKubernetes.js.map +1 -1
- package/cs/nodePool.d.ts +36 -6
- package/cs/nodePool.js +4 -0
- package/cs/nodePool.js.map +1 -1
- package/dbs/backupPlan.d.ts +3 -3
- package/dbs/backupPlan.js +3 -3
- package/dfs/accessGroup.d.ts +7 -5
- package/dfs/accessGroup.js +7 -5
- package/dfs/accessGroup.js.map +1 -1
- package/dfs/accessRule.d.ts +6 -6
- package/dfs/accessRule.js +6 -6
- package/dfs/fileSystem.d.ts +5 -12
- package/dfs/fileSystem.js +5 -12
- package/dfs/fileSystem.js.map +1 -1
- package/dfs/mountPoint.d.ts +23 -34
- package/dfs/mountPoint.js +23 -34
- package/dfs/mountPoint.js.map +1 -1
- package/dms/enterpriseProxy.d.ts +2 -2
- package/dms/enterpriseProxy.js +2 -2
- package/ecs/ecsDeploymentSet.d.ts +4 -4
- package/ecs/ecsDeploymentSet.js +1 -1
- package/ecs/ecsNetworkInterfaceAttachment.d.ts +23 -11
- package/ecs/ecsNetworkInterfaceAttachment.js +4 -2
- package/ecs/ecsNetworkInterfaceAttachment.js.map +1 -1
- package/ecs/ecsSnapshotGroup.d.ts +3 -1
- package/ecs/ecsSnapshotGroup.js +3 -1
- package/ecs/ecsSnapshotGroup.js.map +1 -1
- package/ecs/eip.d.ts +6 -0
- package/ecs/eip.js +4 -0
- package/ecs/eip.js.map +1 -1
- package/ecs/eipAddress.d.ts +33 -0
- package/ecs/eipAddress.js +4 -0
- package/ecs/eipAddress.js.map +1 -1
- package/ecs/elasticityAssurance.d.ts +1 -1
- package/ecs/elasticityAssurance.js +1 -1
- package/ecs/getInstanceTypes.d.ts +11 -2
- package/ecs/getInstanceTypes.js +1 -0
- package/ecs/getInstanceTypes.js.map +1 -1
- package/ecs/imageSharePermission.d.ts +8 -3
- package/ecs/imageSharePermission.js +8 -3
- package/ecs/imageSharePermission.js.map +1 -1
- package/ecs/instance.d.ts +57 -48
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/edas/namespace.d.ts +4 -6
- package/edas/namespace.js +4 -6
- package/edas/namespace.js.map +1 -1
- package/emrv2/cluster.d.ts +3 -8
- package/emrv2/cluster.js +0 -5
- package/emrv2/cluster.js.map +1 -1
- package/ess/attachment.d.ts +18 -16
- package/ess/attachment.js +18 -16
- package/ess/attachment.js.map +1 -1
- package/ess/scalingGroup.d.ts +3 -3
- package/eventbridge/eventSource.d.ts +6 -1
- package/eventbridge/eventSource.js +6 -1
- package/eventbridge/eventSource.js.map +1 -1
- package/expressconnect/routerInterface.d.ts +5 -6
- package/expressconnect/routerInterface.js +5 -6
- package/expressconnect/routerInterface.js.map +1 -1
- package/ga/forwardingRule.d.ts +4 -4
- package/gpdb/dbInstancePlan.d.ts +0 -57
- package/gpdb/dbInstancePlan.js +0 -57
- package/gpdb/dbInstancePlan.js.map +1 -1
- package/hbase/instance.d.ts +2 -2
- package/hbase/instance.js +2 -2
- package/hbr/ecsBackupPlan.d.ts +6 -1
- package/hbr/ecsBackupPlan.js +6 -1
- package/hbr/ecsBackupPlan.js.map +1 -1
- package/hbr/hanaBackupPlan.d.ts +7 -2
- package/hbr/hanaBackupPlan.js +7 -2
- package/hbr/hanaBackupPlan.js.map +1 -1
- package/hbr/hanaInstance.d.ts +7 -2
- package/hbr/hanaInstance.js +7 -2
- package/hbr/hanaInstance.js.map +1 -1
- package/hbr/nasBackupPlan.d.ts +7 -2
- package/hbr/nasBackupPlan.js +7 -2
- package/hbr/nasBackupPlan.js.map +1 -1
- package/hbr/vault.d.ts +6 -1
- package/hbr/vault.js +6 -1
- package/hbr/vault.js.map +1 -1
- package/kms/instance.d.ts +62 -38
- package/kms/instance.js +7 -15
- package/kms/instance.js.map +1 -1
- package/message/serviceQueue.d.ts +40 -33
- package/message/serviceQueue.js +13 -12
- package/message/serviceQueue.js.map +1 -1
- package/mongodb/shardingNetworkPrivateAddress.d.ts +0 -57
- package/mongodb/shardingNetworkPrivateAddress.js +0 -57
- package/mongodb/shardingNetworkPrivateAddress.js.map +1 -1
- package/nas/accessRule.d.ts +17 -8
- package/nas/accessRule.js +17 -8
- package/nas/accessRule.js.map +1 -1
- package/nas/autoSnapshotPolicy.d.ts +36 -13
- package/nas/autoSnapshotPolicy.js +20 -13
- package/nas/autoSnapshotPolicy.js.map +1 -1
- package/nas/snapshot.d.ts +0 -1
- package/nas/snapshot.js +0 -1
- package/nas/snapshot.js.map +1 -1
- package/oos/patchBaseline.d.ts +1 -27
- package/oos/patchBaseline.js +1 -27
- package/oos/patchBaseline.js.map +1 -1
- package/ots/instance.d.ts +1 -1
- package/ots/instance.js +1 -1
- package/package.json +3 -2
- package/polardb/accountPrivilege.d.ts +1 -0
- package/polardb/accountPrivilege.js +1 -0
- package/polardb/accountPrivilege.js.map +1 -1
- package/privatelink/vpcEndpoint.d.ts +48 -19
- package/privatelink/vpcEndpoint.js +33 -14
- package/privatelink/vpcEndpoint.js.map +1 -1
- package/provider.d.ts +0 -6
- package/provider.js.map +1 -1
- package/ram/groupPolicyAttachment.d.ts +8 -3
- package/ram/groupPolicyAttachment.js +8 -3
- package/ram/groupPolicyAttachment.js.map +1 -1
- package/ram/policy.d.ts +6 -1
- package/ram/policy.js +6 -1
- package/ram/policy.js.map +1 -1
- package/ram/rolePolicyAttachment.d.ts +8 -3
- package/ram/rolePolicyAttachment.js +8 -3
- package/ram/rolePolicyAttachment.js.map +1 -1
- package/ram/userPolicyAttachment.d.ts +8 -3
- package/ram/userPolicyAttachment.js +8 -3
- package/ram/userPolicyAttachment.js.map +1 -1
- package/rds/getZones.d.ts +39 -5
- package/rds/getZones.js +32 -3
- package/rds/getZones.js.map +1 -1
- package/rds/instance.d.ts +3 -0
- package/rds/instance.js.map +1 -1
- package/rds/rdsAccount.d.ts +1 -1
- package/rds/rdsAccount.js +1 -1
- package/rds/readWriteSplittingConnection.d.ts +5 -10
- package/rds/readWriteSplittingConnection.js +5 -10
- package/rds/readWriteSplittingConnection.js.map +1 -1
- package/redis/tairInstance.d.ts +3 -3
- package/resourcemanager/delegatedAdministrator.d.ts +2 -2
- package/resourcemanager/delegatedAdministrator.js +2 -2
- package/resourcemanager/resourceGroup.d.ts +2 -2
- package/resourcemanager/resourceGroup.js +2 -2
- package/servicemesh/serviceMesh.d.ts +15 -9
- package/servicemesh/serviceMesh.js.map +1 -1
- package/simpleapplicationserver/snapshot.d.ts +6 -2
- package/simpleapplicationserver/snapshot.js +6 -2
- package/simpleapplicationserver/snapshot.js.map +1 -1
- package/slb/rule.d.ts +27 -0
- package/slb/rule.js +27 -0
- package/slb/rule.js.map +1 -1
- package/tsdb/instance.d.ts +2 -0
- package/tsdb/instance.js +2 -0
- package/tsdb/instance.js.map +1 -1
- package/types/input.d.ts +71 -18
- package/types/output.d.ts +76 -23
- package/vpc/networkInterfaceAttachment.d.ts +3 -0
- package/vpc/networkInterfaceAttachment.js +2 -0
- package/vpc/networkInterfaceAttachment.js.map +1 -1
- package/vpc/peerConnectionAccepter.d.ts +1 -1
- package/vpc/peerConnectionAccepter.js +1 -1
- package/package.json.bak +0 -26
package/kms/instance.d.ts
CHANGED
|
@@ -24,14 +24,14 @@ import * as outputs from "../types/output";
|
|
|
24
24
|
* });
|
|
25
25
|
* const defaultGetSwitches = _default.then(_default => alicloud.vpc.getSwitches({
|
|
26
26
|
* vpcId: _default.ids?.[0],
|
|
27
|
-
* zoneId: "cn-hangzhou-
|
|
27
|
+
* zoneId: "cn-hangzhou-h",
|
|
28
28
|
* }));
|
|
29
29
|
* const defaultInstance = new alicloud.kms.Instance("default", {
|
|
30
30
|
* productVersion: "3",
|
|
31
31
|
* vpcId: _default.then(_default => _default.ids?.[0]),
|
|
32
32
|
* zoneIds: [
|
|
33
|
-
* "cn-hangzhou-
|
|
34
|
-
* "cn-hangzhou-
|
|
33
|
+
* "cn-hangzhou-h",
|
|
34
|
+
* "cn-hangzhou-g",
|
|
35
35
|
* ],
|
|
36
36
|
* vswitchIds: [defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0])],
|
|
37
37
|
* vpcNum: 1,
|
|
@@ -77,24 +77,32 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
77
77
|
* The creation time of the resource.
|
|
78
78
|
*/
|
|
79
79
|
readonly createTime: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Whether to force deletion even without backup.
|
|
82
|
+
*/
|
|
83
|
+
readonly forceDeleteWithoutBackup: pulumi.Output<string | undefined>;
|
|
80
84
|
/**
|
|
81
85
|
* The name of the resource.
|
|
82
86
|
*/
|
|
83
87
|
readonly instanceName: pulumi.Output<string>;
|
|
84
88
|
/**
|
|
85
|
-
* Maximum number of stored keys.
|
|
89
|
+
* Maximum number of stored keys. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
86
90
|
*/
|
|
87
|
-
readonly keyNum: pulumi.Output<number>;
|
|
91
|
+
readonly keyNum: pulumi.Output<number | undefined>;
|
|
88
92
|
/**
|
|
89
|
-
* Instance Audit Log Switch.
|
|
93
|
+
* Instance Audit Log Switch. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
90
94
|
*/
|
|
91
95
|
readonly log: pulumi.Output<string>;
|
|
92
96
|
/**
|
|
93
|
-
* Instance log capacity.
|
|
97
|
+
* Instance log capacity. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
94
98
|
*/
|
|
95
99
|
readonly logStorage: pulumi.Output<number>;
|
|
96
100
|
/**
|
|
97
|
-
*
|
|
101
|
+
* Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
102
|
+
*/
|
|
103
|
+
readonly paymentType: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Purchase cycle, in months. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
98
106
|
*/
|
|
99
107
|
readonly period: pulumi.Output<number | undefined>;
|
|
100
108
|
/**
|
|
@@ -102,21 +110,21 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
102
110
|
*/
|
|
103
111
|
readonly productVersion: pulumi.Output<string | undefined>;
|
|
104
112
|
/**
|
|
105
|
-
* Automatic renewal period, in months.
|
|
113
|
+
* Automatic renewal period, in months. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
106
114
|
*/
|
|
107
115
|
readonly renewPeriod: pulumi.Output<number | undefined>;
|
|
108
116
|
/**
|
|
109
|
-
* Renewal options
|
|
117
|
+
* Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
110
118
|
*/
|
|
111
119
|
readonly renewStatus: pulumi.Output<string | undefined>;
|
|
112
120
|
/**
|
|
113
|
-
* Maximum number of Secrets.
|
|
121
|
+
* Maximum number of Secrets. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
114
122
|
*/
|
|
115
|
-
readonly secretNum: pulumi.Output<number>;
|
|
123
|
+
readonly secretNum: pulumi.Output<number | undefined>;
|
|
116
124
|
/**
|
|
117
|
-
* The computation performance level of the KMS instance.
|
|
125
|
+
* The computation performance level of the KMS instance. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
118
126
|
*/
|
|
119
|
-
readonly spec: pulumi.Output<number>;
|
|
127
|
+
readonly spec: pulumi.Output<number | undefined>;
|
|
120
128
|
/**
|
|
121
129
|
* Instance status.
|
|
122
130
|
*/
|
|
@@ -126,9 +134,9 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
126
134
|
*/
|
|
127
135
|
readonly vpcId: pulumi.Output<string>;
|
|
128
136
|
/**
|
|
129
|
-
* The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
137
|
+
* The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
130
138
|
*/
|
|
131
|
-
readonly vpcNum: pulumi.Output<number>;
|
|
139
|
+
readonly vpcNum: pulumi.Output<number | undefined>;
|
|
132
140
|
/**
|
|
133
141
|
* Instance bind vswitches.
|
|
134
142
|
*/
|
|
@@ -162,24 +170,32 @@ export interface InstanceState {
|
|
|
162
170
|
* The creation time of the resource.
|
|
163
171
|
*/
|
|
164
172
|
createTime?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* Whether to force deletion even without backup.
|
|
175
|
+
*/
|
|
176
|
+
forceDeleteWithoutBackup?: pulumi.Input<string>;
|
|
165
177
|
/**
|
|
166
178
|
* The name of the resource.
|
|
167
179
|
*/
|
|
168
180
|
instanceName?: pulumi.Input<string>;
|
|
169
181
|
/**
|
|
170
|
-
* Maximum number of stored keys.
|
|
182
|
+
* Maximum number of stored keys. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
171
183
|
*/
|
|
172
184
|
keyNum?: pulumi.Input<number>;
|
|
173
185
|
/**
|
|
174
|
-
* Instance Audit Log Switch.
|
|
186
|
+
* Instance Audit Log Switch. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
175
187
|
*/
|
|
176
188
|
log?: pulumi.Input<string>;
|
|
177
189
|
/**
|
|
178
|
-
* Instance log capacity.
|
|
190
|
+
* Instance log capacity. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
179
191
|
*/
|
|
180
192
|
logStorage?: pulumi.Input<number>;
|
|
181
193
|
/**
|
|
182
|
-
*
|
|
194
|
+
* Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
195
|
+
*/
|
|
196
|
+
paymentType?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Purchase cycle, in months. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
183
199
|
*/
|
|
184
200
|
period?: pulumi.Input<number>;
|
|
185
201
|
/**
|
|
@@ -187,19 +203,19 @@ export interface InstanceState {
|
|
|
187
203
|
*/
|
|
188
204
|
productVersion?: pulumi.Input<string>;
|
|
189
205
|
/**
|
|
190
|
-
* Automatic renewal period, in months.
|
|
206
|
+
* Automatic renewal period, in months. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
191
207
|
*/
|
|
192
208
|
renewPeriod?: pulumi.Input<number>;
|
|
193
209
|
/**
|
|
194
|
-
* Renewal options
|
|
210
|
+
* Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
195
211
|
*/
|
|
196
212
|
renewStatus?: pulumi.Input<string>;
|
|
197
213
|
/**
|
|
198
|
-
* Maximum number of Secrets.
|
|
214
|
+
* Maximum number of Secrets. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
199
215
|
*/
|
|
200
216
|
secretNum?: pulumi.Input<number>;
|
|
201
217
|
/**
|
|
202
|
-
* The computation performance level of the KMS instance.
|
|
218
|
+
* The computation performance level of the KMS instance. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
203
219
|
*/
|
|
204
220
|
spec?: pulumi.Input<number>;
|
|
205
221
|
/**
|
|
@@ -211,7 +227,7 @@ export interface InstanceState {
|
|
|
211
227
|
*/
|
|
212
228
|
vpcId?: pulumi.Input<string>;
|
|
213
229
|
/**
|
|
214
|
-
* The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
230
|
+
* The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
215
231
|
*/
|
|
216
232
|
vpcNum?: pulumi.Input<number>;
|
|
217
233
|
/**
|
|
@@ -232,19 +248,27 @@ export interface InstanceArgs {
|
|
|
232
248
|
*/
|
|
233
249
|
bindVpcs?: pulumi.Input<pulumi.Input<inputs.kms.InstanceBindVpc>[]>;
|
|
234
250
|
/**
|
|
235
|
-
*
|
|
251
|
+
* Whether to force deletion even without backup.
|
|
236
252
|
*/
|
|
237
|
-
|
|
253
|
+
forceDeleteWithoutBackup?: pulumi.Input<string>;
|
|
238
254
|
/**
|
|
239
|
-
*
|
|
255
|
+
* Maximum number of stored keys. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
256
|
+
*/
|
|
257
|
+
keyNum?: pulumi.Input<number>;
|
|
258
|
+
/**
|
|
259
|
+
* Instance Audit Log Switch. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
240
260
|
*/
|
|
241
261
|
log?: pulumi.Input<string>;
|
|
242
262
|
/**
|
|
243
|
-
* Instance log capacity.
|
|
263
|
+
* Instance log capacity. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
244
264
|
*/
|
|
245
265
|
logStorage?: pulumi.Input<number>;
|
|
246
266
|
/**
|
|
247
|
-
*
|
|
267
|
+
* Payment type, valid values: `Subscription`: Prepaid. `PayAsYouGo`: Postpaid, available since v1.223.2.
|
|
268
|
+
*/
|
|
269
|
+
paymentType?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* Purchase cycle, in months. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
248
272
|
*/
|
|
249
273
|
period?: pulumi.Input<number>;
|
|
250
274
|
/**
|
|
@@ -252,29 +276,29 @@ export interface InstanceArgs {
|
|
|
252
276
|
*/
|
|
253
277
|
productVersion?: pulumi.Input<string>;
|
|
254
278
|
/**
|
|
255
|
-
* Automatic renewal period, in months.
|
|
279
|
+
* Automatic renewal period, in months. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
256
280
|
*/
|
|
257
281
|
renewPeriod?: pulumi.Input<number>;
|
|
258
282
|
/**
|
|
259
|
-
* Renewal options
|
|
283
|
+
* Renewal options. Valid values: `AutoRenewal`, `ManualRenewal`. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
260
284
|
*/
|
|
261
285
|
renewStatus?: pulumi.Input<string>;
|
|
262
286
|
/**
|
|
263
|
-
* Maximum number of Secrets.
|
|
287
|
+
* Maximum number of Secrets. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
264
288
|
*/
|
|
265
|
-
secretNum
|
|
289
|
+
secretNum?: pulumi.Input<number>;
|
|
266
290
|
/**
|
|
267
|
-
* The computation performance level of the KMS instance.
|
|
291
|
+
* The computation performance level of the KMS instance. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
268
292
|
*/
|
|
269
|
-
spec
|
|
293
|
+
spec?: pulumi.Input<number>;
|
|
270
294
|
/**
|
|
271
295
|
* Instance VPC id.
|
|
272
296
|
*/
|
|
273
297
|
vpcId: pulumi.Input<string>;
|
|
274
298
|
/**
|
|
275
|
-
* The number of managed accesses. The maximum number of VPCs that can access this KMS instance.
|
|
299
|
+
* The number of managed accesses. The maximum number of VPCs that can access this KMS instance. The attribute is valid when the attribute `paymentType` is `Subscription`.
|
|
276
300
|
*/
|
|
277
|
-
vpcNum
|
|
301
|
+
vpcNum?: pulumi.Input<number>;
|
|
278
302
|
/**
|
|
279
303
|
* Instance bind vswitches.
|
|
280
304
|
*/
|
package/kms/instance.js
CHANGED
|
@@ -28,14 +28,14 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* });
|
|
29
29
|
* const defaultGetSwitches = _default.then(_default => alicloud.vpc.getSwitches({
|
|
30
30
|
* vpcId: _default.ids?.[0],
|
|
31
|
-
* zoneId: "cn-hangzhou-
|
|
31
|
+
* zoneId: "cn-hangzhou-h",
|
|
32
32
|
* }));
|
|
33
33
|
* const defaultInstance = new alicloud.kms.Instance("default", {
|
|
34
34
|
* productVersion: "3",
|
|
35
35
|
* vpcId: _default.then(_default => _default.ids?.[0]),
|
|
36
36
|
* zoneIds: [
|
|
37
|
-
* "cn-hangzhou-
|
|
38
|
-
* "cn-hangzhou-
|
|
37
|
+
* "cn-hangzhou-h",
|
|
38
|
+
* "cn-hangzhou-g",
|
|
39
39
|
* ],
|
|
40
40
|
* vswitchIds: [defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0])],
|
|
41
41
|
* vpcNum: 1,
|
|
@@ -84,10 +84,12 @@ class Instance extends pulumi.CustomResource {
|
|
|
84
84
|
resourceInputs["bindVpcs"] = state ? state.bindVpcs : undefined;
|
|
85
85
|
resourceInputs["caCertificateChainPem"] = state ? state.caCertificateChainPem : undefined;
|
|
86
86
|
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
87
|
+
resourceInputs["forceDeleteWithoutBackup"] = state ? state.forceDeleteWithoutBackup : undefined;
|
|
87
88
|
resourceInputs["instanceName"] = state ? state.instanceName : undefined;
|
|
88
89
|
resourceInputs["keyNum"] = state ? state.keyNum : undefined;
|
|
89
90
|
resourceInputs["log"] = state ? state.log : undefined;
|
|
90
91
|
resourceInputs["logStorage"] = state ? state.logStorage : undefined;
|
|
92
|
+
resourceInputs["paymentType"] = state ? state.paymentType : undefined;
|
|
91
93
|
resourceInputs["period"] = state ? state.period : undefined;
|
|
92
94
|
resourceInputs["productVersion"] = state ? state.productVersion : undefined;
|
|
93
95
|
resourceInputs["renewPeriod"] = state ? state.renewPeriod : undefined;
|
|
@@ -102,21 +104,9 @@ class Instance extends pulumi.CustomResource {
|
|
|
102
104
|
}
|
|
103
105
|
else {
|
|
104
106
|
const args = argsOrState;
|
|
105
|
-
if ((!args || args.keyNum === undefined) && !opts.urn) {
|
|
106
|
-
throw new Error("Missing required property 'keyNum'");
|
|
107
|
-
}
|
|
108
|
-
if ((!args || args.secretNum === undefined) && !opts.urn) {
|
|
109
|
-
throw new Error("Missing required property 'secretNum'");
|
|
110
|
-
}
|
|
111
|
-
if ((!args || args.spec === undefined) && !opts.urn) {
|
|
112
|
-
throw new Error("Missing required property 'spec'");
|
|
113
|
-
}
|
|
114
107
|
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
115
108
|
throw new Error("Missing required property 'vpcId'");
|
|
116
109
|
}
|
|
117
|
-
if ((!args || args.vpcNum === undefined) && !opts.urn) {
|
|
118
|
-
throw new Error("Missing required property 'vpcNum'");
|
|
119
|
-
}
|
|
120
110
|
if ((!args || args.vswitchIds === undefined) && !opts.urn) {
|
|
121
111
|
throw new Error("Missing required property 'vswitchIds'");
|
|
122
112
|
}
|
|
@@ -124,9 +114,11 @@ class Instance extends pulumi.CustomResource {
|
|
|
124
114
|
throw new Error("Missing required property 'zoneIds'");
|
|
125
115
|
}
|
|
126
116
|
resourceInputs["bindVpcs"] = args ? args.bindVpcs : undefined;
|
|
117
|
+
resourceInputs["forceDeleteWithoutBackup"] = args ? args.forceDeleteWithoutBackup : undefined;
|
|
127
118
|
resourceInputs["keyNum"] = args ? args.keyNum : undefined;
|
|
128
119
|
resourceInputs["log"] = args ? args.log : undefined;
|
|
129
120
|
resourceInputs["logStorage"] = args ? args.logStorage : undefined;
|
|
121
|
+
resourceInputs["paymentType"] = args ? args.paymentType : undefined;
|
|
130
122
|
resourceInputs["period"] = args ? args.period : undefined;
|
|
131
123
|
resourceInputs["productVersion"] = args ? args.productVersion : undefined;
|
|
132
124
|
resourceInputs["renewPeriod"] = args ? args.renewPeriod : undefined;
|
package/kms/instance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../kms/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;
|
|
1
|
+
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../kms/instance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,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AC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAhLL,4BAiLC;AAnKG,gBAAgB;AACO,qBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a Message
|
|
3
|
+
* Provides a Message Service Queue resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about Message
|
|
5
|
+
* For information about Message Service Queue and how to use it, see [What is Queue](https://www.alibabacloud.com/help/en/message-service/latest/createqueue).
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Available since v1.188.0.
|
|
8
8
|
*
|
|
@@ -15,24 +15,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* import * as alicloud from "@pulumi/alicloud";
|
|
16
16
|
*
|
|
17
17
|
* const config = new pulumi.Config();
|
|
18
|
-
* const name = config.get("name") || "
|
|
19
|
-
* const
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
18
|
+
* const name = config.get("name") || "terraform-example";
|
|
19
|
+
* const _default = new alicloud.message.ServiceQueue("default", {
|
|
20
|
+
* delaySeconds: 2,
|
|
21
|
+
* pollingWaitSeconds: 2,
|
|
22
|
+
* messageRetentionPeriod: 566,
|
|
23
|
+
* maximumMessageSize: 1123,
|
|
24
24
|
* visibilityTimeout: 30,
|
|
25
|
-
*
|
|
26
|
-
* loggingEnabled: true,
|
|
25
|
+
* queueName: name,
|
|
27
26
|
* });
|
|
28
27
|
* ```
|
|
29
28
|
*
|
|
30
29
|
* ## Import
|
|
31
30
|
*
|
|
32
|
-
* Message
|
|
31
|
+
* Message Service Queue can be imported using the id, e.g.
|
|
33
32
|
*
|
|
34
33
|
* ```sh
|
|
35
|
-
* $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <
|
|
34
|
+
* $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <id>
|
|
36
35
|
* ```
|
|
37
36
|
*/
|
|
38
37
|
export declare class ServiceQueue extends pulumi.CustomResource {
|
|
@@ -52,31 +51,35 @@ export declare class ServiceQueue extends pulumi.CustomResource {
|
|
|
52
51
|
*/
|
|
53
52
|
static isInstance(obj: any): obj is ServiceQueue;
|
|
54
53
|
/**
|
|
55
|
-
*
|
|
54
|
+
* Represents the time when the Queue was created.
|
|
55
|
+
*/
|
|
56
|
+
readonly createTime: pulumi.Output<number>;
|
|
57
|
+
/**
|
|
58
|
+
* This means that messages sent to the queue can only be consumed after the delay time set by this parameter, in seconds.
|
|
56
59
|
*/
|
|
57
60
|
readonly delaySeconds: pulumi.Output<number>;
|
|
58
61
|
/**
|
|
59
|
-
*
|
|
62
|
+
* Represents whether the log management function is enabled.
|
|
60
63
|
*/
|
|
61
64
|
readonly loggingEnabled: pulumi.Output<boolean | undefined>;
|
|
62
65
|
/**
|
|
63
|
-
*
|
|
66
|
+
* Represents the maximum length of the message body sent to the Queue, in Byte.
|
|
64
67
|
*/
|
|
65
68
|
readonly maximumMessageSize: pulumi.Output<number>;
|
|
66
69
|
/**
|
|
67
|
-
*
|
|
70
|
+
* Represents the longest life time of the message in the Queue.
|
|
68
71
|
*/
|
|
69
72
|
readonly messageRetentionPeriod: pulumi.Output<number>;
|
|
70
73
|
/**
|
|
71
|
-
* The
|
|
74
|
+
* The longest waiting time for a Queue request when the number of messages is empty, in seconds.
|
|
72
75
|
*/
|
|
73
76
|
readonly pollingWaitSeconds: pulumi.Output<number>;
|
|
74
77
|
/**
|
|
75
|
-
*
|
|
78
|
+
* Representative resources.
|
|
76
79
|
*/
|
|
77
80
|
readonly queueName: pulumi.Output<string>;
|
|
78
81
|
/**
|
|
79
|
-
*
|
|
82
|
+
* Represents the duration after the message is removed from the Queue and changed from the Active state to the Inactive state.
|
|
80
83
|
*/
|
|
81
84
|
readonly visibilityTimeout: pulumi.Output<number>;
|
|
82
85
|
/**
|
|
@@ -93,31 +96,35 @@ export declare class ServiceQueue extends pulumi.CustomResource {
|
|
|
93
96
|
*/
|
|
94
97
|
export interface ServiceQueueState {
|
|
95
98
|
/**
|
|
96
|
-
*
|
|
99
|
+
* Represents the time when the Queue was created.
|
|
100
|
+
*/
|
|
101
|
+
createTime?: pulumi.Input<number>;
|
|
102
|
+
/**
|
|
103
|
+
* This means that messages sent to the queue can only be consumed after the delay time set by this parameter, in seconds.
|
|
97
104
|
*/
|
|
98
105
|
delaySeconds?: pulumi.Input<number>;
|
|
99
106
|
/**
|
|
100
|
-
*
|
|
107
|
+
* Represents whether the log management function is enabled.
|
|
101
108
|
*/
|
|
102
109
|
loggingEnabled?: pulumi.Input<boolean>;
|
|
103
110
|
/**
|
|
104
|
-
*
|
|
111
|
+
* Represents the maximum length of the message body sent to the Queue, in Byte.
|
|
105
112
|
*/
|
|
106
113
|
maximumMessageSize?: pulumi.Input<number>;
|
|
107
114
|
/**
|
|
108
|
-
*
|
|
115
|
+
* Represents the longest life time of the message in the Queue.
|
|
109
116
|
*/
|
|
110
117
|
messageRetentionPeriod?: pulumi.Input<number>;
|
|
111
118
|
/**
|
|
112
|
-
* The
|
|
119
|
+
* The longest waiting time for a Queue request when the number of messages is empty, in seconds.
|
|
113
120
|
*/
|
|
114
121
|
pollingWaitSeconds?: pulumi.Input<number>;
|
|
115
122
|
/**
|
|
116
|
-
*
|
|
123
|
+
* Representative resources.
|
|
117
124
|
*/
|
|
118
125
|
queueName?: pulumi.Input<string>;
|
|
119
126
|
/**
|
|
120
|
-
*
|
|
127
|
+
* Represents the duration after the message is removed from the Queue and changed from the Active state to the Inactive state.
|
|
121
128
|
*/
|
|
122
129
|
visibilityTimeout?: pulumi.Input<number>;
|
|
123
130
|
}
|
|
@@ -126,31 +133,31 @@ export interface ServiceQueueState {
|
|
|
126
133
|
*/
|
|
127
134
|
export interface ServiceQueueArgs {
|
|
128
135
|
/**
|
|
129
|
-
*
|
|
136
|
+
* This means that messages sent to the queue can only be consumed after the delay time set by this parameter, in seconds.
|
|
130
137
|
*/
|
|
131
138
|
delaySeconds?: pulumi.Input<number>;
|
|
132
139
|
/**
|
|
133
|
-
*
|
|
140
|
+
* Represents whether the log management function is enabled.
|
|
134
141
|
*/
|
|
135
142
|
loggingEnabled?: pulumi.Input<boolean>;
|
|
136
143
|
/**
|
|
137
|
-
*
|
|
144
|
+
* Represents the maximum length of the message body sent to the Queue, in Byte.
|
|
138
145
|
*/
|
|
139
146
|
maximumMessageSize?: pulumi.Input<number>;
|
|
140
147
|
/**
|
|
141
|
-
*
|
|
148
|
+
* Represents the longest life time of the message in the Queue.
|
|
142
149
|
*/
|
|
143
150
|
messageRetentionPeriod?: pulumi.Input<number>;
|
|
144
151
|
/**
|
|
145
|
-
* The
|
|
152
|
+
* The longest waiting time for a Queue request when the number of messages is empty, in seconds.
|
|
146
153
|
*/
|
|
147
154
|
pollingWaitSeconds?: pulumi.Input<number>;
|
|
148
155
|
/**
|
|
149
|
-
*
|
|
156
|
+
* Representative resources.
|
|
150
157
|
*/
|
|
151
158
|
queueName: pulumi.Input<string>;
|
|
152
159
|
/**
|
|
153
|
-
*
|
|
160
|
+
* Represents the duration after the message is removed from the Queue and changed from the Active state to the Inactive state.
|
|
154
161
|
*/
|
|
155
162
|
visibilityTimeout?: pulumi.Input<number>;
|
|
156
163
|
}
|
package/message/serviceQueue.js
CHANGED
|
@@ -6,9 +6,9 @@ exports.ServiceQueue = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Message
|
|
9
|
+
* Provides a Message Service Queue resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Message
|
|
11
|
+
* For information about Message Service Queue and how to use it, see [What is Queue](https://www.alibabacloud.com/help/en/message-service/latest/createqueue).
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.188.0.
|
|
14
14
|
*
|
|
@@ -21,24 +21,23 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* import * as alicloud from "@pulumi/alicloud";
|
|
22
22
|
*
|
|
23
23
|
* const config = new pulumi.Config();
|
|
24
|
-
* const name = config.get("name") || "
|
|
25
|
-
* const
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
24
|
+
* const name = config.get("name") || "terraform-example";
|
|
25
|
+
* const _default = new alicloud.message.ServiceQueue("default", {
|
|
26
|
+
* delaySeconds: 2,
|
|
27
|
+
* pollingWaitSeconds: 2,
|
|
28
|
+
* messageRetentionPeriod: 566,
|
|
29
|
+
* maximumMessageSize: 1123,
|
|
30
30
|
* visibilityTimeout: 30,
|
|
31
|
-
*
|
|
32
|
-
* loggingEnabled: true,
|
|
31
|
+
* queueName: name,
|
|
33
32
|
* });
|
|
34
33
|
* ```
|
|
35
34
|
*
|
|
36
35
|
* ## Import
|
|
37
36
|
*
|
|
38
|
-
* Message
|
|
37
|
+
* Message Service Queue can be imported using the id, e.g.
|
|
39
38
|
*
|
|
40
39
|
* ```sh
|
|
41
|
-
* $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <
|
|
40
|
+
* $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <id>
|
|
42
41
|
* ```
|
|
43
42
|
*/
|
|
44
43
|
class ServiceQueue extends pulumi.CustomResource {
|
|
@@ -69,6 +68,7 @@ class ServiceQueue extends pulumi.CustomResource {
|
|
|
69
68
|
opts = opts || {};
|
|
70
69
|
if (opts.id) {
|
|
71
70
|
const state = argsOrState;
|
|
71
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
72
72
|
resourceInputs["delaySeconds"] = state ? state.delaySeconds : undefined;
|
|
73
73
|
resourceInputs["loggingEnabled"] = state ? state.loggingEnabled : undefined;
|
|
74
74
|
resourceInputs["maximumMessageSize"] = state ? state.maximumMessageSize : undefined;
|
|
@@ -89,6 +89,7 @@ class ServiceQueue extends pulumi.CustomResource {
|
|
|
89
89
|
resourceInputs["pollingWaitSeconds"] = args ? args.pollingWaitSeconds : undefined;
|
|
90
90
|
resourceInputs["queueName"] = args ? args.queueName : undefined;
|
|
91
91
|
resourceInputs["visibilityTimeout"] = args ? args.visibilityTimeout : undefined;
|
|
92
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
92
93
|
}
|
|
93
94
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
95
|
super(ServiceQueue.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceQueue.js","sourceRoot":"","sources":["../../message/serviceQueue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"serviceQueue.js","sourceRoot":"","sources":["../../message/serviceQueue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,K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AC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAlGL,oCAmGC;AArFG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -8,63 +8,6 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* > **NOTE:** Available since v1.157.0.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* Basic Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
-
*
|
|
19
|
-
* const config = new pulumi.Config();
|
|
20
|
-
* const name = config.get("name") || "terraform-example";
|
|
21
|
-
* const default = alicloud.mongodb.getZones({});
|
|
22
|
-
* const index = _default.then(_default => _default.zones).length.then(length => length - 1);
|
|
23
|
-
* const zoneId = _default.then(_default => _default.zones[index].id);
|
|
24
|
-
* const defaultNetwork = new alicloud.vpc.Network("default", {
|
|
25
|
-
* vpcName: name,
|
|
26
|
-
* cidrBlock: "172.17.3.0/24",
|
|
27
|
-
* });
|
|
28
|
-
* const defaultSwitch = new alicloud.vpc.Switch("default", {
|
|
29
|
-
* vswitchName: name,
|
|
30
|
-
* cidrBlock: "172.17.3.0/24",
|
|
31
|
-
* vpcId: defaultNetwork.id,
|
|
32
|
-
* zoneId: zoneId,
|
|
33
|
-
* });
|
|
34
|
-
* const defaultShardingInstance = new alicloud.mongodb.ShardingInstance("default", {
|
|
35
|
-
* zoneId: zoneId,
|
|
36
|
-
* vswitchId: defaultSwitch.id,
|
|
37
|
-
* engineVersion: "4.2",
|
|
38
|
-
* name: name,
|
|
39
|
-
* shardLists: [
|
|
40
|
-
* {
|
|
41
|
-
* nodeClass: "dds.shard.mid",
|
|
42
|
-
* nodeStorage: 10,
|
|
43
|
-
* },
|
|
44
|
-
* {
|
|
45
|
-
* nodeClass: "dds.shard.standard",
|
|
46
|
-
* nodeStorage: 20,
|
|
47
|
-
* readonlyReplicas: 1,
|
|
48
|
-
* },
|
|
49
|
-
* ],
|
|
50
|
-
* mongoLists: [
|
|
51
|
-
* {
|
|
52
|
-
* nodeClass: "dds.mongos.mid",
|
|
53
|
-
* },
|
|
54
|
-
* {
|
|
55
|
-
* nodeClass: "dds.mongos.mid",
|
|
56
|
-
* },
|
|
57
|
-
* ],
|
|
58
|
-
* });
|
|
59
|
-
* const defaultShardingNetworkPrivateAddress = new alicloud.mongodb.ShardingNetworkPrivateAddress("default", {
|
|
60
|
-
* dbInstanceId: defaultShardingInstance.id,
|
|
61
|
-
* nodeId: defaultShardingInstance.shardLists.apply(shardLists => shardLists[0].nodeId),
|
|
62
|
-
* zoneId: defaultShardingInstance.zoneId,
|
|
63
|
-
* accountName: "example",
|
|
64
|
-
* accountPassword: "Example_123",
|
|
65
|
-
* });
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
11
|
* ## Import
|
|
69
12
|
*
|
|
70
13
|
* MongoDB Sharding Network Private Address can be imported using the id, e.g.
|