@volcengine/pulumi 0.0.32 → 0.0.33
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/cen/bandwidthPackage.d.ts +15 -3
- package/cen/bandwidthPackage.js +2 -0
- package/cen/bandwidthPackage.js.map +1 -1
- package/cen/getGrantInstances.d.ts +106 -0
- package/cen/getGrantInstances.js +53 -0
- package/cen/getGrantInstances.js.map +1 -0
- package/cen/getInterRegionBandwidths.d.ts +12 -0
- package/cen/getInterRegionBandwidths.js +1 -0
- package/cen/getInterRegionBandwidths.js.map +1 -1
- package/cen/grantInstances.d.ts +108 -0
- package/cen/grantInstances.js +56 -0
- package/cen/grantInstances.js.map +1 -0
- package/cen/index.d.ts +6 -0
- package/cen/index.js +7 -1
- package/cen/index.js.map +1 -1
- package/cen/interRegionBandwidths.d.ts +12 -0
- package/cen/interRegionBandwidths.js +1 -0
- package/cen/interRegionBandwidths.js.map +1 -1
- package/cen/serviceRouteEntry.d.ts +2 -2
- package/cen/serviceRouteEntry.js +2 -2
- package/cr/getNamespaces.d.ts +9 -0
- package/cr/getNamespaces.js +1 -0
- package/cr/getNamespaces.js.map +1 -1
- package/cr/getRegistries.d.ts +9 -0
- package/cr/getRegistries.js +1 -0
- package/cr/getRegistries.js.map +1 -1
- package/cr/namespace.d.ts +12 -0
- package/cr/namespace.js +2 -0
- package/cr/namespace.js.map +1 -1
- package/cr/namespaces.d.ts +9 -0
- package/cr/namespaces.js +1 -0
- package/cr/namespaces.js.map +1 -1
- package/cr/registries.d.ts +9 -0
- package/cr/registries.js +1 -0
- package/cr/registries.js.map +1 -1
- package/cr/registry.d.ts +35 -3
- package/cr/registry.js +6 -2
- package/cr/registry.js.map +1 -1
- package/ebs/getMaxExtraPerformances.d.ts +22 -0
- package/ebs/getMaxExtraPerformances.js +22 -0
- package/ebs/getMaxExtraPerformances.js.map +1 -1
- package/ebs/maxExtraPerformances.d.ts +22 -0
- package/ebs/maxExtraPerformances.js +22 -0
- package/ebs/maxExtraPerformances.js.map +1 -1
- package/escloud_v2/escloudNodeAvailableSpecs.d.ts +73 -0
- package/escloud_v2/escloudNodeAvailableSpecs.js +46 -0
- package/escloud_v2/escloudNodeAvailableSpecs.js.map +1 -0
- package/escloud_v2/escloudZonesV2.d.ts +64 -0
- package/escloud_v2/escloudZonesV2.js +45 -0
- package/escloud_v2/escloudZonesV2.js.map +1 -0
- package/escloud_v2/getEscloudNodeAvailableSpecs.d.ts +71 -0
- package/escloud_v2/getEscloudNodeAvailableSpecs.js +43 -0
- package/escloud_v2/getEscloudNodeAvailableSpecs.js.map +1 -0
- package/escloud_v2/getEscloudZonesV2.d.ts +62 -0
- package/escloud_v2/getEscloudZonesV2.js +42 -0
- package/escloud_v2/getEscloudZonesV2.js.map +1 -0
- package/escloud_v2/index.d.ts +12 -0
- package/escloud_v2/index.js +13 -1
- package/escloud_v2/index.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +8 -1
- package/index.js.map +1 -1
- package/kafka/allowList.d.ts +98 -0
- package/kafka/allowList.js +85 -0
- package/kafka/allowList.js.map +1 -0
- package/kafka/allowListAssociate.d.ts +90 -0
- package/kafka/allowListAssociate.js +87 -0
- package/kafka/allowListAssociate.js.map +1 -0
- package/kafka/allowLists.d.ts +91 -0
- package/kafka/allowLists.js +52 -0
- package/kafka/allowLists.js.map +1 -0
- package/kafka/getAllowLists.d.ts +89 -0
- package/kafka/getAllowLists.js +49 -0
- package/kafka/getAllowLists.js.map +1 -0
- package/kafka/index.d.ts +12 -0
- package/kafka/index.js +17 -1
- package/kafka/index.js.map +1 -1
- package/kms/getKeyrings.d.ts +154 -0
- package/kms/getKeyrings.js +69 -0
- package/kms/getKeyrings.js.map +1 -0
- package/kms/getKeys.d.ts +263 -0
- package/kms/getKeys.js +106 -0
- package/kms/getKeys.js.map +1 -0
- package/kms/getSecrets.d.ts +202 -0
- package/kms/getSecrets.js +73 -0
- package/kms/getSecrets.js.map +1 -0
- package/kms/index.d.ts +36 -0
- package/kms/index.js +65 -0
- package/kms/index.js.map +1 -0
- package/kms/key.d.ts +282 -0
- package/kms/key.js +127 -0
- package/kms/key.js.map +1 -0
- package/kms/keyArchive.d.ts +119 -0
- package/kms/keyArchive.js +94 -0
- package/kms/keyArchive.js.map +1 -0
- package/kms/keyEnable.d.ts +105 -0
- package/kms/keyEnable.js +80 -0
- package/kms/keyEnable.js.map +1 -0
- package/kms/keyRotation.d.ts +105 -0
- package/kms/keyRotation.js +80 -0
- package/kms/keyRotation.js.map +1 -0
- package/kms/keyring.d.ts +139 -0
- package/kms/keyring.js +89 -0
- package/kms/keyring.js.map +1 -0
- package/kms/keyrings.d.ts +156 -0
- package/kms/keyrings.js +72 -0
- package/kms/keyrings.js.map +1 -0
- package/kms/keys.d.ts +265 -0
- package/kms/keys.js +109 -0
- package/kms/keys.js.map +1 -0
- package/kms/secret.d.ts +264 -0
- package/kms/secret.js +122 -0
- package/kms/secret.js.map +1 -0
- package/kms/secrets.d.ts +204 -0
- package/kms/secrets.js +76 -0
- package/kms/secrets.js.map +1 -0
- package/mongodb/getInstanceParameterLogs.d.ts +1 -1
- package/mongodb/instanceParameter.d.ts +1 -1
- package/mongodb/instanceParameter.js +1 -1
- package/mongodb/instanceParameterLogs.d.ts +1 -1
- package/nas/autoSnapshotPolicies.d.ts +115 -0
- package/nas/autoSnapshotPolicies.js +66 -0
- package/nas/autoSnapshotPolicies.js.map +1 -0
- package/nas/autoSnapshotPolicy.d.ts +132 -0
- package/nas/autoSnapshotPolicy.js +94 -0
- package/nas/autoSnapshotPolicy.js.map +1 -0
- package/nas/autoSnapshotPolicyApply.d.ts +101 -0
- package/nas/autoSnapshotPolicyApply.js +98 -0
- package/nas/autoSnapshotPolicyApply.js.map +1 -0
- package/nas/getAutoSnapshotPolicies.d.ts +113 -0
- package/nas/getAutoSnapshotPolicies.js +63 -0
- package/nas/getAutoSnapshotPolicies.js.map +1 -0
- package/nas/index.d.ts +12 -0
- package/nas/index.js +17 -1
- package/nas/index.js.map +1 -1
- package/package.json +1 -1
- package/private_zone/getPrivateZones.d.ts +31 -0
- package/private_zone/getPrivateZones.js +3 -0
- package/private_zone/getPrivateZones.js.map +1 -1
- package/private_zone/getRecords.d.ts +19 -4
- package/private_zone/getRecords.js +1 -0
- package/private_zone/getRecords.js.map +1 -1
- package/private_zone/getResolverEndpoints.d.ts +22 -0
- package/private_zone/getResolverEndpoints.js +2 -0
- package/private_zone/getResolverEndpoints.js.map +1 -1
- package/private_zone/getResolverRules.d.ts +22 -0
- package/private_zone/getResolverRules.js +2 -0
- package/private_zone/getResolverRules.js.map +1 -1
- package/private_zone/privateZone.d.ts +44 -0
- package/private_zone/privateZone.js +11 -0
- package/private_zone/privateZone.js.map +1 -1
- package/private_zone/privateZones.d.ts +31 -0
- package/private_zone/privateZones.js +3 -0
- package/private_zone/privateZones.js.map +1 -1
- package/private_zone/record.d.ts +24 -0
- package/private_zone/record.js +4 -0
- package/private_zone/record.js.map +1 -1
- package/private_zone/records.d.ts +19 -4
- package/private_zone/records.js +1 -0
- package/private_zone/records.js.map +1 -1
- package/private_zone/resolverEndpoint.d.ts +45 -2
- package/private_zone/resolverEndpoint.js +11 -4
- package/private_zone/resolverEndpoint.js.map +1 -1
- package/private_zone/resolverEndpoints.d.ts +22 -0
- package/private_zone/resolverEndpoints.js +2 -0
- package/private_zone/resolverEndpoints.js.map +1 -1
- package/private_zone/resolverRule.d.ts +62 -3
- package/private_zone/resolverRule.js +13 -0
- package/private_zone/resolverRule.js.map +1 -1
- package/private_zone/resolverRules.d.ts +22 -0
- package/private_zone/resolverRules.js +2 -0
- package/private_zone/resolverRules.js.map +1 -1
- package/private_zone/userVpcAuthorization.d.ts +24 -0
- package/private_zone/userVpcAuthorization.js +4 -0
- package/private_zone/userVpcAuthorization.js.map +1 -1
- package/rabbitmq/getRegions.d.ts +62 -0
- package/rabbitmq/getRegions.js +42 -0
- package/rabbitmq/getRegions.js.map +1 -0
- package/rabbitmq/getZones.d.ts +62 -0
- package/rabbitmq/getZones.js +42 -0
- package/rabbitmq/getZones.js.map +1 -0
- package/rabbitmq/index.d.ts +12 -0
- package/rabbitmq/index.js +13 -1
- package/rabbitmq/index.js.map +1 -1
- package/rabbitmq/regions.d.ts +64 -0
- package/rabbitmq/regions.js +45 -0
- package/rabbitmq/regions.js.map +1 -0
- package/rabbitmq/zones.d.ts +64 -0
- package/rabbitmq/zones.js +45 -0
- package/rabbitmq/zones.js.map +1 -0
- package/rds_mysql/account.d.ts +53 -3
- package/rds_mysql/account.js +20 -0
- package/rds_mysql/account.js.map +1 -1
- package/rds_mysql/accountTableColumnInfos.d.ts +139 -0
- package/rds_mysql/accountTableColumnInfos.js +57 -0
- package/rds_mysql/accountTableColumnInfos.js.map +1 -0
- package/rds_mysql/backupPolicy.d.ts +30 -1
- package/rds_mysql/backupPolicy.js +12 -1
- package/rds_mysql/backupPolicy.js.map +1 -1
- package/rds_mysql/backups.d.ts +2 -16
- package/rds_mysql/backups.js +2 -16
- package/rds_mysql/backups.js.map +1 -1
- package/rds_mysql/database.d.ts +13 -0
- package/rds_mysql/database.js +3 -0
- package/rds_mysql/database.js.map +1 -1
- package/rds_mysql/endpoint.d.ts +32 -34
- package/rds_mysql/endpoint.js +10 -19
- package/rds_mysql/endpoint.js.map +1 -1
- package/rds_mysql/getAccountTableColumnInfos.d.ts +137 -0
- package/rds_mysql/getAccountTableColumnInfos.js +54 -0
- package/rds_mysql/getAccountTableColumnInfos.js.map +1 -0
- package/rds_mysql/getBackups.d.ts +2 -16
- package/rds_mysql/getBackups.js +2 -16
- package/rds_mysql/getBackups.js.map +1 -1
- package/rds_mysql/getInstances.d.ts +75 -0
- package/rds_mysql/getInstances.js +7 -0
- package/rds_mysql/getInstances.js.map +1 -1
- package/rds_mysql/getPlannedEvents.d.ts +132 -0
- package/rds_mysql/getPlannedEvents.js +52 -0
- package/rds_mysql/getPlannedEvents.js.map +1 -0
- package/rds_mysql/getTasks.d.ts +175 -0
- package/rds_mysql/getTasks.js +60 -0
- package/rds_mysql/getTasks.js.map +1 -0
- package/rds_mysql/index.d.ts +18 -0
- package/rds_mysql/index.js +20 -2
- package/rds_mysql/index.js.map +1 -1
- package/rds_mysql/instance.d.ts +167 -12
- package/rds_mysql/instance.js +40 -3
- package/rds_mysql/instance.js.map +1 -1
- package/rds_mysql/instanceReadonlyNode.d.ts +8 -0
- package/rds_mysql/instanceReadonlyNode.js +2 -0
- package/rds_mysql/instanceReadonlyNode.js.map +1 -1
- package/rds_mysql/instances.d.ts +75 -0
- package/rds_mysql/instances.js +7 -0
- package/rds_mysql/instances.js.map +1 -1
- package/rds_mysql/plannedEvents.d.ts +134 -0
- package/rds_mysql/plannedEvents.js +55 -0
- package/rds_mysql/plannedEvents.js.map +1 -0
- package/rds_mysql/tasks.d.ts +177 -0
- package/rds_mysql/tasks.js +63 -0
- package/rds_mysql/tasks.js.map +1 -0
- package/redis/allowList.d.ts +24 -0
- package/redis/allowList.js +6 -0
- package/redis/allowList.js.map +1 -1
- package/redis/allowLists.d.ts +39 -0
- package/redis/allowLists.js +4 -0
- package/redis/allowLists.js.map +1 -1
- package/redis/backup.d.ts +46 -7
- package/redis/backup.js +14 -3
- package/redis/backup.js.map +1 -1
- package/redis/backupRestore.d.ts +14 -2
- package/redis/backupRestore.js +2 -3
- package/redis/backupRestore.js.map +1 -1
- package/redis/backups.d.ts +47 -5
- package/redis/backups.js +5 -0
- package/redis/backups.js.map +1 -1
- package/redis/bigKeys.d.ts +181 -0
- package/redis/bigKeys.js +110 -0
- package/redis/bigKeys.js.map +1 -0
- package/redis/getAllowLists.d.ts +39 -0
- package/redis/getAllowLists.js +4 -0
- package/redis/getAllowLists.js.map +1 -1
- package/redis/getBackups.d.ts +47 -5
- package/redis/getBackups.js +5 -0
- package/redis/getBackups.js.map +1 -1
- package/redis/getBigKeys.d.ts +179 -0
- package/redis/getBigKeys.js +107 -0
- package/redis/getBigKeys.js.map +1 -0
- package/redis/getInstanceSpecs.d.ts +76 -0
- package/redis/getInstanceSpecs.js +29 -0
- package/redis/getInstanceSpecs.js.map +1 -0
- package/redis/getInstances.d.ts +3 -0
- package/redis/getInstances.js.map +1 -1
- package/redis/getParameterGroups.d.ts +79 -0
- package/redis/getParameterGroups.js +29 -0
- package/redis/getParameterGroups.js.map +1 -0
- package/redis/getPlannedEvents.d.ts +161 -0
- package/redis/getPlannedEvents.js +106 -0
- package/redis/getPlannedEvents.js.map +1 -0
- package/redis/index.d.ts +27 -0
- package/redis/index.js +31 -1
- package/redis/index.js.map +1 -1
- package/redis/instance.d.ts +85 -1
- package/redis/instance.js +14 -0
- package/redis/instance.js.map +1 -1
- package/redis/instanceSpecs.d.ts +78 -0
- package/redis/instanceSpecs.js +32 -0
- package/redis/instanceSpecs.js.map +1 -0
- package/redis/instances.d.ts +3 -0
- package/redis/instances.js.map +1 -1
- package/redis/parameterGroup.d.ts +118 -0
- package/redis/parameterGroup.js +93 -0
- package/redis/parameterGroup.js.map +1 -0
- package/redis/parameterGroups.d.ts +81 -0
- package/redis/parameterGroups.js +32 -0
- package/redis/parameterGroups.js.map +1 -0
- package/redis/plannedEvents.d.ts +163 -0
- package/redis/plannedEvents.js +109 -0
- package/redis/plannedEvents.js.map +1 -0
- package/tls/consumerGroup.d.ts +121 -0
- package/tls/consumerGroup.js +97 -0
- package/tls/consumerGroup.js.map +1 -0
- package/tls/consumerGroups.d.ts +139 -0
- package/tls/consumerGroups.js +52 -0
- package/tls/consumerGroups.js.map +1 -0
- package/tls/etlTask.d.ts +196 -0
- package/tls/etlTask.js +123 -0
- package/tls/etlTask.js.map +1 -0
- package/tls/etlTasks.d.ts +160 -0
- package/tls/etlTasks.js +54 -0
- package/tls/etlTasks.js.map +1 -0
- package/tls/getConsumerGroups.d.ts +137 -0
- package/tls/getConsumerGroups.js +49 -0
- package/tls/getConsumerGroups.js.map +1 -0
- package/tls/getEtlTasks.d.ts +158 -0
- package/tls/getEtlTasks.js +51 -0
- package/tls/getEtlTasks.js.map +1 -0
- package/tls/getImportTasks.d.ts +173 -0
- package/tls/getImportTasks.js +52 -0
- package/tls/getImportTasks.js.map +1 -0
- package/tls/getScheduleSqlTasks.d.ts +155 -0
- package/tls/getScheduleSqlTasks.js +51 -0
- package/tls/getScheduleSqlTasks.js.map +1 -0
- package/tls/getShippers.d.ts +164 -0
- package/tls/getShippers.js +51 -0
- package/tls/getShippers.js.map +1 -0
- package/tls/importTask.d.ts +175 -0
- package/tls/importTask.js +110 -0
- package/tls/importTask.js.map +1 -0
- package/tls/importTasks.d.ts +175 -0
- package/tls/importTasks.js +55 -0
- package/tls/importTasks.js.map +1 -0
- package/tls/index.d.ts +45 -0
- package/tls/index.js +57 -2
- package/tls/index.js.map +1 -1
- package/tls/scheduleSqlTask.d.ts +219 -0
- package/tls/scheduleSqlTask.js +135 -0
- package/tls/scheduleSqlTask.js.map +1 -0
- package/tls/scheduleSqlTasks.d.ts +157 -0
- package/tls/scheduleSqlTasks.js +54 -0
- package/tls/scheduleSqlTasks.js.map +1 -0
- package/tls/shipper.d.ts +191 -0
- package/tls/shipper.js +119 -0
- package/tls/shipper.js.map +1 -0
- package/tls/shippers.d.ts +166 -0
- package/tls/shippers.js +54 -0
- package/tls/shippers.js.map +1 -0
- package/types/input.d.ts +1107 -31
- package/types/output.d.ts +8576 -1522
- package/vefaas/function.d.ts +346 -0
- package/vefaas/function.js +126 -0
- package/vefaas/function.js.map +1 -0
- package/vefaas/functions.d.ts +73 -0
- package/vefaas/functions.js +46 -0
- package/vefaas/functions.js.map +1 -0
- package/vefaas/getFunctions.d.ts +71 -0
- package/vefaas/getFunctions.js +43 -0
- package/vefaas/getFunctions.js.map +1 -0
- package/vefaas/getKafkaTriggers.d.ts +87 -0
- package/vefaas/getKafkaTriggers.js +47 -0
- package/vefaas/getKafkaTriggers.js.map +1 -0
- package/vefaas/getReleases.d.ts +106 -0
- package/vefaas/getReleases.js +49 -0
- package/vefaas/getReleases.js.map +1 -0
- package/vefaas/getTimers.d.ts +87 -0
- package/vefaas/getTimers.js +47 -0
- package/vefaas/getTimers.js.map +1 -0
- package/vefaas/index.d.ts +36 -0
- package/vefaas/index.js +61 -0
- package/vefaas/index.js.map +1 -0
- package/vefaas/kafkaTrigger.d.ts +232 -0
- package/vefaas/kafkaTrigger.js +119 -0
- package/vefaas/kafkaTrigger.js.map +1 -0
- package/vefaas/kafkaTriggers.d.ts +89 -0
- package/vefaas/kafkaTriggers.js +50 -0
- package/vefaas/kafkaTriggers.js.map +1 -0
- package/vefaas/release.d.ts +211 -0
- package/vefaas/release.js +108 -0
- package/vefaas/release.js.map +1 -0
- package/vefaas/releases.d.ts +108 -0
- package/vefaas/releases.js +52 -0
- package/vefaas/releases.js.map +1 -0
- package/vefaas/timer.d.ts +170 -0
- package/vefaas/timer.js +95 -0
- package/vefaas/timer.js.map +1 -0
- package/vefaas/timers.d.ts +89 -0
- package/vefaas/timers.js +50 -0
- package/vefaas/timers.js.map +1 -0
- package/vmp/alertingRule.d.ts +300 -0
- package/vmp/alertingRule.js +220 -0
- package/vmp/alertingRule.js.map +1 -0
- package/vmp/alertingRules.d.ts +386 -0
- package/vmp/alertingRules.js +291 -0
- package/vmp/alertingRules.js.map +1 -0
- package/vmp/alerts.d.ts +119 -0
- package/vmp/alerts.js +54 -0
- package/vmp/alerts.js.map +1 -0
- package/vmp/contact.d.ts +181 -0
- package/vmp/contact.js +102 -0
- package/vmp/contact.js.map +1 -0
- package/vmp/contactGroup.d.ts +124 -0
- package/vmp/contactGroup.js +109 -0
- package/vmp/contactGroup.js.map +1 -0
- package/vmp/contactGroups.d.ts +167 -0
- package/vmp/contactGroups.js +129 -0
- package/vmp/contactGroups.js.map +1 -0
- package/vmp/contacts.d.ts +137 -0
- package/vmp/contacts.js +88 -0
- package/vmp/contacts.js.map +1 -0
- package/vmp/getAlertingRules.d.ts +384 -0
- package/vmp/getAlertingRules.js +288 -0
- package/vmp/getAlertingRules.js.map +1 -0
- package/vmp/getAlerts.d.ts +117 -0
- package/vmp/getAlerts.js +51 -0
- package/vmp/getAlerts.js.map +1 -0
- package/vmp/getContactGroups.d.ts +165 -0
- package/vmp/getContactGroups.js +126 -0
- package/vmp/getContactGroups.js.map +1 -0
- package/vmp/getContacts.d.ts +135 -0
- package/vmp/getContacts.js +85 -0
- package/vmp/getContacts.js.map +1 -0
- package/vmp/getInstanceTypes.d.ts +75 -0
- package/vmp/getInstanceTypes.js +47 -0
- package/vmp/getInstanceTypes.js.map +1 -0
- package/vmp/getNotifyGroupPolicies.d.ts +141 -0
- package/vmp/getNotifyGroupPolicies.js +102 -0
- package/vmp/getNotifyGroupPolicies.js.map +1 -0
- package/vmp/getNotifyPolicies.d.ts +221 -0
- package/vmp/getNotifyPolicies.js +160 -0
- package/vmp/getNotifyPolicies.js.map +1 -0
- package/vmp/getNotifyTemplates.d.ts +134 -0
- package/vmp/getNotifyTemplates.js +76 -0
- package/vmp/getNotifyTemplates.js.map +1 -0
- package/vmp/getRuleFiles.d.ts +152 -0
- package/vmp/getRuleFiles.js +93 -0
- package/vmp/getRuleFiles.js.map +1 -0
- package/vmp/getRules.d.ts +131 -0
- package/vmp/getRules.js +53 -0
- package/vmp/getRules.js.map +1 -0
- package/vmp/getWorkspaces.d.ts +146 -0
- package/vmp/getWorkspaces.js +68 -0
- package/vmp/getWorkspaces.js.map +1 -0
- package/vmp/index.d.ts +90 -0
- package/vmp/index.js +124 -0
- package/vmp/index.js.map +1 -0
- package/vmp/instanceTypes.d.ts +77 -0
- package/vmp/instanceTypes.js +50 -0
- package/vmp/instanceTypes.js.map +1 -0
- package/vmp/notifyGroupPolicies.d.ts +143 -0
- package/vmp/notifyGroupPolicies.js +105 -0
- package/vmp/notifyGroupPolicies.js.map +1 -0
- package/vmp/notifyGroupPolicy.d.ts +118 -0
- package/vmp/notifyGroupPolicy.js +100 -0
- package/vmp/notifyGroupPolicy.js.map +1 -0
- package/vmp/notifyPolicies.d.ts +223 -0
- package/vmp/notifyPolicies.js +163 -0
- package/vmp/notifyPolicies.js.map +1 -0
- package/vmp/notifyPolicy.d.ts +158 -0
- package/vmp/notifyPolicy.js +130 -0
- package/vmp/notifyPolicy.js.map +1 -0
- package/vmp/notifyTemplate.d.ts +144 -0
- package/vmp/notifyTemplate.js +100 -0
- package/vmp/notifyTemplate.js.map +1 -0
- package/vmp/notifyTemplates.d.ts +136 -0
- package/vmp/notifyTemplates.js +79 -0
- package/vmp/notifyTemplates.js.map +1 -0
- package/vmp/ruleFile.d.ts +163 -0
- package/vmp/ruleFile.js +110 -0
- package/vmp/ruleFile.js.map +1 -0
- package/vmp/ruleFiles.d.ts +154 -0
- package/vmp/ruleFiles.js +96 -0
- package/vmp/ruleFiles.js.map +1 -0
- package/vmp/rules.d.ts +133 -0
- package/vmp/rules.js +56 -0
- package/vmp/rules.js.map +1 -0
- package/vmp/workspace.d.ts +212 -0
- package/vmp/workspace.js +110 -0
- package/vmp/workspace.js.map +1 -0
- package/vmp/workspaces.d.ts +148 -0
- package/vmp/workspaces.js +71 -0
- package/vmp/workspaces.js.map +1 -0
- package/vpc/routeEntry.d.ts +3 -3
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of vmp contacts
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const fooContact = new volcengine.vmp.Contact("fooContact", {
|
|
13
|
+
* email: "acctest1@tftest.com",
|
|
14
|
+
* webhook: {
|
|
15
|
+
* address: "https://www.acctest1.com",
|
|
16
|
+
* },
|
|
17
|
+
* larkBotWebhook: {
|
|
18
|
+
* address: "https://www.acctest1.com",
|
|
19
|
+
* },
|
|
20
|
+
* dingTalkBotWebhook: {
|
|
21
|
+
* address: "https://www.dingacctest1.com",
|
|
22
|
+
* atMobiles: ["18046891812"],
|
|
23
|
+
* },
|
|
24
|
+
* phoneNumber: {
|
|
25
|
+
* countryCode: "+86",
|
|
26
|
+
* number: "18310101010",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const fooContacts = volcengine.vmp.getContactsOutput({
|
|
30
|
+
* ids: [fooContact.id],
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
/** @deprecated volcengine.vmp.Contacts has been deprecated in favor of volcengine.vmp.getContacts */
|
|
35
|
+
export declare function contacts(args?: ContactsArgs, opts?: pulumi.InvokeOptions): Promise<ContactsResult>;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of arguments for invoking Contacts.
|
|
38
|
+
*/
|
|
39
|
+
export interface ContactsArgs {
|
|
40
|
+
/**
|
|
41
|
+
* The email of contact.
|
|
42
|
+
*/
|
|
43
|
+
email?: string;
|
|
44
|
+
/**
|
|
45
|
+
* A list of contact ids.
|
|
46
|
+
*/
|
|
47
|
+
ids?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* The name of contact.
|
|
50
|
+
*/
|
|
51
|
+
name?: string;
|
|
52
|
+
/**
|
|
53
|
+
* File name where to save data source results.
|
|
54
|
+
*/
|
|
55
|
+
outputFile?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A collection of values returned by Contacts.
|
|
59
|
+
*/
|
|
60
|
+
export interface ContactsResult {
|
|
61
|
+
/**
|
|
62
|
+
* The collection of query.
|
|
63
|
+
*/
|
|
64
|
+
readonly contacts: outputs.vmp.ContactsContact[];
|
|
65
|
+
/**
|
|
66
|
+
* The email of contact.
|
|
67
|
+
*/
|
|
68
|
+
readonly email?: string;
|
|
69
|
+
/**
|
|
70
|
+
* The provider-assigned unique ID for this managed resource.
|
|
71
|
+
*/
|
|
72
|
+
readonly id: string;
|
|
73
|
+
readonly ids?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* The name of contact.
|
|
76
|
+
*/
|
|
77
|
+
readonly name?: string;
|
|
78
|
+
readonly outputFile?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The total count of query.
|
|
81
|
+
*/
|
|
82
|
+
readonly totalCount: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Use this data source to query detailed information of vmp contacts
|
|
86
|
+
* ## Example Usage
|
|
87
|
+
*
|
|
88
|
+
* ```typescript
|
|
89
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
90
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
91
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
92
|
+
*
|
|
93
|
+
* const fooContact = new volcengine.vmp.Contact("fooContact", {
|
|
94
|
+
* email: "acctest1@tftest.com",
|
|
95
|
+
* webhook: {
|
|
96
|
+
* address: "https://www.acctest1.com",
|
|
97
|
+
* },
|
|
98
|
+
* larkBotWebhook: {
|
|
99
|
+
* address: "https://www.acctest1.com",
|
|
100
|
+
* },
|
|
101
|
+
* dingTalkBotWebhook: {
|
|
102
|
+
* address: "https://www.dingacctest1.com",
|
|
103
|
+
* atMobiles: ["18046891812"],
|
|
104
|
+
* },
|
|
105
|
+
* phoneNumber: {
|
|
106
|
+
* countryCode: "+86",
|
|
107
|
+
* number: "18310101010",
|
|
108
|
+
* },
|
|
109
|
+
* });
|
|
110
|
+
* const fooContacts = volcengine.vmp.getContactsOutput({
|
|
111
|
+
* ids: [fooContact.id],
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
/** @deprecated volcengine.vmp.Contacts has been deprecated in favor of volcengine.vmp.getContacts */
|
|
116
|
+
export declare function contactsOutput(args?: ContactsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ContactsResult>;
|
|
117
|
+
/**
|
|
118
|
+
* A collection of arguments for invoking Contacts.
|
|
119
|
+
*/
|
|
120
|
+
export interface ContactsOutputArgs {
|
|
121
|
+
/**
|
|
122
|
+
* The email of contact.
|
|
123
|
+
*/
|
|
124
|
+
email?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* A list of contact ids.
|
|
127
|
+
*/
|
|
128
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
129
|
+
/**
|
|
130
|
+
* The name of contact.
|
|
131
|
+
*/
|
|
132
|
+
name?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* File name where to save data source results.
|
|
135
|
+
*/
|
|
136
|
+
outputFile?: pulumi.Input<string>;
|
|
137
|
+
}
|
package/vmp/contacts.js
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
exports.contactsOutput = exports.contacts = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of vmp contacts
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooContact = new volcengine.vmp.Contact("fooContact", {
|
|
18
|
+
* email: "acctest1@tftest.com",
|
|
19
|
+
* webhook: {
|
|
20
|
+
* address: "https://www.acctest1.com",
|
|
21
|
+
* },
|
|
22
|
+
* larkBotWebhook: {
|
|
23
|
+
* address: "https://www.acctest1.com",
|
|
24
|
+
* },
|
|
25
|
+
* dingTalkBotWebhook: {
|
|
26
|
+
* address: "https://www.dingacctest1.com",
|
|
27
|
+
* atMobiles: ["18046891812"],
|
|
28
|
+
* },
|
|
29
|
+
* phoneNumber: {
|
|
30
|
+
* countryCode: "+86",
|
|
31
|
+
* number: "18310101010",
|
|
32
|
+
* },
|
|
33
|
+
* });
|
|
34
|
+
* const fooContacts = volcengine.vmp.getContactsOutput({
|
|
35
|
+
* ids: [fooContact.id],
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
/** @deprecated volcengine.vmp.Contacts has been deprecated in favor of volcengine.vmp.getContacts */
|
|
40
|
+
function contacts(args, opts) {
|
|
41
|
+
pulumi.log.warn("contacts is deprecated: volcengine.vmp.Contacts has been deprecated in favor of volcengine.vmp.getContacts");
|
|
42
|
+
args = args || {};
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invoke("volcengine:vmp/contacts:Contacts", {
|
|
45
|
+
"email": args.email,
|
|
46
|
+
"ids": args.ids,
|
|
47
|
+
"name": args.name,
|
|
48
|
+
"outputFile": args.outputFile,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.contacts = contacts;
|
|
52
|
+
/**
|
|
53
|
+
* Use this data source to query detailed information of vmp contacts
|
|
54
|
+
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
59
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
60
|
+
*
|
|
61
|
+
* const fooContact = new volcengine.vmp.Contact("fooContact", {
|
|
62
|
+
* email: "acctest1@tftest.com",
|
|
63
|
+
* webhook: {
|
|
64
|
+
* address: "https://www.acctest1.com",
|
|
65
|
+
* },
|
|
66
|
+
* larkBotWebhook: {
|
|
67
|
+
* address: "https://www.acctest1.com",
|
|
68
|
+
* },
|
|
69
|
+
* dingTalkBotWebhook: {
|
|
70
|
+
* address: "https://www.dingacctest1.com",
|
|
71
|
+
* atMobiles: ["18046891812"],
|
|
72
|
+
* },
|
|
73
|
+
* phoneNumber: {
|
|
74
|
+
* countryCode: "+86",
|
|
75
|
+
* number: "18310101010",
|
|
76
|
+
* },
|
|
77
|
+
* });
|
|
78
|
+
* const fooContacts = volcengine.vmp.getContactsOutput({
|
|
79
|
+
* ids: [fooContact.id],
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
/** @deprecated volcengine.vmp.Contacts has been deprecated in favor of volcengine.vmp.getContacts */
|
|
84
|
+
function contactsOutput(args, opts) {
|
|
85
|
+
return pulumi.output(args).apply((a) => contacts(a, opts));
|
|
86
|
+
}
|
|
87
|
+
exports.contactsOutput = contactsOutput;
|
|
88
|
+
//# sourceMappingURL=contacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../vmp/contacts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qGAAqG;AACrG,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4GAA4G,CAAC,CAAA;IAC7H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC;AAmDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qGAAqG;AACrG,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of vmp alerting rules
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
|
|
13
|
+
* instanceTypeId: "vmp.standard.15d",
|
|
14
|
+
* deleteProtectionEnabled: false,
|
|
15
|
+
* description: "acc-test-1",
|
|
16
|
+
* username: "admin123",
|
|
17
|
+
* password: "***********",
|
|
18
|
+
* });
|
|
19
|
+
* const fooContact = new volcengine.vmp.Contact("fooContact", {
|
|
20
|
+
* email: "acctest1@tftest.com",
|
|
21
|
+
* webhook: {
|
|
22
|
+
* address: "https://www.acctest1.com",
|
|
23
|
+
* },
|
|
24
|
+
* larkBotWebhook: {
|
|
25
|
+
* address: "https://www.acctest1.com",
|
|
26
|
+
* },
|
|
27
|
+
* dingTalkBotWebhook: {
|
|
28
|
+
* address: "https://www.dingacctest1.com",
|
|
29
|
+
* atMobiles: ["18046891812"],
|
|
30
|
+
* },
|
|
31
|
+
* phoneNumber: {
|
|
32
|
+
* countryCode: "+86",
|
|
33
|
+
* number: "18310101010",
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
|
|
37
|
+
* email: "acctest2@tftest.com",
|
|
38
|
+
* webhook: {
|
|
39
|
+
* address: "https://www.acctest2.com",
|
|
40
|
+
* },
|
|
41
|
+
* larkBotWebhook: {
|
|
42
|
+
* address: "https://www.acctest2.com",
|
|
43
|
+
* },
|
|
44
|
+
* dingTalkBotWebhook: {
|
|
45
|
+
* address: "https://www.dingacctest2.com",
|
|
46
|
+
* atMobiles: ["18046891813"],
|
|
47
|
+
* },
|
|
48
|
+
* phoneNumber: {
|
|
49
|
+
* countryCode: "+86",
|
|
50
|
+
* number: "18310101011",
|
|
51
|
+
* },
|
|
52
|
+
* });
|
|
53
|
+
* const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
|
|
54
|
+
* const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
|
|
55
|
+
* const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
|
|
56
|
+
* description: "acc-test-1",
|
|
57
|
+
* levels: [
|
|
58
|
+
* {
|
|
59
|
+
* level: "P1",
|
|
60
|
+
* contactGroupIds: [fooContactGroup.id],
|
|
61
|
+
* channels: [
|
|
62
|
+
* "Email",
|
|
63
|
+
* "Webhook",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* {
|
|
67
|
+
* level: "P0",
|
|
68
|
+
* contactGroupIds: [foo1ContactGroup.id],
|
|
69
|
+
* channels: ["LarkBotWebhook"],
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* });
|
|
73
|
+
* const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
|
|
74
|
+
* description: "acc-test-1",
|
|
75
|
+
* levels: [
|
|
76
|
+
* {
|
|
77
|
+
* level: "P2",
|
|
78
|
+
* groupBies: ["__rule__"],
|
|
79
|
+
* groupWait: "35",
|
|
80
|
+
* groupInterval: "30",
|
|
81
|
+
* repeatInterval: "30",
|
|
82
|
+
* },
|
|
83
|
+
* {
|
|
84
|
+
* level: "P0",
|
|
85
|
+
* groupBies: ["__rule__"],
|
|
86
|
+
* groupWait: "30",
|
|
87
|
+
* groupInterval: "30",
|
|
88
|
+
* repeatInterval: "30",
|
|
89
|
+
* },
|
|
90
|
+
* {
|
|
91
|
+
* level: "P1",
|
|
92
|
+
* groupBies: ["__rule__"],
|
|
93
|
+
* groupWait: "40",
|
|
94
|
+
* groupInterval: "45",
|
|
95
|
+
* repeatInterval: "30",
|
|
96
|
+
* },
|
|
97
|
+
* ],
|
|
98
|
+
* });
|
|
99
|
+
* const fooAlertingRule = new volcengine.vmp.AlertingRule("fooAlertingRule", {
|
|
100
|
+
* description: "acc-test-1",
|
|
101
|
+
* notifyPolicyId: fooNotifyPolicy.id,
|
|
102
|
+
* notifyGroupPolicyId: fooNotifyGroupPolicy.id,
|
|
103
|
+
* query: {
|
|
104
|
+
* workspaceId: fooWorkspace.id,
|
|
105
|
+
* promQl: "sum(up)",
|
|
106
|
+
* },
|
|
107
|
+
* levels: [
|
|
108
|
+
* {
|
|
109
|
+
* level: "P0",
|
|
110
|
+
* "for": "0s",
|
|
111
|
+
* comparator: ">=",
|
|
112
|
+
* threshold: 2,
|
|
113
|
+
* },
|
|
114
|
+
* {
|
|
115
|
+
* level: "P1",
|
|
116
|
+
* "for": "0s",
|
|
117
|
+
* comparator: ">=",
|
|
118
|
+
* threshold: 1,
|
|
119
|
+
* },
|
|
120
|
+
* {
|
|
121
|
+
* level: "P2",
|
|
122
|
+
* "for": "0s",
|
|
123
|
+
* comparator: ">=",
|
|
124
|
+
* threshold: 0.5,
|
|
125
|
+
* },
|
|
126
|
+
* ],
|
|
127
|
+
* });
|
|
128
|
+
* const fooAlertingRules = volcengine.vmp.getAlertingRulesOutput({
|
|
129
|
+
* ids: [fooAlertingRule.id],
|
|
130
|
+
* });
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
export declare function getAlertingRules(args?: GetAlertingRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertingRulesResult>;
|
|
134
|
+
/**
|
|
135
|
+
* A collection of arguments for invoking getAlertingRules.
|
|
136
|
+
*/
|
|
137
|
+
export interface GetAlertingRulesArgs {
|
|
138
|
+
/**
|
|
139
|
+
* A list of vmp alerting rule IDs.
|
|
140
|
+
*/
|
|
141
|
+
ids?: string[];
|
|
142
|
+
/**
|
|
143
|
+
* The name of vmp alerting rule. This field support fuzzy query.
|
|
144
|
+
*/
|
|
145
|
+
name?: string;
|
|
146
|
+
/**
|
|
147
|
+
* A Name Regex of Resource.
|
|
148
|
+
*/
|
|
149
|
+
nameRegex?: string;
|
|
150
|
+
/**
|
|
151
|
+
* A list of notify group policy IDs.
|
|
152
|
+
*/
|
|
153
|
+
notifyGroupPolicyIds?: string[];
|
|
154
|
+
/**
|
|
155
|
+
* A list of notify policy IDs.
|
|
156
|
+
*/
|
|
157
|
+
notifyPolicyIds?: string[];
|
|
158
|
+
/**
|
|
159
|
+
* File name where to save data source results.
|
|
160
|
+
*/
|
|
161
|
+
outputFile?: string;
|
|
162
|
+
/**
|
|
163
|
+
* The status of vmp alerting rule. Valid values: `Running`, `Disabled`.
|
|
164
|
+
*/
|
|
165
|
+
status?: string;
|
|
166
|
+
/**
|
|
167
|
+
* The type of vmp alerting rule. Valid values: `vmp/PromQL`.
|
|
168
|
+
*/
|
|
169
|
+
type?: string;
|
|
170
|
+
/**
|
|
171
|
+
* The workspace id of vmp alerting rule.
|
|
172
|
+
*/
|
|
173
|
+
workspaceId?: string;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* A collection of values returned by getAlertingRules.
|
|
177
|
+
*/
|
|
178
|
+
export interface GetAlertingRulesResult {
|
|
179
|
+
/**
|
|
180
|
+
* The collection of query.
|
|
181
|
+
*/
|
|
182
|
+
readonly alertingRules: outputs.vmp.GetAlertingRulesAlertingRule[];
|
|
183
|
+
/**
|
|
184
|
+
* The provider-assigned unique ID for this managed resource.
|
|
185
|
+
*/
|
|
186
|
+
readonly id: string;
|
|
187
|
+
readonly ids?: string[];
|
|
188
|
+
/**
|
|
189
|
+
* The name of the vmp alerting rule.
|
|
190
|
+
*/
|
|
191
|
+
readonly name?: string;
|
|
192
|
+
readonly nameRegex?: string;
|
|
193
|
+
readonly notifyGroupPolicyIds?: string[];
|
|
194
|
+
readonly notifyPolicyIds?: string[];
|
|
195
|
+
readonly outputFile?: string;
|
|
196
|
+
/**
|
|
197
|
+
* The status of the vmp alerting rule.
|
|
198
|
+
*/
|
|
199
|
+
readonly status?: string;
|
|
200
|
+
/**
|
|
201
|
+
* The total count of query.
|
|
202
|
+
*/
|
|
203
|
+
readonly totalCount: number;
|
|
204
|
+
/**
|
|
205
|
+
* The type of the vmp alerting rule.
|
|
206
|
+
*/
|
|
207
|
+
readonly type?: string;
|
|
208
|
+
/**
|
|
209
|
+
* The id of the workspace.
|
|
210
|
+
*/
|
|
211
|
+
readonly workspaceId?: string;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Use this data source to query detailed information of vmp alerting rules
|
|
215
|
+
* ## Example Usage
|
|
216
|
+
*
|
|
217
|
+
* ```typescript
|
|
218
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
219
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
220
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
221
|
+
*
|
|
222
|
+
* const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
|
|
223
|
+
* instanceTypeId: "vmp.standard.15d",
|
|
224
|
+
* deleteProtectionEnabled: false,
|
|
225
|
+
* description: "acc-test-1",
|
|
226
|
+
* username: "admin123",
|
|
227
|
+
* password: "***********",
|
|
228
|
+
* });
|
|
229
|
+
* const fooContact = new volcengine.vmp.Contact("fooContact", {
|
|
230
|
+
* email: "acctest1@tftest.com",
|
|
231
|
+
* webhook: {
|
|
232
|
+
* address: "https://www.acctest1.com",
|
|
233
|
+
* },
|
|
234
|
+
* larkBotWebhook: {
|
|
235
|
+
* address: "https://www.acctest1.com",
|
|
236
|
+
* },
|
|
237
|
+
* dingTalkBotWebhook: {
|
|
238
|
+
* address: "https://www.dingacctest1.com",
|
|
239
|
+
* atMobiles: ["18046891812"],
|
|
240
|
+
* },
|
|
241
|
+
* phoneNumber: {
|
|
242
|
+
* countryCode: "+86",
|
|
243
|
+
* number: "18310101010",
|
|
244
|
+
* },
|
|
245
|
+
* });
|
|
246
|
+
* const foo1Contact = new volcengine.vmp.Contact("foo1Contact", {
|
|
247
|
+
* email: "acctest2@tftest.com",
|
|
248
|
+
* webhook: {
|
|
249
|
+
* address: "https://www.acctest2.com",
|
|
250
|
+
* },
|
|
251
|
+
* larkBotWebhook: {
|
|
252
|
+
* address: "https://www.acctest2.com",
|
|
253
|
+
* },
|
|
254
|
+
* dingTalkBotWebhook: {
|
|
255
|
+
* address: "https://www.dingacctest2.com",
|
|
256
|
+
* atMobiles: ["18046891813"],
|
|
257
|
+
* },
|
|
258
|
+
* phoneNumber: {
|
|
259
|
+
* countryCode: "+86",
|
|
260
|
+
* number: "18310101011",
|
|
261
|
+
* },
|
|
262
|
+
* });
|
|
263
|
+
* const fooContactGroup = new volcengine.vmp.ContactGroup("fooContactGroup", {contactIds: [fooContact.id]});
|
|
264
|
+
* const foo1ContactGroup = new volcengine.vmp.ContactGroup("foo1ContactGroup", {contactIds: [foo1Contact.id]});
|
|
265
|
+
* const fooNotifyPolicy = new volcengine.vmp.NotifyPolicy("fooNotifyPolicy", {
|
|
266
|
+
* description: "acc-test-1",
|
|
267
|
+
* levels: [
|
|
268
|
+
* {
|
|
269
|
+
* level: "P1",
|
|
270
|
+
* contactGroupIds: [fooContactGroup.id],
|
|
271
|
+
* channels: [
|
|
272
|
+
* "Email",
|
|
273
|
+
* "Webhook",
|
|
274
|
+
* ],
|
|
275
|
+
* },
|
|
276
|
+
* {
|
|
277
|
+
* level: "P0",
|
|
278
|
+
* contactGroupIds: [foo1ContactGroup.id],
|
|
279
|
+
* channels: ["LarkBotWebhook"],
|
|
280
|
+
* },
|
|
281
|
+
* ],
|
|
282
|
+
* });
|
|
283
|
+
* const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
|
|
284
|
+
* description: "acc-test-1",
|
|
285
|
+
* levels: [
|
|
286
|
+
* {
|
|
287
|
+
* level: "P2",
|
|
288
|
+
* groupBies: ["__rule__"],
|
|
289
|
+
* groupWait: "35",
|
|
290
|
+
* groupInterval: "30",
|
|
291
|
+
* repeatInterval: "30",
|
|
292
|
+
* },
|
|
293
|
+
* {
|
|
294
|
+
* level: "P0",
|
|
295
|
+
* groupBies: ["__rule__"],
|
|
296
|
+
* groupWait: "30",
|
|
297
|
+
* groupInterval: "30",
|
|
298
|
+
* repeatInterval: "30",
|
|
299
|
+
* },
|
|
300
|
+
* {
|
|
301
|
+
* level: "P1",
|
|
302
|
+
* groupBies: ["__rule__"],
|
|
303
|
+
* groupWait: "40",
|
|
304
|
+
* groupInterval: "45",
|
|
305
|
+
* repeatInterval: "30",
|
|
306
|
+
* },
|
|
307
|
+
* ],
|
|
308
|
+
* });
|
|
309
|
+
* const fooAlertingRule = new volcengine.vmp.AlertingRule("fooAlertingRule", {
|
|
310
|
+
* description: "acc-test-1",
|
|
311
|
+
* notifyPolicyId: fooNotifyPolicy.id,
|
|
312
|
+
* notifyGroupPolicyId: fooNotifyGroupPolicy.id,
|
|
313
|
+
* query: {
|
|
314
|
+
* workspaceId: fooWorkspace.id,
|
|
315
|
+
* promQl: "sum(up)",
|
|
316
|
+
* },
|
|
317
|
+
* levels: [
|
|
318
|
+
* {
|
|
319
|
+
* level: "P0",
|
|
320
|
+
* "for": "0s",
|
|
321
|
+
* comparator: ">=",
|
|
322
|
+
* threshold: 2,
|
|
323
|
+
* },
|
|
324
|
+
* {
|
|
325
|
+
* level: "P1",
|
|
326
|
+
* "for": "0s",
|
|
327
|
+
* comparator: ">=",
|
|
328
|
+
* threshold: 1,
|
|
329
|
+
* },
|
|
330
|
+
* {
|
|
331
|
+
* level: "P2",
|
|
332
|
+
* "for": "0s",
|
|
333
|
+
* comparator: ">=",
|
|
334
|
+
* threshold: 0.5,
|
|
335
|
+
* },
|
|
336
|
+
* ],
|
|
337
|
+
* });
|
|
338
|
+
* const fooAlertingRules = volcengine.vmp.getAlertingRulesOutput({
|
|
339
|
+
* ids: [fooAlertingRule.id],
|
|
340
|
+
* });
|
|
341
|
+
* ```
|
|
342
|
+
*/
|
|
343
|
+
export declare function getAlertingRulesOutput(args?: GetAlertingRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlertingRulesResult>;
|
|
344
|
+
/**
|
|
345
|
+
* A collection of arguments for invoking getAlertingRules.
|
|
346
|
+
*/
|
|
347
|
+
export interface GetAlertingRulesOutputArgs {
|
|
348
|
+
/**
|
|
349
|
+
* A list of vmp alerting rule IDs.
|
|
350
|
+
*/
|
|
351
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
352
|
+
/**
|
|
353
|
+
* The name of vmp alerting rule. This field support fuzzy query.
|
|
354
|
+
*/
|
|
355
|
+
name?: pulumi.Input<string>;
|
|
356
|
+
/**
|
|
357
|
+
* A Name Regex of Resource.
|
|
358
|
+
*/
|
|
359
|
+
nameRegex?: pulumi.Input<string>;
|
|
360
|
+
/**
|
|
361
|
+
* A list of notify group policy IDs.
|
|
362
|
+
*/
|
|
363
|
+
notifyGroupPolicyIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
364
|
+
/**
|
|
365
|
+
* A list of notify policy IDs.
|
|
366
|
+
*/
|
|
367
|
+
notifyPolicyIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
368
|
+
/**
|
|
369
|
+
* File name where to save data source results.
|
|
370
|
+
*/
|
|
371
|
+
outputFile?: pulumi.Input<string>;
|
|
372
|
+
/**
|
|
373
|
+
* The status of vmp alerting rule. Valid values: `Running`, `Disabled`.
|
|
374
|
+
*/
|
|
375
|
+
status?: pulumi.Input<string>;
|
|
376
|
+
/**
|
|
377
|
+
* The type of vmp alerting rule. Valid values: `vmp/PromQL`.
|
|
378
|
+
*/
|
|
379
|
+
type?: pulumi.Input<string>;
|
|
380
|
+
/**
|
|
381
|
+
* The workspace id of vmp alerting rule.
|
|
382
|
+
*/
|
|
383
|
+
workspaceId?: pulumi.Input<string>;
|
|
384
|
+
}
|