@volcengine/pulumi 0.0.32 → 0.0.34
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/apig/apigCustomDomain.d.ts +244 -0
- package/apig/apigCustomDomain.js +167 -0
- package/apig/apigCustomDomain.js.map +1 -0
- package/apig/apigGateway.d.ts +262 -0
- package/apig/apigGateway.js +150 -0
- package/apig/apigGateway.js.map +1 -0
- package/apig/apigGatewayService.d.ts +206 -0
- package/apig/apigGatewayService.js +159 -0
- package/apig/apigGatewayService.js.map +1 -0
- package/apig/apigRoute.d.ts +397 -0
- package/apig/apigRoute.js +299 -0
- package/apig/apigRoute.js.map +1 -0
- package/apig/apigUpstream.d.ts +375 -0
- package/apig/apigUpstream.js +278 -0
- package/apig/apigUpstream.js.map +1 -0
- package/apig/apigUpstreamSource.d.ts +214 -0
- package/apig/apigUpstreamSource.js +182 -0
- package/apig/apigUpstreamSource.js.map +1 -0
- package/apig/apigUpstreamVersion.d.ts +211 -0
- package/apig/apigUpstreamVersion.js +206 -0
- package/apig/apigUpstreamVersion.js.map +1 -0
- package/apig/customDomains.d.ts +112 -0
- package/apig/customDomains.js +55 -0
- package/apig/customDomains.js.map +1 -0
- package/apig/gatewayServices.d.ts +104 -0
- package/apig/gatewayServices.js +52 -0
- package/apig/gatewayServices.js.map +1 -0
- package/apig/gateways.d.ts +162 -0
- package/apig/gateways.js +63 -0
- package/apig/gateways.js.map +1 -0
- package/apig/getCustomDomains.d.ts +110 -0
- package/apig/getCustomDomains.js +52 -0
- package/apig/getCustomDomains.js.map +1 -0
- package/apig/getGatewayServices.d.ts +102 -0
- package/apig/getGatewayServices.js +49 -0
- package/apig/getGatewayServices.js.map +1 -0
- package/apig/getGateways.d.ts +160 -0
- package/apig/getGateways.js +60 -0
- package/apig/getGateways.js.map +1 -0
- package/apig/getRoutes.d.ts +153 -0
- package/apig/getRoutes.js +54 -0
- package/apig/getRoutes.js.map +1 -0
- package/apig/getUpstreamSources.d.ts +123 -0
- package/apig/getUpstreamSources.js +51 -0
- package/apig/getUpstreamSources.js.map +1 -0
- package/apig/getUpstreamVersions.d.ts +84 -0
- package/apig/getUpstreamVersions.js +47 -0
- package/apig/getUpstreamVersions.js.map +1 -0
- package/apig/getUpstreams.d.ts +140 -0
- package/apig/getUpstreams.js +60 -0
- package/apig/getUpstreams.js.map +1 -0
- package/apig/index.d.ts +63 -0
- package/apig/index.js +94 -0
- package/apig/index.js.map +1 -0
- package/apig/routes.d.ts +155 -0
- package/apig/routes.js +57 -0
- package/apig/routes.js.map +1 -0
- package/apig/upstreamSources.d.ts +125 -0
- package/apig/upstreamSources.js +54 -0
- package/apig/upstreamSources.js.map +1 -0
- package/apig/upstreamVersions.d.ts +86 -0
- package/apig/upstreamVersions.js +50 -0
- package/apig/upstreamVersions.js.map +1 -0
- package/apig/upstreams.d.ts +142 -0
- package/apig/upstreams.js +63 -0
- package/apig/upstreams.js.map +1 -0
- 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/interRegionBandwidth.d.ts +12 -0
- package/cen/interRegionBandwidth.js +2 -0
- package/cen/interRegionBandwidth.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 +6 -1
- package/index.js +12 -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 +6348 -3370
- package/types/output.d.ts +38406 -23946
- 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/cidrBlockAssociate.d.ts +83 -0
- package/vpc/cidrBlockAssociate.js +80 -0
- package/vpc/cidrBlockAssociate.js.map +1 -0
- package/vpc/flowLog.d.ts +266 -0
- package/vpc/flowLog.js +148 -0
- package/vpc/flowLog.js.map +1 -0
- package/vpc/flowLogActive.d.ts +103 -0
- package/vpc/flowLogActive.js +101 -0
- package/vpc/flowLogActive.js.map +1 -0
- package/vpc/flowLogs.d.ts +231 -0
- package/vpc/flowLogs.js +63 -0
- package/vpc/flowLogs.js.map +1 -0
- package/vpc/getFlowLogs.d.ts +229 -0
- package/vpc/getFlowLogs.js +60 -0
- package/vpc/getFlowLogs.js.map +1 -0
- package/vpc/getSubnets.d.ts +9 -0
- package/vpc/getSubnets.js +1 -0
- package/vpc/getSubnets.js.map +1 -1
- package/vpc/getTrafficMirrorFilterRules.d.ts +103 -0
- package/vpc/getTrafficMirrorFilterRules.js +50 -0
- package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
- package/vpc/getTrafficMirrorFilters.d.ts +118 -0
- package/vpc/getTrafficMirrorFilters.js +51 -0
- package/vpc/getTrafficMirrorFilters.js.map +1 -0
- package/vpc/getTrafficMirrorSessions.d.ts +187 -0
- package/vpc/getTrafficMirrorSessions.js +57 -0
- package/vpc/getTrafficMirrorSessions.js.map +1 -0
- package/vpc/getTrafficMirrorTargets.d.ts +121 -0
- package/vpc/getTrafficMirrorTargets.js +51 -0
- package/vpc/getTrafficMirrorTargets.js.map +1 -0
- package/vpc/getVpcs.d.ts +9 -0
- package/vpc/getVpcs.js +1 -0
- package/vpc/getVpcs.js.map +1 -1
- package/vpc/index.d.ts +51 -0
- package/vpc/index.js +67 -2
- package/vpc/index.js.map +1 -1
- package/vpc/routeEntry.d.ts +3 -3
- package/vpc/subnets.d.ts +9 -0
- package/vpc/subnets.js +1 -0
- package/vpc/subnets.js.map +1 -1
- package/vpc/trafficMirrorFilter.d.ts +137 -0
- package/vpc/trafficMirrorFilter.js +88 -0
- package/vpc/trafficMirrorFilter.js.map +1 -0
- package/vpc/trafficMirrorFilterRule.d.ts +245 -0
- package/vpc/trafficMirrorFilterRule.js +144 -0
- package/vpc/trafficMirrorFilterRule.js.map +1 -0
- package/vpc/trafficMirrorFilterRules.d.ts +105 -0
- package/vpc/trafficMirrorFilterRules.js +53 -0
- package/vpc/trafficMirrorFilterRules.js.map +1 -0
- package/vpc/trafficMirrorFilters.d.ts +120 -0
- package/vpc/trafficMirrorFilters.js +54 -0
- package/vpc/trafficMirrorFilters.js.map +1 -0
- package/vpc/trafficMirrorSession.d.ts +330 -0
- package/vpc/trafficMirrorSession.js +221 -0
- package/vpc/trafficMirrorSession.js.map +1 -0
- package/vpc/trafficMirrorSessions.d.ts +189 -0
- package/vpc/trafficMirrorSessions.js +60 -0
- package/vpc/trafficMirrorSessions.js.map +1 -0
- package/vpc/trafficMirrorTarget.d.ts +222 -0
- package/vpc/trafficMirrorTarget.js +159 -0
- package/vpc/trafficMirrorTarget.js.map +1 -0
- package/vpc/trafficMirrorTargets.d.ts +123 -0
- package/vpc/trafficMirrorTargets.js +54 -0
- package/vpc/trafficMirrorTargets.js.map +1 -0
- package/vpc/vpc.d.ts +8 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
- package/vpc/vpcs.d.ts +9 -0
- package/vpc/vpcs.js +1 -0
- package/vpc/vpcs.js.map +1 -1
- package/waf/aclRule.d.ts +326 -0
- package/waf/aclRule.js +150 -0
- package/waf/aclRule.js.map +1 -0
- package/waf/aclRules.d.ts +170 -0
- package/waf/aclRules.js +69 -0
- package/waf/aclRules.js.map +1 -0
- package/waf/botAnalyseProtectRule.d.ts +320 -0
- package/waf/botAnalyseProtectRule.js +171 -0
- package/waf/botAnalyseProtectRule.js.map +1 -0
- package/waf/botAnalyseProtectRules.d.ts +145 -0
- package/waf/botAnalyseProtectRules.js +57 -0
- package/waf/botAnalyseProtectRules.js.map +1 -0
- package/waf/ccRule.d.ts +337 -0
- package/waf/ccRule.js +182 -0
- package/waf/ccRule.js.map +1 -0
- package/waf/ccRules.d.ts +149 -0
- package/waf/ccRules.js +61 -0
- package/waf/ccRules.js.map +1 -0
- package/waf/customBot.d.ts +191 -0
- package/waf/customBot.js +127 -0
- package/waf/customBot.js.map +1 -0
- package/waf/customBots.d.ts +86 -0
- package/waf/customBots.js +51 -0
- package/waf/customBots.js.map +1 -0
- package/waf/customPage.d.ts +310 -0
- package/waf/customPage.js +160 -0
- package/waf/customPage.js.map +1 -0
- package/waf/customPages.d.ts +110 -0
- package/waf/customPages.js +52 -0
- package/waf/customPages.js.map +1 -0
- package/waf/domains.d.ts +94 -0
- package/waf/domains.js +48 -0
- package/waf/domains.js.map +1 -0
- package/waf/getAclRules.d.ts +168 -0
- package/waf/getAclRules.js +66 -0
- package/waf/getAclRules.js.map +1 -0
- package/waf/getBotAnalyseProtectRules.d.ts +143 -0
- package/waf/getBotAnalyseProtectRules.js +54 -0
- package/waf/getBotAnalyseProtectRules.js.map +1 -0
- package/waf/getCcRules.d.ts +147 -0
- package/waf/getCcRules.js +58 -0
- package/waf/getCcRules.js.map +1 -0
- package/waf/getCustomBots.d.ts +84 -0
- package/waf/getCustomBots.js +48 -0
- package/waf/getCustomBots.js.map +1 -0
- package/waf/getCustomPages.d.ts +108 -0
- package/waf/getCustomPages.js +49 -0
- package/waf/getCustomPages.js.map +1 -0
- package/waf/getDomains.d.ts +92 -0
- package/waf/getDomains.js +45 -0
- package/waf/getDomains.js.map +1 -0
- package/waf/getHostGroups.d.ts +146 -0
- package/waf/getHostGroups.js +55 -0
- package/waf/getHostGroups.js.map +1 -0
- package/waf/getIpGroups.d.ts +105 -0
- package/waf/getIpGroups.js +49 -0
- package/waf/getIpGroups.js.map +1 -0
- package/waf/getProhibitions.d.ts +127 -0
- package/waf/getProhibitions.js +55 -0
- package/waf/getProhibitions.js.map +1 -0
- package/waf/getServiceCertificates.d.ts +71 -0
- package/waf/getServiceCertificates.js +43 -0
- package/waf/getServiceCertificates.js.map +1 -0
- package/waf/getSystemBots.d.ts +84 -0
- package/waf/getSystemBots.js +47 -0
- package/waf/getSystemBots.js.map +1 -0
- package/waf/hostGroup.d.ts +152 -0
- package/waf/hostGroup.js +90 -0
- package/waf/hostGroup.js.map +1 -0
- package/waf/hostGroups.d.ts +148 -0
- package/waf/hostGroups.js +58 -0
- package/waf/hostGroups.js.map +1 -0
- package/waf/index.d.ts +99 -0
- package/waf/index.js +139 -0
- package/waf/index.js.map +1 -0
- package/waf/instanceCtl.d.ts +95 -0
- package/waf/instanceCtl.js +76 -0
- package/waf/instanceCtl.js.map +1 -0
- package/waf/ipGroup.d.ts +132 -0
- package/waf/ipGroup.js +93 -0
- package/waf/ipGroup.js.map +1 -0
- package/waf/ipGroups.d.ts +107 -0
- package/waf/ipGroups.js +52 -0
- package/waf/ipGroups.js.map +1 -0
- package/waf/prohibitions.d.ts +129 -0
- package/waf/prohibitions.js +58 -0
- package/waf/prohibitions.js.map +1 -0
- package/waf/serviceCertificates.d.ts +73 -0
- package/waf/serviceCertificates.js +46 -0
- package/waf/serviceCertificates.js.map +1 -0
- package/waf/systemBot.d.ts +137 -0
- package/waf/systemBot.js +92 -0
- package/waf/systemBot.js.map +1 -0
- package/waf/systemBots.d.ts +86 -0
- package/waf/systemBots.js +50 -0
- package/waf/systemBots.js.map +1 -0
- package/waf/vulnerability.d.ts +116 -0
- package/waf/vulnerability.js +72 -0
- package/waf/vulnerability.js.map +1 -0
- package/waf/wafDomain.d.ts +877 -0
- package/waf/wafDomain.js +252 -0
- package/waf/wafDomain.js.map +1 -0
package/waf/customBot.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
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.CustomBot = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage waf custom bot
|
|
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.waf.CustomBot("foo", {
|
|
17
|
+
* accurate: {
|
|
18
|
+
* accurateRules: [
|
|
19
|
+
* {
|
|
20
|
+
* httpObj: "request.uri",
|
|
21
|
+
* objType: 1,
|
|
22
|
+
* opretar: 2,
|
|
23
|
+
* property: 0,
|
|
24
|
+
* valueString: "tf",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* httpObj: "request.schema",
|
|
28
|
+
* objType: 0,
|
|
29
|
+
* opretar: 2,
|
|
30
|
+
* property: 0,
|
|
31
|
+
* valueString: "tf-2",
|
|
32
|
+
* },
|
|
33
|
+
* ],
|
|
34
|
+
* logic: 2,
|
|
35
|
+
* },
|
|
36
|
+
* action: "observe",
|
|
37
|
+
* botType: "tf-test",
|
|
38
|
+
* description: "tf-test",
|
|
39
|
+
* enable: 1,
|
|
40
|
+
* host: "www.tf-test.com",
|
|
41
|
+
* projectName: "default",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* WafCustomBot can be imported using the id, e.g.
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import volcengine:waf/customBot:CustomBot default resource_id
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
class CustomBot extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing CustomBot resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, state, opts) {
|
|
64
|
+
return new CustomBot(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of CustomBot. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === CustomBot.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
constructor(name, argsOrState, opts) {
|
|
77
|
+
let resourceInputs = {};
|
|
78
|
+
opts = opts || {};
|
|
79
|
+
if (opts.id) {
|
|
80
|
+
const state = argsOrState;
|
|
81
|
+
resourceInputs["accurate"] = state ? state.accurate : undefined;
|
|
82
|
+
resourceInputs["action"] = state ? state.action : undefined;
|
|
83
|
+
resourceInputs["advanced"] = state ? state.advanced : undefined;
|
|
84
|
+
resourceInputs["botType"] = state ? state.botType : undefined;
|
|
85
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
86
|
+
resourceInputs["enable"] = state ? state.enable : undefined;
|
|
87
|
+
resourceInputs["host"] = state ? state.host : undefined;
|
|
88
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
89
|
+
resourceInputs["ruleTag"] = state ? state.ruleTag : undefined;
|
|
90
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const args = argsOrState;
|
|
94
|
+
if ((!args || args.accurate === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'accurate'");
|
|
96
|
+
}
|
|
97
|
+
if ((!args || args.action === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'action'");
|
|
99
|
+
}
|
|
100
|
+
if ((!args || args.botType === undefined) && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'botType'");
|
|
102
|
+
}
|
|
103
|
+
if ((!args || args.enable === undefined) && !opts.urn) {
|
|
104
|
+
throw new Error("Missing required property 'enable'");
|
|
105
|
+
}
|
|
106
|
+
if ((!args || args.host === undefined) && !opts.urn) {
|
|
107
|
+
throw new Error("Missing required property 'host'");
|
|
108
|
+
}
|
|
109
|
+
resourceInputs["accurate"] = args ? args.accurate : undefined;
|
|
110
|
+
resourceInputs["action"] = args ? args.action : undefined;
|
|
111
|
+
resourceInputs["botType"] = args ? args.botType : undefined;
|
|
112
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
113
|
+
resourceInputs["enable"] = args ? args.enable : undefined;
|
|
114
|
+
resourceInputs["host"] = args ? args.host : undefined;
|
|
115
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
116
|
+
resourceInputs["advanced"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["ruleTag"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
119
|
+
}
|
|
120
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
|
+
super(CustomBot.__pulumiType, name, resourceInputs, opts);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.CustomBot = CustomBot;
|
|
125
|
+
/** @internal */
|
|
126
|
+
CustomBot.__pulumiType = 'volcengine:waf/customBot:CustomBot';
|
|
127
|
+
//# sourceMappingURL=customBot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customBot.js","sourceRoot":"","sources":["../../waf/customBot.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 waf custom bots
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const foo = volcengine.waf.getCustomBots({
|
|
12
|
+
* host: "www.tf-test.com",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
/** @deprecated volcengine.waf.CustomBots has been deprecated in favor of volcengine.waf.getCustomBots */
|
|
17
|
+
export declare function customBots(args?: CustomBotsArgs, opts?: pulumi.InvokeOptions): Promise<CustomBotsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking CustomBots.
|
|
20
|
+
*/
|
|
21
|
+
export interface CustomBotsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The domain names that need to be viewed.
|
|
24
|
+
*/
|
|
25
|
+
host?: string;
|
|
26
|
+
/**
|
|
27
|
+
* A Name Regex of Resource.
|
|
28
|
+
*/
|
|
29
|
+
nameRegex?: string;
|
|
30
|
+
/**
|
|
31
|
+
* File name where to save data source results.
|
|
32
|
+
*/
|
|
33
|
+
outputFile?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A collection of values returned by CustomBots.
|
|
37
|
+
*/
|
|
38
|
+
export interface CustomBotsResult {
|
|
39
|
+
/**
|
|
40
|
+
* The Details of Custom bot.
|
|
41
|
+
*/
|
|
42
|
+
readonly datas: outputs.waf.CustomBotsData[];
|
|
43
|
+
readonly host?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The provider-assigned unique ID for this managed resource.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly nameRegex?: string;
|
|
49
|
+
readonly outputFile?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The total count of query.
|
|
52
|
+
*/
|
|
53
|
+
readonly totalCount: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Use this data source to query detailed information of waf custom bots
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
62
|
+
*
|
|
63
|
+
* const foo = volcengine.waf.getCustomBots({
|
|
64
|
+
* host: "www.tf-test.com",
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
/** @deprecated volcengine.waf.CustomBots has been deprecated in favor of volcengine.waf.getCustomBots */
|
|
69
|
+
export declare function customBotsOutput(args?: CustomBotsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CustomBotsResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking CustomBots.
|
|
72
|
+
*/
|
|
73
|
+
export interface CustomBotsOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The domain names that need to be viewed.
|
|
76
|
+
*/
|
|
77
|
+
host?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* A Name Regex of Resource.
|
|
80
|
+
*/
|
|
81
|
+
nameRegex?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* File name where to save data source results.
|
|
84
|
+
*/
|
|
85
|
+
outputFile?: pulumi.Input<string>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.customBotsOutput = exports.customBots = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of waf custom bots
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = volcengine.waf.getCustomBots({
|
|
17
|
+
* host: "www.tf-test.com",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
/** @deprecated volcengine.waf.CustomBots has been deprecated in favor of volcengine.waf.getCustomBots */
|
|
22
|
+
function customBots(args, opts) {
|
|
23
|
+
pulumi.log.warn("customBots is deprecated: volcengine.waf.CustomBots has been deprecated in favor of volcengine.waf.getCustomBots");
|
|
24
|
+
args = args || {};
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("volcengine:waf/customBots:CustomBots", {
|
|
27
|
+
"host": args.host,
|
|
28
|
+
"nameRegex": args.nameRegex,
|
|
29
|
+
"outputFile": args.outputFile,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.customBots = customBots;
|
|
33
|
+
/**
|
|
34
|
+
* Use this data source to query detailed information of waf custom bots
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
40
|
+
*
|
|
41
|
+
* const foo = volcengine.waf.getCustomBots({
|
|
42
|
+
* host: "www.tf-test.com",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
/** @deprecated volcengine.waf.CustomBots has been deprecated in favor of volcengine.waf.getCustomBots */
|
|
47
|
+
function customBotsOutput(args, opts) {
|
|
48
|
+
return pulumi.output(args).apply((a) => customBots(a, opts));
|
|
49
|
+
}
|
|
50
|
+
exports.customBotsOutput = customBotsOutput;
|
|
51
|
+
//# sourceMappingURL=customBots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customBots.js","sourceRoot":"","sources":["../../waf/customBots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,yGAAyG;AACzG,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAA;IACnI,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,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AAwCD;;;;;;;;;;;;GAYG;AACH,yGAAyG;AACzG,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,310 @@
|
|
|
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 waf custom page
|
|
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.waf.CustomPage("foo", {
|
|
13
|
+
* accurate: {
|
|
14
|
+
* accurateRules: [
|
|
15
|
+
* {
|
|
16
|
+
* httpObj: "request.uri",
|
|
17
|
+
* objType: 1,
|
|
18
|
+
* opretar: 2,
|
|
19
|
+
* property: 0,
|
|
20
|
+
* valueString: "tf",
|
|
21
|
+
* },
|
|
22
|
+
* {
|
|
23
|
+
* httpObj: "request.schema",
|
|
24
|
+
* objType: 0,
|
|
25
|
+
* opretar: 2,
|
|
26
|
+
* property: 0,
|
|
27
|
+
* valueString: "tf-2",
|
|
28
|
+
* },
|
|
29
|
+
* ],
|
|
30
|
+
* logic: 2,
|
|
31
|
+
* },
|
|
32
|
+
* advanced: 1,
|
|
33
|
+
* body: "tf-test-body",
|
|
34
|
+
* clientIp: "ALL",
|
|
35
|
+
* code: 403,
|
|
36
|
+
* contentType: "text/html",
|
|
37
|
+
* description: "tf-test",
|
|
38
|
+
* enable: 1,
|
|
39
|
+
* host: "www.123.com",
|
|
40
|
+
* pageMode: 1,
|
|
41
|
+
* policy: 1,
|
|
42
|
+
* projectName: "default",
|
|
43
|
+
* redirectUrl: "/test/tf/path",
|
|
44
|
+
* url: "/tf-test",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* WafCustomPage can be imported using the id, e.g.
|
|
51
|
+
*
|
|
52
|
+
* ```sh
|
|
53
|
+
* $ pulumi import volcengine:waf/customPage:CustomPage default resource_id:Host
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare class CustomPage extends pulumi.CustomResource {
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing CustomPage resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomPageState, opts?: pulumi.CustomResourceOptions): CustomPage;
|
|
67
|
+
/**
|
|
68
|
+
* Returns true if the given object is an instance of CustomPage. This is designed to work even
|
|
69
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
70
|
+
*/
|
|
71
|
+
static isInstance(obj: any): obj is CustomPage;
|
|
72
|
+
/**
|
|
73
|
+
* Advanced conditions.
|
|
74
|
+
*/
|
|
75
|
+
readonly accurate: pulumi.Output<outputs.waf.CustomPageAccurate>;
|
|
76
|
+
/**
|
|
77
|
+
* Whether to configure advanced conditions.
|
|
78
|
+
*/
|
|
79
|
+
readonly advanced: pulumi.Output<number>;
|
|
80
|
+
/**
|
|
81
|
+
* The layout content of the response page.
|
|
82
|
+
*/
|
|
83
|
+
readonly body: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Fill in ALL, which means this rule will take effect on all IP addresses.
|
|
86
|
+
*/
|
|
87
|
+
readonly clientIp: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Custom HTTP code returned when the request is blocked. Required if PageMode=0 or 1.
|
|
90
|
+
*/
|
|
91
|
+
readonly code: pulumi.Output<number>;
|
|
92
|
+
/**
|
|
93
|
+
* The layout template of the response page. Required if PageMode=0 or 1.
|
|
94
|
+
*/
|
|
95
|
+
readonly contentType: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Rule description.
|
|
98
|
+
*/
|
|
99
|
+
readonly description: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Whether to enable the rule.
|
|
102
|
+
*/
|
|
103
|
+
readonly enable: pulumi.Output<number>;
|
|
104
|
+
/**
|
|
105
|
+
* The ID of the advanced conditional rule group.
|
|
106
|
+
*/
|
|
107
|
+
readonly groupId: pulumi.Output<number>;
|
|
108
|
+
/**
|
|
109
|
+
* Request header information.
|
|
110
|
+
*/
|
|
111
|
+
readonly header: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Domain name to be protected.
|
|
114
|
+
*/
|
|
115
|
+
readonly host: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of Region.
|
|
118
|
+
*/
|
|
119
|
+
readonly isolationId: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Rule name.
|
|
122
|
+
*/
|
|
123
|
+
readonly name: pulumi.Output<string>;
|
|
124
|
+
/**
|
|
125
|
+
* The layout template of the response page.
|
|
126
|
+
*/
|
|
127
|
+
readonly pageMode: pulumi.Output<number>;
|
|
128
|
+
/**
|
|
129
|
+
* Action to be taken on requests that match the rule.
|
|
130
|
+
*/
|
|
131
|
+
readonly policy: pulumi.Output<number>;
|
|
132
|
+
/**
|
|
133
|
+
* The name of the project to which your domain names belong.
|
|
134
|
+
*/
|
|
135
|
+
readonly projectName: pulumi.Output<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* The path where users should be redirected.
|
|
138
|
+
*/
|
|
139
|
+
readonly redirectUrl: pulumi.Output<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Unique identification of the rules.
|
|
142
|
+
*/
|
|
143
|
+
readonly ruleTag: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Rule update time.
|
|
146
|
+
*/
|
|
147
|
+
readonly updateTime: pulumi.Output<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Match the path.
|
|
150
|
+
*/
|
|
151
|
+
readonly url: pulumi.Output<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Create a CustomPage resource with the given unique name, arguments, and options.
|
|
154
|
+
*
|
|
155
|
+
* @param name The _unique_ name of the resource.
|
|
156
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
157
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
158
|
+
*/
|
|
159
|
+
constructor(name: string, args: CustomPageArgs, opts?: pulumi.CustomResourceOptions);
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Input properties used for looking up and filtering CustomPage resources.
|
|
163
|
+
*/
|
|
164
|
+
export interface CustomPageState {
|
|
165
|
+
/**
|
|
166
|
+
* Advanced conditions.
|
|
167
|
+
*/
|
|
168
|
+
accurate?: pulumi.Input<inputs.waf.CustomPageAccurate>;
|
|
169
|
+
/**
|
|
170
|
+
* Whether to configure advanced conditions.
|
|
171
|
+
*/
|
|
172
|
+
advanced?: pulumi.Input<number>;
|
|
173
|
+
/**
|
|
174
|
+
* The layout content of the response page.
|
|
175
|
+
*/
|
|
176
|
+
body?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Fill in ALL, which means this rule will take effect on all IP addresses.
|
|
179
|
+
*/
|
|
180
|
+
clientIp?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Custom HTTP code returned when the request is blocked. Required if PageMode=0 or 1.
|
|
183
|
+
*/
|
|
184
|
+
code?: pulumi.Input<number>;
|
|
185
|
+
/**
|
|
186
|
+
* The layout template of the response page. Required if PageMode=0 or 1.
|
|
187
|
+
*/
|
|
188
|
+
contentType?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Rule description.
|
|
191
|
+
*/
|
|
192
|
+
description?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Whether to enable the rule.
|
|
195
|
+
*/
|
|
196
|
+
enable?: pulumi.Input<number>;
|
|
197
|
+
/**
|
|
198
|
+
* The ID of the advanced conditional rule group.
|
|
199
|
+
*/
|
|
200
|
+
groupId?: pulumi.Input<number>;
|
|
201
|
+
/**
|
|
202
|
+
* Request header information.
|
|
203
|
+
*/
|
|
204
|
+
header?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Domain name to be protected.
|
|
207
|
+
*/
|
|
208
|
+
host?: pulumi.Input<string>;
|
|
209
|
+
/**
|
|
210
|
+
* The ID of Region.
|
|
211
|
+
*/
|
|
212
|
+
isolationId?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* Rule name.
|
|
215
|
+
*/
|
|
216
|
+
name?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The layout template of the response page.
|
|
219
|
+
*/
|
|
220
|
+
pageMode?: pulumi.Input<number>;
|
|
221
|
+
/**
|
|
222
|
+
* Action to be taken on requests that match the rule.
|
|
223
|
+
*/
|
|
224
|
+
policy?: pulumi.Input<number>;
|
|
225
|
+
/**
|
|
226
|
+
* The name of the project to which your domain names belong.
|
|
227
|
+
*/
|
|
228
|
+
projectName?: pulumi.Input<string>;
|
|
229
|
+
/**
|
|
230
|
+
* The path where users should be redirected.
|
|
231
|
+
*/
|
|
232
|
+
redirectUrl?: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Unique identification of the rules.
|
|
235
|
+
*/
|
|
236
|
+
ruleTag?: pulumi.Input<string>;
|
|
237
|
+
/**
|
|
238
|
+
* Rule update time.
|
|
239
|
+
*/
|
|
240
|
+
updateTime?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* Match the path.
|
|
243
|
+
*/
|
|
244
|
+
url?: pulumi.Input<string>;
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* The set of arguments for constructing a CustomPage resource.
|
|
248
|
+
*/
|
|
249
|
+
export interface CustomPageArgs {
|
|
250
|
+
/**
|
|
251
|
+
* Advanced conditions.
|
|
252
|
+
*/
|
|
253
|
+
accurate?: pulumi.Input<inputs.waf.CustomPageAccurate>;
|
|
254
|
+
/**
|
|
255
|
+
* Whether to configure advanced conditions.
|
|
256
|
+
*/
|
|
257
|
+
advanced?: pulumi.Input<number>;
|
|
258
|
+
/**
|
|
259
|
+
* The layout content of the response page.
|
|
260
|
+
*/
|
|
261
|
+
body?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* Fill in ALL, which means this rule will take effect on all IP addresses.
|
|
264
|
+
*/
|
|
265
|
+
clientIp: pulumi.Input<string>;
|
|
266
|
+
/**
|
|
267
|
+
* Custom HTTP code returned when the request is blocked. Required if PageMode=0 or 1.
|
|
268
|
+
*/
|
|
269
|
+
code: pulumi.Input<number>;
|
|
270
|
+
/**
|
|
271
|
+
* The layout template of the response page. Required if PageMode=0 or 1.
|
|
272
|
+
*/
|
|
273
|
+
contentType?: pulumi.Input<string>;
|
|
274
|
+
/**
|
|
275
|
+
* Rule description.
|
|
276
|
+
*/
|
|
277
|
+
description?: pulumi.Input<string>;
|
|
278
|
+
/**
|
|
279
|
+
* Whether to enable the rule.
|
|
280
|
+
*/
|
|
281
|
+
enable: pulumi.Input<number>;
|
|
282
|
+
/**
|
|
283
|
+
* Domain name to be protected.
|
|
284
|
+
*/
|
|
285
|
+
host: pulumi.Input<string>;
|
|
286
|
+
/**
|
|
287
|
+
* Rule name.
|
|
288
|
+
*/
|
|
289
|
+
name?: pulumi.Input<string>;
|
|
290
|
+
/**
|
|
291
|
+
* The layout template of the response page.
|
|
292
|
+
*/
|
|
293
|
+
pageMode: pulumi.Input<number>;
|
|
294
|
+
/**
|
|
295
|
+
* Action to be taken on requests that match the rule.
|
|
296
|
+
*/
|
|
297
|
+
policy: pulumi.Input<number>;
|
|
298
|
+
/**
|
|
299
|
+
* The name of the project to which your domain names belong.
|
|
300
|
+
*/
|
|
301
|
+
projectName?: pulumi.Input<string>;
|
|
302
|
+
/**
|
|
303
|
+
* The path where users should be redirected.
|
|
304
|
+
*/
|
|
305
|
+
redirectUrl?: pulumi.Input<string>;
|
|
306
|
+
/**
|
|
307
|
+
* Match the path.
|
|
308
|
+
*/
|
|
309
|
+
url: pulumi.Input<string>;
|
|
310
|
+
}
|