@pulumi/alicloud 3.43.0 → 3.43.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/actiontrail/getGlobalEventsStorageRegion.d.ts +18 -0
- package/actiontrail/getGlobalEventsStorageRegion.js +22 -1
- package/actiontrail/getGlobalEventsStorageRegion.js.map +1 -1
- package/actiontrail/index.d.ts +1 -0
- package/actiontrail/index.js +3 -2
- package/actiontrail/index.js.map +1 -1
- package/cddc/dedicatedHost.d.ts +0 -51
- package/cddc/dedicatedHost.js +0 -51
- package/cddc/dedicatedHost.js.map +1 -1
- package/cddc/dedicatedHostAccount.d.ts +59 -2
- package/cddc/dedicatedHostAccount.js +59 -2
- package/cddc/dedicatedHostAccount.js.map +1 -1
- package/cddc/dedicatedHostGroup.d.ts +11 -9
- package/cddc/dedicatedHostGroup.js +11 -9
- package/cddc/dedicatedHostGroup.js.map +1 -1
- package/cdn/domainNew.d.ts +11 -11
- package/cdn/domainNew.js +5 -5
- package/cdn/realTimeLogDelivery.d.ts +35 -7
- package/cdn/realTimeLogDelivery.js +35 -7
- package/cdn/realTimeLogDelivery.js.map +1 -1
- package/clickhouse/account.d.ts +18 -16
- package/clickhouse/account.js +18 -16
- package/clickhouse/account.js.map +1 -1
- package/clickhouse/backupPolicy.d.ts +17 -12
- package/clickhouse/backupPolicy.js +17 -12
- package/clickhouse/backupPolicy.js.map +1 -1
- package/clickhouse/dbCluster.d.ts +23 -22
- package/clickhouse/dbCluster.js +16 -15
- package/clickhouse/dbCluster.js.map +1 -1
- package/cloudconnect/network.d.ts +5 -3
- package/cloudconnect/network.js +5 -3
- package/cloudconnect/network.js.map +1 -1
- package/cloudconnect/networkAttachment.d.ts +13 -8
- package/cloudconnect/networkAttachment.js +13 -8
- package/cloudconnect/networkAttachment.js.map +1 -1
- package/cloudconnect/networkGrant.d.ts +29 -16
- package/cloudconnect/networkGrant.js +29 -16
- package/cloudconnect/networkGrant.js.map +1 -1
- package/cloudfirewall/addressBook.d.ts +15 -21
- package/cloudfirewall/addressBook.js +2 -2
- package/cloudfirewall/addressBook.js.map +1 -1
- package/cloudfirewall/firewallVpcFirewall.d.ts +57 -19
- package/cloudfirewall/firewallVpcFirewall.js +40 -2
- package/cloudfirewall/firewallVpcFirewall.js.map +1 -1
- package/cloudfirewall/firewallVpcFirewallCen.d.ts +12 -12
- package/cloudfirewall/firewallVpcFirewallCen.js +2 -2
- package/cloudfirewall/firewallVpcFirewallControlPolicy.d.ts +13 -23
- package/cloudfirewall/firewallVpcFirewallControlPolicy.js +1 -1
- package/cloudfirewall/firewallVpcFirewallControlPolicy.js.map +1 -1
- package/cloudfirewall/instance.d.ts +70 -37
- package/cloudfirewall/instance.js +10 -13
- package/cloudfirewall/instance.js.map +1 -1
- package/cr/chain.d.ts +152 -5
- package/cr/chain.js +149 -2
- package/cr/chain.js.map +1 -1
- package/cr/chartNamespace.d.ts +11 -7
- package/cr/chartNamespace.js +11 -7
- package/cr/chartNamespace.js.map +1 -1
- package/cr/chartRepository.d.ts +15 -11
- package/cr/chartRepository.js +15 -11
- package/cr/chartRepository.js.map +1 -1
- package/cr/namespace.d.ts +5 -3
- package/cr/namespace.js +5 -3
- package/cr/namespace.js.map +1 -1
- package/cr/registryEnterpriseInstance.d.ts +0 -24
- package/cr/registryEnterpriseInstance.js +0 -24
- package/cr/registryEnterpriseInstance.js.map +1 -1
- package/cr/repo.d.ts +7 -5
- package/cr/repo.js +7 -5
- package/cr/repo.js.map +1 -1
- package/cr/vpcEndpointLinkedVpc.d.ts +30 -7
- package/cr/vpcEndpointLinkedVpc.js +30 -7
- package/cr/vpcEndpointLinkedVpc.js.map +1 -1
- package/cs/registryEnterpriseNamespace.d.ts +14 -4
- package/cs/registryEnterpriseNamespace.js +14 -4
- package/cs/registryEnterpriseNamespace.js.map +1 -1
- package/cs/registryEnterpriseRepo.d.ts +17 -7
- package/cs/registryEnterpriseRepo.js +17 -7
- package/cs/registryEnterpriseRepo.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +55 -10
- package/cs/registryEnterpriseSyncRule.js +55 -10
- package/cs/registryEnterpriseSyncRule.js.map +1 -1
- package/datahub/project.d.ts +5 -1
- package/datahub/project.js +5 -1
- package/datahub/project.js.map +1 -1
- package/datahub/subscription.d.ts +16 -4
- package/datahub/subscription.js +16 -4
- package/datahub/subscription.js.map +1 -1
- package/datahub/topic.d.ts +18 -22
- package/datahub/topic.js +18 -22
- package/datahub/topic.js.map +1 -1
- package/ddos/basicDefenseThreshold.d.ts +7 -5
- package/ddos/basicDefenseThreshold.js +7 -5
- package/ddos/basicDefenseThreshold.js.map +1 -1
- package/ddos/basicThreshold.d.ts +20 -16
- package/ddos/basicThreshold.js +20 -16
- package/ddos/basicThreshold.js.map +1 -1
- package/ddos/bgpIp.d.ts +13 -4
- package/ddos/bgpIp.js +13 -4
- package/ddos/bgpIp.js.map +1 -1
- package/ddos/ddosBgpInstance.d.ts +4 -2
- package/ddos/ddosBgpInstance.js +4 -2
- package/ddos/ddosBgpInstance.js.map +1 -1
- package/ddos/ddosCooInstance.d.ts +7 -5
- package/ddos/ddosCooInstance.js +7 -5
- package/ddos/ddosCooInstance.js.map +1 -1
- package/ddos/domainResource.d.ts +19 -7
- package/ddos/domainResource.js +19 -7
- package/ddos/domainResource.js.map +1 -1
- package/ddos/port.d.ts +10 -5
- package/ddos/port.js +10 -5
- package/ddos/port.js.map +1 -1
- package/ddos/schedulerRule.d.ts +8 -6
- package/ddos/schedulerRule.js +5 -3
- package/ddos/schedulerRule.js.map +1 -1
- package/dms/enterpriseInstance.d.ts +72 -13
- package/dms/enterpriseInstance.js +72 -13
- package/dms/enterpriseInstance.js.map +1 -1
- package/dms/enterpriseProxy.d.ts +92 -1
- package/dms/enterpriseProxy.js +92 -1
- package/dms/enterpriseProxy.js.map +1 -1
- package/dms/enterpriseUser.d.ts +14 -6
- package/dms/enterpriseUser.js +14 -6
- package/dms/enterpriseUser.js.map +1 -1
- package/dns/ddosBgpInstance.d.ts +4 -2
- package/dns/ddosBgpInstance.js +4 -2
- package/dns/ddosBgpInstance.js.map +1 -1
- package/dns/ddosCooInstance.d.ts +7 -5
- package/dns/ddosCooInstance.js +7 -5
- package/dns/ddosCooInstance.js.map +1 -1
- package/eci/containerGroup.d.ts +22 -7
- package/eci/containerGroup.js +22 -7
- package/eci/containerGroup.js.map +1 -1
- package/eci/imageCache.d.ts +35 -10
- package/eci/imageCache.js +32 -7
- package/eci/imageCache.js.map +1 -1
- package/eci/virtualNode.d.ts +27 -17
- package/eci/virtualNode.js +24 -14
- package/eci/virtualNode.js.map +1 -1
- package/ecp/instance.d.ts +42 -2
- package/ecp/instance.js +42 -2
- package/ecp/instance.js.map +1 -1
- package/eds/bundle.d.ts +2 -2
- package/eflo/subnet.d.ts +12 -10
- package/eflo/subnet.js +6 -4
- package/eflo/subnet.js.map +1 -1
- package/eflo/vpd.d.ts +14 -10
- package/eflo/vpd.js +8 -4
- package/eflo/vpd.js.map +1 -1
- package/ehpc/cluster.d.ts +31 -28
- package/ehpc/cluster.js +22 -19
- package/ehpc/cluster.js.map +1 -1
- package/eipanycast/anycastEipAddress.d.ts +2 -2
- package/eipanycast/anycastEipAddress.js +2 -2
- package/eipanycast/anycastEipAddressAttachment.d.ts +163 -0
- package/eipanycast/anycastEipAddressAttachment.js +163 -0
- package/eipanycast/anycastEipAddressAttachment.js.map +1 -1
- package/emrv2/cluster.d.ts +24 -24
- package/emrv2/cluster.js +9 -9
- package/ens/keyPair.d.ts +6 -4
- package/ens/keyPair.js +6 -4
- package/ens/keyPair.js.map +1 -1
- package/fc/service.d.ts +0 -187
- package/fc/service.js +0 -76
- package/fc/service.js.map +1 -1
- package/fc/v2function.d.ts +0 -365
- package/fc/v2function.js +0 -122
- package/fc/v2function.js.map +1 -1
- package/ga/additionalCertificate.d.ts +3 -3
- package/getAccount.d.ts +14 -0
- package/getAccount.js +18 -1
- package/getAccount.js.map +1 -1
- package/getCallerIdentity.d.ts +16 -0
- package/getCallerIdentity.js +20 -1
- package/getCallerIdentity.js.map +1 -1
- package/gpdb/account.d.ts +53 -1
- package/gpdb/account.js +53 -1
- package/gpdb/account.js.map +1 -1
- package/gpdb/connection.d.ts +49 -1
- package/gpdb/connection.js +49 -1
- package/gpdb/connection.js.map +1 -1
- package/gpdb/dbInstancePlan.d.ts +5 -5
- package/gpdb/dbInstancePlan.js +2 -2
- package/gpdb/instance.d.ts +46 -0
- package/gpdb/instance.js +46 -0
- package/gpdb/instance.js.map +1 -1
- package/graphdatabase/dbInstance.d.ts +12 -10
- package/graphdatabase/dbInstance.js +9 -7
- package/graphdatabase/dbInstance.js.map +1 -1
- package/hbr/vault.d.ts +10 -22
- package/hbr/vault.js +2 -4
- package/hbr/vault.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +7 -5
- package/index.js.map +1 -1
- package/kvstore/account.d.ts +27 -15
- package/kvstore/account.js +27 -15
- package/kvstore/account.js.map +1 -1
- package/kvstore/auditLogConfig.d.ts +36 -2
- package/kvstore/auditLogConfig.js +36 -2
- package/kvstore/auditLogConfig.js.map +1 -1
- package/kvstore/connection.d.ts +38 -4
- package/kvstore/connection.js +38 -4
- package/kvstore/connection.js.map +1 -1
- package/kvstore/instance.d.ts +18 -26
- package/lindorm/instance.d.ts +35 -0
- package/lindorm/instance.js +35 -0
- package/lindorm/instance.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/rds/getInstances.d.ts +4 -0
- package/rds/getInstances.js +4 -0
- package/rds/getInstances.js.map +1 -1
- package/rds/instance.d.ts +28 -4
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/rds/readOnlyInstance.d.ts +24 -0
- package/rds/readOnlyInstance.js +2 -0
- package/rds/readOnlyInstance.js.map +1 -1
- package/rocketmq/acl.d.ts +2 -2
- package/rocketmq/acl.js +2 -2
- package/rocketmq/aclRule.d.ts +27 -2
- package/rocketmq/aclRule.js +27 -2
- package/rocketmq/aclRule.js.map +1 -1
- package/rocketmq/clientUser.d.ts +27 -6
- package/rocketmq/clientUser.js +9 -6
- package/rocketmq/clientUser.js.map +1 -1
- package/rocketmq/dnatEntry.d.ts +10 -8
- package/rocketmq/dnatEntry.js +10 -8
- package/rocketmq/dnatEntry.js.map +1 -1
- package/rocketmq/qos.d.ts +2 -2
- package/rocketmq/qos.js +2 -2
- package/rocketmq/qosCar.d.ts +5 -3
- package/rocketmq/qosCar.js +5 -3
- package/rocketmq/qosCar.js.map +1 -1
- package/rocketmq/qosPolicy.d.ts +2 -25
- package/rocketmq/qosPolicy.js +2 -25
- package/rocketmq/qosPolicy.js.map +1 -1
- package/rocketmq/snatEntry.d.ts +5 -3
- package/rocketmq/snatEntry.js +5 -3
- package/rocketmq/snatEntry.js.map +1 -1
- package/sae/application.d.ts +28 -17
- package/sae/application.js +28 -17
- package/sae/application.js.map +1 -1
- package/sae/applicationScalingRule.d.ts +47 -28
- package/sae/applicationScalingRule.js +41 -22
- package/sae/applicationScalingRule.js.map +1 -1
- package/sae/configMap.d.ts +18 -9
- package/sae/configMap.js +18 -9
- package/sae/configMap.js.map +1 -1
- package/sae/greyTagRoute.d.ts +92 -8
- package/sae/greyTagRoute.js +86 -2
- package/sae/greyTagRoute.js.map +1 -1
- package/sae/ingress.d.ts +46 -26
- package/sae/ingress.js +46 -26
- package/sae/ingress.js.map +1 -1
- package/sae/loadBalancerInternet.d.ts +60 -9
- package/sae/loadBalancerInternet.js +57 -6
- package/sae/loadBalancerInternet.js.map +1 -1
- package/sae/loadBalancerIntranet.d.ts +60 -9
- package/sae/loadBalancerIntranet.js +57 -6
- package/sae/loadBalancerIntranet.js.map +1 -1
- package/sae/namespace.d.ts +15 -4
- package/sae/namespace.js +15 -4
- package/sae/namespace.js.map +1 -1
- package/sag/smartagFlowLog.d.ts +5 -8
- package/sag/smartagFlowLog.js +5 -8
- package/sag/smartagFlowLog.js.map +1 -1
- package/types/input.d.ts +114 -82
- package/types/output.d.ts +160 -83
- package/vpc/dhcpOptionsSetAttachment.d.ts +7 -5
- package/vpc/dhcpOptionsSetAttachment.js +7 -5
- package/vpc/dhcpOptionsSetAttachment.js.map +1 -1
- package/vpc/flowLog.d.ts +1 -39
- package/vpc/flowLog.js +1 -39
- package/vpc/flowLog.js.map +1 -1
- package/vpc/havip.d.ts +87 -3
- package/vpc/havip.js +18 -3
- package/vpc/havip.js.map +1 -1
- package/vpc/havipAttachment.d.ts +30 -27
- package/vpc/havipAttachment.js +30 -27
- package/vpc/havipAttachment.js.map +1 -1
- package/vpc/ipv6EgressRule.d.ts +53 -14
- package/vpc/ipv6EgressRule.js +53 -14
- package/vpc/ipv6EgressRule.js.map +1 -1
- package/vpc/networkAcl.d.ts +62 -12
- package/vpc/networkAcl.js +51 -1
- package/vpc/networkAcl.js.map +1 -1
- package/vpc/peerConnectionAccepter.d.ts +29 -14
- package/vpc/peerConnectionAccepter.js +29 -14
- package/vpc/peerConnectionAccepter.js.map +1 -1
- package/vpc/publicIpAddressPool.d.ts +9 -12
- package/vpc/publicIpAddressPool.js +9 -12
- package/vpc/publicIpAddressPool.js.map +1 -1
- package/vpc/publicIpAddressPoolCidrBlock.d.ts +6 -2
- package/vpc/publicIpAddressPoolCidrBlock.js +6 -2
- package/vpc/publicIpAddressPoolCidrBlock.js.map +1 -1
- package/vpc/trafficMirrorSession.d.ts +25 -21
- package/vpc/trafficMirrorSession.js +25 -21
- package/vpc/trafficMirrorSession.js.map +1 -1
- package/vpc/vpcNetworkAclAttachment.d.ts +1 -1
- package/vpc/vpcNetworkAclAttachment.js +1 -1
- package/wafv3/domain.d.ts +7 -7
- package/wafv3/domain.js +1 -1
package/cloudconnect/network.js
CHANGED
|
@@ -8,9 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a cloud connect network resource. Cloud Connect Network (CCN) is another important component of Smart Access Gateway. It is a device access matrix composed of Alibaba Cloud distributed access gateways. You can add multiple Smart Access Gateway (SAG) devices to a CCN instance and then attach the CCN instance to a Cloud Enterprise Network (CEN) instance to connect the local branches to the Alibaba Cloud.
|
|
10
10
|
*
|
|
11
|
-
* For information about cloud connect network and how to use it, see [What is Cloud Connect Network](https://www.alibabacloud.com/help/
|
|
11
|
+
* For information about cloud connect network and how to use it, see [What is Cloud Connect Network](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/createcloudconnectnetwork).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.59.0.
|
|
14
14
|
*
|
|
15
15
|
* > **NOTE:** Only the following regions support create Cloud Connect Network. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
|
|
16
16
|
*
|
|
@@ -22,9 +22,11 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as alicloud from "@pulumi/alicloud";
|
|
24
24
|
*
|
|
25
|
+
* const config = new pulumi.Config();
|
|
26
|
+
* const name = config.get("name") || "terraform-example";
|
|
25
27
|
* const _default = new alicloud.cloudconnect.Network("default", {
|
|
28
|
+
* description: name,
|
|
26
29
|
* cidrBlock: "192.168.0.0/24",
|
|
27
|
-
* description: "tf-testAccCloudConnectNetworkDescription",
|
|
28
30
|
* isDefault: true,
|
|
29
31
|
* });
|
|
30
32
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../cloudconnect/network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../cloudconnect/network.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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I,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA1EL,0BA2EC;AA7DG,gBAAgB;AACO,oBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -2,9 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a Cloud Connect Network Attachment resource. This topic describes how to associate a Smart Access Gateway (SAG) instance with a network instance. You must associate an SAG instance with a network instance if you want to connect the SAG to Alibaba Cloud. You can connect an SAG to Alibaba Cloud through a leased line, the Internet, or the active and standby links.
|
|
4
4
|
*
|
|
5
|
-
* For information about Cloud Connect Network Attachment and how to use it, see [What is Cloud Connect Network Attachment](https://www.alibabacloud.com/help/
|
|
5
|
+
* For information about Cloud Connect Network Attachment and how to use it, see [What is Cloud Connect Network Attachment](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/bindsmartaccessgateway).
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE:** Available
|
|
7
|
+
* > **NOTE:** Available since v1.64.0.
|
|
8
8
|
*
|
|
9
9
|
* > **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
|
|
10
10
|
*
|
|
@@ -16,12 +16,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
20
|
-
* const
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
19
|
+
* const config = new pulumi.Config();
|
|
20
|
+
* const name = config.get("name") || "tf-example";
|
|
21
|
+
* const sagId = config.get("sagId") || "sag-9bifkf***";
|
|
22
|
+
* const defaultNetwork = new alicloud.cloudconnect.Network("defaultNetwork", {
|
|
23
|
+
* description: name,
|
|
24
|
+
* cidrBlock: "192.168.0.0/24",
|
|
25
|
+
* isDefault: true,
|
|
26
|
+
* });
|
|
27
|
+
* const defaultNetworkAttachment = new alicloud.cloudconnect.NetworkAttachment("defaultNetworkAttachment", {
|
|
28
|
+
* ccnId: defaultNetwork.id,
|
|
29
|
+
* sagId: sagId,
|
|
25
30
|
* });
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
@@ -8,9 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Cloud Connect Network Attachment resource. This topic describes how to associate a Smart Access Gateway (SAG) instance with a network instance. You must associate an SAG instance with a network instance if you want to connect the SAG to Alibaba Cloud. You can connect an SAG to Alibaba Cloud through a leased line, the Internet, or the active and standby links.
|
|
10
10
|
*
|
|
11
|
-
* For information about Cloud Connect Network Attachment and how to use it, see [What is Cloud Connect Network Attachment](https://www.alibabacloud.com/help/
|
|
11
|
+
* For information about Cloud Connect Network Attachment and how to use it, see [What is Cloud Connect Network Attachment](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/bindsmartaccessgateway).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.64.0.
|
|
14
14
|
*
|
|
15
15
|
* > **NOTE:** Only the following regions support. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
|
|
16
16
|
*
|
|
@@ -22,12 +22,17 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as alicloud from "@pulumi/alicloud";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
26
|
-
* const
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
25
|
+
* const config = new pulumi.Config();
|
|
26
|
+
* const name = config.get("name") || "tf-example";
|
|
27
|
+
* const sagId = config.get("sagId") || "sag-9bifkf***";
|
|
28
|
+
* const defaultNetwork = new alicloud.cloudconnect.Network("defaultNetwork", {
|
|
29
|
+
* description: name,
|
|
30
|
+
* cidrBlock: "192.168.0.0/24",
|
|
31
|
+
* isDefault: true,
|
|
32
|
+
* });
|
|
33
|
+
* const defaultNetworkAttachment = new alicloud.cloudconnect.NetworkAttachment("defaultNetworkAttachment", {
|
|
34
|
+
* ccnId: defaultNetwork.id,
|
|
35
|
+
* sagId: sagId,
|
|
31
36
|
* });
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkAttachment.js","sourceRoot":"","sources":["../../cloudconnect/networkAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"networ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BAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAjEL,8CAkEC;AApDG,gBAAgB;AACO,8BAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -2,9 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a Cloud Connect Network Grant resource. If the CEN instance to be attached belongs to another account, authorization by the CEN instance is required.
|
|
4
4
|
*
|
|
5
|
-
* For information about Cloud Connect Network Grant and how to use it, see [What is Cloud Connect Network Grant](https://www.alibabacloud.com/help/
|
|
5
|
+
* For information about Cloud Connect Network Grant and how to use it, see [What is Cloud Connect Network Grant](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/grantinstancetocbn).
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE:** Available
|
|
7
|
+
* > **NOTE:** Available since v1.63.0.
|
|
8
8
|
*
|
|
9
9
|
* > **NOTE:** Only the following regions support create Cloud Connect Network Grant. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
|
|
10
10
|
*
|
|
@@ -16,27 +16,40 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const config = new pulumi.Config();
|
|
20
|
+
* const name = config.get("name") || "tf-example";
|
|
21
|
+
* const cenUid = config.getNumber("cenUid") || 123456789;
|
|
22
|
+
* const _default = new alicloud.Provider("default", {region: "cn-shanghai"});
|
|
23
|
+
* // Method 1: Use assume_role to operate resources in the target cen account, detail see https://registry.terraform.io/providers/aliyun/alicloud/latest/docs#assume-role
|
|
20
24
|
* const cenAccount = new alicloud.Provider("cenAccount", {
|
|
21
25
|
* region: "cn-hangzhou",
|
|
22
|
-
*
|
|
23
|
-
*
|
|
26
|
+
* assumeRole: {
|
|
27
|
+
* roleArn: `acs:ram::${cenUid}:role/terraform-example-assume-role`,
|
|
28
|
+
* },
|
|
24
29
|
* });
|
|
25
|
-
*
|
|
26
|
-
*
|
|
30
|
+
* // Method 2: Use the target cen account's access_key, secret_key
|
|
31
|
+
* // provider "alicloud" {
|
|
32
|
+
* // region = "cn-hangzhou"
|
|
33
|
+
* // access_key = "access_key"
|
|
34
|
+
* // secret_key = "secret_key"
|
|
35
|
+
* // alias = "cen_account"
|
|
36
|
+
* // }
|
|
37
|
+
* const defaultNetwork = new alicloud.cloudconnect.Network("defaultNetwork", {
|
|
38
|
+
* description: name,
|
|
39
|
+
* cidrBlock: "192.168.0.0/24",
|
|
40
|
+
* isDefault: true,
|
|
41
|
+
* }, {
|
|
42
|
+
* provider: alicloud["default"],
|
|
27
43
|
* });
|
|
28
|
-
* const
|
|
29
|
-
* provider: alicloud.
|
|
44
|
+
* const cen = new alicloud.cen.Instance("cen", {cenInstanceName: name}, {
|
|
45
|
+
* provider: alicloud.cen_account,
|
|
30
46
|
* });
|
|
31
|
-
* const
|
|
32
|
-
* ccnId:
|
|
47
|
+
* const defaultNetworkGrant = new alicloud.cloudconnect.NetworkGrant("defaultNetworkGrant", {
|
|
48
|
+
* ccnId: defaultNetwork.id,
|
|
33
49
|
* cenId: cen.id,
|
|
34
|
-
* cenUid:
|
|
50
|
+
* cenUid: cenUid,
|
|
35
51
|
* }, {
|
|
36
|
-
*
|
|
37
|
-
* ccn,
|
|
38
|
-
* cen,
|
|
39
|
-
* ],
|
|
52
|
+
* provider: alicloud["default"],
|
|
40
53
|
* });
|
|
41
54
|
* ```
|
|
42
55
|
*
|
|
@@ -8,9 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Cloud Connect Network Grant resource. If the CEN instance to be attached belongs to another account, authorization by the CEN instance is required.
|
|
10
10
|
*
|
|
11
|
-
* For information about Cloud Connect Network Grant and how to use it, see [What is Cloud Connect Network Grant](https://www.alibabacloud.com/help/
|
|
11
|
+
* For information about Cloud Connect Network Grant and how to use it, see [What is Cloud Connect Network Grant](https://www.alibabacloud.com/help/en/smart-access-gateway/latest/grantinstancetocbn).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.63.0.
|
|
14
14
|
*
|
|
15
15
|
* > **NOTE:** Only the following regions support create Cloud Connect Network Grant. [`cn-shanghai`, `cn-shanghai-finance-1`, `cn-hongkong`, `ap-southeast-1`, `ap-southeast-2`, `ap-southeast-3`, `ap-southeast-5`, `ap-northeast-1`, `eu-central-1`]
|
|
16
16
|
*
|
|
@@ -22,27 +22,40 @@ const utilities = require("../utilities");
|
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as alicloud from "@pulumi/alicloud";
|
|
24
24
|
*
|
|
25
|
-
* const
|
|
25
|
+
* const config = new pulumi.Config();
|
|
26
|
+
* const name = config.get("name") || "tf-example";
|
|
27
|
+
* const cenUid = config.getNumber("cenUid") || 123456789;
|
|
28
|
+
* const _default = new alicloud.Provider("default", {region: "cn-shanghai"});
|
|
29
|
+
* // Method 1: Use assume_role to operate resources in the target cen account, detail see https://registry.terraform.io/providers/aliyun/alicloud/latest/docs#assume-role
|
|
26
30
|
* const cenAccount = new alicloud.Provider("cenAccount", {
|
|
27
31
|
* region: "cn-hangzhou",
|
|
28
|
-
*
|
|
29
|
-
*
|
|
32
|
+
* assumeRole: {
|
|
33
|
+
* roleArn: `acs:ram::${cenUid}:role/terraform-example-assume-role`,
|
|
34
|
+
* },
|
|
30
35
|
* });
|
|
31
|
-
*
|
|
32
|
-
*
|
|
36
|
+
* // Method 2: Use the target cen account's access_key, secret_key
|
|
37
|
+
* // provider "alicloud" {
|
|
38
|
+
* // region = "cn-hangzhou"
|
|
39
|
+
* // access_key = "access_key"
|
|
40
|
+
* // secret_key = "secret_key"
|
|
41
|
+
* // alias = "cen_account"
|
|
42
|
+
* // }
|
|
43
|
+
* const defaultNetwork = new alicloud.cloudconnect.Network("defaultNetwork", {
|
|
44
|
+
* description: name,
|
|
45
|
+
* cidrBlock: "192.168.0.0/24",
|
|
46
|
+
* isDefault: true,
|
|
47
|
+
* }, {
|
|
48
|
+
* provider: alicloud["default"],
|
|
33
49
|
* });
|
|
34
|
-
* const
|
|
35
|
-
* provider: alicloud.
|
|
50
|
+
* const cen = new alicloud.cen.Instance("cen", {cenInstanceName: name}, {
|
|
51
|
+
* provider: alicloud.cen_account,
|
|
36
52
|
* });
|
|
37
|
-
* const
|
|
38
|
-
* ccnId:
|
|
53
|
+
* const defaultNetworkGrant = new alicloud.cloudconnect.NetworkGrant("defaultNetworkGrant", {
|
|
54
|
+
* ccnId: defaultNetwork.id,
|
|
39
55
|
* cenId: cen.id,
|
|
40
|
-
* cenUid:
|
|
56
|
+
* cenUid: cenUid,
|
|
41
57
|
* }, {
|
|
42
|
-
*
|
|
43
|
-
* ccn,
|
|
44
|
-
* cen,
|
|
45
|
-
* ],
|
|
58
|
+
* provider: alicloud["default"],
|
|
46
59
|
* });
|
|
47
60
|
* ```
|
|
48
61
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkGrant.js","sourceRoot":"","sources":["../../cloudconnect/networkGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"networkGrant.js","sourceRoot":"","sources":["../../cloudconnect/networkGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CA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Y,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1EL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -4,9 +4,9 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Cloud Firewall Address Book resource.
|
|
6
6
|
*
|
|
7
|
-
* For information about Cloud Firewall Address Book and how to use it, see [What is Address Book](https://www.alibabacloud.com/help/en/cloud-firewall/
|
|
7
|
+
* For information about Cloud Firewall Address Book and how to use it, see [What is Address Book](https://www.alibabacloud.com/help/en/cloud-firewall/developer-reference/api-cloudfw-2017-12-07-addaddressbook).
|
|
8
8
|
*
|
|
9
|
-
* > **NOTE:** Available
|
|
9
|
+
* > **NOTE:** Available since v1.178.0.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -66,7 +66,7 @@ export declare class AddressBook extends pulumi.CustomResource {
|
|
|
66
66
|
*/
|
|
67
67
|
readonly description: pulumi.Output<string>;
|
|
68
68
|
/**
|
|
69
|
-
* A list of ECS tags. See
|
|
69
|
+
* A list of ECS tags. See `ecsTags` below.
|
|
70
70
|
*/
|
|
71
71
|
readonly ecsTags: pulumi.Output<outputs.cloudfirewall.AddressBookEcsTag[] | undefined>;
|
|
72
72
|
/**
|
|
@@ -74,19 +74,17 @@ export declare class AddressBook extends pulumi.CustomResource {
|
|
|
74
74
|
*/
|
|
75
75
|
readonly groupName: pulumi.Output<string>;
|
|
76
76
|
/**
|
|
77
|
-
* The type of the Address Book. Valid values:
|
|
77
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
78
78
|
*/
|
|
79
79
|
readonly groupType: pulumi.Output<string>;
|
|
80
80
|
/**
|
|
81
|
-
* The language of the content within the request and response. Valid values: `
|
|
81
|
+
* The language of the content within the request and response. Valid values: `zh`, `en`.
|
|
82
82
|
*/
|
|
83
83
|
readonly lang: pulumi.Output<string | undefined>;
|
|
84
84
|
/**
|
|
85
|
-
* The logical relation among the ECS tags that to be matched. Valid values:
|
|
86
|
-
* - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
|
|
87
|
-
* - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
|
|
85
|
+
* The logical relation among the ECS tags that to be matched. Default value: `and`. Valid values:
|
|
88
86
|
*/
|
|
89
|
-
readonly tagRelation: pulumi.Output<string
|
|
87
|
+
readonly tagRelation: pulumi.Output<string>;
|
|
90
88
|
/**
|
|
91
89
|
* Create a AddressBook resource with the given unique name, arguments, and options.
|
|
92
90
|
*
|
|
@@ -113,7 +111,7 @@ export interface AddressBookState {
|
|
|
113
111
|
*/
|
|
114
112
|
description?: pulumi.Input<string>;
|
|
115
113
|
/**
|
|
116
|
-
* A list of ECS tags. See
|
|
114
|
+
* A list of ECS tags. See `ecsTags` below.
|
|
117
115
|
*/
|
|
118
116
|
ecsTags?: pulumi.Input<pulumi.Input<inputs.cloudfirewall.AddressBookEcsTag>[]>;
|
|
119
117
|
/**
|
|
@@ -121,17 +119,15 @@ export interface AddressBookState {
|
|
|
121
119
|
*/
|
|
122
120
|
groupName?: pulumi.Input<string>;
|
|
123
121
|
/**
|
|
124
|
-
* The type of the Address Book. Valid values:
|
|
122
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
125
123
|
*/
|
|
126
124
|
groupType?: pulumi.Input<string>;
|
|
127
125
|
/**
|
|
128
|
-
* The language of the content within the request and response. Valid values: `
|
|
126
|
+
* The language of the content within the request and response. Valid values: `zh`, `en`.
|
|
129
127
|
*/
|
|
130
128
|
lang?: pulumi.Input<string>;
|
|
131
129
|
/**
|
|
132
|
-
* The logical relation among the ECS tags that to be matched. Valid values:
|
|
133
|
-
* - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
|
|
134
|
-
* - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
|
|
130
|
+
* The logical relation among the ECS tags that to be matched. Default value: `and`. Valid values:
|
|
135
131
|
*/
|
|
136
132
|
tagRelation?: pulumi.Input<string>;
|
|
137
133
|
}
|
|
@@ -152,7 +148,7 @@ export interface AddressBookArgs {
|
|
|
152
148
|
*/
|
|
153
149
|
description: pulumi.Input<string>;
|
|
154
150
|
/**
|
|
155
|
-
* A list of ECS tags. See
|
|
151
|
+
* A list of ECS tags. See `ecsTags` below.
|
|
156
152
|
*/
|
|
157
153
|
ecsTags?: pulumi.Input<pulumi.Input<inputs.cloudfirewall.AddressBookEcsTag>[]>;
|
|
158
154
|
/**
|
|
@@ -160,17 +156,15 @@ export interface AddressBookArgs {
|
|
|
160
156
|
*/
|
|
161
157
|
groupName: pulumi.Input<string>;
|
|
162
158
|
/**
|
|
163
|
-
* The type of the Address Book. Valid values:
|
|
159
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
164
160
|
*/
|
|
165
161
|
groupType: pulumi.Input<string>;
|
|
166
162
|
/**
|
|
167
|
-
* The language of the content within the request and response. Valid values: `
|
|
163
|
+
* The language of the content within the request and response. Valid values: `zh`, `en`.
|
|
168
164
|
*/
|
|
169
165
|
lang?: pulumi.Input<string>;
|
|
170
166
|
/**
|
|
171
|
-
* The logical relation among the ECS tags that to be matched. Valid values:
|
|
172
|
-
* - **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the Address Book. This is the default value.
|
|
173
|
-
* - **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the Address Book.
|
|
167
|
+
* The logical relation among the ECS tags that to be matched. Default value: `and`. Valid values:
|
|
174
168
|
*/
|
|
175
169
|
tagRelation?: pulumi.Input<string>;
|
|
176
170
|
}
|
|
@@ -8,9 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Cloud Firewall Address Book resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Cloud Firewall Address Book and how to use it, see [What is Address Book](https://www.alibabacloud.com/help/en/cloud-firewall/
|
|
11
|
+
* For information about Cloud Firewall Address Book and how to use it, see [What is Address Book](https://www.alibabacloud.com/help/en/cloud-firewall/developer-reference/api-cloudfw-2017-12-07-addaddressbook).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.178.0.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addressBook.js","sourceRoot":"","sources":["../../cloudfirewall/addressBook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;
|
|
1
|
+
{"version":3,"file":"addressBook.js","sourceRoot":"","sources":["../../cloudfirewall/addressBook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM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AW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAxGL,kCAyGC;AA3FG,gBAAgB;AACO,wBAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -4,9 +4,47 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Cloud Firewall Vpc Firewall resource.
|
|
6
6
|
*
|
|
7
|
-
* For information about Cloud Firewall Vpc Firewall and how to use it, see [What is Vpc Firewall](https://
|
|
7
|
+
* For information about Cloud Firewall Vpc Firewall and how to use it, see [What is Vpc Firewall](https://www.alibabacloud.com/help/en/cloud-firewall/developer-reference/api-cloudfw-2017-12-07-createvpcfirewallconfigure).
|
|
8
8
|
*
|
|
9
|
-
* > **NOTE:** Available
|
|
9
|
+
* > **NOTE:** Available since v1.194.0.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
+
*
|
|
19
|
+
* const current = alicloud.getAccount({});
|
|
20
|
+
* const _default = new alicloud.cloudfirewall.FirewallVpcFirewall("default", {
|
|
21
|
+
* vpcFirewallName: "tf-example",
|
|
22
|
+
* memberUid: current.then(current => current.id),
|
|
23
|
+
* localVpc: {
|
|
24
|
+
* vpcId: "vpc-bp1d065m6hzn1xbw8ibfd",
|
|
25
|
+
* regionNo: "cn-hangzhou",
|
|
26
|
+
* localVpcCidrTableLists: [{
|
|
27
|
+
* localRouteTableId: "vtb-bp1lj0ddg846856chpzrv",
|
|
28
|
+
* localRouteEntryLists: [{
|
|
29
|
+
* localNextHopInstanceId: "ri-bp1uobww3aputjlwwkyrh",
|
|
30
|
+
* localDestinationCidr: "10.1.0.0/16",
|
|
31
|
+
* }],
|
|
32
|
+
* }],
|
|
33
|
+
* },
|
|
34
|
+
* peerVpc: {
|
|
35
|
+
* vpcId: "vpc-bp1gcmm64o3caox84v0nz",
|
|
36
|
+
* regionNo: "cn-hangzhou",
|
|
37
|
+
* peerVpcCidrTableLists: [{
|
|
38
|
+
* peerRouteTableId: "vtb-bp1f516f2hh4sok1ig9b5",
|
|
39
|
+
* peerRouteEntryLists: [{
|
|
40
|
+
* peerDestinationCidr: "10.0.0.0/16",
|
|
41
|
+
* peerNextHopInstanceId: "ri-bp1thhtgf6ydr2or52l3n",
|
|
42
|
+
* }],
|
|
43
|
+
* }],
|
|
44
|
+
* },
|
|
45
|
+
* status: "open",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
10
48
|
*
|
|
11
49
|
* ## Import
|
|
12
50
|
*
|
|
@@ -37,15 +75,15 @@ export declare class FirewallVpcFirewall extends pulumi.CustomResource {
|
|
|
37
75
|
*/
|
|
38
76
|
readonly bandwidth: pulumi.Output<number>;
|
|
39
77
|
/**
|
|
40
|
-
* The communication type of the VPC firewall.
|
|
78
|
+
* The communication type of the VPC firewall.
|
|
41
79
|
*/
|
|
42
80
|
readonly connectType: pulumi.Output<string>;
|
|
43
81
|
/**
|
|
44
|
-
* The language type of the requested and received messages.
|
|
82
|
+
* The language type of the requested and received messages. Valid values:
|
|
45
83
|
*/
|
|
46
|
-
readonly lang: pulumi.Output<string>;
|
|
84
|
+
readonly lang: pulumi.Output<string | undefined>;
|
|
47
85
|
/**
|
|
48
|
-
* The details of the local VPC. See
|
|
86
|
+
* The details of the local VPC. See `localVpc` below.
|
|
49
87
|
*/
|
|
50
88
|
readonly localVpc: pulumi.Output<outputs.cloudfirewall.FirewallVpcFirewallLocalVpc>;
|
|
51
89
|
/**
|
|
@@ -53,15 +91,15 @@ export declare class FirewallVpcFirewall extends pulumi.CustomResource {
|
|
|
53
91
|
*/
|
|
54
92
|
readonly memberUid: pulumi.Output<string | undefined>;
|
|
55
93
|
/**
|
|
56
|
-
* The details of the peer VPC. See
|
|
94
|
+
* The details of the peer VPC. See `peerVpc` below.
|
|
57
95
|
*/
|
|
58
96
|
readonly peerVpc: pulumi.Output<outputs.cloudfirewall.FirewallVpcFirewallPeerVpc>;
|
|
59
97
|
/**
|
|
60
|
-
* The region is open.
|
|
98
|
+
* The region is open.
|
|
61
99
|
*/
|
|
62
100
|
readonly regionStatus: pulumi.Output<string>;
|
|
63
101
|
/**
|
|
64
|
-
* The status of the resource
|
|
102
|
+
* The status of the resource. Valid values:
|
|
65
103
|
*/
|
|
66
104
|
readonly status: pulumi.Output<string>;
|
|
67
105
|
/**
|
|
@@ -90,15 +128,15 @@ export interface FirewallVpcFirewallState {
|
|
|
90
128
|
*/
|
|
91
129
|
bandwidth?: pulumi.Input<number>;
|
|
92
130
|
/**
|
|
93
|
-
* The communication type of the VPC firewall.
|
|
131
|
+
* The communication type of the VPC firewall.
|
|
94
132
|
*/
|
|
95
133
|
connectType?: pulumi.Input<string>;
|
|
96
134
|
/**
|
|
97
|
-
* The language type of the requested and received messages.
|
|
135
|
+
* The language type of the requested and received messages. Valid values:
|
|
98
136
|
*/
|
|
99
137
|
lang?: pulumi.Input<string>;
|
|
100
138
|
/**
|
|
101
|
-
* The details of the local VPC. See
|
|
139
|
+
* The details of the local VPC. See `localVpc` below.
|
|
102
140
|
*/
|
|
103
141
|
localVpc?: pulumi.Input<inputs.cloudfirewall.FirewallVpcFirewallLocalVpc>;
|
|
104
142
|
/**
|
|
@@ -106,15 +144,15 @@ export interface FirewallVpcFirewallState {
|
|
|
106
144
|
*/
|
|
107
145
|
memberUid?: pulumi.Input<string>;
|
|
108
146
|
/**
|
|
109
|
-
* The details of the peer VPC. See
|
|
147
|
+
* The details of the peer VPC. See `peerVpc` below.
|
|
110
148
|
*/
|
|
111
149
|
peerVpc?: pulumi.Input<inputs.cloudfirewall.FirewallVpcFirewallPeerVpc>;
|
|
112
150
|
/**
|
|
113
|
-
* The region is open.
|
|
151
|
+
* The region is open.
|
|
114
152
|
*/
|
|
115
153
|
regionStatus?: pulumi.Input<string>;
|
|
116
154
|
/**
|
|
117
|
-
* The status of the resource
|
|
155
|
+
* The status of the resource. Valid values:
|
|
118
156
|
*/
|
|
119
157
|
status?: pulumi.Input<string>;
|
|
120
158
|
/**
|
|
@@ -131,11 +169,11 @@ export interface FirewallVpcFirewallState {
|
|
|
131
169
|
*/
|
|
132
170
|
export interface FirewallVpcFirewallArgs {
|
|
133
171
|
/**
|
|
134
|
-
* The language type of the requested and received messages.
|
|
172
|
+
* The language type of the requested and received messages. Valid values:
|
|
135
173
|
*/
|
|
136
174
|
lang?: pulumi.Input<string>;
|
|
137
175
|
/**
|
|
138
|
-
* The details of the local VPC. See
|
|
176
|
+
* The details of the local VPC. See `localVpc` below.
|
|
139
177
|
*/
|
|
140
178
|
localVpc: pulumi.Input<inputs.cloudfirewall.FirewallVpcFirewallLocalVpc>;
|
|
141
179
|
/**
|
|
@@ -143,11 +181,11 @@ export interface FirewallVpcFirewallArgs {
|
|
|
143
181
|
*/
|
|
144
182
|
memberUid?: pulumi.Input<string>;
|
|
145
183
|
/**
|
|
146
|
-
* The details of the peer VPC. See
|
|
184
|
+
* The details of the peer VPC. See `peerVpc` below.
|
|
147
185
|
*/
|
|
148
186
|
peerVpc: pulumi.Input<inputs.cloudfirewall.FirewallVpcFirewallPeerVpc>;
|
|
149
187
|
/**
|
|
150
|
-
* The status of the resource
|
|
188
|
+
* The status of the resource. Valid values:
|
|
151
189
|
*/
|
|
152
190
|
status: pulumi.Input<string>;
|
|
153
191
|
/**
|
|
@@ -8,9 +8,47 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Cloud Firewall Vpc Firewall resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Cloud Firewall Vpc Firewall and how to use it, see [What is Vpc Firewall](https://
|
|
11
|
+
* For information about Cloud Firewall Vpc Firewall and how to use it, see [What is Vpc Firewall](https://www.alibabacloud.com/help/en/cloud-firewall/developer-reference/api-cloudfw-2017-12-07-createvpcfirewallconfigure).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.194.0.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* Basic Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
+
*
|
|
23
|
+
* const current = alicloud.getAccount({});
|
|
24
|
+
* const _default = new alicloud.cloudfirewall.FirewallVpcFirewall("default", {
|
|
25
|
+
* vpcFirewallName: "tf-example",
|
|
26
|
+
* memberUid: current.then(current => current.id),
|
|
27
|
+
* localVpc: {
|
|
28
|
+
* vpcId: "vpc-bp1d065m6hzn1xbw8ibfd",
|
|
29
|
+
* regionNo: "cn-hangzhou",
|
|
30
|
+
* localVpcCidrTableLists: [{
|
|
31
|
+
* localRouteTableId: "vtb-bp1lj0ddg846856chpzrv",
|
|
32
|
+
* localRouteEntryLists: [{
|
|
33
|
+
* localNextHopInstanceId: "ri-bp1uobww3aputjlwwkyrh",
|
|
34
|
+
* localDestinationCidr: "10.1.0.0/16",
|
|
35
|
+
* }],
|
|
36
|
+
* }],
|
|
37
|
+
* },
|
|
38
|
+
* peerVpc: {
|
|
39
|
+
* vpcId: "vpc-bp1gcmm64o3caox84v0nz",
|
|
40
|
+
* regionNo: "cn-hangzhou",
|
|
41
|
+
* peerVpcCidrTableLists: [{
|
|
42
|
+
* peerRouteTableId: "vtb-bp1f516f2hh4sok1ig9b5",
|
|
43
|
+
* peerRouteEntryLists: [{
|
|
44
|
+
* peerDestinationCidr: "10.0.0.0/16",
|
|
45
|
+
* peerNextHopInstanceId: "ri-bp1thhtgf6ydr2or52l3n",
|
|
46
|
+
* }],
|
|
47
|
+
* }],
|
|
48
|
+
* },
|
|
49
|
+
* status: "open",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
14
52
|
*
|
|
15
53
|
* ## Import
|
|
16
54
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewallVpcFirewall.js","sourceRoot":"","sources":["../../cloudfirewall/firewallVpcFirewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"firewallVpcFirewall.js","sourceRoot":"","sources":["../../cloudfirewall/firewallVpcFirewall.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E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