@pulumi/alicloud 3.6.0 → 3.8.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/alb/acl.d.ts +130 -0
- package/alb/acl.js +91 -0
- package/alb/acl.js.map +1 -0
- package/alb/getAcls.d.ts +77 -0
- package/alb/getAcls.js +48 -0
- package/alb/getAcls.js.map +1 -0
- package/alb/getHealthCheckTemplates.d.ts +64 -0
- package/alb/getHealthCheckTemplates.js +47 -0
- package/alb/getHealthCheckTemplates.js.map +1 -0
- package/alb/getListeners.d.ts +69 -0
- package/alb/getListeners.js +45 -0
- package/alb/getListeners.js.map +1 -0
- package/alb/getLoadBalancers.d.ts +111 -0
- package/alb/getLoadBalancers.js +54 -0
- package/alb/getLoadBalancers.js.map +1 -0
- package/alb/getRules.d.ts +74 -0
- package/alb/getRules.js +49 -0
- package/alb/getRules.js.map +1 -0
- package/alb/getZones.d.ts +38 -0
- package/alb/getZones.js +37 -0
- package/alb/getZones.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +220 -0
- package/alb/healthCheckTemplate.js +105 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/index.d.ts +11 -0
- package/alb/index.js +31 -0
- package/alb/index.js.map +1 -1
- package/alb/listener.d.ts +268 -0
- package/alb/listener.js +108 -0
- package/alb/listener.js.map +1 -0
- package/alb/loadBalancer.d.ts +219 -0
- package/alb/loadBalancer.js +109 -0
- package/alb/loadBalancer.js.map +1 -0
- package/alb/rule.d.ts +134 -0
- package/alb/rule.js +94 -0
- package/alb/rule.js.map +1 -0
- package/alb/serverGroup.d.ts +63 -3
- package/alb/serverGroup.js +63 -3
- package/alb/serverGroup.js.map +1 -1
- package/alikafka/instance.d.ts +4 -2
- package/alikafka/instance.js +2 -0
- package/alikafka/instance.js.map +1 -1
- package/amqp/binding.d.ts +190 -0
- package/amqp/binding.js +129 -0
- package/amqp/binding.js.map +1 -0
- package/amqp/getBindings.d.ts +50 -0
- package/amqp/getBindings.js +40 -0
- package/amqp/getBindings.js.map +1 -0
- package/amqp/index.d.ts +2 -0
- package/amqp/index.js +6 -0
- package/amqp/index.js.map +1 -1
- package/arms/dispatchRule.d.ts +187 -0
- package/arms/dispatchRule.js +144 -0
- package/arms/dispatchRule.js.map +1 -0
- package/arms/getDispatchRules.d.ts +62 -0
- package/arms/getDispatchRules.js +45 -0
- package/arms/getDispatchRules.js.map +1 -0
- package/arms/getPrometheusAlertRules.d.ts +78 -0
- package/arms/getPrometheusAlertRules.js +53 -0
- package/arms/getPrometheusAlertRules.js.map +1 -0
- package/arms/index.d.ts +4 -0
- package/arms/index.js +12 -0
- package/arms/index.js.map +1 -1
- package/arms/prometheusAlertRule.d.ts +197 -0
- package/arms/prometheusAlertRule.js +117 -0
- package/arms/prometheusAlertRule.js.map +1 -0
- package/bastionhost/getHostAccounts.d.ts +81 -0
- package/bastionhost/getHostAccounts.js +55 -0
- package/bastionhost/getHostAccounts.js.map +1 -0
- package/bastionhost/getHostGroups.d.ts +69 -0
- package/bastionhost/getHostGroups.js +51 -0
- package/bastionhost/getHostGroups.js.map +1 -0
- package/bastionhost/getHosts.d.ts +99 -0
- package/bastionhost/getHosts.js +57 -0
- package/bastionhost/getHosts.js.map +1 -0
- package/bastionhost/getInstances.d.ts +79 -0
- package/bastionhost/getInstances.js +43 -0
- package/bastionhost/getInstances.js.map +1 -0
- package/bastionhost/getUserGroups.d.ts +69 -0
- package/bastionhost/getUserGroups.js +51 -0
- package/bastionhost/getUserGroups.js.map +1 -0
- package/bastionhost/getUsers.d.ts +94 -0
- package/bastionhost/getUsers.js +56 -0
- package/bastionhost/getUsers.js.map +1 -0
- package/bastionhost/host.d.ts +206 -0
- package/bastionhost/host.js +118 -0
- package/bastionhost/host.js.map +1 -0
- package/bastionhost/hostAccount.d.ts +160 -0
- package/bastionhost/hostAccount.js +108 -0
- package/bastionhost/hostAccount.js.map +1 -0
- package/bastionhost/hostAccountUserAttachment.d.ts +139 -0
- package/bastionhost/hostAccountUserAttachment.js +123 -0
- package/bastionhost/hostAccountUserAttachment.js.map +1 -0
- package/bastionhost/hostAccountUserGroupAttachment.d.ts +135 -0
- package/bastionhost/hostAccountUserGroupAttachment.js +119 -0
- package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -0
- package/bastionhost/hostAttachment.d.ts +100 -0
- package/bastionhost/hostAttachment.js +91 -0
- package/bastionhost/hostAttachment.js.map +1 -0
- package/bastionhost/hostGroup.d.ts +109 -0
- package/bastionhost/hostGroup.js +91 -0
- package/bastionhost/hostGroup.js.map +1 -0
- package/bastionhost/hostGroupAccountUserAttachment.d.ts +143 -0
- package/bastionhost/hostGroupAccountUserAttachment.js +127 -0
- package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -0
- package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +139 -0
- package/bastionhost/hostGroupAccountUserGroupAttachment.js +123 -0
- package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -0
- package/bastionhost/index.d.ts +18 -0
- package/bastionhost/index.js +87 -0
- package/bastionhost/index.js.map +1 -0
- package/bastionhost/instance.d.ts +157 -0
- package/bastionhost/instance.js +114 -0
- package/bastionhost/instance.js.map +1 -0
- package/bastionhost/user.d.ts +281 -0
- package/bastionhost/user.js +123 -0
- package/bastionhost/user.js.map +1 -0
- package/bastionhost/userAttachment.d.ts +100 -0
- package/bastionhost/userAttachment.js +91 -0
- package/bastionhost/userAttachment.js.map +1 -0
- package/bastionhost/userGroup.d.ts +109 -0
- package/bastionhost/userGroup.js +91 -0
- package/bastionhost/userGroup.js.map +1 -0
- package/cddc/dedicatedHostGroup.d.ts +171 -0
- package/cddc/dedicatedHostGroup.js +109 -0
- package/cddc/dedicatedHostGroup.js.map +1 -0
- package/cddc/getDedicatedHostGroups.d.ts +49 -0
- package/cddc/getDedicatedHostGroups.js +41 -0
- package/cddc/getDedicatedHostGroups.js.map +1 -0
- package/cddc/index.d.ts +2 -0
- package/cddc/index.js +27 -0
- package/cddc/index.js.map +1 -0
- package/cdn/domainConfig.d.ts +21 -1
- package/cdn/domainConfig.js +9 -1
- package/cdn/domainConfig.js.map +1 -1
- package/cdn/getRealTimeLogDeliveries.d.ts +49 -0
- package/cdn/getRealTimeLogDeliveries.js +40 -0
- package/cdn/getRealTimeLogDeliveries.js.map +1 -0
- package/cdn/index.d.ts +2 -0
- package/cdn/index.js +6 -0
- package/cdn/index.js.map +1 -1
- package/cdn/realTimeLogDelivery.d.ts +123 -0
- package/cdn/realTimeLogDelivery.js +101 -0
- package/cdn/realTimeLogDelivery.js.map +1 -0
- package/clickhouse/account.d.ts +140 -0
- package/clickhouse/account.js +115 -0
- package/clickhouse/account.js.map +1 -0
- package/clickhouse/dbCluster.d.ts +270 -0
- package/clickhouse/dbCluster.js +140 -0
- package/clickhouse/dbCluster.js.map +1 -0
- package/clickhouse/getAccounts.d.ts +82 -0
- package/clickhouse/getAccounts.js +64 -0
- package/clickhouse/getAccounts.js.map +1 -0
- package/clickhouse/getDbClusters.d.ts +70 -0
- package/clickhouse/getDbClusters.js +54 -0
- package/clickhouse/getDbClusters.js.map +1 -0
- package/clickhouse/getRegions.d.ts +51 -0
- package/clickhouse/getRegions.js +43 -0
- package/clickhouse/getRegions.js.map +1 -0
- package/clickhouse/index.d.ts +5 -0
- package/clickhouse/index.js +34 -0
- package/clickhouse/index.js.map +1 -0
- package/cloudauth/faceConfig.d.ts +97 -0
- package/cloudauth/faceConfig.js +89 -0
- package/cloudauth/faceConfig.js.map +1 -0
- package/cloudauth/getFaceConfigs.d.ts +55 -0
- package/cloudauth/getFaceConfigs.js +46 -0
- package/cloudauth/getFaceConfigs.js.map +1 -0
- package/cloudauth/index.d.ts +2 -0
- package/cloudauth/index.js +27 -0
- package/cloudauth/index.js.map +1 -0
- package/cloudfirewall/controlPolicyOrder.d.ts +1 -1
- package/cloudfirewall/controlPolicyOrder.js +1 -1
- package/cloudsso/directory.d.ts +115 -0
- package/cloudsso/directory.js +86 -0
- package/cloudsso/directory.js.map +1 -0
- package/cloudsso/getDirectories.d.ts +61 -0
- package/cloudsso/getDirectories.js +48 -0
- package/cloudsso/getDirectories.js.map +1 -0
- package/cloudsso/getGroups.d.ts +71 -0
- package/cloudsso/getGroups.js +53 -0
- package/cloudsso/getGroups.js.map +1 -0
- package/cloudsso/getScimServerCredentials.d.ts +60 -0
- package/cloudsso/getScimServerCredentials.js +47 -0
- package/cloudsso/getScimServerCredentials.js.map +1 -0
- package/cloudsso/group.d.ts +97 -0
- package/cloudsso/group.js +79 -0
- package/cloudsso/group.js.map +1 -0
- package/cloudsso/index.d.ts +6 -0
- package/cloudsso/index.js +39 -0
- package/cloudsso/index.js.map +1 -0
- package/cloudsso/scimServerCredential.d.ts +85 -0
- package/cloudsso/scimServerCredential.js +74 -0
- package/cloudsso/scimServerCredential.js.map +1 -0
- package/cloudstoragegateway/gateway.d.ts +239 -0
- package/cloudstoragegateway/gateway.js +137 -0
- package/cloudstoragegateway/gateway.js.map +1 -0
- package/cloudstoragegateway/getGateways.d.ts +62 -0
- package/cloudstoragegateway/getGateways.js +44 -0
- package/cloudstoragegateway/getGateways.js.map +1 -0
- package/cloudstoragegateway/index.d.ts +2 -0
- package/cloudstoragegateway/index.js +6 -0
- package/cloudstoragegateway/index.js.map +1 -1
- package/cms/alarm.d.ts +6 -6
- package/cms/getMetricRuleTemplates.d.ts +82 -0
- package/cms/getMetricRuleTemplates.js +57 -0
- package/cms/getMetricRuleTemplates.js.map +1 -0
- package/cms/index.d.ts +2 -0
- package/cms/index.js +6 -0
- package/cms/index.js.map +1 -1
- package/cms/metricRuleTemplate.d.ts +207 -0
- package/cms/metricRuleTemplate.js +115 -0
- package/cms/metricRuleTemplate.js.map +1 -0
- package/config/vars.d.ts +6 -2
- package/config/vars.js +6 -2
- package/config/vars.js.map +1 -1
- package/cr/registryEnterpriseInstance.d.ts +42 -0
- package/cr/registryEnterpriseInstance.js +6 -0
- package/cr/registryEnterpriseInstance.js.map +1 -1
- package/cs/edgeKubernetes.d.ts +1 -1
- package/cs/getRegistryEnterpriseInstances.d.ts +5 -0
- package/cs/getRegistryEnterpriseInstances.js +1 -0
- package/cs/getRegistryEnterpriseInstances.js.map +1 -1
- package/cs/nodePool.d.ts +3 -3
- package/databasefilesystem/getInstances.d.ts +59 -0
- package/databasefilesystem/getInstances.js +46 -0
- package/databasefilesystem/getInstances.js.map +1 -0
- package/databasefilesystem/index.d.ts +2 -0
- package/databasefilesystem/index.js +27 -0
- package/databasefilesystem/index.js.map +1 -0
- package/databasefilesystem/instance.d.ts +232 -0
- package/databasefilesystem/instance.js +122 -0
- package/databasefilesystem/instance.js.map +1 -0
- package/databasegateway/gateway.d.ts +96 -0
- package/databasegateway/gateway.js +85 -0
- package/databasegateway/gateway.js.map +1 -0
- package/databasegateway/getGateways.d.ts +69 -0
- package/databasegateway/getGateways.js +48 -0
- package/databasegateway/getGateways.js.map +1 -0
- package/databasegateway/index.d.ts +2 -0
- package/databasegateway/index.js +27 -0
- package/databasegateway/index.js.map +1 -0
- package/dfs/accessGroup.d.ts +101 -0
- package/dfs/accessGroup.js +89 -0
- package/dfs/accessGroup.js.map +1 -0
- package/dfs/getAccessGroups.d.ts +62 -0
- package/dfs/getAccessGroups.js +49 -0
- package/dfs/getAccessGroups.js.map +1 -0
- package/dfs/index.d.ts +2 -0
- package/dfs/index.js +27 -0
- package/dfs/index.js.map +1 -0
- package/directmail/domain.d.ts +84 -0
- package/directmail/domain.js +83 -0
- package/directmail/domain.js.map +1 -0
- package/directmail/getDomains.d.ts +75 -0
- package/directmail/getDomains.js +54 -0
- package/directmail/getDomains.js.map +1 -0
- package/directmail/getMailAddresses.d.ts +59 -0
- package/directmail/getMailAddresses.js +43 -0
- package/directmail/getMailAddresses.js.map +1 -0
- package/directmail/index.d.ts +4 -0
- package/directmail/index.js +12 -0
- package/directmail/index.js.map +1 -1
- package/directmail/mailAddress.d.ts +126 -0
- package/directmail/mailAddress.js +98 -0
- package/directmail/mailAddress.js.map +1 -0
- package/dts/getSubscriptionJobs.d.ts +64 -0
- package/dts/getSubscriptionJobs.js +42 -0
- package/dts/getSubscriptionJobs.js.map +1 -0
- package/dts/getSynchronizationJobs.d.ts +54 -0
- package/dts/getSynchronizationJobs.js +41 -0
- package/dts/getSynchronizationJobs.js.map +1 -0
- package/dts/index.d.ts +6 -0
- package/dts/index.js +43 -0
- package/dts/index.js.map +1 -0
- package/dts/jobMonitorRule.d.ts +125 -0
- package/dts/jobMonitorRule.js +93 -0
- package/dts/jobMonitorRule.js.map +1 -0
- package/dts/subscriptionJob.d.ts +590 -0
- package/dts/subscriptionJob.js +218 -0
- package/dts/subscriptionJob.js.map +1 -0
- package/dts/synchronizationInstance.d.ts +222 -0
- package/dts/synchronizationInstance.js +123 -0
- package/dts/synchronizationInstance.js.map +1 -0
- package/dts/synchronizationJob.d.ts +548 -0
- package/dts/synchronizationJob.js +216 -0
- package/dts/synchronizationJob.js.map +1 -0
- package/eais/getInstances.d.ts +64 -0
- package/eais/getInstances.js +47 -0
- package/eais/getInstances.js.map +1 -0
- package/eais/index.d.ts +2 -0
- package/eais/index.js +27 -0
- package/eais/index.js.map +1 -0
- package/eais/instance.d.ts +119 -0
- package/eais/instance.js +84 -0
- package/eais/instance.js.map +1 -0
- package/ecs/copyImage.d.ts +3 -0
- package/ecs/copyImage.js +2 -0
- package/ecs/copyImage.js.map +1 -1
- package/ecs/image.d.ts +3 -0
- package/ecs/image.js +2 -0
- package/ecs/image.js.map +1 -1
- package/ecs/imageCopy.d.ts +3 -0
- package/ecs/imageCopy.js +2 -0
- package/ecs/imageCopy.js.map +1 -1
- package/ecs/instance.d.ts +3 -3
- package/ehpc/getJobTemplates.d.ts +48 -0
- package/ehpc/getJobTemplates.js +44 -0
- package/ehpc/getJobTemplates.js.map +1 -0
- package/ehpc/index.d.ts +2 -0
- package/ehpc/index.js +27 -0
- package/ehpc/index.js.map +1 -0
- package/ehpc/jobTemplate.d.ts +269 -0
- package/ehpc/jobTemplate.js +117 -0
- package/ehpc/jobTemplate.js.map +1 -0
- package/ens/getKeyPairs.d.ts +57 -0
- package/ens/getKeyPairs.js +42 -0
- package/ens/getKeyPairs.js.map +1 -0
- package/ens/index.d.ts +2 -0
- package/ens/index.js +27 -0
- package/ens/index.js.map +1 -0
- package/ens/keyPair.d.ts +89 -0
- package/ens/keyPair.js +87 -0
- package/ens/keyPair.js.map +1 -0
- package/ess/scalingConfiguration.d.ts +12 -0
- package/ess/scalingConfiguration.js +2 -0
- package/ess/scalingConfiguration.js.map +1 -1
- package/eventbridge/slr.d.ts +4 -4
- package/eventbridge/slr.js +1 -1
- package/expressconnect/getAccessPoints.d.ts +59 -0
- package/expressconnect/getAccessPoints.js +46 -0
- package/expressconnect/getAccessPoints.js.map +1 -0
- package/expressconnect/getPhysicalConnectionService.d.ts +43 -0
- package/expressconnect/getPhysicalConnectionService.js +38 -0
- package/expressconnect/getPhysicalConnectionService.js.map +1 -0
- package/expressconnect/getPhysicalConnections.d.ts +64 -0
- package/expressconnect/getPhysicalConnections.js +47 -0
- package/expressconnect/getPhysicalConnections.js.map +1 -0
- package/expressconnect/getVirtualBorderRouters.d.ts +46 -0
- package/expressconnect/getVirtualBorderRouters.js +29 -0
- package/expressconnect/getVirtualBorderRouters.js.map +1 -0
- package/expressconnect/index.d.ts +6 -0
- package/expressconnect/index.js +35 -0
- package/expressconnect/index.js.map +1 -0
- package/expressconnect/physicalConnection.d.ts +246 -0
- package/expressconnect/physicalConnection.js +124 -0
- package/expressconnect/physicalConnection.js.map +1 -0
- package/expressconnect/virtualBorderRouter.d.ts +303 -0
- package/expressconnect/virtualBorderRouter.js +140 -0
- package/expressconnect/virtualBorderRouter.js.map +1 -0
- package/getMscSubContacts.d.ts +52 -0
- package/getMscSubContacts.js +43 -0
- package/getMscSubContacts.js.map +1 -0
- package/getMscSubSubscriptions.d.ts +37 -0
- package/getMscSubSubscriptions.js +37 -0
- package/getMscSubSubscriptions.js.map +1 -0
- package/getZones.d.ts +0 -1
- package/gpdb/instance.d.ts +2 -2
- package/gpdb/instance.js +2 -2
- package/graphdatabase/dbInstance.d.ts +192 -0
- package/graphdatabase/dbInstance.js +128 -0
- package/graphdatabase/dbInstance.js.map +1 -0
- package/graphdatabase/getDbInstances.d.ts +69 -0
- package/graphdatabase/getDbInstances.js +53 -0
- package/graphdatabase/getDbInstances.js.map +1 -0
- package/graphdatabase/index.d.ts +2 -0
- package/graphdatabase/index.js +27 -0
- package/graphdatabase/index.js.map +1 -0
- package/hbr/ecsBackupClient.d.ts +218 -0
- package/hbr/ecsBackupClient.js +123 -0
- package/hbr/ecsBackupClient.js.map +1 -0
- package/hbr/ecsBackupPlan.d.ts +245 -0
- package/hbr/ecsBackupPlan.js +153 -0
- package/hbr/ecsBackupPlan.js.map +1 -0
- package/hbr/getBackupJobs.d.ts +47 -0
- package/hbr/getBackupJobs.js +29 -0
- package/hbr/getBackupJobs.js.map +1 -0
- package/hbr/getEcsBackupClients.d.ts +59 -0
- package/hbr/getEcsBackupClients.js +47 -0
- package/hbr/getEcsBackupClients.js.map +1 -0
- package/hbr/getEcsBackupPlans.d.ts +60 -0
- package/hbr/getEcsBackupPlans.js +43 -0
- package/hbr/getEcsBackupPlans.js.map +1 -0
- package/hbr/getNasBackupPlans.d.ts +60 -0
- package/hbr/getNasBackupPlans.js +43 -0
- package/hbr/getNasBackupPlans.js.map +1 -0
- package/hbr/getOssBackupPlans.d.ts +2 -2
- package/hbr/getRestoreJobs.d.ts +84 -0
- package/hbr/getRestoreJobs.js +50 -0
- package/hbr/getRestoreJobs.js.map +1 -0
- package/hbr/getSnapshots.d.ts +84 -0
- package/hbr/getSnapshots.js +37 -0
- package/hbr/getSnapshots.js.map +1 -0
- package/hbr/index.d.ts +10 -0
- package/hbr/index.js +26 -0
- package/hbr/index.js.map +1 -1
- package/hbr/nasBackupPlan.d.ts +232 -0
- package/hbr/nasBackupPlan.js +142 -0
- package/hbr/nasBackupPlan.js.map +1 -0
- package/hbr/ossBackupPlan.d.ts +32 -31
- package/hbr/ossBackupPlan.js +15 -5
- package/hbr/ossBackupPlan.js.map +1 -1
- package/hbr/restoreJob.d.ts +284 -0
- package/hbr/restoreJob.js +154 -0
- package/hbr/restoreJob.js.map +1 -0
- package/hbr/vault.d.ts +2 -2
- package/hbr/vault.js +2 -2
- package/imm/getProjects.d.ts +44 -0
- package/imm/getProjects.js +40 -0
- package/imm/getProjects.js.map +1 -0
- package/imm/index.d.ts +2 -0
- package/imm/index.js +27 -0
- package/imm/index.js.map +1 -0
- package/imm/project.d.ts +108 -0
- package/imm/project.js +103 -0
- package/imm/project.js.map +1 -0
- package/imp/appTemplate.d.ts +145 -0
- package/imp/appTemplate.js +100 -0
- package/imp/appTemplate.js.map +1 -0
- package/imp/getAppTemplates.d.ts +57 -0
- package/imp/getAppTemplates.js +44 -0
- package/imp/getAppTemplates.js.map +1 -0
- package/imp/index.d.ts +2 -0
- package/imp/index.js +27 -0
- package/imp/index.js.map +1 -0
- package/index.d.ts +31 -1
- package/index.js +74 -0
- package/index.js.map +1 -1
- package/iot/deviceGroup.d.ts +112 -0
- package/iot/deviceGroup.js +87 -0
- package/iot/deviceGroup.js.map +1 -0
- package/iot/getDeviceGroups.d.ts +67 -0
- package/iot/getDeviceGroups.js +43 -0
- package/iot/getDeviceGroups.js.map +1 -0
- package/iot/index.d.ts +2 -0
- package/iot/index.js +18 -0
- package/iot/index.js.map +1 -1
- package/kvstore/instance.d.ts +3 -3
- package/lindorm/getInstances.d.ts +72 -0
- package/lindorm/getInstances.js +47 -0
- package/lindorm/getInstances.js.map +1 -0
- package/lindorm/index.d.ts +2 -0
- package/lindorm/index.js +27 -0
- package/lindorm/index.js.map +1 -0
- package/lindorm/instance.d.ts +383 -0
- package/lindorm/instance.js +128 -0
- package/lindorm/instance.js.map +1 -0
- package/log/audit.d.ts +50 -0
- package/log/audit.js +40 -0
- package/log/audit.js.map +1 -1
- package/mhub/app.d.ts +153 -0
- package/mhub/app.js +104 -0
- package/mhub/app.js.map +1 -0
- package/mhub/getApps.d.ts +51 -0
- package/mhub/getApps.js +29 -0
- package/mhub/getApps.js.map +1 -0
- package/mhub/getProducts.d.ts +55 -0
- package/mhub/getProducts.js +46 -0
- package/mhub/getProducts.js.map +1 -0
- package/mhub/index.d.ts +4 -0
- package/mhub/index.js +33 -0
- package/mhub/index.js.map +1 -0
- package/mhub/product.d.ts +76 -0
- package/mhub/product.js +81 -0
- package/mhub/product.js.map +1 -0
- package/mongodb/instance.d.ts +21 -0
- package/mongodb/instance.js +2 -0
- package/mongodb/instance.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +21 -0
- package/mongodb/shardingInstance.js +2 -0
- package/mongodb/shardingInstance.js.map +1 -1
- package/mscSubContract.d.ts +113 -0
- package/mscSubContract.js +97 -0
- package/mscSubContract.js.map +1 -0
- package/mscSubSubscription.d.ts +179 -0
- package/mscSubSubscription.js +102 -0
- package/mscSubSubscription.js.map +1 -0
- package/opensearch/appGroup.d.ts +190 -0
- package/opensearch/appGroup.js +117 -0
- package/opensearch/appGroup.js.map +1 -0
- package/opensearch/getAppGroups.d.ts +84 -0
- package/opensearch/getAppGroups.js +58 -0
- package/opensearch/getAppGroups.js.map +1 -0
- package/opensearch/index.d.ts +2 -0
- package/opensearch/index.js +27 -0
- package/opensearch/index.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/polardb/endpoint.d.ts +8 -1
- package/polardb/endpoint.js +7 -1
- package/polardb/endpoint.js.map +1 -1
- package/provider.d.ts +6 -2
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/pvtz/index.d.ts +1 -0
- package/pvtz/index.js +5 -0
- package/pvtz/index.js.map +1 -1
- package/pvtz/userVpcAuthorization.d.ts +100 -0
- package/pvtz/userVpcAuthorization.js +85 -0
- package/pvtz/userVpcAuthorization.js.map +1 -0
- package/quickbi/getUsers.d.ts +54 -0
- package/quickbi/getUsers.js +42 -0
- package/quickbi/getUsers.js.map +1 -0
- package/quickbi/index.d.ts +2 -0
- package/quickbi/index.js +27 -0
- package/quickbi/index.js.map +1 -0
- package/quickbi/user.d.ts +140 -0
- package/quickbi/user.js +107 -0
- package/quickbi/user.js.map +1 -0
- package/rdc/getOrganizations.d.ts +65 -0
- package/rdc/getOrganizations.js +52 -0
- package/rdc/getOrganizations.js.map +1 -0
- package/rdc/index.d.ts +2 -0
- package/rdc/index.js +27 -0
- package/rdc/index.js.map +1 -0
- package/rdc/organization.d.ts +113 -0
- package/rdc/organization.js +91 -0
- package/rdc/organization.js.map +1 -0
- package/rds/getInstanceClasses.d.ts +8 -3
- package/rds/getInstanceClasses.js +1 -0
- package/rds/getInstanceClasses.js.map +1 -1
- package/rds/getInstanceEngines.d.ts +18 -1
- package/rds/getInstanceEngines.js +2 -0
- package/rds/getInstanceEngines.js.map +1 -1
- package/rds/getInstances.d.ts +5 -0
- package/rds/getInstances.js +1 -0
- package/rds/getInstances.js.map +1 -1
- package/rds/getZones.d.ts +28 -1
- package/rds/getZones.js +6 -0
- package/rds/getZones.js.map +1 -1
- package/rds/instance.d.ts +52 -1
- package/rds/instance.js +4 -0
- package/rds/instance.js.map +1 -1
- package/sae/application.d.ts +705 -0
- package/sae/application.js +216 -0
- package/sae/application.js.map +1 -0
- package/sae/getApplications.d.ts +116 -0
- package/sae/getApplications.js +80 -0
- package/sae/getApplications.js.map +1 -0
- package/sae/getIngresses.d.ts +40 -0
- package/sae/getIngresses.js +27 -0
- package/sae/getIngresses.js.map +1 -0
- package/sae/index.d.ts +4 -0
- package/sae/index.js +12 -0
- package/sae/index.js.map +1 -1
- package/sae/ingress.d.ts +192 -0
- package/sae/ingress.js +145 -0
- package/sae/ingress.js.map +1 -0
- package/sddp/config.d.ts +113 -0
- package/sddp/config.js +85 -0
- package/sddp/config.js.map +1 -0
- package/sddp/getConfigs.d.ts +51 -0
- package/sddp/getConfigs.js +46 -0
- package/sddp/getConfigs.js.map +1 -0
- package/sddp/getInstances.d.ts +37 -0
- package/sddp/getInstances.js +37 -0
- package/sddp/getInstances.js.map +1 -0
- package/sddp/getRules.d.ts +104 -0
- package/sddp/getRules.js +58 -0
- package/sddp/getRules.js.map +1 -0
- package/sddp/index.d.ts +6 -0
- package/sddp/index.js +39 -0
- package/sddp/index.js.map +1 -0
- package/sddp/instance.d.ts +279 -0
- package/sddp/instance.js +146 -0
- package/sddp/instance.js.map +1 -0
- package/sddp/rule.d.ts +296 -0
- package/sddp/rule.js +119 -0
- package/sddp/rule.js.map +1 -0
- package/securitycenter/getGroups.d.ts +50 -0
- package/securitycenter/getGroups.js +41 -0
- package/securitycenter/getGroups.js.map +1 -0
- package/securitycenter/group.d.ts +88 -0
- package/securitycenter/group.js +80 -0
- package/securitycenter/group.js.map +1 -0
- package/securitycenter/index.d.ts +2 -0
- package/securitycenter/index.js +27 -0
- package/securitycenter/index.js.map +1 -0
- package/servicemesh/getServiceMeshes.d.ts +66 -0
- package/servicemesh/getServiceMeshes.js +52 -0
- package/servicemesh/getServiceMeshes.js.map +1 -0
- package/servicemesh/index.d.ts +2 -0
- package/servicemesh/index.js +27 -0
- package/servicemesh/index.js.map +1 -0
- package/servicemesh/serviceMesh.d.ts +144 -0
- package/servicemesh/serviceMesh.js +82 -0
- package/servicemesh/serviceMesh.js.map +1 -0
- package/simpleapplicationserver/getImages.d.ts +33 -0
- package/simpleapplicationserver/getImages.js +23 -0
- package/simpleapplicationserver/getImages.js.map +1 -0
- package/simpleapplicationserver/getInstances.d.ts +64 -0
- package/simpleapplicationserver/getInstances.js +47 -0
- package/simpleapplicationserver/getInstances.js.map +1 -0
- package/simpleapplicationserver/getServerPlans.d.ts +73 -0
- package/simpleapplicationserver/getServerPlans.js +49 -0
- package/simpleapplicationserver/getServerPlans.js.map +1 -0
- package/simpleapplicationserver/index.d.ts +4 -0
- package/simpleapplicationserver/index.js +29 -0
- package/simpleapplicationserver/index.js.map +1 -0
- package/simpleapplicationserver/instance.d.ts +171 -0
- package/simpleapplicationserver/instance.js +92 -0
- package/simpleapplicationserver/instance.js.map +1 -0
- package/slb/getTlsCipherPolicies.d.ts +72 -0
- package/slb/getTlsCipherPolicies.js +51 -0
- package/slb/getTlsCipherPolicies.js.map +1 -0
- package/slb/index.d.ts +2 -0
- package/slb/index.js +6 -0
- package/slb/index.js.map +1 -1
- package/slb/listener.d.ts +8 -5
- package/slb/listener.js +2 -2
- package/slb/listener.js.map +1 -1
- package/slb/tlsCipherPolicy.d.ts +113 -0
- package/slb/tlsCipherPolicy.js +98 -0
- package/slb/tlsCipherPolicy.js.map +1 -0
- package/types/input.d.ts +1040 -27
- package/types/output.d.ts +15106 -8672
- package/videosurveillance/getSystemGroups.d.ts +72 -0
- package/videosurveillance/getSystemGroups.js +51 -0
- package/videosurveillance/getSystemGroups.js.map +1 -0
- package/videosurveillance/index.d.ts +2 -0
- package/videosurveillance/index.js +18 -0
- package/videosurveillance/index.js.map +1 -1
- package/videosurveillance/systemGroup.d.ts +220 -0
- package/videosurveillance/systemGroup.js +125 -0
- package/videosurveillance/systemGroup.js.map +1 -0
- package/vod/domain.d.ts +231 -0
- package/vod/domain.js +122 -0
- package/vod/domain.js.map +1 -0
- package/vod/getDomains.d.ts +92 -0
- package/vod/getDomains.js +61 -0
- package/vod/getDomains.js.map +1 -0
- package/vod/index.d.ts +2 -0
- package/vod/index.js +27 -0
- package/vod/index.js.map +1 -0
- package/vpc/dhcpOptionsSet.d.ts +156 -0
- package/vpc/dhcpOptionsSet.js +95 -0
- package/vpc/dhcpOptionsSet.js.map +1 -0
- package/vpc/getDhcpOptionsSets.d.ts +87 -0
- package/vpc/getDhcpOptionsSets.js +62 -0
- package/vpc/getDhcpOptionsSets.js.map +1 -0
- package/vpc/getNatIpCidrs.d.ts +56 -0
- package/vpc/getNatIpCidrs.js +30 -0
- package/vpc/getNatIpCidrs.js.map +1 -0
- package/vpc/getNatIps.d.ts +105 -0
- package/vpc/getNatIps.js +78 -0
- package/vpc/getNatIps.js.map +1 -0
- package/vpc/index.d.ts +6 -0
- package/vpc/index.js +18 -0
- package/vpc/index.js.map +1 -1
- package/vpc/natGateway.d.ts +23 -11
- package/vpc/natGateway.js +2 -0
- package/vpc/natGateway.js.map +1 -1
- package/vpc/natIp.d.ts +190 -0
- package/vpc/natIp.js +129 -0
- package/vpc/natIp.js.map +1 -0
- package/vpc/natIpCidr.d.ts +156 -0
- package/vpc/natIpCidr.js +115 -0
- package/vpc/natIpCidr.js.map +1 -0
- package/waf/certificate.d.ts +145 -0
- package/waf/certificate.js +103 -0
- package/waf/certificate.js.map +1 -0
- package/waf/getCertificates.d.ts +62 -0
- package/waf/getCertificates.js +44 -0
- package/waf/getCertificates.js.map +1 -0
- package/waf/index.d.ts +2 -0
- package/waf/index.js +6 -0
- package/waf/index.js.map +1 -1
- package/yundun/bastionHostInstance.d.ts +0 -89
- package/yundun/bastionHostInstance.js +0 -35
- package/yundun/bastionHostInstance.js.map +1 -1
- package/yundun/getBastionHostInstances.d.ts +0 -46
- package/yundun/getBastionHostInstances.js +0 -18
- package/yundun/getBastionHostInstances.js.map +1 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Application Real-Time Monitoring Service (ARMS) Alert Dispatch Rule resource.
|
|
5
|
+
*
|
|
6
|
+
* For information about Application Real-Time Monitoring Service (ARMS) Alert Dispatch Rule and how to use it, see [What is Alert Dispatch_Rule](https://www.alibabacloud.com/help/en/doc-detail/203146.htm).
|
|
7
|
+
*
|
|
8
|
+
* > **NOTE:** Available in v1.136.0+.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
17
|
+
*
|
|
18
|
+
* const defaultAlertContact = new alicloud.arms.AlertContact("defaultAlertContact", {
|
|
19
|
+
* alertContactName: "example_value",
|
|
20
|
+
* email: "example_value@aaa.com",
|
|
21
|
+
* });
|
|
22
|
+
* const defaultAlertContactGroup = new alicloud.arms.AlertContactGroup("defaultAlertContactGroup", {
|
|
23
|
+
* alertContactGroupName: "example_value",
|
|
24
|
+
* contactIds: [defaultAlertContact.id],
|
|
25
|
+
* });
|
|
26
|
+
* const defaultDispatchRule = new alicloud.arms.DispatchRule("defaultDispatchRule", {
|
|
27
|
+
* dispatchRuleName: "example_value",
|
|
28
|
+
* dispatchType: "CREATE_ALERT",
|
|
29
|
+
* groupRules: [{
|
|
30
|
+
* groupWaitTime: 5,
|
|
31
|
+
* groupInterval: 15,
|
|
32
|
+
* repeatInterval: 100,
|
|
33
|
+
* groupingFields: ["alertname"],
|
|
34
|
+
* }],
|
|
35
|
+
* labelMatchExpressionGrids: [{
|
|
36
|
+
* labelMatchExpressionGroups: [{
|
|
37
|
+
* labelMatchExpressions: [{
|
|
38
|
+
* key: "_aliyun_arms_involvedObject_kind",
|
|
39
|
+
* value: "app",
|
|
40
|
+
* operator: "eq",
|
|
41
|
+
* }],
|
|
42
|
+
* }],
|
|
43
|
+
* }],
|
|
44
|
+
* notifyRules: [{
|
|
45
|
+
* notifyObjects: [
|
|
46
|
+
* {
|
|
47
|
+
* notifyObjectId: defaultAlertContact.id,
|
|
48
|
+
* notifyType: "ARMS_CONTACT",
|
|
49
|
+
* name: "example_value",
|
|
50
|
+
* },
|
|
51
|
+
* {
|
|
52
|
+
* notifyObjectId: defaultAlertContactGroup.id,
|
|
53
|
+
* notifyType: "ARMS_CONTACT_GROUP",
|
|
54
|
+
* name: "example_value",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* notifyChannels: [
|
|
58
|
+
* "dingTalk",
|
|
59
|
+
* "wechat",
|
|
60
|
+
* ],
|
|
61
|
+
* }],
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ## Import
|
|
66
|
+
*
|
|
67
|
+
* Application Real-Time Monitoring Service (ARMS) Alert Contact can be imported using the id, e.g.
|
|
68
|
+
*
|
|
69
|
+
* ```sh
|
|
70
|
+
* $ pulumi import alicloud:arms/dispatchRule:DispatchRule example <id>
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare class DispatchRule extends pulumi.CustomResource {
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing DispatchRule resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DispatchRuleState, opts?: pulumi.CustomResourceOptions): DispatchRule;
|
|
84
|
+
/**
|
|
85
|
+
* Returns true if the given object is an instance of DispatchRule. This is designed to work even
|
|
86
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
87
|
+
*/
|
|
88
|
+
static isInstance(obj: any): obj is DispatchRule;
|
|
89
|
+
/**
|
|
90
|
+
* The name of the dispatch policy.
|
|
91
|
+
*/
|
|
92
|
+
readonly dispatchRuleName: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
|
|
95
|
+
*/
|
|
96
|
+
readonly dispatchType: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Sets the event group. See the following `Block groupRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.
|
|
99
|
+
*/
|
|
100
|
+
readonly groupRules: pulumi.Output<outputs.arms.DispatchRuleGroupRule[]>;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
|
|
103
|
+
*/
|
|
104
|
+
readonly isRecover: pulumi.Output<boolean | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Sets the dispatch rule. See the following `Block labelMatchExpressionGrid`.
|
|
107
|
+
*/
|
|
108
|
+
readonly labelMatchExpressionGrids: pulumi.Output<outputs.arms.DispatchRuleLabelMatchExpressionGrid[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Sets the notification rule. See the following `Block notifyRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.
|
|
111
|
+
*/
|
|
112
|
+
readonly notifyRules: pulumi.Output<outputs.arms.DispatchRuleNotifyRule[]>;
|
|
113
|
+
/**
|
|
114
|
+
* The resource status of Alert Dispatch Rule.
|
|
115
|
+
*/
|
|
116
|
+
readonly status: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Create a DispatchRule resource with the given unique name, arguments, and options.
|
|
119
|
+
*
|
|
120
|
+
* @param name The _unique_ name of the resource.
|
|
121
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
122
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
123
|
+
*/
|
|
124
|
+
constructor(name: string, args: DispatchRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Input properties used for looking up and filtering DispatchRule resources.
|
|
128
|
+
*/
|
|
129
|
+
export interface DispatchRuleState {
|
|
130
|
+
/**
|
|
131
|
+
* The name of the dispatch policy.
|
|
132
|
+
*/
|
|
133
|
+
readonly dispatchRuleName?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
|
|
136
|
+
*/
|
|
137
|
+
readonly dispatchType?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Sets the event group. See the following `Block groupRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.
|
|
140
|
+
*/
|
|
141
|
+
readonly groupRules?: pulumi.Input<pulumi.Input<inputs.arms.DispatchRuleGroupRule>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
|
|
144
|
+
*/
|
|
145
|
+
readonly isRecover?: pulumi.Input<boolean>;
|
|
146
|
+
/**
|
|
147
|
+
* Sets the dispatch rule. See the following `Block labelMatchExpressionGrid`.
|
|
148
|
+
*/
|
|
149
|
+
readonly labelMatchExpressionGrids?: pulumi.Input<pulumi.Input<inputs.arms.DispatchRuleLabelMatchExpressionGrid>[]>;
|
|
150
|
+
/**
|
|
151
|
+
* Sets the notification rule. See the following `Block notifyRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.
|
|
152
|
+
*/
|
|
153
|
+
readonly notifyRules?: pulumi.Input<pulumi.Input<inputs.arms.DispatchRuleNotifyRule>[]>;
|
|
154
|
+
/**
|
|
155
|
+
* The resource status of Alert Dispatch Rule.
|
|
156
|
+
*/
|
|
157
|
+
readonly status?: pulumi.Input<string>;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* The set of arguments for constructing a DispatchRule resource.
|
|
161
|
+
*/
|
|
162
|
+
export interface DispatchRuleArgs {
|
|
163
|
+
/**
|
|
164
|
+
* The name of the dispatch policy.
|
|
165
|
+
*/
|
|
166
|
+
readonly dispatchRuleName: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The alert handling method. Valid values: CREATE_ALERT: generates an alert. DISCARD_ALERT: discards the alert event and generates no alert.
|
|
169
|
+
*/
|
|
170
|
+
readonly dispatchType?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the event group. See the following `Block groupRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.
|
|
173
|
+
*/
|
|
174
|
+
readonly groupRules: pulumi.Input<pulumi.Input<inputs.arms.DispatchRuleGroupRule>[]>;
|
|
175
|
+
/**
|
|
176
|
+
* Specifies whether to send the restored alert. Valid values: true: sends the alert. false: does not send the alert.
|
|
177
|
+
*/
|
|
178
|
+
readonly isRecover?: pulumi.Input<boolean>;
|
|
179
|
+
/**
|
|
180
|
+
* Sets the dispatch rule. See the following `Block labelMatchExpressionGrid`.
|
|
181
|
+
*/
|
|
182
|
+
readonly labelMatchExpressionGrids: pulumi.Input<pulumi.Input<inputs.arms.DispatchRuleLabelMatchExpressionGrid>[]>;
|
|
183
|
+
/**
|
|
184
|
+
* Sets the notification rule. See the following `Block notifyRules`. It will be ignored when `dispatchType = "DISCARD_ALERT"`.
|
|
185
|
+
*/
|
|
186
|
+
readonly notifyRules: pulumi.Input<pulumi.Input<inputs.arms.DispatchRuleNotifyRule>[]>;
|
|
187
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a Application Real-Time Monitoring Service (ARMS) Alert Dispatch Rule resource.
|
|
9
|
+
*
|
|
10
|
+
* For information about Application Real-Time Monitoring Service (ARMS) Alert Dispatch Rule and how to use it, see [What is Alert Dispatch_Rule](https://www.alibabacloud.com/help/en/doc-detail/203146.htm).
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** Available in v1.136.0+.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* Basic Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
21
|
+
*
|
|
22
|
+
* const defaultAlertContact = new alicloud.arms.AlertContact("defaultAlertContact", {
|
|
23
|
+
* alertContactName: "example_value",
|
|
24
|
+
* email: "example_value@aaa.com",
|
|
25
|
+
* });
|
|
26
|
+
* const defaultAlertContactGroup = new alicloud.arms.AlertContactGroup("defaultAlertContactGroup", {
|
|
27
|
+
* alertContactGroupName: "example_value",
|
|
28
|
+
* contactIds: [defaultAlertContact.id],
|
|
29
|
+
* });
|
|
30
|
+
* const defaultDispatchRule = new alicloud.arms.DispatchRule("defaultDispatchRule", {
|
|
31
|
+
* dispatchRuleName: "example_value",
|
|
32
|
+
* dispatchType: "CREATE_ALERT",
|
|
33
|
+
* groupRules: [{
|
|
34
|
+
* groupWaitTime: 5,
|
|
35
|
+
* groupInterval: 15,
|
|
36
|
+
* repeatInterval: 100,
|
|
37
|
+
* groupingFields: ["alertname"],
|
|
38
|
+
* }],
|
|
39
|
+
* labelMatchExpressionGrids: [{
|
|
40
|
+
* labelMatchExpressionGroups: [{
|
|
41
|
+
* labelMatchExpressions: [{
|
|
42
|
+
* key: "_aliyun_arms_involvedObject_kind",
|
|
43
|
+
* value: "app",
|
|
44
|
+
* operator: "eq",
|
|
45
|
+
* }],
|
|
46
|
+
* }],
|
|
47
|
+
* }],
|
|
48
|
+
* notifyRules: [{
|
|
49
|
+
* notifyObjects: [
|
|
50
|
+
* {
|
|
51
|
+
* notifyObjectId: defaultAlertContact.id,
|
|
52
|
+
* notifyType: "ARMS_CONTACT",
|
|
53
|
+
* name: "example_value",
|
|
54
|
+
* },
|
|
55
|
+
* {
|
|
56
|
+
* notifyObjectId: defaultAlertContactGroup.id,
|
|
57
|
+
* notifyType: "ARMS_CONTACT_GROUP",
|
|
58
|
+
* name: "example_value",
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* notifyChannels: [
|
|
62
|
+
* "dingTalk",
|
|
63
|
+
* "wechat",
|
|
64
|
+
* ],
|
|
65
|
+
* }],
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* ## Import
|
|
70
|
+
*
|
|
71
|
+
* Application Real-Time Monitoring Service (ARMS) Alert Contact can be imported using the id, e.g.
|
|
72
|
+
*
|
|
73
|
+
* ```sh
|
|
74
|
+
* $ pulumi import alicloud:arms/dispatchRule:DispatchRule example <id>
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
class DispatchRule extends pulumi.CustomResource {
|
|
78
|
+
constructor(name, argsOrState, opts) {
|
|
79
|
+
let inputs = {};
|
|
80
|
+
opts = opts || {};
|
|
81
|
+
if (opts.id) {
|
|
82
|
+
const state = argsOrState;
|
|
83
|
+
inputs["dispatchRuleName"] = state ? state.dispatchRuleName : undefined;
|
|
84
|
+
inputs["dispatchType"] = state ? state.dispatchType : undefined;
|
|
85
|
+
inputs["groupRules"] = state ? state.groupRules : undefined;
|
|
86
|
+
inputs["isRecover"] = state ? state.isRecover : undefined;
|
|
87
|
+
inputs["labelMatchExpressionGrids"] = state ? state.labelMatchExpressionGrids : undefined;
|
|
88
|
+
inputs["notifyRules"] = state ? state.notifyRules : undefined;
|
|
89
|
+
inputs["status"] = state ? state.status : undefined;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
const args = argsOrState;
|
|
93
|
+
if ((!args || args.dispatchRuleName === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'dispatchRuleName'");
|
|
95
|
+
}
|
|
96
|
+
if ((!args || args.groupRules === undefined) && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'groupRules'");
|
|
98
|
+
}
|
|
99
|
+
if ((!args || args.labelMatchExpressionGrids === undefined) && !opts.urn) {
|
|
100
|
+
throw new Error("Missing required property 'labelMatchExpressionGrids'");
|
|
101
|
+
}
|
|
102
|
+
if ((!args || args.notifyRules === undefined) && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'notifyRules'");
|
|
104
|
+
}
|
|
105
|
+
inputs["dispatchRuleName"] = args ? args.dispatchRuleName : undefined;
|
|
106
|
+
inputs["dispatchType"] = args ? args.dispatchType : undefined;
|
|
107
|
+
inputs["groupRules"] = args ? args.groupRules : undefined;
|
|
108
|
+
inputs["isRecover"] = args ? args.isRecover : undefined;
|
|
109
|
+
inputs["labelMatchExpressionGrids"] = args ? args.labelMatchExpressionGrids : undefined;
|
|
110
|
+
inputs["notifyRules"] = args ? args.notifyRules : undefined;
|
|
111
|
+
inputs["status"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
if (!opts.version) {
|
|
114
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
115
|
+
}
|
|
116
|
+
super(DispatchRule.__pulumiType, name, inputs, opts);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Get an existing DispatchRule resource's state with the given name, ID, and optional extra
|
|
120
|
+
* properties used to qualify the lookup.
|
|
121
|
+
*
|
|
122
|
+
* @param name The _unique_ name of the resulting resource.
|
|
123
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
124
|
+
* @param state Any extra arguments used during the lookup.
|
|
125
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
126
|
+
*/
|
|
127
|
+
static get(name, id, state, opts) {
|
|
128
|
+
return new DispatchRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Returns true if the given object is an instance of DispatchRule. This is designed to work even
|
|
132
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
133
|
+
*/
|
|
134
|
+
static isInstance(obj) {
|
|
135
|
+
if (obj === undefined || obj === null) {
|
|
136
|
+
return false;
|
|
137
|
+
}
|
|
138
|
+
return obj['__pulumiType'] === DispatchRule.__pulumiType;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.DispatchRule = DispatchRule;
|
|
142
|
+
/** @internal */
|
|
143
|
+
DispatchRule.__pulumiType = 'alicloud:arms/dispatchRule:DispatchRule';
|
|
144
|
+
//# sourceMappingURL=dispatchRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatchRule.js","sourceRoot":"","sources":["../../arms/dispatchRule.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** Available in v1.136.0+.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
15
|
+
*
|
|
16
|
+
* const ids = alicloud.arms.getDispatchRules({});
|
|
17
|
+
* export const armsDispatchRuleId1 = ids.then(ids => ids.rules[0].id);
|
|
18
|
+
* const nameRegex = alicloud.arms.getDispatchRules({
|
|
19
|
+
* nameRegex: "^my-DispatchRule",
|
|
20
|
+
* });
|
|
21
|
+
* export const armsDispatchRuleId2 = nameRegex.then(nameRegex => nameRegex.rules[0].id);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getDispatchRules(args?: GetDispatchRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetDispatchRulesResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getDispatchRules.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetDispatchRulesArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The name of the dispatch rule.
|
|
31
|
+
*/
|
|
32
|
+
readonly dispatchRuleName?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Default to `false`. Set it to `true` can output more details about resource attributes.
|
|
35
|
+
*/
|
|
36
|
+
readonly enableDetails?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* A list of dispatch rule id.
|
|
39
|
+
*/
|
|
40
|
+
readonly ids?: string[];
|
|
41
|
+
/**
|
|
42
|
+
* A regex string to filter results by Dispatch Rule name.
|
|
43
|
+
*/
|
|
44
|
+
readonly nameRegex?: string;
|
|
45
|
+
readonly outputFile?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A collection of values returned by getDispatchRules.
|
|
49
|
+
*/
|
|
50
|
+
export interface GetDispatchRulesResult {
|
|
51
|
+
readonly dispatchRuleName?: string;
|
|
52
|
+
readonly enableDetails?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The provider-assigned unique ID for this managed resource.
|
|
55
|
+
*/
|
|
56
|
+
readonly id: string;
|
|
57
|
+
readonly ids: string[];
|
|
58
|
+
readonly nameRegex?: string;
|
|
59
|
+
readonly names: string[];
|
|
60
|
+
readonly outputFile?: string;
|
|
61
|
+
readonly rules: outputs.arms.GetDispatchRulesRule[];
|
|
62
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.
|
|
9
|
+
*
|
|
10
|
+
* > **NOTE:** Available in v1.136.0+.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* Basic Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
19
|
+
*
|
|
20
|
+
* const ids = alicloud.arms.getDispatchRules({});
|
|
21
|
+
* export const armsDispatchRuleId1 = ids.then(ids => ids.rules[0].id);
|
|
22
|
+
* const nameRegex = alicloud.arms.getDispatchRules({
|
|
23
|
+
* nameRegex: "^my-DispatchRule",
|
|
24
|
+
* });
|
|
25
|
+
* export const armsDispatchRuleId2 = nameRegex.then(nameRegex => nameRegex.rules[0].id);
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
function getDispatchRules(args, opts) {
|
|
29
|
+
args = args || {};
|
|
30
|
+
if (!opts) {
|
|
31
|
+
opts = {};
|
|
32
|
+
}
|
|
33
|
+
if (!opts.version) {
|
|
34
|
+
opts.version = utilities.getVersion();
|
|
35
|
+
}
|
|
36
|
+
return pulumi.runtime.invoke("alicloud:arms/getDispatchRules:getDispatchRules", {
|
|
37
|
+
"dispatchRuleName": args.dispatchRuleName,
|
|
38
|
+
"enableDetails": args.enableDetails,
|
|
39
|
+
"ids": args.ids,
|
|
40
|
+
"nameRegex": args.nameRegex,
|
|
41
|
+
"outputFile": args.outputFile,
|
|
42
|
+
}, opts);
|
|
43
|
+
}
|
|
44
|
+
exports.getDispatchRules = getDispatchRules;
|
|
45
|
+
//# sourceMappingURL=getDispatchRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDispatchRules.js","sourceRoot":"","sources":["../../arms/getDispatchRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,4CAgBC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides the Arms Prometheus Alert Rules of the current Alibaba Cloud user.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** Available in v1.136.0+.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
15
|
+
*
|
|
16
|
+
* const ids = alicloud.arms.getPrometheusAlertRules({
|
|
17
|
+
* clusterId: "example_value",
|
|
18
|
+
* ids: [
|
|
19
|
+
* "example_value-1",
|
|
20
|
+
* "example_value-2",
|
|
21
|
+
* ],
|
|
22
|
+
* });
|
|
23
|
+
* export const armsPrometheusAlertRuleId1 = ids.then(ids => ids.rules[0].id);
|
|
24
|
+
* const nameRegex = alicloud.arms.getPrometheusAlertRules({
|
|
25
|
+
* clusterId: "example_value",
|
|
26
|
+
* nameRegex: "^my-PrometheusAlertRule",
|
|
27
|
+
* });
|
|
28
|
+
* export const armsPrometheusAlertRuleId2 = nameRegex.then(nameRegex => nameRegex.rules[0].id);
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare function getPrometheusAlertRules(args: GetPrometheusAlertRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetPrometheusAlertRulesResult>;
|
|
32
|
+
/**
|
|
33
|
+
* A collection of arguments for invoking getPrometheusAlertRules.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetPrometheusAlertRulesArgs {
|
|
36
|
+
/**
|
|
37
|
+
* The ID of the cluster.
|
|
38
|
+
*/
|
|
39
|
+
readonly clusterId: string;
|
|
40
|
+
/**
|
|
41
|
+
* A list of Prometheus Alert Rule IDs.
|
|
42
|
+
*/
|
|
43
|
+
readonly ids?: string[];
|
|
44
|
+
readonly matchExpressions?: string;
|
|
45
|
+
/**
|
|
46
|
+
* A regex string to filter results by Prometheus Alert Rule name.
|
|
47
|
+
*/
|
|
48
|
+
readonly nameRegex?: string;
|
|
49
|
+
readonly outputFile?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The status of the resource. Valid values: `0`, `1`.
|
|
52
|
+
* * `1`: open.
|
|
53
|
+
* * `0`: off.
|
|
54
|
+
*/
|
|
55
|
+
readonly status?: number;
|
|
56
|
+
/**
|
|
57
|
+
* The type of the alert rule.
|
|
58
|
+
*/
|
|
59
|
+
readonly type?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A collection of values returned by getPrometheusAlertRules.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetPrometheusAlertRulesResult {
|
|
65
|
+
readonly clusterId: string;
|
|
66
|
+
/**
|
|
67
|
+
* The provider-assigned unique ID for this managed resource.
|
|
68
|
+
*/
|
|
69
|
+
readonly id: string;
|
|
70
|
+
readonly ids: string[];
|
|
71
|
+
readonly matchExpressions?: string;
|
|
72
|
+
readonly nameRegex?: string;
|
|
73
|
+
readonly names: string[];
|
|
74
|
+
readonly outputFile?: string;
|
|
75
|
+
readonly rules: outputs.arms.GetPrometheusAlertRulesRule[];
|
|
76
|
+
readonly status?: number;
|
|
77
|
+
readonly type?: string;
|
|
78
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* This data source provides the Arms Prometheus Alert Rules of the current Alibaba Cloud user.
|
|
9
|
+
*
|
|
10
|
+
* > **NOTE:** Available in v1.136.0+.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* Basic Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
19
|
+
*
|
|
20
|
+
* const ids = alicloud.arms.getPrometheusAlertRules({
|
|
21
|
+
* clusterId: "example_value",
|
|
22
|
+
* ids: [
|
|
23
|
+
* "example_value-1",
|
|
24
|
+
* "example_value-2",
|
|
25
|
+
* ],
|
|
26
|
+
* });
|
|
27
|
+
* export const armsPrometheusAlertRuleId1 = ids.then(ids => ids.rules[0].id);
|
|
28
|
+
* const nameRegex = alicloud.arms.getPrometheusAlertRules({
|
|
29
|
+
* clusterId: "example_value",
|
|
30
|
+
* nameRegex: "^my-PrometheusAlertRule",
|
|
31
|
+
* });
|
|
32
|
+
* export const armsPrometheusAlertRuleId2 = nameRegex.then(nameRegex => nameRegex.rules[0].id);
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
function getPrometheusAlertRules(args, opts) {
|
|
36
|
+
if (!opts) {
|
|
37
|
+
opts = {};
|
|
38
|
+
}
|
|
39
|
+
if (!opts.version) {
|
|
40
|
+
opts.version = utilities.getVersion();
|
|
41
|
+
}
|
|
42
|
+
return pulumi.runtime.invoke("alicloud:arms/getPrometheusAlertRules:getPrometheusAlertRules", {
|
|
43
|
+
"clusterId": args.clusterId,
|
|
44
|
+
"ids": args.ids,
|
|
45
|
+
"matchExpressions": args.matchExpressions,
|
|
46
|
+
"nameRegex": args.nameRegex,
|
|
47
|
+
"outputFile": args.outputFile,
|
|
48
|
+
"status": args.status,
|
|
49
|
+
"type": args.type,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getPrometheusAlertRules = getPrometheusAlertRules;
|
|
53
|
+
//# sourceMappingURL=getPrometheusAlertRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPrometheusAlertRules.js","sourceRoot":"","sources":["../../arms/getPrometheusAlertRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAjBD,0DAiBC"}
|
package/arms/index.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export * from "./alertContact";
|
|
2
2
|
export * from "./alertContactGroup";
|
|
3
|
+
export * from "./dispatchRule";
|
|
3
4
|
export * from "./getAlertContactGroups";
|
|
4
5
|
export * from "./getAlertContacts";
|
|
6
|
+
export * from "./getDispatchRules";
|
|
7
|
+
export * from "./getPrometheusAlertRules";
|
|
8
|
+
export * from "./prometheusAlertRule";
|
package/arms/index.js
CHANGED
|
@@ -10,11 +10,17 @@ const utilities = require("../utilities");
|
|
|
10
10
|
// Export members:
|
|
11
11
|
__export(require("./alertContact"));
|
|
12
12
|
__export(require("./alertContactGroup"));
|
|
13
|
+
__export(require("./dispatchRule"));
|
|
13
14
|
__export(require("./getAlertContactGroups"));
|
|
14
15
|
__export(require("./getAlertContacts"));
|
|
16
|
+
__export(require("./getDispatchRules"));
|
|
17
|
+
__export(require("./getPrometheusAlertRules"));
|
|
18
|
+
__export(require("./prometheusAlertRule"));
|
|
15
19
|
// Import resources to register:
|
|
16
20
|
const alertContact_1 = require("./alertContact");
|
|
17
21
|
const alertContactGroup_1 = require("./alertContactGroup");
|
|
22
|
+
const dispatchRule_1 = require("./dispatchRule");
|
|
23
|
+
const prometheusAlertRule_1 = require("./prometheusAlertRule");
|
|
18
24
|
const _module = {
|
|
19
25
|
version: utilities.getVersion(),
|
|
20
26
|
construct: (name, type, urn) => {
|
|
@@ -23,6 +29,10 @@ const _module = {
|
|
|
23
29
|
return new alertContact_1.AlertContact(name, undefined, { urn });
|
|
24
30
|
case "alicloud:arms/alertContactGroup:AlertContactGroup":
|
|
25
31
|
return new alertContactGroup_1.AlertContactGroup(name, undefined, { urn });
|
|
32
|
+
case "alicloud:arms/dispatchRule:DispatchRule":
|
|
33
|
+
return new dispatchRule_1.DispatchRule(name, undefined, { urn });
|
|
34
|
+
case "alicloud:arms/prometheusAlertRule:PrometheusAlertRule":
|
|
35
|
+
return new prometheusAlertRule_1.PrometheusAlertRule(name, undefined, { urn });
|
|
26
36
|
default:
|
|
27
37
|
throw new Error(`unknown resource type ${type}`);
|
|
28
38
|
}
|
|
@@ -30,4 +40,6 @@ const _module = {
|
|
|
30
40
|
};
|
|
31
41
|
pulumi.runtime.registerResourceModule("alicloud", "arms/alertContact", _module);
|
|
32
42
|
pulumi.runtime.registerResourceModule("alicloud", "arms/alertContactGroup", _module);
|
|
43
|
+
pulumi.runtime.registerResourceModule("alicloud", "arms/dispatchRule", _module);
|
|
44
|
+
pulumi.runtime.registerResourceModule("alicloud", "arms/prometheusAlertRule", _module);
|
|
33
45
|
//# sourceMappingURL=index.js.map
|
package/arms/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arms/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,oCAA+B;AAC/B,yCAAoC;AACpC,6CAAwC;AACxC,wCAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../arms/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,oCAA+B;AAC/B,yCAAoC;AACpC,oCAA+B;AAC/B,6CAAwC;AACxC,wCAAmC;AACnC,wCAAmC;AACnC,+CAA0C;AAC1C,2CAAsC;AAEtC,gCAAgC;AAChC,iDAA8C;AAC9C,2DAAwD;AACxD,iDAA8C;AAC9C,+DAA4D;AAE5D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,mDAAmD;gBACpD,OAAO,IAAI,qCAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,uDAAuD;gBACxD,OAAO,IAAI,yCAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|