@volcengine/pulumi 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +68 -0
- package/autoscaling/index.d.ts +13 -0
- package/autoscaling/index.js +73 -0
- package/autoscaling/index.js.map +1 -0
- package/autoscaling/scalingActivities.d.ts +104 -0
- package/autoscaling/scalingActivities.js +40 -0
- package/autoscaling/scalingActivities.js.map +1 -0
- package/autoscaling/scalingConfiguration.d.ts +368 -0
- package/autoscaling/scalingConfiguration.js +175 -0
- package/autoscaling/scalingConfiguration.js.map +1 -0
- package/autoscaling/scalingConfigurationAttachment.d.ts +69 -0
- package/autoscaling/scalingConfigurationAttachment.js +73 -0
- package/autoscaling/scalingConfigurationAttachment.js.map +1 -0
- package/autoscaling/scalingConfigurations.d.ts +92 -0
- package/autoscaling/scalingConfigurations.js +40 -0
- package/autoscaling/scalingConfigurations.js.map +1 -0
- package/autoscaling/scalingGroup.d.ts +290 -0
- package/autoscaling/scalingGroup.js +134 -0
- package/autoscaling/scalingGroup.js.map +1 -0
- package/autoscaling/scalingGroupEnabler.d.ts +116 -0
- package/autoscaling/scalingGroupEnabler.js +120 -0
- package/autoscaling/scalingGroupEnabler.js.map +1 -0
- package/autoscaling/scalingGroups.d.ts +80 -0
- package/autoscaling/scalingGroups.js +39 -0
- package/autoscaling/scalingGroups.js.map +1 -0
- package/autoscaling/scalingInstanceAttachment.d.ts +121 -0
- package/autoscaling/scalingInstanceAttachment.js +88 -0
- package/autoscaling/scalingInstanceAttachment.js.map +1 -0
- package/autoscaling/scalingInstances.d.ts +117 -0
- package/autoscaling/scalingInstances.js +47 -0
- package/autoscaling/scalingInstances.js.map +1 -0
- package/autoscaling/scalingLifecycleHook.d.ts +129 -0
- package/autoscaling/scalingLifecycleHook.js +99 -0
- package/autoscaling/scalingLifecycleHook.js.map +1 -0
- package/autoscaling/scalingLifecycleHooks.d.ts +92 -0
- package/autoscaling/scalingLifecycleHooks.js +39 -0
- package/autoscaling/scalingLifecycleHooks.js.map +1 -0
- package/autoscaling/scalingPolicies.d.ts +105 -0
- package/autoscaling/scalingPolicies.js +41 -0
- package/autoscaling/scalingPolicies.js.map +1 -0
- package/autoscaling/scalingPolicy.d.ts +306 -0
- package/autoscaling/scalingPolicy.js +135 -0
- package/autoscaling/scalingPolicy.js.map +1 -0
- package/bioos/cluster.d.ts +121 -0
- package/bioos/cluster.js +85 -0
- package/bioos/cluster.js.map +1 -0
- package/bioos/clusterBind.d.ts +95 -0
- package/bioos/clusterBind.js +85 -0
- package/bioos/clusterBind.js.map +1 -0
- package/bioos/clusters.d.ts +90 -0
- package/bioos/clusters.js +38 -0
- package/bioos/clusters.js.map +1 -0
- package/bioos/index.d.ts +5 -0
- package/bioos/index.js +49 -0
- package/bioos/index.js.map +1 -0
- package/bioos/workspace.d.ts +110 -0
- package/bioos/workspace.js +82 -0
- package/bioos/workspace.js.map +1 -0
- package/bioos/workspaces.d.ts +87 -0
- package/bioos/workspaces.js +38 -0
- package/bioos/workspaces.js.map +1 -0
- package/cen/attachInstance.d.ts +142 -0
- package/cen/attachInstance.js +103 -0
- package/cen/attachInstance.js.map +1 -0
- package/cen/attachInstances.d.ts +101 -0
- package/cen/attachInstances.js +40 -0
- package/cen/attachInstances.js.map +1 -0
- package/cen/bandwidthPackage.d.ts +268 -0
- package/cen/bandwidthPackage.js +115 -0
- package/cen/bandwidthPackage.js.map +1 -0
- package/cen/bandwidthPackageAssociate.d.ts +82 -0
- package/cen/bandwidthPackageAssociate.js +79 -0
- package/cen/bandwidthPackageAssociate.js.map +1 -0
- package/cen/bandwidthPackages.d.ts +126 -0
- package/cen/bandwidthPackages.js +44 -0
- package/cen/bandwidthPackages.js.map +1 -0
- package/cen/cen.d.ts +156 -0
- package/cen/cen.js +90 -0
- package/cen/cen.js.map +1 -0
- package/cen/cens.d.ts +92 -0
- package/cen/cens.js +40 -0
- package/cen/cens.js.map +1 -0
- package/cen/grantInstance.d.ts +121 -0
- package/cen/grantInstance.js +97 -0
- package/cen/grantInstance.js.map +1 -0
- package/cen/index.d.ts +14 -0
- package/cen/index.js +78 -0
- package/cen/index.js.map +1 -0
- package/cen/interRegionBandwidth.d.ts +140 -0
- package/cen/interRegionBandwidth.js +99 -0
- package/cen/interRegionBandwidth.js.map +1 -0
- package/cen/interRegionBandwidths.d.ts +62 -0
- package/cen/interRegionBandwidths.js +37 -0
- package/cen/interRegionBandwidths.js.map +1 -0
- package/cen/routeEntries.d.ts +113 -0
- package/cen/routeEntries.js +40 -0
- package/cen/routeEntries.js.map +1 -0
- package/cen/routeEntry.d.ts +152 -0
- package/cen/routeEntry.js +107 -0
- package/cen/routeEntry.js.map +1 -0
- package/cen/serviceRouteEntries.d.ts +101 -0
- package/cen/serviceRouteEntries.js +40 -0
- package/cen/serviceRouteEntries.js.map +1 -0
- package/cen/serviceRouteEntry.d.ts +215 -0
- package/cen/serviceRouteEntry.js +155 -0
- package/cen/serviceRouteEntry.js.map +1 -0
- package/clb/acl.d.ts +125 -0
- package/clb/acl.js +89 -0
- package/clb/acl.js.map +1 -0
- package/clb/aclEntry.d.ts +99 -0
- package/clb/aclEntry.js +86 -0
- package/clb/aclEntry.js.map +1 -0
- package/clb/acls.d.ts +95 -0
- package/clb/acls.js +40 -0
- package/clb/acls.js.map +1 -0
- package/clb/certificate.d.ts +166 -0
- package/clb/certificate.js +122 -0
- package/clb/certificate.js.map +1 -0
- package/clb/certificates.d.ts +150 -0
- package/clb/certificates.js +84 -0
- package/clb/certificates.js.map +1 -0
- package/clb/clb.d.ts +348 -0
- package/clb/clb.js +179 -0
- package/clb/clb.js.map +1 -0
- package/clb/clbs.d.ts +163 -0
- package/clb/clbs.js +75 -0
- package/clb/clbs.js.map +1 -0
- package/clb/index.d.ts +16 -0
- package/clb/index.js +80 -0
- package/clb/index.js.map +1 -0
- package/clb/listener.d.ts +279 -0
- package/clb/listener.js +155 -0
- package/clb/listener.js.map +1 -0
- package/clb/listeners.d.ts +140 -0
- package/clb/listeners.js +88 -0
- package/clb/listeners.js.map +1 -0
- package/clb/rule.d.ts +168 -0
- package/clb/rule.js +135 -0
- package/clb/rule.js.map +1 -0
- package/clb/rules.d.ts +122 -0
- package/clb/rules.js +92 -0
- package/clb/rules.js.map +1 -0
- package/clb/serverGroup.d.ts +131 -0
- package/clb/serverGroup.js +105 -0
- package/clb/serverGroup.js.map +1 -0
- package/clb/serverGroupServer.d.ts +198 -0
- package/clb/serverGroupServer.js +145 -0
- package/clb/serverGroupServer.js.map +1 -0
- package/clb/serverGroupServers.d.ts +133 -0
- package/clb/serverGroupServers.js +91 -0
- package/clb/serverGroupServers.js.map +1 -0
- package/clb/serverGroups.d.ts +121 -0
- package/clb/serverGroups.js +69 -0
- package/clb/serverGroups.js.map +1 -0
- package/clb/zones.d.ts +51 -0
- package/clb/zones.js +34 -0
- package/clb/zones.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +36 -0
- package/config/vars.js +66 -0
- package/config/vars.js.map +1 -0
- package/cr/authorizationTokens.d.ts +62 -0
- package/cr/authorizationTokens.js +36 -0
- package/cr/authorizationTokens.js.map +1 -0
- package/cr/endpoint.d.ts +90 -0
- package/cr/endpoint.js +78 -0
- package/cr/endpoint.js.map +1 -0
- package/cr/endpoints.d.ts +65 -0
- package/cr/endpoints.js +36 -0
- package/cr/endpoints.js.map +1 -0
- package/cr/index.d.ts +14 -0
- package/cr/index.js +74 -0
- package/cr/index.js.map +1 -0
- package/cr/namespace.d.ts +92 -0
- package/cr/namespace.js +80 -0
- package/cr/namespace.js.map +1 -0
- package/cr/namespaces.d.ts +72 -0
- package/cr/namespaces.js +38 -0
- package/cr/namespaces.js.map +1 -0
- package/cr/registries.d.ts +85 -0
- package/cr/registries.js +44 -0
- package/cr/registries.js.map +1 -0
- package/cr/registry.d.ts +151 -0
- package/cr/registry.js +89 -0
- package/cr/registry.js.map +1 -0
- package/cr/repositories.d.ts +92 -0
- package/cr/repositories.js +42 -0
- package/cr/repositories.js.map +1 -0
- package/cr/repository.d.ts +136 -0
- package/cr/repository.js +91 -0
- package/cr/repository.js.map +1 -0
- package/cr/state.d.ts +90 -0
- package/cr/state.js +77 -0
- package/cr/state.js.map +1 -0
- package/cr/tag.d.ts +157 -0
- package/cr/tag.js +100 -0
- package/cr/tag.js.map +1 -0
- package/cr/tags.d.ts +101 -0
- package/cr/tags.js +43 -0
- package/cr/tags.js.map +1 -0
- package/cr/vpcEndpoint.d.ts +92 -0
- package/cr/vpcEndpoint.js +88 -0
- package/cr/vpcEndpoint.js.map +1 -0
- package/cr/vpcEndpoints.d.ts +80 -0
- package/cr/vpcEndpoints.js +43 -0
- package/cr/vpcEndpoints.js.map +1 -0
- package/ebs/index.d.ts +3 -0
- package/ebs/index.js +43 -0
- package/ebs/index.js.map +1 -0
- package/ebs/volume.d.ts +219 -0
- package/ebs/volume.js +127 -0
- package/ebs/volume.js.map +1 -0
- package/ebs/volumeAttach.d.ts +118 -0
- package/ebs/volumeAttach.js +87 -0
- package/ebs/volumeAttach.js.map +1 -0
- package/ebs/volumes.d.ts +125 -0
- package/ebs/volumes.js +44 -0
- package/ebs/volumes.js.map +1 -0
- package/ecs/deploymentSet.d.ts +116 -0
- package/ecs/deploymentSet.js +84 -0
- package/ecs/deploymentSet.js.map +1 -0
- package/ecs/deploymentSetAssociate.d.ts +127 -0
- package/ecs/deploymentSetAssociate.js +124 -0
- package/ecs/deploymentSetAssociate.js.map +1 -0
- package/ecs/deploymentSets.d.ts +94 -0
- package/ecs/deploymentSets.js +50 -0
- package/ecs/deploymentSets.js.map +1 -0
- package/ecs/images.d.ts +130 -0
- package/ecs/images.js +45 -0
- package/ecs/images.js.map +1 -0
- package/ecs/index.d.ts +13 -0
- package/ecs/index.js +73 -0
- package/ecs/index.js.map +1 -0
- package/ecs/instance.d.ts +595 -0
- package/ecs/instance.js +218 -0
- package/ecs/instance.js.map +1 -0
- package/ecs/instances.d.ts +232 -0
- package/ecs/instances.js +95 -0
- package/ecs/instances.js.map +1 -0
- package/ecs/keyPair.d.ts +122 -0
- package/ecs/keyPair.js +84 -0
- package/ecs/keyPair.js.map +1 -0
- package/ecs/keyPairAssociate.d.ts +118 -0
- package/ecs/keyPairAssociate.js +115 -0
- package/ecs/keyPairAssociate.js.map +1 -0
- package/ecs/keyPairs.d.ts +109 -0
- package/ecs/keyPairs.js +46 -0
- package/ecs/keyPairs.js.map +1 -0
- package/ecs/launchTemplate.d.ts +328 -0
- package/ecs/launchTemplate.js +125 -0
- package/ecs/launchTemplate.js.map +1 -0
- package/ecs/launchTemplates.d.ts +95 -0
- package/ecs/launchTemplates.js +54 -0
- package/ecs/launchTemplates.js.map +1 -0
- package/ecs/state.d.ts +135 -0
- package/ecs/state.js +116 -0
- package/ecs/state.js.map +1 -0
- package/ecs/zones.d.ts +62 -0
- package/ecs/zones.js +37 -0
- package/ecs/zones.js.map +1 -0
- package/eip/address.d.ts +197 -0
- package/eip/address.js +100 -0
- package/eip/address.js.map +1 -0
- package/eip/addresses.d.ts +151 -0
- package/eip/addresses.js +47 -0
- package/eip/addresses.js.map +1 -0
- package/eip/associate.d.ts +140 -0
- package/eip/associate.js +120 -0
- package/eip/associate.js.map +1 -0
- package/eip/index.d.ts +3 -0
- package/eip/index.js +43 -0
- package/eip/index.js.map +1 -0
- package/escloud/index.d.ts +4 -0
- package/escloud/index.js +40 -0
- package/escloud/index.js.map +1 -0
- package/escloud/instance.d.ts +104 -0
- package/escloud/instance.js +107 -0
- package/escloud/instance.js.map +1 -0
- package/escloud/instances.d.ts +108 -0
- package/escloud/instances.js +43 -0
- package/escloud/instances.js.map +1 -0
- package/escloud/regions.d.ts +51 -0
- package/escloud/regions.js +34 -0
- package/escloud/regions.js.map +1 -0
- package/escloud/zones.d.ts +62 -0
- package/escloud/zones.js +36 -0
- package/escloud/zones.js.map +1 -0
- package/iam/accessKey.d.ts +135 -0
- package/iam/accessKey.js +82 -0
- package/iam/accessKey.js.map +1 -0
- package/iam/index.d.ts +10 -0
- package/iam/index.js +70 -0
- package/iam/index.js.map +1 -0
- package/iam/loginProfile.d.ts +108 -0
- package/iam/loginProfile.js +85 -0
- package/iam/loginProfile.js.map +1 -0
- package/iam/policies.d.ts +113 -0
- package/iam/policies.js +42 -0
- package/iam/policies.js.map +1 -0
- package/iam/policy.d.ts +127 -0
- package/iam/policy.js +90 -0
- package/iam/policy.js.map +1 -0
- package/iam/role.d.ts +129 -0
- package/iam/role.js +93 -0
- package/iam/role.js.map +1 -0
- package/iam/rolePolicyAttachment.d.ts +107 -0
- package/iam/rolePolicyAttachment.js +97 -0
- package/iam/rolePolicyAttachment.js.map +1 -0
- package/iam/roles.d.ts +81 -0
- package/iam/roles.js +37 -0
- package/iam/roles.js.map +1 -0
- package/iam/user.d.ts +151 -0
- package/iam/user.js +91 -0
- package/iam/user.js.map +1 -0
- package/iam/userPolicyAttachment.d.ts +104 -0
- package/iam/userPolicyAttachment.js +94 -0
- package/iam/userPolicyAttachment.js.map +1 -0
- package/iam/users.d.ts +69 -0
- package/iam/users.js +36 -0
- package/iam/users.js.map +1 -0
- package/index.d.ts +27 -0
- package/index.js +85 -0
- package/index.js.map +1 -0
- package/mongodb/accounts.d.ts +74 -0
- package/mongodb/accounts.js +37 -0
- package/mongodb/accounts.js.map +1 -0
- package/mongodb/endpoint.d.ts +128 -0
- package/mongodb/endpoint.js +86 -0
- package/mongodb/endpoint.js.map +1 -0
- package/mongodb/endpoints.d.ts +62 -0
- package/mongodb/endpoints.js +37 -0
- package/mongodb/endpoints.js.map +1 -0
- package/mongodb/index.d.ts +16 -0
- package/mongodb/index.js +72 -0
- package/mongodb/index.js.map +1 -0
- package/mongodb/instance.d.ts +289 -0
- package/mongodb/instance.js +128 -0
- package/mongodb/instance.js.map +1 -0
- package/mongodb/instanceParameter.d.ts +113 -0
- package/mongodb/instanceParameter.js +96 -0
- package/mongodb/instanceParameter.js.map +1 -0
- package/mongodb/instanceParameterLogs.d.ts +82 -0
- package/mongodb/instanceParameterLogs.js +40 -0
- package/mongodb/instanceParameterLogs.js.map +1 -0
- package/mongodb/instanceParameters.d.ts +88 -0
- package/mongodb/instanceParameters.js +40 -0
- package/mongodb/instanceParameters.js.map +1 -0
- package/mongodb/instances.d.ts +206 -0
- package/mongodb/instances.js +50 -0
- package/mongodb/instances.js.map +1 -0
- package/mongodb/mongoAllowList.d.ts +120 -0
- package/mongodb/mongoAllowList.js +87 -0
- package/mongodb/mongoAllowList.js.map +1 -0
- package/mongodb/mongoAllowListAssociate.d.ts +82 -0
- package/mongodb/mongoAllowListAssociate.js +79 -0
- package/mongodb/mongoAllowListAssociate.js.map +1 -0
- package/mongodb/mongoAllowLists.d.ts +84 -0
- package/mongodb/mongoAllowLists.js +39 -0
- package/mongodb/mongoAllowLists.js.map +1 -0
- package/mongodb/regions.d.ts +51 -0
- package/mongodb/regions.js +34 -0
- package/mongodb/regions.js.map +1 -0
- package/mongodb/specs.d.ts +60 -0
- package/mongodb/specs.js +35 -0
- package/mongodb/specs.js.map +1 -0
- package/mongodb/sslState.d.ts +111 -0
- package/mongodb/sslState.js +84 -0
- package/mongodb/sslState.js.map +1 -0
- package/mongodb/sslStates.d.ts +65 -0
- package/mongodb/sslStates.js +36 -0
- package/mongodb/sslStates.js.map +1 -0
- package/mongodb/zones.d.ts +62 -0
- package/mongodb/zones.js +36 -0
- package/mongodb/zones.js.map +1 -0
- package/nat/dnatEntries.d.ts +144 -0
- package/nat/dnatEntries.js +42 -0
- package/nat/dnatEntries.js.map +1 -0
- package/nat/dnatEntry.d.ts +155 -0
- package/nat/dnatEntry.js +108 -0
- package/nat/dnatEntry.js.map +1 -0
- package/nat/gateway.d.ts +171 -0
- package/nat/gateway.js +97 -0
- package/nat/gateway.js.map +1 -0
- package/nat/gateways.d.ts +146 -0
- package/nat/gateways.js +47 -0
- package/nat/gateways.js.map +1 -0
- package/nat/index.d.ts +6 -0
- package/nat/index.js +50 -0
- package/nat/index.js.map +1 -0
- package/nat/snatEntries.d.ts +122 -0
- package/nat/snatEntries.js +42 -0
- package/nat/snatEntries.js.map +1 -0
- package/nat/snatEntry.d.ts +128 -0
- package/nat/snatEntry.js +89 -0
- package/nat/snatEntry.js.map +1 -0
- package/package.json +29 -0
- package/package.json.bak +29 -0
- package/privatelink/index.d.ts +12 -0
- package/privatelink/index.js +72 -0
- package/privatelink/index.js.map +1 -0
- package/privatelink/securityGroup.d.ts +82 -0
- package/privatelink/securityGroup.js +79 -0
- package/privatelink/securityGroup.js.map +1 -0
- package/privatelink/vpcEndpoint.d.ts +197 -0
- package/privatelink/vpcEndpoint.js +110 -0
- package/privatelink/vpcEndpoint.js.map +1 -0
- package/privatelink/vpcEndpointConnection.d.ts +131 -0
- package/privatelink/vpcEndpointConnection.js +91 -0
- package/privatelink/vpcEndpointConnection.js.map +1 -0
- package/privatelink/vpcEndpointConnections.d.ts +90 -0
- package/privatelink/vpcEndpointConnections.js +39 -0
- package/privatelink/vpcEndpointConnections.js.map +1 -0
- package/privatelink/vpcEndpointService.d.ts +171 -0
- package/privatelink/vpcEndpointService.js +100 -0
- package/privatelink/vpcEndpointService.js.map +1 -0
- package/privatelink/vpcEndpointServicePermission.d.ts +86 -0
- package/privatelink/vpcEndpointServicePermission.js +83 -0
- package/privatelink/vpcEndpointServicePermission.js.map +1 -0
- package/privatelink/vpcEndpointServicePermissions.d.ts +74 -0
- package/privatelink/vpcEndpointServicePermissions.js +37 -0
- package/privatelink/vpcEndpointServicePermissions.js.map +1 -0
- package/privatelink/vpcEndpointServiceResource.d.ts +90 -0
- package/privatelink/vpcEndpointServiceResource.js +87 -0
- package/privatelink/vpcEndpointServiceResource.js.map +1 -0
- package/privatelink/vpcEndpointServices.d.ts +86 -0
- package/privatelink/vpcEndpointServices.js +42 -0
- package/privatelink/vpcEndpointServices.js.map +1 -0
- package/privatelink/vpcEndpointZone.d.ts +127 -0
- package/privatelink/vpcEndpointZone.js +90 -0
- package/privatelink/vpcEndpointZone.js.map +1 -0
- package/privatelink/vpcEndpointZones.d.ts +62 -0
- package/privatelink/vpcEndpointZones.js +37 -0
- package/privatelink/vpcEndpointZones.js.map +1 -0
- package/privatelink/vpcEndpoints.d.ts +119 -0
- package/privatelink/vpcEndpoints.js +42 -0
- package/privatelink/vpcEndpoints.js.map +1 -0
- package/provider.d.ts +95 -0
- package/provider.js +54 -0
- package/provider.js.map +1 -0
- package/rds/account.d.ts +144 -0
- package/rds/account.js +91 -0
- package/rds/account.js.map +1 -0
- package/rds/accountPrivilege.d.ts +131 -0
- package/rds/accountPrivilege.js +105 -0
- package/rds/accountPrivilege.js.map +1 -0
- package/rds/accounts.d.ts +83 -0
- package/rds/accounts.js +38 -0
- package/rds/accounts.js.map +1 -0
- package/rds/database.d.ts +113 -0
- package/rds/database.js +85 -0
- package/rds/database.js.map +1 -0
- package/rds/databases.d.ts +83 -0
- package/rds/databases.js +38 -0
- package/rds/databases.js.map +1 -0
- package/rds/index.d.ts +11 -0
- package/rds/index.js +67 -0
- package/rds/index.js.map +1 -0
- package/rds/instance.d.ts +403 -0
- package/rds/instance.js +145 -0
- package/rds/instance.js.map +1 -0
- package/rds/instances.d.ts +140 -0
- package/rds/instances.js +44 -0
- package/rds/instances.js.map +1 -0
- package/rds/ipList.d.ts +98 -0
- package/rds/ipList.js +88 -0
- package/rds/ipList.js.map +1 -0
- package/rds/ipLists.d.ts +71 -0
- package/rds/ipLists.js +37 -0
- package/rds/ipLists.js.map +1 -0
- package/rds/parameterTemplate.d.ts +144 -0
- package/rds/parameterTemplate.js +101 -0
- package/rds/parameterTemplate.js.map +1 -0
- package/rds/parameterTemplates.d.ts +117 -0
- package/rds/parameterTemplates.js +39 -0
- package/rds/parameterTemplates.js.map +1 -0
- package/rds_mysql/account.d.ts +157 -0
- package/rds_mysql/account.js +93 -0
- package/rds_mysql/account.js.map +1 -0
- package/rds_mysql/accounts.d.ts +84 -0
- package/rds_mysql/accounts.js +39 -0
- package/rds_mysql/accounts.js.map +1 -0
- package/rds_mysql/allowlist.d.ts +115 -0
- package/rds_mysql/allowlist.js +86 -0
- package/rds_mysql/allowlist.js.map +1 -0
- package/rds_mysql/allowlistAssociate.d.ts +82 -0
- package/rds_mysql/allowlistAssociate.js +79 -0
- package/rds_mysql/allowlistAssociate.js.map +1 -0
- package/rds_mysql/allowlists.d.ts +74 -0
- package/rds_mysql/allowlists.js +37 -0
- package/rds_mysql/allowlists.js.map +1 -0
- package/rds_mysql/database.d.ts +113 -0
- package/rds_mysql/database.js +82 -0
- package/rds_mysql/database.js.map +1 -0
- package/rds_mysql/databases.d.ts +84 -0
- package/rds_mysql/databases.js +39 -0
- package/rds_mysql/databases.js.map +1 -0
- package/rds_mysql/index.d.ts +10 -0
- package/rds_mysql/index.js +66 -0
- package/rds_mysql/index.js.map +1 -0
- package/rds_mysql/instance.d.ts +412 -0
- package/rds_mysql/instance.js +179 -0
- package/rds_mysql/instance.js.map +1 -0
- package/rds_mysql/instanceReadonlyNode.d.ts +103 -0
- package/rds_mysql/instanceReadonlyNode.js +87 -0
- package/rds_mysql/instanceReadonlyNode.js.map +1 -0
- package/rds_mysql/instances.d.ts +154 -0
- package/rds_mysql/instances.js +45 -0
- package/rds_mysql/instances.js.map +1 -0
- package/rds_v2/index.d.ts +2 -0
- package/rds_v2/index.js +38 -0
- package/rds_v2/index.js.map +1 -0
- package/rds_v2/rdsInstanceV2.d.ts +289 -0
- package/rds_v2/rdsInstanceV2.js +145 -0
- package/rds_v2/rdsInstanceV2.js.map +1 -0
- package/rds_v2/rdsInstancesV2.d.ts +234 -0
- package/rds_v2/rdsInstancesV2.js +44 -0
- package/rds_v2/rdsInstancesV2.js.map +1 -0
- package/redis/account.d.ts +121 -0
- package/redis/account.js +94 -0
- package/redis/account.js.map +1 -0
- package/redis/accounts.d.ts +77 -0
- package/redis/accounts.js +37 -0
- package/redis/accounts.js.map +1 -0
- package/redis/allowList.d.ts +141 -0
- package/redis/allowList.js +97 -0
- package/redis/allowList.js.map +1 -0
- package/redis/allowListAssociate.d.ts +86 -0
- package/redis/allowListAssociate.js +83 -0
- package/redis/allowListAssociate.js.map +1 -0
- package/redis/allowLists.d.ts +83 -0
- package/redis/allowLists.js +38 -0
- package/redis/allowLists.js.map +1 -0
- package/redis/backup.d.ts +134 -0
- package/redis/backup.js +89 -0
- package/redis/backup.js.map +1 -0
- package/redis/backupRestore.d.ts +94 -0
- package/redis/backupRestore.js +81 -0
- package/redis/backupRestore.js.map +1 -0
- package/redis/backups.d.ts +99 -0
- package/redis/backups.js +40 -0
- package/redis/backups.js.map +1 -0
- package/redis/continuousBackup.d.ts +69 -0
- package/redis/continuousBackup.js +73 -0
- package/redis/continuousBackup.js.map +1 -0
- package/redis/endpoint.d.ts +82 -0
- package/redis/endpoint.js +79 -0
- package/redis/endpoint.js.map +1 -0
- package/redis/index.d.ts +16 -0
- package/redis/index.js +84 -0
- package/redis/index.js.map +1 -0
- package/redis/instance.d.ts +392 -0
- package/redis/instance.js +181 -0
- package/redis/instance.js.map +1 -0
- package/redis/instances.d.ts +179 -0
- package/redis/instances.js +47 -0
- package/redis/instances.js.map +1 -0
- package/redis/pitrTimeWindows.d.ts +31 -0
- package/redis/pitrTimeWindows.js +23 -0
- package/redis/pitrTimeWindows.js.map +1 -0
- package/redis/regions.d.ts +65 -0
- package/redis/regions.js +37 -0
- package/redis/regions.js.map +1 -0
- package/redis/state.d.ts +82 -0
- package/redis/state.js +79 -0
- package/redis/state.js.map +1 -0
- package/redis/zones.d.ts +62 -0
- package/redis/zones.js +36 -0
- package/redis/zones.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +26 -0
- package/tls/alarm.d.ts +222 -0
- package/tls/alarm.js +134 -0
- package/tls/alarm.js.map +1 -0
- package/tls/alarmNotifyGroup.d.ts +126 -0
- package/tls/alarmNotifyGroup.js +99 -0
- package/tls/alarmNotifyGroup.js.map +1 -0
- package/tls/alarmNotifyGroups.d.ts +96 -0
- package/tls/alarmNotifyGroups.js +38 -0
- package/tls/alarmNotifyGroups.js.map +1 -0
- package/tls/alarms.d.ts +125 -0
- package/tls/alarms.js +41 -0
- package/tls/alarms.js.map +1 -0
- package/tls/host.d.ts +82 -0
- package/tls/host.js +79 -0
- package/tls/host.js.map +1 -0
- package/tls/hostGroup.d.ts +225 -0
- package/tls/hostGroup.js +110 -0
- package/tls/hostGroup.js.map +1 -0
- package/tls/hostGroups.d.ts +126 -0
- package/tls/hostGroups.js +43 -0
- package/tls/hostGroups.js.map +1 -0
- package/tls/hosts.d.ts +89 -0
- package/tls/hosts.js +38 -0
- package/tls/hosts.js.map +1 -0
- package/tls/index.d.ts +21 -0
- package/tls/index.js +93 -0
- package/tls/index.js.map +1 -0
- package/tls/index_.d.ts +143 -0
- package/tls/index_.js +114 -0
- package/tls/index_.js.map +1 -0
- package/tls/indexes.d.ts +62 -0
- package/tls/indexes.js +36 -0
- package/tls/indexes.js.map +1 -0
- package/tls/kafkaConsumer.d.ts +85 -0
- package/tls/kafkaConsumer.js +77 -0
- package/tls/kafkaConsumer.js.map +1 -0
- package/tls/kafkaConsumers.d.ts +66 -0
- package/tls/kafkaConsumers.js +41 -0
- package/tls/kafkaConsumers.js.map +1 -0
- package/tls/project.d.ts +136 -0
- package/tls/project.js +91 -0
- package/tls/project.js.map +1 -0
- package/tls/projects.d.ts +119 -0
- package/tls/projects.js +42 -0
- package/tls/projects.js.map +1 -0
- package/tls/rule.d.ts +284 -0
- package/tls/rule.js +194 -0
- package/tls/rule.js.map +1 -0
- package/tls/ruleApplier.d.ts +82 -0
- package/tls/ruleApplier.js +79 -0
- package/tls/ruleApplier.js.map +1 -0
- package/tls/ruleAppliers.d.ts +62 -0
- package/tls/ruleAppliers.js +36 -0
- package/tls/ruleAppliers.js.map +1 -0
- package/tls/rules.d.ts +110 -0
- package/tls/rules.js +40 -0
- package/tls/rules.js.map +1 -0
- package/tls/shards.d.ts +65 -0
- package/tls/shards.js +36 -0
- package/tls/shards.js.map +1 -0
- package/tls/topic.d.ts +219 -0
- package/tls/topic.js +119 -0
- package/tls/topic.js.map +1 -0
- package/tls/topics.d.ts +120 -0
- package/tls/topics.js +42 -0
- package/tls/topics.js.map +1 -0
- package/tos/bucket.d.ts +163 -0
- package/tos/bucket.js +102 -0
- package/tos/bucket.js.map +1 -0
- package/tos/bucketObject.d.ts +198 -0
- package/tos/bucketObject.js +115 -0
- package/tos/bucketObject.js.map +1 -0
- package/tos/bucketObjects.d.ts +80 -0
- package/tos/bucketObjects.js +38 -0
- package/tos/bucketObjects.js.map +1 -0
- package/tos/bucketPolicy.d.ts +93 -0
- package/tos/bucketPolicy.js +87 -0
- package/tos/bucketPolicy.js.map +1 -0
- package/tos/buckets.d.ts +71 -0
- package/tos/buckets.js +38 -0
- package/tos/buckets.js.map +1 -0
- package/tos/index.d.ts +5 -0
- package/tos/index.js +49 -0
- package/tos/index.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +2754 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +11698 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
- package/veenedge/availableResources.d.ts +82 -0
- package/veenedge/availableResources.js +40 -0
- package/veenedge/availableResources.js.map +1 -0
- package/veenedge/cloudServer.d.ts +267 -0
- package/veenedge/cloudServer.js +161 -0
- package/veenedge/cloudServer.js.map +1 -0
- package/veenedge/cloudServers.d.ts +69 -0
- package/veenedge/cloudServers.js +36 -0
- package/veenedge/cloudServers.js.map +1 -0
- package/veenedge/index.d.ts +8 -0
- package/veenedge/index.js +52 -0
- package/veenedge/index.js.map +1 -0
- package/veenedge/instance.d.ts +170 -0
- package/veenedge/instance.js +91 -0
- package/veenedge/instance.js.map +1 -0
- package/veenedge/instanceTypes.d.ts +51 -0
- package/veenedge/instanceTypes.js +34 -0
- package/veenedge/instanceTypes.js.map +1 -0
- package/veenedge/instances.d.ts +92 -0
- package/veenedge/instances.js +43 -0
- package/veenedge/instances.js.map +1 -0
- package/veenedge/vpc.d.ts +108 -0
- package/veenedge/vpc.js +88 -0
- package/veenedge/vpc.js.map +1 -0
- package/veenedge/vpcs.d.ts +69 -0
- package/veenedge/vpcs.js +36 -0
- package/veenedge/vpcs.js.map +1 -0
- package/vke/addon.d.ts +135 -0
- package/vke/addon.js +89 -0
- package/vke/addon.js.map +1 -0
- package/vke/addons.d.ts +125 -0
- package/vke/addons.js +44 -0
- package/vke/addons.js.map +1 -0
- package/vke/cluster.d.ts +243 -0
- package/vke/cluster.js +144 -0
- package/vke/cluster.js.map +1 -0
- package/vke/clusters.d.ts +165 -0
- package/vke/clusters.js +51 -0
- package/vke/clusters.js.map +1 -0
- package/vke/defaultNodePool.d.ts +185 -0
- package/vke/defaultNodePool.js +148 -0
- package/vke/defaultNodePool.js.map +1 -0
- package/vke/defaultNodePoolBatchAttach.d.ts +248 -0
- package/vke/defaultNodePoolBatchAttach.js +206 -0
- package/vke/defaultNodePoolBatchAttach.js.map +1 -0
- package/vke/index.d.ts +13 -0
- package/vke/index.js +73 -0
- package/vke/index.js.map +1 -0
- package/vke/kubeconfig.d.ts +94 -0
- package/vke/kubeconfig.js +81 -0
- package/vke/kubeconfig.js.map +1 -0
- package/vke/kubeconfigs.d.ts +111 -0
- package/vke/kubeconfigs.js +46 -0
- package/vke/kubeconfigs.js.map +1 -0
- package/vke/node.d.ts +294 -0
- package/vke/node.js +210 -0
- package/vke/node.js.map +1 -0
- package/vke/nodePool.d.ts +187 -0
- package/vke/nodePool.js +133 -0
- package/vke/nodePool.js.map +1 -0
- package/vke/nodePools.d.ts +159 -0
- package/vke/nodePools.js +47 -0
- package/vke/nodePools.js.map +1 -0
- package/vke/nodes.d.ts +145 -0
- package/vke/nodes.js +58 -0
- package/vke/nodes.js.map +1 -0
- package/vke/supportAddons.d.ts +126 -0
- package/vke/supportAddons.js +44 -0
- package/vke/supportAddons.js.map +1 -0
- package/vpc/index.d.ts +24 -0
- package/vpc/index.js +108 -0
- package/vpc/index.js.map +1 -0
- package/vpc/ipv6AddressBandwidth.d.ts +197 -0
- package/vpc/ipv6AddressBandwidth.js +112 -0
- package/vpc/ipv6AddressBandwidth.js.map +1 -0
- package/vpc/ipv6AddressBandwidths.d.ts +122 -0
- package/vpc/ipv6AddressBandwidths.js +43 -0
- package/vpc/ipv6AddressBandwidths.js.map +1 -0
- package/vpc/ipv6Addresses.d.ts +62 -0
- package/vpc/ipv6Addresses.js +37 -0
- package/vpc/ipv6Addresses.js.map +1 -0
- package/vpc/ipv6Gateway.d.ts +126 -0
- package/vpc/ipv6Gateway.js +86 -0
- package/vpc/ipv6Gateway.js.map +1 -0
- package/vpc/ipv6Gateways.d.ts +92 -0
- package/vpc/ipv6Gateways.js +40 -0
- package/vpc/ipv6Gateways.js.map +1 -0
- package/vpc/networkAcl.d.ts +153 -0
- package/vpc/networkAcl.js +106 -0
- package/vpc/networkAcl.js.map +1 -0
- package/vpc/networkAclAssociate.d.ts +86 -0
- package/vpc/networkAclAssociate.js +83 -0
- package/vpc/networkAclAssociate.js.map +1 -0
- package/vpc/networkAcls.d.ts +107 -0
- package/vpc/networkAcls.js +44 -0
- package/vpc/networkAcls.js.map +1 -0
- package/vpc/networkInterface.d.ts +193 -0
- package/vpc/networkInterface.js +103 -0
- package/vpc/networkInterface.js.map +1 -0
- package/vpc/networkInterfaceAttach.d.ts +82 -0
- package/vpc/networkInterfaceAttach.js +79 -0
- package/vpc/networkInterfaceAttach.js.map +1 -0
- package/vpc/networkInterfaces.d.ts +203 -0
- package/vpc/networkInterfaces.js +50 -0
- package/vpc/networkInterfaces.js.map +1 -0
- package/vpc/routeEntries.d.ts +132 -0
- package/vpc/routeEntries.js +43 -0
- package/vpc/routeEntries.js.map +1 -0
- package/vpc/routeEntry.d.ts +150 -0
- package/vpc/routeEntry.js +101 -0
- package/vpc/routeEntry.js.map +1 -0
- package/vpc/routeTable.d.ts +108 -0
- package/vpc/routeTable.js +82 -0
- package/vpc/routeTable.js.map +1 -0
- package/vpc/routeTableAssociate.d.ts +82 -0
- package/vpc/routeTableAssociate.js +79 -0
- package/vpc/routeTableAssociate.js.map +1 -0
- package/vpc/routeTables.d.ts +102 -0
- package/vpc/routeTables.js +44 -0
- package/vpc/routeTables.js.map +1 -0
- package/vpc/securityGroup.d.ts +135 -0
- package/vpc/securityGroup.js +86 -0
- package/vpc/securityGroup.js.map +1 -0
- package/vpc/securityGroupRule.d.ts +230 -0
- package/vpc/securityGroupRule.js +150 -0
- package/vpc/securityGroupRule.js.map +1 -0
- package/vpc/securityGroupRules.d.ts +109 -0
- package/vpc/securityGroupRules.js +40 -0
- package/vpc/securityGroupRules.js.map +1 -0
- package/vpc/securityGroups.d.ts +116 -0
- package/vpc/securityGroups.js +42 -0
- package/vpc/securityGroups.js.map +1 -0
- package/vpc/subnet.d.ts +160 -0
- package/vpc/subnet.js +98 -0
- package/vpc/subnet.js.map +1 -0
- package/vpc/subnets.d.ts +119 -0
- package/vpc/subnets.js +42 -0
- package/vpc/subnets.js.map +1 -0
- package/vpc/vpc.d.ts +248 -0
- package/vpc/vpc.js +115 -0
- package/vpc/vpc.js.map +1 -0
- package/vpc/vpcs.d.ts +107 -0
- package/vpc/vpcs.js +41 -0
- package/vpc/vpcs.js.map +1 -0
- package/vpn/connection.d.ts +482 -0
- package/vpn/connection.js +177 -0
- package/vpn/connection.js.map +1 -0
- package/vpn/connections.d.ts +104 -0
- package/vpn/connections.js +41 -0
- package/vpn/connections.js.map +1 -0
- package/vpn/customerGateway.d.ts +156 -0
- package/vpn/customerGateway.js +94 -0
- package/vpn/customerGateway.js.map +1 -0
- package/vpn/customerGateways.d.ts +92 -0
- package/vpn/customerGateways.js +40 -0
- package/vpn/customerGateways.js.map +1 -0
- package/vpn/gateway.d.ts +281 -0
- package/vpn/gateway.js +126 -0
- package/vpn/gateway.js.map +1 -0
- package/vpn/gatewayRoute.d.ts +127 -0
- package/vpn/gatewayRoute.js +93 -0
- package/vpn/gatewayRoute.js.map +1 -0
- package/vpn/gatewayRoutes.d.ts +98 -0
- package/vpn/gatewayRoutes.js +40 -0
- package/vpn/gatewayRoutes.js.map +1 -0
- package/vpn/gateways.d.ts +125 -0
- package/vpn/gateways.js +43 -0
- package/vpn/gateways.js.map +1 -0
- package/vpn/index.d.ts +8 -0
- package/vpn/index.js +56 -0
- package/vpn/index.js.map +1 -0
|
@@ -0,0 +1,88 @@
|
|
|
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.VpcEndpoint = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage cr vpc endpoint
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.cr.VpcEndpoint("foo", {
|
|
17
|
+
* registry: "enterprise-1",
|
|
18
|
+
* vpcs: [
|
|
19
|
+
* {
|
|
20
|
+
* accountId: 0,
|
|
21
|
+
* vpcId: "vpc-3resbfzl3xgjk5zsk2iuq3vhk",
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* subnetId: "subnet-2d62do4697i8058ozfdszxl30",
|
|
25
|
+
* vpcId: "vpc-3red9li8dd8g05zsk2iadytvy",
|
|
26
|
+
* },
|
|
27
|
+
* ],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* CR Vpc endpoint can be imported using the crVpcEndpoint:registry, e.g.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import volcengine:cr/vpcEndpoint:VpcEndpoint default crVpcEndpoint:cr-basic
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class VpcEndpoint extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing VpcEndpoint resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name, id, state, opts) {
|
|
50
|
+
return new VpcEndpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of VpcEndpoint. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj) {
|
|
57
|
+
if (obj === undefined || obj === null) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
return obj['__pulumiType'] === VpcEndpoint.__pulumiType;
|
|
61
|
+
}
|
|
62
|
+
constructor(name, argsOrState, opts) {
|
|
63
|
+
let resourceInputs = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
if (opts.id) {
|
|
66
|
+
const state = argsOrState;
|
|
67
|
+
resourceInputs["registry"] = state ? state.registry : undefined;
|
|
68
|
+
resourceInputs["vpcs"] = state ? state.vpcs : undefined;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if ((!args || args.registry === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'registry'");
|
|
74
|
+
}
|
|
75
|
+
if ((!args || args.vpcs === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'vpcs'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["registry"] = args ? args.registry : undefined;
|
|
79
|
+
resourceInputs["vpcs"] = args ? args.vpcs : undefined;
|
|
80
|
+
}
|
|
81
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
82
|
+
super(VpcEndpoint.__pulumiType, name, resourceInputs, opts);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.VpcEndpoint = VpcEndpoint;
|
|
86
|
+
/** @internal */
|
|
87
|
+
VpcEndpoint.__pulumiType = 'volcengine:cr/vpcEndpoint:VpcEndpoint';
|
|
88
|
+
//# sourceMappingURL=vpcEndpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcEndpoint.js","sourceRoot":"","sources":["../../cr/vpcEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GA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umi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to query detailed information of cr vpc endpoints
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
10
|
+
*
|
|
11
|
+
* const defaultVpcEndpoints = pulumi.output(volcengine.cr.VpcEndpoints({
|
|
12
|
+
* registry: "enterprise-1",
|
|
13
|
+
* statuses: [
|
|
14
|
+
* "Enabled",
|
|
15
|
+
* "Enabling",
|
|
16
|
+
* "Disabling",
|
|
17
|
+
* "Failed",
|
|
18
|
+
* ],
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function vpcEndpoints(args: VpcEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<VpcEndpointsResult>;
|
|
23
|
+
/**
|
|
24
|
+
* A collection of arguments for invoking VpcEndpoints.
|
|
25
|
+
*/
|
|
26
|
+
export interface VpcEndpointsArgs {
|
|
27
|
+
/**
|
|
28
|
+
* File name where to save data source results.
|
|
29
|
+
*/
|
|
30
|
+
outputFile?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The CR registry name.
|
|
33
|
+
*/
|
|
34
|
+
registry: string;
|
|
35
|
+
/**
|
|
36
|
+
* VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
|
|
37
|
+
*/
|
|
38
|
+
statuses?: string[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A collection of values returned by VpcEndpoints.
|
|
42
|
+
*/
|
|
43
|
+
export interface VpcEndpointsResult {
|
|
44
|
+
/**
|
|
45
|
+
* List of CR vpc endpoints.
|
|
46
|
+
*/
|
|
47
|
+
readonly endpoints: outputs.cr.VpcEndpointsEndpoint[];
|
|
48
|
+
/**
|
|
49
|
+
* The provider-assigned unique ID for this managed resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
readonly outputFile?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The name of CR registry.
|
|
55
|
+
*/
|
|
56
|
+
readonly registry: string;
|
|
57
|
+
readonly statuses?: string[];
|
|
58
|
+
/**
|
|
59
|
+
* The total count of CR vpc endpoints query.
|
|
60
|
+
*/
|
|
61
|
+
readonly totalCount: number;
|
|
62
|
+
}
|
|
63
|
+
export declare function vpcEndpointsOutput(args: VpcEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VpcEndpointsResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking VpcEndpoints.
|
|
66
|
+
*/
|
|
67
|
+
export interface VpcEndpointsOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* File name where to save data source results.
|
|
70
|
+
*/
|
|
71
|
+
outputFile?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The CR registry name.
|
|
74
|
+
*/
|
|
75
|
+
registry: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
|
|
78
|
+
*/
|
|
79
|
+
statuses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.vpcEndpointsOutput = exports.vpcEndpoints = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to query detailed information of cr vpc endpoints
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
*
|
|
16
|
+
* const defaultVpcEndpoints = pulumi.output(volcengine.cr.VpcEndpoints({
|
|
17
|
+
* registry: "enterprise-1",
|
|
18
|
+
* statuses: [
|
|
19
|
+
* "Enabled",
|
|
20
|
+
* "Enabling",
|
|
21
|
+
* "Disabling",
|
|
22
|
+
* "Failed",
|
|
23
|
+
* ],
|
|
24
|
+
* }));
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function vpcEndpoints(args, opts) {
|
|
28
|
+
if (!opts) {
|
|
29
|
+
opts = {};
|
|
30
|
+
}
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
32
|
+
return pulumi.runtime.invoke("volcengine:cr/vpcEndpoints:VpcEndpoints", {
|
|
33
|
+
"outputFile": args.outputFile,
|
|
34
|
+
"registry": args.registry,
|
|
35
|
+
"statuses": args.statuses,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.vpcEndpoints = vpcEndpoints;
|
|
39
|
+
function vpcEndpointsOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => vpcEndpoints(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.vpcEndpointsOutput = vpcEndpointsOutput;
|
|
43
|
+
//# sourceMappingURL=vpcEndpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vpcEndpoints.js","sourceRoot":"","sources":["../../cr/vpcEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oCAWC;AA4CD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
package/ebs/index.d.ts
ADDED
package/ebs/index.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
const pulumi = require("@pulumi/pulumi");
|
|
20
|
+
const utilities = require("../utilities");
|
|
21
|
+
// Export members:
|
|
22
|
+
__exportStar(require("./volume"), exports);
|
|
23
|
+
__exportStar(require("./volumeAttach"), exports);
|
|
24
|
+
__exportStar(require("./volumes"), exports);
|
|
25
|
+
// Import resources to register:
|
|
26
|
+
const volume_1 = require("./volume");
|
|
27
|
+
const volumeAttach_1 = require("./volumeAttach");
|
|
28
|
+
const _module = {
|
|
29
|
+
version: utilities.getVersion(),
|
|
30
|
+
construct: (name, type, urn) => {
|
|
31
|
+
switch (type) {
|
|
32
|
+
case "volcengine:ebs/volume:Volume":
|
|
33
|
+
return new volume_1.Volume(name, undefined, { urn });
|
|
34
|
+
case "volcengine:ebs/volumeAttach:VolumeAttach":
|
|
35
|
+
return new volumeAttach_1.VolumeAttach(name, undefined, { urn });
|
|
36
|
+
default:
|
|
37
|
+
throw new Error(`unknown resource type ${type}`);
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
pulumi.runtime.registerResourceModule("volcengine", "ebs/volume", _module);
|
|
42
|
+
pulumi.runtime.registerResourceModule("volcengine", "ebs/volumeAttach", _module);
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
package/ebs/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ebs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,iDAA+B;AAC/B,4CAA0B;AAE1B,gCAAgC;AAChC,qCAAkC;AAClC,iDAA8C;AAE9C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,eAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA"}
|
package/ebs/volume.d.ts
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as pulumi from "@volcengine/pulumi";
|
|
8
|
+
*
|
|
9
|
+
* const fooVolume = new volcengine.ebs.Volume("fooVolume", {
|
|
10
|
+
* volumeName: "terraform-test",
|
|
11
|
+
* zoneId: "cn-xx-a",
|
|
12
|
+
* volumeType: "ESSD_PL0",
|
|
13
|
+
* kind: "data",
|
|
14
|
+
* size: 40,
|
|
15
|
+
* volumeChargeType: "PostPaid",
|
|
16
|
+
* projectName: "default",
|
|
17
|
+
* });
|
|
18
|
+
* const fooVolumeAttach = new volcengine.ebs.VolumeAttach("fooVolumeAttach", {
|
|
19
|
+
* volumeId: fooVolume.id,
|
|
20
|
+
* instanceId: "i-yc8pfhbafwijutv6s1fv",
|
|
21
|
+
* });
|
|
22
|
+
* const foo2 = new volcengine.ebs.Volume("foo2", {
|
|
23
|
+
* volumeName: "terraform-test3",
|
|
24
|
+
* zoneId: "cn-beijing-b",
|
|
25
|
+
* volumeType: "ESSD_PL0",
|
|
26
|
+
* kind: "data",
|
|
27
|
+
* size: 40,
|
|
28
|
+
* volumeChargeType: "PrePaid",
|
|
29
|
+
* instanceId: "i-yc8pfhbafwijutv6s1fv",
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* Volume can be imported using the id, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import volcengine:ebs/volume:Volume default vol-mizl7m1kqccg5smt1bdpijuj
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class Volume extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing Volume resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VolumeState, opts?: pulumi.CustomResourceOptions): Volume;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of Volume. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is Volume;
|
|
57
|
+
/**
|
|
58
|
+
* Creation time of Volume.
|
|
59
|
+
*/
|
|
60
|
+
readonly createdAt: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Delete Volume with Attached Instance.
|
|
63
|
+
*/
|
|
64
|
+
readonly deleteWithInstance: pulumi.Output<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* The description of the Volume.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the instance to which the created volume is automatically attached. Please note this field needs to ask the system administrator to apply for a whitelist.
|
|
71
|
+
*/
|
|
72
|
+
readonly instanceId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The kind of Volume, the value is `data`.
|
|
75
|
+
*/
|
|
76
|
+
readonly kind: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The ProjectName of the Volume.
|
|
79
|
+
*/
|
|
80
|
+
readonly projectName: pulumi.Output<string | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The size of Volume.
|
|
83
|
+
*/
|
|
84
|
+
readonly size: pulumi.Output<number>;
|
|
85
|
+
/**
|
|
86
|
+
* Status of Volume.
|
|
87
|
+
*/
|
|
88
|
+
readonly status: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Status of Trade.
|
|
91
|
+
*/
|
|
92
|
+
readonly tradeStatus: pulumi.Output<number>;
|
|
93
|
+
/**
|
|
94
|
+
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Cannot convert `PrePaid` volume to `PostPaid`.Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
|
|
95
|
+
*/
|
|
96
|
+
readonly volumeChargeType: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* The name of Volume.
|
|
99
|
+
*/
|
|
100
|
+
readonly volumeName: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The type of Volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
|
|
103
|
+
*/
|
|
104
|
+
readonly volumeType: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The id of the Zone.
|
|
107
|
+
*/
|
|
108
|
+
readonly zoneId: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a Volume resource with the given unique name, arguments, and options.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resource.
|
|
113
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
114
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
115
|
+
*/
|
|
116
|
+
constructor(name: string, args: VolumeArgs, opts?: pulumi.CustomResourceOptions);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Input properties used for looking up and filtering Volume resources.
|
|
120
|
+
*/
|
|
121
|
+
export interface VolumeState {
|
|
122
|
+
/**
|
|
123
|
+
* Creation time of Volume.
|
|
124
|
+
*/
|
|
125
|
+
createdAt?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Delete Volume with Attached Instance.
|
|
128
|
+
*/
|
|
129
|
+
deleteWithInstance?: pulumi.Input<boolean>;
|
|
130
|
+
/**
|
|
131
|
+
* The description of the Volume.
|
|
132
|
+
*/
|
|
133
|
+
description?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The ID of the instance to which the created volume is automatically attached. Please note this field needs to ask the system administrator to apply for a whitelist.
|
|
136
|
+
*/
|
|
137
|
+
instanceId?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The kind of Volume, the value is `data`.
|
|
140
|
+
*/
|
|
141
|
+
kind?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The ProjectName of the Volume.
|
|
144
|
+
*/
|
|
145
|
+
projectName?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The size of Volume.
|
|
148
|
+
*/
|
|
149
|
+
size?: pulumi.Input<number>;
|
|
150
|
+
/**
|
|
151
|
+
* Status of Volume.
|
|
152
|
+
*/
|
|
153
|
+
status?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Status of Trade.
|
|
156
|
+
*/
|
|
157
|
+
tradeStatus?: pulumi.Input<number>;
|
|
158
|
+
/**
|
|
159
|
+
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Cannot convert `PrePaid` volume to `PostPaid`.Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
|
|
160
|
+
*/
|
|
161
|
+
volumeChargeType?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* The name of Volume.
|
|
164
|
+
*/
|
|
165
|
+
volumeName?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The type of Volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
|
|
168
|
+
*/
|
|
169
|
+
volumeType?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The id of the Zone.
|
|
172
|
+
*/
|
|
173
|
+
zoneId?: pulumi.Input<string>;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* The set of arguments for constructing a Volume resource.
|
|
177
|
+
*/
|
|
178
|
+
export interface VolumeArgs {
|
|
179
|
+
/**
|
|
180
|
+
* Delete Volume with Attached Instance.
|
|
181
|
+
*/
|
|
182
|
+
deleteWithInstance?: pulumi.Input<boolean>;
|
|
183
|
+
/**
|
|
184
|
+
* The description of the Volume.
|
|
185
|
+
*/
|
|
186
|
+
description?: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The ID of the instance to which the created volume is automatically attached. Please note this field needs to ask the system administrator to apply for a whitelist.
|
|
189
|
+
*/
|
|
190
|
+
instanceId?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* The kind of Volume, the value is `data`.
|
|
193
|
+
*/
|
|
194
|
+
kind: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* The ProjectName of the Volume.
|
|
197
|
+
*/
|
|
198
|
+
projectName?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The size of Volume.
|
|
201
|
+
*/
|
|
202
|
+
size: pulumi.Input<number>;
|
|
203
|
+
/**
|
|
204
|
+
* The charge type of the Volume, the value is `PostPaid` or `PrePaid`. The `PrePaid` volume cannot be detached. Cannot convert `PrePaid` volume to `PostPaid`.Please note that `PrePaid` type needs to ask the system administrator to apply for a whitelist.
|
|
205
|
+
*/
|
|
206
|
+
volumeChargeType?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* The name of Volume.
|
|
209
|
+
*/
|
|
210
|
+
volumeName: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The type of Volume, the value is `PTSSD` or `ESSD_PL0` or `ESSD_PL1` or `ESSD_PL2` or `ESSD_FlexPL`.
|
|
213
|
+
*/
|
|
214
|
+
volumeType: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* The id of the Zone.
|
|
217
|
+
*/
|
|
218
|
+
zoneId: pulumi.Input<string>;
|
|
219
|
+
}
|
package/ebs/volume.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
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.Volume = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as pulumi from "@volcengine/pulumi";
|
|
14
|
+
*
|
|
15
|
+
* const fooVolume = new volcengine.ebs.Volume("fooVolume", {
|
|
16
|
+
* volumeName: "terraform-test",
|
|
17
|
+
* zoneId: "cn-xx-a",
|
|
18
|
+
* volumeType: "ESSD_PL0",
|
|
19
|
+
* kind: "data",
|
|
20
|
+
* size: 40,
|
|
21
|
+
* volumeChargeType: "PostPaid",
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* });
|
|
24
|
+
* const fooVolumeAttach = new volcengine.ebs.VolumeAttach("fooVolumeAttach", {
|
|
25
|
+
* volumeId: fooVolume.id,
|
|
26
|
+
* instanceId: "i-yc8pfhbafwijutv6s1fv",
|
|
27
|
+
* });
|
|
28
|
+
* const foo2 = new volcengine.ebs.Volume("foo2", {
|
|
29
|
+
* volumeName: "terraform-test3",
|
|
30
|
+
* zoneId: "cn-beijing-b",
|
|
31
|
+
* volumeType: "ESSD_PL0",
|
|
32
|
+
* kind: "data",
|
|
33
|
+
* size: 40,
|
|
34
|
+
* volumeChargeType: "PrePaid",
|
|
35
|
+
* instanceId: "i-yc8pfhbafwijutv6s1fv",
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* Volume can be imported using the id, e.g.
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import volcengine:ebs/volume:Volume default vol-mizl7m1kqccg5smt1bdpijuj
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class Volume extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing Volume resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name, id, state, opts) {
|
|
58
|
+
return new Volume(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Returns true if the given object is an instance of Volume. This is designed to work even
|
|
62
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
63
|
+
*/
|
|
64
|
+
static isInstance(obj) {
|
|
65
|
+
if (obj === undefined || obj === null) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
return obj['__pulumiType'] === Volume.__pulumiType;
|
|
69
|
+
}
|
|
70
|
+
constructor(name, argsOrState, opts) {
|
|
71
|
+
let resourceInputs = {};
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
if (opts.id) {
|
|
74
|
+
const state = argsOrState;
|
|
75
|
+
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
76
|
+
resourceInputs["deleteWithInstance"] = state ? state.deleteWithInstance : undefined;
|
|
77
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
78
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
79
|
+
resourceInputs["kind"] = state ? state.kind : undefined;
|
|
80
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
81
|
+
resourceInputs["size"] = state ? state.size : undefined;
|
|
82
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
83
|
+
resourceInputs["tradeStatus"] = state ? state.tradeStatus : undefined;
|
|
84
|
+
resourceInputs["volumeChargeType"] = state ? state.volumeChargeType : undefined;
|
|
85
|
+
resourceInputs["volumeName"] = state ? state.volumeName : undefined;
|
|
86
|
+
resourceInputs["volumeType"] = state ? state.volumeType : undefined;
|
|
87
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const args = argsOrState;
|
|
91
|
+
if ((!args || args.kind === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'kind'");
|
|
93
|
+
}
|
|
94
|
+
if ((!args || args.size === undefined) && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'size'");
|
|
96
|
+
}
|
|
97
|
+
if ((!args || args.volumeName === undefined) && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'volumeName'");
|
|
99
|
+
}
|
|
100
|
+
if ((!args || args.volumeType === undefined) && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'volumeType'");
|
|
102
|
+
}
|
|
103
|
+
if ((!args || args.zoneId === undefined) && !opts.urn) {
|
|
104
|
+
throw new Error("Missing required property 'zoneId'");
|
|
105
|
+
}
|
|
106
|
+
resourceInputs["deleteWithInstance"] = args ? args.deleteWithInstance : undefined;
|
|
107
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
108
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
109
|
+
resourceInputs["kind"] = args ? args.kind : undefined;
|
|
110
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
111
|
+
resourceInputs["size"] = args ? args.size : undefined;
|
|
112
|
+
resourceInputs["volumeChargeType"] = args ? args.volumeChargeType : undefined;
|
|
113
|
+
resourceInputs["volumeName"] = args ? args.volumeName : undefined;
|
|
114
|
+
resourceInputs["volumeType"] = args ? args.volumeType : undefined;
|
|
115
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
116
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["tradeStatus"] = undefined /*out*/;
|
|
119
|
+
}
|
|
120
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
|
+
super(Volume.__pulumiType, name, resourceInputs, opts);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.Volume = Volume;
|
|
125
|
+
/** @internal */
|
|
126
|
+
Volume.__pulumiType = 'volcengine:ebs/volume:Volume';
|
|
127
|
+
//# sourceMappingURL=volume.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../../ebs/volume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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