@pulumi/alicloud 3.109.0 → 3.109.1

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.
Files changed (167) hide show
  1. package/adb/getZones.d.ts +2 -2
  2. package/adb/getZones.js +2 -2
  3. package/arms/integrationExporter.d.ts +1 -1
  4. package/arms/integrationExporter.js +1 -1
  5. package/arms/prometheus.d.ts +1 -1
  6. package/arms/prometheus.js +1 -1
  7. package/arms/remoteWrite.d.ts +1 -1
  8. package/arms/remoteWrite.js +1 -1
  9. package/bastionhost/hostShareKey.d.ts +3 -3
  10. package/bastionhost/hostShareKey.js +3 -3
  11. package/cassandra/getZones.d.ts +2 -2
  12. package/cassandra/getZones.js +2 -2
  13. package/cddc/dedicatedPropreHost.d.ts +15 -15
  14. package/cddc/dedicatedPropreHost.js +15 -15
  15. package/cen/getTransitRouterRouteTablePropagations.d.ts +2 -2
  16. package/cen/getTransitRouterRouteTablePropagations.js +2 -2
  17. package/cen/transitRouterRouteEntry.d.ts +1 -1
  18. package/cen/transitRouterRouteEntry.js +1 -1
  19. package/cen/vbrHealthCheck.d.ts +1 -1
  20. package/cen/vbrHealthCheck.js +1 -1
  21. package/cfg/aggregateCompliancePack.d.ts +1 -1
  22. package/cfg/aggregateCompliancePack.js +1 -1
  23. package/cfg/aggregateConfigRule.d.ts +1 -1
  24. package/cfg/aggregateConfigRule.js +1 -1
  25. package/cfg/aggregateDelivery.d.ts +1 -1
  26. package/cfg/aggregateDelivery.js +1 -1
  27. package/cfg/aggregator.d.ts +1 -1
  28. package/cfg/aggregator.js +1 -1
  29. package/cloudfirewall/getNatFirewalls.d.ts +2 -2
  30. package/cloudfirewall/getNatFirewalls.js +2 -2
  31. package/cloudsso/accessConfigurationProvisioning.d.ts +6 -6
  32. package/cloudsso/accessConfigurationProvisioning.js +6 -6
  33. package/cloudsso/accessManagement.d.ts +6 -6
  34. package/cloudsso/accessManagement.js +6 -6
  35. package/cloudsso/group.d.ts +4 -4
  36. package/cloudsso/group.js +4 -4
  37. package/cloudsso/user.d.ts +4 -4
  38. package/cloudsso/user.js +4 -4
  39. package/cloudsso/userAttachment.d.ts +6 -6
  40. package/cloudsso/userAttachment.js +6 -6
  41. package/cloudsso/userProvisioning.d.ts +5 -5
  42. package/cloudsso/userProvisioning.js +5 -5
  43. package/cms/alarmContact.d.ts +1 -1
  44. package/cms/alarmContact.js +1 -1
  45. package/cr/getNamespaces.d.ts +2 -2
  46. package/cr/getNamespaces.js +2 -2
  47. package/cr/getRepos.d.ts +2 -2
  48. package/cr/getRepos.js +2 -2
  49. package/cs/getClusterCredential.d.ts +2 -2
  50. package/cs/getClusterCredential.js +2 -2
  51. package/cs/getEdgeKubernetesClusters.d.ts +2 -2
  52. package/cs/getEdgeKubernetesClusters.js +2 -2
  53. package/cs/getKubernetesClusters.d.ts +2 -2
  54. package/cs/getKubernetesClusters.js +2 -2
  55. package/cs/getKubernetesPermission.d.ts +2 -2
  56. package/cs/getKubernetesPermission.js +2 -2
  57. package/cs/getManagedKubernetesClusters.d.ts +2 -2
  58. package/cs/getManagedKubernetesClusters.js +2 -2
  59. package/cs/getRegistryEnterpriseInstances.d.ts +2 -2
  60. package/cs/getRegistryEnterpriseInstances.js +2 -2
  61. package/cs/getRegistryEnterpriseNamespaces.d.ts +2 -2
  62. package/cs/getRegistryEnterpriseNamespaces.js +2 -2
  63. package/cs/getRegistryEnterpriseSyncRules.d.ts +2 -2
  64. package/cs/getRegistryEnterpriseSyncRules.js +2 -2
  65. package/cs/getServerlessKubernetesClusters.d.ts +2 -2
  66. package/cs/getServerlessKubernetesClusters.js +2 -2
  67. package/cs/kubernetes.d.ts +4 -4
  68. package/cs/kubernetes.js +4 -4
  69. package/cs/kubernetesAddon.d.ts +1 -1
  70. package/cs/kubernetesAddon.js +1 -1
  71. package/dms/getEnterpriseInstances.d.ts +2 -2
  72. package/dms/getEnterpriseInstances.js +2 -2
  73. package/dms/getEnterpriseUsers.d.ts +2 -2
  74. package/dms/getEnterpriseUsers.js +2 -2
  75. package/dms/getUserTenants.d.ts +2 -2
  76. package/dms/getUserTenants.js +2 -2
  77. package/ecp/getInstances.d.ts +10 -10
  78. package/ecp/getInstances.js +10 -10
  79. package/ecs/getInstanceTypes.d.ts +2 -2
  80. package/ecs/getInstanceTypes.js +2 -2
  81. package/ecs/getKeyPairs.d.ts +2 -2
  82. package/ecs/getKeyPairs.js +2 -2
  83. package/ecs/getSecurityGroupRules.d.ts +4 -4
  84. package/ecs/getSecurityGroupRules.js +4 -4
  85. package/elasticsearch/getZones.d.ts +2 -2
  86. package/elasticsearch/getZones.js +2 -2
  87. package/expressconnect/grantRuleToCen.d.ts +1 -1
  88. package/expressconnect/grantRuleToCen.js +1 -1
  89. package/expressconnect/virtualBorderRouter.d.ts +1 -1
  90. package/expressconnect/virtualBorderRouter.js +1 -1
  91. package/expressconnect/virtualPhysicalConnection.d.ts +1 -1
  92. package/expressconnect/virtualPhysicalConnection.js +1 -1
  93. package/fc/getZones.d.ts +2 -2
  94. package/fc/getZones.js +2 -2
  95. package/ga/getDomains.d.ts +4 -4
  96. package/ga/getDomains.js +4 -4
  97. package/getZones.d.ts +2 -2
  98. package/getZones.js +2 -2
  99. package/gpdb/backupPolicy.d.ts +4 -4
  100. package/gpdb/backupPolicy.js +4 -4
  101. package/gpdb/getZones.d.ts +2 -2
  102. package/gpdb/getZones.js +2 -2
  103. package/kms/getAliases.d.ts +2 -2
  104. package/kms/getAliases.js +2 -2
  105. package/kms/getKeyVersions.d.ts +2 -2
  106. package/kms/getKeyVersions.js +2 -2
  107. package/kms/getKeys.d.ts +2 -2
  108. package/kms/getKeys.js +2 -2
  109. package/kms/getSecretVersions.d.ts +2 -2
  110. package/kms/getSecretVersions.js +2 -2
  111. package/kms/getSecrets.d.ts +2 -2
  112. package/kms/getSecrets.js +2 -2
  113. package/kvstore/getConnections.d.ts +2 -2
  114. package/kvstore/getConnections.js +2 -2
  115. package/kvstore/getZones.d.ts +2 -2
  116. package/kvstore/getZones.js +2 -2
  117. package/mongodb/account.d.ts +1 -1
  118. package/mongodb/account.js +1 -1
  119. package/mongodb/auditPolicy.d.ts +1 -1
  120. package/mongodb/auditPolicy.js +1 -1
  121. package/mongodb/getZones.d.ts +2 -2
  122. package/mongodb/getZones.js +2 -2
  123. package/mongodb/instance.d.ts +1 -1
  124. package/mongodb/instance.js +1 -1
  125. package/mongodb/publicNetworkAddress.d.ts +1 -1
  126. package/mongodb/publicNetworkAddress.js +1 -1
  127. package/mongodb/replicaSetRole.d.ts +1 -1
  128. package/mongodb/replicaSetRole.js +1 -1
  129. package/mongodb/shardingNetworkPublicAddress.d.ts +1 -1
  130. package/mongodb/shardingNetworkPublicAddress.js +1 -1
  131. package/mse/getClusters.d.ts +2 -2
  132. package/mse/getClusters.js +2 -2
  133. package/mse/getEngineNamespaces.d.ts +2 -2
  134. package/mse/getEngineNamespaces.js +2 -2
  135. package/nas/mountTarget.d.ts +2 -2
  136. package/nas/mountTarget.js +2 -2
  137. package/ocean/baseInstance.d.ts +3 -3
  138. package/ocean/baseInstance.js +3 -3
  139. package/oos/getExecutions.d.ts +2 -2
  140. package/oos/getExecutions.js +2 -2
  141. package/oos/getTemplates.d.ts +2 -2
  142. package/oos/getTemplates.js +2 -2
  143. package/package.json +2 -2
  144. package/polardb/cluster.d.ts +3 -3
  145. package/polardb/cluster.js +3 -3
  146. package/polardb/getZones.d.ts +2 -2
  147. package/polardb/getZones.js +2 -2
  148. package/rds/getCharacterSetNames.d.ts +2 -2
  149. package/rds/getCharacterSetNames.js +2 -2
  150. package/rds/getCrossRegions.d.ts +2 -2
  151. package/rds/getCrossRegions.js +2 -2
  152. package/redis/backup.d.ts +4 -4
  153. package/redis/backup.js +4 -4
  154. package/resourcemanager/resourceDirectory.d.ts +1 -1
  155. package/resourcemanager/resourceDirectory.js +1 -1
  156. package/servicemesh/extensionProvider.d.ts +6 -6
  157. package/servicemesh/extensionProvider.js +6 -6
  158. package/vpc/bgpGroup.d.ts +1 -1
  159. package/vpc/bgpGroup.js +1 -1
  160. package/vpc/bgpNetwork.d.ts +1 -1
  161. package/vpc/bgpNetwork.js +1 -1
  162. package/vpc/bgpPeer.d.ts +1 -1
  163. package/vpc/bgpPeer.js +1 -1
  164. package/vpn/getGateways.d.ts +8 -8
  165. package/vpn/getGateways.js +8 -8
  166. package/waf/instance.d.ts +1 -1
  167. package/waf/instance.js +1 -1
