@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.
- package/adb/getZones.d.ts +2 -2
- package/adb/getZones.js +2 -2
- package/arms/integrationExporter.d.ts +1 -1
- package/arms/integrationExporter.js +1 -1
- package/arms/prometheus.d.ts +1 -1
- package/arms/prometheus.js +1 -1
- package/arms/remoteWrite.d.ts +1 -1
- package/arms/remoteWrite.js +1 -1
- package/bastionhost/hostShareKey.d.ts +3 -3
- package/bastionhost/hostShareKey.js +3 -3
- package/cassandra/getZones.d.ts +2 -2
- package/cassandra/getZones.js +2 -2
- package/cddc/dedicatedPropreHost.d.ts +15 -15
- package/cddc/dedicatedPropreHost.js +15 -15
- package/cen/getTransitRouterRouteTablePropagations.d.ts +2 -2
- package/cen/getTransitRouterRouteTablePropagations.js +2 -2
- package/cen/transitRouterRouteEntry.d.ts +1 -1
- package/cen/transitRouterRouteEntry.js +1 -1
- package/cen/vbrHealthCheck.d.ts +1 -1
- package/cen/vbrHealthCheck.js +1 -1
- package/cfg/aggregateCompliancePack.d.ts +1 -1
- package/cfg/aggregateCompliancePack.js +1 -1
- package/cfg/aggregateConfigRule.d.ts +1 -1
- package/cfg/aggregateConfigRule.js +1 -1
- package/cfg/aggregateDelivery.d.ts +1 -1
- package/cfg/aggregateDelivery.js +1 -1
- package/cfg/aggregator.d.ts +1 -1
- package/cfg/aggregator.js +1 -1
- package/cloudfirewall/getNatFirewalls.d.ts +2 -2
- package/cloudfirewall/getNatFirewalls.js +2 -2
- package/cloudsso/accessConfigurationProvisioning.d.ts +6 -6
- package/cloudsso/accessConfigurationProvisioning.js +6 -6
- package/cloudsso/accessManagement.d.ts +6 -6
- package/cloudsso/accessManagement.js +6 -6
- package/cloudsso/group.d.ts +4 -4
- package/cloudsso/group.js +4 -4
- package/cloudsso/user.d.ts +4 -4
- package/cloudsso/user.js +4 -4
- package/cloudsso/userAttachment.d.ts +6 -6
- package/cloudsso/userAttachment.js +6 -6
- package/cloudsso/userProvisioning.d.ts +5 -5
- package/cloudsso/userProvisioning.js +5 -5
- package/cms/alarmContact.d.ts +1 -1
- package/cms/alarmContact.js +1 -1
- package/cr/getNamespaces.d.ts +2 -2
- package/cr/getNamespaces.js +2 -2
- package/cr/getRepos.d.ts +2 -2
- package/cr/getRepos.js +2 -2
- package/cs/getClusterCredential.d.ts +2 -2
- package/cs/getClusterCredential.js +2 -2
- package/cs/getEdgeKubernetesClusters.d.ts +2 -2
- package/cs/getEdgeKubernetesClusters.js +2 -2
- package/cs/getKubernetesClusters.d.ts +2 -2
- package/cs/getKubernetesClusters.js +2 -2
- package/cs/getKubernetesPermission.d.ts +2 -2
- package/cs/getKubernetesPermission.js +2 -2
- package/cs/getManagedKubernetesClusters.d.ts +2 -2
- package/cs/getManagedKubernetesClusters.js +2 -2
- package/cs/getRegistryEnterpriseInstances.d.ts +2 -2
- package/cs/getRegistryEnterpriseInstances.js +2 -2
- package/cs/getRegistryEnterpriseNamespaces.d.ts +2 -2
- package/cs/getRegistryEnterpriseNamespaces.js +2 -2
- package/cs/getRegistryEnterpriseSyncRules.d.ts +2 -2
- package/cs/getRegistryEnterpriseSyncRules.js +2 -2
- package/cs/getServerlessKubernetesClusters.d.ts +2 -2
- package/cs/getServerlessKubernetesClusters.js +2 -2
- package/cs/kubernetes.d.ts +4 -4
- package/cs/kubernetes.js +4 -4
- package/cs/kubernetesAddon.d.ts +1 -1
- package/cs/kubernetesAddon.js +1 -1
- package/dms/getEnterpriseInstances.d.ts +2 -2
- package/dms/getEnterpriseInstances.js +2 -2
- package/dms/getEnterpriseUsers.d.ts +2 -2
- package/dms/getEnterpriseUsers.js +2 -2
- package/dms/getUserTenants.d.ts +2 -2
- package/dms/getUserTenants.js +2 -2
- package/ecp/getInstances.d.ts +10 -10
- package/ecp/getInstances.js +10 -10
- package/ecs/getInstanceTypes.d.ts +2 -2
- package/ecs/getInstanceTypes.js +2 -2
- package/ecs/getKeyPairs.d.ts +2 -2
- package/ecs/getKeyPairs.js +2 -2
- package/ecs/getSecurityGroupRules.d.ts +4 -4
- package/ecs/getSecurityGroupRules.js +4 -4
- package/elasticsearch/getZones.d.ts +2 -2
- package/elasticsearch/getZones.js +2 -2
- package/expressconnect/grantRuleToCen.d.ts +1 -1
- package/expressconnect/grantRuleToCen.js +1 -1
- package/expressconnect/virtualBorderRouter.d.ts +1 -1
- package/expressconnect/virtualBorderRouter.js +1 -1
- package/expressconnect/virtualPhysicalConnection.d.ts +1 -1
- package/expressconnect/virtualPhysicalConnection.js +1 -1
- package/fc/getZones.d.ts +2 -2
- package/fc/getZones.js +2 -2
- package/ga/getDomains.d.ts +4 -4
- package/ga/getDomains.js +4 -4
- package/getZones.d.ts +2 -2
- package/getZones.js +2 -2
- package/gpdb/backupPolicy.d.ts +4 -4
- package/gpdb/backupPolicy.js +4 -4
- package/gpdb/getZones.d.ts +2 -2
- package/gpdb/getZones.js +2 -2
- package/kms/getAliases.d.ts +2 -2
- package/kms/getAliases.js +2 -2
- package/kms/getKeyVersions.d.ts +2 -2
- package/kms/getKeyVersions.js +2 -2
- package/kms/getKeys.d.ts +2 -2
- package/kms/getKeys.js +2 -2
- package/kms/getSecretVersions.d.ts +2 -2
- package/kms/getSecretVersions.js +2 -2
- package/kms/getSecrets.d.ts +2 -2
- package/kms/getSecrets.js +2 -2
- package/kvstore/getConnections.d.ts +2 -2
- package/kvstore/getConnections.js +2 -2
- package/kvstore/getZones.d.ts +2 -2
- package/kvstore/getZones.js +2 -2
- package/mongodb/account.d.ts +1 -1
- package/mongodb/account.js +1 -1
- package/mongodb/auditPolicy.d.ts +1 -1
- package/mongodb/auditPolicy.js +1 -1
- package/mongodb/getZones.d.ts +2 -2
- package/mongodb/getZones.js +2 -2
- package/mongodb/instance.d.ts +1 -1
- package/mongodb/instance.js +1 -1
- package/mongodb/publicNetworkAddress.d.ts +1 -1
- package/mongodb/publicNetworkAddress.js +1 -1
- package/mongodb/replicaSetRole.d.ts +1 -1
- package/mongodb/replicaSetRole.js +1 -1
- package/mongodb/shardingNetworkPublicAddress.d.ts +1 -1
- package/mongodb/shardingNetworkPublicAddress.js +1 -1
- package/mse/getClusters.d.ts +2 -2
- package/mse/getClusters.js +2 -2
- package/mse/getEngineNamespaces.d.ts +2 -2
- package/mse/getEngineNamespaces.js +2 -2
- package/nas/mountTarget.d.ts +2 -2
- package/nas/mountTarget.js +2 -2
- package/ocean/baseInstance.d.ts +3 -3
- package/ocean/baseInstance.js +3 -3
- package/oos/getExecutions.d.ts +2 -2
- package/oos/getExecutions.js +2 -2
- package/oos/getTemplates.d.ts +2 -2
- package/oos/getTemplates.js +2 -2
- package/package.json +2 -2
- package/polardb/cluster.d.ts +3 -3
- package/polardb/cluster.js +3 -3
- package/polardb/getZones.d.ts +2 -2
- package/polardb/getZones.js +2 -2
- package/rds/getCharacterSetNames.d.ts +2 -2
- package/rds/getCharacterSetNames.js +2 -2
- package/rds/getCrossRegions.d.ts +2 -2
- package/rds/getCrossRegions.js +2 -2
- package/redis/backup.d.ts +4 -4
- package/redis/backup.js +4 -4
- package/resourcemanager/resourceDirectory.d.ts +1 -1
- package/resourcemanager/resourceDirectory.js +1 -1
- package/servicemesh/extensionProvider.d.ts +6 -6
- package/servicemesh/extensionProvider.js +6 -6
- package/vpc/bgpGroup.d.ts +1 -1
- package/vpc/bgpGroup.js +1 -1
- package/vpc/bgpNetwork.d.ts +1 -1
- package/vpc/bgpNetwork.js +1 -1
- package/vpc/bgpPeer.d.ts +1 -1
- package/vpc/bgpPeer.js +1 -1
- package/vpn/getGateways.d.ts +8 -8
- package/vpn/getGateways.js +8 -8
- package/waf/instance.d.ts +1 -1
- package/waf/instance.js +1 -1
|
@@ -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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const myInstances = alicloud.cs.getRegistryEnterpriseInstances({
|
|
16
16
|
* nameRegex: "my-instances",
|
|
17
17
|
* outputFile: "my-instances-json",
|
|
@@ -88,7 +88,7 @@ export interface GetRegistryEnterpriseInstancesResult {
|
|
|
88
88
|
* import * as pulumi from "@pulumi/pulumi";
|
|
89
89
|
* import * as alicloud from "@pulumi/alicloud";
|
|
90
90
|
*
|
|
91
|
-
* // Declare the
|
|
91
|
+
* // Declare the function
|
|
92
92
|
* const myInstances = alicloud.cs.getRegistryEnterpriseInstances({
|
|
93
93
|
* nameRegex: "my-instances",
|
|
94
94
|
* outputFile: "my-instances-json",
|
|
@@ -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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const myInstances = alicloud.cs.getRegistryEnterpriseInstances({
|
|
44
44
|
* nameRegex: "my-instances",
|
|
45
45
|
* outputFile: "my-instances-json",
|
|
@@ -70,7 +70,7 @@ exports.getRegistryEnterpriseInstances = getRegistryEnterpriseInstances;
|
|
|
70
70
|
* import * as pulumi from "@pulumi/pulumi";
|
|
71
71
|
* import * as alicloud from "@pulumi/alicloud";
|
|
72
72
|
*
|
|
73
|
-
* // Declare the
|
|
73
|
+
* // Declare the function
|
|
74
74
|
* const myInstances = alicloud.cs.getRegistryEnterpriseInstances({
|
|
75
75
|
* nameRegex: "my-instances",
|
|
76
76
|
* outputFile: "my-instances-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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const myNamespaces = alicloud.cs.getRegistryEnterpriseNamespaces({
|
|
16
16
|
* instanceId: "cri-xxx",
|
|
17
17
|
* nameRegex: "my-namespace",
|
|
@@ -80,7 +80,7 @@ export interface GetRegistryEnterpriseNamespacesResult {
|
|
|
80
80
|
* import * as pulumi from "@pulumi/pulumi";
|
|
81
81
|
* import * as alicloud from "@pulumi/alicloud";
|
|
82
82
|
*
|
|
83
|
-
* // Declare the
|
|
83
|
+
* // Declare the function
|
|
84
84
|
* const myNamespaces = alicloud.cs.getRegistryEnterpriseNamespaces({
|
|
85
85
|
* instanceId: "cri-xxx",
|
|
86
86
|
* nameRegex: "my-namespace",
|
|
@@ -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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const myNamespaces = alicloud.cs.getRegistryEnterpriseNamespaces({
|
|
44
44
|
* instanceId: "cri-xxx",
|
|
45
45
|
* nameRegex: "my-namespace",
|
|
@@ -69,7 +69,7 @@ exports.getRegistryEnterpriseNamespaces = getRegistryEnterpriseNamespaces;
|
|
|
69
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
70
70
|
* import * as alicloud from "@pulumi/alicloud";
|
|
71
71
|
*
|
|
72
|
-
* // Declare the
|
|
72
|
+
* // Declare the function
|
|
73
73
|
* const myNamespaces = alicloud.cs.getRegistryEnterpriseNamespaces({
|
|
74
74
|
* instanceId: "cri-xxx",
|
|
75
75
|
* nameRegex: "my-namespace",
|
|
@@ -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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const mySyncRules = alicloud.cs.getRegistryEnterpriseSyncRules({
|
|
16
16
|
* instanceId: "cri-xxx",
|
|
17
17
|
* namespaceName: "test-namespace",
|
|
@@ -106,7 +106,7 @@ export interface GetRegistryEnterpriseSyncRulesResult {
|
|
|
106
106
|
* import * as pulumi from "@pulumi/pulumi";
|
|
107
107
|
* import * as alicloud from "@pulumi/alicloud";
|
|
108
108
|
*
|
|
109
|
-
* // Declare the
|
|
109
|
+
* // Declare the function
|
|
110
110
|
* const mySyncRules = alicloud.cs.getRegistryEnterpriseSyncRules({
|
|
111
111
|
* instanceId: "cri-xxx",
|
|
112
112
|
* namespaceName: "test-namespace",
|
|
@@ -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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const mySyncRules = alicloud.cs.getRegistryEnterpriseSyncRules({
|
|
44
44
|
* instanceId: "cri-xxx",
|
|
45
45
|
* namespaceName: "test-namespace",
|
|
@@ -74,7 +74,7 @@ exports.getRegistryEnterpriseSyncRules = getRegistryEnterpriseSyncRules;
|
|
|
74
74
|
* import * as pulumi from "@pulumi/pulumi";
|
|
75
75
|
* import * as alicloud from "@pulumi/alicloud";
|
|
76
76
|
*
|
|
77
|
-
* // Declare the
|
|
77
|
+
* // Declare the function
|
|
78
78
|
* const mySyncRules = alicloud.cs.getRegistryEnterpriseSyncRules({
|
|
79
79
|
* instanceId: "cri-xxx",
|
|
80
80
|
* namespaceName: "test-namespace",
|
|
@@ -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
|
|
18
|
+
* // Declare the function
|
|
19
19
|
* const k8sClusters = alicloud.cs.getServerlessKubernetesClusters({
|
|
20
20
|
* nameRegex: "my-first-k8s",
|
|
21
21
|
* outputFile: "my-first-k8s-json",
|
|
@@ -95,7 +95,7 @@ export interface GetServerlessKubernetesClustersResult {
|
|
|
95
95
|
* import * as pulumi from "@pulumi/pulumi";
|
|
96
96
|
* import * as alicloud from "@pulumi/alicloud";
|
|
97
97
|
*
|
|
98
|
-
* // Declare the
|
|
98
|
+
* // Declare the function
|
|
99
99
|
* const k8sClusters = alicloud.cs.getServerlessKubernetesClusters({
|
|
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
|
|
46
|
+
* // Declare the function
|
|
47
47
|
* const k8sClusters = alicloud.cs.getServerlessKubernetesClusters({
|
|
48
48
|
* nameRegex: "my-first-k8s",
|
|
49
49
|
* outputFile: "my-first-k8s-json",
|
|
@@ -79,7 +79,7 @@ exports.getServerlessKubernetesClusters = getServerlessKubernetesClusters;
|
|
|
79
79
|
* import * as pulumi from "@pulumi/pulumi";
|
|
80
80
|
* import * as alicloud from "@pulumi/alicloud";
|
|
81
81
|
*
|
|
82
|
-
* // Declare the
|
|
82
|
+
* // Declare the function
|
|
83
83
|
* const k8sClusters = alicloud.cs.getServerlessKubernetesClusters({
|
|
84
84
|
* nameRegex: "my-first-k8s",
|
|
85
85
|
* outputFile: "my-first-k8s-json",
|
package/cs/kubernetes.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ import * as outputs from "../types/output";
|
|
|
120
120
|
* input: vpc.map(__item => __item.id),
|
|
121
121
|
* }).result : vpcId,
|
|
122
122
|
* cidrBlock: vswitchCidrs[range],
|
|
123
|
-
* zoneId:
|
|
123
|
+
* zoneId: Promise.all([enhanced, enhanced.then(enhanced => enhanced.zones.length)]).then(([enhanced, length]) => enhanced.zones[range < length ? range : 0].zoneId),
|
|
124
124
|
* }));
|
|
125
125
|
* }
|
|
126
126
|
* // According to the vswitch cidr blocks to launch several vswitches
|
|
@@ -132,14 +132,14 @@ import * as outputs from "../types/output";
|
|
|
132
132
|
* input: vpc.map(__item => __item.id),
|
|
133
133
|
* }).result : vpcId,
|
|
134
134
|
* cidrBlock: terwayVswitchCidrs[range],
|
|
135
|
-
* zoneId:
|
|
135
|
+
* zoneId: Promise.all([enhanced, enhanced.then(enhanced => enhanced.zones.length)]).then(([enhanced, length]) => enhanced.zones[range < length ? range : 0].zoneId),
|
|
136
136
|
* }));
|
|
137
137
|
* }
|
|
138
138
|
* const _default = alicloud.resourcemanager.getResourceGroups({
|
|
139
139
|
* status: "OK",
|
|
140
140
|
* });
|
|
141
|
-
* const cloudEssd = (
|
|
142
|
-
* availabilityZone:
|
|
141
|
+
* const cloudEssd = Array.from({length: 3}, (_, i) => i).map(__index => (alicloud.ecs.getInstanceTypesOutput({
|
|
142
|
+
* availabilityZone: Promise.all([enhanced, enhanced.then(enhanced => enhanced.zones.length)]).then(([enhanced, length]) => enhanced.zones[__index < length ? __index : 0].zoneId),
|
|
143
143
|
* cpuCoreCount: 4,
|
|
144
144
|
* memorySize: 8,
|
|
145
145
|
* systemDiskCategory: "cloud_essd",
|
package/cs/kubernetes.js
CHANGED
|
@@ -147,7 +147,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
147
147
|
* input: vpc.map(__item => __item.id),
|
|
148
148
|
* }).result : vpcId,
|
|
149
149
|
* cidrBlock: vswitchCidrs[range],
|
|
150
|
-
* zoneId:
|
|
150
|
+
* zoneId: Promise.all([enhanced, enhanced.then(enhanced => enhanced.zones.length)]).then(([enhanced, length]) => enhanced.zones[range < length ? range : 0].zoneId),
|
|
151
151
|
* }));
|
|
152
152
|
* }
|
|
153
153
|
* // According to the vswitch cidr blocks to launch several vswitches
|
|
@@ -159,14 +159,14 @@ const utilities = __importStar(require("../utilities"));
|
|
|
159
159
|
* input: vpc.map(__item => __item.id),
|
|
160
160
|
* }).result : vpcId,
|
|
161
161
|
* cidrBlock: terwayVswitchCidrs[range],
|
|
162
|
-
* zoneId:
|
|
162
|
+
* zoneId: Promise.all([enhanced, enhanced.then(enhanced => enhanced.zones.length)]).then(([enhanced, length]) => enhanced.zones[range < length ? range : 0].zoneId),
|
|
163
163
|
* }));
|
|
164
164
|
* }
|
|
165
165
|
* const _default = alicloud.resourcemanager.getResourceGroups({
|
|
166
166
|
* status: "OK",
|
|
167
167
|
* });
|
|
168
|
-
* const cloudEssd = (
|
|
169
|
-
* availabilityZone:
|
|
168
|
+
* const cloudEssd = Array.from({length: 3}, (_, i) => i).map(__index => (alicloud.ecs.getInstanceTypesOutput({
|
|
169
|
+
* availabilityZone: Promise.all([enhanced, enhanced.then(enhanced => enhanced.zones.length)]).then(([enhanced, length]) => enhanced.zones[__index < length ? __index : 0].zoneId),
|
|
170
170
|
* cpuCoreCount: 4,
|
|
171
171
|
* memorySize: 8,
|
|
172
172
|
* systemDiskCategory: "cloud_essd",
|
package/cs/kubernetesAddon.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
54
54
|
* disabled: false,
|
|
55
55
|
* }],
|
|
56
56
|
* });
|
|
57
|
-
* //
|
|
57
|
+
* // function provides the information of available addons
|
|
58
58
|
* const defaultGetKubernetesAddons = alicloud.cs.getKubernetesAddonsOutput({
|
|
59
59
|
* clusterId: defaultManagedKubernetes.id,
|
|
60
60
|
* nameRegex: "logtail-ds",
|
package/cs/kubernetesAddon.js
CHANGED
|
@@ -83,7 +83,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
83
83
|
* disabled: false,
|
|
84
84
|
* }],
|
|
85
85
|
* });
|
|
86
|
-
* //
|
|
86
|
+
* // function provides the information of available addons
|
|
87
87
|
* const defaultGetKubernetesAddons = alicloud.cs.getKubernetesAddonsOutput({
|
|
88
88
|
* clusterId: defaultManagedKubernetes.id,
|
|
89
89
|
* nameRegex: "logtail-ds",
|
|
@@ -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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const dmsEnterpriseInstancesDs = alicloud.dms.getEnterpriseInstances({
|
|
16
16
|
* netType: "CLASSIC",
|
|
17
17
|
* instanceType: "mysql",
|
|
@@ -122,7 +122,7 @@ export interface GetEnterpriseInstancesResult {
|
|
|
122
122
|
* import * as pulumi from "@pulumi/pulumi";
|
|
123
123
|
* import * as alicloud from "@pulumi/alicloud";
|
|
124
124
|
*
|
|
125
|
-
* // Declare the
|
|
125
|
+
* // Declare the function
|
|
126
126
|
* const dmsEnterpriseInstancesDs = alicloud.dms.getEnterpriseInstances({
|
|
127
127
|
* netType: "CLASSIC",
|
|
128
128
|
* instanceType: "mysql",
|
|
@@ -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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const dmsEnterpriseInstancesDs = alicloud.dms.getEnterpriseInstances({
|
|
44
44
|
* netType: "CLASSIC",
|
|
45
45
|
* instanceType: "mysql",
|
|
@@ -78,7 +78,7 @@ exports.getEnterpriseInstances = getEnterpriseInstances;
|
|
|
78
78
|
* import * as pulumi from "@pulumi/pulumi";
|
|
79
79
|
* import * as alicloud from "@pulumi/alicloud";
|
|
80
80
|
*
|
|
81
|
-
* // Declare the
|
|
81
|
+
* // Declare the function
|
|
82
82
|
* const dmsEnterpriseInstancesDs = alicloud.dms.getEnterpriseInstances({
|
|
83
83
|
* netType: "CLASSIC",
|
|
84
84
|
* instanceType: "mysql",
|
|
@@ -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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const dmsEnterpriseUsersDs = alicloud.dms.getEnterpriseUsers({
|
|
16
16
|
* ids: ["uid"],
|
|
17
17
|
* role: "USER",
|
|
@@ -95,7 +95,7 @@ export interface GetEnterpriseUsersResult {
|
|
|
95
95
|
* import * as pulumi from "@pulumi/pulumi";
|
|
96
96
|
* import * as alicloud from "@pulumi/alicloud";
|
|
97
97
|
*
|
|
98
|
-
* // Declare the
|
|
98
|
+
* // Declare the function
|
|
99
99
|
* const dmsEnterpriseUsersDs = alicloud.dms.getEnterpriseUsers({
|
|
100
100
|
* ids: ["uid"],
|
|
101
101
|
* role: "USER",
|
|
@@ -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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const dmsEnterpriseUsersDs = alicloud.dms.getEnterpriseUsers({
|
|
44
44
|
* ids: ["uid"],
|
|
45
45
|
* role: "USER",
|
|
@@ -73,7 +73,7 @@ exports.getEnterpriseUsers = getEnterpriseUsers;
|
|
|
73
73
|
* import * as pulumi from "@pulumi/pulumi";
|
|
74
74
|
* import * as alicloud from "@pulumi/alicloud";
|
|
75
75
|
*
|
|
76
|
-
* // Declare the
|
|
76
|
+
* // Declare the function
|
|
77
77
|
* const dmsEnterpriseUsersDs = alicloud.dms.getEnterpriseUsers({
|
|
78
78
|
* ids: ["uid"],
|
|
79
79
|
* role: "USER",
|
package/dms/getUserTenants.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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const _default = alicloud.dms.getUserTenants({
|
|
16
16
|
* status: "ACTIVE",
|
|
17
17
|
* });
|
|
@@ -73,7 +73,7 @@ export interface GetUserTenantsResult {
|
|
|
73
73
|
* import * as pulumi from "@pulumi/pulumi";
|
|
74
74
|
* import * as alicloud from "@pulumi/alicloud";
|
|
75
75
|
*
|
|
76
|
-
* // Declare the
|
|
76
|
+
* // Declare the function
|
|
77
77
|
* const _default = alicloud.dms.getUserTenants({
|
|
78
78
|
* status: "ACTIVE",
|
|
79
79
|
* });
|
package/dms/getUserTenants.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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const _default = alicloud.dms.getUserTenants({
|
|
44
44
|
* status: "ACTIVE",
|
|
45
45
|
* });
|
|
@@ -67,7 +67,7 @@ exports.getUserTenants = getUserTenants;
|
|
|
67
67
|
* import * as pulumi from "@pulumi/pulumi";
|
|
68
68
|
* import * as alicloud from "@pulumi/alicloud";
|
|
69
69
|
*
|
|
70
|
-
* // Declare the
|
|
70
|
+
* // Declare the function
|
|
71
71
|
* const _default = alicloud.dms.getUserTenants({
|
|
72
72
|
* status: "ACTIVE",
|
|
73
73
|
* });
|
package/ecp/getInstances.d.ts
CHANGED
|
@@ -15,10 +15,10 @@ import * as outputs from "../types/output";
|
|
|
15
15
|
*
|
|
16
16
|
* const _default = alicloud.ecp.getZones({});
|
|
17
17
|
* const defaultGetInstanceTypes = alicloud.ecp.getInstanceTypes({});
|
|
18
|
-
* const countSize = _default.then(_default => _default.zones
|
|
19
|
-
* const zoneId = pulumi.all([_default, countSize]).apply(([_default, countSize]) =>
|
|
20
|
-
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes
|
|
21
|
-
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
18
|
+
* const countSize = _default.then(_default => _default.zones.length);
|
|
19
|
+
* const zoneId = pulumi.all([_default, countSize, _default.zones[countSize - 1]]).apply(([_default, countSize, obj]) => obj.zoneId);
|
|
20
|
+
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes.length);
|
|
21
|
+
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType);
|
|
22
22
|
* const defaultGetNetworks = alicloud.vpc.getNetworks({
|
|
23
23
|
* nameRegex: "default-NODELETING",
|
|
24
24
|
* });
|
|
@@ -41,7 +41,7 @@ import * as outputs from "../types/output";
|
|
|
41
41
|
* keyPairName: defaultKeyPair.keyPairName,
|
|
42
42
|
* vswitchId: defaultGetSwitches.apply(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
|
|
43
43
|
* imageId: "android_9_0_0_release_2851157_20211201.vhd",
|
|
44
|
-
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
44
|
+
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType),
|
|
45
45
|
* paymentType: "PayAsYouGo",
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
@@ -136,10 +136,10 @@ export interface GetInstancesResult {
|
|
|
136
136
|
*
|
|
137
137
|
* const _default = alicloud.ecp.getZones({});
|
|
138
138
|
* const defaultGetInstanceTypes = alicloud.ecp.getInstanceTypes({});
|
|
139
|
-
* const countSize = _default.then(_default => _default.zones
|
|
140
|
-
* const zoneId = pulumi.all([_default, countSize]).apply(([_default, countSize]) =>
|
|
141
|
-
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes
|
|
142
|
-
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
139
|
+
* const countSize = _default.then(_default => _default.zones.length);
|
|
140
|
+
* const zoneId = pulumi.all([_default, countSize, _default.zones[countSize - 1]]).apply(([_default, countSize, obj]) => obj.zoneId);
|
|
141
|
+
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes.length);
|
|
142
|
+
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType);
|
|
143
143
|
* const defaultGetNetworks = alicloud.vpc.getNetworks({
|
|
144
144
|
* nameRegex: "default-NODELETING",
|
|
145
145
|
* });
|
|
@@ -162,7 +162,7 @@ export interface GetInstancesResult {
|
|
|
162
162
|
* keyPairName: defaultKeyPair.keyPairName,
|
|
163
163
|
* vswitchId: defaultGetSwitches.apply(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
|
|
164
164
|
* imageId: "android_9_0_0_release_2851157_20211201.vhd",
|
|
165
|
-
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
165
|
+
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType),
|
|
166
166
|
* paymentType: "PayAsYouGo",
|
|
167
167
|
* });
|
|
168
168
|
* ```
|
package/ecp/getInstances.js
CHANGED
|
@@ -43,10 +43,10 @@ const utilities = __importStar(require("../utilities"));
|
|
|
43
43
|
*
|
|
44
44
|
* const _default = alicloud.ecp.getZones({});
|
|
45
45
|
* const defaultGetInstanceTypes = alicloud.ecp.getInstanceTypes({});
|
|
46
|
-
* const countSize = _default.then(_default => _default.zones
|
|
47
|
-
* const zoneId = pulumi.all([_default, countSize]).apply(([_default, countSize]) =>
|
|
48
|
-
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes
|
|
49
|
-
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
46
|
+
* const countSize = _default.then(_default => _default.zones.length);
|
|
47
|
+
* const zoneId = pulumi.all([_default, countSize, _default.zones[countSize - 1]]).apply(([_default, countSize, obj]) => obj.zoneId);
|
|
48
|
+
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes.length);
|
|
49
|
+
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType);
|
|
50
50
|
* const defaultGetNetworks = alicloud.vpc.getNetworks({
|
|
51
51
|
* nameRegex: "default-NODELETING",
|
|
52
52
|
* });
|
|
@@ -69,7 +69,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
69
69
|
* keyPairName: defaultKeyPair.keyPairName,
|
|
70
70
|
* vswitchId: defaultGetSwitches.apply(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
|
|
71
71
|
* imageId: "android_9_0_0_release_2851157_20211201.vhd",
|
|
72
|
-
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
72
|
+
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType),
|
|
73
73
|
* paymentType: "PayAsYouGo",
|
|
74
74
|
* });
|
|
75
75
|
* ```
|
|
@@ -108,10 +108,10 @@ exports.getInstances = getInstances;
|
|
|
108
108
|
*
|
|
109
109
|
* const _default = alicloud.ecp.getZones({});
|
|
110
110
|
* const defaultGetInstanceTypes = alicloud.ecp.getInstanceTypes({});
|
|
111
|
-
* const countSize = _default.then(_default => _default.zones
|
|
112
|
-
* const zoneId = pulumi.all([_default, countSize]).apply(([_default, countSize]) =>
|
|
113
|
-
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes
|
|
114
|
-
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
111
|
+
* const countSize = _default.then(_default => _default.zones.length);
|
|
112
|
+
* const zoneId = pulumi.all([_default, countSize, _default.zones[countSize - 1]]).apply(([_default, countSize, obj]) => obj.zoneId);
|
|
113
|
+
* const instanceTypeCountSize = defaultGetInstanceTypes.then(defaultGetInstanceTypes => defaultGetInstanceTypes.instanceTypes.length);
|
|
114
|
+
* const instanceType = pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType);
|
|
115
115
|
* const defaultGetNetworks = alicloud.vpc.getNetworks({
|
|
116
116
|
* nameRegex: "default-NODELETING",
|
|
117
117
|
* });
|
|
@@ -134,7 +134,7 @@ exports.getInstances = getInstances;
|
|
|
134
134
|
* keyPairName: defaultKeyPair.keyPairName,
|
|
135
135
|
* vswitchId: defaultGetSwitches.apply(defaultGetSwitches => defaultGetSwitches.ids?.[0]),
|
|
136
136
|
* imageId: "android_9_0_0_release_2851157_20211201.vhd",
|
|
137
|
-
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize]).apply(([defaultGetInstanceTypes, instanceTypeCountSize]) =>
|
|
137
|
+
* instanceType: pulumi.all([defaultGetInstanceTypes, instanceTypeCountSize, defaultGetInstanceTypes.instanceTypes[instanceTypeCountSize - 1]]).apply(([defaultGetInstanceTypes, instanceTypeCountSize, obj]) => obj.instanceType),
|
|
138
138
|
* paymentType: "PayAsYouGo",
|
|
139
139
|
* });
|
|
140
140
|
* ```
|
|
@@ -20,7 +20,7 @@ import * as outputs from "../types/output";
|
|
|
20
20
|
* const _default = alicloud.getZones({
|
|
21
21
|
* availableResourceCreation: "VSwitch",
|
|
22
22
|
* });
|
|
23
|
-
* // Declare the
|
|
23
|
+
* // Declare the function
|
|
24
24
|
* const defaultGetInstanceTypes = _default.then(_default => alicloud.ecs.getInstanceTypes({
|
|
25
25
|
* availabilityZone: _default.zones?.[0]?.id,
|
|
26
26
|
* instanceTypeFamily: "ecs.sn1ne",
|
|
@@ -215,7 +215,7 @@ export interface GetInstanceTypesResult {
|
|
|
215
215
|
* const _default = alicloud.getZones({
|
|
216
216
|
* availableResourceCreation: "VSwitch",
|
|
217
217
|
* });
|
|
218
|
-
* // Declare the
|
|
218
|
+
* // Declare the function
|
|
219
219
|
* const defaultGetInstanceTypes = _default.then(_default => alicloud.ecs.getInstanceTypes({
|
|
220
220
|
* availabilityZone: _default.zones?.[0]?.id,
|
|
221
221
|
* instanceTypeFamily: "ecs.sn1ne",
|
package/ecs/getInstanceTypes.js
CHANGED
|
@@ -48,7 +48,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
48
48
|
* const _default = alicloud.getZones({
|
|
49
49
|
* availableResourceCreation: "VSwitch",
|
|
50
50
|
* });
|
|
51
|
-
* // Declare the
|
|
51
|
+
* // Declare the function
|
|
52
52
|
* const defaultGetInstanceTypes = _default.then(_default => alicloud.ecs.getInstanceTypes({
|
|
53
53
|
* availabilityZone: _default.zones?.[0]?.id,
|
|
54
54
|
* instanceTypeFamily: "ecs.sn1ne",
|
|
@@ -140,7 +140,7 @@ exports.getInstanceTypes = getInstanceTypes;
|
|
|
140
140
|
* const _default = alicloud.getZones({
|
|
141
141
|
* availableResourceCreation: "VSwitch",
|
|
142
142
|
* });
|
|
143
|
-
* // Declare the
|
|
143
|
+
* // Declare the function
|
|
144
144
|
* const defaultGetInstanceTypes = _default.then(_default => alicloud.ecs.getInstanceTypes({
|
|
145
145
|
* availabilityZone: _default.zones?.[0]?.id,
|
|
146
146
|
* instanceTypeFamily: "ecs.sn1ne",
|
package/ecs/getKeyPairs.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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const defaultKeyPair = new alicloud.ecs.KeyPair("default", {keyName: "keyPairDatasource"});
|
|
16
16
|
* const _default = alicloud.ecs.getKeyPairsOutput({
|
|
17
17
|
* nameRegex: defaultKeyPair.keyName,
|
|
@@ -98,7 +98,7 @@ export interface GetKeyPairsResult {
|
|
|
98
98
|
* import * as pulumi from "@pulumi/pulumi";
|
|
99
99
|
* import * as alicloud from "@pulumi/alicloud";
|
|
100
100
|
*
|
|
101
|
-
* // Declare the
|
|
101
|
+
* // Declare the function
|
|
102
102
|
* const defaultKeyPair = new alicloud.ecs.KeyPair("default", {keyName: "keyPairDatasource"});
|
|
103
103
|
* const _default = alicloud.ecs.getKeyPairsOutput({
|
|
104
104
|
* nameRegex: defaultKeyPair.keyName,
|
package/ecs/getKeyPairs.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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const defaultKeyPair = new alicloud.ecs.KeyPair("default", {keyName: "keyPairDatasource"});
|
|
44
44
|
* const _default = alicloud.ecs.getKeyPairsOutput({
|
|
45
45
|
* nameRegex: defaultKeyPair.keyName,
|
|
@@ -70,7 +70,7 @@ exports.getKeyPairs = getKeyPairs;
|
|
|
70
70
|
* import * as pulumi from "@pulumi/pulumi";
|
|
71
71
|
* import * as alicloud from "@pulumi/alicloud";
|
|
72
72
|
*
|
|
73
|
-
* // Declare the
|
|
73
|
+
* // Declare the function
|
|
74
74
|
* const defaultKeyPair = new alicloud.ecs.KeyPair("default", {keyName: "keyPairDatasource"});
|
|
75
75
|
* const _default = alicloud.ecs.getKeyPairsOutput({
|
|
76
76
|
* nameRegex: defaultKeyPair.keyName,
|
|
@@ -15,8 +15,8 @@ import * as outputs from "../types/output";
|
|
|
15
15
|
*
|
|
16
16
|
* const config = new pulumi.Config();
|
|
17
17
|
* const securityGroupId = config.requireObject<any>("securityGroupId");
|
|
18
|
-
* // Or get it from the alicloud_security_groups
|
|
19
|
-
* // Please note that the
|
|
18
|
+
* // Or get it from the alicloud_security_groups function.
|
|
19
|
+
* // Please note that the function arguments must be enough to filter results to one security group.
|
|
20
20
|
* const groupsDs = alicloud.ecs.getSecurityGroups({
|
|
21
21
|
* nameRegex: "api",
|
|
22
22
|
* });
|
|
@@ -115,8 +115,8 @@ export interface GetSecurityGroupRulesResult {
|
|
|
115
115
|
*
|
|
116
116
|
* const config = new pulumi.Config();
|
|
117
117
|
* const securityGroupId = config.requireObject<any>("securityGroupId");
|
|
118
|
-
* // Or get it from the alicloud_security_groups
|
|
119
|
-
* // Please note that the
|
|
118
|
+
* // Or get it from the alicloud_security_groups function.
|
|
119
|
+
* // Please note that the function arguments must be enough to filter results to one security group.
|
|
120
120
|
* const groupsDs = alicloud.ecs.getSecurityGroups({
|
|
121
121
|
* nameRegex: "api",
|
|
122
122
|
* });
|
|
@@ -43,8 +43,8 @@ const utilities = __importStar(require("../utilities"));
|
|
|
43
43
|
*
|
|
44
44
|
* const config = new pulumi.Config();
|
|
45
45
|
* const securityGroupId = config.requireObject<any>("securityGroupId");
|
|
46
|
-
* // Or get it from the alicloud_security_groups
|
|
47
|
-
* // Please note that the
|
|
46
|
+
* // Or get it from the alicloud_security_groups function.
|
|
47
|
+
* // Please note that the function arguments must be enough to filter results to one security group.
|
|
48
48
|
* const groupsDs = alicloud.ecs.getSecurityGroups({
|
|
49
49
|
* nameRegex: "api",
|
|
50
50
|
* });
|
|
@@ -86,8 +86,8 @@ exports.getSecurityGroupRules = getSecurityGroupRules;
|
|
|
86
86
|
*
|
|
87
87
|
* const config = new pulumi.Config();
|
|
88
88
|
* const securityGroupId = config.requireObject<any>("securityGroupId");
|
|
89
|
-
* // Or get it from the alicloud_security_groups
|
|
90
|
-
* // Please note that the
|
|
89
|
+
* // Or get it from the alicloud_security_groups function.
|
|
90
|
+
* // Please note that the function arguments must be enough to filter results to one security group.
|
|
91
91
|
* const groupsDs = alicloud.ecs.getSecurityGroups({
|
|
92
92
|
* nameRegex: "api",
|
|
93
93
|
* });
|
|
@@ -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
|
|
14
|
+
* // Declare the function
|
|
15
15
|
* const zonesIds = alicloud.elasticsearch.getZones({});
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
@@ -59,7 +59,7 @@ export interface GetZonesResult {
|
|
|
59
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
60
60
|
* import * as alicloud from "@pulumi/alicloud";
|
|
61
61
|
*
|
|
62
|
-
* // Declare the
|
|
62
|
+
* // Declare the function
|
|
63
63
|
* const zonesIds = alicloud.elasticsearch.getZones({});
|
|
64
64
|
* ```
|
|
65
65
|
*/
|
|
@@ -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
|
|
42
|
+
* // Declare the function
|
|
43
43
|
* const zonesIds = alicloud.elasticsearch.getZones({});
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
@@ -63,7 +63,7 @@ exports.getZones = getZones;
|
|
|
63
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
64
64
|
* import * as alicloud from "@pulumi/alicloud";
|
|
65
65
|
*
|
|
66
|
-
* // Declare the
|
|
66
|
+
* // Declare the function
|
|
67
67
|
* const zonesIds = alicloud.elasticsearch.getZones({});
|
|
68
68
|
* ```
|
|
69
69
|
*/
|
|
@@ -31,7 +31,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
31
|
* peeringSubnetMask: "255.255.255.252",
|
|
32
32
|
* physicalConnectionId: defaultGetPhysicalConnections.then(defaultGetPhysicalConnections => defaultGetPhysicalConnections.connections?.[0]?.id),
|
|
33
33
|
* virtualBorderRouterName: name,
|
|
34
|
-
* vlanId:
|
|
34
|
+
* vlanId: defaultInteger.id,
|
|
35
35
|
* minRxInterval: 1000,
|
|
36
36
|
* minTxInterval: 1000,
|
|
37
37
|
* detectMultiplier: 10,
|
|
@@ -60,7 +60,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
60
60
|
* peeringSubnetMask: "255.255.255.252",
|
|
61
61
|
* physicalConnectionId: defaultGetPhysicalConnections.then(defaultGetPhysicalConnections => defaultGetPhysicalConnections.connections?.[0]?.id),
|
|
62
62
|
* virtualBorderRouterName: name,
|
|
63
|
-
* vlanId:
|
|
63
|
+
* vlanId: defaultInteger.id,
|
|
64
64
|
* minRxInterval: 1000,
|
|
65
65
|
* minTxInterval: 1000,
|
|
66
66
|
* detectMultiplier: 10,
|
|
@@ -32,7 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
32
|
* peeringSubnetMask: "255.255.255.252",
|
|
33
33
|
* physicalConnectionId: _default.then(_default => _default.connections?.[0]?.id),
|
|
34
34
|
* virtualBorderRouterName: name,
|
|
35
|
-
* vlanId:
|
|
35
|
+
* vlanId: defaultInteger.id,
|
|
36
36
|
* minRxInterval: 1000,
|
|
37
37
|
* minTxInterval: 1000,
|
|
38
38
|
* detectMultiplier: 10,
|