@volcengine/pulumi-volcenginecc 0.0.21 → 0.0.23
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/alb/customizedCfg.d.ts +163 -0
- package/alb/customizedCfg.js +113 -0
- package/alb/customizedCfg.js.map +1 -0
- package/alb/getCustomizedCfg.d.ts +77 -0
- package/alb/getCustomizedCfg.js +28 -0
- package/alb/getCustomizedCfg.js.map +1 -0
- package/alb/getCustomizedCfgs.d.ts +22 -0
- package/alb/getCustomizedCfgs.js +24 -0
- package/alb/getCustomizedCfgs.js.map +1 -0
- package/alb/getHealthCheckTemplate.d.ts +109 -0
- package/alb/getHealthCheckTemplate.js +28 -0
- package/alb/getHealthCheckTemplate.js.map +1 -0
- package/alb/getHealthCheckTemplates.d.ts +22 -0
- package/alb/getHealthCheckTemplates.js +24 -0
- package/alb/getHealthCheckTemplates.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +270 -0
- package/alb/healthCheckTemplate.js +123 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/index.d.ts +18 -0
- package/alb/index.js +23 -1
- package/alb/index.js.map +1 -1
- package/clb/clb.d.ts +123 -123
- package/clb/clb.js +2 -2
- package/clb/clb.js.map +1 -1
- package/clb/getClb.d.ts +49 -49
- package/clb/getNlbSecurityPolicies.d.ts +22 -0
- package/clb/getNlbSecurityPolicies.js +24 -0
- package/clb/getNlbSecurityPolicies.js.map +1 -0
- package/clb/getNlbSecurityPolicy.d.ts +81 -0
- package/clb/getNlbSecurityPolicy.js +28 -0
- package/clb/getNlbSecurityPolicy.js.map +1 -0
- package/clb/index.d.ts +9 -0
- package/clb/index.js +12 -1
- package/clb/index.js.map +1 -1
- package/clb/nlbSecurityPolicy.d.ts +167 -0
- package/clb/nlbSecurityPolicy.js +105 -0
- package/clb/nlbSecurityPolicy.js.map +1 -0
- package/cloudidentity/getGroup.d.ts +73 -0
- package/cloudidentity/getGroup.js +28 -0
- package/cloudidentity/getGroup.js.map +1 -0
- package/cloudidentity/getGroups.d.ts +22 -0
- package/cloudidentity/getGroups.js +24 -0
- package/cloudidentity/getGroups.js.map +1 -0
- package/cloudidentity/getPermissionSet.d.ts +73 -0
- package/cloudidentity/getPermissionSet.js +28 -0
- package/cloudidentity/getPermissionSet.js.map +1 -0
- package/cloudidentity/getPermissionSets.d.ts +22 -0
- package/cloudidentity/getPermissionSets.js +24 -0
- package/cloudidentity/getPermissionSets.js.map +1 -0
- package/cloudidentity/group.d.ts +130 -0
- package/cloudidentity/group.js +80 -0
- package/cloudidentity/group.js.map +1 -0
- package/cloudidentity/index.d.ts +18 -0
- package/cloudidentity/index.js +23 -1
- package/cloudidentity/index.js.map +1 -1
- package/cloudidentity/permissionSet.d.ts +130 -0
- package/cloudidentity/permissionSet.js +77 -0
- package/cloudidentity/permissionSet.js.map +1 -0
- package/ecs/deploymentSet.d.ts +173 -0
- package/ecs/deploymentSet.js +97 -0
- package/ecs/deploymentSet.js.map +1 -0
- package/ecs/getDeploymentSet.d.ts +81 -0
- package/ecs/getDeploymentSet.js +28 -0
- package/ecs/getDeploymentSet.js.map +1 -0
- package/ecs/getDeploymentSets.d.ts +22 -0
- package/ecs/getDeploymentSets.js +24 -0
- package/ecs/getDeploymentSets.js.map +1 -0
- package/ecs/getInstance.d.ts +11 -0
- package/ecs/getInstance.js.map +1 -1
- package/ecs/getLaunchTemplate.d.ts +73 -0
- package/ecs/getLaunchTemplate.js +28 -0
- package/ecs/getLaunchTemplate.js.map +1 -0
- package/ecs/getLaunchTemplateVersion.d.ts +153 -0
- package/ecs/getLaunchTemplateVersion.js +28 -0
- package/ecs/getLaunchTemplateVersion.js.map +1 -0
- package/ecs/getLaunchTemplateVersions.d.ts +22 -0
- package/ecs/getLaunchTemplateVersions.js +24 -0
- package/ecs/getLaunchTemplateVersions.js.map +1 -0
- package/ecs/getLaunchTemplates.d.ts +22 -0
- package/ecs/getLaunchTemplates.js +24 -0
- package/ecs/getLaunchTemplates.js.map +1 -0
- package/ecs/index.d.ts +27 -0
- package/ecs/index.js +34 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +106 -11
- package/ecs/instance.js +24 -2
- package/ecs/instance.js.map +1 -1
- package/ecs/launchTemplate.d.ts +130 -0
- package/ecs/launchTemplate.js +77 -0
- package/ecs/launchTemplate.js.map +1 -0
- package/ecs/launchTemplateVersion.d.ts +364 -0
- package/ecs/launchTemplateVersion.js +114 -0
- package/ecs/launchTemplateVersion.js.map +1 -0
- package/efs/fileSystem.d.ts +234 -0
- package/efs/fileSystem.js +111 -0
- package/efs/fileSystem.js.map +1 -0
- package/efs/getFileSystem.d.ts +117 -0
- package/efs/getFileSystem.js +28 -0
- package/efs/getFileSystem.js.map +1 -0
- package/efs/getFileSystems.d.ts +22 -0
- package/efs/getFileSystems.js +24 -0
- package/efs/getFileSystems.js.map +1 -0
- package/efs/index.d.ts +9 -0
- package/efs/index.js +28 -0
- package/efs/index.js.map +1 -0
- package/filenas/getMountPoint.d.ts +97 -0
- package/filenas/getMountPoint.js +28 -0
- package/filenas/getMountPoint.js.map +1 -0
- package/filenas/getMountPoints.d.ts +22 -0
- package/filenas/getMountPoints.js +24 -0
- package/filenas/getMountPoints.js.map +1 -0
- package/filenas/index.d.ts +9 -0
- package/filenas/index.js +12 -1
- package/filenas/index.js.map +1 -1
- package/filenas/mountPoint.d.ts +196 -0
- package/filenas/mountPoint.js +116 -0
- package/filenas/mountPoint.js.map +1 -0
- package/iam/accesskey.d.ts +27 -17
- package/iam/accesskey.js +11 -7
- package/iam/accesskey.js.map +1 -1
- package/iam/getAccesskey.d.ts +10 -6
- package/iam/getAccesskey.js.map +1 -1
- package/iam/getUser.d.ts +12 -0
- package/iam/getUser.js.map +1 -1
- package/iam/user.d.ts +26 -0
- package/iam/user.js +6 -0
- package/iam/user.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/kms/getKeyRing.d.ts +72 -0
- package/kms/getKeyRing.js +28 -0
- package/kms/getKeyRing.js.map +1 -0
- package/kms/getKeyRings.d.ts +22 -0
- package/kms/getKeyRings.js +24 -0
- package/kms/getKeyRings.js.map +1 -0
- package/kms/index.d.ts +9 -0
- package/kms/index.js +12 -1
- package/kms/index.js.map +1 -1
- package/kms/keyRing.d.ts +147 -0
- package/kms/keyRing.js +91 -0
- package/kms/keyRing.js.map +1 -0
- package/organization/account.d.ts +282 -0
- package/organization/account.js +112 -0
- package/organization/account.js.map +1 -0
- package/organization/getAccount.d.ts +137 -0
- package/organization/getAccount.js +28 -0
- package/organization/getAccount.js.map +1 -0
- package/organization/getAccounts.d.ts +22 -0
- package/organization/getAccounts.js +24 -0
- package/organization/getAccounts.js.map +1 -0
- package/organization/index.d.ts +9 -0
- package/organization/index.js +12 -1
- package/organization/index.js.map +1 -1
- package/package.json +1 -1
- package/privatezone/getRecord.d.ts +88 -0
- package/privatezone/getRecord.js +28 -0
- package/privatezone/getRecord.js.map +1 -0
- package/privatezone/getRecords.d.ts +22 -0
- package/privatezone/getRecords.js +24 -0
- package/privatezone/getRecords.js.map +1 -0
- package/privatezone/index.d.ts +9 -0
- package/privatezone/index.js +12 -1
- package/privatezone/index.js.map +1 -1
- package/privatezone/record.d.ts +204 -0
- package/privatezone/record.js +113 -0
- package/privatezone/record.js.map +1 -0
- package/rabbitmq/getInstancePlugin.d.ts +72 -0
- package/rabbitmq/getInstancePlugin.js +28 -0
- package/rabbitmq/getInstancePlugin.js.map +1 -0
- package/rabbitmq/getInstancePlugins.d.ts +22 -0
- package/rabbitmq/getInstancePlugins.js +24 -0
- package/rabbitmq/getInstancePlugins.js.map +1 -0
- package/rabbitmq/getPublicAddress.d.ts +129 -0
- package/rabbitmq/getPublicAddress.js +28 -0
- package/rabbitmq/getPublicAddress.js.map +1 -0
- package/rabbitmq/getPublicAddresses.d.ts +22 -0
- package/rabbitmq/getPublicAddresses.js +24 -0
- package/rabbitmq/getPublicAddresses.js.map +1 -0
- package/rabbitmq/index.d.ts +18 -0
- package/rabbitmq/index.js +23 -1
- package/rabbitmq/index.js.map +1 -1
- package/rabbitmq/instancePlugin.d.ts +137 -0
- package/rabbitmq/instancePlugin.js +89 -0
- package/rabbitmq/instancePlugin.js.map +1 -0
- package/rabbitmq/publicAddress.d.ts +239 -0
- package/rabbitmq/publicAddress.js +120 -0
- package/rabbitmq/publicAddress.js.map +1 -0
- package/rdsmysql/allowList.d.ts +232 -0
- package/rdsmysql/allowList.js +92 -0
- package/rdsmysql/allowList.js.map +1 -0
- package/rdsmysql/backup.d.ts +240 -0
- package/rdsmysql/backup.js +119 -0
- package/rdsmysql/backup.js.map +1 -0
- package/rdsmysql/endpoint.d.ts +325 -0
- package/rdsmysql/endpoint.js +108 -0
- package/rdsmysql/endpoint.js.map +1 -0
- package/rdsmysql/getAllowList.d.ts +109 -0
- package/rdsmysql/getAllowList.js +28 -0
- package/rdsmysql/getAllowList.js.map +1 -0
- package/rdsmysql/getAllowLists.d.ts +22 -0
- package/rdsmysql/getAllowLists.js +24 -0
- package/rdsmysql/getAllowLists.js.map +1 -0
- package/rdsmysql/getBackup.d.ts +125 -0
- package/rdsmysql/getBackup.js +28 -0
- package/rdsmysql/getBackup.js.map +1 -0
- package/rdsmysql/getBackups.d.ts +22 -0
- package/rdsmysql/getBackups.js +24 -0
- package/rdsmysql/getBackups.js.map +1 -0
- package/rdsmysql/getEndpoint.d.ts +141 -0
- package/rdsmysql/getEndpoint.js +28 -0
- package/rdsmysql/getEndpoint.js.map +1 -0
- package/rdsmysql/getEndpoints.d.ts +22 -0
- package/rdsmysql/getEndpoints.js +24 -0
- package/rdsmysql/getEndpoints.js.map +1 -0
- package/rdsmysql/index.d.ts +27 -0
- package/rdsmysql/index.js +34 -1
- package/rdsmysql/index.js.map +1 -1
- package/rdspostgresql/allowList.d.ts +206 -0
- package/rdspostgresql/allowList.js +102 -0
- package/rdspostgresql/allowList.js.map +1 -0
- package/rdspostgresql/dbAccount.d.ts +133 -0
- package/rdspostgresql/dbAccount.js +93 -0
- package/rdspostgresql/dbAccount.js.map +1 -0
- package/rdspostgresql/dbEndpoint.d.ts +220 -0
- package/rdspostgresql/dbEndpoint.js +103 -0
- package/rdspostgresql/dbEndpoint.js.map +1 -0
- package/rdspostgresql/getAllowList.d.ts +93 -0
- package/rdspostgresql/getAllowList.js +28 -0
- package/rdspostgresql/getAllowList.js.map +1 -0
- package/rdspostgresql/getAllowLists.d.ts +22 -0
- package/rdspostgresql/getAllowLists.js +24 -0
- package/rdspostgresql/getAllowLists.js.map +1 -0
- package/rdspostgresql/getDbAccount.d.ts +60 -0
- package/rdspostgresql/getDbAccount.js +28 -0
- package/rdspostgresql/getDbAccount.js.map +1 -0
- package/rdspostgresql/getDbAccounts.d.ts +22 -0
- package/rdspostgresql/getDbAccounts.js +24 -0
- package/rdspostgresql/getDbAccounts.js.map +1 -0
- package/rdspostgresql/getDbEndpoint.d.ts +101 -0
- package/rdspostgresql/getDbEndpoint.js +28 -0
- package/rdspostgresql/getDbEndpoint.js.map +1 -0
- package/rdspostgresql/getDbEndpoints.d.ts +22 -0
- package/rdspostgresql/getDbEndpoints.js +24 -0
- package/rdspostgresql/getDbEndpoints.js.map +1 -0
- package/rdspostgresql/index.d.ts +27 -0
- package/rdspostgresql/index.js +50 -0
- package/rdspostgresql/index.js.map +1 -0
- package/redis/account.d.ts +128 -0
- package/redis/account.js +95 -0
- package/redis/account.js.map +1 -0
- package/redis/endpointPublicAddress.d.ts +150 -0
- package/redis/endpointPublicAddress.js +93 -0
- package/redis/endpointPublicAddress.js.map +1 -0
- package/redis/getAccount.d.ts +60 -0
- package/redis/getAccount.js +28 -0
- package/redis/getAccount.js.map +1 -0
- package/redis/getAccounts.d.ts +22 -0
- package/redis/getAccounts.js +24 -0
- package/redis/getAccounts.js.map +1 -0
- package/redis/getEndpointPublicAddress.d.ts +72 -0
- package/redis/getEndpointPublicAddress.js +28 -0
- package/redis/getEndpointPublicAddress.js.map +1 -0
- package/redis/getEndpointPublicAddresses.d.ts +22 -0
- package/redis/getEndpointPublicAddresses.js +24 -0
- package/redis/getEndpointPublicAddresses.js.map +1 -0
- package/redis/index.d.ts +18 -0
- package/redis/index.js +23 -1
- package/redis/index.js.map +1 -1
- package/rocketmq/getGroup.d.ts +109 -0
- package/rocketmq/getGroup.js +28 -0
- package/rocketmq/getGroup.js.map +1 -0
- package/rocketmq/getGroups.d.ts +22 -0
- package/rocketmq/getGroups.js +24 -0
- package/rocketmq/getGroups.js.map +1 -0
- package/rocketmq/getTopic.d.ts +85 -0
- package/rocketmq/getTopic.js +28 -0
- package/rocketmq/getTopic.js.map +1 -0
- package/rocketmq/getTopics.d.ts +22 -0
- package/rocketmq/getTopics.js +24 -0
- package/rocketmq/getTopics.js.map +1 -0
- package/rocketmq/group.d.ts +219 -0
- package/rocketmq/group.js +117 -0
- package/rocketmq/group.js.map +1 -0
- package/rocketmq/index.d.ts +18 -0
- package/rocketmq/index.js +23 -1
- package/rocketmq/index.js.map +1 -1
- package/rocketmq/topic.d.ts +140 -0
- package/rocketmq/topic.js +92 -0
- package/rocketmq/topic.js.map +1 -0
- package/transitrouter/getVpcAttachment.d.ts +93 -0
- package/transitrouter/getVpcAttachment.js +28 -0
- package/transitrouter/getVpcAttachment.js.map +1 -0
- package/transitrouter/getVpcAttachments.d.ts +22 -0
- package/transitrouter/getVpcAttachments.js +24 -0
- package/transitrouter/getVpcAttachments.js.map +1 -0
- package/transitrouter/getVpnAttachment.d.ts +93 -0
- package/transitrouter/getVpnAttachment.js +28 -0
- package/transitrouter/getVpnAttachment.js.map +1 -0
- package/transitrouter/getVpnAttachments.d.ts +22 -0
- package/transitrouter/getVpnAttachments.js +24 -0
- package/transitrouter/getVpnAttachments.js.map +1 -0
- package/transitrouter/index.d.ts +18 -0
- package/transitrouter/index.js +23 -1
- package/transitrouter/index.js.map +1 -1
- package/transitrouter/vpcAttachment.d.ts +177 -0
- package/transitrouter/vpcAttachment.js +93 -0
- package/transitrouter/vpcAttachment.js.map +1 -0
- package/transitrouter/vpnAttachment.d.ts +202 -0
- package/transitrouter/vpnAttachment.js +113 -0
- package/transitrouter/vpnAttachment.js.map +1 -0
- package/types/input.d.ts +3191 -1522
- package/types/output.d.ts +6543 -3068
- package/vke/defaultNodePool.d.ts +150 -0
- package/vke/defaultNodePool.js +86 -0
- package/vke/defaultNodePool.js.map +1 -0
- package/vke/getDefaultNodePool.d.ts +85 -0
- package/vke/getDefaultNodePool.js +28 -0
- package/vke/getDefaultNodePool.js.map +1 -0
- package/vke/getDefaultNodePools.d.ts +22 -0
- package/vke/getDefaultNodePools.js +24 -0
- package/vke/getDefaultNodePools.js.map +1 -0
- package/vke/getNode.d.ts +106 -0
- package/vke/getNode.js +28 -0
- package/vke/getNode.js.map +1 -0
- package/vke/getNodes.d.ts +22 -0
- package/vke/getNodes.js +24 -0
- package/vke/getNodes.js.map +1 -0
- package/vke/index.d.ts +18 -0
- package/vke/index.js +23 -1
- package/vke/index.js.map +1 -1
- package/vke/node.d.ts +238 -0
- package/vke/node.js +112 -0
- package/vke/node.js.map +1 -0
- package/vpc/flowLog.d.ts +266 -0
- package/vpc/flowLog.js +141 -0
- package/vpc/flowLog.js.map +1 -0
- package/vpc/getFlowLog.d.ts +117 -0
- package/vpc/getFlowLog.js +28 -0
- package/vpc/getFlowLog.js.map +1 -0
- package/vpc/getFlowLogs.d.ts +22 -0
- package/vpc/getFlowLogs.js +24 -0
- package/vpc/getFlowLogs.js.map +1 -0
- package/vpc/getHaVip.d.ts +101 -0
- package/vpc/getHaVip.js +28 -0
- package/vpc/getHaVip.js.map +1 -0
- package/vpc/getHaVips.d.ts +22 -0
- package/vpc/getHaVips.js +24 -0
- package/vpc/getHaVips.js.map +1 -0
- package/vpc/getIpv6AddressBandwidth.d.ts +117 -0
- package/vpc/getIpv6AddressBandwidth.js +28 -0
- package/vpc/getIpv6AddressBandwidth.js.map +1 -0
- package/vpc/getIpv6AddressBandwidths.d.ts +22 -0
- package/vpc/getIpv6AddressBandwidths.js +24 -0
- package/vpc/getIpv6AddressBandwidths.js.map +1 -0
- package/vpc/getIpv6Gateway.d.ts +77 -0
- package/vpc/getIpv6Gateway.js +28 -0
- package/vpc/getIpv6Gateway.js.map +1 -0
- package/vpc/getIpv6Gateways.d.ts +22 -0
- package/vpc/getIpv6Gateways.js +24 -0
- package/vpc/getIpv6Gateways.js.map +1 -0
- package/vpc/getTrafficMirrorFilter.d.ts +73 -0
- package/vpc/getTrafficMirrorFilter.js +28 -0
- package/vpc/getTrafficMirrorFilter.js.map +1 -0
- package/vpc/getTrafficMirrorFilterRule.d.ts +84 -0
- package/vpc/getTrafficMirrorFilterRule.js +28 -0
- package/vpc/getTrafficMirrorFilterRule.js.map +1 -0
- package/vpc/getTrafficMirrorFilterRules.d.ts +22 -0
- package/vpc/getTrafficMirrorFilterRules.js +24 -0
- package/vpc/getTrafficMirrorFilterRules.js.map +1 -0
- package/vpc/getTrafficMirrorFilters.d.ts +22 -0
- package/vpc/getTrafficMirrorFilters.js +24 -0
- package/vpc/getTrafficMirrorFilters.js.map +1 -0
- package/vpc/getTrafficMirrorSession.d.ts +101 -0
- package/vpc/getTrafficMirrorSession.js +28 -0
- package/vpc/getTrafficMirrorSession.js.map +1 -0
- package/vpc/getTrafficMirrorSessions.d.ts +22 -0
- package/vpc/getTrafficMirrorSessions.js +24 -0
- package/vpc/getTrafficMirrorSessions.js.map +1 -0
- package/vpc/getTrafficMirrorTarget.d.ts +77 -0
- package/vpc/getTrafficMirrorTarget.js +28 -0
- package/vpc/getTrafficMirrorTarget.js.map +1 -0
- package/vpc/getTrafficMirrorTargets.d.ts +22 -0
- package/vpc/getTrafficMirrorTargets.js +24 -0
- package/vpc/getTrafficMirrorTargets.js.map +1 -0
- package/vpc/getVpc.d.ts +4 -0
- package/vpc/getVpc.js.map +1 -1
- package/vpc/haVip.d.ts +223 -0
- package/vpc/haVip.js +116 -0
- package/vpc/haVip.js.map +1 -0
- package/vpc/index.d.ts +72 -0
- package/vpc/index.js +90 -1
- package/vpc/index.js.map +1 -1
- package/vpc/ipv6AddressBandwidth.d.ts +241 -0
- package/vpc/ipv6AddressBandwidth.js +121 -0
- package/vpc/ipv6AddressBandwidth.js.map +1 -0
- package/vpc/ipv6Gateway.d.ts +156 -0
- package/vpc/ipv6Gateway.js +97 -0
- package/vpc/ipv6Gateway.js.map +1 -0
- package/vpc/trafficMirrorFilter.d.ts +131 -0
- package/vpc/trafficMirrorFilter.js +91 -0
- package/vpc/trafficMirrorFilter.js.map +1 -0
- package/vpc/trafficMirrorFilterRule.d.ts +201 -0
- package/vpc/trafficMirrorFilterRule.js +118 -0
- package/vpc/trafficMirrorFilterRule.js.map +1 -0
- package/vpc/trafficMirrorSession.d.ts +229 -0
- package/vpc/trafficMirrorSession.js +123 -0
- package/vpc/trafficMirrorSession.js.map +1 -0
- package/vpc/trafficMirrorTarget.d.ts +161 -0
- package/vpc/trafficMirrorTarget.js +101 -0
- package/vpc/trafficMirrorTarget.js.map +1 -0
- package/vpc/vpc.d.ts +12 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
- package/vpn/customerGateway.d.ts +186 -0
- package/vpn/customerGateway.js +101 -0
- package/vpn/customerGateway.js.map +1 -0
- package/vpn/getCustomerGateway.d.ts +89 -0
- package/vpn/getCustomerGateway.js +28 -0
- package/vpn/getCustomerGateway.js.map +1 -0
- package/vpn/getCustomerGateways.d.ts +22 -0
- package/vpn/getCustomerGateways.js +24 -0
- package/vpn/getCustomerGateways.js.map +1 -0
- package/vpn/index.d.ts +9 -0
- package/vpn/index.js +12 -1
- package/vpn/index.js.map +1 -1
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* 连接终端是云数据库 MySQL 版提供的位于数据库和应用程序之间的网络代理服务。根据连接终端的功能差异,连接终端可以分为代理终端和直连终端两种类型。通过代理终端的连接将经过代理,可使用代理相关的特性和功能,如读写分离、负载均衡、空闲连接回收和 Multi-Statements 等;通过直连终端的连接将直连到对应节点,不能使用代理相关特性。
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import volcenginecc:rdsmysql/endpoint:Endpoint example "instance_id|endpoint_id"
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class Endpoint extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing Endpoint resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EndpointState, opts?: pulumi.CustomResourceOptions): Endpoint;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Endpoint. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is Endpoint;
|
|
29
|
+
readonly addresses: pulumi.Output<outputs.rdsmysql.EndpointAddress[]>;
|
|
30
|
+
/**
|
|
31
|
+
* 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
|
|
32
|
+
*/
|
|
33
|
+
readonly autoAddNewNodes: pulumi.Output<boolean>;
|
|
34
|
+
/**
|
|
35
|
+
* 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
|
|
36
|
+
*/
|
|
37
|
+
readonly connectAllSlaveNodes: pulumi.Output<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* 连接终端标签。
|
|
40
|
+
*/
|
|
41
|
+
readonly connectionInfoTags: pulumi.Output<string[]>;
|
|
42
|
+
/**
|
|
43
|
+
* 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
|
|
44
|
+
*/
|
|
45
|
+
readonly connectionMode: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
|
|
48
|
+
*/
|
|
49
|
+
readonly connectionPoolType: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 连接终端的 SQL 转发规则。
|
|
52
|
+
*/
|
|
53
|
+
readonly customRouteStrategy: pulumi.Output<outputs.rdsmysql.EndpointCustomRouteStrategy>;
|
|
54
|
+
/**
|
|
55
|
+
* 备注。
|
|
56
|
+
*/
|
|
57
|
+
readonly description: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
|
|
60
|
+
*/
|
|
61
|
+
readonly enableConnectionPersistent: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
|
|
64
|
+
*/
|
|
65
|
+
readonly enableReadOnly: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* 实例连接终端 ID。
|
|
68
|
+
*/
|
|
69
|
+
readonly endpointId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* 实例连接终端名称。
|
|
72
|
+
*/
|
|
73
|
+
readonly endpointName: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* 终端类型。取值为 Custom,自定义终端。
|
|
76
|
+
*/
|
|
77
|
+
readonly endpointType: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
|
|
80
|
+
*/
|
|
81
|
+
readonly idleConnectionReclaim: pulumi.Output<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
84
|
+
*/
|
|
85
|
+
readonly implicitTransSplit: pulumi.Output<boolean>;
|
|
86
|
+
/**
|
|
87
|
+
* 实例 ID。
|
|
88
|
+
*/
|
|
89
|
+
readonly instanceId: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
92
|
+
*/
|
|
93
|
+
readonly masterNodeRouting: pulumi.Output<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
|
|
96
|
+
*/
|
|
97
|
+
readonly masterProtectorTimeout: pulumi.Output<number>;
|
|
98
|
+
/**
|
|
99
|
+
* 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
|
|
100
|
+
*/
|
|
101
|
+
readonly multiStatementsMode: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
|
|
104
|
+
*/
|
|
105
|
+
readonly nodes: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
108
|
+
*/
|
|
109
|
+
readonly overloadProtection: pulumi.Output<boolean>;
|
|
110
|
+
/**
|
|
111
|
+
* 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
|
|
112
|
+
*/
|
|
113
|
+
readonly readOnlyNodeDistributionType: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
|
|
116
|
+
*/
|
|
117
|
+
readonly readOnlyNodeMaxDelayTime: pulumi.Output<number>;
|
|
118
|
+
readonly readOnlyNodeWeights: pulumi.Output<outputs.rdsmysql.EndpointReadOnlyNodeWeight[]>;
|
|
119
|
+
/**
|
|
120
|
+
* 读写模式:ReadWrite:读写。ReadOnly:只读。
|
|
121
|
+
*/
|
|
122
|
+
readonly readWriteMode: pulumi.Output<string>;
|
|
123
|
+
/**
|
|
124
|
+
* 是否开启读写分离。取值:true:是。默认值。false:否。
|
|
125
|
+
*/
|
|
126
|
+
readonly readWriteSpliting: pulumi.Output<boolean>;
|
|
127
|
+
/**
|
|
128
|
+
* Create a Endpoint resource with the given unique name, arguments, and options.
|
|
129
|
+
*
|
|
130
|
+
* @param name The _unique_ name of the resource.
|
|
131
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
132
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
133
|
+
*/
|
|
134
|
+
constructor(name: string, args?: EndpointArgs, opts?: pulumi.CustomResourceOptions);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Input properties used for looking up and filtering Endpoint resources.
|
|
138
|
+
*/
|
|
139
|
+
export interface EndpointState {
|
|
140
|
+
addresses?: pulumi.Input<pulumi.Input<inputs.rdsmysql.EndpointAddress>[]>;
|
|
141
|
+
/**
|
|
142
|
+
* 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
|
|
143
|
+
*/
|
|
144
|
+
autoAddNewNodes?: pulumi.Input<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
|
|
147
|
+
*/
|
|
148
|
+
connectAllSlaveNodes?: pulumi.Input<boolean>;
|
|
149
|
+
/**
|
|
150
|
+
* 连接终端标签。
|
|
151
|
+
*/
|
|
152
|
+
connectionInfoTags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
|
+
/**
|
|
154
|
+
* 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
|
|
155
|
+
*/
|
|
156
|
+
connectionMode?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
|
|
159
|
+
*/
|
|
160
|
+
connectionPoolType?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* 连接终端的 SQL 转发规则。
|
|
163
|
+
*/
|
|
164
|
+
customRouteStrategy?: pulumi.Input<inputs.rdsmysql.EndpointCustomRouteStrategy>;
|
|
165
|
+
/**
|
|
166
|
+
* 备注。
|
|
167
|
+
*/
|
|
168
|
+
description?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
|
|
171
|
+
*/
|
|
172
|
+
enableConnectionPersistent?: pulumi.Input<boolean>;
|
|
173
|
+
/**
|
|
174
|
+
* 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
|
|
175
|
+
*/
|
|
176
|
+
enableReadOnly?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* 实例连接终端 ID。
|
|
179
|
+
*/
|
|
180
|
+
endpointId?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* 实例连接终端名称。
|
|
183
|
+
*/
|
|
184
|
+
endpointName?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* 终端类型。取值为 Custom,自定义终端。
|
|
187
|
+
*/
|
|
188
|
+
endpointType?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
|
|
191
|
+
*/
|
|
192
|
+
idleConnectionReclaim?: pulumi.Input<boolean>;
|
|
193
|
+
/**
|
|
194
|
+
* 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
195
|
+
*/
|
|
196
|
+
implicitTransSplit?: pulumi.Input<boolean>;
|
|
197
|
+
/**
|
|
198
|
+
* 实例 ID。
|
|
199
|
+
*/
|
|
200
|
+
instanceId?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
203
|
+
*/
|
|
204
|
+
masterNodeRouting?: pulumi.Input<boolean>;
|
|
205
|
+
/**
|
|
206
|
+
* 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
|
|
207
|
+
*/
|
|
208
|
+
masterProtectorTimeout?: pulumi.Input<number>;
|
|
209
|
+
/**
|
|
210
|
+
* 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
|
|
211
|
+
*/
|
|
212
|
+
multiStatementsMode?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
|
|
215
|
+
*/
|
|
216
|
+
nodes?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
219
|
+
*/
|
|
220
|
+
overloadProtection?: pulumi.Input<boolean>;
|
|
221
|
+
/**
|
|
222
|
+
* 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
|
|
223
|
+
*/
|
|
224
|
+
readOnlyNodeDistributionType?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
|
|
227
|
+
*/
|
|
228
|
+
readOnlyNodeMaxDelayTime?: pulumi.Input<number>;
|
|
229
|
+
readOnlyNodeWeights?: pulumi.Input<pulumi.Input<inputs.rdsmysql.EndpointReadOnlyNodeWeight>[]>;
|
|
230
|
+
/**
|
|
231
|
+
* 读写模式:ReadWrite:读写。ReadOnly:只读。
|
|
232
|
+
*/
|
|
233
|
+
readWriteMode?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* 是否开启读写分离。取值:true:是。默认值。false:否。
|
|
236
|
+
*/
|
|
237
|
+
readWriteSpliting?: pulumi.Input<boolean>;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* The set of arguments for constructing a Endpoint resource.
|
|
241
|
+
*/
|
|
242
|
+
export interface EndpointArgs {
|
|
243
|
+
addresses?: pulumi.Input<pulumi.Input<inputs.rdsmysql.EndpointAddress>[]>;
|
|
244
|
+
/**
|
|
245
|
+
* 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
|
|
246
|
+
*/
|
|
247
|
+
autoAddNewNodes?: pulumi.Input<boolean>;
|
|
248
|
+
/**
|
|
249
|
+
* 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
|
|
250
|
+
*/
|
|
251
|
+
connectAllSlaveNodes?: pulumi.Input<boolean>;
|
|
252
|
+
/**
|
|
253
|
+
* 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
|
|
254
|
+
*/
|
|
255
|
+
connectionMode?: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
|
|
258
|
+
*/
|
|
259
|
+
connectionPoolType?: pulumi.Input<string>;
|
|
260
|
+
/**
|
|
261
|
+
* 备注。
|
|
262
|
+
*/
|
|
263
|
+
description?: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
|
|
266
|
+
*/
|
|
267
|
+
enableConnectionPersistent?: pulumi.Input<boolean>;
|
|
268
|
+
/**
|
|
269
|
+
* 实例连接终端名称。
|
|
270
|
+
*/
|
|
271
|
+
endpointName?: pulumi.Input<string>;
|
|
272
|
+
/**
|
|
273
|
+
* 终端类型。取值为 Custom,自定义终端。
|
|
274
|
+
*/
|
|
275
|
+
endpointType?: pulumi.Input<string>;
|
|
276
|
+
/**
|
|
277
|
+
* 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
|
|
278
|
+
*/
|
|
279
|
+
idleConnectionReclaim?: pulumi.Input<boolean>;
|
|
280
|
+
/**
|
|
281
|
+
* 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
282
|
+
*/
|
|
283
|
+
implicitTransSplit?: pulumi.Input<boolean>;
|
|
284
|
+
/**
|
|
285
|
+
* 实例 ID。
|
|
286
|
+
*/
|
|
287
|
+
instanceId?: pulumi.Input<string>;
|
|
288
|
+
/**
|
|
289
|
+
* 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
290
|
+
*/
|
|
291
|
+
masterNodeRouting?: pulumi.Input<boolean>;
|
|
292
|
+
/**
|
|
293
|
+
* 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
|
|
294
|
+
*/
|
|
295
|
+
masterProtectorTimeout?: pulumi.Input<number>;
|
|
296
|
+
/**
|
|
297
|
+
* 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
|
|
298
|
+
*/
|
|
299
|
+
multiStatementsMode?: pulumi.Input<string>;
|
|
300
|
+
/**
|
|
301
|
+
* 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
|
|
302
|
+
*/
|
|
303
|
+
nodes?: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
|
|
306
|
+
*/
|
|
307
|
+
overloadProtection?: pulumi.Input<boolean>;
|
|
308
|
+
/**
|
|
309
|
+
* 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
|
|
310
|
+
*/
|
|
311
|
+
readOnlyNodeDistributionType?: pulumi.Input<string>;
|
|
312
|
+
/**
|
|
313
|
+
* 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
|
|
314
|
+
*/
|
|
315
|
+
readOnlyNodeMaxDelayTime?: pulumi.Input<number>;
|
|
316
|
+
readOnlyNodeWeights?: pulumi.Input<pulumi.Input<inputs.rdsmysql.EndpointReadOnlyNodeWeight>[]>;
|
|
317
|
+
/**
|
|
318
|
+
* 读写模式:ReadWrite:读写。ReadOnly:只读。
|
|
319
|
+
*/
|
|
320
|
+
readWriteMode?: pulumi.Input<string>;
|
|
321
|
+
/**
|
|
322
|
+
* 是否开启读写分离。取值:true:是。默认值。false:否。
|
|
323
|
+
*/
|
|
324
|
+
readWriteSpliting?: pulumi.Input<boolean>;
|
|
325
|
+
}
|
|
@@ -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.Endpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* 连接终端是云数据库 MySQL 版提供的位于数据库和应用程序之间的网络代理服务。根据连接终端的功能差异,连接终端可以分为代理终端和直连终端两种类型。通过代理终端的连接将经过代理,可使用代理相关的特性和功能,如读写分离、负载均衡、空闲连接回收和 Multi-Statements 等;通过直连终端的连接将直连到对应节点,不能使用代理相关特性。
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import volcenginecc:rdsmysql/endpoint:Endpoint example "instance_id|endpoint_id"
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Endpoint extends pulumi.CustomResource {
|
|
18
|
+
/**
|
|
19
|
+
* Get an existing Endpoint resource's state with the given name, ID, and optional extra
|
|
20
|
+
* properties used to qualify the lookup.
|
|
21
|
+
*
|
|
22
|
+
* @param name The _unique_ name of the resulting resource.
|
|
23
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
24
|
+
* @param state Any extra arguments used during the lookup.
|
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
26
|
+
*/
|
|
27
|
+
static get(name, id, state, opts) {
|
|
28
|
+
return new Endpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if the given object is an instance of Endpoint. This is designed to work even
|
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
33
|
+
*/
|
|
34
|
+
static isInstance(obj) {
|
|
35
|
+
if (obj === undefined || obj === null) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
return obj['__pulumiType'] === Endpoint.__pulumiType;
|
|
39
|
+
}
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
resourceInputs["addresses"] = state ? state.addresses : undefined;
|
|
46
|
+
resourceInputs["autoAddNewNodes"] = state ? state.autoAddNewNodes : undefined;
|
|
47
|
+
resourceInputs["connectAllSlaveNodes"] = state ? state.connectAllSlaveNodes : undefined;
|
|
48
|
+
resourceInputs["connectionInfoTags"] = state ? state.connectionInfoTags : undefined;
|
|
49
|
+
resourceInputs["connectionMode"] = state ? state.connectionMode : undefined;
|
|
50
|
+
resourceInputs["connectionPoolType"] = state ? state.connectionPoolType : undefined;
|
|
51
|
+
resourceInputs["customRouteStrategy"] = state ? state.customRouteStrategy : undefined;
|
|
52
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
53
|
+
resourceInputs["enableConnectionPersistent"] = state ? state.enableConnectionPersistent : undefined;
|
|
54
|
+
resourceInputs["enableReadOnly"] = state ? state.enableReadOnly : undefined;
|
|
55
|
+
resourceInputs["endpointId"] = state ? state.endpointId : undefined;
|
|
56
|
+
resourceInputs["endpointName"] = state ? state.endpointName : undefined;
|
|
57
|
+
resourceInputs["endpointType"] = state ? state.endpointType : undefined;
|
|
58
|
+
resourceInputs["idleConnectionReclaim"] = state ? state.idleConnectionReclaim : undefined;
|
|
59
|
+
resourceInputs["implicitTransSplit"] = state ? state.implicitTransSplit : undefined;
|
|
60
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
61
|
+
resourceInputs["masterNodeRouting"] = state ? state.masterNodeRouting : undefined;
|
|
62
|
+
resourceInputs["masterProtectorTimeout"] = state ? state.masterProtectorTimeout : undefined;
|
|
63
|
+
resourceInputs["multiStatementsMode"] = state ? state.multiStatementsMode : undefined;
|
|
64
|
+
resourceInputs["nodes"] = state ? state.nodes : undefined;
|
|
65
|
+
resourceInputs["overloadProtection"] = state ? state.overloadProtection : undefined;
|
|
66
|
+
resourceInputs["readOnlyNodeDistributionType"] = state ? state.readOnlyNodeDistributionType : undefined;
|
|
67
|
+
resourceInputs["readOnlyNodeMaxDelayTime"] = state ? state.readOnlyNodeMaxDelayTime : undefined;
|
|
68
|
+
resourceInputs["readOnlyNodeWeights"] = state ? state.readOnlyNodeWeights : undefined;
|
|
69
|
+
resourceInputs["readWriteMode"] = state ? state.readWriteMode : undefined;
|
|
70
|
+
resourceInputs["readWriteSpliting"] = state ? state.readWriteSpliting : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
resourceInputs["addresses"] = args ? args.addresses : undefined;
|
|
75
|
+
resourceInputs["autoAddNewNodes"] = args ? args.autoAddNewNodes : undefined;
|
|
76
|
+
resourceInputs["connectAllSlaveNodes"] = args ? args.connectAllSlaveNodes : undefined;
|
|
77
|
+
resourceInputs["connectionMode"] = args ? args.connectionMode : undefined;
|
|
78
|
+
resourceInputs["connectionPoolType"] = args ? args.connectionPoolType : undefined;
|
|
79
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
80
|
+
resourceInputs["enableConnectionPersistent"] = args ? args.enableConnectionPersistent : undefined;
|
|
81
|
+
resourceInputs["endpointName"] = args ? args.endpointName : undefined;
|
|
82
|
+
resourceInputs["endpointType"] = args ? args.endpointType : undefined;
|
|
83
|
+
resourceInputs["idleConnectionReclaim"] = args ? args.idleConnectionReclaim : undefined;
|
|
84
|
+
resourceInputs["implicitTransSplit"] = args ? args.implicitTransSplit : undefined;
|
|
85
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
86
|
+
resourceInputs["masterNodeRouting"] = args ? args.masterNodeRouting : undefined;
|
|
87
|
+
resourceInputs["masterProtectorTimeout"] = args ? args.masterProtectorTimeout : undefined;
|
|
88
|
+
resourceInputs["multiStatementsMode"] = args ? args.multiStatementsMode : undefined;
|
|
89
|
+
resourceInputs["nodes"] = args ? args.nodes : undefined;
|
|
90
|
+
resourceInputs["overloadProtection"] = args ? args.overloadProtection : undefined;
|
|
91
|
+
resourceInputs["readOnlyNodeDistributionType"] = args ? args.readOnlyNodeDistributionType : undefined;
|
|
92
|
+
resourceInputs["readOnlyNodeMaxDelayTime"] = args ? args.readOnlyNodeMaxDelayTime : undefined;
|
|
93
|
+
resourceInputs["readOnlyNodeWeights"] = args ? args.readOnlyNodeWeights : undefined;
|
|
94
|
+
resourceInputs["readWriteMode"] = args ? args.readWriteMode : undefined;
|
|
95
|
+
resourceInputs["readWriteSpliting"] = args ? args.readWriteSpliting : undefined;
|
|
96
|
+
resourceInputs["connectionInfoTags"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["customRouteStrategy"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["enableReadOnly"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["endpointId"] = undefined /*out*/;
|
|
100
|
+
}
|
|
101
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
super(Endpoint.__pulumiType, name, resourceInputs, opts);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.Endpoint = Endpoint;
|
|
106
|
+
/** @internal */
|
|
107
|
+
Endpoint.__pulumiType = 'volcenginecc:rdsmysql/endpoint:Endpoint';
|
|
108
|
+
//# sourceMappingURL=endpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../rdsmysql/endpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IA6GD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,S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CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AArML,4BAsMC;AAxLG,gBAAgB;AACO,qBAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAllowList(args: GetAllowListArgs, opts?: pulumi.InvokeOptions): Promise<GetAllowListResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getAllowList.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetAllowListArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getAllowList.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAllowListResult {
|
|
20
|
+
/**
|
|
21
|
+
* 白名单分类。取值:Ordinary:普通白名单。Default:默认白名单。说明该参数作为请求参数时,默认值为 Ordinary。
|
|
22
|
+
*/
|
|
23
|
+
readonly allowListCategory: string;
|
|
24
|
+
/**
|
|
25
|
+
* 白名单的备注。
|
|
26
|
+
*/
|
|
27
|
+
readonly allowListDesc: string;
|
|
28
|
+
/**
|
|
29
|
+
* 白名单 ID 。
|
|
30
|
+
*/
|
|
31
|
+
readonly allowListId: string;
|
|
32
|
+
/**
|
|
33
|
+
* 白名单内的 IP 地址(或地址段)总数。
|
|
34
|
+
*/
|
|
35
|
+
readonly allowListIpNum: number;
|
|
36
|
+
/**
|
|
37
|
+
* 白名单名称。
|
|
38
|
+
*/
|
|
39
|
+
readonly allowListName: string;
|
|
40
|
+
/**
|
|
41
|
+
* 白名单内的 IP 地址类型。当前仅支持 IPv4 地址。
|
|
42
|
+
*/
|
|
43
|
+
readonly allowListType: string;
|
|
44
|
+
/**
|
|
45
|
+
* 白名单内的 IP 地址列表
|
|
46
|
+
*/
|
|
47
|
+
readonly allowLists: string[];
|
|
48
|
+
/**
|
|
49
|
+
* 白名单下绑定的实例总数。
|
|
50
|
+
*/
|
|
51
|
+
readonly associatedInstanceNum: number;
|
|
52
|
+
/**
|
|
53
|
+
* 已绑定当前白名单的实例信息。
|
|
54
|
+
*/
|
|
55
|
+
readonly associatedInstances: outputs.rdsmysql.GetAllowListAssociatedInstance[];
|
|
56
|
+
/**
|
|
57
|
+
* Uniquely identifies the resource.
|
|
58
|
+
*/
|
|
59
|
+
readonly id: string;
|
|
60
|
+
/**
|
|
61
|
+
* 是否忽略实例状态校验。取值:true:是。false:否。默认值。
|
|
62
|
+
*/
|
|
63
|
+
readonly ignoreInstanceStatus: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* 实例 ID。
|
|
66
|
+
*/
|
|
67
|
+
readonly instanceId: string;
|
|
68
|
+
/**
|
|
69
|
+
* 白名单包含的 IP 地址和 IP 地址段的列表。在请求参数 WithIpList 取值为 true 时返回,在取值为 false 或不为其传值时返回为 null。
|
|
70
|
+
*/
|
|
71
|
+
readonly ipLists: string[];
|
|
72
|
+
/**
|
|
73
|
+
* 修改方式,取值范围如下:Cover(默认值):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
|
|
74
|
+
*/
|
|
75
|
+
readonly modifyMode: string;
|
|
76
|
+
/**
|
|
77
|
+
* 所属的项目。说明如您调用接口使用的 AK/SK 属于某个子账号,且该子账号只拥有某个项目的权限,需要传入该请求参数。
|
|
78
|
+
*/
|
|
79
|
+
readonly projectName: string;
|
|
80
|
+
/**
|
|
81
|
+
* 白名单关联的安全组的信息。说明该字段不能与 SecurityGroupIds 同时使用。
|
|
82
|
+
*/
|
|
83
|
+
readonly securityGroupBindInfos: outputs.rdsmysql.GetAllowListSecurityGroupBindInfo[];
|
|
84
|
+
/**
|
|
85
|
+
* 需要关联的安全组 ID 列表。说明您可以调用 DescribeSecurityGroups 接口查询安全组信息,包括安全组 ID。单个白名单单次最多可选择添加 10 个安全组。该字段不能与 SecurityGroupBindInfos 同时使用。
|
|
86
|
+
*/
|
|
87
|
+
readonly securityGroupIds: string[];
|
|
88
|
+
/**
|
|
89
|
+
* 是否更新白名单所绑定的安全组。true:更新。false:不更新。默认值。说明该字段仅在白名单已绑定了安全组时生效。可调用 DescribeAllowLists 接口查询白名单是否绑定了安全组。
|
|
90
|
+
*/
|
|
91
|
+
readonly updateSecurityGroup: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* 该名单中由用户输入的 IP 地址。AllowList 字段中的 IP 为 UserAllowList 和 SecurityGroupBindInfos 包含的 IP 的并集。
|
|
94
|
+
*/
|
|
95
|
+
readonly userAllowLists: string[];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
99
|
+
*/
|
|
100
|
+
export declare function getAllowListOutput(args: GetAllowListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListResult>;
|
|
101
|
+
/**
|
|
102
|
+
* A collection of arguments for invoking getAllowList.
|
|
103
|
+
*/
|
|
104
|
+
export interface GetAllowListOutputArgs {
|
|
105
|
+
/**
|
|
106
|
+
* Uniquely identifies the resource.
|
|
107
|
+
*/
|
|
108
|
+
id: pulumi.Input<string>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.getAllowListOutput = exports.getAllowList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
10
|
+
*/
|
|
11
|
+
function getAllowList(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:rdsmysql/getAllowList:getAllowList", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getAllowList = getAllowList;
|
|
18
|
+
/**
|
|
19
|
+
* Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
20
|
+
*/
|
|
21
|
+
function getAllowListOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("volcenginecc:rdsmysql/getAllowList:getAllowList", {
|
|
24
|
+
"id": args.id,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getAllowListOutput = getAllowListOutput;
|
|
28
|
+
//# sourceMappingURL=getAllowList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllowList.js","sourceRoot":"","sources":["../../rdsmysql/getAllowList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC;AA6FD;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gDAKC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
4
|
+
*/
|
|
5
|
+
export declare function getAllowLists(opts?: pulumi.InvokeOptions): Promise<GetAllowListsResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getAllowLists.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetAllowListsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
21
|
+
*/
|
|
22
|
+
export declare function getAllowListsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAllowListsResult>;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.getAllowListsOutput = exports.getAllowLists = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Plural Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
10
|
+
*/
|
|
11
|
+
function getAllowLists(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("volcenginecc:rdsmysql/getAllowLists:getAllowLists", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getAllowLists = getAllowLists;
|
|
16
|
+
/**
|
|
17
|
+
* Plural Data Source schema for Volcengine::RDSMySQL::AllowList
|
|
18
|
+
*/
|
|
19
|
+
function getAllowListsOutput(opts) {
|
|
20
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
|
+
return pulumi.runtime.invokeOutput("volcenginecc:rdsmysql/getAllowLists:getAllowLists", {}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAllowListsOutput = getAllowListsOutput;
|
|
24
|
+
//# sourceMappingURL=getAllowLists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllowLists.js","sourceRoot":"","sources":["../../rdsmysql/getAllowLists.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE,EACjF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC;AAeD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAAiC;IACjE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE,EACvF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kDAIC"}
|