@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
|
@@ -3,7 +3,7 @@ import * as outputs from "../types/output";
|
|
|
3
3
|
/**
|
|
4
4
|
* This data source provides the Cloud Firewall Address Books of the current Alibaba Cloud user.
|
|
5
5
|
*
|
|
6
|
-
* > **NOTE:** Available
|
|
6
|
+
* > **NOTE:** Available since v1.178.0.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
@@ -13,8 +13,22 @@ import * as outputs from "../types/output";
|
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as alicloud from "@pulumi/alicloud";
|
|
15
15
|
*
|
|
16
|
-
* const
|
|
17
|
-
*
|
|
16
|
+
* const config = new pulumi.Config();
|
|
17
|
+
* const name = config.get("name") || "tf-example";
|
|
18
|
+
* const _default = new alicloud.cloudfirewall.AddressBook("default", {
|
|
19
|
+
* groupName: name,
|
|
20
|
+
* groupType: "ip",
|
|
21
|
+
* description: "tf-description",
|
|
22
|
+
* autoAddTagEcs: 0,
|
|
23
|
+
* addressLists: [
|
|
24
|
+
* "10.21.0.0/16",
|
|
25
|
+
* "10.168.0.0/16",
|
|
26
|
+
* ],
|
|
27
|
+
* });
|
|
28
|
+
* const ids = alicloud.cloudfirewall.getAddressBooksOutput({
|
|
29
|
+
* ids: [_default.id],
|
|
30
|
+
* });
|
|
31
|
+
* export const cloudFirewallAddressBookId1 = ids.apply(ids => ids.books?.[0]?.id);
|
|
18
32
|
* ```
|
|
19
33
|
*/
|
|
20
34
|
export declare function getAddressBooks(args?: GetAddressBooksArgs, opts?: pulumi.InvokeOptions): Promise<GetAddressBooksResult>;
|
|
@@ -23,7 +37,7 @@ export declare function getAddressBooks(args?: GetAddressBooksArgs, opts?: pulum
|
|
|
23
37
|
*/
|
|
24
38
|
export interface GetAddressBooksArgs {
|
|
25
39
|
/**
|
|
26
|
-
* The type of the Address Book.
|
|
40
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
27
41
|
*/
|
|
28
42
|
groupType?: string;
|
|
29
43
|
/**
|
|
@@ -43,7 +57,13 @@ export interface GetAddressBooksArgs {
|
|
|
43
57
|
* A collection of values returned by getAddressBooks.
|
|
44
58
|
*/
|
|
45
59
|
export interface GetAddressBooksResult {
|
|
60
|
+
/**
|
|
61
|
+
* A list of Cloud Firewall Address Books. Each element contains the following attributes:
|
|
62
|
+
*/
|
|
46
63
|
readonly books: outputs.cloudfirewall.GetAddressBooksBook[];
|
|
64
|
+
/**
|
|
65
|
+
* The type of the Address Book.
|
|
66
|
+
*/
|
|
47
67
|
readonly groupType?: string;
|
|
48
68
|
/**
|
|
49
69
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -51,13 +71,16 @@ export interface GetAddressBooksResult {
|
|
|
51
71
|
readonly id: string;
|
|
52
72
|
readonly ids: string[];
|
|
53
73
|
readonly nameRegex?: string;
|
|
74
|
+
/**
|
|
75
|
+
* A list of Address Book names.
|
|
76
|
+
*/
|
|
54
77
|
readonly names: string[];
|
|
55
78
|
readonly outputFile?: string;
|
|
56
79
|
}
|
|
57
80
|
/**
|
|
58
81
|
* This data source provides the Cloud Firewall Address Books of the current Alibaba Cloud user.
|
|
59
82
|
*
|
|
60
|
-
* > **NOTE:** Available
|
|
83
|
+
* > **NOTE:** Available since v1.178.0.
|
|
61
84
|
*
|
|
62
85
|
* ## Example Usage
|
|
63
86
|
*
|
|
@@ -67,8 +90,22 @@ export interface GetAddressBooksResult {
|
|
|
67
90
|
* import * as pulumi from "@pulumi/pulumi";
|
|
68
91
|
* import * as alicloud from "@pulumi/alicloud";
|
|
69
92
|
*
|
|
70
|
-
* const
|
|
71
|
-
*
|
|
93
|
+
* const config = new pulumi.Config();
|
|
94
|
+
* const name = config.get("name") || "tf-example";
|
|
95
|
+
* const _default = new alicloud.cloudfirewall.AddressBook("default", {
|
|
96
|
+
* groupName: name,
|
|
97
|
+
* groupType: "ip",
|
|
98
|
+
* description: "tf-description",
|
|
99
|
+
* autoAddTagEcs: 0,
|
|
100
|
+
* addressLists: [
|
|
101
|
+
* "10.21.0.0/16",
|
|
102
|
+
* "10.168.0.0/16",
|
|
103
|
+
* ],
|
|
104
|
+
* });
|
|
105
|
+
* const ids = alicloud.cloudfirewall.getAddressBooksOutput({
|
|
106
|
+
* ids: [_default.id],
|
|
107
|
+
* });
|
|
108
|
+
* export const cloudFirewallAddressBookId1 = ids.apply(ids => ids.books?.[0]?.id);
|
|
72
109
|
* ```
|
|
73
110
|
*/
|
|
74
111
|
export declare function getAddressBooksOutput(args?: GetAddressBooksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAddressBooksResult>;
|
|
@@ -77,7 +114,7 @@ export declare function getAddressBooksOutput(args?: GetAddressBooksOutputArgs,
|
|
|
77
114
|
*/
|
|
78
115
|
export interface GetAddressBooksOutputArgs {
|
|
79
116
|
/**
|
|
80
|
-
* The type of the Address Book.
|
|
117
|
+
* The type of the Address Book. Valid values: `ip`, `tag`.
|
|
81
118
|
*/
|
|
82
119
|
groupType?: pulumi.Input<string>;
|
|
83
120
|
/**
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This data source provides the Cloud Firewall Address Books of the current Alibaba Cloud user.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:** Available
|
|
11
|
+
* > **NOTE:** Available since v1.178.0.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -18,8 +18,22 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as alicloud from "@pulumi/alicloud";
|
|
20
20
|
*
|
|
21
|
-
* const
|
|
22
|
-
*
|
|
21
|
+
* const config = new pulumi.Config();
|
|
22
|
+
* const name = config.get("name") || "tf-example";
|
|
23
|
+
* const _default = new alicloud.cloudfirewall.AddressBook("default", {
|
|
24
|
+
* groupName: name,
|
|
25
|
+
* groupType: "ip",
|
|
26
|
+
* description: "tf-description",
|
|
27
|
+
* autoAddTagEcs: 0,
|
|
28
|
+
* addressLists: [
|
|
29
|
+
* "10.21.0.0/16",
|
|
30
|
+
* "10.168.0.0/16",
|
|
31
|
+
* ],
|
|
32
|
+
* });
|
|
33
|
+
* const ids = alicloud.cloudfirewall.getAddressBooksOutput({
|
|
34
|
+
* ids: [_default.id],
|
|
35
|
+
* });
|
|
36
|
+
* export const cloudFirewallAddressBookId1 = ids.apply(ids => ids.books?.[0]?.id);
|
|
23
37
|
* ```
|
|
24
38
|
*/
|
|
25
39
|
function getAddressBooks(args, opts) {
|
|
@@ -36,7 +50,7 @@ exports.getAddressBooks = getAddressBooks;
|
|
|
36
50
|
/**
|
|
37
51
|
* This data source provides the Cloud Firewall Address Books of the current Alibaba Cloud user.
|
|
38
52
|
*
|
|
39
|
-
* > **NOTE:** Available
|
|
53
|
+
* > **NOTE:** Available since v1.178.0.
|
|
40
54
|
*
|
|
41
55
|
* ## Example Usage
|
|
42
56
|
*
|
|
@@ -46,8 +60,22 @@ exports.getAddressBooks = getAddressBooks;
|
|
|
46
60
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
61
|
* import * as alicloud from "@pulumi/alicloud";
|
|
48
62
|
*
|
|
49
|
-
* const
|
|
50
|
-
*
|
|
63
|
+
* const config = new pulumi.Config();
|
|
64
|
+
* const name = config.get("name") || "tf-example";
|
|
65
|
+
* const _default = new alicloud.cloudfirewall.AddressBook("default", {
|
|
66
|
+
* groupName: name,
|
|
67
|
+
* groupType: "ip",
|
|
68
|
+
* description: "tf-description",
|
|
69
|
+
* autoAddTagEcs: 0,
|
|
70
|
+
* addressLists: [
|
|
71
|
+
* "10.21.0.0/16",
|
|
72
|
+
* "10.168.0.0/16",
|
|
73
|
+
* ],
|
|
74
|
+
* });
|
|
75
|
+
* const ids = alicloud.cloudfirewall.getAddressBooksOutput({
|
|
76
|
+
* ids: [_default.id],
|
|
77
|
+
* });
|
|
78
|
+
* export const cloudFirewallAddressBookId1 = ids.apply(ids => ids.books?.[0]?.id);
|
|
51
79
|
* ```
|
|
52
80
|
*/
|
|
53
81
|
function getAddressBooksOutput(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAddressBooks.js","sourceRoot":"","sources":["../../cloudfirewall/getAddressBooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getAddressBooks.js","sourceRoot":"","sources":["../../cloudfirewall/getAddressBooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,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,wDAAwD,EAAE;QACnF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AAgDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/cms/eventRule.d.ts
CHANGED
|
@@ -22,16 +22,16 @@ import * as outputs from "../types/output";
|
|
|
22
22
|
* const example = new alicloud.cms.EventRule("example", {
|
|
23
23
|
* ruleName: name,
|
|
24
24
|
* groupId: _default.id,
|
|
25
|
+
* silenceTime: 100,
|
|
25
26
|
* description: name,
|
|
26
27
|
* status: "ENABLED",
|
|
27
28
|
* eventPattern: {
|
|
28
29
|
* product: "ecs",
|
|
29
|
-
* eventTypeLists: ["StatusNotification"],
|
|
30
|
-
* levelLists: ["CRITICAL"],
|
|
31
|
-
* nameLists: ["example_value"],
|
|
32
30
|
* sqlFilter: "example_value",
|
|
31
|
+
* nameLists: ["example_value"],
|
|
32
|
+
* levelLists: ["CRITICAL"],
|
|
33
|
+
* eventTypeLists: ["StatusNotification"],
|
|
33
34
|
* },
|
|
34
|
-
* silenceTime: 100,
|
|
35
35
|
* });
|
|
36
36
|
* ```
|
|
37
37
|
*
|
|
@@ -59,6 +59,10 @@ export declare class EventRule extends pulumi.CustomResource {
|
|
|
59
59
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
60
|
*/
|
|
61
61
|
static isInstance(obj: any): obj is EventRule;
|
|
62
|
+
/**
|
|
63
|
+
* The information about the alert contact groups that receive alert notifications. See `contactParameters` below.
|
|
64
|
+
*/
|
|
65
|
+
readonly contactParameters: pulumi.Output<outputs.cms.EventRuleContactParameter[] | undefined>;
|
|
62
66
|
/**
|
|
63
67
|
* The description of the event-triggered alert rule.
|
|
64
68
|
*/
|
|
@@ -67,10 +71,22 @@ export declare class EventRule extends pulumi.CustomResource {
|
|
|
67
71
|
* Event mode, used to describe the trigger conditions for this event. See `eventPattern` below.
|
|
68
72
|
*/
|
|
69
73
|
readonly eventPattern: pulumi.Output<outputs.cms.EventRuleEventPattern>;
|
|
74
|
+
/**
|
|
75
|
+
* The information about the recipients in Function Compute. See `fcParameters` below.
|
|
76
|
+
*/
|
|
77
|
+
readonly fcParameters: pulumi.Output<outputs.cms.EventRuleFcParameter[] | undefined>;
|
|
70
78
|
/**
|
|
71
79
|
* The ID of the application group to which the event-triggered alert rule belongs.
|
|
72
80
|
*/
|
|
73
81
|
readonly groupId: pulumi.Output<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The information about the recipients in Message Service (MNS). See `mnsParameters` below.
|
|
84
|
+
*/
|
|
85
|
+
readonly mnsParameters: pulumi.Output<outputs.cms.EventRuleMnsParameter[] | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The parameters of API callback notification. See `openApiParameters` below.
|
|
88
|
+
*/
|
|
89
|
+
readonly openApiParameters: pulumi.Output<outputs.cms.EventRuleOpenApiParameter[] | undefined>;
|
|
74
90
|
/**
|
|
75
91
|
* The name of the event-triggered alert rule.
|
|
76
92
|
*/
|
|
@@ -79,10 +95,18 @@ export declare class EventRule extends pulumi.CustomResource {
|
|
|
79
95
|
* The silence time.
|
|
80
96
|
*/
|
|
81
97
|
readonly silenceTime: pulumi.Output<number | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* The information about the recipients in Simple Log Service. See `slsParameters` below.
|
|
100
|
+
*/
|
|
101
|
+
readonly slsParameters: pulumi.Output<outputs.cms.EventRuleSlsParameter[] | undefined>;
|
|
82
102
|
/**
|
|
83
103
|
* The status of the resource. Valid values: `ENABLED`, `DISABLED`.
|
|
84
104
|
*/
|
|
85
105
|
readonly status: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The information about the callback URLs that are used to receive alert notifications. See `webhookParameters` below.
|
|
108
|
+
*/
|
|
109
|
+
readonly webhookParameters: pulumi.Output<outputs.cms.EventRuleWebhookParameter[] | undefined>;
|
|
86
110
|
/**
|
|
87
111
|
* Create a EventRule resource with the given unique name, arguments, and options.
|
|
88
112
|
*
|
|
@@ -96,6 +120,10 @@ export declare class EventRule extends pulumi.CustomResource {
|
|
|
96
120
|
* Input properties used for looking up and filtering EventRule resources.
|
|
97
121
|
*/
|
|
98
122
|
export interface EventRuleState {
|
|
123
|
+
/**
|
|
124
|
+
* The information about the alert contact groups that receive alert notifications. See `contactParameters` below.
|
|
125
|
+
*/
|
|
126
|
+
contactParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleContactParameter>[]>;
|
|
99
127
|
/**
|
|
100
128
|
* The description of the event-triggered alert rule.
|
|
101
129
|
*/
|
|
@@ -104,10 +132,22 @@ export interface EventRuleState {
|
|
|
104
132
|
* Event mode, used to describe the trigger conditions for this event. See `eventPattern` below.
|
|
105
133
|
*/
|
|
106
134
|
eventPattern?: pulumi.Input<inputs.cms.EventRuleEventPattern>;
|
|
135
|
+
/**
|
|
136
|
+
* The information about the recipients in Function Compute. See `fcParameters` below.
|
|
137
|
+
*/
|
|
138
|
+
fcParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleFcParameter>[]>;
|
|
107
139
|
/**
|
|
108
140
|
* The ID of the application group to which the event-triggered alert rule belongs.
|
|
109
141
|
*/
|
|
110
142
|
groupId?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The information about the recipients in Message Service (MNS). See `mnsParameters` below.
|
|
145
|
+
*/
|
|
146
|
+
mnsParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleMnsParameter>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* The parameters of API callback notification. See `openApiParameters` below.
|
|
149
|
+
*/
|
|
150
|
+
openApiParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleOpenApiParameter>[]>;
|
|
111
151
|
/**
|
|
112
152
|
* The name of the event-triggered alert rule.
|
|
113
153
|
*/
|
|
@@ -116,15 +156,27 @@ export interface EventRuleState {
|
|
|
116
156
|
* The silence time.
|
|
117
157
|
*/
|
|
118
158
|
silenceTime?: pulumi.Input<number>;
|
|
159
|
+
/**
|
|
160
|
+
* The information about the recipients in Simple Log Service. See `slsParameters` below.
|
|
161
|
+
*/
|
|
162
|
+
slsParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleSlsParameter>[]>;
|
|
119
163
|
/**
|
|
120
164
|
* The status of the resource. Valid values: `ENABLED`, `DISABLED`.
|
|
121
165
|
*/
|
|
122
166
|
status?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The information about the callback URLs that are used to receive alert notifications. See `webhookParameters` below.
|
|
169
|
+
*/
|
|
170
|
+
webhookParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleWebhookParameter>[]>;
|
|
123
171
|
}
|
|
124
172
|
/**
|
|
125
173
|
* The set of arguments for constructing a EventRule resource.
|
|
126
174
|
*/
|
|
127
175
|
export interface EventRuleArgs {
|
|
176
|
+
/**
|
|
177
|
+
* The information about the alert contact groups that receive alert notifications. See `contactParameters` below.
|
|
178
|
+
*/
|
|
179
|
+
contactParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleContactParameter>[]>;
|
|
128
180
|
/**
|
|
129
181
|
* The description of the event-triggered alert rule.
|
|
130
182
|
*/
|
|
@@ -133,10 +185,22 @@ export interface EventRuleArgs {
|
|
|
133
185
|
* Event mode, used to describe the trigger conditions for this event. See `eventPattern` below.
|
|
134
186
|
*/
|
|
135
187
|
eventPattern: pulumi.Input<inputs.cms.EventRuleEventPattern>;
|
|
188
|
+
/**
|
|
189
|
+
* The information about the recipients in Function Compute. See `fcParameters` below.
|
|
190
|
+
*/
|
|
191
|
+
fcParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleFcParameter>[]>;
|
|
136
192
|
/**
|
|
137
193
|
* The ID of the application group to which the event-triggered alert rule belongs.
|
|
138
194
|
*/
|
|
139
195
|
groupId?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The information about the recipients in Message Service (MNS). See `mnsParameters` below.
|
|
198
|
+
*/
|
|
199
|
+
mnsParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleMnsParameter>[]>;
|
|
200
|
+
/**
|
|
201
|
+
* The parameters of API callback notification. See `openApiParameters` below.
|
|
202
|
+
*/
|
|
203
|
+
openApiParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleOpenApiParameter>[]>;
|
|
140
204
|
/**
|
|
141
205
|
* The name of the event-triggered alert rule.
|
|
142
206
|
*/
|
|
@@ -145,8 +209,16 @@ export interface EventRuleArgs {
|
|
|
145
209
|
* The silence time.
|
|
146
210
|
*/
|
|
147
211
|
silenceTime?: pulumi.Input<number>;
|
|
212
|
+
/**
|
|
213
|
+
* The information about the recipients in Simple Log Service. See `slsParameters` below.
|
|
214
|
+
*/
|
|
215
|
+
slsParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleSlsParameter>[]>;
|
|
148
216
|
/**
|
|
149
217
|
* The status of the resource. Valid values: `ENABLED`, `DISABLED`.
|
|
150
218
|
*/
|
|
151
219
|
status?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* The information about the callback URLs that are used to receive alert notifications. See `webhookParameters` below.
|
|
222
|
+
*/
|
|
223
|
+
webhookParameters?: pulumi.Input<pulumi.Input<inputs.cms.EventRuleWebhookParameter>[]>;
|
|
152
224
|
}
|
package/cms/eventRule.js
CHANGED
|
@@ -26,16 +26,16 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* const example = new alicloud.cms.EventRule("example", {
|
|
27
27
|
* ruleName: name,
|
|
28
28
|
* groupId: _default.id,
|
|
29
|
+
* silenceTime: 100,
|
|
29
30
|
* description: name,
|
|
30
31
|
* status: "ENABLED",
|
|
31
32
|
* eventPattern: {
|
|
32
33
|
* product: "ecs",
|
|
33
|
-
* eventTypeLists: ["StatusNotification"],
|
|
34
|
-
* levelLists: ["CRITICAL"],
|
|
35
|
-
* nameLists: ["example_value"],
|
|
36
34
|
* sqlFilter: "example_value",
|
|
35
|
+
* nameLists: ["example_value"],
|
|
36
|
+
* levelLists: ["CRITICAL"],
|
|
37
|
+
* eventTypeLists: ["StatusNotification"],
|
|
37
38
|
* },
|
|
38
|
-
* silenceTime: 100,
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
41
|
*
|
|
@@ -75,12 +75,18 @@ class EventRule extends pulumi.CustomResource {
|
|
|
75
75
|
opts = opts || {};
|
|
76
76
|
if (opts.id) {
|
|
77
77
|
const state = argsOrState;
|
|
78
|
+
resourceInputs["contactParameters"] = state ? state.contactParameters : undefined;
|
|
78
79
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
79
80
|
resourceInputs["eventPattern"] = state ? state.eventPattern : undefined;
|
|
81
|
+
resourceInputs["fcParameters"] = state ? state.fcParameters : undefined;
|
|
80
82
|
resourceInputs["groupId"] = state ? state.groupId : undefined;
|
|
83
|
+
resourceInputs["mnsParameters"] = state ? state.mnsParameters : undefined;
|
|
84
|
+
resourceInputs["openApiParameters"] = state ? state.openApiParameters : undefined;
|
|
81
85
|
resourceInputs["ruleName"] = state ? state.ruleName : undefined;
|
|
82
86
|
resourceInputs["silenceTime"] = state ? state.silenceTime : undefined;
|
|
87
|
+
resourceInputs["slsParameters"] = state ? state.slsParameters : undefined;
|
|
83
88
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
89
|
+
resourceInputs["webhookParameters"] = state ? state.webhookParameters : undefined;
|
|
84
90
|
}
|
|
85
91
|
else {
|
|
86
92
|
const args = argsOrState;
|
|
@@ -90,12 +96,18 @@ class EventRule extends pulumi.CustomResource {
|
|
|
90
96
|
if ((!args || args.ruleName === undefined) && !opts.urn) {
|
|
91
97
|
throw new Error("Missing required property 'ruleName'");
|
|
92
98
|
}
|
|
99
|
+
resourceInputs["contactParameters"] = args ? args.contactParameters : undefined;
|
|
93
100
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
94
101
|
resourceInputs["eventPattern"] = args ? args.eventPattern : undefined;
|
|
102
|
+
resourceInputs["fcParameters"] = args ? args.fcParameters : undefined;
|
|
95
103
|
resourceInputs["groupId"] = args ? args.groupId : undefined;
|
|
104
|
+
resourceInputs["mnsParameters"] = args ? args.mnsParameters : undefined;
|
|
105
|
+
resourceInputs["openApiParameters"] = args ? args.openApiParameters : undefined;
|
|
96
106
|
resourceInputs["ruleName"] = args ? args.ruleName : undefined;
|
|
97
107
|
resourceInputs["silenceTime"] = args ? args.silenceTime : undefined;
|
|
108
|
+
resourceInputs["slsParameters"] = args ? args.slsParameters : undefined;
|
|
98
109
|
resourceInputs["status"] = args ? args.status : undefined;
|
|
110
|
+
resourceInputs["webhookParameters"] = args ? args.webhookParameters : undefined;
|
|
99
111
|
}
|
|
100
112
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
101
113
|
super(EventRule.__pulumiType, name, resourceInputs, opts);
|
package/cms/eventRule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventRule.js","sourceRoot":"","sources":["../../cms/eventRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;
|
|
1
|
+
{"version":3,"file":"eventRule.js","sourceRoot":"","sources":["../../cms/eventRule.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,33 +1,16 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "../types/input";
|
|
3
2
|
import * as outputs from "../types/output";
|
|
4
3
|
/**
|
|
5
4
|
* This data source provides a list of available addons that the cluster can install.
|
|
6
5
|
*
|
|
7
|
-
* > **NOTE:** Available
|
|
8
|
-
* **NOTE:** From version
|
|
9
|
-
*
|
|
10
|
-
* ## Example Usage
|
|
11
|
-
*
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
15
|
-
*
|
|
16
|
-
* const default = alicloud.cs.getKubernetesAddons({
|
|
17
|
-
* clusterId: alicloud_cs_managed_kubernetes["default"][0].id,
|
|
18
|
-
* });
|
|
19
|
-
* export const addons = _default.then(_default => _default.addons);
|
|
20
|
-
* ```
|
|
6
|
+
* > **NOTE:** Available since v1.150.0.
|
|
7
|
+
* **NOTE:** From version v1.166.0, support for returning custom configuration of kubernetes cluster addon.
|
|
21
8
|
*/
|
|
22
9
|
export declare function getKubernetesAddons(args: GetKubernetesAddonsArgs, opts?: pulumi.InvokeOptions): Promise<GetKubernetesAddonsResult>;
|
|
23
10
|
/**
|
|
24
11
|
* A collection of arguments for invoking getKubernetesAddons.
|
|
25
12
|
*/
|
|
26
13
|
export interface GetKubernetesAddonsArgs {
|
|
27
|
-
/**
|
|
28
|
-
* A list of addons.
|
|
29
|
-
*/
|
|
30
|
-
addons?: inputs.cs.GetKubernetesAddonsAddon[];
|
|
31
14
|
/**
|
|
32
15
|
* The id of kubernetes cluster.
|
|
33
16
|
*/
|
|
@@ -48,7 +31,7 @@ export interface GetKubernetesAddonsResult {
|
|
|
48
31
|
/**
|
|
49
32
|
* A list of addons.
|
|
50
33
|
*/
|
|
51
|
-
readonly addons
|
|
34
|
+
readonly addons: outputs.cs.GetKubernetesAddonsAddon[];
|
|
52
35
|
/**
|
|
53
36
|
* The id of kubernetes cluster.
|
|
54
37
|
*/
|
|
@@ -67,30 +50,14 @@ export interface GetKubernetesAddonsResult {
|
|
|
67
50
|
/**
|
|
68
51
|
* This data source provides a list of available addons that the cluster can install.
|
|
69
52
|
*
|
|
70
|
-
* > **NOTE:** Available
|
|
71
|
-
* **NOTE:** From version
|
|
72
|
-
*
|
|
73
|
-
* ## Example Usage
|
|
74
|
-
*
|
|
75
|
-
* ```typescript
|
|
76
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
78
|
-
*
|
|
79
|
-
* const default = alicloud.cs.getKubernetesAddons({
|
|
80
|
-
* clusterId: alicloud_cs_managed_kubernetes["default"][0].id,
|
|
81
|
-
* });
|
|
82
|
-
* export const addons = _default.then(_default => _default.addons);
|
|
83
|
-
* ```
|
|
53
|
+
* > **NOTE:** Available since v1.150.0.
|
|
54
|
+
* **NOTE:** From version v1.166.0, support for returning custom configuration of kubernetes cluster addon.
|
|
84
55
|
*/
|
|
85
56
|
export declare function getKubernetesAddonsOutput(args: GetKubernetesAddonsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKubernetesAddonsResult>;
|
|
86
57
|
/**
|
|
87
58
|
* A collection of arguments for invoking getKubernetesAddons.
|
|
88
59
|
*/
|
|
89
60
|
export interface GetKubernetesAddonsOutputArgs {
|
|
90
|
-
/**
|
|
91
|
-
* A list of addons.
|
|
92
|
-
*/
|
|
93
|
-
addons?: pulumi.Input<pulumi.Input<inputs.cs.GetKubernetesAddonsAddonArgs>[]>;
|
|
94
61
|
/**
|
|
95
62
|
* The id of kubernetes cluster.
|
|
96
63
|
*/
|
|
@@ -8,25 +8,12 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This data source provides a list of available addons that the cluster can install.
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:** Available
|
|
12
|
-
* **NOTE:** From version
|
|
13
|
-
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
19
|
-
*
|
|
20
|
-
* const default = alicloud.cs.getKubernetesAddons({
|
|
21
|
-
* clusterId: alicloud_cs_managed_kubernetes["default"][0].id,
|
|
22
|
-
* });
|
|
23
|
-
* export const addons = _default.then(_default => _default.addons);
|
|
24
|
-
* ```
|
|
11
|
+
* > **NOTE:** Available since v1.150.0.
|
|
12
|
+
* **NOTE:** From version v1.166.0, support for returning custom configuration of kubernetes cluster addon.
|
|
25
13
|
*/
|
|
26
14
|
function getKubernetesAddons(args, opts) {
|
|
27
15
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
28
16
|
return pulumi.runtime.invoke("alicloud:cs/getKubernetesAddons:getKubernetesAddons", {
|
|
29
|
-
"addons": args.addons,
|
|
30
17
|
"clusterId": args.clusterId,
|
|
31
18
|
"ids": args.ids,
|
|
32
19
|
"nameRegex": args.nameRegex,
|
|
@@ -36,20 +23,8 @@ exports.getKubernetesAddons = getKubernetesAddons;
|
|
|
36
23
|
/**
|
|
37
24
|
* This data source provides a list of available addons that the cluster can install.
|
|
38
25
|
*
|
|
39
|
-
* > **NOTE:** Available
|
|
40
|
-
* **NOTE:** From version
|
|
41
|
-
*
|
|
42
|
-
* ## Example Usage
|
|
43
|
-
*
|
|
44
|
-
* ```typescript
|
|
45
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
47
|
-
*
|
|
48
|
-
* const default = alicloud.cs.getKubernetesAddons({
|
|
49
|
-
* clusterId: alicloud_cs_managed_kubernetes["default"][0].id,
|
|
50
|
-
* });
|
|
51
|
-
* export const addons = _default.then(_default => _default.addons);
|
|
52
|
-
* ```
|
|
26
|
+
* > **NOTE:** Available since v1.150.0.
|
|
27
|
+
* **NOTE:** From version v1.166.0, support for returning custom configuration of kubernetes cluster addon.
|
|
53
28
|
*/
|
|
54
29
|
function getKubernetesAddonsOutput(args, opts) {
|
|
55
30
|
return pulumi.output(args).apply((a) => getKubernetesAddons(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getKubernetesAddons.js","sourceRoot":"","sources":["../../cs/getKubernetesAddons.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getKubernetesAddons.js","sourceRoot":"","sources":["../../cs/getKubernetesAddons.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AA2CD;;;;;GAKG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
|
@@ -2,6 +2,33 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
+
* This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** It is recommended to create a cluster with zero worker nodes, and then use a node pool to manage the cluster nodes.
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
|
|
10
|
+
* A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the
|
|
11
|
+
* VPC, you can set `newNatGateway` to "true" to create one automatically.
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient.
|
|
14
|
+
*
|
|
15
|
+
* > **NOTE:** From version 1.9.4, the provider supports to download kube config, client certificate, client key and cluster ca certificate
|
|
16
|
+
* after creating cluster successfully, and you can put them into the specified location, like '~/.kube/config'.
|
|
17
|
+
*
|
|
18
|
+
* > **NOTE:** From version 1.20.0, the provider supports disabling internet load balancer for API Server by setting `false` to `slbInternetEnabled`.
|
|
19
|
+
*
|
|
20
|
+
* > **NOTE:** If you want to manage Kubernetes, you can use Kubernetes Provider.
|
|
21
|
+
*
|
|
22
|
+
* > **NOTE:** You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource.
|
|
23
|
+
* Please refer to the `Authorization management` and `Cluster management` sections in the [Document Center](https://www.alibabacloud.com/help/doc-detail/86488.htm).
|
|
24
|
+
*
|
|
25
|
+
* > **NOTE:** From version 1.72.0, Some parameters have been removed from resource,You can check them below and re-import the cluster if necessary.
|
|
26
|
+
*
|
|
27
|
+
* > **NOTE:** From version 1.120.0, Support for cluster migration from Standard cluster to professional.
|
|
28
|
+
*
|
|
29
|
+
* > **NOTE:** From version 1.177.0+, `runtime`,`enableSsh`,`rdsInstances`,`excludeAutoscalerNodes`,`workerNumber`,`workerInstanceTypes`,`password`,`keyName`,`kmsEncryptedPassword`,`kmsEncryptionContext`,`workerInstanceChargeType`,`workerPeriod`,`workerPeriodUnit`,`workerAutoRenew`,`workerAutoRenewPeriod`,`workerDiskCategory`,`workerDiskSize`,`workerDataDisks`,`nodeNameMode`,`nodePortRange`,`osType`,`platform`,`imageId`,`cpuPolicy`,`userData`,`taints`,`workerDiskPerformanceLevel`,`workerDiskSnapshotPolicyId`,`installCloudMonitor` are deprecated.
|
|
30
|
+
* We Suggest you using resource **`alicloud.cs.NodePool`** to manage your cluster worker nodes.
|
|
31
|
+
*
|
|
5
32
|
* ## Import
|
|
6
33
|
*
|
|
7
34
|
* Kubernetes managed cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.
|
|
@@ -165,7 +192,7 @@ export declare class ManagedKubernetes extends pulumi.CustomResource {
|
|
|
165
192
|
*/
|
|
166
193
|
readonly maintenanceWindow: pulumi.Output<outputs.cs.ManagedKubernetesMaintenanceWindow>;
|
|
167
194
|
/**
|
|
168
|
-
*
|
|
195
|
+
* This parameter specifies the name of the component.
|
|
169
196
|
*/
|
|
170
197
|
readonly name: pulumi.Output<string>;
|
|
171
198
|
readonly namePrefix: pulumi.Output<string | undefined>;
|
|
@@ -561,7 +588,7 @@ export interface ManagedKubernetesState {
|
|
|
561
588
|
*/
|
|
562
589
|
maintenanceWindow?: pulumi.Input<inputs.cs.ManagedKubernetesMaintenanceWindow>;
|
|
563
590
|
/**
|
|
564
|
-
*
|
|
591
|
+
* This parameter specifies the name of the component.
|
|
565
592
|
*/
|
|
566
593
|
name?: pulumi.Input<string>;
|
|
567
594
|
namePrefix?: pulumi.Input<string>;
|
|
@@ -941,7 +968,7 @@ export interface ManagedKubernetesArgs {
|
|
|
941
968
|
*/
|
|
942
969
|
maintenanceWindow?: pulumi.Input<inputs.cs.ManagedKubernetesMaintenanceWindow>;
|
|
943
970
|
/**
|
|
944
|
-
*
|
|
971
|
+
* This parameter specifies the name of the component.
|
|
945
972
|
*/
|
|
946
973
|
name?: pulumi.Input<string>;
|
|
947
974
|
namePrefix?: pulumi.Input<string>;
|
package/cs/managedKubernetes.js
CHANGED
|
@@ -6,6 +6,33 @@ exports.ManagedKubernetes = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** It is recommended to create a cluster with zero worker nodes, and then use a node pool to manage the cluster nodes.
|
|
12
|
+
*
|
|
13
|
+
* > **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
|
|
14
|
+
* A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the
|
|
15
|
+
* VPC, you can set `newNatGateway` to "true" to create one automatically.
|
|
16
|
+
*
|
|
17
|
+
* > **NOTE:** Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient.
|
|
18
|
+
*
|
|
19
|
+
* > **NOTE:** From version 1.9.4, the provider supports to download kube config, client certificate, client key and cluster ca certificate
|
|
20
|
+
* after creating cluster successfully, and you can put them into the specified location, like '~/.kube/config'.
|
|
21
|
+
*
|
|
22
|
+
* > **NOTE:** From version 1.20.0, the provider supports disabling internet load balancer for API Server by setting `false` to `slbInternetEnabled`.
|
|
23
|
+
*
|
|
24
|
+
* > **NOTE:** If you want to manage Kubernetes, you can use Kubernetes Provider.
|
|
25
|
+
*
|
|
26
|
+
* > **NOTE:** You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource.
|
|
27
|
+
* Please refer to the `Authorization management` and `Cluster management` sections in the [Document Center](https://www.alibabacloud.com/help/doc-detail/86488.htm).
|
|
28
|
+
*
|
|
29
|
+
* > **NOTE:** From version 1.72.0, Some parameters have been removed from resource,You can check them below and re-import the cluster if necessary.
|
|
30
|
+
*
|
|
31
|
+
* > **NOTE:** From version 1.120.0, Support for cluster migration from Standard cluster to professional.
|
|
32
|
+
*
|
|
33
|
+
* > **NOTE:** From version 1.177.0+, `runtime`,`enableSsh`,`rdsInstances`,`excludeAutoscalerNodes`,`workerNumber`,`workerInstanceTypes`,`password`,`keyName`,`kmsEncryptedPassword`,`kmsEncryptionContext`,`workerInstanceChargeType`,`workerPeriod`,`workerPeriodUnit`,`workerAutoRenew`,`workerAutoRenewPeriod`,`workerDiskCategory`,`workerDiskSize`,`workerDataDisks`,`nodeNameMode`,`nodePortRange`,`osType`,`platform`,`imageId`,`cpuPolicy`,`userData`,`taints`,`workerDiskPerformanceLevel`,`workerDiskSnapshotPolicyId`,`installCloudMonitor` are deprecated.
|
|
34
|
+
* We Suggest you using resource **`alicloud.cs.NodePool`** to manage your cluster worker nodes.
|
|
35
|
+
*
|
|
9
36
|
* ## Import
|
|
10
37
|
*
|
|
11
38
|
* Kubernetes managed cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.
|