@pulumi/alicloud 3.61.1 → 3.61.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/brain/getIndustrialPidLoops.d.ts +18 -2
- package/brain/getIndustrialPidLoops.js +6 -2
- package/brain/getIndustrialPidLoops.js.map +1 -1
- package/brain/getIndustrialPidOrganizations.d.ts +12 -2
- package/brain/getIndustrialPidOrganizations.js +6 -2
- package/brain/getIndustrialPidOrganizations.js.map +1 -1
- package/brain/getIndustrialPidProjects.d.ts +18 -2
- package/brain/getIndustrialPidProjects.js +6 -2
- package/brain/getIndustrialPidProjects.js.map +1 -1
- package/brain/getIndustrialSerice.d.ts +6 -2
- package/brain/getIndustrialSerice.js +6 -2
- package/brain/getIndustrialSerice.js.map +1 -1
- package/brain/industrialPidLoop.d.ts +3 -1
- package/brain/industrialPidLoop.js +3 -1
- package/brain/industrialPidLoop.js.map +1 -1
- package/brain/industrialPidOrganization.d.ts +2 -2
- package/brain/industrialPidOrganization.js +2 -2
- package/brain/industrialPidProject.d.ts +2 -2
- package/brain/industrialPidProject.js +2 -2
- package/cas/certificate.d.ts +79 -6
- package/cas/certificate.js +76 -3
- package/cas/certificate.js.map +1 -1
- package/cas/serviceCertificate.d.ts +4 -13
- package/cas/serviceCertificate.js +1 -1
- package/cas/serviceCertificate.js.map +1 -1
- package/cdn/realTimeLogDelivery.d.ts +1 -1
- package/cdn/realTimeLogDelivery.js +1 -1
- package/cen/getTransitRouterRouteTables.d.ts +86 -11
- package/cen/getTransitRouterRouteTables.js +59 -4
- package/cen/getTransitRouterRouteTables.js.map +1 -1
- package/cfg/remediation.d.ts +4 -1
- package/cfg/remediation.js +4 -1
- package/cfg/remediation.js.map +1 -1
- package/clickhouse/account.d.ts +1 -1
- package/clickhouse/account.js +1 -1
- package/clickhouse/backupPolicy.d.ts +1 -1
- package/clickhouse/backupPolicy.js +1 -1
- package/cloudfirewall/instance.d.ts +1 -0
- package/cloudfirewall/instance.js +1 -0
- package/cloudfirewall/instance.js.map +1 -1
- package/cs/kubernetes.d.ts +3 -3
- package/cs/managedKubernetes.d.ts +317 -20
- package/cs/managedKubernetes.js +1 -1
- package/cs/managedKubernetes.js.map +1 -1
- package/cs/registryEnterpriseNamespace.d.ts +36 -25
- package/cs/registryEnterpriseNamespace.js +15 -16
- package/cs/registryEnterpriseNamespace.js.map +1 -1
- package/cs/registryEnterpriseRepo.d.ts +45 -34
- package/cs/registryEnterpriseRepo.js +19 -14
- package/cs/registryEnterpriseRepo.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +49 -46
- package/cs/registryEnterpriseSyncRule.js +16 -13
- package/cs/registryEnterpriseSyncRule.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +64 -60
- package/cs/serverlessKubernetes.js +13 -13
- package/cs/serverlessKubernetes.js.map +1 -1
- package/databasefilesystem/instance.d.ts +1 -1
- package/databasefilesystem/instance.js +1 -1
- package/dts/consumerChannel.d.ts +1 -1
- package/dts/consumerChannel.js +1 -1
- package/dts/subscriptionJob.d.ts +1 -1
- package/dts/subscriptionJob.js +1 -1
- package/ecs/autoProvisioningGroup.d.ts +1 -1
- package/ecs/autoProvisioningGroup.js +1 -1
- package/ehpc/getClusters.d.ts +11 -2
- package/ehpc/getClusters.js +2 -2
- package/ehpc/getClusters.js.map +1 -1
- package/ehpc/getJobTemplates.d.ts +5 -2
- package/ehpc/getJobTemplates.js +2 -2
- package/ehpc/getJobTemplates.js.map +1 -1
- package/ehpc/jobTemplate.d.ts +1 -1
- package/ehpc/jobTemplate.js +1 -1
- package/fc/function.d.ts +3 -3
- package/fc/function.js +3 -3
- 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/account.d.ts +0 -2
- package/gpdb/account.js +0 -2
- package/gpdb/account.js.map +1 -1
- package/gpdb/connection.d.ts +0 -2
- package/gpdb/connection.js +0 -2
- package/gpdb/connection.js.map +1 -1
- package/log/alert.d.ts +15 -14
- package/log/alert.js +15 -14
- package/log/alert.js.map +1 -1
- package/log/audit.d.ts +1 -0
- package/log/audit.js +1 -0
- package/log/audit.js.map +1 -1
- package/log/dashboard.d.ts +4 -4
- package/log/dashboard.js +4 -4
- package/log/etl.d.ts +13 -13
- package/log/etl.js +13 -13
- package/log/ingestion.d.ts +5 -5
- package/log/ingestion.js +5 -5
- package/log/logTailAttachment.d.ts +7 -7
- package/log/logTailAttachment.js +7 -7
- package/log/logTailConfig.d.ts +5 -5
- package/log/logTailConfig.js +5 -5
- package/log/machineGroup.d.ts +2 -2
- package/log/machineGroup.js +2 -2
- package/log/ossExport.d.ts +5 -5
- package/log/ossExport.js +5 -5
- package/log/project.d.ts +2 -2
- package/log/project.js +2 -2
- package/log/storeIndex.d.ts +5 -5
- package/log/storeIndex.js +5 -5
- package/nlb/serverGroup.d.ts +1 -1
- package/nlb/serverGroup.js +1 -1
- package/oos/serviceSetting.d.ts +5 -4
- package/oos/serviceSetting.js +5 -4
- package/oos/serviceSetting.js.map +1 -1
- package/oss/bucket.d.ts +10 -5
- package/oss/bucket.js +10 -5
- package/oss/bucket.js.map +1 -1
- package/oss/bucketObject.d.ts +6 -4
- package/oss/bucketObject.js +6 -4
- package/oss/bucketObject.js.map +1 -1
- package/oss/bucketReplication.d.ts +1 -1
- package/oss/bucketReplication.js +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +24 -9
- package/polardb/cluster.js +2 -0
- package/polardb/cluster.js.map +1 -1
- package/pvtz/zoneRecord.d.ts +1 -1
- package/pvtz/zoneRecord.js +1 -1
- package/ram/accessKey.d.ts +2 -0
- package/ram/accessKey.js +2 -0
- package/ram/accessKey.js.map +1 -1
- package/rds/accountPrivilege.d.ts +1 -1
- package/rds/accountPrivilege.js +1 -1
- package/rds/backupPolicy.d.ts +81 -3
- package/rds/backupPolicy.js +8 -0
- package/rds/backupPolicy.js.map +1 -1
- package/rds/database.d.ts +21 -3
- package/rds/database.js.map +1 -1
- package/rds/instance.js +4 -2
- package/rds/instance.js.map +1 -1
- package/rocketmq/group.d.ts +1 -1
- package/rocketmq/group.js +1 -1
- package/rocketmq/topic.d.ts +1 -1
- package/rocketmq/topic.js +1 -1
- package/sls/alert.d.ts +3 -3
- package/sls/alert.js +3 -3
- package/sls/scheduledSql.d.ts +5 -5
- package/sls/scheduledSql.js +5 -5
- package/types/input.d.ts +56 -10
- package/types/output.d.ts +82 -12
- package/vpc/havipAttachment.d.ts +1 -1
- package/vpc/havipAttachment.js +1 -1
- package/vpc/ipv6InternetBandwidth.d.ts +2 -2
- package/vpc/ipv6InternetBandwidth.js +2 -2
- package/vpc/routeTableAttachment.d.ts +2 -2
- package/vpc/routeTableAttachment.js +2 -2
- package/vpc/trafficMirrorFilterIngressRule.d.ts +1 -1
- package/vpc/trafficMirrorFilterIngressRule.js +1 -1
package/types/output.d.ts
CHANGED
|
@@ -6876,6 +6876,9 @@ export declare namespace cen {
|
|
|
6876
6876
|
* ID of resource.
|
|
6877
6877
|
*/
|
|
6878
6878
|
id: string;
|
|
6879
|
+
/**
|
|
6880
|
+
* The status of the transit router route table to query. Valid values `Creating`, `Active` and `Deleting`..
|
|
6881
|
+
*/
|
|
6879
6882
|
status: string;
|
|
6880
6883
|
/**
|
|
6881
6884
|
* The description of the transit router route table.
|
|
@@ -6890,7 +6893,7 @@ export declare namespace cen {
|
|
|
6890
6893
|
*/
|
|
6891
6894
|
transitRouterRouteTableName: string;
|
|
6892
6895
|
/**
|
|
6893
|
-
* The type of the transit router route table to query. Valid values `
|
|
6896
|
+
* The type of the transit router route table to query. Valid values `System` and `Custom`.
|
|
6894
6897
|
*/
|
|
6895
6898
|
transitRouterRouteTableType: string;
|
|
6896
6899
|
}
|
|
@@ -13546,7 +13549,7 @@ export declare namespace cs {
|
|
|
13546
13549
|
deleteMode?: string;
|
|
13547
13550
|
/**
|
|
13548
13551
|
* The type of resources that are created by cluster. Valid values:
|
|
13549
|
-
* - `SLB`: SLB resources created
|
|
13552
|
+
* - `SLB`: SLB resources created by the Nginx Ingress Service, default behavior is to delete, option to retain is available.
|
|
13550
13553
|
* - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
13551
13554
|
* - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
13552
13555
|
* - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
@@ -13554,7 +13557,7 @@ export declare namespace cs {
|
|
|
13554
13557
|
* ```
|
|
13555
13558
|
* ...
|
|
13556
13559
|
* // Specify delete_options as below when deleting cluster
|
|
13557
|
-
* // delete SLB resources created by the
|
|
13560
|
+
* // delete SLB resources created by the Nginx Ingress Service
|
|
13558
13561
|
* delete_options {
|
|
13559
13562
|
* delete_mode = "delete"
|
|
13560
13563
|
* resource_type = "SLB"
|
|
@@ -13667,11 +13670,11 @@ export declare namespace cs {
|
|
|
13667
13670
|
}
|
|
13668
13671
|
interface ManagedKubernetesCertificateAuthority {
|
|
13669
13672
|
/**
|
|
13670
|
-
* The
|
|
13673
|
+
* The path of client certificate, like `~/.kube/client-cert.pem`.
|
|
13671
13674
|
*/
|
|
13672
13675
|
clientCert: string;
|
|
13673
13676
|
/**
|
|
13674
|
-
* The
|
|
13677
|
+
* The path of client key, like `~/.kube/client-key.pem`.
|
|
13675
13678
|
*/
|
|
13676
13679
|
clientKey: string;
|
|
13677
13680
|
/**
|
|
@@ -13704,7 +13707,7 @@ export declare namespace cs {
|
|
|
13704
13707
|
deleteMode?: string;
|
|
13705
13708
|
/**
|
|
13706
13709
|
* The type of resources that are created by cluster. Valid values:
|
|
13707
|
-
* - `SLB`: SLB resources created
|
|
13710
|
+
* - `SLB`: SLB resources created by the Nginx Ingress Service, default behavior is to delete, option to retain is available.
|
|
13708
13711
|
* - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
13709
13712
|
* - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
13710
13713
|
* - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
@@ -13712,7 +13715,7 @@ export declare namespace cs {
|
|
|
13712
13715
|
* ```
|
|
13713
13716
|
* ...
|
|
13714
13717
|
* // Specify delete_options as below when deleting cluster
|
|
13715
|
-
* // delete SLB resources created by the
|
|
13718
|
+
* // delete SLB resources created by the Nginx Ingress Service
|
|
13716
13719
|
* delete_options {
|
|
13717
13720
|
* delete_mode = "delete"
|
|
13718
13721
|
* resource_type = "SLB"
|
|
@@ -14095,7 +14098,7 @@ export declare namespace cs {
|
|
|
14095
14098
|
* The following example is the definition of addons block, The type of this field is list:
|
|
14096
14099
|
*
|
|
14097
14100
|
* ```
|
|
14098
|
-
* # install nginx ingress, conflict with
|
|
14101
|
+
* # install nginx ingress, conflict with ALB ingress
|
|
14099
14102
|
* addons {
|
|
14100
14103
|
* name = "nginx-ingress-controller"
|
|
14101
14104
|
* # use internet
|
|
@@ -14103,7 +14106,7 @@ export declare namespace cs {
|
|
|
14103
14106
|
* # if use intranet, detail below.
|
|
14104
14107
|
* # config = "{\"IngressSlbNetworkType\":\"intranet",\"IngressSlbSpec\":\"slb.s2.small\"}"
|
|
14105
14108
|
* }
|
|
14106
|
-
* # install
|
|
14109
|
+
* # install ALB ingress, conflict with nginx ingress
|
|
14107
14110
|
* addons {
|
|
14108
14111
|
* name = "alb-ingress-controller"
|
|
14109
14112
|
* }
|
|
@@ -14118,8 +14121,6 @@ export declare namespace cs {
|
|
|
14118
14121
|
* # install prometheus
|
|
14119
14122
|
* addons {
|
|
14120
14123
|
* name = "arms-prometheus"
|
|
14121
|
-
* # prometheus also provides managed version, specify with name `managed-arms-prometheus` for professional serverless clusters
|
|
14122
|
-
* # name = "managed-arms-prometheus"
|
|
14123
14124
|
* }
|
|
14124
14125
|
* ```
|
|
14125
14126
|
*/
|
|
@@ -14128,6 +14129,54 @@ export declare namespace cs {
|
|
|
14128
14129
|
* Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
|
|
14129
14130
|
*/
|
|
14130
14131
|
name?: string;
|
|
14132
|
+
/**
|
|
14133
|
+
* It specifies the version of the component.
|
|
14134
|
+
*/
|
|
14135
|
+
version?: string;
|
|
14136
|
+
}
|
|
14137
|
+
interface ServerlessKubernetesDeleteOption {
|
|
14138
|
+
/**
|
|
14139
|
+
* The deletion mode of the cluster. Different resources may have different default behavior, see `resourceType` for details. Valid values:
|
|
14140
|
+
*/
|
|
14141
|
+
deleteMode?: string;
|
|
14142
|
+
/**
|
|
14143
|
+
* The type of resources that are created by cluster. Valid values:
|
|
14144
|
+
* - `SLB`: SLB resources created by the Nginx Ingress Service, default behavior is to delete, option to retain is available.
|
|
14145
|
+
* - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
|
|
14146
|
+
* - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
|
|
14147
|
+
* - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
|
|
14148
|
+
* - `PrivateZone`: PrivateZone resources created by the cluster, default behavior is to retain, option to delete is available.
|
|
14149
|
+
* ```
|
|
14150
|
+
* ...
|
|
14151
|
+
* // Specify delete_options as below when deleting cluster
|
|
14152
|
+
* // delete SLB resources created by the Nginx Ingress Service
|
|
14153
|
+
* delete_options {
|
|
14154
|
+
* delete_mode = "delete"
|
|
14155
|
+
* resource_type = "SLB"
|
|
14156
|
+
* }
|
|
14157
|
+
* // delete ALB resources created by the ALB Ingress Controller
|
|
14158
|
+
* delete_options {
|
|
14159
|
+
* delete_mode = "delete"
|
|
14160
|
+
* resource_type = "ALB"
|
|
14161
|
+
* }
|
|
14162
|
+
* // delete SLS Project used by the cluster logging feature
|
|
14163
|
+
* delete_options {
|
|
14164
|
+
* delete_mode = "delete"
|
|
14165
|
+
* resource_type = "SLS_Data"
|
|
14166
|
+
* }
|
|
14167
|
+
* // delete SLS Project used for the managed cluster control plane logs
|
|
14168
|
+
* delete_options {
|
|
14169
|
+
* delete_mode = "delete"
|
|
14170
|
+
* resource_type = "SLS_ControlPlane"
|
|
14171
|
+
* }
|
|
14172
|
+
* // delete PrivateZone resources created by the cluster
|
|
14173
|
+
* delete_options {
|
|
14174
|
+
* delete_mode = "delete"
|
|
14175
|
+
* resource_type = "PrivateZone"
|
|
14176
|
+
* }
|
|
14177
|
+
* ```
|
|
14178
|
+
*/
|
|
14179
|
+
resourceType?: string;
|
|
14131
14180
|
}
|
|
14132
14181
|
interface ServerlessKubernetesRrsaMetadata {
|
|
14133
14182
|
/**
|
|
@@ -24894,6 +24943,9 @@ export declare namespace ehpc {
|
|
|
24894
24943
|
* The server type of the account.
|
|
24895
24944
|
*/
|
|
24896
24945
|
accountType: string;
|
|
24946
|
+
/**
|
|
24947
|
+
* A list of clustered applications.
|
|
24948
|
+
*/
|
|
24897
24949
|
applications: outputs.ehpc.GetClustersClusterApplication[];
|
|
24898
24950
|
/**
|
|
24899
24951
|
* The version number of the client used by the cluster.
|
|
@@ -24956,6 +25008,9 @@ export declare namespace ehpc {
|
|
|
24956
25008
|
* Cluster login node specifications.
|
|
24957
25009
|
*/
|
|
24958
25010
|
loginInstanceType: string;
|
|
25011
|
+
/**
|
|
25012
|
+
* The number of control nodes.
|
|
25013
|
+
*/
|
|
24959
25014
|
managerCount: number;
|
|
24960
25015
|
/**
|
|
24961
25016
|
* The instance type of manager nodes.
|
|
@@ -24965,6 +25020,9 @@ export declare namespace ehpc {
|
|
|
24965
25020
|
* The image tag of the operating system.
|
|
24966
25021
|
*/
|
|
24967
25022
|
osTag: string;
|
|
25023
|
+
/**
|
|
25024
|
+
* List of post-installation scripts.
|
|
25025
|
+
*/
|
|
24968
25026
|
postInstallScripts: outputs.ehpc.GetClustersClusterPostInstallScript[];
|
|
24969
25027
|
/**
|
|
24970
25028
|
* Mount the remote directory of the shared storage.
|
|
@@ -24983,7 +25041,7 @@ export declare namespace ehpc {
|
|
|
24983
25041
|
*/
|
|
24984
25042
|
securityGroupId: string;
|
|
24985
25043
|
/**
|
|
24986
|
-
* The status of the resource.
|
|
25044
|
+
* The status of the resource. Valid values:
|
|
24987
25045
|
*/
|
|
24988
25046
|
status: string;
|
|
24989
25047
|
/**
|
|
@@ -25010,13 +25068,25 @@ export declare namespace ehpc {
|
|
|
25010
25068
|
* The vswitch id.
|
|
25011
25069
|
*/
|
|
25012
25070
|
vswitchId: string;
|
|
25071
|
+
/**
|
|
25072
|
+
* The available zone ID.
|
|
25073
|
+
*/
|
|
25013
25074
|
zoneId: string;
|
|
25014
25075
|
}
|
|
25015
25076
|
interface GetClustersClusterApplication {
|
|
25077
|
+
/**
|
|
25078
|
+
* Application Tags.
|
|
25079
|
+
*/
|
|
25016
25080
|
tag: string;
|
|
25017
25081
|
}
|
|
25018
25082
|
interface GetClustersClusterPostInstallScript {
|
|
25083
|
+
/**
|
|
25084
|
+
* The parameters of the script.
|
|
25085
|
+
*/
|
|
25019
25086
|
args: string;
|
|
25087
|
+
/**
|
|
25088
|
+
* The download path of the script.
|
|
25089
|
+
*/
|
|
25020
25090
|
url: string;
|
|
25021
25091
|
}
|
|
25022
25092
|
interface GetJobTemplatesTemplate {
|
package/vpc/havipAttachment.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
54
54
|
* userData: "echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf",
|
|
55
55
|
* });
|
|
56
56
|
* const exampleHAVipAttachment = new alicloud.vpc.HAVipAttachment("example", {
|
|
57
|
-
*
|
|
57
|
+
* haVipId: exampleHAVip.id,
|
|
58
58
|
* instanceId: exampleInstance.id,
|
|
59
59
|
* });
|
|
60
60
|
* ```
|
package/vpc/havipAttachment.js
CHANGED
|
@@ -60,7 +60,7 @@ const utilities = require("../utilities");
|
|
|
60
60
|
* userData: "echo 'net.ipv4.ip_forward=1'>> /etc/sysctl.conf",
|
|
61
61
|
* });
|
|
62
62
|
* const exampleHAVipAttachment = new alicloud.vpc.HAVipAttachment("example", {
|
|
63
|
-
*
|
|
63
|
+
* haVipId: exampleHAVip.id,
|
|
64
64
|
* instanceId: exampleInstance.id,
|
|
65
65
|
* });
|
|
66
66
|
* ```
|
|
@@ -25,8 +25,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
25
|
* const vsw = new alicloud.vpc.Switch("vsw", {
|
|
26
26
|
* vpcId: defaultNetwork.id,
|
|
27
27
|
* cidrBlock: "172.16.0.0/21",
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
29
|
+
* vswitchName: name,
|
|
30
30
|
* ipv6CidrBlockMask: 22,
|
|
31
31
|
* });
|
|
32
32
|
* const group = new alicloud.ecs.SecurityGroup("group", {
|
|
@@ -31,8 +31,8 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* const vsw = new alicloud.vpc.Switch("vsw", {
|
|
32
32
|
* vpcId: defaultNetwork.id,
|
|
33
33
|
* cidrBlock: "172.16.0.0/21",
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
35
|
+
* vswitchName: name,
|
|
36
36
|
* ipv6CidrBlockMask: 22,
|
|
37
37
|
* });
|
|
38
38
|
* const group = new alicloud.ecs.SecurityGroup("group", {
|
|
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* const name = config.get("name") || "terraform-example";
|
|
19
19
|
* const foo = new alicloud.vpc.Network("foo", {
|
|
20
20
|
* cidrBlock: "172.16.0.0/12",
|
|
21
|
-
*
|
|
21
|
+
* vpcName: name,
|
|
22
22
|
* });
|
|
23
23
|
* const default = alicloud.getZones({
|
|
24
24
|
* availableResourceCreation: "VSwitch",
|
|
@@ -27,7 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
* vpcId: foo.id,
|
|
28
28
|
* cidrBlock: "172.16.0.0/21",
|
|
29
29
|
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
30
|
-
*
|
|
30
|
+
* vswitchName: name,
|
|
31
31
|
* });
|
|
32
32
|
* const fooRouteTable = new alicloud.vpc.RouteTable("foo", {
|
|
33
33
|
* vpcId: foo.id,
|
|
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* const name = config.get("name") || "terraform-example";
|
|
25
25
|
* const foo = new alicloud.vpc.Network("foo", {
|
|
26
26
|
* cidrBlock: "172.16.0.0/12",
|
|
27
|
-
*
|
|
27
|
+
* vpcName: name,
|
|
28
28
|
* });
|
|
29
29
|
* const default = alicloud.getZones({
|
|
30
30
|
* availableResourceCreation: "VSwitch",
|
|
@@ -33,7 +33,7 @@ const utilities = require("../utilities");
|
|
|
33
33
|
* vpcId: foo.id,
|
|
34
34
|
* cidrBlock: "172.16.0.0/21",
|
|
35
35
|
* zoneId: _default.then(_default => _default.zones?.[0]?.id),
|
|
36
|
-
*
|
|
36
|
+
* vswitchName: name,
|
|
37
37
|
* });
|
|
38
38
|
* const fooRouteTable = new alicloud.vpc.RouteTable("foo", {
|
|
39
39
|
* vpcId: foo.id,
|
|
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* const exampleTrafficMirrorFilterIngressRule = new alicloud.vpc.TrafficMirrorFilterIngressRule("example", {
|
|
19
19
|
* trafficMirrorFilterId: example.id,
|
|
20
20
|
* priority: 1,
|
|
21
|
-
*
|
|
21
|
+
* action: "accept",
|
|
22
22
|
* protocol: "UDP",
|
|
23
23
|
* destinationCidrBlock: "10.0.0.0/24",
|
|
24
24
|
* sourceCidrBlock: "10.0.0.0/24",
|
|
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
|
|
|
24
24
|
* const exampleTrafficMirrorFilterIngressRule = new alicloud.vpc.TrafficMirrorFilterIngressRule("example", {
|
|
25
25
|
* trafficMirrorFilterId: example.id,
|
|
26
26
|
* priority: 1,
|
|
27
|
-
*
|
|
27
|
+
* action: "accept",
|
|
28
28
|
* protocol: "UDP",
|
|
29
29
|
* destinationCidrBlock: "10.0.0.0/24",
|
|
30
30
|
* sourceCidrBlock: "10.0.0.0/24",
|