@pulumi/alicloud 3.40.0 → 3.42.0
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/apigateway/api.d.ts +31 -31
- package/apigateway/api.js +7 -7
- package/apigateway/app.d.ts +1 -1
- package/apigateway/app.js +1 -1
- package/apigateway/appAttachment.d.ts +40 -4
- package/apigateway/appAttachment.js +40 -4
- package/apigateway/appAttachment.js.map +1 -1
- package/apigateway/backend.d.ts +5 -5
- package/apigateway/backend.js +5 -5
- package/apigateway/group.d.ts +1 -1
- package/apigateway/group.js +1 -1
- package/apigateway/logConfig.d.ts +38 -7
- package/apigateway/logConfig.js +38 -7
- package/apigateway/logConfig.js.map +1 -1
- package/apigateway/model.d.ts +2 -2
- package/apigateway/model.js +2 -2
- package/apigateway/plugin.d.ts +4 -4
- package/apigateway/plugin.js +4 -4
- package/apigateway/vpcAccess.d.ts +37 -3
- package/apigateway/vpcAccess.js +37 -3
- package/apigateway/vpcAccess.js.map +1 -1
- package/arms/alertContact.d.ts +2 -2
- package/arms/alertContact.js +2 -2
- package/arms/alertContactGroup.d.ts +2 -2
- package/arms/alertContactGroup.js +2 -2
- package/arms/dispatchRule.d.ts +10 -10
- package/arms/dispatchRule.js +1 -1
- package/arms/integrationExporter.d.ts +19 -10
- package/arms/integrationExporter.js +19 -10
- package/arms/integrationExporter.js.map +1 -1
- package/arms/prometheus.d.ts +19 -10
- package/arms/prometheus.js +19 -10
- package/arms/prometheus.js.map +1 -1
- package/arms/prometheusAlertRule.d.ts +7 -24
- package/arms/prometheusAlertRule.js +1 -18
- package/arms/prometheusAlertRule.js.map +1 -1
- package/arms/remoteWrite.d.ts +33 -4
- package/arms/remoteWrite.js +33 -4
- package/arms/remoteWrite.js.map +1 -1
- package/bastionhost/host.d.ts +30 -4
- package/bastionhost/host.js +30 -4
- package/bastionhost/host.js.map +1 -1
- package/bastionhost/hostAccount.d.ts +40 -6
- package/bastionhost/hostAccount.js +40 -6
- package/bastionhost/hostAccount.js.map +1 -1
- package/bastionhost/hostAccountShareKeyAttachment.d.ts +35 -11
- package/bastionhost/hostAccountShareKeyAttachment.js +35 -11
- package/bastionhost/hostAccountShareKeyAttachment.js.map +1 -1
- package/bastionhost/hostAccountUserAttachment.d.ts +40 -17
- package/bastionhost/hostAccountUserAttachment.js +40 -17
- package/bastionhost/hostAccountUserAttachment.js.map +1 -1
- package/bastionhost/hostAccountUserGroupAttachment.d.ts +39 -16
- package/bastionhost/hostAccountUserGroupAttachment.js +39 -16
- package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -1
- package/bastionhost/hostAttachment.d.ts +43 -5
- package/bastionhost/hostAttachment.js +43 -5
- package/bastionhost/hostAttachment.js.map +1 -1
- package/bastionhost/hostGroup.d.ts +30 -4
- package/bastionhost/hostGroup.js +30 -4
- package/bastionhost/hostGroup.js.map +1 -1
- package/bastionhost/hostGroupAccountUserAttachment.d.ts +46 -23
- package/bastionhost/hostGroupAccountUserAttachment.js +46 -23
- package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -1
- package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +41 -18
- package/bastionhost/hostGroupAccountUserGroupAttachment.js +41 -18
- package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -1
- package/bastionhost/hostShareKey.d.ts +32 -6
- package/bastionhost/hostShareKey.js +32 -6
- package/bastionhost/hostShareKey.js.map +1 -1
- package/bastionhost/instance.d.ts +15 -9
- package/bastionhost/instance.js.map +1 -1
- package/bastionhost/user.d.ts +46 -15
- package/bastionhost/user.js +43 -12
- package/bastionhost/user.js.map +1 -1
- package/bastionhost/userAttachment.d.ts +43 -5
- package/bastionhost/userAttachment.js +43 -5
- package/bastionhost/userAttachment.js.map +1 -1
- package/bastionhost/userGroup.d.ts +30 -4
- package/bastionhost/userGroup.js +30 -4
- package/bastionhost/userGroup.js.map +1 -1
- package/cen/bandwidthLimit.d.ts +3 -9
- package/cen/bandwidthLimit.js +3 -9
- package/cen/bandwidthLimit.js.map +1 -1
- package/cen/instanceGrant.d.ts +1 -2
- package/cen/instanceGrant.js +1 -2
- package/cen/instanceGrant.js.map +1 -1
- package/cfg/aggregateCompliancePack.d.ts +24 -29
- package/cfg/aggregateCompliancePack.js +18 -23
- package/cfg/aggregateCompliancePack.js.map +1 -1
- package/cfg/aggregateConfigRule.d.ts +21 -14
- package/cfg/aggregateConfigRule.js +19 -12
- package/cfg/aggregateConfigRule.js.map +1 -1
- package/cfg/aggregateDelivery.d.ts +2 -2
- package/cfg/aggregateDelivery.js +2 -2
- package/cfg/aggregator.d.ts +16 -10
- package/cfg/aggregator.js +13 -7
- package/cfg/aggregator.js.map +1 -1
- package/cfg/compliancePack.d.ts +20 -26
- package/cfg/compliancePack.js +14 -20
- package/cfg/compliancePack.js.map +1 -1
- package/cfg/configurationRecorder.d.ts +2 -2
- package/cfg/configurationRecorder.js +2 -2
- package/cfg/delivery.d.ts +27 -1
- package/cfg/delivery.js +27 -1
- package/cfg/delivery.js.map +1 -1
- package/cfg/remediation.d.ts +30 -6
- package/cfg/remediation.js +30 -6
- package/cfg/remediation.js.map +1 -1
- package/cfg/rule.d.ts +19 -16
- package/cfg/rule.js +19 -16
- package/cfg/rule.js.map +1 -1
- package/cloudsso/accessManagement.d.ts +1 -1
- package/cloudsso/accessManagement.js +1 -1
- package/cms/alarm.d.ts +56 -20
- package/cms/alarm.js +44 -8
- package/cms/alarm.js.map +1 -1
- package/cms/alarmContact.d.ts +6 -6
- package/cms/alarmContact.js +6 -6
- package/cms/alarmContactGroup.d.ts +3 -3
- package/cms/alarmContactGroup.js +3 -3
- package/cms/dynamicTagGroup.d.ts +5 -5
- package/cms/dynamicTagGroup.js +2 -2
- package/cms/eventRule.d.ts +9 -7
- package/cms/eventRule.js +6 -4
- package/cms/eventRule.js.map +1 -1
- package/cms/groupMetricRule.d.ts +23 -16
- package/cms/groupMetricRule.js +17 -10
- package/cms/groupMetricRule.js.map +1 -1
- package/cms/hybridMonitorFcTask.d.ts +30 -5
- package/cms/hybridMonitorFcTask.js +30 -5
- package/cms/hybridMonitorFcTask.js.map +1 -1
- package/cms/hybridMonitorSlsTask.d.ts +7 -69
- package/cms/hybridMonitorSlsTask.js +1 -63
- package/cms/hybridMonitorSlsTask.js.map +1 -1
- package/cms/metricRuleBlackList.d.ts +58 -4
- package/cms/metricRuleBlackList.js +55 -1
- package/cms/metricRuleBlackList.js.map +1 -1
- package/cms/metricRuleTemplate.d.ts +11 -9
- package/cms/metricRuleTemplate.js +8 -6
- package/cms/metricRuleTemplate.js.map +1 -1
- package/cms/monitorGroup.d.ts +4 -4
- package/cms/monitorGroup.js +4 -4
- package/cms/monitorGroupInstances.d.ts +14 -9
- package/cms/monitorGroupInstances.js +11 -6
- package/cms/monitorGroupInstances.js.map +1 -1
- package/cms/namespace.d.ts +3 -3
- package/cms/namespace.js +3 -3
- package/cms/slsGroup.d.ts +4 -25
- package/cms/slsGroup.js +1 -22
- package/cms/slsGroup.js.map +1 -1
- package/cr/endpointAclPolicy.d.ts +33 -1
- package/cr/endpointAclPolicy.js +33 -1
- package/cr/endpointAclPolicy.js.map +1 -1
- package/cs/autoscalingConfig.d.ts +4 -23
- package/cs/autoscalingConfig.js +4 -23
- package/cs/autoscalingConfig.js.map +1 -1
- package/cs/edgeKubernetes.d.ts +147 -16
- package/cs/edgeKubernetes.js +112 -2
- package/cs/edgeKubernetes.js.map +1 -1
- package/cs/kubernetes.d.ts +106 -70
- package/cs/kubernetes.js +3 -1
- package/cs/kubernetes.js.map +1 -1
- package/cs/kubernetesAddon.d.ts +3 -90
- package/cs/kubernetesAddon.js +3 -90
- package/cs/kubernetesAddon.js.map +1 -1
- package/cs/kubernetesAutoscaler.d.ts +3 -69
- package/cs/kubernetesAutoscaler.js +0 -60
- package/cs/kubernetesAutoscaler.js.map +1 -1
- package/cs/kubernetesPermission.d.ts +15 -3
- package/cs/kubernetesPermission.js +12 -0
- package/cs/kubernetesPermission.js.map +1 -1
- package/cs/managedKubernetes.d.ts +21 -21
- package/cs/nodePool.d.ts +32 -339
- package/cs/nodePool.js +0 -307
- package/cs/nodePool.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +29 -14
- package/cs/serverlessKubernetes.js +2 -2
- package/cs/serverlessKubernetes.js.map +1 -1
- package/databasefilesystem/autoSnapShotPolicy.d.ts +3 -3
- package/databasefilesystem/autoSnapShotPolicy.js +3 -3
- package/databasefilesystem/instance.d.ts +11 -8
- package/databasefilesystem/instance.js +8 -5
- package/databasefilesystem/instance.js.map +1 -1
- package/databasefilesystem/instanceAttachment.d.ts +33 -27
- package/databasefilesystem/instanceAttachment.js +33 -27
- package/databasefilesystem/instanceAttachment.js.map +1 -1
- package/databasefilesystem/serviceLinkedRole.d.ts +1 -1
- package/databasefilesystem/serviceLinkedRole.js +1 -1
- package/databasefilesystem/snapshot.d.ts +37 -33
- package/databasefilesystem/snapshot.js +37 -33
- package/databasefilesystem/snapshot.js.map +1 -1
- package/dcdn/domain.d.ts +8 -5
- package/dcdn/domain.js +5 -2
- package/dcdn/domain.js.map +1 -1
- package/dcdn/domainConfig.d.ts +14 -13
- package/dcdn/domainConfig.js +11 -10
- package/dcdn/domainConfig.js.map +1 -1
- package/dcdn/er.d.ts +12 -10
- package/dcdn/er.js +9 -7
- package/dcdn/er.js.map +1 -1
- package/dcdn/ipaDomain.d.ts +12 -12
- package/dcdn/ipaDomain.js +9 -9
- package/dcdn/kv.d.ts +13 -14
- package/dcdn/kv.js +7 -8
- package/dcdn/kv.js.map +1 -1
- package/dcdn/kvNamespace.d.ts +5 -3
- package/dcdn/kvNamespace.js +5 -3
- package/dcdn/kvNamespace.js.map +1 -1
- package/dcdn/wafDomain.d.ts +9 -5
- package/dcdn/wafDomain.js +9 -5
- package/dcdn/wafDomain.js.map +1 -1
- package/dcdn/wafPolicy.d.ts +4 -2
- package/dcdn/wafPolicy.js +4 -2
- package/dcdn/wafPolicy.js.map +1 -1
- package/dcdn/wafPolicyDomainAttachment.d.ts +16 -11
- package/dcdn/wafPolicyDomainAttachment.js +16 -11
- package/dcdn/wafPolicyDomainAttachment.js.map +1 -1
- package/dcdn/wafRule.d.ts +15 -13
- package/dcdn/wafRule.js +9 -7
- package/dcdn/wafRule.js.map +1 -1
- package/ddos/domainResource.d.ts +12 -0
- package/ddos/domainResource.js +2 -0
- package/ddos/domainResource.js.map +1 -1
- package/dfs/accessGroup.d.ts +5 -3
- package/dfs/accessGroup.js +5 -3
- package/dfs/accessGroup.js.map +1 -1
- package/dfs/accessRule.d.ts +1 -1
- package/dfs/accessRule.js +1 -1
- package/dfs/fileSystem.d.ts +2 -2
- package/dfs/fileSystem.js +2 -2
- package/dfs/mountPoint.d.ts +46 -1
- package/dfs/mountPoint.js +46 -1
- package/dfs/mountPoint.js.map +1 -1
- package/eci/containerGroup.d.ts +43 -40
- package/eci/containerGroup.js +3 -3
- package/eci/containerGroup.js.map +1 -1
- package/ecs/disk.d.ts +0 -3
- package/ecs/disk.js +0 -2
- package/ecs/disk.js.map +1 -1
- package/ecs/ecsDisk.d.ts +0 -3
- package/ecs/ecsDisk.js +0 -2
- package/ecs/ecsDisk.js.map +1 -1
- package/ecs/eipAssociation.d.ts +35 -28
- package/ecs/eipAssociation.js +35 -28
- package/ecs/eipAssociation.js.map +1 -1
- package/ecs/instance.d.ts +44 -56
- package/ecs/instance.js +6 -15
- package/ecs/instance.js.map +1 -1
- package/eipanycast/anycastEipAddress.d.ts +65 -18
- package/eipanycast/anycastEipAddress.js +19 -4
- package/eipanycast/anycastEipAddress.js.map +1 -1
- package/eipanycast/anycastEipAddressAttachment.d.ts +75 -34
- package/eipanycast/anycastEipAddressAttachment.js +11 -20
- package/eipanycast/anycastEipAddressAttachment.js.map +1 -1
- package/elasticsearch/instance.d.ts +70 -51
- package/elasticsearch/instance.js +10 -35
- package/elasticsearch/instance.js.map +1 -1
- package/ens/index.d.ts +3 -0
- package/ens/index.js +6 -1
- package/ens/index.js.map +1 -1
- package/ens/instance.d.ts +355 -0
- package/ens/instance.js +122 -0
- package/ens/instance.js.map +1 -0
- package/ess/suspendProcess.d.ts +1 -3
- package/ess/suspendProcess.js +1 -3
- package/ess/suspendProcess.js.map +1 -1
- package/eventbridge/rule.d.ts +5 -5
- package/eventbridge/rule.js +2 -2
- package/fc/index.d.ts +3 -0
- package/fc/index.js +6 -1
- package/fc/index.js.map +1 -1
- package/fc/v2function.d.ts +480 -0
- package/fc/v2function.js +231 -0
- package/fc/v2function.js.map +1 -0
- package/ga/accelerator.d.ts +78 -9
- package/ga/accelerator.js +29 -6
- package/ga/accelerator.js.map +1 -1
- package/ga/acceleratorSpareIpAttachment.d.ts +1 -1
- package/ga/acceleratorSpareIpAttachment.js +1 -1
- package/ga/accessLog.d.ts +1 -1
- package/ga/accessLog.js +1 -1
- package/ga/acl.d.ts +1 -1
- package/ga/acl.js +1 -1
- package/ga/aclAttachment.d.ts +1 -1
- package/ga/aclAttachment.js +1 -1
- package/ga/aclEntryAttachment.d.ts +1 -1
- package/ga/aclEntryAttachment.js +1 -1
- package/ga/additionalCertificate.d.ts +1 -1
- package/ga/additionalCertificate.js +1 -1
- package/ga/bandwidthPackage.d.ts +13 -1
- package/ga/bandwidthPackage.js +3 -1
- package/ga/bandwidthPackage.js.map +1 -1
- package/ga/bandwidthPackageAttachment.d.ts +1 -1
- package/ga/bandwidthPackageAttachment.js +1 -1
- package/ga/basicAccelerateIp.d.ts +1 -1
- package/ga/basicAccelerateIp.js +1 -1
- package/ga/basicAccelerateIpEndpointRelation.d.ts +1 -1
- package/ga/basicAccelerateIpEndpointRelation.js +1 -1
- package/ga/basicAccelerator.d.ts +37 -1
- package/ga/basicAccelerator.js +7 -1
- package/ga/basicAccelerator.js.map +1 -1
- package/ga/basicEndpoint.d.ts +1 -1
- package/ga/basicEndpoint.js +1 -1
- package/ga/basicEndpointGroup.d.ts +1 -1
- package/ga/basicEndpointGroup.js +1 -1
- package/ga/basicIpSet.d.ts +1 -1
- package/ga/basicIpSet.js +1 -1
- package/ga/customRoutingEndpoint.d.ts +1 -1
- package/ga/customRoutingEndpoint.js +1 -1
- package/ga/customRoutingEndpointGroup.d.ts +1 -1
- package/ga/customRoutingEndpointGroup.js +1 -1
- package/ga/customRoutingEndpointGroupDestination.d.ts +1 -1
- package/ga/customRoutingEndpointGroupDestination.js +1 -1
- package/ga/customRoutingEndpointTrafficPolicy.d.ts +1 -1
- package/ga/customRoutingEndpointTrafficPolicy.js +1 -1
- package/ga/domain.d.ts +1 -1
- package/ga/domain.js +1 -1
- package/ga/endpointGroup.d.ts +1 -1
- package/ga/endpointGroup.js +1 -1
- package/ga/forwardingRule.d.ts +111 -1
- package/ga/forwardingRule.js +111 -1
- package/ga/forwardingRule.js.map +1 -1
- package/ga/ipSet.d.ts +1 -1
- package/ga/ipSet.js +1 -1
- package/ga/listener.d.ts +1 -1
- package/ga/listener.js +1 -1
- package/kvstore/instance.d.ts +92 -91
- package/kvstore/instance.js +2 -0
- package/kvstore/instance.js.map +1 -1
- package/nas/dataFlow.d.ts +1 -1
- package/nas/dataFlow.js +1 -1
- package/nas/mountTarget.d.ts +28 -53
- package/nas/mountTarget.js +6 -51
- package/nas/mountTarget.js.map +1 -1
- package/oos/secretParameter.d.ts +1 -1
- package/oos/secretParameter.js +1 -1
- package/oss/bucket.d.ts +77 -27
- package/oss/bucket.js +30 -0
- package/oss/bucket.js.map +1 -1
- package/ots/secondaryIndex.d.ts +2 -2
- package/ots/secondaryIndex.js +2 -2
- package/package.json +2 -2
- package/polardb/cluster.d.ts +88 -85
- package/polardb/cluster.js +8 -51
- package/polardb/cluster.js.map +1 -1
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/ram/accessKey.d.ts +4 -2
- package/ram/accessKey.js +2 -0
- package/ram/accessKey.js.map +1 -1
- package/ram/accountAlias.d.ts +2 -0
- package/ram/accountAlias.js +2 -0
- package/ram/accountAlias.js.map +1 -1
- package/ram/accountPasswordPolicy.d.ts +3 -3
- package/ram/getAccountAliases.d.ts +0 -39
- package/ram/getAccountAliases.js +0 -30
- package/ram/getAccountAliases.js.map +1 -1
- package/ram/getGroups.d.ts +4 -0
- package/ram/getGroups.js +4 -0
- package/ram/getGroups.js.map +1 -1
- package/ram/getPolicies.d.ts +13 -0
- package/ram/getPolicies.js +4 -0
- package/ram/getPolicies.js.map +1 -1
- package/ram/getPolicyDocument.d.ts +8 -8
- package/ram/getPolicyDocument.js +6 -6
- package/ram/getRoles.d.ts +4 -0
- package/ram/getRoles.js +4 -0
- package/ram/getRoles.js.map +1 -1
- package/ram/getSamlProviders.d.ts +8 -2
- package/ram/getSamlProviders.js +2 -2
- package/ram/getSamlProviders.js.map +1 -1
- package/ram/getUsers.d.ts +4 -0
- package/ram/getUsers.js +4 -0
- package/ram/getUsers.js.map +1 -1
- package/ram/group.d.ts +2 -0
- package/ram/group.js +2 -0
- package/ram/group.js.map +1 -1
- package/ram/groupMembership.d.ts +2 -0
- package/ram/groupMembership.js +2 -0
- package/ram/groupMembership.js.map +1 -1
- package/ram/groupPolicyAttachment.d.ts +2 -0
- package/ram/groupPolicyAttachment.js +2 -0
- package/ram/groupPolicyAttachment.js.map +1 -1
- package/ram/loginProfile.d.ts +2 -0
- package/ram/loginProfile.js +2 -0
- package/ram/loginProfile.js.map +1 -1
- package/ram/policy.d.ts +14 -12
- package/ram/policy.js +2 -0
- package/ram/policy.js.map +1 -1
- package/ram/role.d.ts +11 -9
- package/ram/role.js +2 -0
- package/ram/role.js.map +1 -1
- package/ram/roleAttachment.d.ts +2 -0
- package/ram/roleAttachment.js +2 -0
- package/ram/roleAttachment.js.map +1 -1
- package/ram/rolePolicyAttachment.d.ts +2 -0
- package/ram/rolePolicyAttachment.js +2 -0
- package/ram/rolePolicyAttachment.js.map +1 -1
- package/ram/samlProvider.d.ts +2 -2
- package/ram/samlProvider.js +2 -2
- package/ram/securityPreference.d.ts +1 -1
- package/ram/securityPreference.js +1 -1
- package/ram/user.d.ts +2 -0
- package/ram/user.js +2 -0
- package/ram/user.js.map +1 -1
- package/ram/userPolicyAttachment.d.ts +2 -0
- package/ram/userPolicyAttachment.js +2 -0
- package/ram/userPolicyAttachment.js.map +1 -1
- package/rds/accountPrivilege.d.ts +11 -11
- package/rds/accountPrivilege.js +11 -8
- package/rds/accountPrivilege.js.map +1 -1
- package/rds/backupPolicy.d.ts +7 -5
- package/rds/backupPolicy.js +7 -5
- package/rds/backupPolicy.js.map +1 -1
- package/rds/connection.d.ts +10 -9
- package/rds/connection.js +10 -9
- package/rds/connection.js.map +1 -1
- package/rds/database.d.ts +16 -14
- package/rds/database.js +13 -8
- package/rds/database.js.map +1 -1
- package/rds/dbInstanceEndpoint.d.ts +69 -2
- package/rds/dbInstanceEndpoint.js +69 -2
- package/rds/dbInstanceEndpoint.js.map +1 -1
- package/rds/dbInstanceEndpointAddress.d.ts +2 -2
- package/rds/dbInstanceEndpointAddress.js +2 -2
- package/rds/dbNode.d.ts +22 -14
- package/rds/dbNode.js +22 -14
- package/rds/dbNode.js.map +1 -1
- package/rds/instance.d.ts +15 -3
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/rds/rdsAccount.d.ts +18 -13
- package/rds/rdsAccount.js +18 -13
- package/rds/rdsAccount.js.map +1 -1
- package/rds/rdsBackup.d.ts +2 -2
- package/rds/rdsBackup.js +2 -2
- package/rds/rdsDbProxy.d.ts +13 -11
- package/rds/rdsDbProxy.js +13 -11
- package/rds/rdsDbProxy.js.map +1 -1
- package/rds/rdsInstanceCrossBackupPolicy.d.ts +24 -13
- package/rds/rdsInstanceCrossBackupPolicy.js +24 -13
- package/rds/rdsInstanceCrossBackupPolicy.js.map +1 -1
- package/rds/rdsParameterGroup.d.ts +5 -3
- package/rds/rdsParameterGroup.js +5 -3
- package/rds/rdsParameterGroup.js.map +1 -1
- package/rds/rdsServiceLinkedRole.d.ts +1 -1
- package/rds/rdsServiceLinkedRole.js +1 -1
- package/rds/readOnlyInstance.d.ts +25 -20
- package/rds/readOnlyInstance.js +25 -20
- package/rds/readOnlyInstance.js.map +1 -1
- package/rds/readWriteSplittingConnection.d.ts +25 -22
- package/rds/readWriteSplittingConnection.js +25 -22
- package/rds/readWriteSplittingConnection.js.map +1 -1
- package/resourcemanager/controlPolicyAttachment.d.ts +7 -9
- package/resourcemanager/controlPolicyAttachment.js +7 -9
- package/resourcemanager/controlPolicyAttachment.js.map +1 -1
- package/resourcemanager/sharedResource.d.ts +7 -7
- package/resourcemanager/sharedResource.js +2 -2
- package/sddp/dataLimit.d.ts +1 -1
- package/sddp/dataLimit.js +1 -1
- package/types/input.d.ts +521 -185
- package/types/output.d.ts +524 -185
- package/vpc/gatewayEndpoint.d.ts +183 -0
- package/vpc/gatewayEndpoint.js +112 -0
- package/vpc/gatewayEndpoint.js.map +1 -0
- package/vpc/gatewayEndpointRouteTableAttachment.d.ts +111 -0
- package/vpc/gatewayEndpointRouteTableAttachment.js +102 -0
- package/vpc/gatewayEndpointRouteTableAttachment.js.map +1 -0
- package/vpc/index.d.ts +6 -0
- package/vpc/index.js +13 -3
- package/vpc/index.js.map +1 -1
- package/vpc/natGateway.d.ts +2 -2
- package/vpc/snatEntry.d.ts +46 -2
- package/vpc/snatEntry.js +44 -0
- package/vpc/snatEntry.js.map +1 -1
- package/vpc/subnet.d.ts +1 -1
- package/vpc/switch.d.ts +3 -1
- package/vpc/switch.js +2 -0
- package/vpc/switch.js.map +1 -1
- package/vpc/vbrHa.d.ts +1 -49
- package/vpc/vbrHa.js +1 -49
- package/vpc/vbrHa.js.map +1 -1
- package/vpn/gatewayVpnAttachment.d.ts +17 -20
- package/vpn/gatewayVpnAttachment.js +5 -8
- package/vpn/gatewayVpnAttachment.js.map +1 -1
package/cfg/remediation.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a Config Remediation resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about Config Remediation and how to use it, see [What is Remediation](https://www.alibabacloud.com/help/en/).
|
|
5
|
+
* For information about Config Remediation and how to use it, see [What is Remediation](https://www.alibabacloud.com/help/en/cloud-config/latest/api-config-2020-09-07-createremediation).
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE:** Available
|
|
7
|
+
* > **NOTE:** Available since v1.204.0.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
@@ -14,12 +14,36 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as alicloud from "@pulumi/alicloud";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* const config = new pulumi.Config();
|
|
18
|
+
* const name = config.get("name") || "tf-example-oss";
|
|
19
|
+
* const defaultRegions = alicloud.getRegions({
|
|
20
|
+
* current: true,
|
|
21
|
+
* });
|
|
22
|
+
* const defaultBucket = new alicloud.oss.Bucket("defaultBucket", {
|
|
23
|
+
* bucket: name,
|
|
24
|
+
* acl: "public-read",
|
|
25
|
+
* tags: {
|
|
26
|
+
* For: "example",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const defaultRule = new alicloud.cfg.Rule("defaultRule", {
|
|
30
|
+
* description: "If the ACL policy of the OSS bucket denies read access from the Internet, the configuration is considered compliant.",
|
|
31
|
+
* sourceOwner: "ALIYUN",
|
|
32
|
+
* sourceIdentifier: "oss-bucket-public-read-prohibited",
|
|
33
|
+
* riskLevel: 1,
|
|
34
|
+
* tagKeyScope: "For",
|
|
35
|
+
* tagValueScope: "example",
|
|
36
|
+
* regionIdsScope: defaultRegions.then(defaultRegions => defaultRegions.regions?.[0]?.id),
|
|
37
|
+
* configRuleTriggerTypes: "ConfigurationItemChangeNotification",
|
|
38
|
+
* resourceTypesScopes: ["ACS::OSS::Bucket"],
|
|
39
|
+
* ruleName: "oss-bucket-public-read-prohibited",
|
|
40
|
+
* });
|
|
41
|
+
* const defaultRemediation = new alicloud.cfg.Remediation("defaultRemediation", {
|
|
42
|
+
* configRuleId: defaultRule.configRuleId,
|
|
43
|
+
* remediationTemplateId: "ACS-OSS-PutBucketAcl",
|
|
20
44
|
* remediationSourceType: "ALIYUN",
|
|
21
45
|
* invokeType: "MANUAL_EXECUTION",
|
|
22
|
-
* params:
|
|
46
|
+
* params: pulumi.all([defaultBucket.bucket, defaultRegions]).apply(([bucket, defaultRegions]) => `{"bucketName": "${bucket}", "regionId": "${defaultRegions.regions?.[0]?.id}", "permissionName": "private"}`),
|
|
23
47
|
* remediationType: "OOS",
|
|
24
48
|
* });
|
|
25
49
|
* ```
|
package/cfg/remediation.js
CHANGED
|
@@ -8,9 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Config Remediation resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Config Remediation and how to use it, see [What is Remediation](https://www.alibabacloud.com/help/en/).
|
|
11
|
+
* For information about Config Remediation and how to use it, see [What is Remediation](https://www.alibabacloud.com/help/en/cloud-config/latest/api-config-2020-09-07-createremediation).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.204.0.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
@@ -20,12 +20,36 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
21
|
* import * as alicloud from "@pulumi/alicloud";
|
|
22
22
|
*
|
|
23
|
-
* const
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* const config = new pulumi.Config();
|
|
24
|
+
* const name = config.get("name") || "tf-example-oss";
|
|
25
|
+
* const defaultRegions = alicloud.getRegions({
|
|
26
|
+
* current: true,
|
|
27
|
+
* });
|
|
28
|
+
* const defaultBucket = new alicloud.oss.Bucket("defaultBucket", {
|
|
29
|
+
* bucket: name,
|
|
30
|
+
* acl: "public-read",
|
|
31
|
+
* tags: {
|
|
32
|
+
* For: "example",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* const defaultRule = new alicloud.cfg.Rule("defaultRule", {
|
|
36
|
+
* description: "If the ACL policy of the OSS bucket denies read access from the Internet, the configuration is considered compliant.",
|
|
37
|
+
* sourceOwner: "ALIYUN",
|
|
38
|
+
* sourceIdentifier: "oss-bucket-public-read-prohibited",
|
|
39
|
+
* riskLevel: 1,
|
|
40
|
+
* tagKeyScope: "For",
|
|
41
|
+
* tagValueScope: "example",
|
|
42
|
+
* regionIdsScope: defaultRegions.then(defaultRegions => defaultRegions.regions?.[0]?.id),
|
|
43
|
+
* configRuleTriggerTypes: "ConfigurationItemChangeNotification",
|
|
44
|
+
* resourceTypesScopes: ["ACS::OSS::Bucket"],
|
|
45
|
+
* ruleName: "oss-bucket-public-read-prohibited",
|
|
46
|
+
* });
|
|
47
|
+
* const defaultRemediation = new alicloud.cfg.Remediation("defaultRemediation", {
|
|
48
|
+
* configRuleId: defaultRule.configRuleId,
|
|
49
|
+
* remediationTemplateId: "ACS-OSS-PutBucketAcl",
|
|
26
50
|
* remediationSourceType: "ALIYUN",
|
|
27
51
|
* invokeType: "MANUAL_EXECUTION",
|
|
28
|
-
* params:
|
|
52
|
+
* params: pulumi.all([defaultBucket.bucket, defaultRegions]).apply(([bucket, defaultRegions]) => `{"bucketName": "${bucket}", "regionId": "${defaultRegions.regions?.[0]?.id}", "permissionName": "private"}`),
|
|
29
53
|
* remediationType: "OOS",
|
|
30
54
|
* });
|
|
31
55
|
* ```
|
package/cfg/remediation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remediation.js","sourceRoot":"","sources":["../../cfg/remediation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"remediation.js","sourceRoot":"","sources":["../../cfg/remediation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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AAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;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;;AA1GL,kCA2GC;AA7FG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/cfg/rule.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Config Rule resource.
|
|
6
6
|
*
|
|
7
|
-
* For information about Config Rule and how to use it, see [What is Rule](https://www.alibabacloud.com/help/en/).
|
|
7
|
+
* For information about Config Rule and how to use it, see [What is Rule](https://www.alibabacloud.com/help/en/cloud-config/latest/api-config-2020-09-07-createconfigrule).
|
|
8
8
|
*
|
|
9
|
-
* > **NOTE:** Available
|
|
9
|
+
* > **NOTE:** Available since v1.204.0.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -16,23 +16,26 @@ import * as outputs from "../types/output";
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
19
|
+
* const defaultResourceGroups = alicloud.resourcemanager.getResourceGroups({
|
|
20
|
+
* status: "OK",
|
|
21
|
+
* });
|
|
22
|
+
* const defaultRule = new alicloud.cfg.Rule("defaultRule", {
|
|
23
|
+
* description: "If the resource matches one of the specified tag key-value pairs, the configuration is considered compliant.",
|
|
24
|
+
* sourceOwner: "ALIYUN",
|
|
25
|
+
* sourceIdentifier: "contains-tag",
|
|
26
|
+
* riskLevel: 1,
|
|
27
|
+
* tagValueScope: "example-value",
|
|
28
|
+
* tagKeyScope: "example-key",
|
|
29
|
+
* excludeResourceIdsScope: "example-resource_id",
|
|
30
|
+
* regionIdsScope: "cn-hangzhou",
|
|
20
31
|
* configRuleTriggerTypes: "ConfigurationItemChangeNotification",
|
|
21
|
-
*
|
|
22
|
-
*
|
|
32
|
+
* resourceGroupIdsScope: defaultResourceGroups.then(defaultResourceGroups => defaultResourceGroups.ids?.[0]),
|
|
33
|
+
* resourceTypesScopes: ["ACS::RDS::DBInstance"],
|
|
34
|
+
* ruleName: "contains-tag",
|
|
23
35
|
* inputParameters: {
|
|
24
|
-
*
|
|
25
|
-
*
|
|
36
|
+
* key: "example",
|
|
37
|
+
* value: "example",
|
|
26
38
|
* },
|
|
27
|
-
* regionIdsScope: "cn-hangzhou",
|
|
28
|
-
* resourceGroupIdsScope: "rg-acfmvoh45rhcfly",
|
|
29
|
-
* resourceTypesScopes: ["ACS::RDS::DBInstance"],
|
|
30
|
-
* riskLevel: 1,
|
|
31
|
-
* ruleName: "tf-cicd-rule-by-required-tags",
|
|
32
|
-
* sourceIdentifier: "required-tags",
|
|
33
|
-
* sourceOwner: "ALIYUN",
|
|
34
|
-
* tagKeyScope: "test",
|
|
35
|
-
* tagValueScope: "test",
|
|
36
39
|
* });
|
|
37
40
|
* ```
|
|
38
41
|
*
|
package/cfg/rule.js
CHANGED
|
@@ -8,9 +8,9 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Config Rule resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Config Rule and how to use it, see [What is Rule](https://www.alibabacloud.com/help/en/).
|
|
11
|
+
* For information about Config Rule and how to use it, see [What is Rule](https://www.alibabacloud.com/help/en/cloud-config/latest/api-config-2020-09-07-createconfigrule).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.204.0.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
@@ -20,23 +20,26 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
21
|
* import * as alicloud from "@pulumi/alicloud";
|
|
22
22
|
*
|
|
23
|
-
* const
|
|
23
|
+
* const defaultResourceGroups = alicloud.resourcemanager.getResourceGroups({
|
|
24
|
+
* status: "OK",
|
|
25
|
+
* });
|
|
26
|
+
* const defaultRule = new alicloud.cfg.Rule("defaultRule", {
|
|
27
|
+
* description: "If the resource matches one of the specified tag key-value pairs, the configuration is considered compliant.",
|
|
28
|
+
* sourceOwner: "ALIYUN",
|
|
29
|
+
* sourceIdentifier: "contains-tag",
|
|
30
|
+
* riskLevel: 1,
|
|
31
|
+
* tagValueScope: "example-value",
|
|
32
|
+
* tagKeyScope: "example-key",
|
|
33
|
+
* excludeResourceIdsScope: "example-resource_id",
|
|
34
|
+
* regionIdsScope: "cn-hangzhou",
|
|
24
35
|
* configRuleTriggerTypes: "ConfigurationItemChangeNotification",
|
|
25
|
-
*
|
|
26
|
-
*
|
|
36
|
+
* resourceGroupIdsScope: defaultResourceGroups.then(defaultResourceGroups => defaultResourceGroups.ids?.[0]),
|
|
37
|
+
* resourceTypesScopes: ["ACS::RDS::DBInstance"],
|
|
38
|
+
* ruleName: "contains-tag",
|
|
27
39
|
* inputParameters: {
|
|
28
|
-
*
|
|
29
|
-
*
|
|
40
|
+
* key: "example",
|
|
41
|
+
* value: "example",
|
|
30
42
|
* },
|
|
31
|
-
* regionIdsScope: "cn-hangzhou",
|
|
32
|
-
* resourceGroupIdsScope: "rg-acfmvoh45rhcfly",
|
|
33
|
-
* resourceTypesScopes: ["ACS::RDS::DBInstance"],
|
|
34
|
-
* riskLevel: 1,
|
|
35
|
-
* ruleName: "tf-cicd-rule-by-required-tags",
|
|
36
|
-
* sourceIdentifier: "required-tags",
|
|
37
|
-
* sourceOwner: "ALIYUN",
|
|
38
|
-
* tagKeyScope: "test",
|
|
39
|
-
* tagValueScope: "test",
|
|
40
43
|
* });
|
|
41
44
|
* ```
|
|
42
45
|
*
|
package/cfg/rule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../cfg/rule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../cfg/rule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAA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,CAAC;YACjD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA/NL,oBAgOC;AAlNG,gBAAgB;AACO,iBAAY,GAAG,wBAAwB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** When you configure access assignment for the first time, access configuration will be automatically deployed.
|
|
8
8
|
*
|
|
9
|
-
* > **NOTE:** Available
|
|
9
|
+
* > **NOTE:** Available since v1.145.0.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Cloud SSO Only Support `cn-shanghai` And `us-west-1` Region
|
|
12
12
|
*
|
|
@@ -12,7 +12,7 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** When you configure access assignment for the first time, access configuration will be automatically deployed.
|
|
14
14
|
*
|
|
15
|
-
* > **NOTE:** Available
|
|
15
|
+
* > **NOTE:** Available since v1.145.0.
|
|
16
16
|
*
|
|
17
17
|
* > **NOTE:** Cloud SSO Only Support `cn-shanghai` And `us-west-1` Region
|
|
18
18
|
*
|
package/cms/alarm.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ import * as inputs from "../types/input";
|
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
5
|
* This resource provides a alarm rule resource and it can be used to monitor several cloud services according different metrics.
|
|
6
|
-
* Details for [alarm
|
|
6
|
+
* Details for [What is alarm](https://www.alibabacloud.com/help/en/cloudmonitor/latest/putresourcemetricrule).
|
|
7
|
+
*
|
|
8
|
+
* > **NOTE:** Available since v1.9.1.
|
|
7
9
|
*
|
|
8
10
|
* ## Example Usage
|
|
9
11
|
*
|
|
@@ -13,19 +15,53 @@ import * as outputs from "../types/output";
|
|
|
13
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
16
|
* import * as alicloud from "@pulumi/alicloud";
|
|
15
17
|
*
|
|
16
|
-
* const
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* const config = new pulumi.Config();
|
|
19
|
+
* const name = config.get("name") || "tf-example";
|
|
20
|
+
* const defaultImages = alicloud.ecs.getImages({
|
|
21
|
+
* nameRegex: "^ubuntu_[0-9]+_[0-9]+_x64*",
|
|
22
|
+
* owners: "system",
|
|
23
|
+
* });
|
|
24
|
+
* const defaultZones = alicloud.getZones({
|
|
25
|
+
* availableResourceCreation: "Instance",
|
|
26
|
+
* });
|
|
27
|
+
* const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
|
|
28
|
+
* availabilityZone: defaultZones.zones?.[0]?.id,
|
|
29
|
+
* cpuCoreCount: 1,
|
|
30
|
+
* memorySize: 2,
|
|
31
|
+
* }));
|
|
32
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
33
|
+
* vpcName: name,
|
|
34
|
+
* cidrBlock: "10.4.0.0/16",
|
|
35
|
+
* });
|
|
36
|
+
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
37
|
+
* vswitchName: name,
|
|
38
|
+
* cidrBlock: "10.4.0.0/24",
|
|
39
|
+
* vpcId: defaultNetwork.id,
|
|
40
|
+
* zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
41
|
+
* });
|
|
42
|
+
* const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("defaultSecurityGroup", {vpcId: defaultNetwork.id});
|
|
43
|
+
* const defaultInstance = new alicloud.ecs.Instance("defaultInstance", {
|
|
44
|
+
* availabilityZone: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
45
|
+
* instanceName: name,
|
|
46
|
+
* imageId: defaultImages.then(defaultImages => defaultImages.images?.[0]?.id),
|
|
47
|
+
* instanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
|
|
48
|
+
* securityGroups: [defaultSecurityGroup.id],
|
|
49
|
+
* vswitchId: defaultSwitch.id,
|
|
50
|
+
* });
|
|
51
|
+
* const defaultAlarmContactGroup = new alicloud.cms.AlarmContactGroup("defaultAlarmContactGroup", {alarmContactGroupName: name});
|
|
52
|
+
* const defaultAlarm = new alicloud.cms.Alarm("defaultAlarm", {
|
|
53
|
+
* project: "acs_ecs_dashboard",
|
|
54
|
+
* metric: "disk_writebytes",
|
|
55
|
+
* metricDimensions: pulumi.interpolate`[{"instanceId":"${defaultInstance.id}","device":"/dev/vda1"}]`,
|
|
19
56
|
* escalationsCritical: {
|
|
20
|
-
* comparisonOperator: "<=",
|
|
21
57
|
* statistics: "Average",
|
|
58
|
+
* comparisonOperator: "<=",
|
|
22
59
|
* threshold: "35",
|
|
23
60
|
* times: 2,
|
|
24
61
|
* },
|
|
25
|
-
* metricDimensions: "[{\"instanceId\":\"i-bp1247jeep0y53nu3bnk\",\"device\":\"/dev/vda1\"},{\"instanceId\":\"i-bp11gdcik8z6dl5jm84p\",\"device\":\"/dev/vdb1\"}]",
|
|
26
62
|
* period: 900,
|
|
27
|
-
*
|
|
28
|
-
*
|
|
63
|
+
* contactGroups: [defaultAlarmContactGroup.alarmContactGroupName],
|
|
64
|
+
* effectiveInterval: "06:00-20:00",
|
|
29
65
|
* });
|
|
30
66
|
* ```
|
|
31
67
|
*
|
|
@@ -80,15 +116,15 @@ export declare class Alarm extends pulumi.CustomResource {
|
|
|
80
116
|
*/
|
|
81
117
|
readonly endTime: pulumi.Output<number | undefined>;
|
|
82
118
|
/**
|
|
83
|
-
* A configuration of critical alarm
|
|
119
|
+
* A configuration of critical alarm. See `escalationsCritical` below.
|
|
84
120
|
*/
|
|
85
121
|
readonly escalationsCritical: pulumi.Output<outputs.cms.AlarmEscalationsCritical | undefined>;
|
|
86
122
|
/**
|
|
87
|
-
* A configuration of critical info
|
|
123
|
+
* A configuration of critical info. See `escalationsInfo` below.
|
|
88
124
|
*/
|
|
89
125
|
readonly escalationsInfo: pulumi.Output<outputs.cms.AlarmEscalationsInfo | undefined>;
|
|
90
126
|
/**
|
|
91
|
-
* A configuration of critical warn
|
|
127
|
+
* A configuration of critical warn. See `escalationsWarn` below.
|
|
92
128
|
*/
|
|
93
129
|
readonly escalationsWarn: pulumi.Output<outputs.cms.AlarmEscalationsWarn | undefined>;
|
|
94
130
|
/**
|
|
@@ -119,7 +155,7 @@ export declare class Alarm extends pulumi.CustomResource {
|
|
|
119
155
|
*/
|
|
120
156
|
readonly project: pulumi.Output<string>;
|
|
121
157
|
/**
|
|
122
|
-
* The Prometheus alert rule. See
|
|
158
|
+
* The Prometheus alert rule. See `prometheus` below. **Note:** This parameter is required only when you create a Prometheus alert rule for Hybrid Cloud Monitoring.
|
|
123
159
|
*/
|
|
124
160
|
readonly prometheuses: pulumi.Output<outputs.cms.AlarmPrometheus[] | undefined>;
|
|
125
161
|
/**
|
|
@@ -206,15 +242,15 @@ export interface AlarmState {
|
|
|
206
242
|
*/
|
|
207
243
|
endTime?: pulumi.Input<number>;
|
|
208
244
|
/**
|
|
209
|
-
* A configuration of critical alarm
|
|
245
|
+
* A configuration of critical alarm. See `escalationsCritical` below.
|
|
210
246
|
*/
|
|
211
247
|
escalationsCritical?: pulumi.Input<inputs.cms.AlarmEscalationsCritical>;
|
|
212
248
|
/**
|
|
213
|
-
* A configuration of critical info
|
|
249
|
+
* A configuration of critical info. See `escalationsInfo` below.
|
|
214
250
|
*/
|
|
215
251
|
escalationsInfo?: pulumi.Input<inputs.cms.AlarmEscalationsInfo>;
|
|
216
252
|
/**
|
|
217
|
-
* A configuration of critical warn
|
|
253
|
+
* A configuration of critical warn. See `escalationsWarn` below.
|
|
218
254
|
*/
|
|
219
255
|
escalationsWarn?: pulumi.Input<inputs.cms.AlarmEscalationsWarn>;
|
|
220
256
|
/**
|
|
@@ -245,7 +281,7 @@ export interface AlarmState {
|
|
|
245
281
|
*/
|
|
246
282
|
project?: pulumi.Input<string>;
|
|
247
283
|
/**
|
|
248
|
-
* The Prometheus alert rule. See
|
|
284
|
+
* The Prometheus alert rule. See `prometheus` below. **Note:** This parameter is required only when you create a Prometheus alert rule for Hybrid Cloud Monitoring.
|
|
249
285
|
*/
|
|
250
286
|
prometheuses?: pulumi.Input<pulumi.Input<inputs.cms.AlarmPrometheus>[]>;
|
|
251
287
|
/**
|
|
@@ -324,15 +360,15 @@ export interface AlarmArgs {
|
|
|
324
360
|
*/
|
|
325
361
|
endTime?: pulumi.Input<number>;
|
|
326
362
|
/**
|
|
327
|
-
* A configuration of critical alarm
|
|
363
|
+
* A configuration of critical alarm. See `escalationsCritical` below.
|
|
328
364
|
*/
|
|
329
365
|
escalationsCritical?: pulumi.Input<inputs.cms.AlarmEscalationsCritical>;
|
|
330
366
|
/**
|
|
331
|
-
* A configuration of critical info
|
|
367
|
+
* A configuration of critical info. See `escalationsInfo` below.
|
|
332
368
|
*/
|
|
333
369
|
escalationsInfo?: pulumi.Input<inputs.cms.AlarmEscalationsInfo>;
|
|
334
370
|
/**
|
|
335
|
-
* A configuration of critical warn
|
|
371
|
+
* A configuration of critical warn. See `escalationsWarn` below.
|
|
336
372
|
*/
|
|
337
373
|
escalationsWarn?: pulumi.Input<inputs.cms.AlarmEscalationsWarn>;
|
|
338
374
|
/**
|
|
@@ -363,7 +399,7 @@ export interface AlarmArgs {
|
|
|
363
399
|
*/
|
|
364
400
|
project: pulumi.Input<string>;
|
|
365
401
|
/**
|
|
366
|
-
* The Prometheus alert rule. See
|
|
402
|
+
* The Prometheus alert rule. See `prometheus` below. **Note:** This parameter is required only when you create a Prometheus alert rule for Hybrid Cloud Monitoring.
|
|
367
403
|
*/
|
|
368
404
|
prometheuses?: pulumi.Input<pulumi.Input<inputs.cms.AlarmPrometheus>[]>;
|
|
369
405
|
/**
|
package/cms/alarm.js
CHANGED
|
@@ -7,7 +7,9 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* This resource provides a alarm rule resource and it can be used to monitor several cloud services according different metrics.
|
|
10
|
-
* Details for [alarm
|
|
10
|
+
* Details for [What is alarm](https://www.alibabacloud.com/help/en/cloudmonitor/latest/putresourcemetricrule).
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** Available since v1.9.1.
|
|
11
13
|
*
|
|
12
14
|
* ## Example Usage
|
|
13
15
|
*
|
|
@@ -17,19 +19,53 @@ const utilities = require("../utilities");
|
|
|
17
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
20
|
* import * as alicloud from "@pulumi/alicloud";
|
|
19
21
|
*
|
|
20
|
-
* const
|
|
21
|
-
*
|
|
22
|
-
*
|
|
22
|
+
* const config = new pulumi.Config();
|
|
23
|
+
* const name = config.get("name") || "tf-example";
|
|
24
|
+
* const defaultImages = alicloud.ecs.getImages({
|
|
25
|
+
* nameRegex: "^ubuntu_[0-9]+_[0-9]+_x64*",
|
|
26
|
+
* owners: "system",
|
|
27
|
+
* });
|
|
28
|
+
* const defaultZones = alicloud.getZones({
|
|
29
|
+
* availableResourceCreation: "Instance",
|
|
30
|
+
* });
|
|
31
|
+
* const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
|
|
32
|
+
* availabilityZone: defaultZones.zones?.[0]?.id,
|
|
33
|
+
* cpuCoreCount: 1,
|
|
34
|
+
* memorySize: 2,
|
|
35
|
+
* }));
|
|
36
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
37
|
+
* vpcName: name,
|
|
38
|
+
* cidrBlock: "10.4.0.0/16",
|
|
39
|
+
* });
|
|
40
|
+
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
41
|
+
* vswitchName: name,
|
|
42
|
+
* cidrBlock: "10.4.0.0/24",
|
|
43
|
+
* vpcId: defaultNetwork.id,
|
|
44
|
+
* zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
45
|
+
* });
|
|
46
|
+
* const defaultSecurityGroup = new alicloud.ecs.SecurityGroup("defaultSecurityGroup", {vpcId: defaultNetwork.id});
|
|
47
|
+
* const defaultInstance = new alicloud.ecs.Instance("defaultInstance", {
|
|
48
|
+
* availabilityZone: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
49
|
+
* instanceName: name,
|
|
50
|
+
* imageId: defaultImages.then(defaultImages => defaultImages.images?.[0]?.id),
|
|
51
|
+
* instanceType: defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id),
|
|
52
|
+
* securityGroups: [defaultSecurityGroup.id],
|
|
53
|
+
* vswitchId: defaultSwitch.id,
|
|
54
|
+
* });
|
|
55
|
+
* const defaultAlarmContactGroup = new alicloud.cms.AlarmContactGroup("defaultAlarmContactGroup", {alarmContactGroupName: name});
|
|
56
|
+
* const defaultAlarm = new alicloud.cms.Alarm("defaultAlarm", {
|
|
57
|
+
* project: "acs_ecs_dashboard",
|
|
58
|
+
* metric: "disk_writebytes",
|
|
59
|
+
* metricDimensions: pulumi.interpolate`[{"instanceId":"${defaultInstance.id}","device":"/dev/vda1"}]`,
|
|
23
60
|
* escalationsCritical: {
|
|
24
|
-
* comparisonOperator: "<=",
|
|
25
61
|
* statistics: "Average",
|
|
62
|
+
* comparisonOperator: "<=",
|
|
26
63
|
* threshold: "35",
|
|
27
64
|
* times: 2,
|
|
28
65
|
* },
|
|
29
|
-
* metricDimensions: "[{\"instanceId\":\"i-bp1247jeep0y53nu3bnk\",\"device\":\"/dev/vda1\"},{\"instanceId\":\"i-bp11gdcik8z6dl5jm84p\",\"device\":\"/dev/vdb1\"}]",
|
|
30
66
|
* period: 900,
|
|
31
|
-
*
|
|
32
|
-
*
|
|
67
|
+
* contactGroups: [defaultAlarmContactGroup.alarmContactGroupName],
|
|
68
|
+
* effectiveInterval: "06:00-20:00",
|
|
33
69
|
* });
|
|
34
70
|
* ```
|
|
35
71
|
*
|
package/cms/alarm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarm.js","sourceRoot":"","sources":["../../cms/alarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"alarm.js","sourceRoot":"","sources":["../../cms/alarm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,C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ulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Creates or modifies an alarm contact. For information about alarm contact and how to use it, see [What is alarm contact](https://www.alibabacloud.com/help/en/
|
|
3
|
+
* Creates or modifies an alarm contact. For information about alarm contact and how to use it, see [What is alarm contact](https://www.alibabacloud.com/help/en/cloudmonitor/latest/putcontact).
|
|
4
4
|
*
|
|
5
|
-
* > **NOTE:** Available
|
|
5
|
+
* > **NOTE:** Available since v1.99.0.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -14,9 +14,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
*
|
|
15
15
|
* // If you use this template, you need to activate the link before you can return to the alarm contact information, otherwise diff will appear in terraform. So please confirm the activation link as soon as possible.
|
|
16
16
|
* const example = new alicloud.cms.AlarmContact("example", {
|
|
17
|
-
* alarmContactName: "
|
|
17
|
+
* alarmContactName: "terraform-example",
|
|
18
18
|
* channelsMail: "terraform@test.com",
|
|
19
|
-
* describe: "For
|
|
19
|
+
* describe: "For example",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
22
|
*
|
|
@@ -26,8 +26,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
*
|
|
27
27
|
* // If you use this template, you can ignore the diff of the alarm contact information by `lifestyle`. We recommend the above usage and activate the link in time.
|
|
28
28
|
* const example = new alicloud.cms.AlarmContact("example", {
|
|
29
|
-
* alarmContactName: "
|
|
30
|
-
* describe: "For
|
|
29
|
+
* alarmContactName: "tf-example",
|
|
30
|
+
* describe: "For example",
|
|
31
31
|
* channelsMail: "terraform@test.com",
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
package/cms/alarmContact.js
CHANGED
|
@@ -6,9 +6,9 @@ exports.AlarmContact = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Creates or modifies an alarm contact. For information about alarm contact and how to use it, see [What is alarm contact](https://www.alibabacloud.com/help/en/
|
|
9
|
+
* Creates or modifies an alarm contact. For information about alarm contact and how to use it, see [What is alarm contact](https://www.alibabacloud.com/help/en/cloudmonitor/latest/putcontact).
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:** Available
|
|
11
|
+
* > **NOTE:** Available since v1.99.0.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -20,9 +20,9 @@ const utilities = require("../utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* // If you use this template, you need to activate the link before you can return to the alarm contact information, otherwise diff will appear in terraform. So please confirm the activation link as soon as possible.
|
|
22
22
|
* const example = new alicloud.cms.AlarmContact("example", {
|
|
23
|
-
* alarmContactName: "
|
|
23
|
+
* alarmContactName: "terraform-example",
|
|
24
24
|
* channelsMail: "terraform@test.com",
|
|
25
|
-
* describe: "For
|
|
25
|
+
* describe: "For example",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
@@ -32,8 +32,8 @@ const utilities = require("../utilities");
|
|
|
32
32
|
*
|
|
33
33
|
* // If you use this template, you can ignore the diff of the alarm contact information by `lifestyle`. We recommend the above usage and activate the link in time.
|
|
34
34
|
* const example = new alicloud.cms.AlarmContact("example", {
|
|
35
|
-
* alarmContactName: "
|
|
36
|
-
* describe: "For
|
|
35
|
+
* alarmContactName: "tf-example",
|
|
36
|
+
* describe: "For example",
|
|
37
37
|
* channelsMail: "terraform@test.com",
|
|
38
38
|
* });
|
|
39
39
|
* ```
|
|
@@ -2,9 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a CMS Alarm Contact Group resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about CMS Alarm Contact Group and how to use it, see [What is Alarm Contact Group](https://www.alibabacloud.com/help/en/
|
|
5
|
+
* For information about CMS Alarm Contact Group and how to use it, see [What is Alarm Contact Group](https://www.alibabacloud.com/help/en/cloudmonitor/latest/putcontactgroup).
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE:** Available
|
|
7
|
+
* > **NOTE:** Available since v1.101.0.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as alicloud from "@pulumi/alicloud";
|
|
16
16
|
*
|
|
17
|
-
* const example = new alicloud.cms.AlarmContactGroup("example", {alarmContactGroupName: "tf-
|
|
17
|
+
* const example = new alicloud.cms.AlarmContactGroup("example", {alarmContactGroupName: "tf-example"});
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|