@volcengine/pulumi 0.0.23 → 0.0.24
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/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 +11 -10
- 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 +6 -2
- 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 +4 -4
- 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/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 +29 -0
- package/transit_router/transitRouter.js +9 -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 +46 -8
- package/transit_router/vpcAttachment.js +36 -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 +6092 -2672
- 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,131 @@
|
|
|
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.PublicAddress = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage kafka public address
|
|
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 fooAddress = new volcengine.eip.Address("fooAddress", {
|
|
56
|
+
* billingType: "PostPaidByBandwidth",
|
|
57
|
+
* bandwidth: 1,
|
|
58
|
+
* isp: "BGP",
|
|
59
|
+
* description: "tf-test",
|
|
60
|
+
* projectName: "default",
|
|
61
|
+
* });
|
|
62
|
+
* const fooPublicAddress = new volcengine.kafka.PublicAddress("fooPublicAddress", {
|
|
63
|
+
* instanceId: fooInstance.id,
|
|
64
|
+
* eipId: fooAddress.id,
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* ## Import
|
|
69
|
+
*
|
|
70
|
+
* KafkaPublicAddress can be imported using the instance_id:eip_id, e.g.
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import volcengine:kafka/publicAddress:PublicAddress default instance_id:eip_id
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
class PublicAddress extends pulumi.CustomResource {
|
|
77
|
+
/**
|
|
78
|
+
* Get an existing PublicAddress resource's state with the given name, ID, and optional extra
|
|
79
|
+
* properties used to qualify the lookup.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resulting resource.
|
|
82
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
83
|
+
* @param state Any extra arguments used during the lookup.
|
|
84
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
85
|
+
*/
|
|
86
|
+
static get(name, id, state, opts) {
|
|
87
|
+
return new PublicAddress(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Returns true if the given object is an instance of PublicAddress. This is designed to work even
|
|
91
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
92
|
+
*/
|
|
93
|
+
static isInstance(obj) {
|
|
94
|
+
if (obj === undefined || obj === null) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
return obj['__pulumiType'] === PublicAddress.__pulumiType;
|
|
98
|
+
}
|
|
99
|
+
constructor(name, argsOrState, opts) {
|
|
100
|
+
let resourceInputs = {};
|
|
101
|
+
opts = opts || {};
|
|
102
|
+
if (opts.id) {
|
|
103
|
+
const state = argsOrState;
|
|
104
|
+
resourceInputs["eipId"] = state ? state.eipId : undefined;
|
|
105
|
+
resourceInputs["endpointType"] = state ? state.endpointType : undefined;
|
|
106
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
107
|
+
resourceInputs["networkType"] = state ? state.networkType : undefined;
|
|
108
|
+
resourceInputs["publicEndpoint"] = state ? state.publicEndpoint : undefined;
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
const args = argsOrState;
|
|
112
|
+
if ((!args || args.eipId === undefined) && !opts.urn) {
|
|
113
|
+
throw new Error("Missing required property 'eipId'");
|
|
114
|
+
}
|
|
115
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
116
|
+
throw new Error("Missing required property 'instanceId'");
|
|
117
|
+
}
|
|
118
|
+
resourceInputs["eipId"] = args ? args.eipId : undefined;
|
|
119
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
120
|
+
resourceInputs["endpointType"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["networkType"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["publicEndpoint"] = undefined /*out*/;
|
|
123
|
+
}
|
|
124
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
125
|
+
super(PublicAddress.__pulumiType, name, resourceInputs, opts);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
exports.PublicAddress = PublicAddress;
|
|
129
|
+
/** @internal */
|
|
130
|
+
PublicAddress.__pulumiType = 'volcengine:kafka/publicAddress:PublicAddress';
|
|
131
|
+
//# sourceMappingURL=publicAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publicAddress.js","sourceRoot":"","sources":["../../kafka/publicAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;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information of kafka regions
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const default = volcengine.kafka.Regions({});
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export declare function regions(args?: RegionsArgs, opts?: pulumi.InvokeOptions): Promise<RegionsResult>;
|
|
15
|
+
/**
|
|
16
|
+
* A collection of arguments for invoking Regions.
|
|
17
|
+
*/
|
|
18
|
+
export interface RegionsArgs {
|
|
19
|
+
/**
|
|
20
|
+
* File name where to save data source results.
|
|
21
|
+
*/
|
|
22
|
+
outputFile?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by Regions.
|
|
26
|
+
*/
|
|
27
|
+
export interface RegionsResult {
|
|
28
|
+
/**
|
|
29
|
+
* The provider-assigned unique ID for this managed resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly outputFile?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The collection of region query.
|
|
35
|
+
*/
|
|
36
|
+
readonly regions: outputs.kafka.RegionsRegion[];
|
|
37
|
+
/**
|
|
38
|
+
* The total count of region query.
|
|
39
|
+
*/
|
|
40
|
+
readonly totalCount: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Use this data source to query detailed information of kafka regions
|
|
44
|
+
* ## Example Usage
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
49
|
+
*
|
|
50
|
+
* const default = volcengine.kafka.Regions({});
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function regionsOutput(args?: RegionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RegionsResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking Regions.
|
|
56
|
+
*/
|
|
57
|
+
export interface RegionsOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* File name where to save data source results.
|
|
60
|
+
*/
|
|
61
|
+
outputFile?: pulumi.Input<string>;
|
|
62
|
+
}
|
package/kafka/regions.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
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.regionsOutput = exports.regions = 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 regions
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const default = volcengine.kafka.Regions({});
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
function regions(args, opts) {
|
|
20
|
+
args = args || {};
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("volcengine:kafka/regions:Regions", {
|
|
23
|
+
"outputFile": args.outputFile,
|
|
24
|
+
}, opts);
|
|
25
|
+
}
|
|
26
|
+
exports.regions = regions;
|
|
27
|
+
/**
|
|
28
|
+
* Use this data source to query detailed information of kafka regions
|
|
29
|
+
* ## Example Usage
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
34
|
+
*
|
|
35
|
+
* const default = volcengine.kafka.Regions({});
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
function regionsOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply((a) => regions(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.regionsOutput = regionsOutput;
|
|
42
|
+
//# sourceMappingURL=regions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regions.js","sourceRoot":"","sources":["../../kafka/regions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AA8BD;;;;;;;;;;GAUG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage kafka sasl user
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
9
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
10
|
+
*
|
|
11
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
12
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
13
|
+
* vpcName: "acc-test-vpc",
|
|
14
|
+
* cidrBlock: "172.16.0.0/16",
|
|
15
|
+
* });
|
|
16
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
17
|
+
* subnetName: "acc-test-subnet",
|
|
18
|
+
* cidrBlock: "172.16.0.0/24",
|
|
19
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
20
|
+
* vpcId: fooVpc.id,
|
|
21
|
+
* });
|
|
22
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
23
|
+
* instanceName: "acc-test-kafka",
|
|
24
|
+
* instanceDescription: "tf-test",
|
|
25
|
+
* version: "2.2.2",
|
|
26
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
27
|
+
* subnetId: fooSubnet.id,
|
|
28
|
+
* userName: "tf-user",
|
|
29
|
+
* userPassword: "tf-pass!@q1",
|
|
30
|
+
* chargeType: "PostPaid",
|
|
31
|
+
* storageSpace: 300,
|
|
32
|
+
* partitionNumber: 350,
|
|
33
|
+
* projectName: "default",
|
|
34
|
+
* tags: [{
|
|
35
|
+
* key: "k1",
|
|
36
|
+
* value: "v1",
|
|
37
|
+
* }],
|
|
38
|
+
* parameters: [
|
|
39
|
+
* {
|
|
40
|
+
* parameterName: "MessageMaxByte",
|
|
41
|
+
* parameterValue: "12",
|
|
42
|
+
* },
|
|
43
|
+
* {
|
|
44
|
+
* parameterName: "LogRetentionHours",
|
|
45
|
+
* parameterValue: "70",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* });
|
|
49
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
50
|
+
* userName: "acc-test-user",
|
|
51
|
+
* instanceId: fooInstance.id,
|
|
52
|
+
* userPassword: "suqsnis123!",
|
|
53
|
+
* description: "tf-test",
|
|
54
|
+
* allAuthority: true,
|
|
55
|
+
* passwordType: "Scram",
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ## Import
|
|
60
|
+
*
|
|
61
|
+
* KafkaSaslUser can be imported using the kafka_id:username, e.g.
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import volcengine:kafka/saslUser:SaslUser default kafka-cnngbnntswg1****:tfuser
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare class SaslUser extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing SaslUser resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SaslUserState, opts?: pulumi.CustomResourceOptions): SaslUser;
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of SaslUser. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj: any): obj is SaslUser;
|
|
83
|
+
/**
|
|
84
|
+
* Whether this user has read and write permissions for all topics. Default is true.
|
|
85
|
+
*/
|
|
86
|
+
readonly allAuthority: pulumi.Output<boolean | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* The description of user.
|
|
89
|
+
*/
|
|
90
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The id of instance.
|
|
93
|
+
*/
|
|
94
|
+
readonly instanceId: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The type of password. Valid values are `Scram` and `Plain`. Default is `Plain`.
|
|
97
|
+
*/
|
|
98
|
+
readonly passwordType: pulumi.Output<string | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of user.
|
|
101
|
+
*/
|
|
102
|
+
readonly userName: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The password of user.
|
|
105
|
+
*/
|
|
106
|
+
readonly userPassword: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Create a SaslUser resource with the given unique name, arguments, and options.
|
|
109
|
+
*
|
|
110
|
+
* @param name The _unique_ name of the resource.
|
|
111
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
112
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
113
|
+
*/
|
|
114
|
+
constructor(name: string, args: SaslUserArgs, opts?: pulumi.CustomResourceOptions);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Input properties used for looking up and filtering SaslUser resources.
|
|
118
|
+
*/
|
|
119
|
+
export interface SaslUserState {
|
|
120
|
+
/**
|
|
121
|
+
* Whether this user has read and write permissions for all topics. Default is true.
|
|
122
|
+
*/
|
|
123
|
+
allAuthority?: pulumi.Input<boolean>;
|
|
124
|
+
/**
|
|
125
|
+
* The description of user.
|
|
126
|
+
*/
|
|
127
|
+
description?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* The id of instance.
|
|
130
|
+
*/
|
|
131
|
+
instanceId?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The type of password. Valid values are `Scram` and `Plain`. Default is `Plain`.
|
|
134
|
+
*/
|
|
135
|
+
passwordType?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The name of user.
|
|
138
|
+
*/
|
|
139
|
+
userName?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The password of user.
|
|
142
|
+
*/
|
|
143
|
+
userPassword?: pulumi.Input<string>;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The set of arguments for constructing a SaslUser resource.
|
|
147
|
+
*/
|
|
148
|
+
export interface SaslUserArgs {
|
|
149
|
+
/**
|
|
150
|
+
* Whether this user has read and write permissions for all topics. Default is true.
|
|
151
|
+
*/
|
|
152
|
+
allAuthority?: pulumi.Input<boolean>;
|
|
153
|
+
/**
|
|
154
|
+
* The description of user.
|
|
155
|
+
*/
|
|
156
|
+
description?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* The id of instance.
|
|
159
|
+
*/
|
|
160
|
+
instanceId: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* The type of password. Valid values are `Scram` and `Plain`. Default is `Plain`.
|
|
163
|
+
*/
|
|
164
|
+
passwordType?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The name of user.
|
|
167
|
+
*/
|
|
168
|
+
userName: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The password of user.
|
|
171
|
+
*/
|
|
172
|
+
userPassword: pulumi.Input<string>;
|
|
173
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
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.SaslUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage kafka sasl user
|
|
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
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ## Import
|
|
66
|
+
*
|
|
67
|
+
* KafkaSaslUser can be imported using the kafka_id:username, e.g.
|
|
68
|
+
*
|
|
69
|
+
* ```sh
|
|
70
|
+
* $ pulumi import volcengine:kafka/saslUser:SaslUser default kafka-cnngbnntswg1****:tfuser
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
class SaslUser extends pulumi.CustomResource {
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing SaslUser resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new SaslUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of SaslUser. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === SaslUser.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
constructor(name, argsOrState, opts) {
|
|
97
|
+
let resourceInputs = {};
|
|
98
|
+
opts = opts || {};
|
|
99
|
+
if (opts.id) {
|
|
100
|
+
const state = argsOrState;
|
|
101
|
+
resourceInputs["allAuthority"] = state ? state.allAuthority : undefined;
|
|
102
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
103
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
104
|
+
resourceInputs["passwordType"] = state ? state.passwordType : undefined;
|
|
105
|
+
resourceInputs["userName"] = state ? state.userName : undefined;
|
|
106
|
+
resourceInputs["userPassword"] = state ? state.userPassword : undefined;
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
const args = argsOrState;
|
|
110
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
111
|
+
throw new Error("Missing required property 'instanceId'");
|
|
112
|
+
}
|
|
113
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
114
|
+
throw new Error("Missing required property 'userName'");
|
|
115
|
+
}
|
|
116
|
+
if ((!args || args.userPassword === undefined) && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'userPassword'");
|
|
118
|
+
}
|
|
119
|
+
resourceInputs["allAuthority"] = args ? args.allAuthority : undefined;
|
|
120
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
121
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
122
|
+
resourceInputs["passwordType"] = args ? args.passwordType : undefined;
|
|
123
|
+
resourceInputs["userName"] = args ? args.userName : undefined;
|
|
124
|
+
resourceInputs["userPassword"] = (args === null || args === void 0 ? void 0 : args.userPassword) ? pulumi.secret(args.userPassword) : undefined;
|
|
125
|
+
}
|
|
126
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
127
|
+
const secretOpts = { additionalSecretOutputs: ["userPassword"] };
|
|
128
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
129
|
+
super(SaslUser.__pulumiType, name, resourceInputs, opts);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.SaslUser = SaslUser;
|
|
133
|
+
/** @internal */
|
|
134
|
+
SaslUser.__pulumiType = 'volcengine:kafka/saslUser:SaslUser';
|
|
135
|
+
//# sourceMappingURL=saslUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"saslUser.js","sourceRoot":"","sources":["../../kafka/saslUser.ts"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