@@ -61,7 +61,7 @@ const utilities = __importStar(require("../utilities"));
61
61
  * peeringSubnetMask: "255.255.255.252",
62
62
  * physicalConnectionId: _default.then(_default => _default.connections?.[0]?.id),
63
63
  * virtualBorderRouterName: name,
64
- * vlanId: Number(defaultInteger.id),
64
+ * vlanId: defaultInteger.id,
65
65
  * minRxInterval: 1000,
66
66
  * minTxInterval: 1000,
67
67
  * detectMultiplier: 10,
@@ -31,7 +31,7 @@ import * as pulumi from "@pulumi/pulumi";
31
31
  * orderMode: "PayByPhysicalConnectionOwner",
32
32
  * parentPhysicalConnectionId: example.then(example => example.ids?.[0]),
33
33
  * spec: "50M",
34
- * vlanId: Number(vlanId.id),
34
+ * vlanId: vlanId.id,
35
35
  * vpconnAliUid: _default.then(_default => _default.id),
36
36
  * });
37
37
  * ```
@@ -60,7 +60,7 @@ const utilities = __importStar(require("../utilities"));
60
60
  * orderMode: "PayByPhysicalConnectionOwner",
61
61
  * parentPhysicalConnectionId: example.then(example => example.ids?.[0]),
62
62
  * spec: "50M",
63
- * vlanId: Number(vlanId.id),
63
+ * vlanId: vlanId.id,
64
64
  * vpconnAliUid: _default.then(_default => _default.id),
65
65
  * });
66
66
  * ```
