@volcengine/pulumi 0.0.31 → 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/dns/backup.d.ts +10 -1
- package/dns/backup.js +10 -1
- package/dns/backup.js.map +1 -1
- package/dns/zone.d.ts +1 -1
- package/dns/zone.js +1 -1
- package/ebs/getMaxExtraPerformances.d.ts +104 -0
- package/ebs/getMaxExtraPerformances.js +52 -0
- package/ebs/getMaxExtraPerformances.js.map +1 -0
- package/ebs/index.d.ts +6 -0
- package/ebs/index.js +7 -1
- package/ebs/index.js.map +1 -1
- package/ebs/maxExtraPerformances.d.ts +106 -0
- package/ebs/maxExtraPerformances.js +55 -0
- package/ebs/maxExtraPerformances.js.map +1 -0
- package/ebs/volume.d.ts +22 -14
- package/ebs/volume.js +7 -2
- package/ebs/volume.js.map +1 -1
- package/escloud_v2/escloudInstanceV2.d.ts +19 -3
- package/escloud_v2/escloudInstanceV2.js +19 -3
- package/escloud_v2/escloudInstanceV2.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/kafka/instance.d.ts +37 -0
- package/kafka/instance.js +37 -0
- package/kafka/instance.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/instance.d.ts +66 -11
- package/mongodb/instance.js +40 -11
- package/mongodb/instance.js.map +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 +209 -20
- package/rds_mysql/instance.js +82 -11
- 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/rds_postgresql/instance.d.ts +54 -3
- package/rds_postgresql/instance.js +54 -3
- package/rds_postgresql/instance.js.map +1 -1
- 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 +93 -2
- package/redis/instance.js +22 -1
- 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 +9274 -2000
- 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/vke/getPermissions.d.ts +137 -0
- package/vke/getPermissions.js +55 -0
- package/vke/getPermissions.js.map +1 -0
- package/vke/index.d.ts +9 -0
- package/vke/index.js +12 -1
- package/vke/index.js.map +1 -1
- package/vke/permission.d.ts +269 -0
- package/vke/permission.js +165 -0
- package/vke/permission.js.map +1 -0
- package/vke/permissions.d.ts +139 -0
- package/vke/permissions.js +58 -0
- package/vke/permissions.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 +30 -9
- package/vpc/routeEntry.js +27 -6
- package/vpc/routeEntry.js.map +1 -1
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage vmp notify template
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const foo = new volcengine.vmp.NotifyTemplate("foo", {
|
|
13
|
+
* active: {
|
|
14
|
+
* content: "acc-test-active-template-content",
|
|
15
|
+
* title: "acc-test-active-template-title",
|
|
16
|
+
* },
|
|
17
|
+
* channel: "WeComBotWebhook",
|
|
18
|
+
* description: "acc-test-vmp",
|
|
19
|
+
* resolved: {
|
|
20
|
+
* content: "acc-test-resolved-template-content",
|
|
21
|
+
* title: "acc-test-resolved-template-title",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* VmpNotifyTemplate can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcengine:vmp/notifyTemplate:NotifyTemplate default resource_id
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class NotifyTemplate extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NotifyTemplate resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotifyTemplateState, opts?: pulumi.CustomResourceOptions): NotifyTemplate;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of NotifyTemplate. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is NotifyTemplate;
|
|
50
|
+
/**
|
|
51
|
+
* The active notify template info.
|
|
52
|
+
*/
|
|
53
|
+
readonly active: pulumi.Output<outputs.vmp.NotifyTemplateActive>;
|
|
54
|
+
/**
|
|
55
|
+
* The channel of notify template. Valid values: `LarkBotWebhook`, `DingTalkBotWebhook`, `WeComBotWebhook`.
|
|
56
|
+
*/
|
|
57
|
+
readonly channel: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The create time of notify template.
|
|
60
|
+
*/
|
|
61
|
+
readonly createTime: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The description of notify template.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* The name of notify template.
|
|
68
|
+
*/
|
|
69
|
+
readonly name: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The resolved notify template info.
|
|
72
|
+
*/
|
|
73
|
+
readonly resolved: pulumi.Output<outputs.vmp.NotifyTemplateResolved>;
|
|
74
|
+
/**
|
|
75
|
+
* The update time of notify template.
|
|
76
|
+
*/
|
|
77
|
+
readonly updateTime: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a NotifyTemplate resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args: NotifyTemplateArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering NotifyTemplate resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface NotifyTemplateState {
|
|
91
|
+
/**
|
|
92
|
+
* The active notify template info.
|
|
93
|
+
*/
|
|
94
|
+
active?: pulumi.Input<inputs.vmp.NotifyTemplateActive>;
|
|
95
|
+
/**
|
|
96
|
+
* The channel of notify template. Valid values: `LarkBotWebhook`, `DingTalkBotWebhook`, `WeComBotWebhook`.
|
|
97
|
+
*/
|
|
98
|
+
channel?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The create time of notify template.
|
|
101
|
+
*/
|
|
102
|
+
createTime?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The description of notify template.
|
|
105
|
+
*/
|
|
106
|
+
description?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The name of notify template.
|
|
109
|
+
*/
|
|
110
|
+
name?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The resolved notify template info.
|
|
113
|
+
*/
|
|
114
|
+
resolved?: pulumi.Input<inputs.vmp.NotifyTemplateResolved>;
|
|
115
|
+
/**
|
|
116
|
+
* The update time of notify template.
|
|
117
|
+
*/
|
|
118
|
+
updateTime?: pulumi.Input<string>;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The set of arguments for constructing a NotifyTemplate resource.
|
|
122
|
+
*/
|
|
123
|
+
export interface NotifyTemplateArgs {
|
|
124
|
+
/**
|
|
125
|
+
* The active notify template info.
|
|
126
|
+
*/
|
|
127
|
+
active: pulumi.Input<inputs.vmp.NotifyTemplateActive>;
|
|
128
|
+
/**
|
|
129
|
+
* The channel of notify template. Valid values: `LarkBotWebhook`, `DingTalkBotWebhook`, `WeComBotWebhook`.
|
|
130
|
+
*/
|
|
131
|
+
channel: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The description of notify template.
|
|
134
|
+
*/
|
|
135
|
+
description?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The name of notify template.
|
|
138
|
+
*/
|
|
139
|
+
name?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The resolved notify template info.
|
|
142
|
+
*/
|
|
143
|
+
resolved: pulumi.Input<inputs.vmp.NotifyTemplateResolved>;
|
|
144
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.NotifyTemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage vmp notify template
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.vmp.NotifyTemplate("foo", {
|
|
17
|
+
* active: {
|
|
18
|
+
* content: "acc-test-active-template-content",
|
|
19
|
+
* title: "acc-test-active-template-title",
|
|
20
|
+
* },
|
|
21
|
+
* channel: "WeComBotWebhook",
|
|
22
|
+
* description: "acc-test-vmp",
|
|
23
|
+
* resolved: {
|
|
24
|
+
* content: "acc-test-resolved-template-content",
|
|
25
|
+
* title: "acc-test-resolved-template-title",
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* VmpNotifyTemplate can be imported using the id, e.g.
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import volcengine:vmp/notifyTemplate:NotifyTemplate default resource_id
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class NotifyTemplate extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing NotifyTemplate resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new NotifyTemplate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of NotifyTemplate. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === NotifyTemplate.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["active"] = state ? state.active : undefined;
|
|
67
|
+
resourceInputs["channel"] = state ? state.channel : undefined;
|
|
68
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
69
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
70
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
71
|
+
resourceInputs["resolved"] = state ? state.resolved : undefined;
|
|
72
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if ((!args || args.active === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'active'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.channel === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'channel'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.resolved === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'resolved'");
|
|
84
|
+
}
|
|
85
|
+
resourceInputs["active"] = args ? args.active : undefined;
|
|
86
|
+
resourceInputs["channel"] = args ? args.channel : undefined;
|
|
87
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
88
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
89
|
+
resourceInputs["resolved"] = args ? args.resolved : undefined;
|
|
90
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(NotifyTemplate.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.NotifyTemplate = NotifyTemplate;
|
|
98
|
+
/** @internal */
|
|
99
|
+
NotifyTemplate.__pulumiType = 'volcengine:vmp/notifyTemplate:NotifyTemplate';
|
|
100
|
+
//# sourceMappingURL=notifyTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifyTemplate.js","sourceRoot":"","sources":["../../vmp/notifyTemplate.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,136 @@
|
|
|
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 notify templates
|
|
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 foo = new volcengine.vmp.NotifyTemplate("foo", {
|
|
13
|
+
* description: "acc-test-vmp",
|
|
14
|
+
* channel: "WeComBotWebhook",
|
|
15
|
+
* active: {
|
|
16
|
+
* title: "acc-test-active-template-title",
|
|
17
|
+
* content: "acc-test-active-template-content",
|
|
18
|
+
* },
|
|
19
|
+
* resolved: {
|
|
20
|
+
* title: "acc-test-resolved-template-title",
|
|
21
|
+
* content: "acc-test-resolved-template-content",
|
|
22
|
+
* },
|
|
23
|
+
* });
|
|
24
|
+
* const default = volcengine.vmp.getNotifyTemplatesOutput({
|
|
25
|
+
* ids: [foo.id],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
/** @deprecated volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates */
|
|
30
|
+
export declare function notifyTemplates(args?: NotifyTemplatesArgs, opts?: pulumi.InvokeOptions): Promise<NotifyTemplatesResult>;
|
|
31
|
+
/**
|
|
32
|
+
* A collection of arguments for invoking NotifyTemplates.
|
|
33
|
+
*/
|
|
34
|
+
export interface NotifyTemplatesArgs {
|
|
35
|
+
/**
|
|
36
|
+
* The channel of notify template. Valid values: `LarkBotWebhook`, `DingTalkBotWebhook`, `WeComBotWebhook`.
|
|
37
|
+
*/
|
|
38
|
+
channel?: string;
|
|
39
|
+
/**
|
|
40
|
+
* A list of IDs.
|
|
41
|
+
*/
|
|
42
|
+
ids?: string[];
|
|
43
|
+
/**
|
|
44
|
+
* The name of notify template. This field support fuzzy query.
|
|
45
|
+
*/
|
|
46
|
+
name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* A Name Regex of Resource.
|
|
49
|
+
*/
|
|
50
|
+
nameRegex?: string;
|
|
51
|
+
/**
|
|
52
|
+
* File name where to save data source results.
|
|
53
|
+
*/
|
|
54
|
+
outputFile?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* A collection of values returned by NotifyTemplates.
|
|
58
|
+
*/
|
|
59
|
+
export interface NotifyTemplatesResult {
|
|
60
|
+
/**
|
|
61
|
+
* The channel of notify template. Valid values: `LarkBotWebhook`, `DingTalkBotWebhook`, `WeComBotWebhook`.
|
|
62
|
+
*/
|
|
63
|
+
readonly channel?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The provider-assigned unique ID for this managed resource.
|
|
66
|
+
*/
|
|
67
|
+
readonly id: string;
|
|
68
|
+
readonly ids?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* The name of notify template.
|
|
71
|
+
*/
|
|
72
|
+
readonly name?: string;
|
|
73
|
+
readonly nameRegex?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The collection of query.
|
|
76
|
+
*/
|
|
77
|
+
readonly notifyTemplates: outputs.vmp.NotifyTemplatesNotifyTemplate[];
|
|
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 notify templates
|
|
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 foo = new volcengine.vmp.NotifyTemplate("foo", {
|
|
94
|
+
* description: "acc-test-vmp",
|
|
95
|
+
* channel: "WeComBotWebhook",
|
|
96
|
+
* active: {
|
|
97
|
+
* title: "acc-test-active-template-title",
|
|
98
|
+
* content: "acc-test-active-template-content",
|
|
99
|
+
* },
|
|
100
|
+
* resolved: {
|
|
101
|
+
* title: "acc-test-resolved-template-title",
|
|
102
|
+
* content: "acc-test-resolved-template-content",
|
|
103
|
+
* },
|
|
104
|
+
* });
|
|
105
|
+
* const default = volcengine.vmp.getNotifyTemplatesOutput({
|
|
106
|
+
* ids: [foo.id],
|
|
107
|
+
* });
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
/** @deprecated volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates */
|
|
111
|
+
export declare function notifyTemplatesOutput(args?: NotifyTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<NotifyTemplatesResult>;
|
|
112
|
+
/**
|
|
113
|
+
* A collection of arguments for invoking NotifyTemplates.
|
|
114
|
+
*/
|
|
115
|
+
export interface NotifyTemplatesOutputArgs {
|
|
116
|
+
/**
|
|
117
|
+
* The channel of notify template. Valid values: `LarkBotWebhook`, `DingTalkBotWebhook`, `WeComBotWebhook`.
|
|
118
|
+
*/
|
|
119
|
+
channel?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* A list of IDs.
|
|
122
|
+
*/
|
|
123
|
+
ids?: pulumi.Input<pulumi.Input<string>[]>;
|
|
124
|
+
/**
|
|
125
|
+
* The name of notify template. This field support fuzzy query.
|
|
126
|
+
*/
|
|
127
|
+
name?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* A Name Regex of Resource.
|
|
130
|
+
*/
|
|
131
|
+
nameRegex?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* File name where to save data source results.
|
|
134
|
+
*/
|
|
135
|
+
outputFile?: pulumi.Input<string>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.notifyTemplatesOutput = exports.notifyTemplates = 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 notify templates
|
|
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 foo = new volcengine.vmp.NotifyTemplate("foo", {
|
|
18
|
+
* description: "acc-test-vmp",
|
|
19
|
+
* channel: "WeComBotWebhook",
|
|
20
|
+
* active: {
|
|
21
|
+
* title: "acc-test-active-template-title",
|
|
22
|
+
* content: "acc-test-active-template-content",
|
|
23
|
+
* },
|
|
24
|
+
* resolved: {
|
|
25
|
+
* title: "acc-test-resolved-template-title",
|
|
26
|
+
* content: "acc-test-resolved-template-content",
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* const default = volcengine.vmp.getNotifyTemplatesOutput({
|
|
30
|
+
* ids: [foo.id],
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
/** @deprecated volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates */
|
|
35
|
+
function notifyTemplates(args, opts) {
|
|
36
|
+
pulumi.log.warn("notifyTemplates is deprecated: volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates");
|
|
37
|
+
args = args || {};
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
39
|
+
return pulumi.runtime.invoke("volcengine:vmp/notifyTemplates:NotifyTemplates", {
|
|
40
|
+
"channel": args.channel,
|
|
41
|
+
"ids": args.ids,
|
|
42
|
+
"name": args.name,
|
|
43
|
+
"nameRegex": args.nameRegex,
|
|
44
|
+
"outputFile": args.outputFile,
|
|
45
|
+
}, opts);
|
|
46
|
+
}
|
|
47
|
+
exports.notifyTemplates = notifyTemplates;
|
|
48
|
+
/**
|
|
49
|
+
* Use this data source to query detailed information of vmp notify templates
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* ```typescript
|
|
53
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
54
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
55
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
56
|
+
*
|
|
57
|
+
* const foo = new volcengine.vmp.NotifyTemplate("foo", {
|
|
58
|
+
* description: "acc-test-vmp",
|
|
59
|
+
* channel: "WeComBotWebhook",
|
|
60
|
+
* active: {
|
|
61
|
+
* title: "acc-test-active-template-title",
|
|
62
|
+
* content: "acc-test-active-template-content",
|
|
63
|
+
* },
|
|
64
|
+
* resolved: {
|
|
65
|
+
* title: "acc-test-resolved-template-title",
|
|
66
|
+
* content: "acc-test-resolved-template-content",
|
|
67
|
+
* },
|
|
68
|
+
* });
|
|
69
|
+
* const default = volcengine.vmp.getNotifyTemplatesOutput({
|
|
70
|
+
* ids: [foo.id],
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
/** @deprecated volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates */
|
|
75
|
+
function notifyTemplatesOutput(args, opts) {
|
|
76
|
+
return pulumi.output(args).apply((a) => notifyTemplates(a, opts));
|
|
77
|
+
}
|
|
78
|
+
exports.notifyTemplatesOutput = notifyTemplatesOutput;
|
|
79
|
+
//# sourceMappingURL=notifyTemplates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifyTemplates.js","sourceRoot":"","sources":["../../vmp/notifyTemplates.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,mHAAmH;AACnH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iIAAiI,CAAC,CAAA;IAClJ,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,gDAAgD,EAAE;QAC3E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0CAYC;AAwDD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,mHAAmH;AACnH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage vmp rule file
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
|
|
11
|
+
* instanceTypeId: "vmp.standard.15d",
|
|
12
|
+
* deleteProtectionEnabled: false,
|
|
13
|
+
* description: "acc-test-1",
|
|
14
|
+
* username: "admin123",
|
|
15
|
+
* password: "**********",
|
|
16
|
+
* });
|
|
17
|
+
* const fooRuleFile = new volcengine.vmp.RuleFile("fooRuleFile", {
|
|
18
|
+
* workspaceId: fooWorkspace.id,
|
|
19
|
+
* description: "acc-test-1",
|
|
20
|
+
* content: `groups:
|
|
21
|
+
* - interval: 10s
|
|
22
|
+
* name: recording_rules
|
|
23
|
+
* rules:
|
|
24
|
+
* - expr: sum(irate(container_cpu_usage_seconds_total{image!=""}[5m])) by (pod) *100
|
|
25
|
+
* labels:
|
|
26
|
+
* team: operations
|
|
27
|
+
* record: pod:cpu:useage
|
|
28
|
+
* `,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* VMP Rule File can be imported using the workspace_id:rule_file_id, e.g.
|
|
35
|
+
* (We can only get rule file by WorkspaceId and RuleFileId)
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcengine:vmp/ruleFile:RuleFile default 60dde3ca-951c-4c05-8777-e5a7caa07ad6:d6f72bd9-674e-4651-b98c-3797657d9614
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class RuleFile extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing RuleFile resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RuleFileState, opts?: pulumi.CustomResourceOptions): RuleFile;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of RuleFile. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is RuleFile;
|
|
57
|
+
/**
|
|
58
|
+
* The content of the rule file.
|
|
59
|
+
*/
|
|
60
|
+
readonly content: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The create time of workspace.
|
|
63
|
+
*/
|
|
64
|
+
readonly createTime: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The description of the rule file.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The last update time of rule file.
|
|
71
|
+
*/
|
|
72
|
+
readonly lastUpdateTime: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the rule file.
|
|
75
|
+
*/
|
|
76
|
+
readonly name: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The rule count number of rule file.
|
|
79
|
+
*/
|
|
80
|
+
readonly ruleCount: pulumi.Output<number>;
|
|
81
|
+
/**
|
|
82
|
+
* The id of rule file.
|
|
83
|
+
*/
|
|
84
|
+
readonly ruleFileId: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The status of workspace.
|
|
87
|
+
*/
|
|
88
|
+
readonly status: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The id of the workspace.
|
|
91
|
+
*/
|
|
92
|
+
readonly workspaceId: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a RuleFile resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: RuleFileArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering RuleFile resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface RuleFileState {
|
|
106
|
+
/**
|
|
107
|
+
* The content of the rule file.
|
|
108
|
+
*/
|
|
109
|
+
content?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The create time of workspace.
|
|
112
|
+
*/
|
|
113
|
+
createTime?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The description of the rule file.
|
|
116
|
+
*/
|
|
117
|
+
description?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The last update time of rule file.
|
|
120
|
+
*/
|
|
121
|
+
lastUpdateTime?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The name of the rule file.
|
|
124
|
+
*/
|
|
125
|
+
name?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The rule count number of rule file.
|
|
128
|
+
*/
|
|
129
|
+
ruleCount?: pulumi.Input<number>;
|
|
130
|
+
/**
|
|
131
|
+
* The id of rule file.
|
|
132
|
+
*/
|
|
133
|
+
ruleFileId?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The status of workspace.
|
|
136
|
+
*/
|
|
137
|
+
status?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The id of the workspace.
|
|
140
|
+
*/
|
|
141
|
+
workspaceId?: pulumi.Input<string>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* The set of arguments for constructing a RuleFile resource.
|
|
145
|
+
*/
|
|
146
|
+
export interface RuleFileArgs {
|
|
147
|
+
/**
|
|
148
|
+
* The content of the rule file.
|
|
149
|
+
*/
|
|
150
|
+
content: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The description of the rule file.
|
|
153
|
+
*/
|
|
154
|
+
description?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The name of the rule file.
|
|
157
|
+
*/
|
|
158
|
+
name?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The id of the workspace.
|
|
161
|
+
*/
|
|
162
|
+
workspaceId: pulumi.Input<string>;
|
|
163
|
+
}
|