@volcengine/pulumi 0.0.23 → 0.0.25
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/autoscaling/scalingConfiguration.d.ts +1 -1
- package/bandwidth_package/attachment.d.ts +71 -10
- package/bandwidth_package/attachment.js +71 -10
- package/bandwidth_package/attachment.js.map +1 -1
- package/bandwidth_package/bandwidthPackage.d.ts +4 -4
- package/bandwidth_package/bandwidthPackage.js +4 -4
- package/bandwidth_package/bandwidthPackages.d.ts +38 -4
- package/bandwidth_package/bandwidthPackages.js +38 -4
- package/bandwidth_package/bandwidthPackages.js.map +1 -1
- package/cdn/cdnCertificate.d.ts +110 -0
- package/cdn/cdnCertificate.js +93 -0
- package/cdn/cdnCertificate.js.map +1 -0
- package/cdn/cdnDomain.d.ts +199 -0
- package/cdn/cdnDomain.js +141 -0
- package/cdn/cdnDomain.js.map +1 -0
- package/cdn/certificates.d.ts +113 -0
- package/cdn/certificates.js +62 -0
- package/cdn/certificates.js.map +1 -0
- package/cdn/configs.d.ts +178 -0
- package/cdn/configs.js +146 -0
- package/cdn/configs.js.map +1 -0
- package/cdn/domains.d.ts +274 -0
- package/cdn/domains.js +155 -0
- package/cdn/domains.js.map +1 -0
- package/cdn/index.d.ts +21 -0
- package/cdn/index.js +44 -0
- package/cdn/index.js.map +1 -0
- package/cdn/sharedConfig.d.ts +194 -0
- package/cdn/sharedConfig.js +129 -0
- package/cdn/sharedConfig.js.map +1 -0
- package/cdn/sharedConfigs.d.ts +115 -0
- package/cdn/sharedConfigs.js +54 -0
- package/cdn/sharedConfigs.js.map +1 -0
- package/cen/attachInstance.d.ts +15 -8
- package/cen/attachInstance.js +15 -8
- package/cen/attachInstance.js.map +1 -1
- package/cen/attachInstances.d.ts +44 -4
- package/cen/attachInstances.js +44 -4
- package/cen/attachInstances.js.map +1 -1
- package/cen/bandwidthPackage.d.ts +12 -11
- package/cen/bandwidthPackage.js +8 -4
- package/cen/bandwidthPackage.js.map +1 -1
- package/cen/bandwidthPackageAssociate.d.ts +27 -3
- package/cen/bandwidthPackageAssociate.js +27 -3
- package/cen/bandwidthPackageAssociate.js.map +1 -1
- package/cen/bandwidthPackages.d.ts +42 -6
- package/cen/bandwidthPackages.js +42 -6
- package/cen/bandwidthPackages.js.map +1 -1
- package/cen/cen.d.ts +7 -3
- package/cen/cen.js +6 -2
- package/cen/cen.js.map +1 -1
- package/cen/cens.d.ts +30 -4
- package/cen/cens.js +30 -4
- package/cen/cens.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +35 -5
- package/cen/interRegionBandwidth.js +35 -5
- package/cen/interRegionBandwidth.js.map +1 -1
- package/cen/interRegionBandwidths.d.ts +78 -4
- package/cen/interRegionBandwidths.js +78 -4
- package/cen/interRegionBandwidths.js.map +1 -1
- package/cen/routeEntries.d.ts +0 -20
- package/cen/routeEntries.js +0 -20
- package/cen/routeEntries.js.map +1 -1
- package/cen/routeEntry.d.ts +0 -21
- package/cen/routeEntry.js +0 -21
- package/cen/routeEntry.js.map +1 -1
- package/cen/serviceRouteEntries.d.ts +98 -4
- package/cen/serviceRouteEntries.js +98 -4
- package/cen/serviceRouteEntries.js.map +1 -1
- package/cen/serviceRouteEntry.d.ts +31 -46
- package/cen/serviceRouteEntry.js +31 -46
- package/cen/serviceRouteEntry.js.map +1 -1
- package/cloud_identity/group.d.ts +126 -0
- package/cloud_identity/group.js +89 -0
- package/cloud_identity/group.js.map +1 -0
- package/cloud_identity/groups.d.ts +133 -0
- package/cloud_identity/groups.js +72 -0
- package/cloud_identity/groups.js.map +1 -0
- package/cloud_identity/index.d.ts +39 -0
- package/cloud_identity/index.js +70 -0
- package/cloud_identity/index.js.map +1 -0
- package/cloud_identity/permissionSet.d.ts +136 -0
- package/cloud_identity/permissionSet.js +95 -0
- package/cloud_identity/permissionSet.js.map +1 -0
- package/cloud_identity/permissionSetAssignment.d.ts +135 -0
- package/cloud_identity/permissionSetAssignment.js +118 -0
- package/cloud_identity/permissionSetAssignment.js.map +1 -0
- package/cloud_identity/permissionSetAssignments.d.ts +191 -0
- package/cloud_identity/permissionSetAssignments.js +119 -0
- package/cloud_identity/permissionSetAssignments.js.map +1 -0
- package/cloud_identity/permissionSetProvisioning.d.ts +133 -0
- package/cloud_identity/permissionSetProvisioning.js +120 -0
- package/cloud_identity/permissionSetProvisioning.js.map +1 -0
- package/cloud_identity/permissionSetProvisionings.d.ts +99 -0
- package/cloud_identity/permissionSetProvisionings.js +49 -0
- package/cloud_identity/permissionSetProvisionings.js.map +1 -0
- package/cloud_identity/permissionSets.d.ts +132 -0
- package/cloud_identity/permissionSets.js +96 -0
- package/cloud_identity/permissionSets.js.map +1 -0
- package/cloud_identity/user.d.ts +137 -0
- package/cloud_identity/user.js +91 -0
- package/cloud_identity/user.js.map +1 -0
- package/cloud_identity/userAttachment.d.ts +95 -0
- package/cloud_identity/userAttachment.js +92 -0
- package/cloud_identity/userAttachment.js.map +1 -0
- package/cloud_identity/userProvisioning.d.ts +171 -0
- package/cloud_identity/userProvisioning.js +98 -0
- package/cloud_identity/userProvisioning.js.map +1 -0
- package/cloud_identity/userProvisionings.d.ts +75 -0
- package/cloud_identity/userProvisionings.js +47 -0
- package/cloud_identity/userProvisionings.js.map +1 -0
- package/cloud_identity/users.d.ts +144 -0
- package/cloud_identity/users.js +75 -0
- package/cloud_identity/users.js.map +1 -0
- package/cloud_monitor/contact.d.ts +94 -0
- package/cloud_monitor/contact.js +78 -0
- package/cloud_monitor/contact.js.map +1 -0
- package/cloud_monitor/contactGroup.d.ts +97 -0
- package/cloud_monitor/contactGroup.js +78 -0
- package/cloud_monitor/contactGroup.js.map +1 -0
- package/cloud_monitor/contactGroups.d.ts +78 -0
- package/cloud_monitor/contactGroups.js +47 -0
- package/cloud_monitor/contactGroups.js.map +1 -0
- package/cloud_monitor/contacts.d.ts +81 -0
- package/cloud_monitor/contacts.js +52 -0
- package/cloud_monitor/contacts.js.map +1 -0
- package/cloud_monitor/eventRule.d.ts +250 -0
- package/cloud_monitor/eventRule.js +147 -0
- package/cloud_monitor/eventRule.js.map +1 -0
- package/cloud_monitor/eventRules.d.ts +90 -0
- package/cloud_monitor/eventRules.js +48 -0
- package/cloud_monitor/eventRules.js.map +1 -0
- package/cloud_monitor/index.d.ts +24 -0
- package/cloud_monitor/index.js +49 -0
- package/cloud_monitor/index.js.map +1 -0
- package/cloud_monitor/rule.d.ts +361 -0
- package/cloud_monitor/rule.js +201 -0
- package/cloud_monitor/rule.js.map +1 -0
- package/cloud_monitor/rules.d.ts +144 -0
- package/cloud_monitor/rules.js +53 -0
- package/cloud_monitor/rules.js.map +1 -0
- package/config/vars.d.ts +6 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/ebs/volume.d.ts +22 -0
- package/ebs/volume.js +10 -0
- package/ebs/volume.js.map +1 -1
- package/ebs/volumes.d.ts +13 -0
- package/ebs/volumes.js +1 -0
- package/ebs/volumes.js.map +1 -1
- package/ecs/instance.d.ts +15 -0
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/ecs/state.d.ts +7 -4
- package/ecs/state.js.map +1 -1
- package/eip/address.d.ts +3 -3
- package/financial_relation/financialRelation.d.ts +111 -0
- package/financial_relation/financialRelation.js +73 -0
- package/financial_relation/financialRelation.js.map +1 -0
- package/financial_relation/financialRelations.d.ts +103 -0
- package/financial_relation/financialRelations.js +53 -0
- package/financial_relation/financialRelations.js.map +1 -0
- package/financial_relation/index.d.ts +6 -0
- package/financial_relation/index.js +25 -0
- package/financial_relation/index.js.map +1 -0
- package/iam/accessKeys.d.ts +83 -0
- package/iam/accessKeys.js +44 -0
- package/iam/accessKeys.js.map +1 -0
- package/iam/index.d.ts +9 -0
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/iam/samlProvider.d.ts +144 -0
- package/iam/samlProvider.js +96 -0
- package/iam/samlProvider.js.map +1 -0
- package/iam/samlProviders.d.ts +62 -0
- package/iam/samlProviders.js +42 -0
- package/iam/samlProviders.js.map +1 -0
- package/index.d.ts +9 -1
- package/index.js +17 -1
- package/index.js.map +1 -1
- package/kafka/consumedPartitions.d.ts +235 -0
- package/kafka/consumedPartitions.js +190 -0
- package/kafka/consumedPartitions.js.map +1 -0
- package/kafka/consumedTopics.d.ts +238 -0
- package/kafka/consumedTopics.js +190 -0
- package/kafka/consumedTopics.js.map +1 -0
- package/kafka/group.d.ts +142 -0
- package/kafka/group.js +123 -0
- package/kafka/group.js.map +1 -0
- package/kafka/groups.d.ts +184 -0
- package/kafka/groups.js +136 -0
- package/kafka/groups.js.map +1 -0
- package/kafka/index.d.ts +42 -0
- package/kafka/index.js +69 -0
- package/kafka/index.js.map +1 -0
- package/kafka/instance.d.ts +322 -0
- package/kafka/instance.js +171 -0
- package/kafka/instance.js.map +1 -0
- package/kafka/instances.d.ts +205 -0
- package/kafka/instances.js +129 -0
- package/kafka/instances.js.map +1 -0
- package/kafka/publicAddress.d.ts +152 -0
- package/kafka/publicAddress.js +131 -0
- package/kafka/publicAddress.js.map +1 -0
- package/kafka/regions.d.ts +62 -0
- package/kafka/regions.js +42 -0
- package/kafka/regions.js.map +1 -0
- package/kafka/saslUser.d.ts +173 -0
- package/kafka/saslUser.js +135 -0
- package/kafka/saslUser.js.map +1 -0
- package/kafka/saslUsers.d.ts +183 -0
- package/kafka/saslUsers.js +143 -0
- package/kafka/saslUsers.js.map +1 -0
- package/kafka/topic.d.ts +216 -0
- package/kafka/topic.js +154 -0
- package/kafka/topic.js.map +1 -0
- package/kafka/topicPartitions.d.ts +240 -0
- package/kafka/topicPartitions.js +187 -0
- package/kafka/topicPartitions.js.map +1 -0
- package/kafka/topics.d.ts +260 -0
- package/kafka/topics.js +179 -0
- package/kafka/topics.js.map +1 -0
- package/kafka/zones.d.ts +75 -0
- package/kafka/zones.js +46 -0
- package/kafka/zones.js.map +1 -0
- package/nat/gateway.d.ts +4 -4
- package/nat/snatEntries.d.ts +4 -4
- package/nat/snatEntries.js +4 -4
- package/nat/snatEntry.d.ts +1 -1
- package/nat/snatEntry.js +1 -1
- package/organization/account.d.ts +183 -0
- package/organization/account.js +108 -0
- package/organization/account.js.map +1 -0
- package/organization/accounts.d.ts +105 -0
- package/organization/accounts.js +50 -0
- package/organization/accounts.js.map +1 -0
- package/organization/index.d.ts +30 -0
- package/organization/index.js +59 -0
- package/organization/index.js.map +1 -0
- package/organization/organization.d.ts +151 -0
- package/organization/organization.js +90 -0
- package/organization/organization.js.map +1 -0
- package/organization/organizations.d.ts +71 -0
- package/organization/organizations.js +43 -0
- package/organization/organizations.js.map +1 -0
- package/organization/serviceControlPolicies.d.ts +89 -0
- package/organization/serviceControlPolicies.js +50 -0
- package/organization/serviceControlPolicies.js.map +1 -0
- package/organization/serviceControlPolicy.d.ts +123 -0
- package/organization/serviceControlPolicy.js +92 -0
- package/organization/serviceControlPolicy.js.map +1 -0
- package/organization/serviceControlPolicyAttachment.d.ts +105 -0
- package/organization/serviceControlPolicyAttachment.js +95 -0
- package/organization/serviceControlPolicyAttachment.js.map +1 -0
- package/organization/serviceControlPolicyEnabler.d.ts +55 -0
- package/organization/serviceControlPolicyEnabler.js +66 -0
- package/organization/serviceControlPolicyEnabler.js.map +1 -0
- package/organization/unit.d.ts +129 -0
- package/organization/unit.js +89 -0
- package/organization/unit.js.map +1 -0
- package/organization/units.d.ts +62 -0
- package/organization/units.js +42 -0
- package/organization/units.js.map +1 -0
- package/package.json +2 -2
- package/privatelink/securityGroup.d.ts +60 -6
- package/privatelink/securityGroup.js +54 -3
- package/privatelink/securityGroup.js.map +1 -1
- package/privatelink/vpcEndpoint.d.ts +51 -12
- package/privatelink/vpcEndpoint.js +45 -9
- package/privatelink/vpcEndpoint.js.map +1 -1
- package/privatelink/vpcEndpointConnection.d.ts +60 -3
- package/privatelink/vpcEndpointConnection.js +60 -3
- package/privatelink/vpcEndpointConnection.js.map +1 -1
- package/privatelink/vpcEndpointConnections.d.ts +120 -6
- package/privatelink/vpcEndpointConnections.js +120 -6
- package/privatelink/vpcEndpointConnections.js.map +1 -1
- package/privatelink/vpcEndpointService.d.ts +33 -4
- package/privatelink/vpcEndpointService.js +33 -4
- package/privatelink/vpcEndpointService.js.map +1 -1
- package/privatelink/vpcEndpointServicePermission.d.ts +39 -6
- package/privatelink/vpcEndpointServicePermission.js +39 -6
- package/privatelink/vpcEndpointServicePermission.js.map +1 -1
- package/privatelink/vpcEndpointServicePermissions.d.ts +88 -4
- package/privatelink/vpcEndpointServicePermissions.js +88 -4
- package/privatelink/vpcEndpointServicePermissions.js.map +1 -1
- package/privatelink/vpcEndpointServiceResource.d.ts +55 -9
- package/privatelink/vpcEndpointServiceResource.js +55 -9
- package/privatelink/vpcEndpointServiceResource.js.map +1 -1
- package/privatelink/vpcEndpointServices.d.ts +84 -10
- package/privatelink/vpcEndpointServices.js +84 -10
- package/privatelink/vpcEndpointServices.js.map +1 -1
- package/privatelink/vpcEndpointZone.d.ts +50 -3
- package/privatelink/vpcEndpointZone.js +50 -3
- package/privatelink/vpcEndpointZone.js.map +1 -1
- package/privatelink/vpcEndpointZones.d.ts +108 -4
- package/privatelink/vpcEndpointZones.js +108 -4
- package/privatelink/vpcEndpointZones.js.map +1 -1
- package/privatelink/vpcEndpoints.d.ts +104 -4
- package/privatelink/vpcEndpoints.js +104 -4
- package/privatelink/vpcEndpoints.js.map +1 -1
- package/provider.d.ts +6 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/rds_mssql/backup.d.ts +101 -0
- package/rds_mssql/backup.js +77 -0
- package/rds_mssql/backup.js.map +1 -0
- package/rds_mssql/backups.d.ts +123 -0
- package/rds_mssql/backups.js +50 -0
- package/rds_mssql/backups.js.map +1 -0
- package/rds_mssql/index.d.ts +18 -0
- package/rds_mssql/index.js +39 -0
- package/rds_mssql/index.js.map +1 -0
- package/rds_mssql/instance.d.ts +256 -0
- package/rds_mssql/instance.js +149 -0
- package/rds_mssql/instance.js.map +1 -0
- package/rds_mssql/instances.d.ts +190 -0
- package/rds_mssql/instances.js +57 -0
- package/rds_mssql/instances.js.map +1 -0
- package/rds_mssql/regions.d.ts +62 -0
- package/rds_mssql/regions.js +42 -0
- package/rds_mssql/regions.js.map +1 -0
- package/rds_mssql/zones.d.ts +71 -0
- package/rds_mssql/zones.js +43 -0
- package/rds_mssql/zones.js.map +1 -0
- package/rds_postgresql/account.d.ts +141 -0
- package/rds_postgresql/account.js +104 -0
- package/rds_postgresql/account.js.map +1 -0
- package/rds_postgresql/accounts.d.ts +87 -0
- package/rds_postgresql/accounts.js +47 -0
- package/rds_postgresql/accounts.js.map +1 -0
- package/rds_postgresql/database.d.ts +140 -0
- package/rds_postgresql/database.js +91 -0
- package/rds_postgresql/database.js.map +1 -0
- package/rds_postgresql/databases.d.ts +89 -0
- package/rds_postgresql/databases.js +49 -0
- package/rds_postgresql/databases.js.map +1 -0
- package/rds_postgresql/index.d.ts +27 -0
- package/rds_postgresql/index.js +54 -0
- package/rds_postgresql/index.js.map +1 -0
- package/rds_postgresql/instance.d.ts +371 -0
- package/rds_postgresql/instance.js +180 -0
- package/rds_postgresql/instance.js.map +1 -0
- package/rds_postgresql/instanceReadonlyNode.d.ts +142 -0
- package/rds_postgresql/instanceReadonlyNode.js +126 -0
- package/rds_postgresql/instanceReadonlyNode.js.map +1 -0
- package/rds_postgresql/instances.d.ts +258 -0
- package/rds_postgresql/instances.js +134 -0
- package/rds_postgresql/instances.js.map +1 -0
- package/rds_postgresql/schema.d.ts +167 -0
- package/rds_postgresql/schema.js +150 -0
- package/rds_postgresql/schema.js.map +1 -0
- package/rds_postgresql/schemas.d.ts +219 -0
- package/rds_postgresql/schemas.js +179 -0
- package/rds_postgresql/schemas.js.map +1 -0
- package/redis/instance.d.ts +3 -3
- package/tls/index_.d.ts +3 -2
- package/tls/index_.js +3 -2
- package/tls/index_.js.map +1 -1
- package/tos/bucket.d.ts +30 -1
- package/tos/bucket.js +10 -1
- package/tos/bucket.js.map +1 -1
- package/tos/bucketObject.d.ts +29 -9
- package/tos/bucketObject.js +9 -6
- package/tos/bucketObject.js.map +1 -1
- package/tos/bucketPolicy.d.ts +2 -2
- package/tos/bucketPolicy.js +2 -2
- package/transit_router/bandwidthPackage.d.ts +29 -0
- package/transit_router/bandwidthPackage.js +9 -0
- package/transit_router/bandwidthPackage.js.map +1 -1
- package/transit_router/bandwidthPackages.d.ts +25 -0
- package/transit_router/bandwidthPackages.js +2 -0
- package/transit_router/bandwidthPackages.js.map +1 -1
- package/transit_router/directConnectGatewayAttachment.d.ts +35 -5
- package/transit_router/directConnectGatewayAttachment.js +23 -5
- package/transit_router/directConnectGatewayAttachment.js.map +1 -1
- package/transit_router/directConnectGatewayAttachments.d.ts +13 -0
- package/transit_router/directConnectGatewayAttachments.js +1 -0
- package/transit_router/directConnectGatewayAttachments.js.map +1 -1
- package/transit_router/grantRule.d.ts +8 -4
- package/transit_router/grantRule.js +8 -4
- package/transit_router/grantRule.js.map +1 -1
- package/transit_router/peerAttachment.d.ts +37 -6
- package/transit_router/peerAttachment.js +25 -6
- package/transit_router/peerAttachment.js.map +1 -1
- package/transit_router/peerAttachments.d.ts +13 -0
- package/transit_router/peerAttachments.js +1 -0
- package/transit_router/peerAttachments.js.map +1 -1
- package/transit_router/routeEntry.d.ts +72 -5
- package/transit_router/routeEntry.js +72 -5
- package/transit_router/routeEntry.js.map +1 -1
- package/transit_router/routeTable.d.ts +26 -4
- package/transit_router/routeTable.js +14 -4
- package/transit_router/routeTable.js.map +1 -1
- package/transit_router/routeTableAssociation.d.ts +69 -3
- package/transit_router/routeTableAssociation.js +69 -3
- package/transit_router/routeTableAssociation.js.map +1 -1
- package/transit_router/routeTablePropagation.d.ts +46 -3
- package/transit_router/routeTablePropagation.js +46 -3
- package/transit_router/routeTablePropagation.js.map +1 -1
- package/transit_router/routeTables.d.ts +39 -6
- package/transit_router/routeTables.js +27 -6
- package/transit_router/routeTables.js.map +1 -1
- package/transit_router/sharedTransitRouterState.d.ts +6 -2
- package/transit_router/sharedTransitRouterState.js +6 -2
- package/transit_router/sharedTransitRouterState.js.map +1 -1
- package/transit_router/transitRouter.d.ts +42 -0
- package/transit_router/transitRouter.js +12 -0
- package/transit_router/transitRouter.js.map +1 -1
- package/transit_router/transitRouters.d.ts +41 -6
- package/transit_router/transitRouters.js +18 -6
- package/transit_router/transitRouters.js.map +1 -1
- package/transit_router/vpcAttachment.d.ts +60 -8
- package/transit_router/vpcAttachment.js +40 -8
- package/transit_router/vpcAttachment.js.map +1 -1
- package/transit_router/vpcAttachments.d.ts +13 -0
- package/transit_router/vpcAttachments.js +1 -0
- package/transit_router/vpcAttachments.js.map +1 -1
- package/transit_router/vpnAttachment.d.ts +77 -5
- package/transit_router/vpnAttachment.js +65 -5
- package/transit_router/vpnAttachment.js.map +1 -1
- package/transit_router/vpnAttachments.d.ts +13 -0
- package/transit_router/vpnAttachments.js +1 -0
- package/transit_router/vpnAttachments.js.map +1 -1
- package/types/input.d.ts +998 -36
- package/types/output.d.ts +6098 -2670
- package/vke/cluster.d.ts +3 -14
- package/vke/cluster.js +0 -11
- package/vke/cluster.js.map +1 -1
- package/vke/clusters.d.ts +0 -22
- package/vke/clusters.js +0 -22
- package/vke/clusters.js.map +1 -1
- package/vke/kubeconfigs.d.ts +9 -0
- package/vke/kubeconfigs.js +1 -0
- package/vke/kubeconfigs.js.map +1 -1
- package/vpc/subnet.d.ts +14 -0
- package/vpc/subnet.js +2 -0
- package/vpc/subnet.js.map +1 -1
- package/vpc/subnets.d.ts +13 -0
- package/vpc/subnets.js +1 -0
- package/vpc/subnets.js.map +1 -1
|
@@ -0,0 +1,183 @@
|
|
|
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 kafka sasl users
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
13
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
14
|
+
* vpcName: "acc-test-vpc",
|
|
15
|
+
* cidrBlock: "172.16.0.0/16",
|
|
16
|
+
* });
|
|
17
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
18
|
+
* subnetName: "acc-test-subnet",
|
|
19
|
+
* cidrBlock: "172.16.0.0/24",
|
|
20
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
21
|
+
* vpcId: fooVpc.id,
|
|
22
|
+
* });
|
|
23
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
24
|
+
* instanceName: "acc-test-kafka",
|
|
25
|
+
* instanceDescription: "tf-test",
|
|
26
|
+
* version: "2.2.2",
|
|
27
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
28
|
+
* subnetId: fooSubnet.id,
|
|
29
|
+
* userName: "tf-user",
|
|
30
|
+
* userPassword: "tf-pass!@q1",
|
|
31
|
+
* chargeType: "PostPaid",
|
|
32
|
+
* storageSpace: 300,
|
|
33
|
+
* partitionNumber: 350,
|
|
34
|
+
* projectName: "default",
|
|
35
|
+
* tags: [{
|
|
36
|
+
* key: "k1",
|
|
37
|
+
* value: "v1",
|
|
38
|
+
* }],
|
|
39
|
+
* parameters: [
|
|
40
|
+
* {
|
|
41
|
+
* parameterName: "MessageMaxByte",
|
|
42
|
+
* parameterValue: "12",
|
|
43
|
+
* },
|
|
44
|
+
* {
|
|
45
|
+
* parameterName: "LogRetentionHours",
|
|
46
|
+
* parameterValue: "70",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* });
|
|
50
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
51
|
+
* userName: "acc-test-user",
|
|
52
|
+
* instanceId: fooInstance.id,
|
|
53
|
+
* userPassword: "suqsnis123!",
|
|
54
|
+
* description: "tf-test",
|
|
55
|
+
* allAuthority: true,
|
|
56
|
+
* passwordType: "Scram",
|
|
57
|
+
* });
|
|
58
|
+
* const default = volcengine.kafka.SaslUsersOutput({
|
|
59
|
+
* instanceId: fooInstance.id,
|
|
60
|
+
* userName: fooSaslUser.userName,
|
|
61
|
+
* });
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare function saslUsers(args: SaslUsersArgs, opts?: pulumi.InvokeOptions): Promise<SaslUsersResult>;
|
|
65
|
+
/**
|
|
66
|
+
* A collection of arguments for invoking SaslUsers.
|
|
67
|
+
*/
|
|
68
|
+
export interface SaslUsersArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The id of instance.
|
|
71
|
+
*/
|
|
72
|
+
instanceId: string;
|
|
73
|
+
/**
|
|
74
|
+
* File name where to save data source results.
|
|
75
|
+
*/
|
|
76
|
+
outputFile?: string;
|
|
77
|
+
/**
|
|
78
|
+
* The user name, support fuzzy matching.
|
|
79
|
+
*/
|
|
80
|
+
userName?: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* A collection of values returned by SaslUsers.
|
|
84
|
+
*/
|
|
85
|
+
export interface SaslUsersResult {
|
|
86
|
+
/**
|
|
87
|
+
* The provider-assigned unique ID for this managed resource.
|
|
88
|
+
*/
|
|
89
|
+
readonly id: string;
|
|
90
|
+
readonly instanceId: string;
|
|
91
|
+
readonly outputFile?: string;
|
|
92
|
+
/**
|
|
93
|
+
* The total count of query.
|
|
94
|
+
*/
|
|
95
|
+
readonly totalCount: number;
|
|
96
|
+
/**
|
|
97
|
+
* The name of user.
|
|
98
|
+
*/
|
|
99
|
+
readonly userName?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The collection of query.
|
|
102
|
+
*/
|
|
103
|
+
readonly users: outputs.kafka.SaslUsersUser[];
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Use this data source to query detailed information of kafka sasl users
|
|
107
|
+
* ## Example Usage
|
|
108
|
+
*
|
|
109
|
+
* ```typescript
|
|
110
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
111
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
112
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
113
|
+
*
|
|
114
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
115
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
116
|
+
* vpcName: "acc-test-vpc",
|
|
117
|
+
* cidrBlock: "172.16.0.0/16",
|
|
118
|
+
* });
|
|
119
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
120
|
+
* subnetName: "acc-test-subnet",
|
|
121
|
+
* cidrBlock: "172.16.0.0/24",
|
|
122
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
123
|
+
* vpcId: fooVpc.id,
|
|
124
|
+
* });
|
|
125
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
126
|
+
* instanceName: "acc-test-kafka",
|
|
127
|
+
* instanceDescription: "tf-test",
|
|
128
|
+
* version: "2.2.2",
|
|
129
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
130
|
+
* subnetId: fooSubnet.id,
|
|
131
|
+
* userName: "tf-user",
|
|
132
|
+
* userPassword: "tf-pass!@q1",
|
|
133
|
+
* chargeType: "PostPaid",
|
|
134
|
+
* storageSpace: 300,
|
|
135
|
+
* partitionNumber: 350,
|
|
136
|
+
* projectName: "default",
|
|
137
|
+
* tags: [{
|
|
138
|
+
* key: "k1",
|
|
139
|
+
* value: "v1",
|
|
140
|
+
* }],
|
|
141
|
+
* parameters: [
|
|
142
|
+
* {
|
|
143
|
+
* parameterName: "MessageMaxByte",
|
|
144
|
+
* parameterValue: "12",
|
|
145
|
+
* },
|
|
146
|
+
* {
|
|
147
|
+
* parameterName: "LogRetentionHours",
|
|
148
|
+
* parameterValue: "70",
|
|
149
|
+
* },
|
|
150
|
+
* ],
|
|
151
|
+
* });
|
|
152
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
153
|
+
* userName: "acc-test-user",
|
|
154
|
+
* instanceId: fooInstance.id,
|
|
155
|
+
* userPassword: "suqsnis123!",
|
|
156
|
+
* description: "tf-test",
|
|
157
|
+
* allAuthority: true,
|
|
158
|
+
* passwordType: "Scram",
|
|
159
|
+
* });
|
|
160
|
+
* const default = volcengine.kafka.SaslUsersOutput({
|
|
161
|
+
* instanceId: fooInstance.id,
|
|
162
|
+
* userName: fooSaslUser.userName,
|
|
163
|
+
* });
|
|
164
|
+
* ```
|
|
165
|
+
*/
|
|
166
|
+
export declare function saslUsersOutput(args: SaslUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SaslUsersResult>;
|
|
167
|
+
/**
|
|
168
|
+
* A collection of arguments for invoking SaslUsers.
|
|
169
|
+
*/
|
|
170
|
+
export interface SaslUsersOutputArgs {
|
|
171
|
+
/**
|
|
172
|
+
* The id of instance.
|
|
173
|
+
*/
|
|
174
|
+
instanceId: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* File name where to save data source results.
|
|
177
|
+
*/
|
|
178
|
+
outputFile?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* The user name, support fuzzy matching.
|
|
181
|
+
*/
|
|
182
|
+
userName?: pulumi.Input<string>;
|
|
183
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
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.saslUsersOutput = exports.saslUsers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of kafka sasl users
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
19
|
+
* vpcName: "acc-test-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* });
|
|
22
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
23
|
+
* subnetName: "acc-test-subnet",
|
|
24
|
+
* cidrBlock: "172.16.0.0/24",
|
|
25
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
26
|
+
* vpcId: fooVpc.id,
|
|
27
|
+
* });
|
|
28
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
29
|
+
* instanceName: "acc-test-kafka",
|
|
30
|
+
* instanceDescription: "tf-test",
|
|
31
|
+
* version: "2.2.2",
|
|
32
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
33
|
+
* subnetId: fooSubnet.id,
|
|
34
|
+
* userName: "tf-user",
|
|
35
|
+
* userPassword: "tf-pass!@q1",
|
|
36
|
+
* chargeType: "PostPaid",
|
|
37
|
+
* storageSpace: 300,
|
|
38
|
+
* partitionNumber: 350,
|
|
39
|
+
* projectName: "default",
|
|
40
|
+
* tags: [{
|
|
41
|
+
* key: "k1",
|
|
42
|
+
* value: "v1",
|
|
43
|
+
* }],
|
|
44
|
+
* parameters: [
|
|
45
|
+
* {
|
|
46
|
+
* parameterName: "MessageMaxByte",
|
|
47
|
+
* parameterValue: "12",
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* parameterName: "LogRetentionHours",
|
|
51
|
+
* parameterValue: "70",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* });
|
|
55
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
56
|
+
* userName: "acc-test-user",
|
|
57
|
+
* instanceId: fooInstance.id,
|
|
58
|
+
* userPassword: "suqsnis123!",
|
|
59
|
+
* description: "tf-test",
|
|
60
|
+
* allAuthority: true,
|
|
61
|
+
* passwordType: "Scram",
|
|
62
|
+
* });
|
|
63
|
+
* const default = volcengine.kafka.SaslUsersOutput({
|
|
64
|
+
* instanceId: fooInstance.id,
|
|
65
|
+
* userName: fooSaslUser.userName,
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
function saslUsers(args, opts) {
|
|
70
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
71
|
+
return pulumi.runtime.invoke("volcengine:kafka/saslUsers:SaslUsers", {
|
|
72
|
+
"instanceId": args.instanceId,
|
|
73
|
+
"outputFile": args.outputFile,
|
|
74
|
+
"userName": args.userName,
|
|
75
|
+
}, opts);
|
|
76
|
+
}
|
|
77
|
+
exports.saslUsers = saslUsers;
|
|
78
|
+
/**
|
|
79
|
+
* Use this data source to query detailed information of kafka sasl users
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
85
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
86
|
+
*
|
|
87
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
88
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
89
|
+
* vpcName: "acc-test-vpc",
|
|
90
|
+
* cidrBlock: "172.16.0.0/16",
|
|
91
|
+
* });
|
|
92
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
93
|
+
* subnetName: "acc-test-subnet",
|
|
94
|
+
* cidrBlock: "172.16.0.0/24",
|
|
95
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
96
|
+
* vpcId: fooVpc.id,
|
|
97
|
+
* });
|
|
98
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
99
|
+
* instanceName: "acc-test-kafka",
|
|
100
|
+
* instanceDescription: "tf-test",
|
|
101
|
+
* version: "2.2.2",
|
|
102
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
103
|
+
* subnetId: fooSubnet.id,
|
|
104
|
+
* userName: "tf-user",
|
|
105
|
+
* userPassword: "tf-pass!@q1",
|
|
106
|
+
* chargeType: "PostPaid",
|
|
107
|
+
* storageSpace: 300,
|
|
108
|
+
* partitionNumber: 350,
|
|
109
|
+
* projectName: "default",
|
|
110
|
+
* tags: [{
|
|
111
|
+
* key: "k1",
|
|
112
|
+
* value: "v1",
|
|
113
|
+
* }],
|
|
114
|
+
* parameters: [
|
|
115
|
+
* {
|
|
116
|
+
* parameterName: "MessageMaxByte",
|
|
117
|
+
* parameterValue: "12",
|
|
118
|
+
* },
|
|
119
|
+
* {
|
|
120
|
+
* parameterName: "LogRetentionHours",
|
|
121
|
+
* parameterValue: "70",
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* });
|
|
125
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
126
|
+
* userName: "acc-test-user",
|
|
127
|
+
* instanceId: fooInstance.id,
|
|
128
|
+
* userPassword: "suqsnis123!",
|
|
129
|
+
* description: "tf-test",
|
|
130
|
+
* allAuthority: true,
|
|
131
|
+
* passwordType: "Scram",
|
|
132
|
+
* });
|
|
133
|
+
* const default = volcengine.kafka.SaslUsersOutput({
|
|
134
|
+
* instanceId: fooInstance.id,
|
|
135
|
+
* userName: fooSaslUser.userName,
|
|
136
|
+
* });
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
function saslUsersOutput(args, opts) {
|
|
140
|
+
return pulumi.output(args).apply((a) => saslUsers(a, opts));
|
|
141
|
+
}
|
|
142
|
+
exports.saslUsersOutput = saslUsersOutput;
|
|
143
|
+
//# sourceMappingURL=saslUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saslUsers.js","sourceRoot":"","sources":["../../kafka/saslUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AA2CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/kafka/topic.d.ts
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
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 kafka topic
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
12
|
+
*
|
|
13
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
14
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
15
|
+
* vpcName: "acc-test-vpc",
|
|
16
|
+
* cidrBlock: "172.16.0.0/16",
|
|
17
|
+
* });
|
|
18
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
19
|
+
* subnetName: "acc-test-subnet",
|
|
20
|
+
* cidrBlock: "172.16.0.0/24",
|
|
21
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
22
|
+
* vpcId: fooVpc.id,
|
|
23
|
+
* });
|
|
24
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
25
|
+
* instanceName: "acc-test-kafka",
|
|
26
|
+
* instanceDescription: "tf-test",
|
|
27
|
+
* version: "2.2.2",
|
|
28
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
29
|
+
* subnetId: fooSubnet.id,
|
|
30
|
+
* userName: "tf-user",
|
|
31
|
+
* userPassword: "tf-pass!@q1",
|
|
32
|
+
* chargeType: "PostPaid",
|
|
33
|
+
* storageSpace: 300,
|
|
34
|
+
* partitionNumber: 350,
|
|
35
|
+
* projectName: "default",
|
|
36
|
+
* tags: [{
|
|
37
|
+
* key: "k1",
|
|
38
|
+
* value: "v1",
|
|
39
|
+
* }],
|
|
40
|
+
* parameters: [
|
|
41
|
+
* {
|
|
42
|
+
* parameterName: "MessageMaxByte",
|
|
43
|
+
* parameterValue: "12",
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* parameterName: "LogRetentionHours",
|
|
47
|
+
* parameterValue: "70",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* });
|
|
51
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
52
|
+
* userName: "acc-test-user",
|
|
53
|
+
* instanceId: fooInstance.id,
|
|
54
|
+
* userPassword: "suqsnis123!",
|
|
55
|
+
* description: "tf-test",
|
|
56
|
+
* allAuthority: true,
|
|
57
|
+
* passwordType: "Scram",
|
|
58
|
+
* });
|
|
59
|
+
* const fooTopic = new volcengine.kafka.Topic("fooTopic", {
|
|
60
|
+
* topicName: "acc-test-topic",
|
|
61
|
+
* instanceId: fooInstance.id,
|
|
62
|
+
* description: "tf-test",
|
|
63
|
+
* partitionNumber: 15,
|
|
64
|
+
* replicaNumber: 3,
|
|
65
|
+
* parameters: {
|
|
66
|
+
* minInsyncReplicaNumber: 2,
|
|
67
|
+
* messageMaxByte: 10,
|
|
68
|
+
* logRetentionHours: 96,
|
|
69
|
+
* },
|
|
70
|
+
* allAuthority: false,
|
|
71
|
+
* accessPolicies: [{
|
|
72
|
+
* userName: fooSaslUser.userName,
|
|
73
|
+
* accessPolicy: "Pub",
|
|
74
|
+
* }],
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* ## Import
|
|
79
|
+
*
|
|
80
|
+
* KafkaTopic can be imported using the instance_id:topic_name, e.g.
|
|
81
|
+
*
|
|
82
|
+
* ```sh
|
|
83
|
+
* $ pulumi import volcengine:kafka/topic:Topic default kafka-cnoeeapetf4s****:topic
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
export declare class Topic extends pulumi.CustomResource {
|
|
87
|
+
/**
|
|
88
|
+
* Get an existing Topic resource's state with the given name, ID, and optional extra
|
|
89
|
+
* properties used to qualify the lookup.
|
|
90
|
+
*
|
|
91
|
+
* @param name The _unique_ name of the resulting resource.
|
|
92
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
93
|
+
* @param state Any extra arguments used during the lookup.
|
|
94
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
95
|
+
*/
|
|
96
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopicState, opts?: pulumi.CustomResourceOptions): Topic;
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of Topic. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj: any): obj is Topic;
|
|
102
|
+
/**
|
|
103
|
+
* The access policies info of the kafka topic. This field only valid when the value of the AllAuthority is false.
|
|
104
|
+
*/
|
|
105
|
+
readonly accessPolicies: pulumi.Output<outputs.kafka.TopicAccessPolicy[] | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Whether the kafka topic is configured to be accessible by all users. Default: true.
|
|
108
|
+
*/
|
|
109
|
+
readonly allAuthority: pulumi.Output<boolean | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* The description of the kafka topic.
|
|
112
|
+
*/
|
|
113
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* The instance id of the kafka topic.
|
|
116
|
+
*/
|
|
117
|
+
readonly instanceId: pulumi.Output<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The parameters of the kafka topic.
|
|
120
|
+
*/
|
|
121
|
+
readonly parameters: pulumi.Output<outputs.kafka.TopicParameters>;
|
|
122
|
+
/**
|
|
123
|
+
* The number of partition in kafka topic. The value range in 1-300. This field can only be adjusted up but not down.
|
|
124
|
+
*/
|
|
125
|
+
readonly partitionNumber: pulumi.Output<number>;
|
|
126
|
+
/**
|
|
127
|
+
* The number of replica in kafka topic. The value can be 2 or 3. Default is 3.
|
|
128
|
+
*/
|
|
129
|
+
readonly replicaNumber: pulumi.Output<number | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* The name of the kafka topic.
|
|
132
|
+
*/
|
|
133
|
+
readonly topicName: pulumi.Output<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Create a Topic resource with the given unique name, arguments, and options.
|
|
136
|
+
*
|
|
137
|
+
* @param name The _unique_ name of the resource.
|
|
138
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
139
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
140
|
+
*/
|
|
141
|
+
constructor(name: string, args: TopicArgs, opts?: pulumi.CustomResourceOptions);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Input properties used for looking up and filtering Topic resources.
|
|
145
|
+
*/
|
|
146
|
+
export interface TopicState {
|
|
147
|
+
/**
|
|
148
|
+
* The access policies info of the kafka topic. This field only valid when the value of the AllAuthority is false.
|
|
149
|
+
*/
|
|
150
|
+
accessPolicies?: pulumi.Input<pulumi.Input<inputs.kafka.TopicAccessPolicy>[]>;
|
|
151
|
+
/**
|
|
152
|
+
* Whether the kafka topic is configured to be accessible by all users. Default: true.
|
|
153
|
+
*/
|
|
154
|
+
allAuthority?: pulumi.Input<boolean>;
|
|
155
|
+
/**
|
|
156
|
+
* The description of the kafka topic.
|
|
157
|
+
*/
|
|
158
|
+
description?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The instance id of the kafka topic.
|
|
161
|
+
*/
|
|
162
|
+
instanceId?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The parameters of the kafka topic.
|
|
165
|
+
*/
|
|
166
|
+
parameters?: pulumi.Input<inputs.kafka.TopicParameters>;
|
|
167
|
+
/**
|
|
168
|
+
* The number of partition in kafka topic. The value range in 1-300. This field can only be adjusted up but not down.
|
|
169
|
+
*/
|
|
170
|
+
partitionNumber?: pulumi.Input<number>;
|
|
171
|
+
/**
|
|
172
|
+
* The number of replica in kafka topic. The value can be 2 or 3. Default is 3.
|
|
173
|
+
*/
|
|
174
|
+
replicaNumber?: pulumi.Input<number>;
|
|
175
|
+
/**
|
|
176
|
+
* The name of the kafka topic.
|
|
177
|
+
*/
|
|
178
|
+
topicName?: pulumi.Input<string>;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* The set of arguments for constructing a Topic resource.
|
|
182
|
+
*/
|
|
183
|
+
export interface TopicArgs {
|
|
184
|
+
/**
|
|
185
|
+
* The access policies info of the kafka topic. This field only valid when the value of the AllAuthority is false.
|
|
186
|
+
*/
|
|
187
|
+
accessPolicies?: pulumi.Input<pulumi.Input<inputs.kafka.TopicAccessPolicy>[]>;
|
|
188
|
+
/**
|
|
189
|
+
* Whether the kafka topic is configured to be accessible by all users. Default: true.
|
|
190
|
+
*/
|
|
191
|
+
allAuthority?: pulumi.Input<boolean>;
|
|
192
|
+
/**
|
|
193
|
+
* The description of the kafka topic.
|
|
194
|
+
*/
|
|
195
|
+
description?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* The instance id of the kafka topic.
|
|
198
|
+
*/
|
|
199
|
+
instanceId: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* The parameters of the kafka topic.
|
|
202
|
+
*/
|
|
203
|
+
parameters?: pulumi.Input<inputs.kafka.TopicParameters>;
|
|
204
|
+
/**
|
|
205
|
+
* The number of partition in kafka topic. The value range in 1-300. This field can only be adjusted up but not down.
|
|
206
|
+
*/
|
|
207
|
+
partitionNumber: pulumi.Input<number>;
|
|
208
|
+
/**
|
|
209
|
+
* The number of replica in kafka topic. The value can be 2 or 3. Default is 3.
|
|
210
|
+
*/
|
|
211
|
+
replicaNumber?: pulumi.Input<number>;
|
|
212
|
+
/**
|
|
213
|
+
* The name of the kafka topic.
|
|
214
|
+
*/
|
|
215
|
+
topicName: pulumi.Input<string>;
|
|
216
|
+
}
|
package/kafka/topic.js
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
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.Topic = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage kafka topic
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
19
|
+
* vpcName: "acc-test-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* });
|
|
22
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
23
|
+
* subnetName: "acc-test-subnet",
|
|
24
|
+
* cidrBlock: "172.16.0.0/24",
|
|
25
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
26
|
+
* vpcId: fooVpc.id,
|
|
27
|
+
* });
|
|
28
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
29
|
+
* instanceName: "acc-test-kafka",
|
|
30
|
+
* instanceDescription: "tf-test",
|
|
31
|
+
* version: "2.2.2",
|
|
32
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
33
|
+
* subnetId: fooSubnet.id,
|
|
34
|
+
* userName: "tf-user",
|
|
35
|
+
* userPassword: "tf-pass!@q1",
|
|
36
|
+
* chargeType: "PostPaid",
|
|
37
|
+
* storageSpace: 300,
|
|
38
|
+
* partitionNumber: 350,
|
|
39
|
+
* projectName: "default",
|
|
40
|
+
* tags: [{
|
|
41
|
+
* key: "k1",
|
|
42
|
+
* value: "v1",
|
|
43
|
+
* }],
|
|
44
|
+
* parameters: [
|
|
45
|
+
* {
|
|
46
|
+
* parameterName: "MessageMaxByte",
|
|
47
|
+
* parameterValue: "12",
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* parameterName: "LogRetentionHours",
|
|
51
|
+
* parameterValue: "70",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* });
|
|
55
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
56
|
+
* userName: "acc-test-user",
|
|
57
|
+
* instanceId: fooInstance.id,
|
|
58
|
+
* userPassword: "suqsnis123!",
|
|
59
|
+
* description: "tf-test",
|
|
60
|
+
* allAuthority: true,
|
|
61
|
+
* passwordType: "Scram",
|
|
62
|
+
* });
|
|
63
|
+
* const fooTopic = new volcengine.kafka.Topic("fooTopic", {
|
|
64
|
+
* topicName: "acc-test-topic",
|
|
65
|
+
* instanceId: fooInstance.id,
|
|
66
|
+
* description: "tf-test",
|
|
67
|
+
* partitionNumber: 15,
|
|
68
|
+
* replicaNumber: 3,
|
|
69
|
+
* parameters: {
|
|
70
|
+
* minInsyncReplicaNumber: 2,
|
|
71
|
+
* messageMaxByte: 10,
|
|
72
|
+
* logRetentionHours: 96,
|
|
73
|
+
* },
|
|
74
|
+
* allAuthority: false,
|
|
75
|
+
* accessPolicies: [{
|
|
76
|
+
* userName: fooSaslUser.userName,
|
|
77
|
+
* accessPolicy: "Pub",
|
|
78
|
+
* }],
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* ## Import
|
|
83
|
+
*
|
|
84
|
+
* KafkaTopic can be imported using the instance_id:topic_name, e.g.
|
|
85
|
+
*
|
|
86
|
+
* ```sh
|
|
87
|
+
* $ pulumi import volcengine:kafka/topic:Topic default kafka-cnoeeapetf4s****:topic
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
class Topic extends pulumi.CustomResource {
|
|
91
|
+
/**
|
|
92
|
+
* Get an existing Topic resource's state with the given name, ID, and optional extra
|
|
93
|
+
* properties used to qualify the lookup.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resulting resource.
|
|
96
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
+
* @param state Any extra arguments used during the lookup.
|
|
98
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
+
*/
|
|
100
|
+
static get(name, id, state, opts) {
|
|
101
|
+
return new Topic(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of Topic. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj) {
|
|
108
|
+
if (obj === undefined || obj === null) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
return obj['__pulumiType'] === Topic.__pulumiType;
|
|
112
|
+
}
|
|
113
|
+
constructor(name, argsOrState, opts) {
|
|
114
|
+
let resourceInputs = {};
|
|
115
|
+
opts = opts || {};
|
|
116
|
+
if (opts.id) {
|
|
117
|
+
const state = argsOrState;
|
|
118
|
+
resourceInputs["accessPolicies"] = state ? state.accessPolicies : undefined;
|
|
119
|
+
resourceInputs["allAuthority"] = state ? state.allAuthority : undefined;
|
|
120
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
121
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
122
|
+
resourceInputs["parameters"] = state ? state.parameters : undefined;
|
|
123
|
+
resourceInputs["partitionNumber"] = state ? state.partitionNumber : undefined;
|
|
124
|
+
resourceInputs["replicaNumber"] = state ? state.replicaNumber : undefined;
|
|
125
|
+
resourceInputs["topicName"] = state ? state.topicName : undefined;
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
const args = argsOrState;
|
|
129
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
130
|
+
throw new Error("Missing required property 'instanceId'");
|
|
131
|
+
}
|
|
132
|
+
if ((!args || args.partitionNumber === undefined) && !opts.urn) {
|
|
133
|
+
throw new Error("Missing required property 'partitionNumber'");
|
|
134
|
+
}
|
|
135
|
+
if ((!args || args.topicName === undefined) && !opts.urn) {
|
|
136
|
+
throw new Error("Missing required property 'topicName'");
|
|
137
|
+
}
|
|
138
|
+
resourceInputs["accessPolicies"] = args ? args.accessPolicies : undefined;
|
|
139
|
+
resourceInputs["allAuthority"] = args ? args.allAuthority : undefined;
|
|
140
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
141
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
142
|
+
resourceInputs["parameters"] = args ? args.parameters : undefined;
|
|
143
|
+
resourceInputs["partitionNumber"] = args ? args.partitionNumber : undefined;
|
|
144
|
+
resourceInputs["replicaNumber"] = args ? args.replicaNumber : undefined;
|
|
145
|
+
resourceInputs["topicName"] = args ? args.topicName : undefined;
|
|
146
|
+
}
|
|
147
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
148
|
+
super(Topic.__pulumiType, name, resourceInputs, opts);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.Topic = Topic;
|
|
152
|
+
/** @internal */
|
|
153
|
+
Topic.__pulumiType = 'volcengine:kafka/topic:Topic';
|
|
154
|
+
//# sourceMappingURL=topic.js.map
|