package/fc/getZones.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const zonesIds = alicloud.fc.getZones({});
16
16
  * ```
17
17
  */
@@ -54,7 +54,7 @@ export interface GetZonesResult {
54
54
  * import * as pulumi from "@pulumi/pulumi";
55
55
  * import * as alicloud from "@pulumi/alicloud";
56
56
  *
57
- * // Declare the data source
57
+ * // Declare the function
58
58
  * const zonesIds = alicloud.fc.getZones({});
59
59
  * ```
60
60
  */
package/fc/getZones.js CHANGED
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const zonesIds = alicloud.fc.getZones({});
44
44
  * ```
45
45
  */
@@ -62,7 +62,7 @@ exports.getZones = getZones;
62
62
  * import * as pulumi from "@pulumi/pulumi";
63
63
  * import * as alicloud from "@pulumi/alicloud";
64
64
  *
65
- * // Declare the data source
65
+ * // Declare the function
66
66
  * const zonesIds = alicloud.fc.getZones({});
67
67
  * ```
68
68
  */
@@ -15,7 +15,7 @@ import * as outputs from "../types/output";
15
15
  * status: "active",
16
16
  * });
17
17
  * const defaultAccelerator: alicloud.ga.Accelerator[] = [];
18
- * _default.then(_default => _default.accelerators).length.apply(length => {
18
+ * _default.then(_default => _default.accelerators.length).apply(length => {
19
19
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
20
20
  * defaultAccelerator.push(new alicloud.ga.Accelerator(`default-${range}`, {
21
21
  * duration: 1,
@@ -24,7 +24,7 @@ import * as outputs from "../types/output";
24
24
  * }));
25
25
  * }
26
26
  * });
27
- * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators).length, _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
27
+ * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators.length), _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
28
28
  * const defaultGetDomains = alicloud.ga.getDomains({
29
29
  * acceleratorId: acceleratorIdLocals,
30
30
  * domain: "your_domain",
@@ -104,7 +104,7 @@ export interface GetDomainsResult {
104
104
  * status: "active",
105
105
  * });
106
106
  * const defaultAccelerator: alicloud.ga.Accelerator[] = [];
107
- * _default.then(_default => _default.accelerators).length.apply(length => {
107
+ * _default.then(_default => _default.accelerators.length).apply(length => {
108
108
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
109
109
  * defaultAccelerator.push(new alicloud.ga.Accelerator(`default-${range}`, {
110
110
  * duration: 1,
@@ -113,7 +113,7 @@ export interface GetDomainsResult {
113
113
  * }));
114
114
  * }
115
115
  * });
116
- * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators).length, _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
116
+ * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators.length), _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
117
117
  * const defaultGetDomains = alicloud.ga.getDomains({
118
118
  * acceleratorId: acceleratorIdLocals,
119
119
  * domain: "your_domain",
package/ga/getDomains.js CHANGED
@@ -43,7 +43,7 @@ const utilities = __importStar(require("../utilities"));
43
43
  * status: "active",
44
44
  * });
45
45
  * const defaultAccelerator: alicloud.ga.Accelerator[] = [];
46
- * _default.then(_default => _default.accelerators).length.apply(length => {
46
+ * _default.then(_default => _default.accelerators.length).apply(length => {
47
47
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
48
48
  * defaultAccelerator.push(new alicloud.ga.Accelerator(`default-${range}`, {
49
49
  * duration: 1,
@@ -52,7 +52,7 @@ const utilities = __importStar(require("../utilities"));
52
52
  * }));
53
53
  * }
54
54
  * });
55
- * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators).length, _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
55
+ * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators.length), _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
56
56
  * const defaultGetDomains = alicloud.ga.getDomains({
57
57
  * acceleratorId: acceleratorIdLocals,
58
58
  * domain: "your_domain",
@@ -89,7 +89,7 @@ exports.getDomains = getDomains;
89
89
  * status: "active",
90
90
  * });
