@volcengine/pulumi 0.0.22 → 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/iamRoleAttachment.d.ts +62 -0
- package/ecs/iamRoleAttachment.js +62 -0
- package/ecs/iamRoleAttachment.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 +38 -7
- package/privatelink/vpcEndpointService.js +35 -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 +60 -12
- package/privatelink/vpcEndpointServiceResource.js +57 -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_mysql/instance.d.ts +29 -0
- package/rds_mysql/instance.js +9 -0
- package/rds_mysql/instance.js.map +1 -1
- package/rds_mysql/instances.d.ts +13 -0
- package/rds_mysql/instances.js +1 -0
- package/rds_mysql/instances.js.map +1 -1
- 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 +1035 -39
- package/types/output.d.ts +6130 -2668
- 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
package/kafka/topics.js
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
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.topicsOutput = exports.topics = 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 topics
|
|
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
|
+
* const default = volcengine.kafka.TopicsOutput({
|
|
81
|
+
* instanceId: fooTopic.instanceId,
|
|
82
|
+
* });
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
function topics(args, opts) {
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
87
|
+
return pulumi.runtime.invoke("volcengine:kafka/topics:Topics", {
|
|
88
|
+
"instanceId": args.instanceId,
|
|
89
|
+
"nameRegex": args.nameRegex,
|
|
90
|
+
"outputFile": args.outputFile,
|
|
91
|
+
"partitionNumber": args.partitionNumber,
|
|
92
|
+
"replicaNumber": args.replicaNumber,
|
|
93
|
+
"topicName": args.topicName,
|
|
94
|
+
"userName": args.userName,
|
|
95
|
+
}, opts);
|
|
96
|
+
}
|
|
97
|
+
exports.topics = topics;
|
|
98
|
+
/**
|
|
99
|
+
* Use this data source to query detailed information of kafka topics
|
|
100
|
+
* ## Example Usage
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
105
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
106
|
+
*
|
|
107
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
108
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
109
|
+
* vpcName: "acc-test-vpc",
|
|
110
|
+
* cidrBlock: "172.16.0.0/16",
|
|
111
|
+
* });
|
|
112
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
113
|
+
* subnetName: "acc-test-subnet",
|
|
114
|
+
* cidrBlock: "172.16.0.0/24",
|
|
115
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
116
|
+
* vpcId: fooVpc.id,
|
|
117
|
+
* });
|
|
118
|
+
* const fooInstance = new volcengine.kafka.Instance("fooInstance", {
|
|
119
|
+
* instanceName: "acc-test-kafka",
|
|
120
|
+
* instanceDescription: "tf-test",
|
|
121
|
+
* version: "2.2.2",
|
|
122
|
+
* computeSpec: "kafka.20xrate.hw",
|
|
123
|
+
* subnetId: fooSubnet.id,
|
|
124
|
+
* userName: "tf-user",
|
|
125
|
+
* userPassword: "tf-pass!@q1",
|
|
126
|
+
* chargeType: "PostPaid",
|
|
127
|
+
* storageSpace: 300,
|
|
128
|
+
* partitionNumber: 350,
|
|
129
|
+
* projectName: "default",
|
|
130
|
+
* tags: [{
|
|
131
|
+
* key: "k1",
|
|
132
|
+
* value: "v1",
|
|
133
|
+
* }],
|
|
134
|
+
* parameters: [
|
|
135
|
+
* {
|
|
136
|
+
* parameterName: "MessageMaxByte",
|
|
137
|
+
* parameterValue: "12",
|
|
138
|
+
* },
|
|
139
|
+
* {
|
|
140
|
+
* parameterName: "LogRetentionHours",
|
|
141
|
+
* parameterValue: "70",
|
|
142
|
+
* },
|
|
143
|
+
* ],
|
|
144
|
+
* });
|
|
145
|
+
* const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
|
|
146
|
+
* userName: "acc-test-user",
|
|
147
|
+
* instanceId: fooInstance.id,
|
|
148
|
+
* userPassword: "suqsnis123!",
|
|
149
|
+
* description: "tf-test",
|
|
150
|
+
* allAuthority: true,
|
|
151
|
+
* passwordType: "Scram",
|
|
152
|
+
* });
|
|
153
|
+
* const fooTopic = new volcengine.kafka.Topic("fooTopic", {
|
|
154
|
+
* topicName: "acc-test-topic",
|
|
155
|
+
* instanceId: fooInstance.id,
|
|
156
|
+
* description: "tf-test",
|
|
157
|
+
* partitionNumber: 15,
|
|
158
|
+
* replicaNumber: 3,
|
|
159
|
+
* parameters: {
|
|
160
|
+
* minInsyncReplicaNumber: 2,
|
|
161
|
+
* messageMaxByte: 10,
|
|
162
|
+
* logRetentionHours: 96,
|
|
163
|
+
* },
|
|
164
|
+
* allAuthority: false,
|
|
165
|
+
* accessPolicies: [{
|
|
166
|
+
* userName: fooSaslUser.userName,
|
|
167
|
+
* accessPolicy: "Pub",
|
|
168
|
+
* }],
|
|
169
|
+
* });
|
|
170
|
+
* const default = volcengine.kafka.TopicsOutput({
|
|
171
|
+
* instanceId: fooTopic.instanceId,
|
|
172
|
+
* });
|
|
173
|
+
* ```
|
|
174
|
+
*/
|
|
175
|
+
function topicsOutput(args, opts) {
|
|
176
|
+
return pulumi.output(args).apply((a) => topics(a, opts));
|
|
177
|
+
}
|
|
178
|
+
exports.topicsOutput = topicsOutput;
|
|
179
|
+
//# sourceMappingURL=topics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topics.js","sourceRoot":"","sources":["../../kafka/topics.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wBAYC;AAwED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}
|
package/kafka/zones.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
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 zones
|
|
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.Zones({
|
|
12
|
+
* regionId: "cn-beijing",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function zones(args: ZonesArgs, opts?: pulumi.InvokeOptions): Promise<ZonesResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking Zones.
|
|
19
|
+
*/
|
|
20
|
+
export interface ZonesArgs {
|
|
21
|
+
/**
|
|
22
|
+
* File name where to save data source results.
|
|
23
|
+
*/
|
|
24
|
+
outputFile?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The Id of Region.
|
|
27
|
+
*/
|
|
28
|
+
regionId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by Zones.
|
|
32
|
+
*/
|
|
33
|
+
export interface ZonesResult {
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
readonly outputFile?: string;
|
|
39
|
+
readonly regionId: string;
|
|
40
|
+
/**
|
|
41
|
+
* The total count of zone query.
|
|
42
|
+
*/
|
|
43
|
+
readonly totalCount: number;
|
|
44
|
+
/**
|
|
45
|
+
* The collection of zone query.
|
|
46
|
+
*/
|
|
47
|
+
readonly zones: outputs.kafka.ZonesZone[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Use this data source to query detailed information of kafka zones
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
56
|
+
*
|
|
57
|
+
* const default = volcengine.kafka.Zones({
|
|
58
|
+
* regionId: "cn-beijing",
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare function zonesOutput(args: ZonesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ZonesResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking Zones.
|
|
65
|
+
*/
|
|
66
|
+
export interface ZonesOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* File name where to save data source results.
|
|
69
|
+
*/
|
|
70
|
+
outputFile?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The Id of Region.
|
|
73
|
+
*/
|
|
74
|
+
regionId: pulumi.Input<string>;
|
|
75
|
+
}
|
package/kafka/zones.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
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.zonesOutput = exports.zones = 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 zones
|
|
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.Zones({
|
|
17
|
+
* regionId: "cn-beijing",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function zones(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("volcengine:kafka/zones:Zones", {
|
|
24
|
+
"outputFile": args.outputFile,
|
|
25
|
+
"regionId": args.regionId,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.zones = zones;
|
|
29
|
+
/**
|
|
30
|
+
* Use this data source to query detailed information of kafka zones
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
36
|
+
*
|
|
37
|
+
* const default = volcengine.kafka.Zones({
|
|
38
|
+
* regionId: "cn-beijing",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function zonesOutput(args, opts) {
|
|
43
|
+
return pulumi.output(args).apply((a) => zones(a, opts));
|
|
44
|
+
}
|
|
45
|
+
exports.zonesOutput = zonesOutput;
|
|
46
|
+
//# sourceMappingURL=zones.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zones.js","sourceRoot":"","sources":["../../kafka/zones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAE9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sBAOC;AAmCD;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
|
package/nat/gateway.d.ts
CHANGED
|
@@ -80,9 +80,9 @@ export declare class Gateway extends pulumi.CustomResource {
|
|
|
80
80
|
*/
|
|
81
81
|
readonly projectName: pulumi.Output<string>;
|
|
82
82
|
/**
|
|
83
|
-
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large
|
|
83
|
+
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large` or leave blank.
|
|
84
84
|
*/
|
|
85
|
-
readonly spec: pulumi.Output<string
|
|
85
|
+
readonly spec: pulumi.Output<string>;
|
|
86
86
|
/**
|
|
87
87
|
* The ID of the Subnet.
|
|
88
88
|
*/
|
|
@@ -129,7 +129,7 @@ export interface GatewayState {
|
|
|
129
129
|
*/
|
|
130
130
|
projectName?: pulumi.Input<string>;
|
|
131
131
|
/**
|
|
132
|
-
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large
|
|
132
|
+
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large` or leave blank.
|
|
133
133
|
*/
|
|
134
134
|
spec?: pulumi.Input<string>;
|
|
135
135
|
/**
|
|
@@ -170,7 +170,7 @@ export interface GatewayArgs {
|
|
|
170
170
|
*/
|
|
171
171
|
projectName?: pulumi.Input<string>;
|
|
172
172
|
/**
|
|
173
|
-
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large
|
|
173
|
+
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large` or leave blank.
|
|
174
174
|
*/
|
|
175
175
|
spec?: pulumi.Input<string>;
|
|
176
176
|
/**
|
|
@@ -0,0 +1,183 @@
|
|
|
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 organization account
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const fooUnit = new volcengine.organization.Unit("fooUnit", {
|
|
13
|
+
* parentId: "730671013833632****",
|
|
14
|
+
* description: "acc-test",
|
|
15
|
+
* });
|
|
16
|
+
* const fooAccount = new volcengine.organization.Account("fooAccount", {
|
|
17
|
+
* accountName: "acc-test-account",
|
|
18
|
+
* showName: "acc-test-account",
|
|
19
|
+
* description: "acc-test",
|
|
20
|
+
* orgUnitId: fooUnit.id,
|
|
21
|
+
* verificationRelationId: "210026****",
|
|
22
|
+
* tags: [{
|
|
23
|
+
* key: "k1",
|
|
24
|
+
* value: "v1",
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* OrganizationAccount can be imported using the id, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import volcengine:organization/account:Account default resource_id
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class Account extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountState, opts?: pulumi.CustomResourceOptions): Account;
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj: any): obj is Account;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the account.
|
|
55
|
+
*/
|
|
56
|
+
readonly accountName: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The description of the account.
|
|
59
|
+
*/
|
|
60
|
+
readonly description: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the iam role.
|
|
63
|
+
*/
|
|
64
|
+
readonly iamRole: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The id of the organization.
|
|
67
|
+
*/
|
|
68
|
+
readonly orgId: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The id of the organization unit. Default is root organization.
|
|
71
|
+
*/
|
|
72
|
+
readonly orgUnitId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the organization unit.
|
|
75
|
+
*/
|
|
76
|
+
readonly orgUnitName: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The id of the organization verification.
|
|
79
|
+
*/
|
|
80
|
+
readonly orgVerificationId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The owner id of the account.
|
|
83
|
+
*/
|
|
84
|
+
readonly owner: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The show name of the account.
|
|
87
|
+
*/
|
|
88
|
+
readonly showName: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Tags.
|
|
91
|
+
*/
|
|
92
|
+
readonly tags: pulumi.Output<outputs.organization.AccountTag[] | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The verification relation id of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
95
|
+
*/
|
|
96
|
+
readonly verificationRelationId: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* Create a Account resource with the given unique name, arguments, and options.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resource.
|
|
101
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
102
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
103
|
+
*/
|
|
104
|
+
constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Input properties used for looking up and filtering Account resources.
|
|
108
|
+
*/
|
|
109
|
+
export interface AccountState {
|
|
110
|
+
/**
|
|
111
|
+
* The name of the account.
|
|
112
|
+
*/
|
|
113
|
+
accountName?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The description of the account.
|
|
116
|
+
*/
|
|
117
|
+
description?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The name of the iam role.
|
|
120
|
+
*/
|
|
121
|
+
iamRole?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The id of the organization.
|
|
124
|
+
*/
|
|
125
|
+
orgId?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The id of the organization unit. Default is root organization.
|
|
128
|
+
*/
|
|
129
|
+
orgUnitId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The name of the organization unit.
|
|
132
|
+
*/
|
|
133
|
+
orgUnitName?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The id of the organization verification.
|
|
136
|
+
*/
|
|
137
|
+
orgVerificationId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The owner id of the account.
|
|
140
|
+
*/
|
|
141
|
+
owner?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The show name of the account.
|
|
144
|
+
*/
|
|
145
|
+
showName?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Tags.
|
|
148
|
+
*/
|
|
149
|
+
tags?: pulumi.Input<pulumi.Input<inputs.organization.AccountTag>[]>;
|
|
150
|
+
/**
|
|
151
|
+
* The verification relation id of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
152
|
+
*/
|
|
153
|
+
verificationRelationId?: pulumi.Input<string>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The set of arguments for constructing a Account resource.
|
|
157
|
+
*/
|
|
158
|
+
export interface AccountArgs {
|
|
159
|
+
/**
|
|
160
|
+
* The name of the account.
|
|
161
|
+
*/
|
|
162
|
+
accountName: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The description of the account.
|
|
165
|
+
*/
|
|
166
|
+
description?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* The id of the organization unit. Default is root organization.
|
|
169
|
+
*/
|
|
170
|
+
orgUnitId?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* The show name of the account.
|
|
173
|
+
*/
|
|
174
|
+
showName: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Tags.
|
|
177
|
+
*/
|
|
178
|
+
tags?: pulumi.Input<pulumi.Input<inputs.organization.AccountTag>[]>;
|
|
179
|
+
/**
|
|
180
|
+
* The verification relation id of the account. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
181
|
+
*/
|
|
182
|
+
verificationRelationId?: pulumi.Input<string>;
|
|
183
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.Account = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage organization account
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const fooUnit = new volcengine.organization.Unit("fooUnit", {
|
|
17
|
+
* parentId: "730671013833632****",
|
|
18
|
+
* description: "acc-test",
|
|
19
|
+
* });
|
|
20
|
+
* const fooAccount = new volcengine.organization.Account("fooAccount", {
|
|
21
|
+
* accountName: "acc-test-account",
|
|
22
|
+
* showName: "acc-test-account",
|
|
23
|
+
* description: "acc-test",
|
|
24
|
+
* orgUnitId: fooUnit.id,
|
|
25
|
+
* verificationRelationId: "210026****",
|
|
26
|
+
* tags: [{
|
|
27
|
+
* key: "k1",
|
|
28
|
+
* value: "v1",
|
|
29
|
+
* }],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* OrganizationAccount can be imported using the id, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcengine:organization/account:Account default resource_id
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
class Account extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name, id, state, opts) {
|
|
52
|
+
return new Account(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
56
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
57
|
+
*/
|
|
58
|
+
static isInstance(obj) {
|
|
59
|
+
if (obj === undefined || obj === null) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
return obj['__pulumiType'] === Account.__pulumiType;
|
|
63
|
+
}
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["accountName"] = state ? state.accountName : undefined;
|
|
70
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
71
|
+
resourceInputs["iamRole"] = state ? state.iamRole : undefined;
|
|
72
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
73
|
+
resourceInputs["orgUnitId"] = state ? state.orgUnitId : undefined;
|
|
74
|
+
resourceInputs["orgUnitName"] = state ? state.orgUnitName : undefined;
|
|
75
|
+
resourceInputs["orgVerificationId"] = state ? state.orgVerificationId : undefined;
|
|
76
|
+
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
77
|
+
resourceInputs["showName"] = state ? state.showName : undefined;
|
|
78
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
79
|
+
resourceInputs["verificationRelationId"] = state ? state.verificationRelationId : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.accountName === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'accountName'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.showName === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'showName'");
|
|
88
|
+
}
|
|
89
|
+
resourceInputs["accountName"] = args ? args.accountName : undefined;
|
|
90
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
91
|
+
resourceInputs["orgUnitId"] = args ? args.orgUnitId : undefined;
|
|
92
|
+
resourceInputs["showName"] = args ? args.showName : undefined;
|
|
93
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
94
|
+
resourceInputs["verificationRelationId"] = args ? args.verificationRelationId : undefined;
|
|
95
|
+
resourceInputs["iamRole"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["orgId"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["orgUnitName"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["orgVerificationId"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["owner"] = undefined /*out*/;
|
|
100
|
+
}
|
|
101
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
super(Account.__pulumiType, name, resourceInputs, opts);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.Account = Account;
|
|
106
|
+
/** @internal */
|
|
107
|
+
Account.__pulumiType = 'volcengine:organization/account:Account';
|
|
108
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../organization/account.ts"],"names":[],"mappings":"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"}
|