@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
@@ -50,31 +50,31 @@ const utilities = __importStar(require("../utilities"));
50
50
  * const _default = alicloud.cloudsso.getDirectories({});
51
51
  * const defaultGetResourceDirectories = alicloud.resourcemanager.getResourceDirectories({});
52
52
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
53
- * _default.then(_default => _default.ids).length.apply(length => {
53
+ * _default.then(_default => _default.ids.length).apply(length => {
54
54
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
55
55
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
56
56
  * }
57
57
  * });
58
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
58
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
59
59
  * input: [
60
60
  * defaultDirectory.map(__item => __item.id),
61
61
  * [""],
62
62
  * ],
63
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
63
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
64
64
  * const defaultInteger = new random.index.Integer("default", {
65
65
  * min: 10000,
66
66
  * max: 99999,
67
67
  * });
68
68
  * const defaultUser = new alicloud.cloudsso.User("default", {
69
- * directoryId: directoryId,
69
+ * directoryId: String(directoryId),
70
70
  * userName: `${name}-${defaultInteger.result}`,
71
71
  * });
72
72
  * const defaultAccessConfiguration = new alicloud.cloudsso.AccessConfiguration("default", {
73
73
  * accessConfigurationName: `${name}-${defaultInteger.result}`,
74
- * directoryId: directoryId,
74
+ * directoryId: String(directoryId),
75
75
  * });
76
76
  * const defaultAccessConfigurationProvisioning = new alicloud.cloudsso.AccessConfigurationProvisioning("default", {
77
- * directoryId: directoryId,
77
+ * directoryId: String(directoryId),
78
78
  * accessConfigurationId: defaultAccessConfiguration.accessConfigurationId,
79
79
  * targetType: "RD-Account",
80
80
  * targetId: defaultGetResourceDirectories.then(defaultGetResourceDirectories => defaultGetResourceDirectories.directories?.[0]?.masterAccountId),
@@ -29,27 +29,27 @@ import * as pulumi from "@pulumi/pulumi";
29
29
  * max: 99999,
30
30
  * });
31
31
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
32
- * _default.then(_default => _default.ids).length.apply(length => {
32
+ * _default.then(_default => _default.ids.length).apply(length => {
33
33
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
34
34
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
35
35
  * }
36
36
  * });
37
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
37
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
38
38
  * input: [
39
39
  * defaultDirectory.map(__item => __item.id),
40
40
  * [""],
41
41
  * ],
42
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
42
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
43
43
  * const defaultUser = new alicloud.cloudsso.User("default", {
44
- * directoryId: directoryId,
44
+ * directoryId: String(directoryId),
45
45
  * userName: `${name}-${defaultInteger.result}`,
46
46
  * });
47
47
  * const defaultAccessConfiguration = new alicloud.cloudsso.AccessConfiguration("default", {
48
- * directoryId: directoryId,
48
+ * directoryId: String(directoryId),
49
49
  * accessConfigurationName: `${name}-${defaultInteger.result}`,
50
50
  * });
51
51
  * const defaultAccessManagement = new alicloud.cloudsso.AccessManagement("default", {
52
- * directoryId: directoryId,
52
+ * directoryId: String(directoryId),
53
53
  * accessConfigurationId: defaultAccessConfiguration.accessConfigurationId,
54
54
  * targetType: "RD-Account",
55
55
  * targetId: defaultGetResourceDirectories.then(defaultGetResourceDirectories => defaultGetResourceDirectories.directories?.[0]?.masterAccountId),
@@ -58,27 +58,27 @@ const utilities = __importStar(require("../utilities"));
58
58
  * max: 99999,
59
59
  * });
60
60
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
61
- * _default.then(_default => _default.ids).length.apply(length => {
61
+ * _default.then(_default => _default.ids.length).apply(length => {
62
62
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
63
63
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
64
64
  * }
65
65
  * });
66
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
66
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
67
67
  * input: [
68
68
  * defaultDirectory.map(__item => __item.id),
69
69
  * [""],
70
70
  * ],
71
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
71
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
72
72
  * const defaultUser = new alicloud.cloudsso.User("default", {
73
- * directoryId: directoryId,
73
+ * directoryId: String(directoryId),
74
74
  * userName: `${name}-${defaultInteger.result}`,
75
75
  * });
76
76
  * const defaultAccessConfiguration = new alicloud.cloudsso.AccessConfiguration("default", {
77
- * directoryId: directoryId,
77
+ * directoryId: String(directoryId),
78
78
  * accessConfigurationName: `${name}-${defaultInteger.result}`,
79
79
  * });
80
80
  * const defaultAccessManagement = new alicloud.cloudsso.AccessManagement("default", {
81
- * directoryId: directoryId,
81
+ * directoryId: String(directoryId),
82
82
  * accessConfigurationId: defaultAccessConfiguration.accessConfigurationId,
83
83
  * targetType: "RD-Account",
84
84
  * targetId: defaultGetResourceDirectories.then(defaultGetResourceDirectories => defaultGetResourceDirectories.directories?.[0]?.masterAccountId),
@@ -19,19 +19,19 @@ import * as pulumi from "@pulumi/pulumi";
19
19
  * const name = config.get("name") || "tf-example";
20
20
  * const _default = alicloud.cloudsso.getDirectories({});
21
21
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
22
- * _default.then(_default => _default.ids).length.apply(length => {
22
+ * _default.then(_default => _default.ids.length).apply(length => {
23
23
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
24
24
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
25
25
  * }
26
26
  * });
27
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
27
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
28
28
  * input: [
29
29
  * defaultDirectory.map(__item => __item.id),
30
30
  * [""],
31
31
  * ],
32
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
32
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
33
33
  * const defaultGroup = new alicloud.cloudsso.Group("default", {
34
- * directoryId: directoryId,
34
+ * directoryId: String(directoryId),
35
35
  * groupName: name,
36
36
  * description: name,
37
37
  * });
package/cloudsso/group.js CHANGED
@@ -48,19 +48,19 @@ const utilities = __importStar(require("../utilities"));
48
48
  * const name = config.get("name") || "tf-example";
49
49
  * const _default = alicloud.cloudsso.getDirectories({});
50
50
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
51
- * _default.then(_default => _default.ids).length.apply(length => {
51
+ * _default.then(_default => _default.ids.length).apply(length => {
52
52
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
53
53
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
54
54
  * }
55
55
  * });
56
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
56
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
57
57
  * input: [
58
58
  * defaultDirectory.map(__item => __item.id),
59
59
  * [""],
60
60
  * ],
61
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
61
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
62
62
  * const defaultGroup = new alicloud.cloudsso.Group("default", {
63
- * directoryId: directoryId,
63
+ * directoryId: String(directoryId),
64
64
  * groupName: name,
65
65
  * description: name,
66
66
  * });
@@ -24,19 +24,19 @@ import * as pulumi from "@pulumi/pulumi";
24
24
  * max: 99999,
25
25
  * });
26
26
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
27
- * _default.then(_default => _default.ids).length.apply(length => {
27
+ * _default.then(_default => _default.ids.length).apply(length => {
28
28
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
29
29
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
30
30
  * }
31
31
  * });
32
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
32
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
33
33
  * input: [
34
34
  * defaultDirectory.map(__item => __item.id),
35
35
  * [""],
36
36
  * ],
37
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
37
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
38
38
  * const defaultUser = new alicloud.cloudsso.User("default", {
39
- * directoryId: directoryId,
39
+ * directoryId: String(directoryId),
40
40
  * userName: `${name}-${defaultInteger.result}`,
41
41
  * });
42
42
  * ```
package/cloudsso/user.js CHANGED
@@ -53,19 +53,19 @@ const utilities = __importStar(require("../utilities"));
53
53
  * max: 99999,
54
54
  * });
55
55
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
56
- * _default.then(_default => _default.ids).length.apply(length => {
56
+ * _default.then(_default => _default.ids.length).apply(length => {
57
57
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
58
58
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
59
59
  * }
60
60
  * });
61
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
61
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
62
62
  * input: [
63
63
  * defaultDirectory.map(__item => __item.id),
64
64
  * [""],
65
65
  * ],
66
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
66
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
67
67
  * const defaultUser = new alicloud.cloudsso.User("default", {
68
- * directoryId: directoryId,
68
+ * directoryId: String(directoryId),
69
69
  * userName: `${name}-${defaultInteger.result}`,
70
70
  * });
71
71
  * ```
@@ -26,28 +26,28 @@ import * as pulumi from "@pulumi/pulumi";
26
26
  * max: 99999,
27
27
  * });
28
28
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
29
- * _default.then(_default => _default.ids).length.apply(length => {
29
+ * _default.then(_default => _default.ids.length).apply(length => {
30
30
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
31
31
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
32
32
  * }
33
33
  * });
34
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
34
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
35
35
  * input: [
36
36
  * defaultDirectory.map(__item => __item.id),
37
37
  * [""],
38
38
  * ],
39
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
39
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
40
40
  * const defaultUser = new alicloud.cloudsso.User("default", {
41
- * directoryId: directoryId,
41
+ * directoryId: String(directoryId),
42
42
  * userName: `${name}-${defaultInteger.result}`,
43
43
  * });
44
44
  * const defaultGroup = new alicloud.cloudsso.Group("default", {
45
- * directoryId: directoryId,
45
+ * directoryId: String(directoryId),
46
46
  * groupName: name,
47
47
  * description: name,
48
48
  * });
49
49
  * const defaultUserAttachment = new alicloud.cloudsso.UserAttachment("default", {
50
- * directoryId: directoryId,
50
+ * directoryId: String(directoryId),
51
51
  * userId: defaultUser.userId,
52
52
  * groupId: defaultGroup.groupId,
53
53
  * });
@@ -55,28 +55,28 @@ const utilities = __importStar(require("../utilities"));
55
55
  * max: 99999,
56
56
  * });
57
57
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
58
- * _default.then(_default => _default.ids).length.apply(length => {
58
+ * _default.then(_default => _default.ids.length).apply(length => {
59
59
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
60
60
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
61
61
  * }
62
62
  * });
63
- * const directoryId = pulumi.all([_default.then(_default => _default.ids).length, _default, std.concat({
63
+ * const directoryId = Promise.all([_default.then(_default => _default.ids.length), _default, std.concat({
64
64
  * input: [
65
65
  * defaultDirectory.map(__item => __item.id),
66
66
  * [""],
67
67
  * ],
68
- * })]).apply(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
68
+ * })]).then(([length, _default, invoke]) => length > 0 ? _default.ids?.[0] : invoke.result?.[0]);
69
69
  * const defaultUser = new alicloud.cloudsso.User("default", {
70
- * directoryId: directoryId,
70
+ * directoryId: String(directoryId),
71
71
  * userName: `${name}-${defaultInteger.result}`,
72
72
  * });
73
73
  * const defaultGroup = new alicloud.cloudsso.Group("default", {
74
- * directoryId: directoryId,
74
+ * directoryId: String(directoryId),
75
75
  * groupName: name,
76
76
  * description: name,
77
77
  * });
78
78
  * const defaultUserAttachment = new alicloud.cloudsso.UserAttachment("default", {
79
- * directoryId: directoryId,
79
+ * directoryId: String(directoryId),
80
80
  * userId: defaultUser.userId,
81
81
  * groupId: defaultGroup.groupId,
82
82
  * });
@@ -29,23 +29,23 @@ import * as outputs from "../types/output";
29
29
  * max: 99999,
30
30
  * });
31
31
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
32
- * defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids).length.apply(length => {
32
+ * defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids.length).apply(length => {
33
33
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
34
34
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
35
35
  * }
36
36
  * });
37
- * const directoryId = pulumi.all([defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids).length, defaultGetDirectories, std.concat({
37
+ * const directoryId = Promise.all([defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids.length), defaultGetDirectories, std.concat({
38
38
  * input: [
39
39
  * defaultDirectory.map(__item => __item.id),
40
40
  * [""],
41
41
  * ],
42
- * })]).apply(([length, defaultGetDirectories, invoke]) => length > 0 ? defaultGetDirectories.ids?.[0] : invoke.result?.[0]);
42
+ * })]).then(([length, defaultGetDirectories, invoke]) => length > 0 ? defaultGetDirectories.ids?.[0] : invoke.result?.[0]);
43
43
  * const defaultUser = new alicloud.cloudsso.User("default", {
44
- * directoryId: directoryId,
44
+ * directoryId: String(directoryId),
45
45
  * userName: `${name}-${defaultInteger.result}`,
46
46
  * });
