@volcengine/pulumi 0.0.26 → 0.0.27
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/acl.d.ts +1 -1
- package/alb/acl.js +1 -1
- package/alb/alb.d.ts +1 -1
- package/alb/alb.js +1 -1
- package/alb/cacertificate.d.ts +1 -1
- package/alb/cacertificate.js +1 -1
- package/alb/certificate.d.ts +1 -1
- package/alb/certificate.js +1 -1
- package/alb/customizedCfg.d.ts +1 -1
- package/alb/customizedCfg.js +1 -1
- package/alb/healthCheckTemplate.d.ts +1 -1
- package/alb/healthCheckTemplate.js +1 -1
- package/alb/listener.d.ts +1 -1
- package/alb/listener.js +1 -1
- package/alb/listenerDomainExtension.d.ts +1 -1
- package/alb/listenerDomainExtension.js +1 -1
- package/alb/rule.d.ts +1 -1
- package/alb/rule.js +1 -1
- package/alb/serverGroup.d.ts +1 -1
- package/alb/serverGroup.js +1 -1
- package/alb/serverGroupServer.d.ts +1 -1
- package/alb/serverGroupServer.js +1 -1
- package/autoscaling/scalingConfiguration.d.ts +1 -1
- package/autoscaling/scalingConfiguration.js +1 -1
- package/autoscaling/scalingConfigurationAttachment.d.ts +3 -2
- package/autoscaling/scalingConfigurationAttachment.js +3 -2
- package/autoscaling/scalingConfigurationAttachment.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +1 -1
- package/autoscaling/scalingGroup.js +1 -1
- package/autoscaling/scalingGroupEnabler.d.ts +1 -1
- package/autoscaling/scalingGroupEnabler.js +1 -1
- package/autoscaling/scalingInstanceAttachment.d.ts +3 -2
- package/autoscaling/scalingInstanceAttachment.js +3 -2
- package/autoscaling/scalingInstanceAttachment.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +1 -1
- package/autoscaling/scalingLifecycleHook.js +1 -1
- package/autoscaling/scalingPolicy.d.ts +1 -1
- package/autoscaling/scalingPolicy.js +1 -1
- package/bandwidth_package/attachment.d.ts +1 -1
- package/bandwidth_package/attachment.js +1 -1
- package/bandwidth_package/bandwidthPackage.d.ts +1 -1
- package/bandwidth_package/bandwidthPackage.js +1 -1
- package/bioos/cluster.d.ts +3 -3
- package/bioos/cluster.js +1 -1
- package/bioos/clusterBind.d.ts +1 -1
- package/bioos/clusterBind.js +1 -1
- package/bioos/workspace.d.ts +1 -1
- package/bioos/workspace.js +1 -1
- package/cdn/cdnCertificate.d.ts +5 -3
- package/cdn/cdnCertificate.js +5 -3
- package/cdn/cdnCertificate.js.map +1 -1
- package/cdn/cdnDomain.d.ts +5 -6
- package/cdn/cdnDomain.js +5 -6
- package/cdn/cdnDomain.js.map +1 -1
- package/cdn/configs.d.ts +6 -6
- package/cdn/configs.js +6 -6
- package/cdn/domains.d.ts +6 -6
- package/cdn/domains.js +6 -6
- package/cdn/sharedConfig.d.ts +1 -1
- package/cdn/sharedConfig.js +1 -1
- package/cen/attachInstance.d.ts +1 -1
- package/cen/attachInstance.js +1 -1
- package/cen/bandwidthPackage.d.ts +1 -1
- package/cen/bandwidthPackage.js +1 -1
- package/cen/bandwidthPackageAssociate.d.ts +1 -1
- package/cen/bandwidthPackageAssociate.js +1 -1
- package/cen/cen.d.ts +1 -1
- package/cen/cen.js +1 -1
- package/cen/grantInstance.d.ts +1 -1
- package/cen/grantInstance.js +1 -1
- package/cen/interRegionBandwidth.d.ts +1 -1
- package/cen/interRegionBandwidth.js +1 -1
- package/cen/routeEntry.d.ts +1 -2
- package/cen/routeEntry.js +1 -2
- package/cen/routeEntry.js.map +1 -1
- package/cen/serviceRouteEntry.d.ts +1 -1
- package/cen/serviceRouteEntry.js +1 -1
- package/clb/acl.d.ts +1 -1
- package/clb/acl.js +1 -1
- package/clb/aclEntry.d.ts +1 -1
- package/clb/aclEntry.js +1 -1
- package/clb/certificate.d.ts +1 -1
- package/clb/certificate.js +1 -1
- package/clb/clb.d.ts +1 -1
- package/clb/clb.js +1 -1
- package/clb/listener.d.ts +4 -4
- package/clb/listener.js +1 -1
- package/clb/rule.d.ts +4 -2
- package/clb/rule.js +4 -2
- package/clb/rule.js.map +1 -1
- package/clb/serverGroup.d.ts +1 -1
- package/clb/serverGroup.js +1 -1
- package/clb/serverGroupServer.d.ts +1 -1
- package/clb/serverGroupServer.js +1 -1
- package/cloud_identity/group.d.ts +1 -1
- package/cloud_identity/group.js +1 -1
- package/cloud_identity/permissionSet.d.ts +1 -1
- package/cloud_identity/permissionSet.js +1 -1
- package/cloud_identity/permissionSetAssignment.d.ts +1 -1
- package/cloud_identity/permissionSetAssignment.js +1 -1
- package/cloud_identity/permissionSetProvisioning.d.ts +1 -1
- package/cloud_identity/permissionSetProvisioning.js +1 -1
- package/cloud_identity/user.d.ts +1 -1
- package/cloud_identity/user.js +1 -1
- package/cloud_identity/userAttachment.d.ts +1 -1
- package/cloud_identity/userAttachment.js +1 -1
- package/cloud_identity/userProvisioning.d.ts +1 -2
- package/cloud_identity/userProvisioning.js +1 -2
- package/cloud_identity/userProvisioning.js.map +1 -1
- package/cloud_monitor/contact.d.ts +1 -1
- package/cloud_monitor/contact.js +1 -1
- package/cloud_monitor/contactGroup.d.ts +1 -1
- package/cloud_monitor/contactGroup.js +1 -1
- package/cloud_monitor/eventRule.d.ts +1 -1
- package/cloud_monitor/eventRule.js +1 -1
- package/cloud_monitor/rule.d.ts +1 -1
- package/cloud_monitor/rule.js +1 -1
- package/cloudfs/access.d.ts +1 -1
- package/cloudfs/access.js +1 -1
- package/cloudfs/fileSystem.d.ts +1 -1
- package/cloudfs/fileSystem.js +1 -1
- package/cloudfs/namespace.d.ts +1 -1
- package/cloudfs/namespace.js +1 -1
- package/config/vars.d.ts +0 -4
- package/config/vars.js.map +1 -1
- package/cr/endpoint.d.ts +1 -1
- package/cr/endpoint.js +1 -1
- package/cr/namespace.d.ts +1 -1
- package/cr/namespace.js +1 -1
- package/cr/registry.d.ts +1 -1
- package/cr/registry.js +1 -1
- package/cr/repository.d.ts +1 -1
- package/cr/repository.js +1 -1
- package/cr/state.d.ts +1 -1
- package/cr/state.js +1 -1
- package/cr/tag.d.ts +1 -1
- package/cr/tag.js +1 -1
- package/cr/vpcEndpoint.d.ts +1 -1
- package/cr/vpcEndpoint.js +1 -1
- package/direct_connect/bgpPeer.d.ts +1 -1
- package/direct_connect/bgpPeer.js +1 -1
- package/direct_connect/connection.d.ts +1 -1
- package/direct_connect/connection.js +1 -1
- package/direct_connect/gateway.d.ts +1 -1
- package/direct_connect/gateway.js +1 -1
- package/direct_connect/gatewayRoute.d.ts +1 -1
- package/direct_connect/gatewayRoute.js +1 -1
- package/direct_connect/virtualInterface.d.ts +1 -1
- package/direct_connect/virtualInterface.js +1 -1
- package/ebs/autoSnapshotPolicies.d.ts +153 -0
- package/ebs/autoSnapshotPolicies.js +94 -0
- package/ebs/autoSnapshotPolicies.js.map +1 -0
- package/ebs/autoSnapshotPolicy.d.ts +190 -0
- package/ebs/autoSnapshotPolicy.js +114 -0
- package/ebs/autoSnapshotPolicy.js.map +1 -0
- package/ebs/autoSnapshotPolicyAttachment.d.ts +112 -0
- package/ebs/autoSnapshotPolicyAttachment.js +109 -0
- package/ebs/autoSnapshotPolicyAttachment.js.map +1 -0
- package/ebs/index.d.ts +21 -0
- package/ebs/index.js +30 -1
- package/ebs/index.js.map +1 -1
- package/ebs/snapshot.d.ts +223 -0
- package/ebs/snapshot.js +124 -0
- package/ebs/snapshot.js.map +1 -0
- package/ebs/snapshotGroup.d.ts +220 -0
- package/ebs/snapshotGroup.js +154 -0
- package/ebs/snapshotGroup.js.map +1 -0
- package/ebs/snapshotGroups.d.ts +268 -0
- package/ebs/snapshotGroups.js +188 -0
- package/ebs/snapshotGroups.js.map +1 -0
- package/ebs/snapshots.d.ts +182 -0
- package/ebs/snapshots.js +104 -0
- package/ebs/snapshots.js.map +1 -0
- package/ebs/volume.d.ts +37 -1
- package/ebs/volume.js +7 -1
- package/ebs/volume.js.map +1 -1
- package/ebs/volumeAttach.d.ts +1 -1
- package/ebs/volumeAttach.js +1 -1
- package/ecs/command.d.ts +1 -1
- package/ecs/command.js +1 -1
- package/ecs/deploymentSet.d.ts +1 -1
- package/ecs/deploymentSet.js +1 -1
- package/ecs/deploymentSetAssociate.d.ts +1 -1
- package/ecs/deploymentSetAssociate.js +1 -1
- package/ecs/hpcCluster.d.ts +94 -0
- package/ecs/hpcCluster.js +78 -0
- package/ecs/hpcCluster.js.map +1 -0
- package/ecs/hpcClusters.d.ts +87 -0
- package/ecs/hpcClusters.js +48 -0
- package/ecs/hpcClusters.js.map +1 -0
- package/ecs/iamRoleAttachment.d.ts +1 -1
- package/ecs/iamRoleAttachment.js +1 -1
- package/ecs/image.d.ts +271 -0
- package/ecs/image.js +121 -0
- package/ecs/image.js.map +1 -0
- package/ecs/imageImport.d.ts +264 -0
- package/ecs/imageImport.js +124 -0
- package/ecs/imageImport.js.map +1 -0
- package/ecs/imageSharePermission.d.ts +93 -0
- package/ecs/imageSharePermission.js +90 -0
- package/ecs/imageSharePermission.js.map +1 -0
- package/ecs/imageSharePermissions.d.ts +75 -0
- package/ecs/imageSharePermissions.js +46 -0
- package/ecs/imageSharePermissions.js.map +1 -0
- package/ecs/images.d.ts +46 -0
- package/ecs/images.js +4 -0
- package/ecs/images.js.map +1 -1
- package/ecs/index.d.ts +18 -0
- package/ecs/index.js +27 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +7 -6
- package/ecs/instance.js +3 -2
- package/ecs/instance.js.map +1 -1
- package/ecs/instanceTypes.d.ts +9 -0
- package/ecs/instanceTypes.js +1 -0
- package/ecs/instanceTypes.js.map +1 -1
- package/ecs/instances.d.ts +39 -0
- package/ecs/instances.js +4 -0
- package/ecs/instances.js.map +1 -1
- package/ecs/invocation.d.ts +1 -1
- package/ecs/invocation.js +1 -1
- package/ecs/keyPair.d.ts +1 -1
- package/ecs/keyPair.js +1 -1
- package/ecs/keyPairAssociate.d.ts +6 -2
- package/ecs/keyPairAssociate.js +6 -2
- package/ecs/keyPairAssociate.js.map +1 -1
- package/ecs/launchTemplate.d.ts +4 -2
- package/ecs/launchTemplate.js +4 -2
- package/ecs/launchTemplate.js.map +1 -1
- package/ecs/state.d.ts +1 -1
- package/ecs/state.js +1 -1
- package/eip/address.d.ts +1 -1
- package/eip/address.js +1 -1
- package/eip/associate.d.ts +1 -1
- package/eip/associate.js +1 -1
- package/escloud/instance.d.ts +1 -1
- package/escloud/instance.js +1 -1
- package/financial_relation/financialRelation.d.ts +1 -2
- package/financial_relation/financialRelation.js +1 -2
- package/financial_relation/financialRelation.js.map +1 -1
- package/iam/loginProfile.d.ts +1 -1
- package/iam/loginProfile.js +1 -1
- package/iam/policy.d.ts +1 -1
- package/iam/policy.js +1 -1
- package/iam/role.d.ts +1 -1
- package/iam/role.js +1 -1
- package/iam/rolePolicyAttachment.d.ts +1 -1
- package/iam/rolePolicyAttachment.js +1 -1
- package/iam/samlProvider.d.ts +1 -1
- package/iam/samlProvider.js +1 -1
- package/iam/user.d.ts +1 -1
- package/iam/user.js +1 -1
- package/iam/userGroup.d.ts +1 -1
- package/iam/userGroup.js +1 -1
- package/iam/userGroupAttachment.d.ts +1 -1
- package/iam/userGroupAttachment.js +1 -1
- package/iam/userGroupPolicyAttachment.d.ts +1 -1
- package/iam/userGroupPolicyAttachment.js +1 -1
- package/iam/userPolicyAttachment.d.ts +1 -1
- package/iam/userPolicyAttachment.js +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kafka/group.d.ts +1 -1
- package/kafka/group.js +1 -1
- package/kafka/instance.d.ts +1 -1
- package/kafka/instance.js +1 -1
- package/kafka/publicAddress.d.ts +1 -1
- package/kafka/publicAddress.js +1 -1
- package/kafka/saslUser.d.ts +1 -1
- package/kafka/saslUser.js +1 -1
- package/kafka/topic.d.ts +1 -1
- package/kafka/topic.js +1 -1
- package/mongodb/endpoint.d.ts +5 -2
- package/mongodb/endpoint.js +5 -2
- package/mongodb/endpoint.js.map +1 -1
- package/mongodb/instance.d.ts +1 -1
- package/mongodb/instance.js +1 -1
- package/mongodb/instanceParameter.d.ts +1 -1
- package/mongodb/instanceParameter.js +1 -1
- package/mongodb/mongoAllowList.d.ts +1 -1
- package/mongodb/mongoAllowList.js +1 -1
- package/mongodb/mongoAllowListAssociate.d.ts +1 -1
- package/mongodb/mongoAllowListAssociate.js +1 -1
- package/mongodb/sslState.d.ts +1 -1
- package/mongodb/sslState.js +1 -1
- package/nas/fileSystem.d.ts +1 -1
- package/nas/fileSystem.js +1 -1
- package/nas/mountPoint.d.ts +1 -2
- package/nas/mountPoint.js +1 -2
- package/nas/mountPoint.js.map +1 -1
- package/nas/permissionGroup.d.ts +1 -1
- package/nas/permissionGroup.js +1 -1
- package/nas/snapshot.d.ts +1 -1
- package/nas/snapshot.js +1 -1
- package/nat/dnatEntry.d.ts +1 -1
- package/nat/dnatEntry.js +1 -1
- package/nat/gateway.d.ts +1 -1
- package/nat/gateway.js +1 -1
- package/nat/snatEntry.d.ts +1 -1
- package/nat/snatEntry.js +1 -1
- package/organization/account.d.ts +1 -1
- package/organization/account.js +1 -1
- package/organization/organization.d.ts +1 -1
- package/organization/organization.js +1 -1
- package/organization/serviceControlPolicy.d.ts +1 -1
- package/organization/serviceControlPolicy.js +1 -1
- package/organization/serviceControlPolicyAttachment.d.ts +1 -1
- package/organization/serviceControlPolicyAttachment.js +1 -1
- package/organization/serviceControlPolicyEnabler.d.ts +1 -1
- package/organization/serviceControlPolicyEnabler.js +1 -1
- package/organization/unit.d.ts +1 -1
- package/organization/unit.js +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/private_zone/privateZone.d.ts +1 -1
- package/private_zone/privateZone.js +1 -1
- package/private_zone/record.d.ts +1 -2
- package/private_zone/record.js +1 -2
- package/private_zone/record.js.map +1 -1
- package/private_zone/recordWeightEnabler.d.ts +1 -2
- package/private_zone/recordWeightEnabler.js +1 -2
- package/private_zone/recordWeightEnabler.js.map +1 -1
- package/private_zone/resolverEndpoint.d.ts +1 -1
- package/private_zone/resolverEndpoint.js +1 -1
- package/private_zone/resolverRule.d.ts +1 -1
- package/private_zone/resolverRule.js +1 -1
- package/private_zone/userVpcAuthorization.d.ts +1 -1
- package/private_zone/userVpcAuthorization.js +1 -1
- package/privatelink/securityGroup.d.ts +1 -1
- package/privatelink/securityGroup.js +1 -1
- package/privatelink/vpcEndpoint.d.ts +1 -1
- package/privatelink/vpcEndpoint.js +1 -1
- package/privatelink/vpcEndpointConnection.d.ts +1 -1
- package/privatelink/vpcEndpointConnection.js +1 -1
- package/privatelink/vpcEndpointService.d.ts +3 -3
- package/privatelink/vpcEndpointService.js +3 -3
- package/privatelink/vpcEndpointServicePermission.d.ts +1 -1
- package/privatelink/vpcEndpointServicePermission.js +1 -1
- package/privatelink/vpcEndpointServiceResource.d.ts +3 -3
- package/privatelink/vpcEndpointServiceResource.js +3 -3
- package/privatelink/vpcEndpointZone.d.ts +1 -1
- package/privatelink/vpcEndpointZone.js +1 -1
- package/rds/account.d.ts +1 -1
- package/rds/account.js +1 -1
- package/rds/accountPrivilege.d.ts +1 -1
- package/rds/accountPrivilege.js +1 -1
- package/rds/database.d.ts +1 -1
- package/rds/database.js +1 -1
- package/rds/instance.d.ts +4 -4
- package/rds/instance.js +1 -1
- package/rds/ipList.d.ts +1 -1
- package/rds/ipList.js +1 -1
- package/rds/parameterTemplate.d.ts +1 -1
- package/rds/parameterTemplate.js +1 -1
- package/rds_mssql/backup.d.ts +1 -1
- package/rds_mssql/backup.js +1 -1
- package/rds_mssql/instance.d.ts +1 -1
- package/rds_mssql/instance.js +1 -1
- package/rds_mysql/account.d.ts +1 -1
- package/rds_mysql/account.js +1 -1
- package/rds_mysql/allowlist.d.ts +1 -1
- package/rds_mysql/allowlist.js +1 -1
- package/rds_mysql/allowlistAssociate.d.ts +1 -1
- package/rds_mysql/allowlistAssociate.js +1 -1
- package/rds_mysql/database.d.ts +1 -1
- package/rds_mysql/database.js +1 -1
- package/rds_mysql/instance.d.ts +1 -1
- package/rds_mysql/instance.js +1 -1
- package/rds_mysql/instanceReadonlyNode.d.ts +1 -1
- package/rds_mysql/instanceReadonlyNode.js +1 -1
- package/rds_postgresql/account.d.ts +1 -1
- package/rds_postgresql/account.js +1 -1
- package/rds_postgresql/allowlist.d.ts +1 -1
- package/rds_postgresql/allowlist.js +1 -1
- package/rds_postgresql/allowlistAssociate.d.ts +1 -1
- package/rds_postgresql/allowlistAssociate.js +1 -1
- package/rds_postgresql/database.d.ts +1 -1
- package/rds_postgresql/database.js +1 -1
- package/rds_postgresql/instance.d.ts +1 -1
- package/rds_postgresql/instance.js +1 -1
- package/rds_postgresql/instanceReadonlyNode.d.ts +1 -1
- package/rds_postgresql/instanceReadonlyNode.js +1 -1
- package/rds_postgresql/schema.d.ts +1 -1
- package/rds_postgresql/schema.js +1 -1
- package/rds_v2/rdsInstanceV2.d.ts +4 -4
- package/rds_v2/rdsInstanceV2.js +1 -1
- package/redis/account.d.ts +1 -1
- package/redis/account.js +1 -1
- package/redis/allowList.d.ts +1 -1
- package/redis/allowList.js +1 -1
- package/redis/allowListAssociate.d.ts +1 -1
- package/redis/allowListAssociate.js +1 -1
- package/redis/backup.d.ts +1 -1
- package/redis/backup.js +1 -1
- package/redis/backupRestore.d.ts +1 -1
- package/redis/backupRestore.js +1 -1
- package/redis/continuousBackup.d.ts +1 -1
- package/redis/continuousBackup.js +1 -1
- package/redis/endpoint.d.ts +1 -1
- package/redis/endpoint.js +1 -1
- package/redis/instance.d.ts +87 -17
- package/redis/instance.js +26 -10
- package/redis/instance.js.map +1 -1
- package/redis/state.d.ts +1 -1
- package/redis/state.js +1 -1
- package/tls/alarm.d.ts +1 -1
- package/tls/alarm.js +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/tls/alarmNotifyGroup.js +1 -1
- package/tls/host.d.ts +1 -1
- package/tls/host.js +1 -1
- package/tls/hostGroup.d.ts +2 -2
- package/tls/hostGroup.js +1 -1
- package/tls/index_.d.ts +1 -1
- package/tls/index_.js +1 -1
- package/tls/kafkaConsumer.d.ts +1 -1
- package/tls/kafkaConsumer.js +1 -1
- package/tls/project.d.ts +1 -1
- package/tls/project.js +1 -1
- package/tls/projects.d.ts +2 -6
- package/tls/projects.js +2 -6
- package/tls/projects.js.map +1 -1
- package/tls/rule.d.ts +1 -1
- package/tls/rule.js +1 -1
- package/tls/ruleApplier.d.ts +1 -1
- package/tls/ruleApplier.js +1 -1
- package/tls/topic.d.ts +34 -4
- package/tls/topic.js +5 -1
- package/tls/topic.js.map +1 -1
- package/tos/bucket.d.ts +1 -1
- package/tos/bucket.js +1 -1
- package/tos/bucketObject.d.ts +1 -1
- package/tos/bucketObject.js +1 -1
- package/tos/bucketPolicy.d.ts +1 -1
- package/tos/bucketPolicy.js +1 -1
- package/transit_router/bandwidthPackage.d.ts +27 -1
- package/transit_router/bandwidthPackage.js +7 -1
- package/transit_router/bandwidthPackage.js.map +1 -1
- package/transit_router/bandwidthPackages.d.ts +24 -0
- package/transit_router/bandwidthPackages.js +2 -0
- package/transit_router/bandwidthPackages.js.map +1 -1
- package/transit_router/directConnectGatewayAttachment.d.ts +1 -1
- package/transit_router/directConnectGatewayAttachment.js +1 -1
- package/transit_router/grantRule.d.ts +1 -1
- package/transit_router/grantRule.js +1 -1
- package/transit_router/peerAttachment.d.ts +1 -1
- package/transit_router/peerAttachment.js +1 -1
- package/transit_router/routeEntry.d.ts +9 -22
- package/transit_router/routeEntry.js +3 -22
- package/transit_router/routeEntry.js.map +1 -1
- package/transit_router/routeTable.d.ts +1 -1
- package/transit_router/routeTable.js +1 -1
- package/transit_router/routeTableAssociation.d.ts +1 -22
- package/transit_router/routeTableAssociation.js +1 -22
- package/transit_router/routeTableAssociation.js.map +1 -1
- package/transit_router/routeTablePropagation.d.ts +1 -1
- package/transit_router/routeTablePropagation.js +1 -1
- package/transit_router/sharedTransitRouterState.d.ts +17 -5
- package/transit_router/sharedTransitRouterState.js +14 -2
- package/transit_router/sharedTransitRouterState.js.map +1 -1
- package/transit_router/transitRouter.d.ts +9 -1
- package/transit_router/transitRouter.js +3 -1
- package/transit_router/transitRouter.js.map +1 -1
- package/transit_router/vpcAttachment.d.ts +1 -1
- package/transit_router/vpcAttachment.js +1 -1
- package/transit_router/vpnAttachment.d.ts +1 -22
- package/transit_router/vpnAttachment.js +1 -22
- package/transit_router/vpnAttachment.js.map +1 -1
- package/types/input.d.ts +281 -22
- package/types/output.d.ts +6291 -5141
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/vedb_mysql/account.d.ts +191 -0
- package/vedb_mysql/account.js +137 -0
- package/vedb_mysql/account.js.map +1 -0
- package/vedb_mysql/accounts.d.ts +194 -0
- package/vedb_mysql/accounts.js +146 -0
- package/vedb_mysql/accounts.js.map +1 -0
- package/vedb_mysql/allowlist.d.ts +120 -0
- package/vedb_mysql/allowlist.js +91 -0
- package/vedb_mysql/allowlist.js.map +1 -0
- package/vedb_mysql/allowlistAssociate.d.ts +125 -0
- package/vedb_mysql/allowlistAssociate.js +122 -0
- package/vedb_mysql/allowlistAssociate.js.map +1 -0
- package/vedb_mysql/allowlists.d.ts +190 -0
- package/vedb_mysql/allowlists.js +142 -0
- package/vedb_mysql/allowlists.js.map +1 -0
- package/vedb_mysql/backup.d.ts +153 -0
- package/vedb_mysql/backup.js +119 -0
- package/vedb_mysql/backup.js.map +1 -0
- package/vedb_mysql/backups.d.ts +220 -0
- package/vedb_mysql/backups.js +133 -0
- package/vedb_mysql/backups.js.map +1 -0
- package/vedb_mysql/database.d.ts +136 -0
- package/vedb_mysql/database.js +114 -0
- package/vedb_mysql/database.js.map +1 -0
- package/vedb_mysql/databases.d.ts +175 -0
- package/vedb_mysql/databases.js +124 -0
- package/vedb_mysql/databases.js.map +1 -0
- package/vedb_mysql/endpoint.d.ts +329 -0
- package/vedb_mysql/endpoint.js +152 -0
- package/vedb_mysql/endpoint.js.map +1 -0
- package/vedb_mysql/endpointPublicAddress.d.ts +154 -0
- package/vedb_mysql/endpointPublicAddress.js +144 -0
- package/vedb_mysql/endpointPublicAddress.js.map +1 -0
- package/vedb_mysql/endpoints.d.ts +202 -0
- package/vedb_mysql/endpoints.js +154 -0
- package/vedb_mysql/endpoints.js.map +1 -0
- package/vedb_mysql/index.d.ts +42 -0
- package/vedb_mysql/index.js +75 -0
- package/vedb_mysql/index.js.map +1 -0
- package/vedb_mysql/instance.d.ts +388 -0
- package/vedb_mysql/instance.js +140 -0
- package/vedb_mysql/instance.js.map +1 -0
- package/vedb_mysql/instances.d.ts +258 -0
- package/vedb_mysql/instances.js +123 -0
- package/vedb_mysql/instances.js.map +1 -0
- package/veenedge/cloudServer.d.ts +7 -3
- package/veenedge/cloudServer.js +7 -3
- package/veenedge/cloudServer.js.map +1 -1
- package/veenedge/instance.d.ts +1 -1
- package/veenedge/instance.js +1 -1
- package/veenedge/vpc.d.ts +3 -3
- package/veenedge/vpc.js +3 -3
- package/vepfs/fileSystem.d.ts +1 -1
- package/vepfs/fileSystem.js +1 -1
- package/vepfs/fileset.d.ts +1 -1
- package/vepfs/fileset.js +1 -1
- package/vepfs/mountService.d.ts +1 -1
- package/vepfs/mountService.js +1 -1
- package/vepfs/mountServiceAttachment.d.ts +1 -1
- package/vepfs/mountServiceAttachment.js +1 -1
- package/vke/addon.d.ts +8 -2
- package/vke/addon.js +8 -2
- package/vke/addon.js.map +1 -1
- package/vke/cluster.d.ts +1 -1
- package/vke/cluster.js +1 -1
- package/vke/defaultNodePool.d.ts +1 -1
- package/vke/defaultNodePool.js +1 -1
- package/vke/kubeconfig.d.ts +1 -1
- package/vke/kubeconfig.js +1 -1
- package/vke/node.d.ts +1 -1
- package/vke/node.js +1 -1
- package/vke/nodePool.d.ts +1 -1
- package/vke/nodePool.js +1 -1
- package/vpc/haVip.d.ts +1 -1
- package/vpc/haVip.js +1 -1
- package/vpc/haVipAssociate.d.ts +1 -1
- package/vpc/haVipAssociate.js +1 -1
- package/vpc/ipv6AddressBandwidth.d.ts +1 -1
- package/vpc/ipv6AddressBandwidth.js +1 -1
- package/vpc/ipv6Gateway.d.ts +1 -1
- package/vpc/ipv6Gateway.js +1 -1
- package/vpc/networkAcl.d.ts +31 -11
- package/vpc/networkAcl.js +21 -11
- package/vpc/networkAcl.js.map +1 -1
- package/vpc/networkAclAssociate.d.ts +1 -1
- package/vpc/networkAclAssociate.js +1 -1
- package/vpc/networkAcls.d.ts +25 -0
- package/vpc/networkAcls.js +2 -0
- package/vpc/networkAcls.js.map +1 -1
- package/vpc/networkInterface.d.ts +1 -1
- package/vpc/networkInterface.js +1 -1
- package/vpc/networkInterfaceAttach.d.ts +1 -1
- package/vpc/networkInterfaceAttach.js +1 -1
- package/vpc/prefixList.d.ts +1 -1
- package/vpc/prefixList.js +1 -1
- package/vpc/routeEntry.d.ts +1 -1
- package/vpc/routeEntry.js +1 -1
- package/vpc/routeTable.d.ts +1 -1
- package/vpc/routeTable.js +1 -1
- package/vpc/routeTableAssociate.d.ts +1 -1
- package/vpc/routeTableAssociate.js +1 -1
- package/vpc/securityGroup.d.ts +1 -1
- package/vpc/securityGroup.js +1 -1
- package/vpc/securityGroupRule.d.ts +13 -13
- package/vpc/securityGroupRule.js +1 -1
- package/vpc/subnet.d.ts +1 -1
- package/vpc/subnet.js +1 -1
- package/vpc/vpc.d.ts +1 -1
- package/vpc/vpc.js +1 -1
- package/vpn/connection.d.ts +1 -1
- package/vpn/connection.js +1 -1
- package/vpn/connections.d.ts +66 -0
- package/vpn/connections.js +6 -0
- package/vpn/connections.js.map +1 -1
- package/vpn/customerGateway.d.ts +1 -1
- package/vpn/customerGateway.js +1 -1
- package/vpn/customerGateways.d.ts +9 -0
- package/vpn/customerGateways.js +1 -0
- package/vpn/customerGateways.js.map +1 -1
- package/vpn/gateway.d.ts +10 -13
- package/vpn/gateway.js +1 -1
- package/vpn/gateway.js.map +1 -1
- package/vpn/gatewayRoute.d.ts +1 -1
- package/vpn/gatewayRoute.js +1 -1
- package/vpn/gatewayRoutes.d.ts +21 -0
- package/vpn/gatewayRoutes.js +2 -0
- package/vpn/gatewayRoutes.js.map +1 -1
- package/vpn/gateways.d.ts +48 -0
- package/vpn/gateways.js +4 -0
- package/vpn/gateways.js.map +1 -1
- package/vpn/sslVpnClientCert.d.ts +1 -1
- package/vpn/sslVpnClientCert.js +1 -1
- package/vpn/sslVpnServer.d.ts +25 -1
- package/vpn/sslVpnServer.js +5 -1
- package/vpn/sslVpnServer.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -26
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
* Provides a resource to manage vedb mysql endpoint
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
19
|
+
* vpcName: "acc-test-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* });
|
|
22
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
23
|
+
* subnetName: "acc-test-subnet",
|
|
24
|
+
* cidrBlock: "172.16.0.0/24",
|
|
25
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
|
|
26
|
+
* vpcId: fooVpc.id,
|
|
27
|
+
* });
|
|
28
|
+
* const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
|
|
29
|
+
* chargeType: "PostPaid",
|
|
30
|
+
* storageChargeType: "PostPaid",
|
|
31
|
+
* dbEngineVersion: "MySQL_8_0",
|
|
32
|
+
* dbMinorVersion: "3.0",
|
|
33
|
+
* nodeNumber: 2,
|
|
34
|
+
* nodeSpec: "vedb.mysql.x4.large",
|
|
35
|
+
* subnetId: fooSubnet.id,
|
|
36
|
+
* instanceName: "tf-test",
|
|
37
|
+
* projectName: "testA",
|
|
38
|
+
* tags: [
|
|
39
|
+
* {
|
|
40
|
+
* key: "tftest",
|
|
41
|
+
* value: "tftest",
|
|
42
|
+
* },
|
|
43
|
+
* {
|
|
44
|
+
* key: "tftest2",
|
|
45
|
+
* value: "tftest2",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* });
|
|
49
|
+
* const fooInstances = volcengine.vedb_mysql.InstancesOutput({
|
|
50
|
+
* instanceId: fooInstance.id,
|
|
51
|
+
* });
|
|
52
|
+
* const fooEndpoint = new volcengine.vedb_mysql.Endpoint("fooEndpoint", {
|
|
53
|
+
* endpointType: "Custom",
|
|
54
|
+
* instanceId: fooInstance.id,
|
|
55
|
+
* nodeIds: [
|
|
56
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[0]?.nodeId),
|
|
57
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[1]?.nodeId),
|
|
58
|
+
* ],
|
|
59
|
+
* readWriteMode: "ReadWrite",
|
|
60
|
+
* endpointName: "tf-test",
|
|
61
|
+
* description: "tf test",
|
|
62
|
+
* masterAcceptReadRequests: true,
|
|
63
|
+
* distributedTransaction: true,
|
|
64
|
+
* consistLevel: "Session",
|
|
65
|
+
* consistTimeout: 100000,
|
|
66
|
+
* consistTimeoutAction: "ReadMaster",
|
|
67
|
+
* });
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* ## Import
|
|
71
|
+
*
|
|
72
|
+
* VedbMysqlEndpoint can be imported using the instance id:endpoint id, e.g.
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import volcengine:vedb_mysql/endpoint:Endpoint default vedbm-iqnh3a7z****:vedbm-2pf2xk5v****-Custom-50yv
|
|
76
|
+
* ```
|
|
77
|
+
* Note: The master node endpoint only supports modifying the EndpointName and Description parameters. If values are passed in for other parameters, these values will be ignored without generating an error.
|
|
78
|
+
* The default endpoint does not support modifying the ReadWriteMode, AutoAddNewNodes, and Nodes parameters. If values are passed in for these parameters, these values will be ignored without generating an error.
|
|
79
|
+
*/
|
|
80
|
+
class Endpoint extends pulumi.CustomResource {
|
|
81
|
+
/**
|
|
82
|
+
* Get an existing Endpoint resource's state with the given name, ID, and optional extra
|
|
83
|
+
* properties used to qualify the lookup.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resulting resource.
|
|
86
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
87
|
+
* @param state Any extra arguments used during the lookup.
|
|
88
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
89
|
+
*/
|
|
90
|
+
static get(name, id, state, opts) {
|
|
91
|
+
return new Endpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if the given object is an instance of Endpoint. This is designed to work even
|
|
95
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
96
|
+
*/
|
|
97
|
+
static isInstance(obj) {
|
|
98
|
+
if (obj === undefined || obj === null) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
return obj['__pulumiType'] === Endpoint.__pulumiType;
|
|
102
|
+
}
|
|
103
|
+
constructor(name, argsOrState, opts) {
|
|
104
|
+
let resourceInputs = {};
|
|
105
|
+
opts = opts || {};
|
|
106
|
+
if (opts.id) {
|
|
107
|
+
const state = argsOrState;
|
|
108
|
+
resourceInputs["consistLevel"] = state ? state.consistLevel : undefined;
|
|
109
|
+
resourceInputs["consistTimeout"] = state ? state.consistTimeout : undefined;
|
|
110
|
+
resourceInputs["consistTimeoutAction"] = state ? state.consistTimeoutAction : undefined;
|
|
111
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
112
|
+
resourceInputs["distributedTransaction"] = state ? state.distributedTransaction : undefined;
|
|
113
|
+
resourceInputs["endpointId"] = state ? state.endpointId : undefined;
|
|
114
|
+
resourceInputs["endpointName"] = state ? state.endpointName : undefined;
|
|
115
|
+
resourceInputs["endpointType"] = state ? state.endpointType : undefined;
|
|
116
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
117
|
+
resourceInputs["masterAcceptReadRequests"] = state ? state.masterAcceptReadRequests : undefined;
|
|
118
|
+
resourceInputs["nodeIds"] = state ? state.nodeIds : undefined;
|
|
119
|
+
resourceInputs["readWriteMode"] = state ? state.readWriteMode : undefined;
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
const args = argsOrState;
|
|
123
|
+
if ((!args || args.endpointType === undefined) && !opts.urn) {
|
|
124
|
+
throw new Error("Missing required property 'endpointType'");
|
|
125
|
+
}
|
|
126
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
127
|
+
throw new Error("Missing required property 'instanceId'");
|
|
128
|
+
}
|
|
129
|
+
if ((!args || args.nodeIds === undefined) && !opts.urn) {
|
|
130
|
+
throw new Error("Missing required property 'nodeIds'");
|
|
131
|
+
}
|
|
132
|
+
resourceInputs["consistLevel"] = args ? args.consistLevel : undefined;
|
|
133
|
+
resourceInputs["consistTimeout"] = args ? args.consistTimeout : undefined;
|
|
134
|
+
resourceInputs["consistTimeoutAction"] = args ? args.consistTimeoutAction : undefined;
|
|
135
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
136
|
+
resourceInputs["distributedTransaction"] = args ? args.distributedTransaction : undefined;
|
|
137
|
+
resourceInputs["endpointName"] = args ? args.endpointName : undefined;
|
|
138
|
+
resourceInputs["endpointType"] = args ? args.endpointType : undefined;
|
|
139
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
140
|
+
resourceInputs["masterAcceptReadRequests"] = args ? args.masterAcceptReadRequests : undefined;
|
|
141
|
+
resourceInputs["nodeIds"] = args ? args.nodeIds : undefined;
|
|
142
|
+
resourceInputs["readWriteMode"] = args ? args.readWriteMode : undefined;
|
|
143
|
+
resourceInputs["endpointId"] = undefined /*out*/;
|
|
144
|
+
}
|
|
145
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
146
|
+
super(Endpoint.__pulumiType, name, resourceInputs, opts);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
exports.Endpoint = Endpoint;
|
|
150
|
+
/** @internal */
|
|
151
|
+
Endpoint.__pulumiType = 'volcengine:vedb_mysql/endpoint:Endpoint';
|
|
152
|
+
//# sourceMappingURL=endpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoint.js","sourceRoot":"","sources":["../../vedb_mysql/endpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;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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/**
|
|
3
|
+
* Provides a resource to manage vedb mysql endpoint public address
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
9
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
10
|
+
*
|
|
11
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
12
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
13
|
+
* vpcName: "acc-test-vpc",
|
|
14
|
+
* cidrBlock: "172.16.0.0/16",
|
|
15
|
+
* });
|
|
16
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
17
|
+
* subnetName: "acc-test-subnet",
|
|
18
|
+
* cidrBlock: "172.16.0.0/24",
|
|
19
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
|
|
20
|
+
* vpcId: fooVpc.id,
|
|
21
|
+
* });
|
|
22
|
+
* const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
|
|
23
|
+
* chargeType: "PostPaid",
|
|
24
|
+
* storageChargeType: "PostPaid",
|
|
25
|
+
* dbEngineVersion: "MySQL_8_0",
|
|
26
|
+
* dbMinorVersion: "3.0",
|
|
27
|
+
* nodeNumber: 2,
|
|
28
|
+
* nodeSpec: "vedb.mysql.x4.large",
|
|
29
|
+
* subnetId: fooSubnet.id,
|
|
30
|
+
* instanceName: "tf-test",
|
|
31
|
+
* projectName: "default",
|
|
32
|
+
* tags: [
|
|
33
|
+
* {
|
|
34
|
+
* key: "tftest",
|
|
35
|
+
* value: "tftest",
|
|
36
|
+
* },
|
|
37
|
+
* {
|
|
38
|
+
* key: "tftest2",
|
|
39
|
+
* value: "tftest2",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* });
|
|
43
|
+
* const fooInstances = volcengine.vedb_mysql.InstancesOutput({
|
|
44
|
+
* instanceId: fooInstance.id,
|
|
45
|
+
* });
|
|
46
|
+
* const fooEndpoint = new volcengine.vedb_mysql.Endpoint("fooEndpoint", {
|
|
47
|
+
* endpointType: "Custom",
|
|
48
|
+
* instanceId: fooInstance.id,
|
|
49
|
+
* nodeIds: [
|
|
50
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[0]?.nodeId),
|
|
51
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[1]?.nodeId),
|
|
52
|
+
* ],
|
|
53
|
+
* readWriteMode: "ReadWrite",
|
|
54
|
+
* endpointName: "tf-test",
|
|
55
|
+
* description: "tf test",
|
|
56
|
+
* masterAcceptReadRequests: true,
|
|
57
|
+
* distributedTransaction: true,
|
|
58
|
+
* consistLevel: "Session",
|
|
59
|
+
* consistTimeout: 100000,
|
|
60
|
+
* consistTimeoutAction: "ReadMaster",
|
|
61
|
+
* });
|
|
62
|
+
* const fooAddress = new volcengine.eip.Address("fooAddress", {
|
|
63
|
+
* billingType: "PostPaidByBandwidth",
|
|
64
|
+
* bandwidth: 1,
|
|
65
|
+
* isp: "ChinaUnicom",
|
|
66
|
+
* description: "acc-test",
|
|
67
|
+
* projectName: "default",
|
|
68
|
+
* });
|
|
69
|
+
* const fooEndpointPublicAddress = new volcengine.vedb_mysql.EndpointPublicAddress("fooEndpointPublicAddress", {
|
|
70
|
+
* eipId: fooAddress.id,
|
|
71
|
+
* endpointId: fooEndpoint.endpointId,
|
|
72
|
+
* instanceId: fooInstance.id,
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* ## Import
|
|
77
|
+
*
|
|
78
|
+
* VedbMysqlEndpointPublicAddress can be imported using the instance id, endpoint id and the eip id, e.g.
|
|
79
|
+
*
|
|
80
|
+
* ```sh
|
|
81
|
+
* $ pulumi import volcengine:vedb_mysql/endpointPublicAddress:EndpointPublicAddress default vedbm-iqnh3a7z****:vedbm-2pf2xk5v****-Custom-50yv:eip-xxxx
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export declare class EndpointPublicAddress extends pulumi.CustomResource {
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing EndpointPublicAddress resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EndpointPublicAddressState, opts?: pulumi.CustomResourceOptions): EndpointPublicAddress;
|
|
95
|
+
/**
|
|
96
|
+
* Returns true if the given object is an instance of EndpointPublicAddress. This is designed to work even
|
|
97
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
98
|
+
*/
|
|
99
|
+
static isInstance(obj: any): obj is EndpointPublicAddress;
|
|
100
|
+
/**
|
|
101
|
+
* EIP ID that needs to be bound to the instance.
|
|
102
|
+
*/
|
|
103
|
+
readonly eipId: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The endpoint id.
|
|
106
|
+
*/
|
|
107
|
+
readonly endpointId: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The instance id.
|
|
110
|
+
*/
|
|
111
|
+
readonly instanceId: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Create a EndpointPublicAddress resource with the given unique name, arguments, and options.
|
|
114
|
+
*
|
|
115
|
+
* @param name The _unique_ name of the resource.
|
|
116
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
117
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
118
|
+
*/
|
|
119
|
+
constructor(name: string, args: EndpointPublicAddressArgs, opts?: pulumi.CustomResourceOptions);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Input properties used for looking up and filtering EndpointPublicAddress resources.
|
|
123
|
+
*/
|
|
124
|
+
export interface EndpointPublicAddressState {
|
|
125
|
+
/**
|
|
126
|
+
* EIP ID that needs to be bound to the instance.
|
|
127
|
+
*/
|
|
128
|
+
eipId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The endpoint id.
|
|
131
|
+
*/
|
|
132
|
+
endpointId?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The instance id.
|
|
135
|
+
*/
|
|
136
|
+
instanceId?: pulumi.Input<string>;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The set of arguments for constructing a EndpointPublicAddress resource.
|
|
140
|
+
*/
|
|
141
|
+
export interface EndpointPublicAddressArgs {
|
|
142
|
+
/**
|
|
143
|
+
* EIP ID that needs to be bound to the instance.
|
|
144
|
+
*/
|
|
145
|
+
eipId: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The endpoint id.
|
|
148
|
+
*/
|
|
149
|
+
endpointId: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* The instance id.
|
|
152
|
+
*/
|
|
153
|
+
instanceId: pulumi.Input<string>;
|
|
154
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
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.EndpointPublicAddress = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage vedb mysql endpoint public address
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
19
|
+
* vpcName: "acc-test-vpc",
|
|
20
|
+
* cidrBlock: "172.16.0.0/16",
|
|
21
|
+
* });
|
|
22
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
23
|
+
* subnetName: "acc-test-subnet",
|
|
24
|
+
* cidrBlock: "172.16.0.0/24",
|
|
25
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
|
|
26
|
+
* vpcId: fooVpc.id,
|
|
27
|
+
* });
|
|
28
|
+
* const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
|
|
29
|
+
* chargeType: "PostPaid",
|
|
30
|
+
* storageChargeType: "PostPaid",
|
|
31
|
+
* dbEngineVersion: "MySQL_8_0",
|
|
32
|
+
* dbMinorVersion: "3.0",
|
|
33
|
+
* nodeNumber: 2,
|
|
34
|
+
* nodeSpec: "vedb.mysql.x4.large",
|
|
35
|
+
* subnetId: fooSubnet.id,
|
|
36
|
+
* instanceName: "tf-test",
|
|
37
|
+
* projectName: "default",
|
|
38
|
+
* tags: [
|
|
39
|
+
* {
|
|
40
|
+
* key: "tftest",
|
|
41
|
+
* value: "tftest",
|
|
42
|
+
* },
|
|
43
|
+
* {
|
|
44
|
+
* key: "tftest2",
|
|
45
|
+
* value: "tftest2",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* });
|
|
49
|
+
* const fooInstances = volcengine.vedb_mysql.InstancesOutput({
|
|
50
|
+
* instanceId: fooInstance.id,
|
|
51
|
+
* });
|
|
52
|
+
* const fooEndpoint = new volcengine.vedb_mysql.Endpoint("fooEndpoint", {
|
|
53
|
+
* endpointType: "Custom",
|
|
54
|
+
* instanceId: fooInstance.id,
|
|
55
|
+
* nodeIds: [
|
|
56
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[0]?.nodeId),
|
|
57
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[1]?.nodeId),
|
|
58
|
+
* ],
|
|
59
|
+
* readWriteMode: "ReadWrite",
|
|
60
|
+
* endpointName: "tf-test",
|
|
61
|
+
* description: "tf test",
|
|
62
|
+
* masterAcceptReadRequests: true,
|
|
63
|
+
* distributedTransaction: true,
|
|
64
|
+
* consistLevel: "Session",
|
|
65
|
+
* consistTimeout: 100000,
|
|
66
|
+
* consistTimeoutAction: "ReadMaster",
|
|
67
|
+
* });
|
|
68
|
+
* const fooAddress = new volcengine.eip.Address("fooAddress", {
|
|
69
|
+
* billingType: "PostPaidByBandwidth",
|
|
70
|
+
* bandwidth: 1,
|
|
71
|
+
* isp: "ChinaUnicom",
|
|
72
|
+
* description: "acc-test",
|
|
73
|
+
* projectName: "default",
|
|
74
|
+
* });
|
|
75
|
+
* const fooEndpointPublicAddress = new volcengine.vedb_mysql.EndpointPublicAddress("fooEndpointPublicAddress", {
|
|
76
|
+
* eipId: fooAddress.id,
|
|
77
|
+
* endpointId: fooEndpoint.endpointId,
|
|
78
|
+
* instanceId: fooInstance.id,
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
81
|
+
*
|
|
82
|
+
* ## Import
|
|
83
|
+
*
|
|
84
|
+
* VedbMysqlEndpointPublicAddress can be imported using the instance id, endpoint id and the eip id, e.g.
|
|
85
|
+
*
|
|
86
|
+
* ```sh
|
|
87
|
+
* $ pulumi import volcengine:vedb_mysql/endpointPublicAddress:EndpointPublicAddress default vedbm-iqnh3a7z****:vedbm-2pf2xk5v****-Custom-50yv:eip-xxxx
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
class EndpointPublicAddress extends pulumi.CustomResource {
|
|
91
|
+
/**
|
|
92
|
+
* Get an existing EndpointPublicAddress resource's state with the given name, ID, and optional extra
|
|
93
|
+
* properties used to qualify the lookup.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resulting resource.
|
|
96
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
+
* @param state Any extra arguments used during the lookup.
|
|
98
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
+
*/
|
|
100
|
+
static get(name, id, state, opts) {
|
|
101
|
+
return new EndpointPublicAddress(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of EndpointPublicAddress. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj) {
|
|
108
|
+
if (obj === undefined || obj === null) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
return obj['__pulumiType'] === EndpointPublicAddress.__pulumiType;
|
|
112
|
+
}
|
|
113
|
+
constructor(name, argsOrState, opts) {
|
|
114
|
+
let resourceInputs = {};
|
|
115
|
+
opts = opts || {};
|
|
116
|
+
if (opts.id) {
|
|
117
|
+
const state = argsOrState;
|
|
118
|
+
resourceInputs["eipId"] = state ? state.eipId : undefined;
|
|
119
|
+
resourceInputs["endpointId"] = state ? state.endpointId : undefined;
|
|
120
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
const args = argsOrState;
|
|
124
|
+
if ((!args || args.eipId === undefined) && !opts.urn) {
|
|
125
|
+
throw new Error("Missing required property 'eipId'");
|
|
126
|
+
}
|
|
127
|
+
if ((!args || args.endpointId === undefined) && !opts.urn) {
|
|
128
|
+
throw new Error("Missing required property 'endpointId'");
|
|
129
|
+
}
|
|
130
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
131
|
+
throw new Error("Missing required property 'instanceId'");
|
|
132
|
+
}
|
|
133
|
+
resourceInputs["eipId"] = args ? args.eipId : undefined;
|
|
134
|
+
resourceInputs["endpointId"] = args ? args.endpointId : undefined;
|
|
135
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
136
|
+
}
|
|
137
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
138
|
+
super(EndpointPublicAddress.__pulumiType, name, resourceInputs, opts);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.EndpointPublicAddress = EndpointPublicAddress;
|
|
142
|
+
/** @internal */
|
|
143
|
+
EndpointPublicAddress.__pulumiType = 'volcengine:vedb_mysql/endpointPublicAddress:EndpointPublicAddress';
|
|
144
|
+
//# sourceMappingURL=endpointPublicAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointPublicAddress.js","sourceRoot":"","sources":["../../vedb_mysql/endpointPublicAddress.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,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,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAA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Ac,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AA1EL,sDA2EC;AA7DG,gBAAgB;AACO,kCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of vedb mysql endpoints
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
13
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
14
|
+
* vpcName: "acc-test-vpc",
|
|
15
|
+
* cidrBlock: "172.16.0.0/16",
|
|
16
|
+
* });
|
|
17
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
18
|
+
* subnetName: "acc-test-subnet",
|
|
19
|
+
* cidrBlock: "172.16.0.0/24",
|
|
20
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
|
|
21
|
+
* vpcId: fooVpc.id,
|
|
22
|
+
* });
|
|
23
|
+
* const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
|
|
24
|
+
* chargeType: "PostPaid",
|
|
25
|
+
* storageChargeType: "PostPaid",
|
|
26
|
+
* dbEngineVersion: "MySQL_8_0",
|
|
27
|
+
* dbMinorVersion: "3.0",
|
|
28
|
+
* nodeNumber: 2,
|
|
29
|
+
* nodeSpec: "vedb.mysql.x4.large",
|
|
30
|
+
* subnetId: fooSubnet.id,
|
|
31
|
+
* instanceName: "tf-test",
|
|
32
|
+
* projectName: "testA",
|
|
33
|
+
* tags: [
|
|
34
|
+
* {
|
|
35
|
+
* key: "tftest",
|
|
36
|
+
* value: "tftest",
|
|
37
|
+
* },
|
|
38
|
+
* {
|
|
39
|
+
* key: "tftest2",
|
|
40
|
+
* value: "tftest2",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* });
|
|
44
|
+
* const fooInstances = volcengine.vedb_mysql.InstancesOutput({
|
|
45
|
+
* instanceId: fooInstance.id,
|
|
46
|
+
* });
|
|
47
|
+
* const fooEndpoint = new volcengine.vedb_mysql.Endpoint("fooEndpoint", {
|
|
48
|
+
* endpointType: "Custom",
|
|
49
|
+
* instanceId: fooInstance.id,
|
|
50
|
+
* nodeIds: [
|
|
51
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[0]?.nodeId),
|
|
52
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[1]?.nodeId),
|
|
53
|
+
* ],
|
|
54
|
+
* readWriteMode: "ReadWrite",
|
|
55
|
+
* endpointName: "tf-test",
|
|
56
|
+
* description: "tf test",
|
|
57
|
+
* masterAcceptReadRequests: true,
|
|
58
|
+
* distributedTransaction: true,
|
|
59
|
+
* consistLevel: "Session",
|
|
60
|
+
* consistTimeout: 100000,
|
|
61
|
+
* consistTimeoutAction: "ReadMaster",
|
|
62
|
+
* });
|
|
63
|
+
* const fooEndpoints = volcengine.vedb_mysql.EndpointsOutput({
|
|
64
|
+
* endpointId: fooEndpoint.endpointId,
|
|
65
|
+
* instanceId: fooInstance.id,
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function endpoints(args: EndpointsArgs, opts?: pulumi.InvokeOptions): Promise<EndpointsResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking Endpoints.
|
|
72
|
+
*/
|
|
73
|
+
export interface EndpointsArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The id of the endpoint.
|
|
76
|
+
*/
|
|
77
|
+
endpointId?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The id of the instance.
|
|
80
|
+
*/
|
|
81
|
+
instanceId: string;
|
|
82
|
+
/**
|
|
83
|
+
* A Name Regex of Resource.
|
|
84
|
+
*/
|
|
85
|
+
nameRegex?: string;
|
|
86
|
+
/**
|
|
87
|
+
* File name where to save data source results.
|
|
88
|
+
*/
|
|
89
|
+
outputFile?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* A collection of values returned by Endpoints.
|
|
93
|
+
*/
|
|
94
|
+
export interface EndpointsResult {
|
|
95
|
+
/**
|
|
96
|
+
* The id of the endpoint.
|
|
97
|
+
*/
|
|
98
|
+
readonly endpointId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The collection of query.
|
|
101
|
+
*/
|
|
102
|
+
readonly endpoints: outputs.vedb_mysql.EndpointsEndpoint[];
|
|
103
|
+
/**
|
|
104
|
+
* The provider-assigned unique ID for this managed resource.
|
|
105
|
+
*/
|
|
106
|
+
readonly id: string;
|
|
107
|
+
readonly instanceId: string;
|
|
108
|
+
readonly nameRegex?: string;
|
|
109
|
+
readonly outputFile?: string;
|
|
110
|
+
/**
|
|
111
|
+
* The total count of query.
|
|
112
|
+
*/
|
|
113
|
+
readonly totalCount: number;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Use this data source to query detailed information of vedb mysql endpoints
|
|
117
|
+
* ## Example Usage
|
|
118
|
+
*
|
|
119
|
+
* ```typescript
|
|
120
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
121
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
122
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
123
|
+
*
|
|
124
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
125
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
126
|
+
* vpcName: "acc-test-vpc",
|
|
127
|
+
* cidrBlock: "172.16.0.0/16",
|
|
128
|
+
* });
|
|
129
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
130
|
+
* subnetName: "acc-test-subnet",
|
|
131
|
+
* cidrBlock: "172.16.0.0/24",
|
|
132
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
|
|
133
|
+
* vpcId: fooVpc.id,
|
|
134
|
+
* });
|
|
135
|
+
* const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
|
|
136
|
+
* chargeType: "PostPaid",
|
|
137
|
+
* storageChargeType: "PostPaid",
|
|
138
|
+
* dbEngineVersion: "MySQL_8_0",
|
|
139
|
+
* dbMinorVersion: "3.0",
|
|
140
|
+
* nodeNumber: 2,
|
|
141
|
+
* nodeSpec: "vedb.mysql.x4.large",
|
|
142
|
+
* subnetId: fooSubnet.id,
|
|
143
|
+
* instanceName: "tf-test",
|
|
144
|
+
* projectName: "testA",
|
|
145
|
+
* tags: [
|
|
146
|
+
* {
|
|
147
|
+
* key: "tftest",
|
|
148
|
+
* value: "tftest",
|
|
149
|
+
* },
|
|
150
|
+
* {
|
|
151
|
+
* key: "tftest2",
|
|
152
|
+
* value: "tftest2",
|
|
153
|
+
* },
|
|
154
|
+
* ],
|
|
155
|
+
* });
|
|
156
|
+
* const fooInstances = volcengine.vedb_mysql.InstancesOutput({
|
|
157
|
+
* instanceId: fooInstance.id,
|
|
158
|
+
* });
|
|
159
|
+
* const fooEndpoint = new volcengine.vedb_mysql.Endpoint("fooEndpoint", {
|
|
160
|
+
* endpointType: "Custom",
|
|
161
|
+
* instanceId: fooInstance.id,
|
|
162
|
+
* nodeIds: [
|
|
163
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[0]?.nodeId),
|
|
164
|
+
* fooInstances.apply(fooInstances => fooInstances.instances?.[0]?.nodes?.[1]?.nodeId),
|
|
165
|
+
* ],
|
|
166
|
+
* readWriteMode: "ReadWrite",
|
|
167
|
+
* endpointName: "tf-test",
|
|
168
|
+
* description: "tf test",
|
|
169
|
+
* masterAcceptReadRequests: true,
|
|
170
|
+
* distributedTransaction: true,
|
|
171
|
+
* consistLevel: "Session",
|
|
172
|
+
* consistTimeout: 100000,
|
|
173
|
+
* consistTimeoutAction: "ReadMaster",
|
|
174
|
+
* });
|
|
175
|
+
* const fooEndpoints = volcengine.vedb_mysql.EndpointsOutput({
|
|
176
|
+
* endpointId: fooEndpoint.endpointId,
|
|
177
|
+
* instanceId: fooInstance.id,
|
|
178
|
+
* });
|
|
179
|
+
* ```
|
|
180
|
+
*/
|
|
181
|
+
export declare function endpointsOutput(args: EndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<EndpointsResult>;
|
|
182
|
+
/**
|
|
183
|
+
* A collection of arguments for invoking Endpoints.
|
|
184
|
+
*/
|
|
185
|
+
export interface EndpointsOutputArgs {
|
|
186
|
+
/**
|
|
187
|
+
* The id of the endpoint.
|
|
188
|
+
*/
|
|
189
|
+
endpointId?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The id of the instance.
|
|
192
|
+
*/
|
|
193
|
+
instanceId: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* A Name Regex of Resource.
|
|
196
|
+
*/
|
|
197
|
+
nameRegex?: pulumi.Input<string>;
|
|
198
|
+
/**
|
|
199
|
+
* File name where to save data source results.
|
|
200
|
+
*/
|
|
201
|
+
outputFile?: pulumi.Input<string>;
|
|
202
|
+
}
|