@volcengine/pulumi 0.0.12
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/LICENSE +202 -0
- package/README.md +68 -0
- package/autoscaling/index.d.ts +13 -0
- package/autoscaling/index.js +73 -0
- package/autoscaling/index.js.map +1 -0
- package/autoscaling/scalingActivities.d.ts +104 -0
- package/autoscaling/scalingActivities.js +40 -0
- package/autoscaling/scalingActivities.js.map +1 -0
- package/autoscaling/scalingConfiguration.d.ts +368 -0
- package/autoscaling/scalingConfiguration.js +175 -0
- package/autoscaling/scalingConfiguration.js.map +1 -0
- package/autoscaling/scalingConfigurationAttachment.d.ts +69 -0
- package/autoscaling/scalingConfigurationAttachment.js +73 -0
- package/autoscaling/scalingConfigurationAttachment.js.map +1 -0
- package/autoscaling/scalingConfigurations.d.ts +92 -0
- package/autoscaling/scalingConfigurations.js +40 -0
- package/autoscaling/scalingConfigurations.js.map +1 -0
- package/autoscaling/scalingGroup.d.ts +290 -0
- package/autoscaling/scalingGroup.js +134 -0
- package/autoscaling/scalingGroup.js.map +1 -0
- package/autoscaling/scalingGroupEnabler.d.ts +116 -0
- package/autoscaling/scalingGroupEnabler.js +120 -0
- package/autoscaling/scalingGroupEnabler.js.map +1 -0
- package/autoscaling/scalingGroups.d.ts +80 -0
- package/autoscaling/scalingGroups.js +39 -0
- package/autoscaling/scalingGroups.js.map +1 -0
- package/autoscaling/scalingInstanceAttachment.d.ts +121 -0
- package/autoscaling/scalingInstanceAttachment.js +88 -0
- package/autoscaling/scalingInstanceAttachment.js.map +1 -0
- package/autoscaling/scalingInstances.d.ts +117 -0
- package/autoscaling/scalingInstances.js +47 -0
- package/autoscaling/scalingInstances.js.map +1 -0
- package/autoscaling/scalingLifecycleHook.d.ts +129 -0
- package/autoscaling/scalingLifecycleHook.js +99 -0
- package/autoscaling/scalingLifecycleHook.js.map +1 -0
- package/autoscaling/scalingLifecycleHooks.d.ts +92 -0
- package/autoscaling/scalingLifecycleHooks.js +39 -0
- package/autoscaling/scalingLifecycleHooks.js.map +1 -0
- package/autoscaling/scalingPolicies.d.ts +105 -0
- package/autoscaling/scalingPolicies.js +41 -0
- package/autoscaling/scalingPolicies.js.map +1 -0
- package/autoscaling/scalingPolicy.d.ts +306 -0
- package/autoscaling/scalingPolicy.js +135 -0
- package/autoscaling/scalingPolicy.js.map +1 -0
- package/bioos/cluster.d.ts +121 -0
- package/bioos/cluster.js +85 -0
- package/bioos/cluster.js.map +1 -0
- package/bioos/clusterBind.d.ts +95 -0
- package/bioos/clusterBind.js +85 -0
- package/bioos/clusterBind.js.map +1 -0
- package/bioos/clusters.d.ts +90 -0
- package/bioos/clusters.js +38 -0
- package/bioos/clusters.js.map +1 -0
- package/bioos/index.d.ts +5 -0
- package/bioos/index.js +49 -0
- package/bioos/index.js.map +1 -0
- package/bioos/workspace.d.ts +110 -0
- package/bioos/workspace.js +82 -0
- package/bioos/workspace.js.map +1 -0
- package/bioos/workspaces.d.ts +87 -0
- package/bioos/workspaces.js +38 -0
- package/bioos/workspaces.js.map +1 -0
- package/cen/attachInstance.d.ts +142 -0
- package/cen/attachInstance.js +103 -0
- package/cen/attachInstance.js.map +1 -0
- package/cen/attachInstances.d.ts +101 -0
- package/cen/attachInstances.js +40 -0
- package/cen/attachInstances.js.map +1 -0
- package/cen/bandwidthPackage.d.ts +268 -0
- package/cen/bandwidthPackage.js +115 -0
- package/cen/bandwidthPackage.js.map +1 -0
- package/cen/bandwidthPackageAssociate.d.ts +82 -0
- package/cen/bandwidthPackageAssociate.js +79 -0
- package/cen/bandwidthPackageAssociate.js.map +1 -0
- package/cen/bandwidthPackages.d.ts +126 -0
- package/cen/bandwidthPackages.js +44 -0
- package/cen/bandwidthPackages.js.map +1 -0
- package/cen/cen.d.ts +156 -0
- package/cen/cen.js +90 -0
- package/cen/cen.js.map +1 -0
- package/cen/cens.d.ts +92 -0
- package/cen/cens.js +40 -0
- package/cen/cens.js.map +1 -0
- package/cen/grantInstance.d.ts +121 -0
- package/cen/grantInstance.js +97 -0
- package/cen/grantInstance.js.map +1 -0
- package/cen/index.d.ts +14 -0
- package/cen/index.js +78 -0
- package/cen/index.js.map +1 -0
- package/cen/interRegionBandwidth.d.ts +140 -0
- package/cen/interRegionBandwidth.js +99 -0
- package/cen/interRegionBandwidth.js.map +1 -0
- package/cen/interRegionBandwidths.d.ts +62 -0
- package/cen/interRegionBandwidths.js +37 -0
- package/cen/interRegionBandwidths.js.map +1 -0
- package/cen/routeEntries.d.ts +113 -0
- package/cen/routeEntries.js +40 -0
- package/cen/routeEntries.js.map +1 -0
- package/cen/routeEntry.d.ts +152 -0
- package/cen/routeEntry.js +107 -0
- package/cen/routeEntry.js.map +1 -0
- package/cen/serviceRouteEntries.d.ts +101 -0
- package/cen/serviceRouteEntries.js +40 -0
- package/cen/serviceRouteEntries.js.map +1 -0
- package/cen/serviceRouteEntry.d.ts +215 -0
- package/cen/serviceRouteEntry.js +155 -0
- package/cen/serviceRouteEntry.js.map +1 -0
- package/clb/acl.d.ts +125 -0
- package/clb/acl.js +89 -0
- package/clb/acl.js.map +1 -0
- package/clb/aclEntry.d.ts +99 -0
- package/clb/aclEntry.js +86 -0
- package/clb/aclEntry.js.map +1 -0
- package/clb/acls.d.ts +95 -0
- package/clb/acls.js +40 -0
- package/clb/acls.js.map +1 -0
- package/clb/certificate.d.ts +166 -0
- package/clb/certificate.js +122 -0
- package/clb/certificate.js.map +1 -0
- package/clb/certificates.d.ts +150 -0
- package/clb/certificates.js +84 -0
- package/clb/certificates.js.map +1 -0
- package/clb/clb.d.ts +348 -0
- package/clb/clb.js +179 -0
- package/clb/clb.js.map +1 -0
- package/clb/clbs.d.ts +163 -0
- package/clb/clbs.js +75 -0
- package/clb/clbs.js.map +1 -0
- package/clb/index.d.ts +16 -0
- package/clb/index.js +80 -0
- package/clb/index.js.map +1 -0
- package/clb/listener.d.ts +279 -0
- package/clb/listener.js +155 -0
- package/clb/listener.js.map +1 -0
- package/clb/listeners.d.ts +140 -0
- package/clb/listeners.js +88 -0
- package/clb/listeners.js.map +1 -0
- package/clb/rule.d.ts +168 -0
- package/clb/rule.js +135 -0
- package/clb/rule.js.map +1 -0
- package/clb/rules.d.ts +122 -0
- package/clb/rules.js +92 -0
- package/clb/rules.js.map +1 -0
- package/clb/serverGroup.d.ts +131 -0
- package/clb/serverGroup.js +105 -0
- package/clb/serverGroup.js.map +1 -0
- package/clb/serverGroupServer.d.ts +198 -0
- package/clb/serverGroupServer.js +145 -0
- package/clb/serverGroupServer.js.map +1 -0
- package/clb/serverGroupServers.d.ts +133 -0
- package/clb/serverGroupServers.js +91 -0
- package/clb/serverGroupServers.js.map +1 -0
- package/clb/serverGroups.d.ts +121 -0
- package/clb/serverGroups.js +69 -0
- package/clb/serverGroups.js.map +1 -0
- package/clb/zones.d.ts +51 -0
- package/clb/zones.js +34 -0
- package/clb/zones.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +36 -0
- package/config/vars.js +66 -0
- package/config/vars.js.map +1 -0
- package/cr/authorizationTokens.d.ts +62 -0
- package/cr/authorizationTokens.js +36 -0
- package/cr/authorizationTokens.js.map +1 -0
- package/cr/endpoint.d.ts +90 -0
- package/cr/endpoint.js +78 -0
- package/cr/endpoint.js.map +1 -0
- package/cr/endpoints.d.ts +65 -0
- package/cr/endpoints.js +36 -0
- package/cr/endpoints.js.map +1 -0
- package/cr/index.d.ts +14 -0
- package/cr/index.js +74 -0
- package/cr/index.js.map +1 -0
- package/cr/namespace.d.ts +92 -0
- package/cr/namespace.js +80 -0
- package/cr/namespace.js.map +1 -0
- package/cr/namespaces.d.ts +72 -0
- package/cr/namespaces.js +38 -0
- package/cr/namespaces.js.map +1 -0
- package/cr/registries.d.ts +85 -0
- package/cr/registries.js +44 -0
- package/cr/registries.js.map +1 -0
- package/cr/registry.d.ts +151 -0
- package/cr/registry.js +89 -0
- package/cr/registry.js.map +1 -0
- package/cr/repositories.d.ts +92 -0
- package/cr/repositories.js +42 -0
- package/cr/repositories.js.map +1 -0
- package/cr/repository.d.ts +136 -0
- package/cr/repository.js +91 -0
- package/cr/repository.js.map +1 -0
- package/cr/state.d.ts +90 -0
- package/cr/state.js +77 -0
- package/cr/state.js.map +1 -0
- package/cr/tag.d.ts +157 -0
- package/cr/tag.js +100 -0
- package/cr/tag.js.map +1 -0
- package/cr/tags.d.ts +101 -0
- package/cr/tags.js +43 -0
- package/cr/tags.js.map +1 -0
- package/cr/vpcEndpoint.d.ts +92 -0
- package/cr/vpcEndpoint.js +88 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/cr/vpcEndpoints.d.ts +80 -0
- package/cr/vpcEndpoints.js +43 -0
- package/cr/vpcEndpoints.js.map +1 -0
- package/ebs/index.d.ts +3 -0
- package/ebs/index.js +43 -0
- package/ebs/index.js.map +1 -0
- package/ebs/volume.d.ts +219 -0
- package/ebs/volume.js +127 -0
- package/ebs/volume.js.map +1 -0
- package/ebs/volumeAttach.d.ts +118 -0
- package/ebs/volumeAttach.js +87 -0
- package/ebs/volumeAttach.js.map +1 -0
- package/ebs/volumes.d.ts +125 -0
- package/ebs/volumes.js +44 -0
- package/ebs/volumes.js.map +1 -0
- package/ecs/deploymentSet.d.ts +116 -0
- package/ecs/deploymentSet.js +84 -0
- package/ecs/deploymentSet.js.map +1 -0
- package/ecs/deploymentSetAssociate.d.ts +127 -0
- package/ecs/deploymentSetAssociate.js +124 -0
- package/ecs/deploymentSetAssociate.js.map +1 -0
- package/ecs/deploymentSets.d.ts +94 -0
- package/ecs/deploymentSets.js +50 -0
- package/ecs/deploymentSets.js.map +1 -0
- package/ecs/images.d.ts +130 -0
- package/ecs/images.js +45 -0
- package/ecs/images.js.map +1 -0
- package/ecs/index.d.ts +13 -0
- package/ecs/index.js +73 -0
- package/ecs/index.js.map +1 -0
- package/ecs/instance.d.ts +595 -0
- package/ecs/instance.js +218 -0
- package/ecs/instance.js.map +1 -0
- package/ecs/instances.d.ts +232 -0
- package/ecs/instances.js +95 -0
- package/ecs/instances.js.map +1 -0
- package/ecs/keyPair.d.ts +122 -0
- package/ecs/keyPair.js +84 -0
- package/ecs/keyPair.js.map +1 -0
- package/ecs/keyPairAssociate.d.ts +118 -0
- package/ecs/keyPairAssociate.js +115 -0
- package/ecs/keyPairAssociate.js.map +1 -0
- package/ecs/keyPairs.d.ts +109 -0
- package/ecs/keyPairs.js +46 -0
- package/ecs/keyPairs.js.map +1 -0
- package/ecs/launchTemplate.d.ts +328 -0
- package/ecs/launchTemplate.js +125 -0
- package/ecs/launchTemplate.js.map +1 -0
- package/ecs/launchTemplates.d.ts +95 -0
- package/ecs/launchTemplates.js +54 -0
- package/ecs/launchTemplates.js.map +1 -0
- package/ecs/state.d.ts +135 -0
- package/ecs/state.js +116 -0
- package/ecs/state.js.map +1 -0
- package/ecs/zones.d.ts +62 -0
- package/ecs/zones.js +37 -0
- package/ecs/zones.js.map +1 -0
- package/eip/address.d.ts +197 -0
- package/eip/address.js +100 -0
- package/eip/address.js.map +1 -0
- package/eip/addresses.d.ts +151 -0
- package/eip/addresses.js +47 -0
- package/eip/addresses.js.map +1 -0
- package/eip/associate.d.ts +140 -0
- package/eip/associate.js +120 -0
- package/eip/associate.js.map +1 -0
- package/eip/index.d.ts +3 -0
- package/eip/index.js +43 -0
- package/eip/index.js.map +1 -0
- package/escloud/index.d.ts +4 -0
- package/escloud/index.js +40 -0
- package/escloud/index.js.map +1 -0
- package/escloud/instance.d.ts +104 -0
- package/escloud/instance.js +107 -0
- package/escloud/instance.js.map +1 -0
- package/escloud/instances.d.ts +108 -0
- package/escloud/instances.js +43 -0
- package/escloud/instances.js.map +1 -0
- package/escloud/regions.d.ts +51 -0
- package/escloud/regions.js +34 -0
- package/escloud/regions.js.map +1 -0
- package/escloud/zones.d.ts +62 -0
- package/escloud/zones.js +36 -0
- package/escloud/zones.js.map +1 -0
- package/iam/accessKey.d.ts +135 -0
- package/iam/accessKey.js +82 -0
- package/iam/accessKey.js.map +1 -0
- package/iam/index.d.ts +10 -0
- package/iam/index.js +70 -0
- package/iam/index.js.map +1 -0
- package/iam/loginProfile.d.ts +108 -0
- package/iam/loginProfile.js +85 -0
- package/iam/loginProfile.js.map +1 -0
- package/iam/policies.d.ts +113 -0
- package/iam/policies.js +42 -0
- package/iam/policies.js.map +1 -0
- package/iam/policy.d.ts +127 -0
- package/iam/policy.js +90 -0
- package/iam/policy.js.map +1 -0
- package/iam/role.d.ts +129 -0
- package/iam/role.js +93 -0
- package/iam/role.js.map +1 -0
- package/iam/rolePolicyAttachment.d.ts +107 -0
- package/iam/rolePolicyAttachment.js +97 -0
- package/iam/rolePolicyAttachment.js.map +1 -0
- package/iam/roles.d.ts +81 -0
- package/iam/roles.js +37 -0
- package/iam/roles.js.map +1 -0
- package/iam/user.d.ts +151 -0
- package/iam/user.js +91 -0
- package/iam/user.js.map +1 -0
- package/iam/userPolicyAttachment.d.ts +104 -0
- package/iam/userPolicyAttachment.js +94 -0
- package/iam/userPolicyAttachment.js.map +1 -0
- package/iam/users.d.ts +69 -0
- package/iam/users.js +36 -0
- package/iam/users.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.js +85 -0
- package/index.js.map +1 -0
- package/mongodb/accounts.d.ts +74 -0
- package/mongodb/accounts.js +37 -0
- package/mongodb/accounts.js.map +1 -0
- package/mongodb/endpoint.d.ts +128 -0
- package/mongodb/endpoint.js +86 -0
- package/mongodb/endpoint.js.map +1 -0
- package/mongodb/endpoints.d.ts +62 -0
- package/mongodb/endpoints.js +37 -0
- package/mongodb/endpoints.js.map +1 -0
- package/mongodb/index.d.ts +16 -0
- package/mongodb/index.js +72 -0
- package/mongodb/index.js.map +1 -0
- package/mongodb/instance.d.ts +289 -0
- package/mongodb/instance.js +128 -0
- package/mongodb/instance.js.map +1 -0
- package/mongodb/instanceParameter.d.ts +113 -0
- package/mongodb/instanceParameter.js +96 -0
- package/mongodb/instanceParameter.js.map +1 -0
- package/mongodb/instanceParameterLogs.d.ts +82 -0
- package/mongodb/instanceParameterLogs.js +40 -0
- package/mongodb/instanceParameterLogs.js.map +1 -0
- package/mongodb/instanceParameters.d.ts +88 -0
- package/mongodb/instanceParameters.js +40 -0
- package/mongodb/instanceParameters.js.map +1 -0
- package/mongodb/instances.d.ts +206 -0
- package/mongodb/instances.js +50 -0
- package/mongodb/instances.js.map +1 -0
- package/mongodb/mongoAllowList.d.ts +120 -0
- package/mongodb/mongoAllowList.js +87 -0
- package/mongodb/mongoAllowList.js.map +1 -0
- package/mongodb/mongoAllowListAssociate.d.ts +82 -0
- package/mongodb/mongoAllowListAssociate.js +79 -0
- package/mongodb/mongoAllowListAssociate.js.map +1 -0
- package/mongodb/mongoAllowLists.d.ts +84 -0
- package/mongodb/mongoAllowLists.js +39 -0
- package/mongodb/mongoAllowLists.js.map +1 -0
- package/mongodb/regions.d.ts +51 -0
- package/mongodb/regions.js +34 -0
- package/mongodb/regions.js.map +1 -0
- package/mongodb/specs.d.ts +60 -0
- package/mongodb/specs.js +35 -0
- package/mongodb/specs.js.map +1 -0
- package/mongodb/sslState.d.ts +111 -0
- package/mongodb/sslState.js +84 -0
- package/mongodb/sslState.js.map +1 -0
- package/mongodb/sslStates.d.ts +65 -0
- package/mongodb/sslStates.js +36 -0
- package/mongodb/sslStates.js.map +1 -0
- package/mongodb/zones.d.ts +62 -0
- package/mongodb/zones.js +36 -0
- package/mongodb/zones.js.map +1 -0
- package/nat/dnatEntries.d.ts +144 -0
- package/nat/dnatEntries.js +42 -0
- package/nat/dnatEntries.js.map +1 -0
- package/nat/dnatEntry.d.ts +155 -0
- package/nat/dnatEntry.js +108 -0
- package/nat/dnatEntry.js.map +1 -0
- package/nat/gateway.d.ts +171 -0
- package/nat/gateway.js +97 -0
- package/nat/gateway.js.map +1 -0
- package/nat/gateways.d.ts +146 -0
- package/nat/gateways.js +47 -0
- package/nat/gateways.js.map +1 -0
- package/nat/index.d.ts +6 -0
- package/nat/index.js +50 -0
- package/nat/index.js.map +1 -0
- package/nat/snatEntries.d.ts +122 -0
- package/nat/snatEntries.js +42 -0
- package/nat/snatEntries.js.map +1 -0
- package/nat/snatEntry.d.ts +128 -0
- package/nat/snatEntry.js +89 -0
- package/nat/snatEntry.js.map +1 -0
- package/package.json +29 -0
- package/package.json.bak +29 -0
- package/privatelink/index.d.ts +12 -0
- package/privatelink/index.js +72 -0
- package/privatelink/index.js.map +1 -0
- package/privatelink/securityGroup.d.ts +82 -0
- package/privatelink/securityGroup.js +79 -0
- package/privatelink/securityGroup.js.map +1 -0
- package/privatelink/vpcEndpoint.d.ts +197 -0
- package/privatelink/vpcEndpoint.js +110 -0
- package/privatelink/vpcEndpoint.js.map +1 -0
- package/privatelink/vpcEndpointConnection.d.ts +131 -0
- package/privatelink/vpcEndpointConnection.js +91 -0
- package/privatelink/vpcEndpointConnection.js.map +1 -0
- package/privatelink/vpcEndpointConnections.d.ts +90 -0
- package/privatelink/vpcEndpointConnections.js +39 -0
- package/privatelink/vpcEndpointConnections.js.map +1 -0
- package/privatelink/vpcEndpointService.d.ts +171 -0
- package/privatelink/vpcEndpointService.js +100 -0
- package/privatelink/vpcEndpointService.js.map +1 -0
- package/privatelink/vpcEndpointServicePermission.d.ts +86 -0
- package/privatelink/vpcEndpointServicePermission.js +83 -0
- package/privatelink/vpcEndpointServicePermission.js.map +1 -0
- package/privatelink/vpcEndpointServicePermissions.d.ts +74 -0
- package/privatelink/vpcEndpointServicePermissions.js +37 -0
- package/privatelink/vpcEndpointServicePermissions.js.map +1 -0
- package/privatelink/vpcEndpointServiceResource.d.ts +90 -0
- package/privatelink/vpcEndpointServiceResource.js +87 -0
- package/privatelink/vpcEndpointServiceResource.js.map +1 -0
- package/privatelink/vpcEndpointServices.d.ts +86 -0
- package/privatelink/vpcEndpointServices.js +42 -0
- package/privatelink/vpcEndpointServices.js.map +1 -0
- package/privatelink/vpcEndpointZone.d.ts +127 -0
- package/privatelink/vpcEndpointZone.js +90 -0
- package/privatelink/vpcEndpointZone.js.map +1 -0
- package/privatelink/vpcEndpointZones.d.ts +62 -0
- package/privatelink/vpcEndpointZones.js +37 -0
- package/privatelink/vpcEndpointZones.js.map +1 -0
- package/privatelink/vpcEndpoints.d.ts +119 -0
- package/privatelink/vpcEndpoints.js +42 -0
- package/privatelink/vpcEndpoints.js.map +1 -0
- package/provider.d.ts +95 -0
- package/provider.js +54 -0
- package/provider.js.map +1 -0
- package/rds/account.d.ts +144 -0
- package/rds/account.js +91 -0
- package/rds/account.js.map +1 -0
- package/rds/accountPrivilege.d.ts +131 -0
- package/rds/accountPrivilege.js +105 -0
- package/rds/accountPrivilege.js.map +1 -0
- package/rds/accounts.d.ts +83 -0
- package/rds/accounts.js +38 -0
- package/rds/accounts.js.map +1 -0
- package/rds/database.d.ts +113 -0
- package/rds/database.js +85 -0
- package/rds/database.js.map +1 -0
- package/rds/databases.d.ts +83 -0
- package/rds/databases.js +38 -0
- package/rds/databases.js.map +1 -0
- package/rds/index.d.ts +11 -0
- package/rds/index.js +67 -0
- package/rds/index.js.map +1 -0
- package/rds/instance.d.ts +403 -0
- package/rds/instance.js +145 -0
- package/rds/instance.js.map +1 -0
- package/rds/instances.d.ts +140 -0
- package/rds/instances.js +44 -0
- package/rds/instances.js.map +1 -0
- package/rds/ipList.d.ts +98 -0
- package/rds/ipList.js +88 -0
- package/rds/ipList.js.map +1 -0
- package/rds/ipLists.d.ts +71 -0
- package/rds/ipLists.js +37 -0
- package/rds/ipLists.js.map +1 -0
- package/rds/parameterTemplate.d.ts +144 -0
- package/rds/parameterTemplate.js +101 -0
- package/rds/parameterTemplate.js.map +1 -0
- package/rds/parameterTemplates.d.ts +117 -0
- package/rds/parameterTemplates.js +39 -0
- package/rds/parameterTemplates.js.map +1 -0
- package/rds_mysql/account.d.ts +157 -0
- package/rds_mysql/account.js +93 -0
- package/rds_mysql/account.js.map +1 -0
- package/rds_mysql/accounts.d.ts +84 -0
- package/rds_mysql/accounts.js +39 -0
- package/rds_mysql/accounts.js.map +1 -0
- package/rds_mysql/allowlist.d.ts +115 -0
- package/rds_mysql/allowlist.js +86 -0
- package/rds_mysql/allowlist.js.map +1 -0
- package/rds_mysql/allowlistAssociate.d.ts +82 -0
- package/rds_mysql/allowlistAssociate.js +79 -0
- package/rds_mysql/allowlistAssociate.js.map +1 -0
- package/rds_mysql/allowlists.d.ts +74 -0
- package/rds_mysql/allowlists.js +37 -0
- package/rds_mysql/allowlists.js.map +1 -0
- package/rds_mysql/database.d.ts +113 -0
- package/rds_mysql/database.js +82 -0
- package/rds_mysql/database.js.map +1 -0
- package/rds_mysql/databases.d.ts +84 -0
- package/rds_mysql/databases.js +39 -0
- package/rds_mysql/databases.js.map +1 -0
- package/rds_mysql/index.d.ts +10 -0
- package/rds_mysql/index.js +66 -0
- package/rds_mysql/index.js.map +1 -0
- package/rds_mysql/instance.d.ts +412 -0
- package/rds_mysql/instance.js +179 -0
- package/rds_mysql/instance.js.map +1 -0
- package/rds_mysql/instanceReadonlyNode.d.ts +103 -0
- package/rds_mysql/instanceReadonlyNode.js +87 -0
- package/rds_mysql/instanceReadonlyNode.js.map +1 -0
- package/rds_mysql/instances.d.ts +154 -0
- package/rds_mysql/instances.js +45 -0
- package/rds_mysql/instances.js.map +1 -0
- package/rds_v2/index.d.ts +2 -0
- package/rds_v2/index.js +38 -0
- package/rds_v2/index.js.map +1 -0
- package/rds_v2/rdsInstanceV2.d.ts +289 -0
- package/rds_v2/rdsInstanceV2.js +145 -0
- package/rds_v2/rdsInstanceV2.js.map +1 -0
- package/rds_v2/rdsInstancesV2.d.ts +234 -0
- package/rds_v2/rdsInstancesV2.js +44 -0
- package/rds_v2/rdsInstancesV2.js.map +1 -0
- package/redis/account.d.ts +121 -0
- package/redis/account.js +94 -0
- package/redis/account.js.map +1 -0
- package/redis/accounts.d.ts +77 -0
- package/redis/accounts.js +37 -0
- package/redis/accounts.js.map +1 -0
- package/redis/allowList.d.ts +141 -0
- package/redis/allowList.js +97 -0
- package/redis/allowList.js.map +1 -0
- package/redis/allowListAssociate.d.ts +86 -0
- package/redis/allowListAssociate.js +83 -0
- package/redis/allowListAssociate.js.map +1 -0
- package/redis/allowLists.d.ts +83 -0
- package/redis/allowLists.js +38 -0
- package/redis/allowLists.js.map +1 -0
- package/redis/backup.d.ts +134 -0
- package/redis/backup.js +89 -0
- package/redis/backup.js.map +1 -0
- package/redis/backupRestore.d.ts +94 -0
- package/redis/backupRestore.js +81 -0
- package/redis/backupRestore.js.map +1 -0
- package/redis/backups.d.ts +99 -0
- package/redis/backups.js +40 -0
- package/redis/backups.js.map +1 -0
- package/redis/continuousBackup.d.ts +69 -0
- package/redis/continuousBackup.js +73 -0
- package/redis/continuousBackup.js.map +1 -0
- package/redis/endpoint.d.ts +82 -0
- package/redis/endpoint.js +79 -0
- package/redis/endpoint.js.map +1 -0
- package/redis/index.d.ts +16 -0
- package/redis/index.js +84 -0
- package/redis/index.js.map +1 -0
- package/redis/instance.d.ts +392 -0
- package/redis/instance.js +181 -0
- package/redis/instance.js.map +1 -0
- package/redis/instances.d.ts +179 -0
- package/redis/instances.js +47 -0
- package/redis/instances.js.map +1 -0
- package/redis/pitrTimeWindows.d.ts +31 -0
- package/redis/pitrTimeWindows.js +23 -0
- package/redis/pitrTimeWindows.js.map +1 -0
- package/redis/regions.d.ts +65 -0
- package/redis/regions.js +37 -0
- package/redis/regions.js.map +1 -0
- package/redis/state.d.ts +82 -0
- package/redis/state.js +79 -0
- package/redis/state.js.map +1 -0
- package/redis/zones.d.ts +62 -0
- package/redis/zones.js +36 -0
- package/redis/zones.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +26 -0
- package/tls/alarm.d.ts +222 -0
- package/tls/alarm.js +134 -0
- package/tls/alarm.js.map +1 -0
- package/tls/alarmNotifyGroup.d.ts +126 -0
- package/tls/alarmNotifyGroup.js +99 -0
- package/tls/alarmNotifyGroup.js.map +1 -0
- package/tls/alarmNotifyGroups.d.ts +96 -0
- package/tls/alarmNotifyGroups.js +38 -0
- package/tls/alarmNotifyGroups.js.map +1 -0
- package/tls/alarms.d.ts +125 -0
- package/tls/alarms.js +41 -0
- package/tls/alarms.js.map +1 -0
- package/tls/host.d.ts +82 -0
- package/tls/host.js +79 -0
- package/tls/host.js.map +1 -0
- package/tls/hostGroup.d.ts +225 -0
- package/tls/hostGroup.js +110 -0
- package/tls/hostGroup.js.map +1 -0
- package/tls/hostGroups.d.ts +126 -0
- package/tls/hostGroups.js +43 -0
- package/tls/hostGroups.js.map +1 -0
- package/tls/hosts.d.ts +89 -0
- package/tls/hosts.js +38 -0
- package/tls/hosts.js.map +1 -0
- package/tls/index.d.ts +21 -0
- package/tls/index.js +93 -0
- package/tls/index.js.map +1 -0
- package/tls/index_.d.ts +143 -0
- package/tls/index_.js +114 -0
- package/tls/index_.js.map +1 -0
- package/tls/indexes.d.ts +62 -0
- package/tls/indexes.js +36 -0
- package/tls/indexes.js.map +1 -0
- package/tls/kafkaConsumer.d.ts +85 -0
- package/tls/kafkaConsumer.js +77 -0
- package/tls/kafkaConsumer.js.map +1 -0
- package/tls/kafkaConsumers.d.ts +66 -0
- package/tls/kafkaConsumers.js +41 -0
- package/tls/kafkaConsumers.js.map +1 -0
- package/tls/project.d.ts +136 -0
- package/tls/project.js +91 -0
- package/tls/project.js.map +1 -0
- package/tls/projects.d.ts +119 -0
- package/tls/projects.js +42 -0
- package/tls/projects.js.map +1 -0
- package/tls/rule.d.ts +284 -0
- package/tls/rule.js +194 -0
- package/tls/rule.js.map +1 -0
- package/tls/ruleApplier.d.ts +82 -0
- package/tls/ruleApplier.js +79 -0
- package/tls/ruleApplier.js.map +1 -0
- package/tls/ruleAppliers.d.ts +62 -0
- package/tls/ruleAppliers.js +36 -0
- package/tls/ruleAppliers.js.map +1 -0
- package/tls/rules.d.ts +110 -0
- package/tls/rules.js +40 -0
- package/tls/rules.js.map +1 -0
- package/tls/shards.d.ts +65 -0
- package/tls/shards.js +36 -0
- package/tls/shards.js.map +1 -0
- package/tls/topic.d.ts +219 -0
- package/tls/topic.js +119 -0
- package/tls/topic.js.map +1 -0
- package/tls/topics.d.ts +120 -0
- package/tls/topics.js +42 -0
- package/tls/topics.js.map +1 -0
- package/tos/bucket.d.ts +163 -0
- package/tos/bucket.js +102 -0
- package/tos/bucket.js.map +1 -0
- package/tos/bucketObject.d.ts +198 -0
- package/tos/bucketObject.js +115 -0
- package/tos/bucketObject.js.map +1 -0
- package/tos/bucketObjects.d.ts +80 -0
- package/tos/bucketObjects.js +38 -0
- package/tos/bucketObjects.js.map +1 -0
- package/tos/bucketPolicy.d.ts +93 -0
- package/tos/bucketPolicy.js +87 -0
- package/tos/bucketPolicy.js.map +1 -0
- package/tos/buckets.d.ts +71 -0
- package/tos/buckets.js +38 -0
- package/tos/buckets.js.map +1 -0
- package/tos/index.d.ts +5 -0
- package/tos/index.js +49 -0
- package/tos/index.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +2754 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +11698 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
- package/veenedge/availableResources.d.ts +82 -0
- package/veenedge/availableResources.js +40 -0
- package/veenedge/availableResources.js.map +1 -0
- package/veenedge/cloudServer.d.ts +267 -0
- package/veenedge/cloudServer.js +161 -0
- package/veenedge/cloudServer.js.map +1 -0
- package/veenedge/cloudServers.d.ts +69 -0
- package/veenedge/cloudServers.js +36 -0
- package/veenedge/cloudServers.js.map +1 -0
- package/veenedge/index.d.ts +8 -0
- package/veenedge/index.js +52 -0
- package/veenedge/index.js.map +1 -0
- package/veenedge/instance.d.ts +170 -0
- package/veenedge/instance.js +91 -0
- package/veenedge/instance.js.map +1 -0
- package/veenedge/instanceTypes.d.ts +51 -0
- package/veenedge/instanceTypes.js +34 -0
- package/veenedge/instanceTypes.js.map +1 -0
- package/veenedge/instances.d.ts +92 -0
- package/veenedge/instances.js +43 -0
- package/veenedge/instances.js.map +1 -0
- package/veenedge/vpc.d.ts +108 -0
- package/veenedge/vpc.js +88 -0
- package/veenedge/vpc.js.map +1 -0
- package/veenedge/vpcs.d.ts +69 -0
- package/veenedge/vpcs.js +36 -0
- package/veenedge/vpcs.js.map +1 -0
- package/vke/addon.d.ts +135 -0
- package/vke/addon.js +89 -0
- package/vke/addon.js.map +1 -0
- package/vke/addons.d.ts +125 -0
- package/vke/addons.js +44 -0
- package/vke/addons.js.map +1 -0
- package/vke/cluster.d.ts +243 -0
- package/vke/cluster.js +144 -0
- package/vke/cluster.js.map +1 -0
- package/vke/clusters.d.ts +165 -0
- package/vke/clusters.js +51 -0
- package/vke/clusters.js.map +1 -0
- package/vke/defaultNodePool.d.ts +185 -0
- package/vke/defaultNodePool.js +148 -0
- package/vke/defaultNodePool.js.map +1 -0
- package/vke/defaultNodePoolBatchAttach.d.ts +248 -0
- package/vke/defaultNodePoolBatchAttach.js +206 -0
- package/vke/defaultNodePoolBatchAttach.js.map +1 -0
- package/vke/index.d.ts +13 -0
- package/vke/index.js +73 -0
- package/vke/index.js.map +1 -0
- package/vke/kubeconfig.d.ts +94 -0
- package/vke/kubeconfig.js +81 -0
- package/vke/kubeconfig.js.map +1 -0
- package/vke/kubeconfigs.d.ts +111 -0
- package/vke/kubeconfigs.js +46 -0
- package/vke/kubeconfigs.js.map +1 -0
- package/vke/node.d.ts +294 -0
- package/vke/node.js +210 -0
- package/vke/node.js.map +1 -0
- package/vke/nodePool.d.ts +187 -0
- package/vke/nodePool.js +133 -0
- package/vke/nodePool.js.map +1 -0
- package/vke/nodePools.d.ts +159 -0
- package/vke/nodePools.js +47 -0
- package/vke/nodePools.js.map +1 -0
- package/vke/nodes.d.ts +145 -0
- package/vke/nodes.js +58 -0
- package/vke/nodes.js.map +1 -0
- package/vke/supportAddons.d.ts +126 -0
- package/vke/supportAddons.js +44 -0
- package/vke/supportAddons.js.map +1 -0
- package/vpc/index.d.ts +24 -0
- package/vpc/index.js +108 -0
- package/vpc/index.js.map +1 -0
- package/vpc/ipv6AddressBandwidth.d.ts +197 -0
- package/vpc/ipv6AddressBandwidth.js +112 -0
- package/vpc/ipv6AddressBandwidth.js.map +1 -0
- package/vpc/ipv6AddressBandwidths.d.ts +122 -0
- package/vpc/ipv6AddressBandwidths.js +43 -0
- package/vpc/ipv6AddressBandwidths.js.map +1 -0
- package/vpc/ipv6Addresses.d.ts +62 -0
- package/vpc/ipv6Addresses.js +37 -0
- package/vpc/ipv6Addresses.js.map +1 -0
- package/vpc/ipv6Gateway.d.ts +126 -0
- package/vpc/ipv6Gateway.js +86 -0
- package/vpc/ipv6Gateway.js.map +1 -0
- package/vpc/ipv6Gateways.d.ts +92 -0
- package/vpc/ipv6Gateways.js +40 -0
- package/vpc/ipv6Gateways.js.map +1 -0
- package/vpc/networkAcl.d.ts +153 -0
- package/vpc/networkAcl.js +106 -0
- package/vpc/networkAcl.js.map +1 -0
- package/vpc/networkAclAssociate.d.ts +86 -0
- package/vpc/networkAclAssociate.js +83 -0
- package/vpc/networkAclAssociate.js.map +1 -0
- package/vpc/networkAcls.d.ts +107 -0
- package/vpc/networkAcls.js +44 -0
- package/vpc/networkAcls.js.map +1 -0
- package/vpc/networkInterface.d.ts +193 -0
- package/vpc/networkInterface.js +103 -0
- package/vpc/networkInterface.js.map +1 -0
- package/vpc/networkInterfaceAttach.d.ts +82 -0
- package/vpc/networkInterfaceAttach.js +79 -0
- package/vpc/networkInterfaceAttach.js.map +1 -0
- package/vpc/networkInterfaces.d.ts +203 -0
- package/vpc/networkInterfaces.js +50 -0
- package/vpc/networkInterfaces.js.map +1 -0
- package/vpc/routeEntries.d.ts +132 -0
- package/vpc/routeEntries.js +43 -0
- package/vpc/routeEntries.js.map +1 -0
- package/vpc/routeEntry.d.ts +150 -0
- package/vpc/routeEntry.js +101 -0
- package/vpc/routeEntry.js.map +1 -0
- package/vpc/routeTable.d.ts +108 -0
- package/vpc/routeTable.js +82 -0
- package/vpc/routeTable.js.map +1 -0
- package/vpc/routeTableAssociate.d.ts +82 -0
- package/vpc/routeTableAssociate.js +79 -0
- package/vpc/routeTableAssociate.js.map +1 -0
- package/vpc/routeTables.d.ts +102 -0
- package/vpc/routeTables.js +44 -0
- package/vpc/routeTables.js.map +1 -0
- package/vpc/securityGroup.d.ts +135 -0
- package/vpc/securityGroup.js +86 -0
- package/vpc/securityGroup.js.map +1 -0
- package/vpc/securityGroupRule.d.ts +230 -0
- package/vpc/securityGroupRule.js +150 -0
- package/vpc/securityGroupRule.js.map +1 -0
- package/vpc/securityGroupRules.d.ts +109 -0
- package/vpc/securityGroupRules.js +40 -0
- package/vpc/securityGroupRules.js.map +1 -0
- package/vpc/securityGroups.d.ts +116 -0
- package/vpc/securityGroups.js +42 -0
- package/vpc/securityGroups.js.map +1 -0
- package/vpc/subnet.d.ts +160 -0
- package/vpc/subnet.js +98 -0
- package/vpc/subnet.js.map +1 -0
- package/vpc/subnets.d.ts +119 -0
- package/vpc/subnets.js +42 -0
- package/vpc/subnets.js.map +1 -0
- package/vpc/vpc.d.ts +248 -0
- package/vpc/vpc.js +115 -0
- package/vpc/vpc.js.map +1 -0
- package/vpc/vpcs.d.ts +107 -0
- package/vpc/vpcs.js +41 -0
- package/vpc/vpcs.js.map +1 -0
- package/vpn/connection.d.ts +482 -0
- package/vpn/connection.js +177 -0
- package/vpn/connection.js.map +1 -0
- package/vpn/connections.d.ts +104 -0
- package/vpn/connections.js +41 -0
- package/vpn/connections.js.map +1 -0
- package/vpn/customerGateway.d.ts +156 -0
- package/vpn/customerGateway.js +94 -0
- package/vpn/customerGateway.js.map +1 -0
- package/vpn/customerGateways.d.ts +92 -0
- package/vpn/customerGateways.js +40 -0
- package/vpn/customerGateways.js.map +1 -0
- package/vpn/gateway.d.ts +281 -0
- package/vpn/gateway.js +126 -0
- package/vpn/gateway.js.map +1 -0
- package/vpn/gatewayRoute.d.ts +127 -0
- package/vpn/gatewayRoute.js +93 -0
- package/vpn/gatewayRoute.js.map +1 -0
- package/vpn/gatewayRoutes.d.ts +98 -0
- package/vpn/gatewayRoutes.js +40 -0
- package/vpn/gatewayRoutes.js.map +1 -0
- package/vpn/gateways.d.ts +125 -0
- package/vpn/gateways.js +43 -0
- package/vpn/gateways.js.map +1 -0
- package/vpn/index.d.ts +8 -0
- package/vpn/index.js +56 -0
- package/vpn/index.js.map +1 -0
package/rds/account.d.ts
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Provides a resource to manage rds account
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.rds.Account("foo", {
|
|
11
|
+
* accountName: "test",
|
|
12
|
+
* accountPassword: "Aatest123",
|
|
13
|
+
* accountType: "Normal",
|
|
14
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* RDS account can be imported using the id, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import volcengine:rds/account:Account default mysql-42b38c769c4b:test
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class Account extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountState, opts?: pulumi.CustomResourceOptions): Account;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is Account;
|
|
42
|
+
/**
|
|
43
|
+
* Database account name. The rules are as follows:
|
|
44
|
+
* Unique name.
|
|
45
|
+
* Start with a letter and end with a letter or number.
|
|
46
|
+
* Consists of lowercase letters, numbers, or underscores (_).
|
|
47
|
+
* The length is 2~32 characters.
|
|
48
|
+
* The [keyword list](https://www.volcengine.com/docs/6313/66162) is disabled for database accounts, and certain reserved words, including root, admin, etc., cannot be used.
|
|
49
|
+
*/
|
|
50
|
+
readonly accountName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The password of the database account.
|
|
53
|
+
* illustrate
|
|
54
|
+
* Cannot start with `!` or `@`.
|
|
55
|
+
* The length is 8~32 characters.
|
|
56
|
+
* It consists of any three of uppercase letters, lowercase letters, numbers, and special characters.
|
|
57
|
+
* The special characters are `!@#$%^*()_+-=`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
58
|
+
*/
|
|
59
|
+
readonly accountPassword: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Database account type, value:
|
|
62
|
+
* Super: A high-privilege account. Only one database account can be created for an instance.
|
|
63
|
+
* Normal: An account with ordinary privileges.
|
|
64
|
+
*/
|
|
65
|
+
readonly accountType: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the RDS instance.
|
|
68
|
+
*/
|
|
69
|
+
readonly instanceId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a Account resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Input properties used for looking up and filtering Account resources.
|
|
81
|
+
*/
|
|
82
|
+
export interface AccountState {
|
|
83
|
+
/**
|
|
84
|
+
* Database account name. The rules are as follows:
|
|
85
|
+
* Unique name.
|
|
86
|
+
* Start with a letter and end with a letter or number.
|
|
87
|
+
* Consists of lowercase letters, numbers, or underscores (_).
|
|
88
|
+
* The length is 2~32 characters.
|
|
89
|
+
* The [keyword list](https://www.volcengine.com/docs/6313/66162) is disabled for database accounts, and certain reserved words, including root, admin, etc., cannot be used.
|
|
90
|
+
*/
|
|
91
|
+
accountName?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The password of the database account.
|
|
94
|
+
* illustrate
|
|
95
|
+
* Cannot start with `!` or `@`.
|
|
96
|
+
* The length is 8~32 characters.
|
|
97
|
+
* It consists of any three of uppercase letters, lowercase letters, numbers, and special characters.
|
|
98
|
+
* The special characters are `!@#$%^*()_+-=`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
99
|
+
*/
|
|
100
|
+
accountPassword?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Database account type, value:
|
|
103
|
+
* Super: A high-privilege account. Only one database account can be created for an instance.
|
|
104
|
+
* Normal: An account with ordinary privileges.
|
|
105
|
+
*/
|
|
106
|
+
accountType?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the RDS instance.
|
|
109
|
+
*/
|
|
110
|
+
instanceId?: pulumi.Input<string>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* The set of arguments for constructing a Account resource.
|
|
114
|
+
*/
|
|
115
|
+
export interface AccountArgs {
|
|
116
|
+
/**
|
|
117
|
+
* Database account name. The rules are as follows:
|
|
118
|
+
* Unique name.
|
|
119
|
+
* Start with a letter and end with a letter or number.
|
|
120
|
+
* Consists of lowercase letters, numbers, or underscores (_).
|
|
121
|
+
* The length is 2~32 characters.
|
|
122
|
+
* The [keyword list](https://www.volcengine.com/docs/6313/66162) is disabled for database accounts, and certain reserved words, including root, admin, etc., cannot be used.
|
|
123
|
+
*/
|
|
124
|
+
accountName: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* The password of the database account.
|
|
127
|
+
* illustrate
|
|
128
|
+
* Cannot start with `!` or `@`.
|
|
129
|
+
* The length is 8~32 characters.
|
|
130
|
+
* It consists of any three of uppercase letters, lowercase letters, numbers, and special characters.
|
|
131
|
+
* The special characters are `!@#$%^*()_+-=`. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
132
|
+
*/
|
|
133
|
+
accountPassword: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Database account type, value:
|
|
136
|
+
* Super: A high-privilege account. Only one database account can be created for an instance.
|
|
137
|
+
* Normal: An account with ordinary privileges.
|
|
138
|
+
*/
|
|
139
|
+
accountType: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The ID of the RDS instance.
|
|
142
|
+
*/
|
|
143
|
+
instanceId: pulumi.Input<string>;
|
|
144
|
+
}
|
package/rds/account.js
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Provides a resource to manage rds account
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.rds.Account("foo", {
|
|
17
|
+
* accountName: "test",
|
|
18
|
+
* accountPassword: "Aatest123",
|
|
19
|
+
* accountType: "Normal",
|
|
20
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* RDS account can be imported using the id, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import volcengine:rds/account:Account default mysql-42b38c769c4b:test
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
class Account extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing Account resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param state Any extra arguments used during the lookup.
|
|
40
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
41
|
+
*/
|
|
42
|
+
static get(name, id, state, opts) {
|
|
43
|
+
return new Account(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of Account. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj) {
|
|
50
|
+
if (obj === undefined || obj === null) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
return obj['__pulumiType'] === Account.__pulumiType;
|
|
54
|
+
}
|
|
55
|
+
constructor(name, argsOrState, opts) {
|
|
56
|
+
let resourceInputs = {};
|
|
57
|
+
opts = opts || {};
|
|
58
|
+
if (opts.id) {
|
|
59
|
+
const state = argsOrState;
|
|
60
|
+
resourceInputs["accountName"] = state ? state.accountName : undefined;
|
|
61
|
+
resourceInputs["accountPassword"] = state ? state.accountPassword : undefined;
|
|
62
|
+
resourceInputs["accountType"] = state ? state.accountType : undefined;
|
|
63
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if ((!args || args.accountName === undefined) && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'accountName'");
|
|
69
|
+
}
|
|
70
|
+
if ((!args || args.accountPassword === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'accountPassword'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.accountType === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'accountType'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'instanceId'");
|
|
78
|
+
}
|
|
79
|
+
resourceInputs["accountName"] = args ? args.accountName : undefined;
|
|
80
|
+
resourceInputs["accountPassword"] = args ? args.accountPassword : undefined;
|
|
81
|
+
resourceInputs["accountType"] = args ? args.accountType : undefined;
|
|
82
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
super(Account.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.Account = Account;
|
|
89
|
+
/** @internal */
|
|
90
|
+
Account.__pulumiType = 'volcengine:rds/account:Account';
|
|
91
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"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oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA/FL,0BAgGC;AAlFG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Provides a resource to manage rds account privilege
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as pulumi from "@volcengine/pulumi";
|
|
10
|
+
*
|
|
11
|
+
* const appName = new volcengine.rds.Account("appName", {
|
|
12
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
13
|
+
* accountName: "terraform-test-app",
|
|
14
|
+
* accountPassword: "Aatest123",
|
|
15
|
+
* accountType: "Normal",
|
|
16
|
+
* });
|
|
17
|
+
* const foo = new volcengine.rds.AccountPrivilege("foo", {
|
|
18
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
19
|
+
* accountName: appName.accountName,
|
|
20
|
+
* dbPrivileges: [
|
|
21
|
+
* {
|
|
22
|
+
* dbName: "foo",
|
|
23
|
+
* accountPrivilege: "Custom",
|
|
24
|
+
* accountPrivilegeStr: "ALTER,ALTER ROUTINE,CREATE,CREATE ROUTINE,CREATE TEMPORARY TABLES",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* dbName: "bar",
|
|
28
|
+
* accountPrivilege: "DDLOnly",
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* dbName: "demo",
|
|
32
|
+
* accountPrivilege: "ReadWrite",
|
|
33
|
+
* },
|
|
34
|
+
* ],
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* RDS account privilege can be imported using the id, e.g.
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import volcengine:rds/accountPrivilege:AccountPrivilege default mysql-42b38c769c4b:account_name
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class AccountPrivilege extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing AccountPrivilege resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountPrivilegeState, opts?: pulumi.CustomResourceOptions): AccountPrivilege;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of AccountPrivilege. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is AccountPrivilege;
|
|
62
|
+
/**
|
|
63
|
+
* Database account name. The rules are as follows:
|
|
64
|
+
* Unique name.
|
|
65
|
+
* Start with a letter and end with a letter or number.
|
|
66
|
+
* Consists of lowercase letters, numbers, or underscores (_).
|
|
67
|
+
* The length is 2~32 characters.
|
|
68
|
+
* The [keyword list](https://www.volcengine.com/docs/6313/66162) is disabled for database accounts, and certain reserved words, including root, admin, etc., cannot be used.
|
|
69
|
+
*/
|
|
70
|
+
readonly accountName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The privileges of the account.
|
|
73
|
+
*/
|
|
74
|
+
readonly dbPrivileges: pulumi.Output<outputs.rds.AccountPrivilegeDbPrivilege[]>;
|
|
75
|
+
/**
|
|
76
|
+
* The ID of the RDS instance.
|
|
77
|
+
*/
|
|
78
|
+
readonly instanceId: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Create a AccountPrivilege resource with the given unique name, arguments, and options.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resource.
|
|
83
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
84
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
85
|
+
*/
|
|
86
|
+
constructor(name: string, args: AccountPrivilegeArgs, opts?: pulumi.CustomResourceOptions);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Input properties used for looking up and filtering AccountPrivilege resources.
|
|
90
|
+
*/
|
|
91
|
+
export interface AccountPrivilegeState {
|
|
92
|
+
/**
|
|
93
|
+
* Database account name. The rules are as follows:
|
|
94
|
+
* Unique name.
|
|
95
|
+
* Start with a letter and end with a letter or number.
|
|
96
|
+
* Consists of lowercase letters, numbers, or underscores (_).
|
|
97
|
+
* The length is 2~32 characters.
|
|
98
|
+
* The [keyword list](https://www.volcengine.com/docs/6313/66162) is disabled for database accounts, and certain reserved words, including root, admin, etc., cannot be used.
|
|
99
|
+
*/
|
|
100
|
+
accountName?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The privileges of the account.
|
|
103
|
+
*/
|
|
104
|
+
dbPrivileges?: pulumi.Input<pulumi.Input<inputs.rds.AccountPrivilegeDbPrivilege>[]>;
|
|
105
|
+
/**
|
|
106
|
+
* The ID of the RDS instance.
|
|
107
|
+
*/
|
|
108
|
+
instanceId?: pulumi.Input<string>;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* The set of arguments for constructing a AccountPrivilege resource.
|
|
112
|
+
*/
|
|
113
|
+
export interface AccountPrivilegeArgs {
|
|
114
|
+
/**
|
|
115
|
+
* Database account name. The rules are as follows:
|
|
116
|
+
* Unique name.
|
|
117
|
+
* Start with a letter and end with a letter or number.
|
|
118
|
+
* Consists of lowercase letters, numbers, or underscores (_).
|
|
119
|
+
* The length is 2~32 characters.
|
|
120
|
+
* The [keyword list](https://www.volcengine.com/docs/6313/66162) is disabled for database accounts, and certain reserved words, including root, admin, etc., cannot be used.
|
|
121
|
+
*/
|
|
122
|
+
accountName: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The privileges of the account.
|
|
125
|
+
*/
|
|
126
|
+
dbPrivileges: pulumi.Input<pulumi.Input<inputs.rds.AccountPrivilegeDbPrivilege>[]>;
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the RDS instance.
|
|
129
|
+
*/
|
|
130
|
+
instanceId: pulumi.Input<string>;
|
|
131
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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.AccountPrivilege = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Provides a resource to manage rds account privilege
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as pulumi from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const appName = new volcengine.rds.Account("appName", {
|
|
17
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
18
|
+
* accountName: "terraform-test-app",
|
|
19
|
+
* accountPassword: "Aatest123",
|
|
20
|
+
* accountType: "Normal",
|
|
21
|
+
* });
|
|
22
|
+
* const foo = new volcengine.rds.AccountPrivilege("foo", {
|
|
23
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
24
|
+
* accountName: appName.accountName,
|
|
25
|
+
* dbPrivileges: [
|
|
26
|
+
* {
|
|
27
|
+
* dbName: "foo",
|
|
28
|
+
* accountPrivilege: "Custom",
|
|
29
|
+
* accountPrivilegeStr: "ALTER,ALTER ROUTINE,CREATE,CREATE ROUTINE,CREATE TEMPORARY TABLES",
|
|
30
|
+
* },
|
|
31
|
+
* {
|
|
32
|
+
* dbName: "bar",
|
|
33
|
+
* accountPrivilege: "DDLOnly",
|
|
34
|
+
* },
|
|
35
|
+
* {
|
|
36
|
+
* dbName: "demo",
|
|
37
|
+
* accountPrivilege: "ReadWrite",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* ## Import
|
|
44
|
+
*
|
|
45
|
+
* RDS account privilege can be imported using the id, e.g.
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import volcengine:rds/accountPrivilege:AccountPrivilege default mysql-42b38c769c4b:account_name
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
class AccountPrivilege extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing AccountPrivilege resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name, id, state, opts) {
|
|
62
|
+
return new AccountPrivilege(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of AccountPrivilege. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === AccountPrivilege.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
constructor(name, argsOrState, opts) {
|
|
75
|
+
let resourceInputs = {};
|
|
76
|
+
opts = opts || {};
|
|
77
|
+
if (opts.id) {
|
|
78
|
+
const state = argsOrState;
|
|
79
|
+
resourceInputs["accountName"] = state ? state.accountName : undefined;
|
|
80
|
+
resourceInputs["dbPrivileges"] = state ? state.dbPrivileges : undefined;
|
|
81
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
const args = argsOrState;
|
|
85
|
+
if ((!args || args.accountName === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'accountName'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.dbPrivileges === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'dbPrivileges'");
|
|
90
|
+
}
|
|
91
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'instanceId'");
|
|
93
|
+
}
|
|
94
|
+
resourceInputs["accountName"] = args ? args.accountName : undefined;
|
|
95
|
+
resourceInputs["dbPrivileges"] = args ? args.dbPrivileges : undefined;
|
|
96
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(AccountPrivilege.__pulumiType, name, resourceInputs, opts);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.AccountPrivilege = AccountPrivilege;
|
|
103
|
+
/** @internal */
|
|
104
|
+
AccountPrivilege.__pulumiType = 'volcengine:rds/accountPrivilege:AccountPrivilege';
|
|
105
|
+
//# sourceMappingURL=accountPrivilege.js.map
|
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3
|
+
/**
|
|
4
|
+
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds accounts
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const defaultAccounts = pulumi.output(volcengine.rds.Accounts({
|
|
12
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
13
|
+
* }));
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function accounts(args: AccountsArgs, opts?: pulumi.InvokeOptions): Promise<AccountsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking Accounts.
|
|
19
|
+
*/
|
|
20
|
+
export interface AccountsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the database account.
|
|
23
|
+
*/
|
|
24
|
+
accountName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The id of the RDS instance.
|
|
27
|
+
*/
|
|
28
|
+
instanceId: string;
|
|
29
|
+
/**
|
|
30
|
+
* A Name Regex of database account.
|
|
31
|
+
*/
|
|
32
|
+
nameRegex?: string;
|
|
33
|
+
/**
|
|
34
|
+
* File name where to save data source results.
|
|
35
|
+
*/
|
|
36
|
+
outputFile?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A collection of values returned by Accounts.
|
|
40
|
+
*/
|
|
41
|
+
export interface AccountsResult {
|
|
42
|
+
/**
|
|
43
|
+
* The name of the database account.
|
|
44
|
+
*/
|
|
45
|
+
readonly accountName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The provider-assigned unique ID for this managed resource.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
readonly instanceId: string;
|
|
51
|
+
readonly nameRegex?: string;
|
|
52
|
+
readonly outputFile?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The collection of RDS instance account query.
|
|
55
|
+
*/
|
|
56
|
+
readonly rdsAccounts: outputs.rds.AccountsRdsAccount[];
|
|
57
|
+
/**
|
|
58
|
+
* The total count of database account query.
|
|
59
|
+
*/
|
|
60
|
+
readonly totalCount: number;
|
|
61
|
+
}
|
|
62
|
+
export declare function accountsOutput(args: AccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AccountsResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking Accounts.
|
|
65
|
+
*/
|
|
66
|
+
export interface AccountsOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The name of the database account.
|
|
69
|
+
*/
|
|
70
|
+
accountName?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The id of the RDS instance.
|
|
73
|
+
*/
|
|
74
|
+
instanceId: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* A Name Regex of database account.
|
|
77
|
+
*/
|
|
78
|
+
nameRegex?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* File name where to save data source results.
|
|
81
|
+
*/
|
|
82
|
+
outputFile?: pulumi.Input<string>;
|
|
83
|
+
}
|
package/rds/accounts.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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.accountsOutput = exports.accounts = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds accounts
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const defaultAccounts = pulumi.output(volcengine.rds.Accounts({
|
|
17
|
+
* instanceId: "mysql-0fdd3bab2e7c",
|
|
18
|
+
* }));
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function accounts(args, opts) {
|
|
22
|
+
if (!opts) {
|
|
23
|
+
opts = {};
|
|
24
|
+
}
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
26
|
+
return pulumi.runtime.invoke("volcengine:rds/accounts:Accounts", {
|
|
27
|
+
"accountName": args.accountName,
|
|
28
|
+
"instanceId": args.instanceId,
|
|
29
|
+
"nameRegex": args.nameRegex,
|
|
30
|
+
"outputFile": args.outputFile,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.accounts = accounts;
|
|
34
|
+
function accountsOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => accounts(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.accountsOutput = accountsOutput;
|
|
38
|
+
//# sourceMappingURL=accounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../../rds/accounts.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC;AAiDD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
|