91
91
  * const defaultAccelerator: alicloud.ga.Accelerator[] = [];
92
- * _default.then(_default => _default.accelerators).length.apply(length => {
92
+ * _default.then(_default => _default.accelerators.length).apply(length => {
93
93
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
94
94
  * defaultAccelerator.push(new alicloud.ga.Accelerator(`default-${range}`, {
95
95
  * duration: 1,
@@ -98,7 +98,7 @@ exports.getDomains = getDomains;
98
98
  * }));
99
99
  * }
100
100
  * });
101
- * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators).length, _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
101
+ * const acceleratorId = pulumi.all([_default.then(_default => _default.accelerators.length), _default, defaultAccelerator[0].id]).apply(([length, _default, id]) => length > 0 ? _default.accelerators?.[0]?.id : id);
102
102
  * const defaultGetDomains = alicloud.ga.getDomains({
103
103
  * acceleratorId: acceleratorIdLocals,
104
104
  * domain: "your_domain",
package/getZones.d.ts CHANGED
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const zonesDs = alicloud.getZones({
16
16
  * availableInstanceType: "ecs.n4.large",
17
17
  * availableDiskCategory: "cloud_ssd",
@@ -116,7 +116,7 @@ export interface GetZonesResult {
116
116
  * import * as pulumi from "@pulumi/pulumi";
117
117
  * import * as alicloud from "@pulumi/alicloud";
118
118
  *
119
- * // Declare the data source
119
+ * // Declare the function
120
120
  * const zonesDs = alicloud.getZones({
121
121
  * availableInstanceType: "ecs.n4.large",
122
122
  * availableDiskCategory: "cloud_ssd",
package/getZones.js CHANGED
@@ -39,7 +39,7 @@ const utilities = __importStar(require("./utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const zonesDs = alicloud.getZones({
44
44
  * availableInstanceType: "ecs.n4.large",
45
45
  * availableDiskCategory: "cloud_ssd",
@@ -75,7 +75,7 @@ exports.getZones = getZones;
75
75
  * import * as pulumi from "@pulumi/pulumi";
76
76
  * import * as alicloud from "@pulumi/alicloud";
77
77
  *
78
- * // Declare the data source
78
+ * // Declare the function
79
79
  * const zonesDs = alicloud.getZones({
80
80
  * availableInstanceType: "ecs.n4.large",
81
81
  * availableDiskCategory: "cloud_ssd",
@@ -26,7 +26,7 @@ import * as pulumi from "@pulumi/pulumi";
26
26
  * zoneId: _default.ids?.[0],
27
27
  * }));
28
28
  * const vswitch: alicloud.vpc.Switch[] = [];
29
- * defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids).length.apply(length => {
29
+ * defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids.length).apply(length => {
30
30
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
31
31
  * vswitch.push(new alicloud.vpc.Switch(`vswitch-${range}`, {
32
32
  * vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
@@ -40,12 +40,12 @@ import * as pulumi from "@pulumi/pulumi";
40
40
  * }));
41
41
  * }
42
42
  * });
43
- * const vswitchId = pulumi.all([defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids).length, defaultGetSwitches, std.concat({
43
+ * const vswitchId = Promise.all([defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids.length), defaultGetSwitches, std.concat({
44
44
  * input: [
45
45
  * vswitch.map(__item => __item.id),
46
46
  * [""],
47
47
  * ],
48
- * })]).apply(([length, defaultGetSwitches, invoke]) => length > 0 ? defaultGetSwitches.ids?.[0] : invoke.result?.[0]);
48
+ * })]).then(([length, defaultGetSwitches, invoke]) => length > 0 ? defaultGetSwitches.ids?.[0] : invoke.result?.[0]);
49
49
  * const defaultInstance = new alicloud.gpdb.Instance("default", {
50
50
  * dbInstanceCategory: "HighAvailability",
51
51
  * dbInstanceClass: "gpdb.group.segsdx1",
@@ -61,7 +61,7 @@ import * as pulumi from "@pulumi/pulumi";
61
61
  * segNodeNum: 4,
62
62
  * storageSize: 50,
63
63
  * vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
64
- * vswitchId: vswitchId,
64
+ * vswitchId: String(vswitchId),
65
65
  * ipWhitelists: [{
66
66
  * securityIpList: "127.0.0.1",
67
67
  * }],
@@ -55,7 +55,7 @@ const utilities = __importStar(require("../utilities"));
55
55
  * zoneId: _default.ids?.[0],
56
56
  * }));
57
57
  * const vswitch: alicloud.vpc.Switch[] = [];
58
- * defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids).length.apply(length => {
58
+ * defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids.length).apply(length => {
59
59
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
60
60
  * vswitch.push(new alicloud.vpc.Switch(`vswitch-${range}`, {
61
61
  * vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
@@ -69,12 +69,12 @@ const utilities = __importStar(require("../utilities"));
69
69
  * }));
70
70
  * }
71
71
  * });
72
- * const vswitchId = pulumi.all([defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids).length, defaultGetSwitches, std.concat({
72
+ * const vswitchId = Promise.all([defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids.length), defaultGetSwitches, std.concat({
73
73
  * input: [
74
74
  * vswitch.map(__item => __item.id),
75
75
  * [""],
76
76
  * ],
77
- * })]).apply(([length, defaultGetSwitches, invoke]) => length > 0 ? defaultGetSwitches.ids?.[0] : invoke.result?.[0]);
77
+ * })]).then(([length, defaultGetSwitches, invoke]) => length > 0 ? defaultGetSwitches.ids?.[0] : invoke.result?.[0]);
78
78
  * const defaultInstance = new alicloud.gpdb.Instance("default", {
79
79
  * dbInstanceCategory: "HighAvailability",
80
80
  * dbInstanceClass: "gpdb.group.segsdx1",
@@ -90,7 +90,7 @@ const utilities = __importStar(require("../utilities"));
90
90
  * segNodeNum: 4,
91
91
  * storageSize: 50,
92
92
  * vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
93
- * vswitchId: vswitchId,
93
+ * vswitchId: String(vswitchId),
94
94
  * ipWhitelists: [{
95
95
  * securityIpList: "127.0.0.1",
96
96
  * }],
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const zonesIds = alicloud.gpdb.getZones({});
16
16
  * // Create an Gpdb instance with the first matched zone
17
17
  * const hbase = new alicloud.hbase.Instance("hbase", {availabilityZone: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
@@ -61,7 +61,7 @@ export interface GetZonesResult {
61
61
  * import * as pulumi from "@pulumi/pulumi";
62
62
  * import * as alicloud from "@pulumi/alicloud";
63
63
  *
64
- * // Declare the data source
64
+ * // Declare the function
65
65
  * const zonesIds = alicloud.gpdb.getZones({});
66
66
  * // Create an Gpdb instance with the first matched zone
67
67
  * const hbase = new alicloud.hbase.Instance("hbase", {availabilityZone: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
package/gpdb/getZones.js CHANGED
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const zonesIds = alicloud.gpdb.getZones({});
44
44
  * // Create an Gpdb instance with the first matched zone
45
45
  * const hbase = new alicloud.hbase.Instance("hbase", {availabilityZone: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
@@ -65,7 +65,7 @@ exports.getZones = getZones;
65
65
  * import * as pulumi from "@pulumi/pulumi";
66
66
  * import * as alicloud from "@pulumi/alicloud";
67
67
  *
68
- * // Declare the data source
68
+ * // Declare the function
69
69
  * const zonesIds = alicloud.gpdb.getZones({});
70
70
  * // Create an Gpdb instance with the first matched zone
71
71
  * const hbase = new alicloud.hbase.Instance("hbase", {availabilityZone: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const kmsAliases = alicloud.kms.getAliases({
16
16
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
17
17
  * nameRegex: "alias/tf-example",
@@ -71,7 +71,7 @@ export interface GetAliasesResult {
71
71
  * import * as pulumi from "@pulumi/pulumi";
72
72
  * import * as alicloud from "@pulumi/alicloud";
73
73
  *
74
- * // Declare the data source
74
+ * // Declare the function
75
75
  * const kmsAliases = alicloud.kms.getAliases({
76
76
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
77
77
  * nameRegex: "alias/tf-example",
package/kms/getAliases.js CHANGED
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const kmsAliases = alicloud.kms.getAliases({
44
44
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
45
45
  * nameRegex: "alias/tf-example",
@@ -68,7 +68,7 @@ exports.getAliases = getAliases;
68
68
  * import * as pulumi from "@pulumi/pulumi";
69
69
  * import * as alicloud from "@pulumi/alicloud";
70
70
  *
71
- * // Declare the data source
71
+ * // Declare the function
72
72
  * const kmsAliases = alicloud.kms.getAliases({
73
73
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
74
74
  * nameRegex: "alias/tf-example",
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const alicloudKmsKeyVersionsDs = alicloud.kms.getKeyVersions({
16
16
  * keyId: "08438c-b4d5-4d05-928c-07b7xxxx",
17
17
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
@@ -70,7 +70,7 @@ export interface GetKeyVersionsResult {
70
70
  * import * as pulumi from "@pulumi/pulumi";
71
71
  * import * as alicloud from "@pulumi/alicloud";
72
72
  *
73
- * // Declare the data source
73
+ * // Declare the function
74
74
  * const alicloudKmsKeyVersionsDs = alicloud.kms.getKeyVersions({
75
75
  * keyId: "08438c-b4d5-4d05-928c-07b7xxxx",
76
76
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const alicloudKmsKeyVersionsDs = alicloud.kms.getKeyVersions({
44
44
  * keyId: "08438c-b4d5-4d05-928c-07b7xxxx",
45
45
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
@@ -67,7 +67,7 @@ exports.getKeyVersions = getKeyVersions;
67
67
  * import * as pulumi from "@pulumi/pulumi";
68
68
  * import * as alicloud from "@pulumi/alicloud";
69
69
  *
70
- * // Declare the data source
70
+ * // Declare the function
71
71
  * const alicloudKmsKeyVersionsDs = alicloud.kms.getKeyVersions({
72
72
  * keyId: "08438c-b4d5-4d05-928c-07b7xxxx",
73
73
  * ids: ["d89e8a53-b708-41aa-8c67-6873axxx"],
package/kms/getKeys.d.ts CHANGED
@@ -13,7 +13,7 @@ import * as outputs from "../types/output";
13
13
  * import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as alicloud from "@pulumi/alicloud";
15
15
  *
16
- * // Declare the data source
16
+ * // Declare the function
17
17
  * const kmsKeysDs = alicloud.kms.getKeys({
18
18
  * descriptionRegex: "Hello KMS",
19
19
  * outputFile: "kms_keys.json",
@@ -90,7 +90,7 @@ export interface GetKeysResult {
90
90
  * import * as pulumi from "@pulumi/pulumi";
91
91
  * import * as alicloud from "@pulumi/alicloud";
92
92
  *
93
- * // Declare the data source
93
+ * // Declare the function
94
94
  * const kmsKeysDs = alicloud.kms.getKeys({
95
95
  * descriptionRegex: "Hello KMS",
96
96
  * outputFile: "kms_keys.json",
package/kms/getKeys.js CHANGED
@@ -41,7 +41,7 @@ const utilities = __importStar(require("../utilities"));
41
41
  * import * as pulumi from "@pulumi/pulumi";
42
42
  * import * as alicloud from "@pulumi/alicloud";
43
43
  *
44
- * // Declare the data source
44
+ * // Declare the function
45
45
  * const kmsKeysDs = alicloud.kms.getKeys({
46
46
  * descriptionRegex: "Hello KMS",
47
47
  * outputFile: "kms_keys.json",
@@ -75,7 +75,7 @@ exports.getKeys = getKeys;
75
75
  * import * as pulumi from "@pulumi/pulumi";
76
76
  * import * as alicloud from "@pulumi/alicloud";
77
77
  *
78
- * // Declare the data source
78
+ * // Declare the function
79
79
  * const kmsKeysDs = alicloud.kms.getKeys({
80
80
  * descriptionRegex: "Hello KMS",
81
81
  * outputFile: "kms_keys.json",
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const kmsSecretVersionsDs = alicloud.kms.getSecretVersions({
16
16
  * secretName: "secret_name",
17
17
  * enableDetails: true,
@@ -85,7 +85,7 @@ export interface GetSecretVersionsResult {
85
85
  * import * as pulumi from "@pulumi/pulumi";
86
86
  * import * as alicloud from "@pulumi/alicloud";
87
87
  *
88
- * // Declare the data source
88
+ * // Declare the function
89
89
  * const kmsSecretVersionsDs = alicloud.kms.getSecretVersions({
90
90
  * secretName: "secret_name",
91
91
  * enableDetails: true,
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const kmsSecretVersionsDs = alicloud.kms.getSecretVersions({
44
44
  * secretName: "secret_name",
45
45
  * enableDetails: true,
@@ -70,7 +70,7 @@ exports.getSecretVersions = getSecretVersions;
70
70
  * import * as pulumi from "@pulumi/pulumi";
71
71
  * import * as alicloud from "@pulumi/alicloud";
72
72
  *
73
- * // Declare the data source
73
+ * // Declare the function
74
74
  * const kmsSecretVersionsDs = alicloud.kms.getSecretVersions({
75
75
  * secretName: "secret_name",
76
76
  * enableDetails: true,
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const kmsSecretsDs = alicloud.kms.getSecrets({
16
16
  * fetchTags: true,
17
17
  * nameRegex: "name_regex",
@@ -103,7 +103,7 @@ export interface GetSecretsResult {
103
103
  * import * as pulumi from "@pulumi/pulumi";
104
104
  * import * as alicloud from "@pulumi/alicloud";
105
105
  *
106
- * // Declare the data source
106
+ * // Declare the function
107
107
  * const kmsSecretsDs = alicloud.kms.getSecrets({
108
108
  * fetchTags: true,
109
109
  * nameRegex: "name_regex",
package/kms/getSecrets.js CHANGED
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const kmsSecretsDs = alicloud.kms.getSecrets({
44
44
  * fetchTags: true,
45
45
  * nameRegex: "name_regex",
@@ -76,7 +76,7 @@ exports.getSecrets = getSecrets;
76
76
  * import * as pulumi from "@pulumi/pulumi";
77
77
  * import * as alicloud from "@pulumi/alicloud";
78
78
  *
79
- * // Declare the data source
79
+ * // Declare the function
80
80
  * const kmsSecretsDs = alicloud.kms.getSecrets({
81
81
  * fetchTags: true,
82
82
  * nameRegex: "name_regex",
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const example = alicloud.kvstore.getConnections({
16
16
  * ids: "r-wer123456",
17
17
  * });
@@ -61,7 +61,7 @@ export interface GetConnectionsResult {
61
61
  * import * as pulumi from "@pulumi/pulumi";
62
62
  * import * as alicloud from "@pulumi/alicloud";
63
63
  *
64
- * // Declare the data source
64
+ * // Declare the function
65
65
  * const example = alicloud.kvstore.getConnections({
66
66
  * ids: "r-wer123456",
67
67
  * });
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const example = alicloud.kvstore.getConnections({
44
44
  * ids: "r-wer123456",
45
45
  * });
@@ -65,7 +65,7 @@ exports.getConnections = getConnections;
65
65
  * import * as pulumi from "@pulumi/pulumi";
66
66
  * import * as alicloud from "@pulumi/alicloud";
67
67
  *
68
- * // Declare the data source
68
+ * // Declare the function
69
69
  * const example = alicloud.kvstore.getConnections({
70
70
  * ids: "r-wer123456",
71
71
  * });
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const zonesIds = alicloud.kvstore.getZones({
16
16
  * instanceChargeType: "PostPaid",
17
17
  * });
@@ -74,7 +74,7 @@ export interface GetZonesResult {
74
74
  * import * as pulumi from "@pulumi/pulumi";
75
75
  * import * as alicloud from "@pulumi/alicloud";
76
76
  *
77
- * // Declare the data source
77
+ * // Declare the function
78
78
  * const zonesIds = alicloud.kvstore.getZones({
79
79
  * instanceChargeType: "PostPaid",
80
80
  * });
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const zonesIds = alicloud.kvstore.getZones({
44
44
  * instanceChargeType: "PostPaid",
45
45
  * });
@@ -68,7 +68,7 @@ exports.getZones = getZones;
68
68
  * import * as pulumi from "@pulumi/pulumi";
69
69
  * import * as alicloud from "@pulumi/alicloud";
70
70
  *
71
- * // Declare the data source
71
+ * // Declare the function
72
72
  * const zonesIds = alicloud.kvstore.getZones({
73
73
  * instanceChargeType: "PostPaid",
74
74
  * });
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  * const config = new pulumi.Config();
18
18
  * const name = config.get("name") || "terraform-example";
19
19
  * const _default = alicloud.mongodb.getZones({});
20
- * const index = _default.then(_default => _default.zones).length.apply(length => length - 1);
20
+ * const index = _default.then(_default => _default.zones.length).then(length => length - 1);
21
21
  * const zoneId = _default.then(_default => _default.zones[index].id);
22
22
  * const defaultNetwork = new alicloud.vpc.Network("default", {
23
23
  * vpcName: name,
@@ -46,7 +46,7 @@ const utilities = __importStar(require("../utilities"));
46
46
  * const config = new pulumi.Config();
47
47
  * const name = config.get("name") || "terraform-example";
48
48
  * const _default = alicloud.mongodb.getZones({});
49
- * const index = _default.then(_default => _default.zones).length.apply(length => length - 1);
49
+ * const index = _default.then(_default => _default.zones.length).then(length => length - 1);
50
50
  * const zoneId = _default.then(_default => _default.zones[index].id);
51
51
  * const defaultNetwork = new alicloud.vpc.Network("default", {
52
52
  * vpcName: name,
@@ -17,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
17
17
  * const config = new pulumi.Config();
18
18
  * const name = config.get("name") || "terraform-example";
19
19
  * const _default = alicloud.mongodb.getZones({});
20
- * const index = _default.then(_default => _default.zones).length.apply(length => length - 1);
20
+ * const index = _default.then(_default => _default.zones.length).then(length => length - 1);
21
21
  * const zoneId = _default.then(_default => _default.zones[index].id);
22
22
  * const defaultNetwork = new alicloud.vpc.Network("default", {
23
23
  * vpcName: name,
@@ -46,7 +46,7 @@ const utilities = __importStar(require("../utilities"));
46
46
  * const config = new pulumi.Config();
47
47
  * const name = config.get("name") || "terraform-example";
48
48
  * const _default = alicloud.mongodb.getZones({});
49
- * const index = _default.then(_default => _default.zones).length.apply(length => length - 1);
49
+ * const index = _default.then(_default => _default.zones.length).then(length => length - 1);
50
50
  * const zoneId = _default.then(_default => _default.zones[index].id);
51
51
  * const defaultNetwork = new alicloud.vpc.Network("default", {
52
52
  * vpcName: name,
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as alicloud from "@pulumi/alicloud";
13
13
  *
14
- * // Declare the data source
14
+ * // Declare the function
15
15
  * const zonesIds = alicloud.mongodb.getZones({});
16
16
  * // Create an mongoDB instance with the first matched zone
17
17
  * const mongodb = new alicloud.mongodb.Instance("mongodb", {zoneId: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
@@ -61,7 +61,7 @@ export interface GetZonesResult {
61
61
  * import * as pulumi from "@pulumi/pulumi";
62
62
  * import * as alicloud from "@pulumi/alicloud";
63
63
  *
64
- * // Declare the data source
64
+ * // Declare the function
65
65
  * const zonesIds = alicloud.mongodb.getZones({});
66
66
  * // Create an mongoDB instance with the first matched zone
67
67
  * const mongodb = new alicloud.mongodb.Instance("mongodb", {zoneId: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
@@ -39,7 +39,7 @@ const utilities = __importStar(require("../utilities"));
39
39
  * import * as pulumi from "@pulumi/pulumi";
40
40
  * import * as alicloud from "@pulumi/alicloud";
41
41
  *
42
- * // Declare the data source
42
+ * // Declare the function
43
43
  * const zonesIds = alicloud.mongodb.getZones({});
44
44
  * // Create an mongoDB instance with the first matched zone
45
45
  * const mongodb = new alicloud.mongodb.Instance("mongodb", {zoneId: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
@@ -65,7 +65,7 @@ exports.getZones = getZones;
65
65
  * import * as pulumi from "@pulumi/pulumi";
66
66
  * import * as alicloud from "@pulumi/alicloud";
67
67
  *
68
- * // Declare the data source
68
+ * // Declare the function
69
69
  * const zonesIds = alicloud.mongodb.getZones({});
70
70
  * // Create an mongoDB instance with the first matched zone
71
71
  * const mongodb = new alicloud.mongodb.Instance("mongodb", {zoneId: zonesIds.then(zonesIds => zonesIds.zones?.[0]?.id)});
@@ -23,7 +23,7 @@ import * as outputs from "../types/output";
23
23
  * const config = new pulumi.Config();
24
24
  * const name = config.get("name") || "terraform-example";
25
25
  * const _default = alicloud.mongodb.getZones({});
26
- * const index = _default.then(_default => _default.zones).length.apply(length => length - 1);
26
+ * const index = _default.then(_default => _default.zones.length).then(length => length - 1);
27
27
  * const zoneId = _default.then(_default => _default.zones[index].id);
28
28
  * const defaultNetwork = new alicloud.vpc.Network("default", {
29
29
  * vpcName: name,