47
47
  * const defaultGroup = new alicloud.cloudsso.Group("default", {
48
- * directoryId: directoryId,
48
+ * directoryId: String(directoryId),
49
49
  * groupName: name,
50
50
  * description: name,
51
51
  * });
@@ -56,23 +56,23 @@ const utilities = __importStar(require("../utilities"));
56
56
  * max: 99999,
57
57
  * });
58
58
  * const defaultDirectory: alicloud.cloudsso.Directory[] = [];
59
- * defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids).length.apply(length => {
59
+ * defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids.length).apply(length => {
60
60
  * for (let range = 0; range < (length > 0 ? 0 : 1); range++) {
61
61
  * defaultDirectory.push(new alicloud.cloudsso.Directory(`default-${range}`, {directoryName: name}));
62
62
  * }
63
63
  * });
64
- * const directoryId = pulumi.all([defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids).length, defaultGetDirectories, std.concat({
64
+ * const directoryId = Promise.all([defaultGetDirectories.then(defaultGetDirectories => defaultGetDirectories.ids.length), defaultGetDirectories, std.concat({
65
65
  * input: [
66
66
  * defaultDirectory.map(__item => __item.id),
67
67
  * [""],
68
68
  * ],
69
- * })]).apply(([length, defaultGetDirectories, invoke]) => length > 0 ? defaultGetDirectories.ids?.[0] : invoke.result?.[0]);
69
+ * })]).then(([length, defaultGetDirectories, invoke]) => length > 0 ? defaultGetDirectories.ids?.[0] : invoke.result?.[0]);
70
70
  * const defaultUser = new alicloud.cloudsso.User("default", {
71
- * directoryId: directoryId,
71
+ * directoryId: String(directoryId),
72
72
  * userName: `${name}-${defaultInteger.result}`,
73
73
  * });
