@pulumi/alicloud 3.44.0 → 3.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adb/dbcluster.d.ts +3 -3
- package/adb/dbclusterLakeVersion.d.ts +71 -27
- package/adb/dbclusterLakeVersion.js +22 -22
- package/adb/dbclusterLakeVersion.js.map +1 -1
- package/adb/getResourceGroups.d.ts +4 -4
- package/adb/getResourceGroups.js +4 -4
- package/alb/acl.d.ts +1 -1
- package/alb/acl.js +1 -1
- package/alb/aclEntryAttachment.d.ts +2 -2
- package/alb/aclEntryAttachment.js +2 -2
- package/alb/ascript.d.ts +1 -1
- package/alb/ascript.js +1 -1
- package/alb/healthCheckTemplate.d.ts +1 -1
- package/alb/healthCheckTemplate.js +1 -1
- package/alb/listener.d.ts +1 -1
- package/alb/listener.js +1 -1
- package/alb/listenerAclAttachment.d.ts +1 -1
- package/alb/listenerAclAttachment.js +1 -1
- package/alb/listenerAdditionalCertificateAttachment.d.ts +1 -1
- package/alb/listenerAdditionalCertificateAttachment.js +1 -1
- package/alb/loadBalancer.d.ts +80 -42
- package/alb/loadBalancer.js +8 -5
- package/alb/loadBalancer.js.map +1 -1
- package/alb/loadBalancerCommonBandwidthPackageAttachment.d.ts +1 -1
- package/alb/loadBalancerCommonBandwidthPackageAttachment.js +1 -1
- package/alb/rule.d.ts +1 -1
- package/alb/rule.js +1 -1
- package/alb/securityPolicy.d.ts +1 -1
- package/alb/securityPolicy.js +1 -1
- package/alb/serverGroup.d.ts +1 -1
- package/alb/serverGroup.js +1 -1
- package/alikafka/consumerGroup.d.ts +1 -1
- package/alikafka/consumerGroup.js +1 -1
- package/alikafka/instanceAllowedIpAttachment.d.ts +1 -1
- package/alikafka/instanceAllowedIpAttachment.js +1 -1
- package/alikafka/saslAcl.d.ts +1 -1
- package/alikafka/saslAcl.js +1 -1
- package/alikafka/saslUser.d.ts +1 -1
- package/alikafka/saslUser.js +1 -1
- package/alikafka/topic.d.ts +1 -1
- package/alikafka/topic.js +1 -1
- package/apigateway/backend.d.ts +1 -1
- package/apigateway/backend.js +1 -1
- package/apigateway/plugin.d.ts +1 -1
- package/apigateway/plugin.js +1 -1
- package/arms/dispatchRule.d.ts +1 -1
- package/arms/dispatchRule.js +1 -1
- 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/user.d.ts +1 -1
- package/bastionhost/user.js +1 -1
- package/bss/getOpenApiProducts.d.ts +2 -2
- package/bss/getOpenApiProducts.js +2 -2
- package/cdn/fcTrigger.d.ts +4 -4
- package/cdn/fcTrigger.js +1 -1
- package/cen/childInstanceRouteEntryToAttachment.d.ts +1 -1
- package/cen/childInstanceRouteEntryToAttachment.js +1 -1
- package/cen/flowLog.d.ts +2 -2
- package/cen/flowLog.js +2 -2
- package/cen/getChildInstanceRouteEntryToAttachments.d.ts +2 -2
- package/cen/getChildInstanceRouteEntryToAttachments.js +2 -2
- package/cen/getTransitRouterMulticastDomainMembers.d.ts +8 -4
- package/cen/getTransitRouterMulticastDomainMembers.js +8 -4
- package/cen/getTransitRouterMulticastDomainMembers.js.map +1 -1
- package/cen/getTransitRouterMulticastDomainPeerMembers.d.ts +8 -4
- package/cen/getTransitRouterMulticastDomainPeerMembers.js +8 -4
- package/cen/getTransitRouterMulticastDomainPeerMembers.js.map +1 -1
- package/cen/getTransitRouterMulticastDomainSources.d.ts +10 -4
- package/cen/getTransitRouterMulticastDomainSources.js +4 -4
- package/cen/getTransitRouterMulticastDomainSources.js.map +1 -1
- package/cen/instance.d.ts +1 -1
- package/cen/instance.js +1 -1
- package/cen/instanceGrant.d.ts +1 -1
- package/cen/instanceGrant.js +1 -1
- package/cen/interRegionTrafficQosPolicy.d.ts +1 -1
- package/cen/interRegionTrafficQosPolicy.js +1 -1
- package/cen/interRegionTrafficQosQueue.d.ts +1 -1
- package/cen/interRegionTrafficQosQueue.js +1 -1
- package/cen/privateZone.d.ts +1 -1
- package/cen/privateZone.js +1 -1
- package/cen/routeMap.d.ts +1 -1
- package/cen/routeMap.js +1 -1
- package/cen/routeService.d.ts +1 -1
- package/cen/routeService.js +1 -1
- package/cen/trafficMarkingPolicy.d.ts +1 -1
- package/cen/trafficMarkingPolicy.js +1 -1
- package/cen/transitRouteTableAggregation.d.ts +1 -1
- package/cen/transitRouteTableAggregation.js +1 -1
- package/cen/transitRouter.d.ts +4 -4
- package/cen/transitRouter.js +1 -1
- package/cen/transitRouterMulticastDomain.d.ts +1 -1
- package/cen/transitRouterMulticastDomain.js +1 -1
- package/cen/transitRouterMulticastDomainAssociation.d.ts +1 -1
- package/cen/transitRouterMulticastDomainAssociation.js +1 -1
- package/cen/transitRouterMulticastDomainMember.d.ts +1 -1
- package/cen/transitRouterMulticastDomainMember.js +1 -1
- package/cen/transitRouterMulticastDomainPeerMember.d.ts +1 -1
- package/cen/transitRouterMulticastDomainPeerMember.js +1 -1
- package/cen/transitRouterMulticastDomainSource.d.ts +1 -1
- package/cen/transitRouterMulticastDomainSource.js +1 -1
- package/cen/transitRouterPeerAttachment.d.ts +1 -1
- package/cen/transitRouterPeerAttachment.js +1 -1
- package/cen/transitRouterRouteEntry.d.ts +1 -1
- package/cen/transitRouterRouteEntry.js +1 -1
- package/cen/transitRouterRouteTable.d.ts +1 -1
- package/cen/transitRouterRouteTable.js +1 -1
- package/cen/transitRouterRouteTableAssociation.d.ts +1 -1
- package/cen/transitRouterRouteTableAssociation.js +1 -1
- package/cen/transitRouterRouteTablePropagation.d.ts +1 -1
- package/cen/transitRouterRouteTablePropagation.js +1 -1
- package/cen/transitRouterVbrAttachment.d.ts +11 -20
- package/cen/transitRouterVbrAttachment.js +11 -20
- package/cen/transitRouterVbrAttachment.js.map +1 -1
- package/cen/transitRouterVpcAttachment.d.ts +1 -1
- package/cen/transitRouterVpcAttachment.js +1 -1
- package/cen/transitRouterVpnAttachment.d.ts +1 -1
- package/cen/transitRouterVpnAttachment.js +1 -1
- package/cen/vbrHealthCheck.d.ts +1 -1
- package/cen/vbrHealthCheck.js +1 -1
- package/cfg/delivery.d.ts +1 -1
- package/cfg/delivery.js +1 -1
- package/cloudfirewall/getAddressBooks.d.ts +45 -8
- package/cloudfirewall/getAddressBooks.js +34 -6
- package/cloudfirewall/getAddressBooks.js.map +1 -1
- package/cms/eventRule.d.ts +76 -4
- package/cms/eventRule.js +16 -4
- package/cms/eventRule.js.map +1 -1
- package/cs/getKubernetesAddons.d.ts +5 -38
- package/cs/getKubernetesAddons.js +4 -29
- package/cs/getKubernetesAddons.js.map +1 -1
- package/cs/managedKubernetes.d.ts +30 -3
- package/cs/managedKubernetes.js +27 -0
- package/cs/managedKubernetes.js.map +1 -1
- package/dbs/backupPlan.d.ts +2 -2
- package/dbs/backupPlan.js +2 -2
- package/dcdn/er.d.ts +1 -1
- package/dcdn/er.js +1 -1
- package/dcdn/getKvAccount.d.ts +4 -4
- package/dcdn/getKvAccount.js +4 -4
- package/dcdn/getWafRules.d.ts +4 -4
- package/dcdn/getWafRules.js +4 -4
- package/dcdn/kv.d.ts +1 -1
- package/dcdn/kv.js +1 -1
- package/dcdn/kvNamespace.d.ts +1 -1
- package/dcdn/kvNamespace.js +1 -1
- package/dcdn/wafDomain.d.ts +1 -1
- package/dcdn/wafDomain.js +1 -1
- package/dcdn/wafPolicy.d.ts +1 -1
- package/dcdn/wafPolicy.js +1 -1
- package/dcdn/wafPolicyDomainAttachment.d.ts +1 -1
- package/dcdn/wafPolicyDomainAttachment.js +1 -1
- package/dcdn/wafRule.d.ts +1 -1
- package/dcdn/wafRule.js +1 -1
- package/ddos/ddosCooInstance.d.ts +3 -3
- package/directmail/tag.d.ts +1 -1
- package/directmail/tag.js +1 -1
- package/dms/enterpriseLogicDatabase.d.ts +1 -1
- package/dms/enterpriseLogicDatabase.js +1 -1
- package/dms/enterpriseProxy.d.ts +1 -1
- package/dms/enterpriseProxy.js +1 -1
- package/dms/enterpriseProxyAccess.d.ts +1 -1
- package/dms/enterpriseProxyAccess.js +1 -1
- package/dms/getEnterpriseDatabases.d.ts +8 -4
- package/dms/getEnterpriseDatabases.js +8 -4
- package/dms/getEnterpriseDatabases.js.map +1 -1
- package/dms/getEnterpriseLogicDatabases.d.ts +4 -4
- package/dms/getEnterpriseLogicDatabases.js +4 -4
- package/dms/getEnterpriseProxyAccesses.d.ts +4 -4
- package/dms/getEnterpriseProxyAccesses.js +4 -4
- package/dns/alidnsRecord.d.ts +4 -4
- package/dns/alidnsRecord.js +1 -1
- package/dns/ddosCooInstance.d.ts +3 -3
- package/dns/getAlidnsRecords.d.ts +2 -2
- package/dns/getRecords.d.ts +6 -2
- package/dns/getRecords.js +4 -0
- package/dns/getRecords.js.map +1 -1
- package/dns/monitorConfig.d.ts +4 -4
- package/dns/monitorConfig.js +1 -1
- package/dns/record.d.ts +3 -3
- package/drds/index.d.ts +3 -0
- package/drds/index.js +6 -1
- package/drds/index.js.map +1 -1
- package/drds/polardbxInstance.d.ts +239 -0
- package/drds/polardbxInstance.js +146 -0
- package/drds/polardbxInstance.js.map +1 -0
- package/eais/instance.d.ts +1 -1
- package/eais/instance.js +1 -1
- package/ecs/autoProvisioningGroup.d.ts +3 -11
- package/ecs/autoProvisioningGroup.js +0 -8
- package/ecs/autoProvisioningGroup.js.map +1 -1
- package/ecs/disk.d.ts +1 -1
- package/ecs/ecsDisk.d.ts +4 -4
- package/ecs/ecsLaunchTemplate.d.ts +10 -10
- package/ecs/ecsLaunchTemplate.js +1 -1
- package/eds/adConnectorDirectory.d.ts +1 -1
- package/eds/adConnectorDirectory.js +1 -1
- package/eds/adConnectorOfficeSite.d.ts +1 -1
- package/eds/adConnectorOfficeSite.js +1 -1
- package/eds/bundle.d.ts +1 -1
- package/eds/bundle.js +1 -1
- package/eds/command.d.ts +1 -1
- package/eds/command.js +1 -1
- package/eds/customProperty.d.ts +1 -1
- package/eds/customProperty.js +1 -1
- package/eds/desktop.d.ts +1 -1
- package/eds/desktop.js +1 -1
- package/eds/ecdPolicyGroup.d.ts +1 -1
- package/eds/ecdPolicyGroup.js +1 -1
- package/eds/image.d.ts +1 -1
- package/eds/image.js +1 -1
- package/eds/networkPackage.d.ts +1 -1
- package/eds/networkPackage.js +1 -1
- package/eds/ramDirectory.d.ts +1 -1
- package/eds/ramDirectory.js +1 -1
- package/eds/simpleOfficeSite.d.ts +1 -1
- package/eds/simpleOfficeSite.js +1 -1
- package/eds/snapshot.d.ts +1 -1
- package/eds/snapshot.js +1 -1
- package/eds/user.d.ts +1 -1
- package/eds/user.js +1 -1
- package/ehpc/cluster.d.ts +1 -1
- package/ehpc/cluster.js +1 -1
- package/ess/alarm.d.ts +3 -3
- package/expressconnect/getRouterInterfaces.d.ts +2 -2
- package/expressconnect/getRouterInterfaces.js +2 -2
- package/fc/alias.d.ts +1 -1
- package/fc/alias.js +1 -1
- package/fc/customDomain.d.ts +1 -1
- package/fc/customDomain.js +1 -1
- package/fc/function.d.ts +1 -1
- package/fc/function.js +1 -1
- package/fc/functionAsyncInvokeConfig.d.ts +1 -1
- package/fc/functionAsyncInvokeConfig.js +1 -1
- package/fc/trigger.d.ts +1 -1
- package/fc/trigger.js +1 -1
- package/gpdb/instance.d.ts +4 -4
- package/gpdb/instance.js +1 -1
- package/hbase/instance.d.ts +3 -3
- package/hbr/hanaBackupClient.d.ts +1 -1
- package/hbr/hanaBackupClient.js +1 -1
- package/hbr/hanaBackupPlan.d.ts +1 -1
- package/hbr/hanaBackupPlan.js +1 -1
- package/hbr/hanaInstance.d.ts +1 -1
- package/hbr/hanaInstance.js +1 -1
- package/kms/ciphertext.d.ts +3 -3
- package/kms/getCiphertext.d.ts +6 -2
- package/kms/getCiphertext.js +4 -0
- package/kms/getCiphertext.js.map +1 -1
- package/kvstore/getInstances.d.ts +3 -3
- package/log/audit.d.ts +81 -95
- package/log/audit.js +81 -95
- package/log/audit.js.map +1 -1
- package/marketplace/getProducts.d.ts +2 -2
- package/mse/cluster.d.ts +3 -3
- package/mse/engineNamespace.d.ts +1 -1
- package/mse/engineNamespace.js +1 -1
- package/nas/accessGroup.d.ts +1 -1
- package/nas/accessGroup.js +1 -1
- package/nas/getService.d.ts +2 -2
- package/oos/defaultPatchBaseline.d.ts +1 -1
- package/oos/defaultPatchBaseline.js +1 -1
- package/package.json +1 -1
- package/polardb/cluster.d.ts +109 -67
- package/polardb/cluster.js +10 -0
- package/polardb/cluster.js.map +1 -1
- package/polardb/globalDatabaseNetwork.d.ts +1 -1
- package/polardb/globalDatabaseNetwork.js +1 -1
- package/polardb/parameterGroup.d.ts +1 -1
- package/polardb/parameterGroup.js +1 -1
- package/pvtz/zoneAttachment.d.ts +34 -13
- package/pvtz/zoneAttachment.js +31 -10
- package/pvtz/zoneAttachment.js.map +1 -1
- package/quotas/quotaAlarm.d.ts +1 -1
- package/quotas/quotaAlarm.js +1 -1
- package/quotas/templateQuota.d.ts +1 -1
- package/quotas/templateQuota.js +1 -1
- package/ram/getUsers.d.ts +92 -10
- package/ram/getUsers.js +92 -10
- package/ram/getUsers.js.map +1 -1
- package/rds/ddrInstance.d.ts +3 -3
- package/rds/instance.d.ts +9 -12
- package/rds/instance.js.map +1 -1
- package/rds/rdsCloneDbInstance.d.ts +16 -16
- package/rds/rdsCloneDbInstance.js +1 -1
- package/rds/rdsUpgradeDbInstance.d.ts +18 -18
- package/redis/tairInstance.d.ts +50 -8
- package/redis/tairInstance.js +6 -0
- package/redis/tairInstance.js.map +1 -1
- package/resourcemanager/controlPolicyAttachment.d.ts +1 -1
- package/resourcemanager/controlPolicyAttachment.js +1 -1
- package/scdn/domain.d.ts +2 -0
- package/scdn/domain.js +2 -0
- package/scdn/domain.js.map +1 -1
- package/scdn/domainConfig.d.ts +2 -0
- package/scdn/domainConfig.js +2 -0
- package/scdn/domainConfig.js.map +1 -1
- package/servicecatalog/getEndUserProducts.d.ts +4 -4
- package/servicecatalog/getEndUserProducts.js +4 -4
- package/servicecatalog/getLaunchOptions.d.ts +17 -5
- package/servicecatalog/getLaunchOptions.js +8 -4
- package/servicecatalog/getLaunchOptions.js.map +1 -1
- package/servicecatalog/getPortfolios.d.ts +2 -2
- package/servicecatalog/getPortfolios.js +2 -2
- package/servicecatalog/getProductAsEndUsers.d.ts +2 -2
- package/servicecatalog/getProductAsEndUsers.js +2 -2
- package/servicecatalog/getProductVersions.d.ts +2 -2
- package/servicecatalog/getProductVersions.js +2 -2
- package/servicecatalog/getProvisionedProducts.d.ts +35 -5
- package/servicecatalog/getProvisionedProducts.js +8 -4
- package/servicecatalog/getProvisionedProducts.js.map +1 -1
- package/servicecatalog/portfolio.d.ts +1 -1
- package/servicecatalog/portfolio.js +1 -1
- package/servicecatalog/provisionedProduct.d.ts +1 -1
- package/servicecatalog/provisionedProduct.js +1 -1
- package/servicemesh/serviceMesh.d.ts +101 -42
- package/servicemesh/serviceMesh.js +9 -1
- package/servicemesh/serviceMesh.js.map +1 -1
- package/slb/applicationLoadBalancer.d.ts +3 -3
- package/slb/loadBalancer.d.ts +82 -25
- package/slb/loadBalancer.js +10 -4
- package/slb/loadBalancer.js.map +1 -1
- package/sms/shortUrl.d.ts +1 -1
- package/sms/shortUrl.js +1 -1
- package/threatdetection/antiBruteForceRule.d.ts +3 -3
- package/threatdetection/antiBruteForceRule.js +3 -3
- package/threatdetection/backupPolicy.d.ts +7 -7
- package/threatdetection/backupPolicy.js +1 -1
- package/threatdetection/baselineStrategy.d.ts +2 -2
- package/threatdetection/baselineStrategy.js +2 -2
- package/threatdetection/getAntiBruteForceRules.d.ts +4 -4
- package/threatdetection/getAntiBruteForceRules.js +4 -4
- package/threatdetection/getAssets.d.ts +4 -4
- package/threatdetection/getAssets.js +4 -4
- package/threatdetection/getBaselineStrategies.d.ts +2 -2
- package/threatdetection/getBaselineStrategies.js +2 -2
- package/threatdetection/getHoneyPots.d.ts +16 -6
- package/threatdetection/getHoneyPots.js +10 -6
- package/threatdetection/getHoneyPots.js.map +1 -1
- package/threatdetection/getHoneypotImages.d.ts +2 -2
- package/threatdetection/getHoneypotImages.js +2 -2
- package/threatdetection/getHoneypotNodes.d.ts +2 -2
- package/threatdetection/getHoneypotNodes.js +2 -2
- package/threatdetection/getHoneypotProbes.d.ts +2 -2
- package/threatdetection/getHoneypotProbes.js +2 -2
- package/threatdetection/getLogShipper.d.ts +2 -2
- package/threatdetection/getLogShipper.js +2 -2
- package/threatdetection/getWebLockConfigs.d.ts +4 -4
- package/threatdetection/getWebLockConfigs.js +4 -4
- package/threatdetection/honeypotProbe.d.ts +1 -1
- package/threatdetection/honeypotProbe.js +1 -1
- package/threatdetection/vulWhitelist.d.ts +7 -7
- package/threatdetection/vulWhitelist.js +1 -1
- package/threatdetection/webLockConfig.d.ts +1 -1
- package/threatdetection/webLockConfig.js +1 -1
- package/types/input.d.ts +402 -259
- package/types/output.d.ts +457 -261
- package/vpc/getRouterInterfaces.d.ts +4 -4
- package/vpc/getRouterInterfaces.js +4 -4
- package/wafv3/domain.d.ts +1 -1
- package/wafv3/domain.js +1 -1
package/pvtz/zoneAttachment.d.ts
CHANGED
|
@@ -10,9 +10,15 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as alicloud from "@pulumi/alicloud";
|
|
12
12
|
*
|
|
13
|
-
* const zone = new alicloud.pvtz.Zone("zone", {});
|
|
14
|
-
* const first = new alicloud.vpc.Network("first", {
|
|
15
|
-
*
|
|
13
|
+
* const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
|
|
14
|
+
* const first = new alicloud.vpc.Network("first", {
|
|
15
|
+
* vpcName: "the-first-vpc",
|
|
16
|
+
* cidrBlock: "172.16.0.0/12",
|
|
17
|
+
* });
|
|
18
|
+
* const second = new alicloud.vpc.Network("second", {
|
|
19
|
+
* vpcName: "the-second-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* });
|
|
16
22
|
* const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
|
|
17
23
|
* zoneId: zone.id,
|
|
18
24
|
* vpcIds: [
|
|
@@ -28,9 +34,15 @@ import * as outputs from "../types/output";
|
|
|
28
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
29
35
|
* import * as alicloud from "@pulumi/alicloud";
|
|
30
36
|
*
|
|
31
|
-
* const zone = new alicloud.pvtz.Zone("zone", {});
|
|
32
|
-
* const first = new alicloud.vpc.Network("first", {
|
|
33
|
-
*
|
|
37
|
+
* const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
|
|
38
|
+
* const first = new alicloud.vpc.Network("first", {
|
|
39
|
+
* vpcName: "the-first-vpc",
|
|
40
|
+
* cidrBlock: "172.16.0.0/12",
|
|
41
|
+
* });
|
|
42
|
+
* const second = new alicloud.vpc.Network("second", {
|
|
43
|
+
* vpcName: "the-second-vpc",
|
|
44
|
+
* cidrBlock: "172.16.0.0/16",
|
|
45
|
+
* });
|
|
34
46
|
* const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
|
|
35
47
|
* zoneId: zone.id,
|
|
36
48
|
* vpcs: [
|
|
@@ -50,11 +62,20 @@ import * as outputs from "../types/output";
|
|
|
50
62
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
63
|
* import * as alicloud from "@pulumi/alicloud";
|
|
52
64
|
*
|
|
53
|
-
* const zone = new alicloud.pvtz.Zone("zone", {});
|
|
54
|
-
* const first = new alicloud.vpc.Network("first", {
|
|
55
|
-
*
|
|
65
|
+
* const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
|
|
66
|
+
* const first = new alicloud.vpc.Network("first", {
|
|
67
|
+
* vpcName: "the-first-vpc",
|
|
68
|
+
* cidrBlock: "172.16.0.0/12",
|
|
69
|
+
* });
|
|
70
|
+
* const second = new alicloud.vpc.Network("second", {
|
|
71
|
+
* vpcName: "the-second-vpc",
|
|
72
|
+
* cidrBlock: "172.16.0.0/16",
|
|
73
|
+
* });
|
|
56
74
|
* const eu = new alicloud.Provider("eu", {region: "eu-central-1"});
|
|
57
|
-
* const third = new alicloud.vpc.Network("third", {
|
|
75
|
+
* const third = new alicloud.vpc.Network("third", {
|
|
76
|
+
* vpcName: "the-third-vpc",
|
|
77
|
+
* cidrBlock: "172.16.0.0/16",
|
|
78
|
+
* }, {
|
|
58
79
|
* provider: alicloud.eu,
|
|
59
80
|
* });
|
|
60
81
|
* const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
|
|
@@ -111,7 +132,7 @@ export declare class ZoneAttachment extends pulumi.CustomResource {
|
|
|
111
132
|
*/
|
|
112
133
|
readonly vpcIds: pulumi.Output<string[]>;
|
|
113
134
|
/**
|
|
114
|
-
*
|
|
135
|
+
* See `vpcs` below.Recommend to use `vpcs`.
|
|
115
136
|
*/
|
|
116
137
|
readonly vpcs: pulumi.Output<outputs.pvtz.ZoneAttachmentVpc[]>;
|
|
117
138
|
/**
|
|
@@ -144,7 +165,7 @@ export interface ZoneAttachmentState {
|
|
|
144
165
|
*/
|
|
145
166
|
vpcIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
146
167
|
/**
|
|
147
|
-
*
|
|
168
|
+
* See `vpcs` below.Recommend to use `vpcs`.
|
|
148
169
|
*/
|
|
149
170
|
vpcs?: pulumi.Input<pulumi.Input<inputs.pvtz.ZoneAttachmentVpc>[]>;
|
|
150
171
|
/**
|
|
@@ -169,7 +190,7 @@ export interface ZoneAttachmentArgs {
|
|
|
169
190
|
*/
|
|
170
191
|
vpcIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
171
192
|
/**
|
|
172
|
-
*
|
|
193
|
+
* See `vpcs` below.Recommend to use `vpcs`.
|
|
173
194
|
*/
|
|
174
195
|
vpcs?: pulumi.Input<pulumi.Input<inputs.pvtz.ZoneAttachmentVpc>[]>;
|
|
175
196
|
/**
|
package/pvtz/zoneAttachment.js
CHANGED
|
@@ -14,9 +14,15 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as alicloud from "@pulumi/alicloud";
|
|
16
16
|
*
|
|
17
|
-
* const zone = new alicloud.pvtz.Zone("zone", {});
|
|
18
|
-
* const first = new alicloud.vpc.Network("first", {
|
|
19
|
-
*
|
|
17
|
+
* const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
|
|
18
|
+
* const first = new alicloud.vpc.Network("first", {
|
|
19
|
+
* vpcName: "the-first-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/12",
|
|
21
|
+
* });
|
|
22
|
+
* const second = new alicloud.vpc.Network("second", {
|
|
23
|
+
* vpcName: "the-second-vpc",
|
|
24
|
+
* cidrBlock: "172.16.0.0/16",
|
|
25
|
+
* });
|
|
20
26
|
* const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
|
|
21
27
|
* zoneId: zone.id,
|
|
22
28
|
* vpcIds: [
|
|
@@ -32,9 +38,15 @@ const utilities = require("../utilities");
|
|
|
32
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
39
|
* import * as alicloud from "@pulumi/alicloud";
|
|
34
40
|
*
|
|
35
|
-
* const zone = new alicloud.pvtz.Zone("zone", {});
|
|
36
|
-
* const first = new alicloud.vpc.Network("first", {
|
|
37
|
-
*
|
|
41
|
+
* const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
|
|
42
|
+
* const first = new alicloud.vpc.Network("first", {
|
|
43
|
+
* vpcName: "the-first-vpc",
|
|
44
|
+
* cidrBlock: "172.16.0.0/12",
|
|
45
|
+
* });
|
|
46
|
+
* const second = new alicloud.vpc.Network("second", {
|
|
47
|
+
* vpcName: "the-second-vpc",
|
|
48
|
+
* cidrBlock: "172.16.0.0/16",
|
|
49
|
+
* });
|
|
38
50
|
* const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
|
|
39
51
|
* zoneId: zone.id,
|
|
40
52
|
* vpcs: [
|
|
@@ -54,11 +66,20 @@ const utilities = require("../utilities");
|
|
|
54
66
|
* import * as pulumi from "@pulumi/pulumi";
|
|
55
67
|
* import * as alicloud from "@pulumi/alicloud";
|
|
56
68
|
*
|
|
57
|
-
* const zone = new alicloud.pvtz.Zone("zone", {});
|
|
58
|
-
* const first = new alicloud.vpc.Network("first", {
|
|
59
|
-
*
|
|
69
|
+
* const zone = new alicloud.pvtz.Zone("zone", {zoneName: "foo.example.com"});
|
|
70
|
+
* const first = new alicloud.vpc.Network("first", {
|
|
71
|
+
* vpcName: "the-first-vpc",
|
|
72
|
+
* cidrBlock: "172.16.0.0/12",
|
|
73
|
+
* });
|
|
74
|
+
* const second = new alicloud.vpc.Network("second", {
|
|
75
|
+
* vpcName: "the-second-vpc",
|
|
76
|
+
* cidrBlock: "172.16.0.0/16",
|
|
77
|
+
* });
|
|
60
78
|
* const eu = new alicloud.Provider("eu", {region: "eu-central-1"});
|
|
61
|
-
* const third = new alicloud.vpc.Network("third", {
|
|
79
|
+
* const third = new alicloud.vpc.Network("third", {
|
|
80
|
+
* vpcName: "the-third-vpc",
|
|
81
|
+
* cidrBlock: "172.16.0.0/16",
|
|
82
|
+
* }, {
|
|
62
83
|
* provider: alicloud.eu,
|
|
63
84
|
* });
|
|
64
85
|
* const zone_attachment = new alicloud.pvtz.ZoneAttachment("zone-attachment", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoneAttachment.js","sourceRoot":"","sources":["../../pvtz/zoneAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"zoneAttachment.js","sourceRoot":"","sources":["../../pvtz/zoneAttachment.ts"],"names":[],"mappings":"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"}
|
package/quotas/quotaAlarm.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Quotas Quota Alarm resource.
|
|
6
6
|
*
|
|
7
|
-
* For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/
|
|
7
|
+
* For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createquotaalarm).
|
|
8
8
|
*
|
|
9
9
|
* > **NOTE:** Available since v1.116.0.
|
|
10
10
|
*
|
package/quotas/quotaAlarm.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Quotas Quota Alarm resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/
|
|
11
|
+
* For information about Quotas Quota Alarm and how to use it, see [What is Quota Alarm](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createquotaalarm).
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.116.0.
|
|
14
14
|
*
|
|
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Quotas Template Quota resource.
|
|
6
6
|
*
|
|
7
|
-
* For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/
|
|
7
|
+
* For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createtemplatequotaitem).
|
|
8
8
|
*
|
|
9
9
|
* > **NOTE:** Available since v1.206.0.
|
|
10
10
|
*
|
package/quotas/templateQuota.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Quotas Template Quota resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/
|
|
11
|
+
* For information about Quotas Template Quota and how to use it, see [What is Template Quota](https://www.alibabacloud.com/help/en/quota-center/developer-reference/api-quotas-2020-05-10-createtemplatequotaitem).
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.206.0.
|
|
14
14
|
*
|
package/ram/getUsers.d.ts
CHANGED
|
@@ -11,14 +11,55 @@ 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
|
-
* const
|
|
14
|
+
* const defaultGroup = new alicloud.ram.Group("defaultGroup", {
|
|
15
|
+
* comments: "group comments",
|
|
16
|
+
* force: true,
|
|
17
|
+
* });
|
|
18
|
+
* const defaultUser = new alicloud.ram.User("defaultUser", {
|
|
19
|
+
* displayName: "displayname",
|
|
20
|
+
* mobile: "86-18888888888",
|
|
21
|
+
* email: "hello.uuu@aaa.com",
|
|
22
|
+
* comments: "yoyoyo",
|
|
23
|
+
* });
|
|
24
|
+
* const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
|
|
25
|
+
* groupName: defaultGroup.name,
|
|
26
|
+
* userNames: [defaultUser.name],
|
|
27
|
+
* });
|
|
28
|
+
* const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
|
|
29
|
+
* policyName: "ram-policy-example",
|
|
30
|
+
* policyDocument: ` {
|
|
31
|
+
* "Statement": [
|
|
32
|
+
* {
|
|
33
|
+
* "Action": [
|
|
34
|
+
* "oss:ListObjects",
|
|
35
|
+
* "oss:ListObjects"
|
|
36
|
+
* ],
|
|
37
|
+
* "Effect": "Deny",
|
|
38
|
+
* "Resource": [
|
|
39
|
+
* "acs:oss:*:*:mybucket",
|
|
40
|
+
* "acs:oss:*:*:mybucket/*"
|
|
41
|
+
* ]
|
|
42
|
+
* }
|
|
43
|
+
* ],
|
|
44
|
+
* "Version": "1"
|
|
45
|
+
* }
|
|
46
|
+
* `,
|
|
47
|
+
* description: "this is a policy example",
|
|
48
|
+
* force: true,
|
|
49
|
+
* });
|
|
50
|
+
* const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
|
|
51
|
+
* policyName: defaultPolicy.policyName,
|
|
52
|
+
* userName: defaultUser.name,
|
|
53
|
+
* policyType: defaultPolicy.type,
|
|
54
|
+
* });
|
|
55
|
+
* const usersDs = alicloud.ram.getUsersOutput({
|
|
15
56
|
* outputFile: "users.txt",
|
|
16
|
-
* groupName:
|
|
17
|
-
* policyName:
|
|
57
|
+
* groupName: defaultGroup.name,
|
|
58
|
+
* policyName: defaultPolicy.policyName,
|
|
18
59
|
* policyType: "Custom",
|
|
19
|
-
* nameRegex:
|
|
60
|
+
* nameRegex: defaultUser.name,
|
|
20
61
|
* });
|
|
21
|
-
* export const firstUserId = usersDs.
|
|
62
|
+
* export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
|
|
22
63
|
* ```
|
|
23
64
|
*/
|
|
24
65
|
export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
@@ -88,14 +129,55 @@ export interface GetUsersResult {
|
|
|
88
129
|
* import * as pulumi from "@pulumi/pulumi";
|
|
89
130
|
* import * as alicloud from "@pulumi/alicloud";
|
|
90
131
|
*
|
|
91
|
-
* const
|
|
132
|
+
* const defaultGroup = new alicloud.ram.Group("defaultGroup", {
|
|
133
|
+
* comments: "group comments",
|
|
134
|
+
* force: true,
|
|
135
|
+
* });
|
|
136
|
+
* const defaultUser = new alicloud.ram.User("defaultUser", {
|
|
137
|
+
* displayName: "displayname",
|
|
138
|
+
* mobile: "86-18888888888",
|
|
139
|
+
* email: "hello.uuu@aaa.com",
|
|
140
|
+
* comments: "yoyoyo",
|
|
141
|
+
* });
|
|
142
|
+
* const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
|
|
143
|
+
* groupName: defaultGroup.name,
|
|
144
|
+
* userNames: [defaultUser.name],
|
|
145
|
+
* });
|
|
146
|
+
* const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
|
|
147
|
+
* policyName: "ram-policy-example",
|
|
148
|
+
* policyDocument: ` {
|
|
149
|
+
* "Statement": [
|
|
150
|
+
* {
|
|
151
|
+
* "Action": [
|
|
152
|
+
* "oss:ListObjects",
|
|
153
|
+
* "oss:ListObjects"
|
|
154
|
+
* ],
|
|
155
|
+
* "Effect": "Deny",
|
|
156
|
+
* "Resource": [
|
|
157
|
+
* "acs:oss:*:*:mybucket",
|
|
158
|
+
* "acs:oss:*:*:mybucket/*"
|
|
159
|
+
* ]
|
|
160
|
+
* }
|
|
161
|
+
* ],
|
|
162
|
+
* "Version": "1"
|
|
163
|
+
* }
|
|
164
|
+
* `,
|
|
165
|
+
* description: "this is a policy example",
|
|
166
|
+
* force: true,
|
|
167
|
+
* });
|
|
168
|
+
* const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
|
|
169
|
+
* policyName: defaultPolicy.policyName,
|
|
170
|
+
* userName: defaultUser.name,
|
|
171
|
+
* policyType: defaultPolicy.type,
|
|
172
|
+
* });
|
|
173
|
+
* const usersDs = alicloud.ram.getUsersOutput({
|
|
92
174
|
* outputFile: "users.txt",
|
|
93
|
-
* groupName:
|
|
94
|
-
* policyName:
|
|
175
|
+
* groupName: defaultGroup.name,
|
|
176
|
+
* policyName: defaultPolicy.policyName,
|
|
95
177
|
* policyType: "Custom",
|
|
96
|
-
* nameRegex:
|
|
178
|
+
* nameRegex: defaultUser.name,
|
|
97
179
|
* });
|
|
98
|
-
* export const firstUserId = usersDs.
|
|
180
|
+
* export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
|
|
99
181
|
* ```
|
|
100
182
|
*/
|
|
101
183
|
export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
|
package/ram/getUsers.js
CHANGED
|
@@ -16,14 +16,55 @@ const utilities = require("../utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const defaultGroup = new alicloud.ram.Group("defaultGroup", {
|
|
20
|
+
* comments: "group comments",
|
|
21
|
+
* force: true,
|
|
22
|
+
* });
|
|
23
|
+
* const defaultUser = new alicloud.ram.User("defaultUser", {
|
|
24
|
+
* displayName: "displayname",
|
|
25
|
+
* mobile: "86-18888888888",
|
|
26
|
+
* email: "hello.uuu@aaa.com",
|
|
27
|
+
* comments: "yoyoyo",
|
|
28
|
+
* });
|
|
29
|
+
* const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
|
|
30
|
+
* groupName: defaultGroup.name,
|
|
31
|
+
* userNames: [defaultUser.name],
|
|
32
|
+
* });
|
|
33
|
+
* const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
|
|
34
|
+
* policyName: "ram-policy-example",
|
|
35
|
+
* policyDocument: ` {
|
|
36
|
+
* "Statement": [
|
|
37
|
+
* {
|
|
38
|
+
* "Action": [
|
|
39
|
+
* "oss:ListObjects",
|
|
40
|
+
* "oss:ListObjects"
|
|
41
|
+
* ],
|
|
42
|
+
* "Effect": "Deny",
|
|
43
|
+
* "Resource": [
|
|
44
|
+
* "acs:oss:*:*:mybucket",
|
|
45
|
+
* "acs:oss:*:*:mybucket/*"
|
|
46
|
+
* ]
|
|
47
|
+
* }
|
|
48
|
+
* ],
|
|
49
|
+
* "Version": "1"
|
|
50
|
+
* }
|
|
51
|
+
* `,
|
|
52
|
+
* description: "this is a policy example",
|
|
53
|
+
* force: true,
|
|
54
|
+
* });
|
|
55
|
+
* const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
|
|
56
|
+
* policyName: defaultPolicy.policyName,
|
|
57
|
+
* userName: defaultUser.name,
|
|
58
|
+
* policyType: defaultPolicy.type,
|
|
59
|
+
* });
|
|
60
|
+
* const usersDs = alicloud.ram.getUsersOutput({
|
|
20
61
|
* outputFile: "users.txt",
|
|
21
|
-
* groupName:
|
|
22
|
-
* policyName:
|
|
62
|
+
* groupName: defaultGroup.name,
|
|
63
|
+
* policyName: defaultPolicy.policyName,
|
|
23
64
|
* policyType: "Custom",
|
|
24
|
-
* nameRegex:
|
|
65
|
+
* nameRegex: defaultUser.name,
|
|
25
66
|
* });
|
|
26
|
-
* export const firstUserId = usersDs.
|
|
67
|
+
* export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
|
|
27
68
|
* ```
|
|
28
69
|
*/
|
|
29
70
|
function getUsers(args, opts) {
|
|
@@ -50,14 +91,55 @@ exports.getUsers = getUsers;
|
|
|
50
91
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
92
|
* import * as alicloud from "@pulumi/alicloud";
|
|
52
93
|
*
|
|
53
|
-
* const
|
|
94
|
+
* const defaultGroup = new alicloud.ram.Group("defaultGroup", {
|
|
95
|
+
* comments: "group comments",
|
|
96
|
+
* force: true,
|
|
97
|
+
* });
|
|
98
|
+
* const defaultUser = new alicloud.ram.User("defaultUser", {
|
|
99
|
+
* displayName: "displayname",
|
|
100
|
+
* mobile: "86-18888888888",
|
|
101
|
+
* email: "hello.uuu@aaa.com",
|
|
102
|
+
* comments: "yoyoyo",
|
|
103
|
+
* });
|
|
104
|
+
* const defaultGroupMembership = new alicloud.ram.GroupMembership("defaultGroupMembership", {
|
|
105
|
+
* groupName: defaultGroup.name,
|
|
106
|
+
* userNames: [defaultUser.name],
|
|
107
|
+
* });
|
|
108
|
+
* const defaultPolicy = new alicloud.ram.Policy("defaultPolicy", {
|
|
109
|
+
* policyName: "ram-policy-example",
|
|
110
|
+
* policyDocument: ` {
|
|
111
|
+
* "Statement": [
|
|
112
|
+
* {
|
|
113
|
+
* "Action": [
|
|
114
|
+
* "oss:ListObjects",
|
|
115
|
+
* "oss:ListObjects"
|
|
116
|
+
* ],
|
|
117
|
+
* "Effect": "Deny",
|
|
118
|
+
* "Resource": [
|
|
119
|
+
* "acs:oss:*:*:mybucket",
|
|
120
|
+
* "acs:oss:*:*:mybucket/*"
|
|
121
|
+
* ]
|
|
122
|
+
* }
|
|
123
|
+
* ],
|
|
124
|
+
* "Version": "1"
|
|
125
|
+
* }
|
|
126
|
+
* `,
|
|
127
|
+
* description: "this is a policy example",
|
|
128
|
+
* force: true,
|
|
129
|
+
* });
|
|
130
|
+
* const defaultUserPolicyAttachment = new alicloud.ram.UserPolicyAttachment("defaultUserPolicyAttachment", {
|
|
131
|
+
* policyName: defaultPolicy.policyName,
|
|
132
|
+
* userName: defaultUser.name,
|
|
133
|
+
* policyType: defaultPolicy.type,
|
|
134
|
+
* });
|
|
135
|
+
* const usersDs = alicloud.ram.getUsersOutput({
|
|
54
136
|
* outputFile: "users.txt",
|
|
55
|
-
* groupName:
|
|
56
|
-
* policyName:
|
|
137
|
+
* groupName: defaultGroup.name,
|
|
138
|
+
* policyName: defaultPolicy.policyName,
|
|
57
139
|
* policyType: "Custom",
|
|
58
|
-
* nameRegex:
|
|
140
|
+
* nameRegex: defaultUser.name,
|
|
59
141
|
* });
|
|
60
|
-
* export const firstUserId = usersDs.
|
|
142
|
+
* export const firstUserId = usersDs.apply(usersDs => usersDs.users?.[0]?.id);
|
|
61
143
|
* ```
|
|
62
144
|
*/
|
|
63
145
|
function getUsersOutput(args, opts) {
|
package/ram/getUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../../ram/getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../../ram/getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC;AA0DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/rds/ddrInstance.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ export declare class DdrInstance extends pulumi.CustomResource {
|
|
|
121
121
|
* - true: delete protect.
|
|
122
122
|
* - false: no delete protect.
|
|
123
123
|
*
|
|
124
|
-
* > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **
|
|
124
|
+
* > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgreSQL**, **MariaDB**, **MSSQL**.
|
|
125
125
|
*/
|
|
126
126
|
readonly deletionProtection: pulumi.Output<boolean>;
|
|
127
127
|
/**
|
|
@@ -518,7 +518,7 @@ export interface DdrInstanceState {
|
|
|
518
518
|
* - true: delete protect.
|
|
519
519
|
* - false: no delete protect.
|
|
520
520
|
*
|
|
521
|
-
* > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **
|
|
521
|
+
* > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgreSQL**, **MariaDB**, **MSSQL**.
|
|
522
522
|
*/
|
|
523
523
|
deletionProtection?: pulumi.Input<boolean>;
|
|
524
524
|
/**
|
|
@@ -899,7 +899,7 @@ export interface DdrInstanceArgs {
|
|
|
899
899
|
* - true: delete protect.
|
|
900
900
|
* - false: no delete protect.
|
|
901
901
|
*
|
|
902
|
-
* > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **
|
|
902
|
+
* > **NOTE:** `deletionProtection` is valid only when attribute `paymentType` is set to `PayAsYouGo`, supported engine type: **MySQL**, **PostgreSQL**, **MariaDB**, **MSSQL**.
|
|
903
903
|
*/
|
|
904
904
|
deletionProtection?: pulumi.Input<boolean>;
|
|
905
905
|
/**
|
package/rds/instance.d.ts
CHANGED
|
@@ -78,6 +78,8 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
78
78
|
* * **serverless_basic**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.200.0+)
|
|
79
79
|
* * **serverless_standard**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.204.0+)
|
|
80
80
|
* * **serverless_ha**: RDS Serverless High-availability Edition for SQL Server. (Available in 1.204.0+)
|
|
81
|
+
*
|
|
82
|
+
* > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
|
|
81
83
|
*/
|
|
82
84
|
readonly category: pulumi.Output<string>;
|
|
83
85
|
/**
|
|
@@ -159,7 +161,7 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
159
161
|
* - true: delete protect.
|
|
160
162
|
* - false: no delete protect.
|
|
161
163
|
*
|
|
162
|
-
* > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type:
|
|
164
|
+
* > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: `MySQL`, `PostgreSQL`, `MariaDB`, `MSSQL`.
|
|
163
165
|
*/
|
|
164
166
|
readonly deletionProtection: pulumi.Output<boolean | undefined>;
|
|
165
167
|
/**
|
|
@@ -426,9 +428,6 @@ export declare class Instance extends pulumi.CustomResource {
|
|
|
426
428
|
* The availability check method of the instance. Valid values:
|
|
427
429
|
* - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
428
430
|
* - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
* > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
|
|
432
431
|
*/
|
|
433
432
|
readonly tcpConnectionType: pulumi.Output<string>;
|
|
434
433
|
/**
|
|
@@ -549,6 +548,8 @@ export interface InstanceState {
|
|
|
549
548
|
* * **serverless_basic**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.200.0+)
|
|
550
549
|
* * **serverless_standard**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.204.0+)
|
|
551
550
|
* * **serverless_ha**: RDS Serverless High-availability Edition for SQL Server. (Available in 1.204.0+)
|
|
551
|
+
*
|
|
552
|
+
* > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
|
|
552
553
|
*/
|
|
553
554
|
category?: pulumi.Input<string>;
|
|
554
555
|
/**
|
|
@@ -630,7 +631,7 @@ export interface InstanceState {
|
|
|
630
631
|
* - true: delete protect.
|
|
631
632
|
* - false: no delete protect.
|
|
632
633
|
*
|
|
633
|
-
* > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type:
|
|
634
|
+
* > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: `MySQL`, `PostgreSQL`, `MariaDB`, `MSSQL`.
|
|
634
635
|
*/
|
|
635
636
|
deletionProtection?: pulumi.Input<boolean>;
|
|
636
637
|
/**
|
|
@@ -897,9 +898,6 @@ export interface InstanceState {
|
|
|
897
898
|
* The availability check method of the instance. Valid values:
|
|
898
899
|
* - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
899
900
|
* - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
|
|
900
|
-
*
|
|
901
|
-
*
|
|
902
|
-
* > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
|
|
903
901
|
*/
|
|
904
902
|
tcpConnectionType?: pulumi.Input<string>;
|
|
905
903
|
/**
|
|
@@ -1012,6 +1010,8 @@ export interface InstanceArgs {
|
|
|
1012
1010
|
* * **serverless_basic**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.200.0+)
|
|
1013
1011
|
* * **serverless_standard**: RDS Serverless Basic Edition. This edition is available only for instances that run MySQL and PostgreSQL. (Available in 1.204.0+)
|
|
1014
1012
|
* * **serverless_ha**: RDS Serverless High-availability Edition for SQL Server. (Available in 1.204.0+)
|
|
1013
|
+
*
|
|
1014
|
+
* > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
|
|
1015
1015
|
*/
|
|
1016
1016
|
category?: pulumi.Input<string>;
|
|
1017
1017
|
/**
|
|
@@ -1081,7 +1081,7 @@ export interface InstanceArgs {
|
|
|
1081
1081
|
* - true: delete protect.
|
|
1082
1082
|
* - false: no delete protect.
|
|
1083
1083
|
*
|
|
1084
|
-
* > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type:
|
|
1084
|
+
* > **NOTE:** `deletionProtection` is valid only when attribute `instanceChargeType` is set to `Postpaid` or `Serverless`, supported engine type: `MySQL`, `PostgreSQL`, `MariaDB`, `MSSQL`.
|
|
1085
1085
|
*/
|
|
1086
1086
|
deletionProtection?: pulumi.Input<boolean>;
|
|
1087
1087
|
/**
|
|
@@ -1340,9 +1340,6 @@ export interface InstanceArgs {
|
|
|
1340
1340
|
* The availability check method of the instance. Valid values:
|
|
1341
1341
|
* - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
1342
1342
|
* - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
1345
|
-
* > **NOTE:** `zoneIdSlaveA` and `zoneIdSlaveB` can specify slave zone ids when creating the high-availability or enterprise edition instances. Meanwhile, `vswitchId` needs to pass in the corresponding vswitch id to the slave zone by order (If the `vswitchId` is not specified, the classic network version will be created). For example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "zone-c", `zoneIdSlaveB` = "zone-b", then the `vswitchId` must be "vsw-zone-a,vsw-zone-c,vsw-zone-b". Of course, you can also choose automatic allocation , for example, `zoneId` = "zone-a" and `zoneIdSlaveA` = "Auto",`zoneIdSlaveB` = "Auto", then the `vswitchId` must be "vsw-zone-a,Auto,Auto". The list contains up to 2 slave zone ids , separated by commas.
|
|
1346
1343
|
*/
|
|
1347
1344
|
tcpConnectionType?: pulumi.Input<string>;
|
|
1348
1345
|
/**
|