@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/kms/key.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.Key = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage kms key
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const fooKeyring = new volcengine.kms.Keyring("fooKeyring", {
|
|
17
|
+
* keyringName: "tf-test",
|
|
18
|
+
* description: "tf-test",
|
|
19
|
+
* projectName: "default",
|
|
20
|
+
* });
|
|
21
|
+
* const fooKey = new volcengine.kms.Key("fooKey", {
|
|
22
|
+
* keyringName: fooKeyring.keyringName,
|
|
23
|
+
* keyName: "mrk-tf-key-mod",
|
|
24
|
+
* description: "tf test key-mod",
|
|
25
|
+
* tags: [{
|
|
26
|
+
* key: "tfkey3",
|
|
27
|
+
* value: "tfvalue3",
|
|
28
|
+
* }],
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* KmsKey can be imported using the id, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import volcengine:kms/key:Key default resource_id
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class Key extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing Key resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new Key(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of Key. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === Key.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["creationDate"] = state ? state.creationDate : undefined;
|
|
69
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
70
|
+
resourceInputs["keyMaterialExpireTime"] = state ? state.keyMaterialExpireTime : undefined;
|
|
71
|
+
resourceInputs["keyName"] = state ? state.keyName : undefined;
|
|
72
|
+
resourceInputs["keySpec"] = state ? state.keySpec : undefined;
|
|
73
|
+
resourceInputs["keyUsage"] = state ? state.keyUsage : undefined;
|
|
74
|
+
resourceInputs["keyringName"] = state ? state.keyringName : undefined;
|
|
75
|
+
resourceInputs["lastRotationTime"] = state ? state.lastRotationTime : undefined;
|
|
76
|
+
resourceInputs["multiRegion"] = state ? state.multiRegion : undefined;
|
|
77
|
+
resourceInputs["multiRegionConfiguration"] = state ? state.multiRegionConfiguration : undefined;
|
|
78
|
+
resourceInputs["origin"] = state ? state.origin : undefined;
|
|
79
|
+
resourceInputs["pendingWindowInDays"] = state ? state.pendingWindowInDays : undefined;
|
|
80
|
+
resourceInputs["protectionLevel"] = state ? state.protectionLevel : undefined;
|
|
81
|
+
resourceInputs["rotateState"] = state ? state.rotateState : undefined;
|
|
82
|
+
resourceInputs["rotationState"] = state ? state.rotationState : undefined;
|
|
83
|
+
resourceInputs["scheduleDeleteTime"] = state ? state.scheduleDeleteTime : undefined;
|
|
84
|
+
resourceInputs["scheduleRotationTime"] = state ? state.scheduleRotationTime : undefined;
|
|
85
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
86
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
87
|
+
resourceInputs["trn"] = state ? state.trn : undefined;
|
|
88
|
+
resourceInputs["updateDate"] = state ? state.updateDate : undefined;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
const args = argsOrState;
|
|
92
|
+
if ((!args || args.keyName === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'keyName'");
|
|
94
|
+
}
|
|
95
|
+
if ((!args || args.keyringName === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'keyringName'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
99
|
+
resourceInputs["keyName"] = args ? args.keyName : undefined;
|
|
100
|
+
resourceInputs["keySpec"] = args ? args.keySpec : undefined;
|
|
101
|
+
resourceInputs["keyUsage"] = args ? args.keyUsage : undefined;
|
|
102
|
+
resourceInputs["keyringName"] = args ? args.keyringName : undefined;
|
|
103
|
+
resourceInputs["multiRegion"] = args ? args.multiRegion : undefined;
|
|
104
|
+
resourceInputs["origin"] = args ? args.origin : undefined;
|
|
105
|
+
resourceInputs["pendingWindowInDays"] = args ? args.pendingWindowInDays : undefined;
|
|
106
|
+
resourceInputs["protectionLevel"] = args ? args.protectionLevel : undefined;
|
|
107
|
+
resourceInputs["rotateState"] = args ? args.rotateState : undefined;
|
|
108
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
109
|
+
resourceInputs["creationDate"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["keyMaterialExpireTime"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["lastRotationTime"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["multiRegionConfiguration"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["rotationState"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["scheduleDeleteTime"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["scheduleRotationTime"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["trn"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["updateDate"] = undefined /*out*/;
|
|
119
|
+
}
|
|
120
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
|
+
super(Key.__pulumiType, name, resourceInputs, opts);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.Key = Key;
|
|
125
|
+
/** @internal */
|
|
126
|
+
Key.__pulumiType = 'volcengine:kms/key:Key';
|
|
127
|
+
//# sourceMappingURL=key.js.map
|
package/kms/key.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;IA+FD,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,G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Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const fooKeyring = new volcengine.kms.Keyring("fooKeyring", {
|
|
11
|
+
* keyringName: "tf-test",
|
|
12
|
+
* description: "tf-test",
|
|
13
|
+
* projectName: "default",
|
|
14
|
+
* });
|
|
15
|
+
* const fooKey = new volcengine.kms.Key("fooKey", {
|
|
16
|
+
* keyringName: fooKeyring.keyringName,
|
|
17
|
+
* keyName: "mrk-tf-key-mod",
|
|
18
|
+
* description: "tf test key-mod",
|
|
19
|
+
* tags: [{
|
|
20
|
+
* key: "tfkey3",
|
|
21
|
+
* value: "tfvalue3",
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* const fooKeyArchive = new volcengine.kms.KeyArchive("fooKeyArchive", {keyId: fooKey.id});
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* KmsKeyArchive can be imported using the id, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import volcengine:kms/keyArchive:KeyArchive default resource_id
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* or
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcengine:kms/keyArchive:KeyArchive default key_name:keyring_name
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class KeyArchive extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing KeyArchive 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?: KeyArchiveState, opts?: pulumi.CustomResourceOptions): KeyArchive;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of KeyArchive. 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 KeyArchive;
|
|
57
|
+
/**
|
|
58
|
+
* The id of the CMK.
|
|
59
|
+
*/
|
|
60
|
+
readonly keyId: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the CMK.
|
|
63
|
+
*/
|
|
64
|
+
readonly keyName: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The state of the key.
|
|
67
|
+
*/
|
|
68
|
+
readonly keyState: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the keyring.
|
|
71
|
+
*/
|
|
72
|
+
readonly keyringName: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a KeyArchive resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args?: KeyArchiveArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering KeyArchive resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface KeyArchiveState {
|
|
86
|
+
/**
|
|
87
|
+
* The id of the CMK.
|
|
88
|
+
*/
|
|
89
|
+
keyId?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The name of the CMK.
|
|
92
|
+
*/
|
|
93
|
+
keyName?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The state of the key.
|
|
96
|
+
*/
|
|
97
|
+
keyState?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the keyring.
|
|
100
|
+
*/
|
|
101
|
+
keyringName?: pulumi.Input<string>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The set of arguments for constructing a KeyArchive resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface KeyArchiveArgs {
|
|
107
|
+
/**
|
|
108
|
+
* The id of the CMK.
|
|
109
|
+
*/
|
|
110
|
+
keyId?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The name of the CMK.
|
|
113
|
+
*/
|
|
114
|
+
keyName?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The name of the keyring.
|
|
117
|
+
*/
|
|
118
|
+
keyringName?: pulumi.Input<string>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.KeyArchive = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage kms key archive
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const fooKeyring = new volcengine.kms.Keyring("fooKeyring", {
|
|
17
|
+
* keyringName: "tf-test",
|
|
18
|
+
* description: "tf-test",
|
|
19
|
+
* projectName: "default",
|
|
20
|
+
* });
|
|
21
|
+
* const fooKey = new volcengine.kms.Key("fooKey", {
|
|
22
|
+
* keyringName: fooKeyring.keyringName,
|
|
23
|
+
* keyName: "mrk-tf-key-mod",
|
|
24
|
+
* description: "tf test key-mod",
|
|
25
|
+
* tags: [{
|
|
26
|
+
* key: "tfkey3",
|
|
27
|
+
* value: "tfvalue3",
|
|
28
|
+
* }],
|
|
29
|
+
* });
|
|
30
|
+
* const fooKeyArchive = new volcengine.kms.KeyArchive("fooKeyArchive", {keyId: fooKey.id});
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* KmsKeyArchive can be imported using the id, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcengine:kms/keyArchive:KeyArchive default resource_id
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* or
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import volcengine:kms/keyArchive:KeyArchive default key_name:keyring_name
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class KeyArchive extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing KeyArchive resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name, id, state, opts) {
|
|
58
|
+
return new KeyArchive(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of KeyArchive. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj) {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === KeyArchive.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
constructor(name, argsOrState, opts) {
|
|
71
|
+
let resourceInputs = {};
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
if (opts.id) {
|
|
74
|
+
const state = argsOrState;
|
|
75
|
+
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
76
|
+
resourceInputs["keyName"] = state ? state.keyName : undefined;
|
|
77
|
+
resourceInputs["keyState"] = state ? state.keyState : undefined;
|
|
78
|
+
resourceInputs["keyringName"] = state ? state.keyringName : undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
resourceInputs["keyId"] = args ? args.keyId : undefined;
|
|
83
|
+
resourceInputs["keyName"] = args ? args.keyName : undefined;
|
|
84
|
+
resourceInputs["keyringName"] = args ? args.keyringName : undefined;
|
|
85
|
+
resourceInputs["keyState"] = undefined /*out*/;
|
|
86
|
+
}
|
|
87
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
|
+
super(KeyArchive.__pulumiType, name, resourceInputs, opts);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.KeyArchive = KeyArchive;
|
|
92
|
+
/** @internal */
|
|
93
|
+
KeyArchive.__pulumiType = 'volcengine:kms/keyArchive:KeyArchive';
|
|
94
|
+
//# sourceMappingURL=keyArchive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyArchive.js","sourceRoot":"","sources":["../../kms/keyArchive.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA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C,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAvEL,gCAwEC;AA1DG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage kms key enable
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.kms.KeyEnable("foo", {keyId: "0e5a256d-d075-44b1-bcd2-09efafxxxxxx"});
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* KmsKeyEnable can be imported using the id, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import volcengine:kms/keyEnable:KeyEnable default resource_id
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* or
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcengine:kms/keyEnable:KeyEnable default key_name:keyring_name
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class KeyEnable extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing KeyEnable resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KeyEnableState, opts?: pulumi.CustomResourceOptions): KeyEnable;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of KeyEnable. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is KeyEnable;
|
|
43
|
+
/**
|
|
44
|
+
* The id of the CMK.
|
|
45
|
+
*/
|
|
46
|
+
readonly keyId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the CMK.
|
|
49
|
+
*/
|
|
50
|
+
readonly keyName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The state of the key.
|
|
53
|
+
*/
|
|
54
|
+
readonly keyState: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the keyring.
|
|
57
|
+
*/
|
|
58
|
+
readonly keyringName: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a KeyEnable resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args?: KeyEnableArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering KeyEnable resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface KeyEnableState {
|
|
72
|
+
/**
|
|
73
|
+
* The id of the CMK.
|
|
74
|
+
*/
|
|
75
|
+
keyId?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the CMK.
|
|
78
|
+
*/
|
|
79
|
+
keyName?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The state of the key.
|
|
82
|
+
*/
|
|
83
|
+
keyState?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the keyring.
|
|
86
|
+
*/
|
|
87
|
+
keyringName?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a KeyEnable resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface KeyEnableArgs {
|
|
93
|
+
/**
|
|
94
|
+
* The id of the CMK.
|
|
95
|
+
*/
|
|
96
|
+
keyId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The name of the CMK.
|
|
99
|
+
*/
|
|
100
|
+
keyName?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the keyring.
|
|
103
|
+
*/
|
|
104
|
+
keyringName?: pulumi.Input<string>;
|
|
105
|
+
}
|
package/kms/keyEnable.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
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.KeyEnable = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage kms key enable
|
|
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.kms.KeyEnable("foo", {keyId: "0e5a256d-d075-44b1-bcd2-09efafxxxxxx"});
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* KmsKeyEnable can be imported using the id, e.g.
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcengine:kms/keyEnable:KeyEnable default resource_id
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* or
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import volcengine:kms/keyEnable:KeyEnable default key_name:keyring_name
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class KeyEnable extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing KeyEnable resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new KeyEnable(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of KeyEnable. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === KeyEnable.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["keyId"] = state ? state.keyId : undefined;
|
|
62
|
+
resourceInputs["keyName"] = state ? state.keyName : undefined;
|
|
63
|
+
resourceInputs["keyState"] = state ? state.keyState : undefined;
|
|
64
|
+
resourceInputs["keyringName"] = state ? state.keyringName : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
resourceInputs["keyId"] = args ? args.keyId : undefined;
|
|
69
|
+
resourceInputs["keyName"] = args ? args.keyName : undefined;
|
|
70
|
+
resourceInputs["keyringName"] = args ? args.keyringName : undefined;
|
|
71
|
+
resourceInputs["keyState"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(KeyEnable.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.KeyEnable = KeyEnable;
|
|
78
|
+
/** @internal */
|
|
79
|
+
KeyEnable.__pulumiType = 'volcengine:kms/keyEnable:KeyEnable';
|
|
80
|
+
//# sourceMappingURL=keyEnable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyEnable.js","sourceRoot":"","sources":["../../kms/keyEnable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAvEL,8BAwEC;AA1DG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage kms key rotation
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.kms.KeyRotation("foo", {keyId: "m_cn-guilin-boe_63c08fe9-42e8-4c10-a09e-8e8e6xxxxxx"});
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* KmsKeyRotation can be imported using the id, e.g.
|
|
16
|
+
*
|
|
17
|
+
* ```sh
|
|
18
|
+
* $ pulumi import volcengine:kms/keyRotation:KeyRotation default resource_id
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* or
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import volcengine:kms/keyRotation:KeyRotation default key_name:keyring_name
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class KeyRotation extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing KeyRotation resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KeyRotationState, opts?: pulumi.CustomResourceOptions): KeyRotation;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of KeyRotation. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is KeyRotation;
|
|
43
|
+
/**
|
|
44
|
+
* The id of the CMK.
|
|
45
|
+
*/
|
|
46
|
+
readonly keyId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the CMK.
|
|
49
|
+
*/
|
|
50
|
+
readonly keyName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the keyring.
|
|
53
|
+
*/
|
|
54
|
+
readonly keyringName: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The state of the key rotation.
|
|
57
|
+
*/
|
|
58
|
+
readonly rotationState: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a KeyRotation resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args?: KeyRotationArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering KeyRotation resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface KeyRotationState {
|
|
72
|
+
/**
|
|
73
|
+
* The id of the CMK.
|
|
74
|
+
*/
|
|
75
|
+
keyId?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the CMK.
|
|
78
|
+
*/
|
|
79
|
+
keyName?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the keyring.
|
|
82
|
+
*/
|
|
83
|
+
keyringName?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The state of the key rotation.
|
|
86
|
+
*/
|
|
87
|
+
rotationState?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a KeyRotation resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface KeyRotationArgs {
|
|
93
|
+
/**
|
|
94
|
+
* The id of the CMK.
|
|
95
|
+
*/
|
|
96
|
+
keyId?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The name of the CMK.
|
|
99
|
+
*/
|
|
100
|
+
keyName?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The name of the keyring.
|
|
103
|
+
*/
|
|
104
|
+
keyringName?: pulumi.Input<string>;
|
|
105
|
+
}
|