@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,155 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage dnat entry
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.nat.DnatEntry("foo", {
|
|
11
|
+
* dnatEntryName: "terraform-test2",
|
|
12
|
+
* externalIp: "10.249.186.68",
|
|
13
|
+
* externalPort: "23",
|
|
14
|
+
* internalIp: "193.168.1.1",
|
|
15
|
+
* internalPort: "24",
|
|
16
|
+
* natGatewayId: "ngw-imw3aej7e96o8gbssxkfbybv",
|
|
17
|
+
* protocol: "tcp",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* Dnat entry can be imported using the id, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import volcengine:nat/dnatEntry:DnatEntry default dnat-3fvhk47kf56****
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class DnatEntry extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing DnatEntry resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnatEntryState, opts?: pulumi.CustomResourceOptions): DnatEntry;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of DnatEntry. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is DnatEntry;
|
|
45
|
+
/**
|
|
46
|
+
* The id of the DNAT rule.
|
|
47
|
+
*/
|
|
48
|
+
readonly dnatEntryId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the DNAT rule.
|
|
51
|
+
*/
|
|
52
|
+
readonly dnatEntryName: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Provides the public IP address for public network access.
|
|
55
|
+
*/
|
|
56
|
+
readonly externalIp: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
|
|
59
|
+
*/
|
|
60
|
+
readonly externalPort: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Provides the internal IP address.
|
|
63
|
+
*/
|
|
64
|
+
readonly internalIp: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The port or port segment on which the cloud server instance provides services to the public network.
|
|
67
|
+
*/
|
|
68
|
+
readonly internalPort: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The id of the nat gateway to which the entry belongs.
|
|
71
|
+
*/
|
|
72
|
+
readonly natGatewayId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The network protocol.
|
|
75
|
+
*/
|
|
76
|
+
readonly protocol: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a DnatEntry resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: DnatEntryArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering DnatEntry resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface DnatEntryState {
|
|
90
|
+
/**
|
|
91
|
+
* The id of the DNAT rule.
|
|
92
|
+
*/
|
|
93
|
+
dnatEntryId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The name of the DNAT rule.
|
|
96
|
+
*/
|
|
97
|
+
dnatEntryName?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Provides the public IP address for public network access.
|
|
100
|
+
*/
|
|
101
|
+
externalIp?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
|
|
104
|
+
*/
|
|
105
|
+
externalPort?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Provides the internal IP address.
|
|
108
|
+
*/
|
|
109
|
+
internalIp?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The port or port segment on which the cloud server instance provides services to the public network.
|
|
112
|
+
*/
|
|
113
|
+
internalPort?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The id of the nat gateway to which the entry belongs.
|
|
116
|
+
*/
|
|
117
|
+
natGatewayId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The network protocol.
|
|
120
|
+
*/
|
|
121
|
+
protocol?: pulumi.Input<string>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The set of arguments for constructing a DnatEntry resource.
|
|
125
|
+
*/
|
|
126
|
+
export interface DnatEntryArgs {
|
|
127
|
+
/**
|
|
128
|
+
* The name of the DNAT rule.
|
|
129
|
+
*/
|
|
130
|
+
dnatEntryName?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Provides the public IP address for public network access.
|
|
133
|
+
*/
|
|
134
|
+
externalIp: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
|
|
137
|
+
*/
|
|
138
|
+
externalPort: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Provides the internal IP address.
|
|
141
|
+
*/
|
|
142
|
+
internalIp: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The port or port segment on which the cloud server instance provides services to the public network.
|
|
145
|
+
*/
|
|
146
|
+
internalPort: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The id of the nat gateway to which the entry belongs.
|
|
149
|
+
*/
|
|
150
|
+
natGatewayId: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The network protocol.
|
|
153
|
+
*/
|
|
154
|
+
protocol: pulumi.Input<string>;
|
|
155
|
+
}
|
package/nat/dnatEntry.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DnatEntry = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage dnat entry
|
|
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.nat.DnatEntry("foo", {
|
|
17
|
+
* dnatEntryName: "terraform-test2",
|
|
18
|
+
* externalIp: "10.249.186.68",
|
|
19
|
+
* externalPort: "23",
|
|
20
|
+
* internalIp: "193.168.1.1",
|
|
21
|
+
* internalPort: "24",
|
|
22
|
+
* natGatewayId: "ngw-imw3aej7e96o8gbssxkfbybv",
|
|
23
|
+
* protocol: "tcp",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Dnat entry can be imported using the id, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import volcengine:nat/dnatEntry:DnatEntry default dnat-3fvhk47kf56****
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class DnatEntry extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing DnatEntry resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new DnatEntry(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of DnatEntry. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === DnatEntry.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["dnatEntryId"] = state ? state.dnatEntryId : undefined;
|
|
64
|
+
resourceInputs["dnatEntryName"] = state ? state.dnatEntryName : undefined;
|
|
65
|
+
resourceInputs["externalIp"] = state ? state.externalIp : undefined;
|
|
66
|
+
resourceInputs["externalPort"] = state ? state.externalPort : undefined;
|
|
67
|
+
resourceInputs["internalIp"] = state ? state.internalIp : undefined;
|
|
68
|
+
resourceInputs["internalPort"] = state ? state.internalPort : undefined;
|
|
69
|
+
resourceInputs["natGatewayId"] = state ? state.natGatewayId : undefined;
|
|
70
|
+
resourceInputs["protocol"] = state ? state.protocol : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.externalIp === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'externalIp'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.externalPort === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'externalPort'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.internalIp === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'internalIp'");
|
|
82
|
+
}
|
|
83
|
+
if ((!args || args.internalPort === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'internalPort'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.natGatewayId === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'natGatewayId'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.protocol === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'protocol'");
|
|
91
|
+
}
|
|
92
|
+
resourceInputs["dnatEntryName"] = args ? args.dnatEntryName : undefined;
|
|
93
|
+
resourceInputs["externalIp"] = args ? args.externalIp : undefined;
|
|
94
|
+
resourceInputs["externalPort"] = args ? args.externalPort : undefined;
|
|
95
|
+
resourceInputs["internalIp"] = args ? args.internalIp : undefined;
|
|
96
|
+
resourceInputs["internalPort"] = args ? args.internalPort : undefined;
|
|
97
|
+
resourceInputs["natGatewayId"] = args ? args.natGatewayId : undefined;
|
|
98
|
+
resourceInputs["protocol"] = args ? args.protocol : undefined;
|
|
99
|
+
resourceInputs["dnatEntryId"] = undefined /*out*/;
|
|
100
|
+
}
|
|
101
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
super(DnatEntry.__pulumiType, name, resourceInputs, opts);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.DnatEntry = DnatEntry;
|
|
106
|
+
/** @internal */
|
|
107
|
+
DnatEntry.__pulumiType = 'volcengine:nat/dnatEntry:DnatEntry';
|
|
108
|
+
//# sourceMappingURL=dnatEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnatEntry.js","sourceRoot":"","sources":["../../nat/dnatEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YA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,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAjHL,8BAkHC;AApGG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
|
package/nat/gateway.d.ts
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.nat.Gateway("foo", {
|
|
11
|
+
* billingType: "PostPaid",
|
|
12
|
+
* description: "This nat gateway auto-created by terraform. ",
|
|
13
|
+
* natGatewayName: "tf-auto-demo-1",
|
|
14
|
+
* projectName: "default",
|
|
15
|
+
* spec: "Medium",
|
|
16
|
+
* subnetId: "subnet-im67x70vxla88gbssz1hy1z2",
|
|
17
|
+
* vpcId: "vpc-im67wjcikxkw8gbssx8ufpj8",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* NatGateway can be imported using the id, e.g.
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import volcengine:nat/gateway:Gateway default ngw-vv3t043k05sm****
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class Gateway extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GatewayState, opts?: pulumi.CustomResourceOptions): Gateway;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is Gateway;
|
|
45
|
+
/**
|
|
46
|
+
* The billing type of the NatGateway, the value is `PostPaid` or `PrePaid`.
|
|
47
|
+
*/
|
|
48
|
+
readonly billingType: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* The description of the NatGateway.
|
|
51
|
+
*/
|
|
52
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the NatGateway.
|
|
55
|
+
*/
|
|
56
|
+
readonly natGatewayName: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
59
|
+
*/
|
|
60
|
+
readonly period: pulumi.Output<number | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The ProjectName of the NatGateway.
|
|
63
|
+
*/
|
|
64
|
+
readonly projectName: pulumi.Output<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large`.
|
|
67
|
+
*/
|
|
68
|
+
readonly spec: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the Subnet.
|
|
71
|
+
*/
|
|
72
|
+
readonly subnetId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Tags.
|
|
75
|
+
*/
|
|
76
|
+
readonly tags: pulumi.Output<outputs.nat.GatewayTag[] | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the VPC.
|
|
79
|
+
*/
|
|
80
|
+
readonly vpcId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Create a Gateway resource with the given unique name, arguments, and options.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resource.
|
|
85
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
86
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
87
|
+
*/
|
|
88
|
+
constructor(name: string, args: GatewayArgs, opts?: pulumi.CustomResourceOptions);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Input properties used for looking up and filtering Gateway resources.
|
|
92
|
+
*/
|
|
93
|
+
export interface GatewayState {
|
|
94
|
+
/**
|
|
95
|
+
* The billing type of the NatGateway, the value is `PostPaid` or `PrePaid`.
|
|
96
|
+
*/
|
|
97
|
+
billingType?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The description of the NatGateway.
|
|
100
|
+
*/
|
|
101
|
+
description?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The name of the NatGateway.
|
|
104
|
+
*/
|
|
105
|
+
natGatewayName?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
108
|
+
*/
|
|
109
|
+
period?: pulumi.Input<number>;
|
|
110
|
+
/**
|
|
111
|
+
* The ProjectName of the NatGateway.
|
|
112
|
+
*/
|
|
113
|
+
projectName?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large`.
|
|
116
|
+
*/
|
|
117
|
+
spec?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The ID of the Subnet.
|
|
120
|
+
*/
|
|
121
|
+
subnetId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Tags.
|
|
124
|
+
*/
|
|
125
|
+
tags?: pulumi.Input<pulumi.Input<inputs.nat.GatewayTag>[]>;
|
|
126
|
+
/**
|
|
127
|
+
* The ID of the VPC.
|
|
128
|
+
*/
|
|
129
|
+
vpcId?: pulumi.Input<string>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The set of arguments for constructing a Gateway resource.
|
|
133
|
+
*/
|
|
134
|
+
export interface GatewayArgs {
|
|
135
|
+
/**
|
|
136
|
+
* The billing type of the NatGateway, the value is `PostPaid` or `PrePaid`.
|
|
137
|
+
*/
|
|
138
|
+
billingType?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The description of the NatGateway.
|
|
141
|
+
*/
|
|
142
|
+
description?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* The name of the NatGateway.
|
|
145
|
+
*/
|
|
146
|
+
natGatewayName?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The period of the NatGateway, the valid value range in 1~9 or 12 or 24 or 36. Default value is 12. The period unit defaults to `Month`.This field is only effective when creating a PrePaid NatGateway. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
149
|
+
*/
|
|
150
|
+
period?: pulumi.Input<number>;
|
|
151
|
+
/**
|
|
152
|
+
* The ProjectName of the NatGateway.
|
|
153
|
+
*/
|
|
154
|
+
projectName?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The specification of the NatGateway. Optional choice contains `Small`(default), `Medium`, `Large`.
|
|
157
|
+
*/
|
|
158
|
+
spec?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The ID of the Subnet.
|
|
161
|
+
*/
|
|
162
|
+
subnetId: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Tags.
|
|
165
|
+
*/
|
|
166
|
+
tags?: pulumi.Input<pulumi.Input<inputs.nat.GatewayTag>[]>;
|
|
167
|
+
/**
|
|
168
|
+
* The ID of the VPC.
|
|
169
|
+
*/
|
|
170
|
+
vpcId: pulumi.Input<string>;
|
|
171
|
+
}
|
package/nat/gateway.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
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.Gateway = 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 volcengine from "@pulumi/volcengine";
|
|
14
|
+
*
|
|
15
|
+
* const foo = new volcengine.nat.Gateway("foo", {
|
|
16
|
+
* billingType: "PostPaid",
|
|
17
|
+
* description: "This nat gateway auto-created by terraform. ",
|
|
18
|
+
* natGatewayName: "tf-auto-demo-1",
|
|
19
|
+
* projectName: "default",
|
|
20
|
+
* spec: "Medium",
|
|
21
|
+
* subnetId: "subnet-im67x70vxla88gbssz1hy1z2",
|
|
22
|
+
* vpcId: "vpc-im67wjcikxkw8gbssx8ufpj8",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* NatGateway can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import volcengine:nat/gateway:Gateway default ngw-vv3t043k05sm****
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class Gateway extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new Gateway(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === Gateway.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["billingType"] = state ? state.billingType : undefined;
|
|
63
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
64
|
+
resourceInputs["natGatewayName"] = state ? state.natGatewayName : undefined;
|
|
65
|
+
resourceInputs["period"] = state ? state.period : undefined;
|
|
66
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
67
|
+
resourceInputs["spec"] = state ? state.spec : undefined;
|
|
68
|
+
resourceInputs["subnetId"] = state ? state.subnetId : undefined;
|
|
69
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
70
|
+
resourceInputs["vpcId"] = state ? state.vpcId : undefined;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if ((!args || args.subnetId === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'subnetId'");
|
|
76
|
+
}
|
|
77
|
+
if ((!args || args.vpcId === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'vpcId'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["billingType"] = args ? args.billingType : undefined;
|
|
81
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
82
|
+
resourceInputs["natGatewayName"] = args ? args.natGatewayName : undefined;
|
|
83
|
+
resourceInputs["period"] = args ? args.period : undefined;
|
|
84
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
85
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
86
|
+
resourceInputs["subnetId"] = args ? args.subnetId : undefined;
|
|
87
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
88
|
+
resourceInputs["vpcId"] = args ? args.vpcId : undefined;
|
|
89
|
+
}
|
|
90
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
91
|
+
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.Gateway = Gateway;
|
|
95
|
+
/** @internal */
|
|
96
|
+
Gateway.__pulumiType = 'volcengine:nat/gateway:Gateway';
|
|
97
|
+
//# sourceMappingURL=gateway.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../nat/gateway.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aA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