74
74
  * const defaultGroup = new alicloud.cloudsso.Group("default", {
75
- * directoryId: directoryId,
75
+ * directoryId: String(directoryId),
76
76
  * groupName: name,
77
77
  * description: name,
78
78
  * });
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as alicloud from "@pulumi/alicloud";
14
14
  *
15
- * // You need to activate the link before you can return to the alarm contact information, otherwise diff will appear in terraform. So please confirm the activation link as soon as possible. Besides, you can ignore the diff of the alarm contact information by `lifestyle`.
15
+ * // You need to activate the link before you can return to the alarm contact information, otherwise diff will appear in pulumi. So please confirm the activation link as soon as possible. Besides, you can ignore the diff of the alarm contact information by `lifestyle`.
16
16
  * const example = new alicloud.cms.AlarmContact("example", {
17
17
  * alarmContactName: "tf-example",
18
18
  * describe: "For example",
@@ -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
- * // You need to activate the link before you can return to the alarm contact information, otherwise diff will appear in terraform. So please confirm the activation link as soon as possible. Besides, you can ignore the diff of the alarm contact information by `lifestyle`.
44
+ * // You need to activate the link before you can return to the alarm contact information, otherwise diff will appear in pulumi. So please confirm the activation link as soon as possible. Besides, you can ignore the diff of the alarm contact information by `lifestyle`.
45
45
  * const example = new alicloud.cms.AlarmContact("example", {
46
46
  * alarmContactName: "tf-example",
47
47
  * describe: "For example",
@@ -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 myNamespaces = alicloud.cr.getNamespaces({
18
18
  * nameRegex: "my-namespace",
19
19
  * outputFile: "my-namespace-json",
@@ -71,7 +71,7 @@ export interface GetNamespacesResult {
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 myNamespaces = alicloud.cr.getNamespaces({
76
76
  * nameRegex: "my-namespace",
77
77
  * outputFile: "my-namespace-json",
@@ -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 myNamespaces = alicloud.cr.getNamespaces({
46
46
  * nameRegex: "my-namespace",
47
47
  * outputFile: "my-namespace-json",
@@ -71,7 +71,7 @@ exports.getNamespaces = getNamespaces;
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 myNamespaces = alicloud.cr.getNamespaces({
76
76
  * nameRegex: "my-namespace",
77
77
  * outputFile: "my-namespace-json",
package/cr/getRepos.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 myRepos = alicloud.cr.getRepos({
18
18
  * nameRegex: "my-repos",
19
19
  * outputFile: "my-repo-json",
@@ -84,7 +84,7 @@ export interface GetReposResult {
84
84
  * import * as pulumi from "@pulumi/pulumi";
85
85
  * import * as alicloud from "@pulumi/alicloud";
86
86
  *
87
- * // Declare the data source
87
+ * // Declare the function
88
88
  * const myRepos = alicloud.cr.getRepos({
89
89
  * nameRegex: "my-repos",
90
90
  * outputFile: "my-repo-json",
package/cr/getRepos.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 myRepos = alicloud.cr.getRepos({
46
46
  * nameRegex: "my-repos",
47
47
  * outputFile: "my-repo-json",
@@ -73,7 +73,7 @@ exports.getRepos = getRepos;
73
73
  * import * as pulumi from "@pulumi/pulumi";
74
74
  * import * as alicloud from "@pulumi/alicloud";
75
75
  *
76
- * // Declare the data source
76
+ * // Declare the function
77
77
  * const myRepos = alicloud.cr.getRepos({
78
78
  * nameRegex: "my-repos",
79
79
  * outputFile: "my-repo-json",
@@ -14,7 +14,7 @@ import * as outputs from "../types/output";
14
14
  * import * as alicloud from "@pulumi/alicloud";
15
15
  * import * as std from "@pulumi/std";
16
16
  *
17
- * // Declare the data source
17
+ * // Declare the function
18
18
  * const k8s = alicloud.cs.getManagedKubernetesClusters({
19
19
  * nameRegex: "my-cluster",
20
20
  * enableDetails: false,
@@ -91,7 +91,7 @@ export interface GetClusterCredentialResult {
91
91
  * import * as alicloud from "@pulumi/alicloud";
92
92
  * import * as std from "@pulumi/std";
93
93
  *
94
- * // Declare the data source
94
+ * // Declare the function
95
95
  * const k8s = alicloud.cs.getManagedKubernetesClusters({
96
96
  * nameRegex: "my-cluster",
97
97
  * enableDetails: false,
@@ -42,7 +42,7 @@ const utilities = __importStar(require("../utilities"));
42
42
  * import * as alicloud from "@pulumi/alicloud";
43
43
  * import * as std from "@pulumi/std";
44
44
  *
45
- * // Declare the data source
45
+ * // Declare the function
46
46
  * const k8s = alicloud.cs.getManagedKubernetesClusters({
47
47
  * nameRegex: "my-cluster",
48
48
  * enableDetails: false,
@@ -79,7 +79,7 @@ exports.getClusterCredential = getClusterCredential;
79
79
  * import * as alicloud from "@pulumi/alicloud";
80
80
  * import * as std from "@pulumi/std";
81
81
  *
82
- * // Declare the data source
82
+ * // Declare the function
83
83
  * const k8s = alicloud.cs.getManagedKubernetesClusters({
84
84
  * nameRegex: "my-cluster",
85
85
  * enableDetails: false,
@@ -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 k8sClusters = alicloud.cs.getEdgeKubernetesClusters({
18
18
  * nameRegex: "my-first-k8s",
19
19
  * outputFile: "my-first-k8s-json",
@@ -80,7 +80,7 @@ export interface GetEdgeKubernetesClustersResult {
80
80
  * import * as pulumi from "@pulumi/pulumi";
81
81
  * import * as alicloud from "@pulumi/alicloud";
82
82
  *
83
- * // Declare the data source
83
+ * // Declare the function
84
84
  * const k8sClusters = alicloud.cs.getEdgeKubernetesClusters({
85
85
  * nameRegex: "my-first-k8s",
86
86
  * outputFile: "my-first-k8s-json",
@@ -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 k8sClusters = alicloud.cs.getEdgeKubernetesClusters({
46
46
  * nameRegex: "my-first-k8s",
47
47
  * outputFile: "my-first-k8s-json",
@@ -73,7 +73,7 @@ exports.getEdgeKubernetesClusters = getEdgeKubernetesClusters;
73
73
  * import * as pulumi from "@pulumi/pulumi";
74
74
  * import * as alicloud from "@pulumi/alicloud";
75
75
  *
76
- * // Declare the data source
76
+ * // Declare the function
77
77
  * const k8sClusters = alicloud.cs.getEdgeKubernetesClusters({
78
78
  * nameRegex: "my-first-k8s",
79
79
  * outputFile: "my-first-k8s-json",
@@ -15,7 +15,7 @@ import * as outputs from "../types/output";
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as alicloud from "@pulumi/alicloud";
17
17
  *
18
- * // Declare the data source
18
+ * // Declare the function
19
19
  * const k8sClusters = alicloud.cs.getKubernetesClusters({
20
20
  * nameRegex: "my-first-k8s",
21
21
  * outputFile: "my-first-k8s-json",
@@ -95,7 +95,7 @@ export interface GetKubernetesClustersResult {
95
95
  * import * as pulumi from "@pulumi/pulumi";
96
96
  * import * as alicloud from "@pulumi/alicloud";
97
97
  *
98
- * // Declare the data source
98
+ * // Declare the function
99
99
  * const k8sClusters = alicloud.cs.getKubernetesClusters({
100
100
  * nameRegex: "my-first-k8s",
101
101
  * outputFile: "my-first-k8s-json",
@@ -43,7 +43,7 @@ const utilities = __importStar(require("../utilities"));
43
43
  * import * as pulumi from "@pulumi/pulumi";
44
44
  * import * as alicloud from "@pulumi/alicloud";
45
45
  *
46
- * // Declare the data source
46
+ * // Declare the function
47
47
  * const k8sClusters = alicloud.cs.getKubernetesClusters({
48
48
  * nameRegex: "my-first-k8s",
49
49
  * outputFile: "my-first-k8s-json",
@@ -79,7 +79,7 @@ exports.getKubernetesClusters = getKubernetesClusters;
79
79
  * import * as pulumi from "@pulumi/pulumi";
80
80
  * import * as alicloud from "@pulumi/alicloud";
81
81
  *
82
- * // Declare the data source
82
+ * // Declare the function
83
83
  * const k8sClusters = alicloud.cs.getKubernetesClusters({
84
84
  * nameRegex: "my-first-k8s",
85
85
  * outputFile: "my-first-k8s-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 _default = alicloud.ram.getUsers({});
16
16
  * // permissions
17
17
  * const defaultGetKubernetesPermission = _default.then(_default => alicloud.cs.getKubernetesPermission({
@@ -58,7 +58,7 @@ export interface GetKubernetesPermissionResult {
58
58
  * import * as pulumi from "@pulumi/pulumi";
59
59
  * import * as alicloud from "@pulumi/alicloud";
60
60
  *
61
- * // Declare the data source
61
+ * // Declare the function
62
62
  * const _default = alicloud.ram.getUsers({});
63
63
  * // permissions
64
64
  * const defaultGetKubernetesPermission = _default.then(_default => alicloud.cs.getKubernetesPermission({
@@ -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 _default = alicloud.ram.getUsers({});
44
44
  * // permissions
45
45
  * const defaultGetKubernetesPermission = _default.then(_default => alicloud.cs.getKubernetesPermission({
@@ -66,7 +66,7 @@ exports.getKubernetesPermission = getKubernetesPermission;
66
66
  * import * as pulumi from "@pulumi/pulumi";
67
67
  * import * as alicloud from "@pulumi/alicloud";
68
68
  *
69
- * // Declare the data source
69
+ * // Declare the function
70
70
  * const _default = alicloud.ram.getUsers({});
71
71
  * // permissions
72
72
  * const defaultGetKubernetesPermission = _default.then(_default => alicloud.cs.getKubernetesPermission({
@@ -15,7 +15,7 @@ import * as outputs from "../types/output";
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as alicloud from "@pulumi/alicloud";
17
17
  *
18
- * // Declare the data source
18
+ * // Declare the function
19
19
  * const k8sClusters = alicloud.cs.getManagedKubernetesClusters({
20
20
  * nameRegex: "my-first-k8s",
21
21
  * outputFile: "my-first-k8s-json",
@@ -95,7 +95,7 @@ export interface GetManagedKubernetesClustersResult {
95
95
  * import * as pulumi from "@pulumi/pulumi";
96
96
  * import * as alicloud from "@pulumi/alicloud";
97
97
  *
98
- * // Declare the data source
98
+ * // Declare the function
99
99
  * const k8sClusters = alicloud.cs.getManagedKubernetesClusters({
100
100
  * nameRegex: "my-first-k8s",
101
101
  * outputFile: "my-first-k8s-json",
@@ -43,7 +43,7 @@ const utilities = __importStar(require("../utilities"));
43
43
  * import * as pulumi from "@pulumi/pulumi";
44
44
  * import * as alicloud from "@pulumi/alicloud";
45
45
  *
46
- * // Declare the data source
46
+ * // Declare the function
47
47
  * const k8sClusters = alicloud.cs.getManagedKubernetesClusters({
48
48
  * nameRegex: "my-first-k8s",
49
49
  * outputFile: "my-first-k8s-json",
@@ -79,7 +79,7 @@ exports.getManagedKubernetesClusters = getManagedKubernetesClusters;
79
79
  * import * as pulumi from "@pulumi/pulumi";
80
80
  * import * as alicloud from "@pulumi/alicloud";
81
81
  *
82
- * // Declare the data source
82
+ * // Declare the function
83
83
  * const k8sClusters = alicloud.cs.getManagedKubernetesClusters({
84
84
  * nameRegex: "my-first-k8s",
85
85
  * outputFile: "my-first-k8s-json",