@volcengine/pulumi 0.0.23 → 0.0.24
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/bandwidth_package/attachment.d.ts +71 -10
- package/bandwidth_package/attachment.js +71 -10
- package/bandwidth_package/attachment.js.map +1 -1
- package/bandwidth_package/bandwidthPackage.d.ts +4 -4
- package/bandwidth_package/bandwidthPackage.js +4 -4
- package/bandwidth_package/bandwidthPackages.d.ts +38 -4
- package/bandwidth_package/bandwidthPackages.js +38 -4
- package/bandwidth_package/bandwidthPackages.js.map +1 -1
- package/cdn/cdnCertificate.d.ts +110 -0
- package/cdn/cdnCertificate.js +93 -0
- package/cdn/cdnCertificate.js.map +1 -0
- package/cdn/cdnDomain.d.ts +199 -0
- package/cdn/cdnDomain.js +141 -0
- package/cdn/cdnDomain.js.map +1 -0
- package/cdn/certificates.d.ts +113 -0
- package/cdn/certificates.js +62 -0
- package/cdn/certificates.js.map +1 -0
- package/cdn/configs.d.ts +178 -0
- package/cdn/configs.js +146 -0
- package/cdn/configs.js.map +1 -0
- package/cdn/domains.d.ts +274 -0
- package/cdn/domains.js +155 -0
- package/cdn/domains.js.map +1 -0
- package/cdn/index.d.ts +21 -0
- package/cdn/index.js +44 -0
- package/cdn/index.js.map +1 -0
- package/cdn/sharedConfig.d.ts +194 -0
- package/cdn/sharedConfig.js +129 -0
- package/cdn/sharedConfig.js.map +1 -0
- package/cdn/sharedConfigs.d.ts +115 -0
- package/cdn/sharedConfigs.js +54 -0
- package/cdn/sharedConfigs.js.map +1 -0
- package/cen/attachInstance.d.ts +15 -8
- package/cen/attachInstance.js +15 -8
- package/cen/attachInstance.js.map +1 -1
- package/cen/attachInstances.d.ts +44 -4
- package/cen/attachInstances.js +44 -4
- package/cen/attachInstances.js.map +1 -1
- package/cen/bandwidthPackage.d.ts +11 -10
- package/cen/bandwidthPackage.js +8 -4
- package/cen/bandwidthPackage.js.map +1 -1
- package/cen/bandwidthPackageAssociate.d.ts +27 -3
- package/cen/bandwidthPackageAssociate.js +27 -3
- package/cen/bandwidthPackageAssociate.js.map +1 -1
- package/cen/bandwidthPackages.d.ts +42 -6
- package/cen/bandwidthPackages.js +42 -6
- package/cen/bandwidthPackages.js.map +1 -1
- package/cen/cen.d.ts +6 -2
- package/cen/cen.js +6 -2
- package/cen/cen.js.map +1 -1
- package/cen/cens.d.ts +30 -4
- package/cen/cens.js +30 -4
- package/cen/cens.js.map +1 -1
- package/cen/interRegionBandwidth.d.ts +35 -5
- package/cen/interRegionBandwidth.js +35 -5
- package/cen/interRegionBandwidth.js.map +1 -1
- package/cen/interRegionBandwidths.d.ts +78 -4
- package/cen/interRegionBandwidths.js +78 -4
- package/cen/interRegionBandwidths.js.map +1 -1
- package/cen/routeEntries.d.ts +0 -20
- package/cen/routeEntries.js +0 -20
- package/cen/routeEntries.js.map +1 -1
- package/cen/routeEntry.d.ts +0 -21
- package/cen/routeEntry.js +0 -21
- package/cen/routeEntry.js.map +1 -1
- package/cen/serviceRouteEntries.d.ts +98 -4
- package/cen/serviceRouteEntries.js +98 -4
- package/cen/serviceRouteEntries.js.map +1 -1
- package/cen/serviceRouteEntry.d.ts +31 -46
- package/cen/serviceRouteEntry.js +31 -46
- package/cen/serviceRouteEntry.js.map +1 -1
- package/cloud_identity/group.d.ts +126 -0
- package/cloud_identity/group.js +89 -0
- package/cloud_identity/group.js.map +1 -0
- package/cloud_identity/groups.d.ts +133 -0
- package/cloud_identity/groups.js +72 -0
- package/cloud_identity/groups.js.map +1 -0
- package/cloud_identity/index.d.ts +39 -0
- package/cloud_identity/index.js +70 -0
- package/cloud_identity/index.js.map +1 -0
- package/cloud_identity/permissionSet.d.ts +136 -0
- package/cloud_identity/permissionSet.js +95 -0
- package/cloud_identity/permissionSet.js.map +1 -0
- package/cloud_identity/permissionSetAssignment.d.ts +135 -0
- package/cloud_identity/permissionSetAssignment.js +118 -0
- package/cloud_identity/permissionSetAssignment.js.map +1 -0
- package/cloud_identity/permissionSetAssignments.d.ts +191 -0
- package/cloud_identity/permissionSetAssignments.js +119 -0
- package/cloud_identity/permissionSetAssignments.js.map +1 -0
- package/cloud_identity/permissionSetProvisioning.d.ts +133 -0
- package/cloud_identity/permissionSetProvisioning.js +120 -0
- package/cloud_identity/permissionSetProvisioning.js.map +1 -0
- package/cloud_identity/permissionSetProvisionings.d.ts +99 -0
- package/cloud_identity/permissionSetProvisionings.js +49 -0
- package/cloud_identity/permissionSetProvisionings.js.map +1 -0
- package/cloud_identity/permissionSets.d.ts +132 -0
- package/cloud_identity/permissionSets.js +96 -0
- package/cloud_identity/permissionSets.js.map +1 -0
- package/cloud_identity/user.d.ts +137 -0
- package/cloud_identity/user.js +91 -0
- package/cloud_identity/user.js.map +1 -0
- package/cloud_identity/userAttachment.d.ts +95 -0
- package/cloud_identity/userAttachment.js +92 -0
- package/cloud_identity/userAttachment.js.map +1 -0
- package/cloud_identity/userProvisioning.d.ts +171 -0
- package/cloud_identity/userProvisioning.js +98 -0
- package/cloud_identity/userProvisioning.js.map +1 -0
- package/cloud_identity/userProvisionings.d.ts +75 -0
- package/cloud_identity/userProvisionings.js +47 -0
- package/cloud_identity/userProvisionings.js.map +1 -0
- package/cloud_identity/users.d.ts +144 -0
- package/cloud_identity/users.js +75 -0
- package/cloud_identity/users.js.map +1 -0
- package/cloud_monitor/contact.d.ts +94 -0
- package/cloud_monitor/contact.js +78 -0
- package/cloud_monitor/contact.js.map +1 -0
- package/cloud_monitor/contactGroup.d.ts +97 -0
- package/cloud_monitor/contactGroup.js +78 -0
- package/cloud_monitor/contactGroup.js.map +1 -0
- package/cloud_monitor/contactGroups.d.ts +78 -0
- package/cloud_monitor/contactGroups.js +47 -0
- package/cloud_monitor/contactGroups.js.map +1 -0
- package/cloud_monitor/contacts.d.ts +81 -0
- package/cloud_monitor/contacts.js +52 -0
- package/cloud_monitor/contacts.js.map +1 -0
- package/cloud_monitor/eventRule.d.ts +250 -0
- package/cloud_monitor/eventRule.js +147 -0
- package/cloud_monitor/eventRule.js.map +1 -0
- package/cloud_monitor/eventRules.d.ts +90 -0
- package/cloud_monitor/eventRules.js +48 -0
- package/cloud_monitor/eventRules.js.map +1 -0
- package/cloud_monitor/index.d.ts +24 -0
- package/cloud_monitor/index.js +49 -0
- package/cloud_monitor/index.js.map +1 -0
- package/cloud_monitor/rule.d.ts +361 -0
- package/cloud_monitor/rule.js +201 -0
- package/cloud_monitor/rule.js.map +1 -0
- package/cloud_monitor/rules.d.ts +144 -0
- package/cloud_monitor/rules.js +53 -0
- package/cloud_monitor/rules.js.map +1 -0
- package/config/vars.d.ts +6 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/ebs/volume.d.ts +22 -0
- package/ebs/volume.js +10 -0
- package/ebs/volume.js.map +1 -1
- package/ebs/volumes.d.ts +13 -0
- package/ebs/volumes.js +1 -0
- package/ebs/volumes.js.map +1 -1
- package/ecs/instance.d.ts +15 -0
- package/ecs/instance.js +2 -0
- package/ecs/instance.js.map +1 -1
- package/ecs/state.d.ts +4 -4
- package/eip/address.d.ts +3 -3
- package/financial_relation/financialRelation.d.ts +111 -0
- package/financial_relation/financialRelation.js +73 -0
- package/financial_relation/financialRelation.js.map +1 -0
- package/financial_relation/financialRelations.d.ts +103 -0
- package/financial_relation/financialRelations.js +53 -0
- package/financial_relation/financialRelations.js.map +1 -0
- package/financial_relation/index.d.ts +6 -0
- package/financial_relation/index.js +25 -0
- package/financial_relation/index.js.map +1 -0
- package/iam/accessKeys.d.ts +83 -0
- package/iam/accessKeys.js +44 -0
- package/iam/accessKeys.js.map +1 -0
- package/iam/index.d.ts +9 -0
- package/iam/index.js +12 -1
- package/iam/index.js.map +1 -1
- package/iam/samlProvider.d.ts +144 -0
- package/iam/samlProvider.js +96 -0
- package/iam/samlProvider.js.map +1 -0
- package/iam/samlProviders.d.ts +62 -0
- package/iam/samlProviders.js +42 -0
- package/iam/samlProviders.js.map +1 -0
- package/index.d.ts +9 -1
- package/index.js +17 -1
- package/index.js.map +1 -1
- package/kafka/consumedPartitions.d.ts +235 -0
- package/kafka/consumedPartitions.js +190 -0
- package/kafka/consumedPartitions.js.map +1 -0
- package/kafka/consumedTopics.d.ts +238 -0
- package/kafka/consumedTopics.js +190 -0
- package/kafka/consumedTopics.js.map +1 -0
- package/kafka/group.d.ts +142 -0
- package/kafka/group.js +123 -0
- package/kafka/group.js.map +1 -0
- package/kafka/groups.d.ts +184 -0
- package/kafka/groups.js +136 -0
- package/kafka/groups.js.map +1 -0
- package/kafka/index.d.ts +42 -0
- package/kafka/index.js +69 -0
- package/kafka/index.js.map +1 -0
- package/kafka/instance.d.ts +322 -0
- package/kafka/instance.js +171 -0
- package/kafka/instance.js.map +1 -0
- package/kafka/instances.d.ts +205 -0
- package/kafka/instances.js +129 -0
- package/kafka/instances.js.map +1 -0
- package/kafka/publicAddress.d.ts +152 -0
- package/kafka/publicAddress.js +131 -0
- package/kafka/publicAddress.js.map +1 -0
- package/kafka/regions.d.ts +62 -0
- package/kafka/regions.js +42 -0
- package/kafka/regions.js.map +1 -0
- package/kafka/saslUser.d.ts +173 -0
- package/kafka/saslUser.js +135 -0
- package/kafka/saslUser.js.map +1 -0
- package/kafka/saslUsers.d.ts +183 -0
- package/kafka/saslUsers.js +143 -0
- package/kafka/saslUsers.js.map +1 -0
- package/kafka/topic.d.ts +216 -0
- package/kafka/topic.js +154 -0
- package/kafka/topic.js.map +1 -0
- package/kafka/topicPartitions.d.ts +240 -0
- package/kafka/topicPartitions.js +187 -0
- package/kafka/topicPartitions.js.map +1 -0
- package/kafka/topics.d.ts +260 -0
- package/kafka/topics.js +179 -0
- package/kafka/topics.js.map +1 -0
- package/kafka/zones.d.ts +75 -0
- package/kafka/zones.js +46 -0
- package/kafka/zones.js.map +1 -0
- package/nat/gateway.d.ts +4 -4
- package/organization/account.d.ts +183 -0
- package/organization/account.js +108 -0
- package/organization/account.js.map +1 -0
- package/organization/accounts.d.ts +105 -0
- package/organization/accounts.js +50 -0
- package/organization/accounts.js.map +1 -0
- package/organization/index.d.ts +30 -0
- package/organization/index.js +59 -0
- package/organization/index.js.map +1 -0
- package/organization/organization.d.ts +151 -0
- package/organization/organization.js +90 -0
- package/organization/organization.js.map +1 -0
- package/organization/organizations.d.ts +71 -0
- package/organization/organizations.js +43 -0
- package/organization/organizations.js.map +1 -0
- package/organization/serviceControlPolicies.d.ts +89 -0
- package/organization/serviceControlPolicies.js +50 -0
- package/organization/serviceControlPolicies.js.map +1 -0
- package/organization/serviceControlPolicy.d.ts +123 -0
- package/organization/serviceControlPolicy.js +92 -0
- package/organization/serviceControlPolicy.js.map +1 -0
- package/organization/serviceControlPolicyAttachment.d.ts +105 -0
- package/organization/serviceControlPolicyAttachment.js +95 -0
- package/organization/serviceControlPolicyAttachment.js.map +1 -0
- package/organization/serviceControlPolicyEnabler.d.ts +55 -0
- package/organization/serviceControlPolicyEnabler.js +66 -0
- package/organization/serviceControlPolicyEnabler.js.map +1 -0
- package/organization/unit.d.ts +129 -0
- package/organization/unit.js +89 -0
- package/organization/unit.js.map +1 -0
- package/organization/units.d.ts +62 -0
- package/organization/units.js +42 -0
- package/organization/units.js.map +1 -0
- package/package.json +2 -2
- package/privatelink/securityGroup.d.ts +60 -6
- package/privatelink/securityGroup.js +54 -3
- package/privatelink/securityGroup.js.map +1 -1
- package/privatelink/vpcEndpoint.d.ts +51 -12
- package/privatelink/vpcEndpoint.js +45 -9
- package/privatelink/vpcEndpoint.js.map +1 -1
- package/privatelink/vpcEndpointConnection.d.ts +60 -3
- package/privatelink/vpcEndpointConnection.js +60 -3
- package/privatelink/vpcEndpointConnection.js.map +1 -1
- package/privatelink/vpcEndpointConnections.d.ts +120 -6
- package/privatelink/vpcEndpointConnections.js +120 -6
- package/privatelink/vpcEndpointConnections.js.map +1 -1
- package/privatelink/vpcEndpointService.d.ts +33 -4
- package/privatelink/vpcEndpointService.js +33 -4
- package/privatelink/vpcEndpointService.js.map +1 -1
- package/privatelink/vpcEndpointServicePermission.d.ts +39 -6
- package/privatelink/vpcEndpointServicePermission.js +39 -6
- package/privatelink/vpcEndpointServicePermission.js.map +1 -1
- package/privatelink/vpcEndpointServicePermissions.d.ts +88 -4
- package/privatelink/vpcEndpointServicePermissions.js +88 -4
- package/privatelink/vpcEndpointServicePermissions.js.map +1 -1
- package/privatelink/vpcEndpointServiceResource.d.ts +55 -9
- package/privatelink/vpcEndpointServiceResource.js +55 -9
- package/privatelink/vpcEndpointServiceResource.js.map +1 -1
- package/privatelink/vpcEndpointServices.d.ts +84 -10
- package/privatelink/vpcEndpointServices.js +84 -10
- package/privatelink/vpcEndpointServices.js.map +1 -1
- package/privatelink/vpcEndpointZone.d.ts +50 -3
- package/privatelink/vpcEndpointZone.js +50 -3
- package/privatelink/vpcEndpointZone.js.map +1 -1
- package/privatelink/vpcEndpointZones.d.ts +108 -4
- package/privatelink/vpcEndpointZones.js +108 -4
- package/privatelink/vpcEndpointZones.js.map +1 -1
- package/privatelink/vpcEndpoints.d.ts +104 -4
- package/privatelink/vpcEndpoints.js +104 -4
- package/privatelink/vpcEndpoints.js.map +1 -1
- package/provider.d.ts +6 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/rds_mssql/backup.d.ts +101 -0
- package/rds_mssql/backup.js +77 -0
- package/rds_mssql/backup.js.map +1 -0
- package/rds_mssql/backups.d.ts +123 -0
- package/rds_mssql/backups.js +50 -0
- package/rds_mssql/backups.js.map +1 -0
- package/rds_mssql/index.d.ts +18 -0
- package/rds_mssql/index.js +39 -0
- package/rds_mssql/index.js.map +1 -0
- package/rds_mssql/instance.d.ts +256 -0
- package/rds_mssql/instance.js +149 -0
- package/rds_mssql/instance.js.map +1 -0
- package/rds_mssql/instances.d.ts +190 -0
- package/rds_mssql/instances.js +57 -0
- package/rds_mssql/instances.js.map +1 -0
- package/rds_mssql/regions.d.ts +62 -0
- package/rds_mssql/regions.js +42 -0
- package/rds_mssql/regions.js.map +1 -0
- package/rds_mssql/zones.d.ts +71 -0
- package/rds_mssql/zones.js +43 -0
- package/rds_mssql/zones.js.map +1 -0
- package/rds_postgresql/account.d.ts +141 -0
- package/rds_postgresql/account.js +104 -0
- package/rds_postgresql/account.js.map +1 -0
- package/rds_postgresql/accounts.d.ts +87 -0
- package/rds_postgresql/accounts.js +47 -0
- package/rds_postgresql/accounts.js.map +1 -0
- package/rds_postgresql/database.d.ts +140 -0
- package/rds_postgresql/database.js +91 -0
- package/rds_postgresql/database.js.map +1 -0
- package/rds_postgresql/databases.d.ts +89 -0
- package/rds_postgresql/databases.js +49 -0
- package/rds_postgresql/databases.js.map +1 -0
- package/rds_postgresql/index.d.ts +27 -0
- package/rds_postgresql/index.js +54 -0
- package/rds_postgresql/index.js.map +1 -0
- package/rds_postgresql/instance.d.ts +371 -0
- package/rds_postgresql/instance.js +180 -0
- package/rds_postgresql/instance.js.map +1 -0
- package/rds_postgresql/instanceReadonlyNode.d.ts +142 -0
- package/rds_postgresql/instanceReadonlyNode.js +126 -0
- package/rds_postgresql/instanceReadonlyNode.js.map +1 -0
- package/rds_postgresql/instances.d.ts +258 -0
- package/rds_postgresql/instances.js +134 -0
- package/rds_postgresql/instances.js.map +1 -0
- package/rds_postgresql/schema.d.ts +167 -0
- package/rds_postgresql/schema.js +150 -0
- package/rds_postgresql/schema.js.map +1 -0
- package/rds_postgresql/schemas.d.ts +219 -0
- package/rds_postgresql/schemas.js +179 -0
- package/rds_postgresql/schemas.js.map +1 -0
- package/redis/instance.d.ts +3 -3
- package/tls/index_.d.ts +3 -2
- package/tls/index_.js +3 -2
- package/tls/index_.js.map +1 -1
- package/tos/bucket.d.ts +30 -1
- package/tos/bucket.js +10 -1
- package/tos/bucket.js.map +1 -1
- package/tos/bucketObject.d.ts +29 -9
- package/tos/bucketObject.js +9 -6
- package/tos/bucketObject.js.map +1 -1
- package/tos/bucketPolicy.d.ts +2 -2
- package/tos/bucketPolicy.js +2 -2
- package/transit_router/bandwidthPackage.d.ts +29 -0
- package/transit_router/bandwidthPackage.js +9 -0
- package/transit_router/bandwidthPackage.js.map +1 -1
- package/transit_router/bandwidthPackages.d.ts +25 -0
- package/transit_router/bandwidthPackages.js +2 -0
- package/transit_router/bandwidthPackages.js.map +1 -1
- package/transit_router/directConnectGatewayAttachment.d.ts +35 -5
- package/transit_router/directConnectGatewayAttachment.js +23 -5
- package/transit_router/directConnectGatewayAttachment.js.map +1 -1
- package/transit_router/directConnectGatewayAttachments.d.ts +13 -0
- package/transit_router/directConnectGatewayAttachments.js +1 -0
- package/transit_router/directConnectGatewayAttachments.js.map +1 -1
- package/transit_router/grantRule.d.ts +8 -4
- package/transit_router/grantRule.js +8 -4
- package/transit_router/grantRule.js.map +1 -1
- package/transit_router/peerAttachment.d.ts +37 -6
- package/transit_router/peerAttachment.js +25 -6
- package/transit_router/peerAttachment.js.map +1 -1
- package/transit_router/peerAttachments.d.ts +13 -0
- package/transit_router/peerAttachments.js +1 -0
- package/transit_router/peerAttachments.js.map +1 -1
- package/transit_router/routeEntry.d.ts +72 -5
- package/transit_router/routeEntry.js +72 -5
- package/transit_router/routeEntry.js.map +1 -1
- package/transit_router/routeTable.d.ts +26 -4
- package/transit_router/routeTable.js +14 -4
- package/transit_router/routeTable.js.map +1 -1
- package/transit_router/routeTableAssociation.d.ts +69 -3
- package/transit_router/routeTableAssociation.js +69 -3
- package/transit_router/routeTableAssociation.js.map +1 -1
- package/transit_router/routeTablePropagation.d.ts +46 -3
- package/transit_router/routeTablePropagation.js +46 -3
- package/transit_router/routeTablePropagation.js.map +1 -1
- package/transit_router/routeTables.d.ts +39 -6
- package/transit_router/routeTables.js +27 -6
- package/transit_router/routeTables.js.map +1 -1
- package/transit_router/sharedTransitRouterState.d.ts +6 -2
- package/transit_router/sharedTransitRouterState.js +6 -2
- package/transit_router/sharedTransitRouterState.js.map +1 -1
- package/transit_router/transitRouter.d.ts +29 -0
- package/transit_router/transitRouter.js +9 -0
- package/transit_router/transitRouter.js.map +1 -1
- package/transit_router/transitRouters.d.ts +41 -6
- package/transit_router/transitRouters.js +18 -6
- package/transit_router/transitRouters.js.map +1 -1
- package/transit_router/vpcAttachment.d.ts +46 -8
- package/transit_router/vpcAttachment.js +36 -8
- package/transit_router/vpcAttachment.js.map +1 -1
- package/transit_router/vpcAttachments.d.ts +13 -0
- package/transit_router/vpcAttachments.js +1 -0
- package/transit_router/vpcAttachments.js.map +1 -1
- package/transit_router/vpnAttachment.d.ts +77 -5
- package/transit_router/vpnAttachment.js +65 -5
- package/transit_router/vpnAttachment.js.map +1 -1
- package/transit_router/vpnAttachments.d.ts +13 -0
- package/transit_router/vpnAttachments.js +1 -0
- package/transit_router/vpnAttachments.js.map +1 -1
- package/types/input.d.ts +998 -36
- package/types/output.d.ts +6092 -2672
- package/vke/cluster.d.ts +3 -14
- package/vke/cluster.js +0 -11
- package/vke/cluster.js.map +1 -1
- package/vke/clusters.d.ts +0 -22
- package/vke/clusters.js +0 -22
- package/vke/clusters.js.map +1 -1
- package/vke/kubeconfigs.d.ts +9 -0
- package/vke/kubeconfigs.js +1 -0
- package/vke/kubeconfigs.js.map +1 -1
- package/vpc/subnet.d.ts +14 -0
- package/vpc/subnet.js +2 -0
- package/vpc/subnet.js.map +1 -1
- package/vpc/subnets.d.ts +13 -0
- package/vpc/subnets.js +1 -0
- package/vpc/subnets.js.map +1 -1
|
@@ -5,6 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* ```typescript
|
|
7
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
8
9
|
* import * as volcengine from "@volcengine/pulumi";
|
|
9
10
|
*
|
|
10
11
|
* const fooAddress = new volcengine.eip.Address("fooAddress", {
|
|
@@ -13,24 +14,84 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
14
|
* isp: "BGP",
|
|
14
15
|
* description: "acc-test",
|
|
15
16
|
* projectName: "default",
|
|
16
|
-
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
17
17
|
* });
|
|
18
|
-
* const
|
|
19
|
-
* bandwidthPackageName: "acc-test",
|
|
18
|
+
* const ipv4BandwidthPackage = new volcengine.bandwidth_package.BandwidthPackage("ipv4BandwidthPackage", {
|
|
19
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
20
20
|
* billingType: "PostPaidByBandwidth",
|
|
21
21
|
* isp: "BGP",
|
|
22
|
-
* description: "
|
|
23
|
-
* bandwidth:
|
|
22
|
+
* description: "acc-test",
|
|
23
|
+
* bandwidth: 2,
|
|
24
24
|
* protocol: "IPv4",
|
|
25
25
|
* tags: [{
|
|
26
|
-
* key: "
|
|
27
|
-
* value: "
|
|
26
|
+
* key: "k1",
|
|
27
|
+
* value: "v1",
|
|
28
28
|
* }],
|
|
29
|
-
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
30
29
|
* });
|
|
31
|
-
* const
|
|
30
|
+
* const ipv4Attachment = new volcengine.bandwidth_package.Attachment("ipv4Attachment", {
|
|
32
31
|
* allocationId: fooAddress.id,
|
|
33
|
-
* bandwidthPackageId:
|
|
32
|
+
* bandwidthPackageId: ipv4BandwidthPackage.id,
|
|
33
|
+
* });
|
|
34
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
35
|
+
* const fooImages = volcengine.ecs.Images({
|
|
36
|
+
* osType: "Linux",
|
|
37
|
+
* visibility: "public",
|
|
38
|
+
* instanceTypeId: "ecs.g1.large",
|
|
39
|
+
* });
|
|
40
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
41
|
+
* vpcName: "acc-test-vpc",
|
|
42
|
+
* cidrBlock: "172.16.0.0/16",
|
|
43
|
+
* enableIpv6: true,
|
|
44
|
+
* });
|
|
45
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
46
|
+
* subnetName: "acc-test-subnet",
|
|
47
|
+
* cidrBlock: "172.16.0.0/24",
|
|
48
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
49
|
+
* vpcId: fooVpc.id,
|
|
50
|
+
* ipv6CidrBlock: 1,
|
|
51
|
+
* });
|
|
52
|
+
* const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
|
|
53
|
+
* vpcId: fooVpc.id,
|
|
54
|
+
* securityGroupName: "acc-test-security-group",
|
|
55
|
+
* });
|
|
56
|
+
* const fooIpv6Gateway = new volcengine.vpc.Ipv6Gateway("fooIpv6Gateway", {
|
|
57
|
+
* vpcId: fooVpc.id,
|
|
58
|
+
* description: "test",
|
|
59
|
+
* });
|
|
60
|
+
* const fooInstance = new volcengine.ecs.Instance("fooInstance", {
|
|
61
|
+
* imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
|
|
62
|
+
* instanceType: "ecs.g1.large",
|
|
63
|
+
* instanceName: "acc-test-ecs-name",
|
|
64
|
+
* password: "93f0cb0614Aab12",
|
|
65
|
+
* instanceChargeType: "PostPaid",
|
|
66
|
+
* systemVolumeType: "ESSD_PL0",
|
|
67
|
+
* systemVolumeSize: 40,
|
|
68
|
+
* subnetId: fooSubnet.id,
|
|
69
|
+
* securityGroupIds: [fooSecurityGroup.id],
|
|
70
|
+
* ipv6AddressCount: 1,
|
|
71
|
+
* });
|
|
72
|
+
* const fooIpv6Addresses = volcengine.vpc.Ipv6AddressesOutput({
|
|
73
|
+
* associatedInstanceId: fooInstance.id,
|
|
74
|
+
* });
|
|
75
|
+
* const fooIpv6AddressBandwidth = new volcengine.vpc.Ipv6AddressBandwidth("fooIpv6AddressBandwidth", {
|
|
76
|
+
* ipv6Address: fooIpv6Addresses.apply(fooIpv6Addresses => fooIpv6Addresses.ipv6Addresses?.[0]?.ipv6Address),
|
|
77
|
+
* billingType: "PostPaidByBandwidth",
|
|
78
|
+
* bandwidth: 5,
|
|
79
|
+
* });
|
|
80
|
+
* const ipv6 = new volcengine.bandwidth_package.BandwidthPackage("ipv6", {
|
|
81
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
82
|
+
* billingType: "PostPaidByBandwidth",
|
|
83
|
+
* isp: "BGP",
|
|
84
|
+
* description: "acc-test",
|
|
85
|
+
* bandwidth: 2,
|
|
86
|
+
* protocol: "IPv6",
|
|
87
|
+
* tags: [{
|
|
88
|
+
* key: "k1",
|
|
89
|
+
* value: "v1",
|
|
90
|
+
* }],
|
|
91
|
+
* });
|
|
92
|
+
* const fooAttachment = new volcengine.bandwidth_package.Attachment("fooAttachment", {
|
|
93
|
+
* allocationId: fooIpv6AddressBandwidth.id,
|
|
94
|
+
* bandwidthPackageId: ipv6.id,
|
|
34
95
|
* });
|
|
35
96
|
* ```
|
|
36
97
|
*
|
|
@@ -11,6 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ```typescript
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
14
15
|
* import * as volcengine from "@volcengine/pulumi";
|
|
15
16
|
*
|
|
16
17
|
* const fooAddress = new volcengine.eip.Address("fooAddress", {
|
|
@@ -19,24 +20,84 @@ const utilities = require("../utilities");
|
|
|
19
20
|
* isp: "BGP",
|
|
20
21
|
* description: "acc-test",
|
|
21
22
|
* projectName: "default",
|
|
22
|
-
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
23
23
|
* });
|
|
24
|
-
* const
|
|
25
|
-
* bandwidthPackageName: "acc-test",
|
|
24
|
+
* const ipv4BandwidthPackage = new volcengine.bandwidth_package.BandwidthPackage("ipv4BandwidthPackage", {
|
|
25
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
26
26
|
* billingType: "PostPaidByBandwidth",
|
|
27
27
|
* isp: "BGP",
|
|
28
|
-
* description: "
|
|
29
|
-
* bandwidth:
|
|
28
|
+
* description: "acc-test",
|
|
29
|
+
* bandwidth: 2,
|
|
30
30
|
* protocol: "IPv4",
|
|
31
31
|
* tags: [{
|
|
32
|
-
* key: "
|
|
33
|
-
* value: "
|
|
32
|
+
* key: "k1",
|
|
33
|
+
* value: "v1",
|
|
34
34
|
* }],
|
|
35
|
-
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
36
35
|
* });
|
|
37
|
-
* const
|
|
36
|
+
* const ipv4Attachment = new volcengine.bandwidth_package.Attachment("ipv4Attachment", {
|
|
38
37
|
* allocationId: fooAddress.id,
|
|
39
|
-
* bandwidthPackageId:
|
|
38
|
+
* bandwidthPackageId: ipv4BandwidthPackage.id,
|
|
39
|
+
* });
|
|
40
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
41
|
+
* const fooImages = volcengine.ecs.Images({
|
|
42
|
+
* osType: "Linux",
|
|
43
|
+
* visibility: "public",
|
|
44
|
+
* instanceTypeId: "ecs.g1.large",
|
|
45
|
+
* });
|
|
46
|
+
* const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
|
|
47
|
+
* vpcName: "acc-test-vpc",
|
|
48
|
+
* cidrBlock: "172.16.0.0/16",
|
|
49
|
+
* enableIpv6: true,
|
|
50
|
+
* });
|
|
51
|
+
* const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
|
|
52
|
+
* subnetName: "acc-test-subnet",
|
|
53
|
+
* cidrBlock: "172.16.0.0/24",
|
|
54
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
55
|
+
* vpcId: fooVpc.id,
|
|
56
|
+
* ipv6CidrBlock: 1,
|
|
57
|
+
* });
|
|
58
|
+
* const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
|
|
59
|
+
* vpcId: fooVpc.id,
|
|
60
|
+
* securityGroupName: "acc-test-security-group",
|
|
61
|
+
* });
|
|
62
|
+
* const fooIpv6Gateway = new volcengine.vpc.Ipv6Gateway("fooIpv6Gateway", {
|
|
63
|
+
* vpcId: fooVpc.id,
|
|
64
|
+
* description: "test",
|
|
65
|
+
* });
|
|
66
|
+
* const fooInstance = new volcengine.ecs.Instance("fooInstance", {
|
|
67
|
+
* imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
|
|
68
|
+
* instanceType: "ecs.g1.large",
|
|
69
|
+
* instanceName: "acc-test-ecs-name",
|
|
70
|
+
* password: "93f0cb0614Aab12",
|
|
71
|
+
* instanceChargeType: "PostPaid",
|
|
72
|
+
* systemVolumeType: "ESSD_PL0",
|
|
73
|
+
* systemVolumeSize: 40,
|
|
74
|
+
* subnetId: fooSubnet.id,
|
|
75
|
+
* securityGroupIds: [fooSecurityGroup.id],
|
|
76
|
+
* ipv6AddressCount: 1,
|
|
77
|
+
* });
|
|
78
|
+
* const fooIpv6Addresses = volcengine.vpc.Ipv6AddressesOutput({
|
|
79
|
+
* associatedInstanceId: fooInstance.id,
|
|
80
|
+
* });
|
|
81
|
+
* const fooIpv6AddressBandwidth = new volcengine.vpc.Ipv6AddressBandwidth("fooIpv6AddressBandwidth", {
|
|
82
|
+
* ipv6Address: fooIpv6Addresses.apply(fooIpv6Addresses => fooIpv6Addresses.ipv6Addresses?.[0]?.ipv6Address),
|
|
83
|
+
* billingType: "PostPaidByBandwidth",
|
|
84
|
+
* bandwidth: 5,
|
|
85
|
+
* });
|
|
86
|
+
* const ipv6 = new volcengine.bandwidth_package.BandwidthPackage("ipv6", {
|
|
87
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
88
|
+
* billingType: "PostPaidByBandwidth",
|
|
89
|
+
* isp: "BGP",
|
|
90
|
+
* description: "acc-test",
|
|
91
|
+
* bandwidth: 2,
|
|
92
|
+
* protocol: "IPv6",
|
|
93
|
+
* tags: [{
|
|
94
|
+
* key: "k1",
|
|
95
|
+
* value: "v1",
|
|
96
|
+
* }],
|
|
97
|
+
* });
|
|
98
|
+
* const fooAttachment = new volcengine.bandwidth_package.Attachment("fooAttachment", {
|
|
99
|
+
* allocationId: fooIpv6AddressBandwidth.id,
|
|
100
|
+
* bandwidthPackageId: ipv6.id,
|
|
40
101
|
* });
|
|
41
102
|
* ```
|
|
42
103
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../bandwidth_package/attachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../bandwidth_package/attachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;SACvF;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,kBAAkB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/D,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;aACrE;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;SACrF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjEL,gCAkEC;AApDG,gBAAgB;AACO,uBAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -10,15 +10,15 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* const foo = new volcengine.bandwidth_package.BandwidthPackage("foo", {
|
|
12
12
|
* bandwidth: 10,
|
|
13
|
-
* bandwidthPackageName: "
|
|
13
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
14
14
|
* billingType: "PostPaidByBandwidth",
|
|
15
|
-
* description: "
|
|
15
|
+
* description: "acc-test",
|
|
16
16
|
* isp: "BGP",
|
|
17
17
|
* protocol: "IPv4",
|
|
18
18
|
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
19
19
|
* tags: [{
|
|
20
|
-
* key: "
|
|
21
|
-
* value: "
|
|
20
|
+
* key: "k1",
|
|
21
|
+
* value: "v1",
|
|
22
22
|
* }],
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
@@ -14,15 +14,15 @@ const utilities = require("../utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* const foo = new volcengine.bandwidth_package.BandwidthPackage("foo", {
|
|
16
16
|
* bandwidth: 10,
|
|
17
|
-
* bandwidthPackageName: "
|
|
17
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
18
18
|
* billingType: "PostPaidByBandwidth",
|
|
19
|
-
* description: "
|
|
19
|
+
* description: "acc-test",
|
|
20
20
|
* isp: "BGP",
|
|
21
21
|
* protocol: "IPv4",
|
|
22
22
|
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
23
23
|
* tags: [{
|
|
24
|
-
* key: "
|
|
25
|
-
* value: "
|
|
24
|
+
* key: "k1",
|
|
25
|
+
* value: "v1",
|
|
26
26
|
* }],
|
|
27
27
|
* });
|
|
28
28
|
* ```
|
|
@@ -8,9 +8,26 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
11
12
|
*
|
|
12
|
-
* const
|
|
13
|
-
*
|
|
13
|
+
* const fooBandwidthPackage: volcengine.bandwidth_package.BandwidthPackage[] = [];
|
|
14
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
15
|
+
* fooBandwidthPackage.push(new volcengine.bandwidth_package.BandwidthPackage(`fooBandwidthPackage-${range.value}`, {
|
|
16
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
17
|
+
* billingType: "PostPaidByBandwidth",
|
|
18
|
+
* isp: "BGP",
|
|
19
|
+
* description: "acc-test",
|
|
20
|
+
* bandwidth: 2,
|
|
21
|
+
* protocol: "IPv4",
|
|
22
|
+
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
23
|
+
* tags: [{
|
|
24
|
+
* key: "k1",
|
|
25
|
+
* value: "v1",
|
|
26
|
+
* }],
|
|
27
|
+
* }));
|
|
28
|
+
* }
|
|
29
|
+
* const fooBandwidthPackages = volcengine.bandwidth_package.BandwidthPackagesOutput({
|
|
30
|
+
* ids: fooBandwidthPackage.map(__item => __item.id),
|
|
14
31
|
* });
|
|
15
32
|
* ```
|
|
16
33
|
*/
|
|
@@ -101,9 +118,26 @@ export interface BandwidthPackagesResult {
|
|
|
101
118
|
* ```typescript
|
|
102
119
|
* import * as pulumi from "@pulumi/pulumi";
|
|
103
120
|
* import * as volcengine from "@pulumi/volcengine";
|
|
121
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
104
122
|
*
|
|
105
|
-
* const
|
|
106
|
-
*
|
|
123
|
+
* const fooBandwidthPackage: volcengine.bandwidth_package.BandwidthPackage[] = [];
|
|
124
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
125
|
+
* fooBandwidthPackage.push(new volcengine.bandwidth_package.BandwidthPackage(`fooBandwidthPackage-${range.value}`, {
|
|
126
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
127
|
+
* billingType: "PostPaidByBandwidth",
|
|
128
|
+
* isp: "BGP",
|
|
129
|
+
* description: "acc-test",
|
|
130
|
+
* bandwidth: 2,
|
|
131
|
+
* protocol: "IPv4",
|
|
132
|
+
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
133
|
+
* tags: [{
|
|
134
|
+
* key: "k1",
|
|
135
|
+
* value: "v1",
|
|
136
|
+
* }],
|
|
137
|
+
* }));
|
|
138
|
+
* }
|
|
139
|
+
* const fooBandwidthPackages = volcengine.bandwidth_package.BandwidthPackagesOutput({
|
|
140
|
+
* ids: fooBandwidthPackage.map(__item => __item.id),
|
|
107
141
|
* });
|
|
108
142
|
* ```
|
|
109
143
|
*/
|
|
@@ -12,9 +12,26 @@ const utilities = require("../utilities");
|
|
|
12
12
|
* ```typescript
|
|
13
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
14
|
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
16
|
*
|
|
16
|
-
* const
|
|
17
|
-
*
|
|
17
|
+
* const fooBandwidthPackage: volcengine.bandwidth_package.BandwidthPackage[] = [];
|
|
18
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
19
|
+
* fooBandwidthPackage.push(new volcengine.bandwidth_package.BandwidthPackage(`fooBandwidthPackage-${range.value}`, {
|
|
20
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
21
|
+
* billingType: "PostPaidByBandwidth",
|
|
22
|
+
* isp: "BGP",
|
|
23
|
+
* description: "acc-test",
|
|
24
|
+
* bandwidth: 2,
|
|
25
|
+
* protocol: "IPv4",
|
|
26
|
+
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
27
|
+
* tags: [{
|
|
28
|
+
* key: "k1",
|
|
29
|
+
* value: "v1",
|
|
30
|
+
* }],
|
|
31
|
+
* }));
|
|
32
|
+
* }
|
|
33
|
+
* const fooBandwidthPackages = volcengine.bandwidth_package.BandwidthPackagesOutput({
|
|
34
|
+
* ids: fooBandwidthPackage.map(__item => __item.id),
|
|
18
35
|
* });
|
|
19
36
|
* ```
|
|
20
37
|
*/
|
|
@@ -41,9 +58,26 @@ exports.bandwidthPackages = bandwidthPackages;
|
|
|
41
58
|
* ```typescript
|
|
42
59
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
60
|
* import * as volcengine from "@pulumi/volcengine";
|
|
61
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
44
62
|
*
|
|
45
|
-
* const
|
|
46
|
-
*
|
|
63
|
+
* const fooBandwidthPackage: volcengine.bandwidth_package.BandwidthPackage[] = [];
|
|
64
|
+
* for (const range = {value: 0}; range.value < 2; range.value++) {
|
|
65
|
+
* fooBandwidthPackage.push(new volcengine.bandwidth_package.BandwidthPackage(`fooBandwidthPackage-${range.value}`, {
|
|
66
|
+
* bandwidthPackageName: "acc-test-bp",
|
|
67
|
+
* billingType: "PostPaidByBandwidth",
|
|
68
|
+
* isp: "BGP",
|
|
69
|
+
* description: "acc-test",
|
|
70
|
+
* bandwidth: 2,
|
|
71
|
+
* protocol: "IPv4",
|
|
72
|
+
* securityProtectionTypes: ["AntiDDoS_Enhanced"],
|
|
73
|
+
* tags: [{
|
|
74
|
+
* key: "k1",
|
|
75
|
+
* value: "v1",
|
|
76
|
+
* }],
|
|
77
|
+
* }));
|
|
78
|
+
* }
|
|
79
|
+
* const fooBandwidthPackages = volcengine.bandwidth_package.BandwidthPackagesOutput({
|
|
80
|
+
* ids: fooBandwidthPackage.map(__item => __item.id),
|
|
47
81
|
* });
|
|
48
82
|
* ```
|
|
49
83
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bandwidthPackages.js","sourceRoot":"","sources":["../../bandwidth_package/bandwidthPackages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"bandwidthPackages.js","sourceRoot":"","sources":["../../bandwidth_package/bandwidthPackages.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,8CAeC;AAkFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage cdn certificate
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
9
|
+
*
|
|
10
|
+
* const foo = new volcengine.cdn.CdnCertificate("foo", {
|
|
11
|
+
* certificate: "",
|
|
12
|
+
* desc: "tftest",
|
|
13
|
+
* privateKey: "",
|
|
14
|
+
* source: "cdn_cert_hosting",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* CdnCertificate can be imported using the id, e.g.
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import volcengine:cdn/cdnCertificate:CdnCertificate default resource_id
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* You can delete the certificate hosted on the content delivery network. You can configure the HTTPS module to associate the certificate and domain name through the domain_config field of volcengine_cdn_domain. If the certificate to be deleted is already associated with a domain name, the deletion will fail. To remove the association between the domain name and the certificate, you can disable the HTTPS function for the domain name in the Content Delivery Network console.
|
|
27
|
+
*/
|
|
28
|
+
export declare class CdnCertificate extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing CdnCertificate resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CdnCertificateState, opts?: pulumi.CustomResourceOptions): CdnCertificate;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of CdnCertificate. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is CdnCertificate;
|
|
44
|
+
/**
|
|
45
|
+
* Content of the specified certificate public key file. Line breaks in the content should be replaced with `\r\n`. The file extension for the certificate public key is `.crt` or `.pem`. The public key must include the complete certificate chain. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
46
|
+
*/
|
|
47
|
+
readonly certificate: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Note on the certificate.
|
|
50
|
+
*/
|
|
51
|
+
readonly desc: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The content of the specified certificate private key file. Replace line breaks in the content with `\r\n`. The file extension for the certificate private key is `.key` or `.pem`. The private key must be unencrypted. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
54
|
+
*/
|
|
55
|
+
readonly privateKey: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network.
|
|
58
|
+
*/
|
|
59
|
+
readonly source: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a CdnCertificate resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: CdnCertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering CdnCertificate resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface CdnCertificateState {
|
|
73
|
+
/**
|
|
74
|
+
* Content of the specified certificate public key file. Line breaks in the content should be replaced with `\r\n`. The file extension for the certificate public key is `.crt` or `.pem`. The public key must include the complete certificate chain. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
75
|
+
*/
|
|
76
|
+
certificate?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Note on the certificate.
|
|
79
|
+
*/
|
|
80
|
+
desc?: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The content of the specified certificate private key file. Replace line breaks in the content with `\r\n`. The file extension for the certificate private key is `.key` or `.pem`. The private key must be unencrypted. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
83
|
+
*/
|
|
84
|
+
privateKey?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network.
|
|
87
|
+
*/
|
|
88
|
+
source?: pulumi.Input<string>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* The set of arguments for constructing a CdnCertificate resource.
|
|
92
|
+
*/
|
|
93
|
+
export interface CdnCertificateArgs {
|
|
94
|
+
/**
|
|
95
|
+
* Content of the specified certificate public key file. Line breaks in the content should be replaced with `\r\n`. The file extension for the certificate public key is `.crt` or `.pem`. The public key must include the complete certificate chain. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
96
|
+
*/
|
|
97
|
+
certificate: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Note on the certificate.
|
|
100
|
+
*/
|
|
101
|
+
desc: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The content of the specified certificate private key file. Replace line breaks in the content with `\r\n`. The file extension for the certificate private key is `.key` or `.pem`. The private key must be unencrypted. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
|
|
104
|
+
*/
|
|
105
|
+
privateKey: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Specify the location for storing the certificate. The parameter can take the following values: `volcCertCenter`: indicates that the certificate will be stored in the certificate center.`cdnCertHosting`: indicates that the certificate will be hosted on the content delivery network.
|
|
108
|
+
*/
|
|
109
|
+
source: pulumi.Input<string>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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.CdnCertificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage cdn certificate
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
15
|
+
*
|
|
16
|
+
* const foo = new volcengine.cdn.CdnCertificate("foo", {
|
|
17
|
+
* certificate: "",
|
|
18
|
+
* desc: "tftest",
|
|
19
|
+
* privateKey: "",
|
|
20
|
+
* source: "cdn_cert_hosting",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ## Import
|
|
25
|
+
*
|
|
26
|
+
* CdnCertificate can be imported using the id, e.g.
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* $ pulumi import volcengine:cdn/cdnCertificate:CdnCertificate default resource_id
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* You can delete the certificate hosted on the content delivery network. You can configure the HTTPS module to associate the certificate and domain name through the domain_config field of volcengine_cdn_domain. If the certificate to be deleted is already associated with a domain name, the deletion will fail. To remove the association between the domain name and the certificate, you can disable the HTTPS function for the domain name in the Content Delivery Network console.
|
|
33
|
+
*/
|
|
34
|
+
class CdnCertificate extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing CdnCertificate 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 CdnCertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of CdnCertificate. 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'] === CdnCertificate.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["certificate"] = state ? state.certificate : undefined;
|
|
63
|
+
resourceInputs["desc"] = state ? state.desc : undefined;
|
|
64
|
+
resourceInputs["privateKey"] = state ? state.privateKey : undefined;
|
|
65
|
+
resourceInputs["source"] = state ? state.source : undefined;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
const args = argsOrState;
|
|
69
|
+
if ((!args || args.certificate === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'certificate'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.desc === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'desc'");
|
|
74
|
+
}
|
|
75
|
+
if ((!args || args.privateKey === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'privateKey'");
|
|
77
|
+
}
|
|
78
|
+
if ((!args || args.source === undefined) && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'source'");
|
|
80
|
+
}
|
|
81
|
+
resourceInputs["certificate"] = args ? args.certificate : undefined;
|
|
82
|
+
resourceInputs["desc"] = args ? args.desc : undefined;
|
|
83
|
+
resourceInputs["privateKey"] = args ? args.privateKey : undefined;
|
|
84
|
+
resourceInputs["source"] = args ? args.source : undefined;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(CdnCertificate.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.CdnCertificate = CdnCertificate;
|
|
91
|
+
/** @internal */
|
|
92
|
+
CdnCertificate.__pulumiType = 'volcengine:cdn/cdnCertificate:CdnCertificate';
|
|
93
|
+
//# sourceMappingURL=cdnCertificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdnCertificate.js","sourceRoot":"","sources":["../../cdn/cdnCertificate.ts"],"names":[],"mappings":"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"}
|