@volcengine/pulumi 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alb/acl.d.ts +1 -1
- package/alb/acl.js +1 -1
- package/alb/alb.d.ts +1 -1
- package/alb/alb.js +1 -1
- package/alb/cacertificate.d.ts +1 -1
- package/alb/cacertificate.js +1 -1
- package/alb/certificate.d.ts +1 -1
- package/alb/certificate.js +1 -1
- package/alb/customizedCfg.d.ts +1 -1
- package/alb/customizedCfg.js +1 -1
- package/alb/healthCheckTemplate.d.ts +1 -1
- package/alb/healthCheckTemplate.js +1 -1
- package/alb/listener.d.ts +1 -1
- package/alb/listener.js +1 -1
- package/alb/listenerDomainExtension.d.ts +1 -1
- package/alb/listenerDomainExtension.js +1 -1
- package/alb/rule.d.ts +1 -1
- package/alb/rule.js +1 -1
- package/alb/serverGroup.d.ts +1 -1
- package/alb/serverGroup.js +1 -1
- package/alb/serverGroupServer.d.ts +1 -1
- package/alb/serverGroupServer.js +1 -1
- package/autoscaling/scalingConfiguration.d.ts +1 -1
- package/autoscaling/scalingConfiguration.js +1 -1
- package/autoscaling/scalingConfigurationAttachment.d.ts +3 -2
- package/autoscaling/scalingConfigurationAttachment.js +3 -2
- package/autoscaling/scalingConfigurationAttachment.js.map +1 -1
- package/autoscaling/scalingGroup.d.ts +1 -1
- package/autoscaling/scalingGroup.js +1 -1
- package/autoscaling/scalingGroupEnabler.d.ts +1 -1
- package/autoscaling/scalingGroupEnabler.js +1 -1
- package/autoscaling/scalingInstanceAttachment.d.ts +3 -2
- package/autoscaling/scalingInstanceAttachment.js +3 -2
- package/autoscaling/scalingInstanceAttachment.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +1 -1
- package/autoscaling/scalingLifecycleHook.js +1 -1
- package/autoscaling/scalingPolicy.d.ts +1 -1
- package/autoscaling/scalingPolicy.js +1 -1
- package/bandwidth_package/attachment.d.ts +1 -1
- package/bandwidth_package/attachment.js +1 -1
- package/bandwidth_package/bandwidthPackage.d.ts +1 -1
- package/bandwidth_package/bandwidthPackage.js +1 -1
- package/bioos/cluster.d.ts +3 -3
- package/bioos/cluster.js +1 -1
- package/bioos/clusterBind.d.ts +1 -1
- package/bioos/clusterBind.js +1 -1
- package/bioos/workspace.d.ts +1 -1
- package/bioos/workspace.js +1 -1
- package/cdn/cdnCertificate.d.ts +5 -3
- package/cdn/cdnCertificate.js +5 -3
- package/cdn/cdnCertificate.js.map +1 -1
- package/cdn/cdnDomain.d.ts +5 -6
- package/cdn/cdnDomain.js +5 -6
- package/cdn/cdnDomain.js.map +1 -1
- package/cdn/configs.d.ts +6 -6
- package/cdn/configs.js +6 -6
- package/cdn/domains.d.ts +6 -6
- package/cdn/domains.js +6 -6
- package/cdn/sharedConfig.d.ts +1 -1
- package/cdn/sharedConfig.js +1 -1
- package/cen/attachInstance.d.ts +1 -1
- package/cen/attachInstance.js +1 -1
- package/cen/bandwidthPackage.d.ts +1 -1
- package/cen/bandwidthPackage.js +1 -1
- package/cen/bandwidthPackageAssociate.d.ts +1 -1
- package/cen/bandwidthPackageAssociate.js +1 -1
- package/cen/cen.d.ts +1 -1
- package/cen/cen.js +1 -1
- package/cen/grantInstance.d.ts +1 -1
- package/cen/grantInstance.js +1 -1
- package/cen/interRegionBandwidth.d.ts +1 -1
- package/cen/interRegionBandwidth.js +1 -1
- package/cen/routeEntry.d.ts +1 -2
- package/cen/routeEntry.js +1 -2
- package/cen/routeEntry.js.map +1 -1
- package/cen/serviceRouteEntry.d.ts +1 -1
- package/cen/serviceRouteEntry.js +1 -1
- package/clb/acl.d.ts +1 -1
- package/clb/acl.js +1 -1
- package/clb/aclEntry.d.ts +1 -1
- package/clb/aclEntry.js +1 -1
- package/clb/certificate.d.ts +1 -1
- package/clb/certificate.js +1 -1
- package/clb/clb.d.ts +1 -1
- package/clb/clb.js +1 -1
- package/clb/listener.d.ts +4 -4
- package/clb/listener.js +1 -1
- package/clb/rule.d.ts +4 -2
- package/clb/rule.js +4 -2
- package/clb/rule.js.map +1 -1
- package/clb/serverGroup.d.ts +1 -1
- package/clb/serverGroup.js +1 -1
- package/clb/serverGroupServer.d.ts +1 -1
- package/clb/serverGroupServer.js +1 -1
- package/cloud_identity/group.d.ts +1 -1
- package/cloud_identity/group.js +1 -1
- package/cloud_identity/permissionSet.d.ts +1 -1
- package/cloud_identity/permissionSet.js +1 -1
- package/cloud_identity/permissionSetAssignment.d.ts +1 -1
- package/cloud_identity/permissionSetAssignment.js +1 -1
- package/cloud_identity/permissionSetProvisioning.d.ts +1 -1
- package/cloud_identity/permissionSetProvisioning.js +1 -1
- package/cloud_identity/user.d.ts +1 -1
- package/cloud_identity/user.js +1 -1
- package/cloud_identity/userAttachment.d.ts +1 -1
- package/cloud_identity/userAttachment.js +1 -1
- package/cloud_identity/userProvisioning.d.ts +1 -2
- package/cloud_identity/userProvisioning.js +1 -2
- package/cloud_identity/userProvisioning.js.map +1 -1
- package/cloud_monitor/contact.d.ts +1 -1
- package/cloud_monitor/contact.js +1 -1
- package/cloud_monitor/contactGroup.d.ts +1 -1
- package/cloud_monitor/contactGroup.js +1 -1
- package/cloud_monitor/eventRule.d.ts +1 -1
- package/cloud_monitor/eventRule.js +1 -1
- package/cloud_monitor/rule.d.ts +1 -1
- package/cloud_monitor/rule.js +1 -1
- package/cloudfs/access.d.ts +1 -1
- package/cloudfs/access.js +1 -1
- package/cloudfs/fileSystem.d.ts +1 -1
- package/cloudfs/fileSystem.js +1 -1
- package/cloudfs/namespace.d.ts +1 -1
- package/cloudfs/namespace.js +1 -1
- package/config/vars.d.ts +0 -4
- package/config/vars.js.map +1 -1
- package/cr/endpoint.d.ts +1 -1
- package/cr/endpoint.js +1 -1
- package/cr/namespace.d.ts +1 -1
- package/cr/namespace.js +1 -1
- package/cr/registry.d.ts +1 -1
- package/cr/registry.js +1 -1
- package/cr/repository.d.ts +1 -1
- package/cr/repository.js +1 -1
- package/cr/state.d.ts +1 -1
- package/cr/state.js +1 -1
- package/cr/tag.d.ts +1 -1
- package/cr/tag.js +1 -1
- package/cr/vpcEndpoint.d.ts +1 -1
- package/cr/vpcEndpoint.js +1 -1
- package/direct_connect/bgpPeer.d.ts +1 -1
- package/direct_connect/bgpPeer.js +1 -1
- package/direct_connect/connection.d.ts +1 -1
- package/direct_connect/connection.js +1 -1
- package/direct_connect/gateway.d.ts +1 -1
- package/direct_connect/gateway.js +1 -1
- package/direct_connect/gatewayRoute.d.ts +1 -1
- package/direct_connect/gatewayRoute.js +1 -1
- package/direct_connect/virtualInterface.d.ts +1 -1
- package/direct_connect/virtualInterface.js +1 -1
- package/ebs/autoSnapshotPolicies.d.ts +153 -0
- package/ebs/autoSnapshotPolicies.js +94 -0
- package/ebs/autoSnapshotPolicies.js.map +1 -0
- package/ebs/autoSnapshotPolicy.d.ts +190 -0
- package/ebs/autoSnapshotPolicy.js +114 -0
- package/ebs/autoSnapshotPolicy.js.map +1 -0
- package/ebs/autoSnapshotPolicyAttachment.d.ts +112 -0
- package/ebs/autoSnapshotPolicyAttachment.js +109 -0
- package/ebs/autoSnapshotPolicyAttachment.js.map +1 -0
- package/ebs/index.d.ts +21 -0
- package/ebs/index.js +30 -1
- package/ebs/index.js.map +1 -1
- package/ebs/snapshot.d.ts +223 -0
- package/ebs/snapshot.js +124 -0
- package/ebs/snapshot.js.map +1 -0
- package/ebs/snapshotGroup.d.ts +220 -0
- package/ebs/snapshotGroup.js +154 -0
- package/ebs/snapshotGroup.js.map +1 -0
- package/ebs/snapshotGroups.d.ts +268 -0
- package/ebs/snapshotGroups.js +188 -0
- package/ebs/snapshotGroups.js.map +1 -0
- package/ebs/snapshots.d.ts +182 -0
- package/ebs/snapshots.js +104 -0
- package/ebs/snapshots.js.map +1 -0
- package/ebs/volume.d.ts +37 -1
- package/ebs/volume.js +7 -1
- package/ebs/volume.js.map +1 -1
- package/ebs/volumeAttach.d.ts +1 -1
- package/ebs/volumeAttach.js +1 -1
- package/ecs/command.d.ts +1 -1
- package/ecs/command.js +1 -1
- package/ecs/deploymentSet.d.ts +1 -1
- package/ecs/deploymentSet.js +1 -1
- package/ecs/deploymentSetAssociate.d.ts +1 -1
- package/ecs/deploymentSetAssociate.js +1 -1
- package/ecs/hpcCluster.d.ts +94 -0
- package/ecs/hpcCluster.js +78 -0
- package/ecs/hpcCluster.js.map +1 -0
- package/ecs/hpcClusters.d.ts +87 -0
- package/ecs/hpcClusters.js +48 -0
- package/ecs/hpcClusters.js.map +1 -0
- package/ecs/iamRoleAttachment.d.ts +1 -1
- package/ecs/iamRoleAttachment.js +1 -1
- package/ecs/image.d.ts +271 -0
- package/ecs/image.js +121 -0
- package/ecs/image.js.map +1 -0
- package/ecs/imageImport.d.ts +264 -0
- package/ecs/imageImport.js +124 -0
- package/ecs/imageImport.js.map +1 -0
- package/ecs/imageSharePermission.d.ts +93 -0
- package/ecs/imageSharePermission.js +90 -0
- package/ecs/imageSharePermission.js.map +1 -0
- package/ecs/imageSharePermissions.d.ts +75 -0
- package/ecs/imageSharePermissions.js +46 -0
- package/ecs/imageSharePermissions.js.map +1 -0
- package/ecs/images.d.ts +46 -0
- package/ecs/images.js +4 -0
- package/ecs/images.js.map +1 -1
- package/ecs/index.d.ts +18 -0
- package/ecs/index.js +27 -1
- package/ecs/index.js.map +1 -1
- package/ecs/instance.d.ts +7 -6
- package/ecs/instance.js +3 -2
- package/ecs/instance.js.map +1 -1
- package/ecs/instanceTypes.d.ts +9 -0
- package/ecs/instanceTypes.js +1 -0
- package/ecs/instanceTypes.js.map +1 -1
- package/ecs/instances.d.ts +39 -0
- package/ecs/instances.js +4 -0
- package/ecs/instances.js.map +1 -1
- package/ecs/invocation.d.ts +1 -1
- package/ecs/invocation.js +1 -1
- package/ecs/keyPair.d.ts +1 -1
- package/ecs/keyPair.js +1 -1
- package/ecs/keyPairAssociate.d.ts +6 -2
- package/ecs/keyPairAssociate.js +6 -2
- package/ecs/keyPairAssociate.js.map +1 -1
- package/ecs/launchTemplate.d.ts +4 -2
- package/ecs/launchTemplate.js +4 -2
- package/ecs/launchTemplate.js.map +1 -1
- package/ecs/state.d.ts +1 -1
- package/ecs/state.js +1 -1
- package/eip/address.d.ts +1 -1
- package/eip/address.js +1 -1
- package/eip/associate.d.ts +1 -1
- package/eip/associate.js +1 -1
- package/escloud/instance.d.ts +1 -1
- package/escloud/instance.js +1 -1
- package/financial_relation/financialRelation.d.ts +1 -2
- package/financial_relation/financialRelation.js +1 -2
- package/financial_relation/financialRelation.js.map +1 -1
- package/iam/loginProfile.d.ts +1 -1
- package/iam/loginProfile.js +1 -1
- package/iam/policy.d.ts +1 -1
- package/iam/policy.js +1 -1
- package/iam/role.d.ts +1 -1
- package/iam/role.js +1 -1
- package/iam/rolePolicyAttachment.d.ts +1 -1
- package/iam/rolePolicyAttachment.js +1 -1
- package/iam/samlProvider.d.ts +1 -1
- package/iam/samlProvider.js +1 -1
- package/iam/user.d.ts +1 -1
- package/iam/user.js +1 -1
- package/iam/userGroup.d.ts +1 -1
- package/iam/userGroup.js +1 -1
- package/iam/userGroupAttachment.d.ts +1 -1
- package/iam/userGroupAttachment.js +1 -1
- package/iam/userGroupPolicyAttachment.d.ts +1 -1
- package/iam/userGroupPolicyAttachment.js +1 -1
- package/iam/userPolicyAttachment.d.ts +1 -1
- package/iam/userPolicyAttachment.js +1 -1
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/kafka/group.d.ts +1 -1
- package/kafka/group.js +1 -1
- package/kafka/instance.d.ts +1 -1
- package/kafka/instance.js +1 -1
- package/kafka/publicAddress.d.ts +1 -1
- package/kafka/publicAddress.js +1 -1
- package/kafka/saslUser.d.ts +1 -1
- package/kafka/saslUser.js +1 -1
- package/kafka/topic.d.ts +1 -1
- package/kafka/topic.js +1 -1
- package/mongodb/endpoint.d.ts +5 -2
- package/mongodb/endpoint.js +5 -2
- package/mongodb/endpoint.js.map +1 -1
- package/mongodb/instance.d.ts +1 -1
- package/mongodb/instance.js +1 -1
- package/mongodb/instanceParameter.d.ts +1 -1
- package/mongodb/instanceParameter.js +1 -1
- package/mongodb/mongoAllowList.d.ts +1 -1
- package/mongodb/mongoAllowList.js +1 -1
- package/mongodb/mongoAllowListAssociate.d.ts +1 -1
- package/mongodb/mongoAllowListAssociate.js +1 -1
- package/mongodb/sslState.d.ts +1 -1
- package/mongodb/sslState.js +1 -1
- package/nas/fileSystem.d.ts +1 -1
- package/nas/fileSystem.js +1 -1
- package/nas/mountPoint.d.ts +1 -2
- package/nas/mountPoint.js +1 -2
- package/nas/mountPoint.js.map +1 -1
- package/nas/permissionGroup.d.ts +1 -1
- package/nas/permissionGroup.js +1 -1
- package/nas/snapshot.d.ts +1 -1
- package/nas/snapshot.js +1 -1
- package/nat/dnatEntry.d.ts +1 -1
- package/nat/dnatEntry.js +1 -1
- package/nat/gateway.d.ts +1 -1
- package/nat/gateway.js +1 -1
- package/nat/snatEntry.d.ts +1 -1
- package/nat/snatEntry.js +1 -1
- package/organization/account.d.ts +1 -1
- package/organization/account.js +1 -1
- package/organization/organization.d.ts +1 -1
- package/organization/organization.js +1 -1
- package/organization/serviceControlPolicy.d.ts +1 -1
- package/organization/serviceControlPolicy.js +1 -1
- package/organization/serviceControlPolicyAttachment.d.ts +1 -1
- package/organization/serviceControlPolicyAttachment.js +1 -1
- package/organization/serviceControlPolicyEnabler.d.ts +1 -1
- package/organization/serviceControlPolicyEnabler.js +1 -1
- package/organization/unit.d.ts +1 -1
- package/organization/unit.js +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/private_zone/privateZone.d.ts +1 -1
- package/private_zone/privateZone.js +1 -1
- package/private_zone/record.d.ts +1 -2
- package/private_zone/record.js +1 -2
- package/private_zone/record.js.map +1 -1
- package/private_zone/recordWeightEnabler.d.ts +1 -2
- package/private_zone/recordWeightEnabler.js +1 -2
- package/private_zone/recordWeightEnabler.js.map +1 -1
- package/private_zone/resolverEndpoint.d.ts +1 -1
- package/private_zone/resolverEndpoint.js +1 -1
- package/private_zone/resolverRule.d.ts +1 -1
- package/private_zone/resolverRule.js +1 -1
- package/private_zone/userVpcAuthorization.d.ts +1 -1
- package/private_zone/userVpcAuthorization.js +1 -1
- package/privatelink/securityGroup.d.ts +1 -1
- package/privatelink/securityGroup.js +1 -1
- package/privatelink/vpcEndpoint.d.ts +1 -1
- package/privatelink/vpcEndpoint.js +1 -1
- package/privatelink/vpcEndpointConnection.d.ts +1 -1
- package/privatelink/vpcEndpointConnection.js +1 -1
- package/privatelink/vpcEndpointService.d.ts +3 -3
- package/privatelink/vpcEndpointService.js +3 -3
- package/privatelink/vpcEndpointServicePermission.d.ts +1 -1
- package/privatelink/vpcEndpointServicePermission.js +1 -1
- package/privatelink/vpcEndpointServiceResource.d.ts +3 -3
- package/privatelink/vpcEndpointServiceResource.js +3 -3
- package/privatelink/vpcEndpointZone.d.ts +1 -1
- package/privatelink/vpcEndpointZone.js +1 -1
- package/rds/account.d.ts +1 -1
- package/rds/account.js +1 -1
- package/rds/accountPrivilege.d.ts +1 -1
- package/rds/accountPrivilege.js +1 -1
- package/rds/database.d.ts +1 -1
- package/rds/database.js +1 -1
- package/rds/instance.d.ts +4 -4
- package/rds/instance.js +1 -1
- package/rds/ipList.d.ts +1 -1
- package/rds/ipList.js +1 -1
- package/rds/parameterTemplate.d.ts +1 -1
- package/rds/parameterTemplate.js +1 -1
- package/rds_mssql/backup.d.ts +1 -1
- package/rds_mssql/backup.js +1 -1
- package/rds_mssql/instance.d.ts +1 -1
- package/rds_mssql/instance.js +1 -1
- package/rds_mysql/account.d.ts +1 -1
- package/rds_mysql/account.js +1 -1
- package/rds_mysql/allowlist.d.ts +1 -1
- package/rds_mysql/allowlist.js +1 -1
- package/rds_mysql/allowlistAssociate.d.ts +1 -1
- package/rds_mysql/allowlistAssociate.js +1 -1
- package/rds_mysql/database.d.ts +1 -1
- package/rds_mysql/database.js +1 -1
- package/rds_mysql/instance.d.ts +1 -1
- package/rds_mysql/instance.js +1 -1
- package/rds_mysql/instanceReadonlyNode.d.ts +1 -1
- package/rds_mysql/instanceReadonlyNode.js +1 -1
- package/rds_postgresql/account.d.ts +1 -1
- package/rds_postgresql/account.js +1 -1
- package/rds_postgresql/allowlist.d.ts +1 -1
- package/rds_postgresql/allowlist.js +1 -1
- package/rds_postgresql/allowlistAssociate.d.ts +1 -1
- package/rds_postgresql/allowlistAssociate.js +1 -1
- package/rds_postgresql/database.d.ts +1 -1
- package/rds_postgresql/database.js +1 -1
- package/rds_postgresql/instance.d.ts +1 -1
- package/rds_postgresql/instance.js +1 -1
- package/rds_postgresql/instanceReadonlyNode.d.ts +1 -1
- package/rds_postgresql/instanceReadonlyNode.js +1 -1
- package/rds_postgresql/schema.d.ts +1 -1
- package/rds_postgresql/schema.js +1 -1
- package/rds_v2/rdsInstanceV2.d.ts +4 -4
- package/rds_v2/rdsInstanceV2.js +1 -1
- package/redis/account.d.ts +1 -1
- package/redis/account.js +1 -1
- package/redis/allowList.d.ts +1 -1
- package/redis/allowList.js +1 -1
- package/redis/allowListAssociate.d.ts +1 -1
- package/redis/allowListAssociate.js +1 -1
- package/redis/backup.d.ts +1 -1
- package/redis/backup.js +1 -1
- package/redis/backupRestore.d.ts +1 -1
- package/redis/backupRestore.js +1 -1
- package/redis/continuousBackup.d.ts +1 -1
- package/redis/continuousBackup.js +1 -1
- package/redis/endpoint.d.ts +1 -1
- package/redis/endpoint.js +1 -1
- package/redis/instance.d.ts +87 -17
- package/redis/instance.js +26 -10
- package/redis/instance.js.map +1 -1
- package/redis/state.d.ts +1 -1
- package/redis/state.js +1 -1
- package/tls/alarm.d.ts +1 -1
- package/tls/alarm.js +1 -1
- package/tls/alarmNotifyGroup.d.ts +1 -1
- package/tls/alarmNotifyGroup.js +1 -1
- package/tls/host.d.ts +1 -1
- package/tls/host.js +1 -1
- package/tls/hostGroup.d.ts +2 -2
- package/tls/hostGroup.js +1 -1
- package/tls/index_.d.ts +1 -1
- package/tls/index_.js +1 -1
- package/tls/kafkaConsumer.d.ts +1 -1
- package/tls/kafkaConsumer.js +1 -1
- package/tls/project.d.ts +1 -1
- package/tls/project.js +1 -1
- package/tls/projects.d.ts +2 -6
- package/tls/projects.js +2 -6
- package/tls/projects.js.map +1 -1
- package/tls/rule.d.ts +1 -1
- package/tls/rule.js +1 -1
- package/tls/ruleApplier.d.ts +1 -1
- package/tls/ruleApplier.js +1 -1
- package/tls/topic.d.ts +34 -4
- package/tls/topic.js +5 -1
- package/tls/topic.js.map +1 -1
- package/tos/bucket.d.ts +1 -1
- package/tos/bucket.js +1 -1
- package/tos/bucketObject.d.ts +1 -1
- package/tos/bucketObject.js +1 -1
- package/tos/bucketPolicy.d.ts +1 -1
- package/tos/bucketPolicy.js +1 -1
- package/transit_router/bandwidthPackage.d.ts +27 -1
- package/transit_router/bandwidthPackage.js +7 -1
- package/transit_router/bandwidthPackage.js.map +1 -1
- package/transit_router/bandwidthPackages.d.ts +24 -0
- package/transit_router/bandwidthPackages.js +2 -0
- package/transit_router/bandwidthPackages.js.map +1 -1
- package/transit_router/directConnectGatewayAttachment.d.ts +1 -1
- package/transit_router/directConnectGatewayAttachment.js +1 -1
- package/transit_router/grantRule.d.ts +1 -1
- package/transit_router/grantRule.js +1 -1
- package/transit_router/peerAttachment.d.ts +1 -1
- package/transit_router/peerAttachment.js +1 -1
- package/transit_router/routeEntry.d.ts +9 -22
- package/transit_router/routeEntry.js +3 -22
- package/transit_router/routeEntry.js.map +1 -1
- package/transit_router/routeTable.d.ts +1 -1
- package/transit_router/routeTable.js +1 -1
- package/transit_router/routeTableAssociation.d.ts +1 -22
- package/transit_router/routeTableAssociation.js +1 -22
- package/transit_router/routeTableAssociation.js.map +1 -1
- package/transit_router/routeTablePropagation.d.ts +1 -1
- package/transit_router/routeTablePropagation.js +1 -1
- package/transit_router/sharedTransitRouterState.d.ts +17 -5
- package/transit_router/sharedTransitRouterState.js +14 -2
- package/transit_router/sharedTransitRouterState.js.map +1 -1
- package/transit_router/transitRouter.d.ts +9 -1
- package/transit_router/transitRouter.js +3 -1
- package/transit_router/transitRouter.js.map +1 -1
- package/transit_router/vpcAttachment.d.ts +1 -1
- package/transit_router/vpcAttachment.js +1 -1
- package/transit_router/vpnAttachment.d.ts +1 -22
- package/transit_router/vpnAttachment.js +1 -22
- package/transit_router/vpnAttachment.js.map +1 -1
- package/types/input.d.ts +281 -22
- package/types/output.d.ts +6291 -5141
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/vedb_mysql/account.d.ts +191 -0
- package/vedb_mysql/account.js +137 -0
- package/vedb_mysql/account.js.map +1 -0
- package/vedb_mysql/accounts.d.ts +194 -0
- package/vedb_mysql/accounts.js +146 -0
- package/vedb_mysql/accounts.js.map +1 -0
- package/vedb_mysql/allowlist.d.ts +120 -0
- package/vedb_mysql/allowlist.js +91 -0
- package/vedb_mysql/allowlist.js.map +1 -0
- package/vedb_mysql/allowlistAssociate.d.ts +125 -0
- package/vedb_mysql/allowlistAssociate.js +122 -0
- package/vedb_mysql/allowlistAssociate.js.map +1 -0
- package/vedb_mysql/allowlists.d.ts +190 -0
- package/vedb_mysql/allowlists.js +142 -0
- package/vedb_mysql/allowlists.js.map +1 -0
- package/vedb_mysql/backup.d.ts +153 -0
- package/vedb_mysql/backup.js +119 -0
- package/vedb_mysql/backup.js.map +1 -0
- package/vedb_mysql/backups.d.ts +220 -0
- package/vedb_mysql/backups.js +133 -0
- package/vedb_mysql/backups.js.map +1 -0
- package/vedb_mysql/database.d.ts +136 -0
- package/vedb_mysql/database.js +114 -0
- package/vedb_mysql/database.js.map +1 -0
- package/vedb_mysql/databases.d.ts +175 -0
- package/vedb_mysql/databases.js +124 -0
- package/vedb_mysql/databases.js.map +1 -0
- package/vedb_mysql/endpoint.d.ts +329 -0
- package/vedb_mysql/endpoint.js +152 -0
- package/vedb_mysql/endpoint.js.map +1 -0
- package/vedb_mysql/endpointPublicAddress.d.ts +154 -0
- package/vedb_mysql/endpointPublicAddress.js +144 -0
- package/vedb_mysql/endpointPublicAddress.js.map +1 -0
- package/vedb_mysql/endpoints.d.ts +202 -0
- package/vedb_mysql/endpoints.js +154 -0
- package/vedb_mysql/endpoints.js.map +1 -0
- package/vedb_mysql/index.d.ts +42 -0
- package/vedb_mysql/index.js +75 -0
- package/vedb_mysql/index.js.map +1 -0
- package/vedb_mysql/instance.d.ts +388 -0
- package/vedb_mysql/instance.js +140 -0
- package/vedb_mysql/instance.js.map +1 -0
- package/vedb_mysql/instances.d.ts +258 -0
- package/vedb_mysql/instances.js +123 -0
- package/vedb_mysql/instances.js.map +1 -0
- package/veenedge/cloudServer.d.ts +7 -3
- package/veenedge/cloudServer.js +7 -3
- package/veenedge/cloudServer.js.map +1 -1
- package/veenedge/instance.d.ts +1 -1
- package/veenedge/instance.js +1 -1
- package/veenedge/vpc.d.ts +3 -3
- package/veenedge/vpc.js +3 -3
- package/vepfs/fileSystem.d.ts +1 -1
- package/vepfs/fileSystem.js +1 -1
- package/vepfs/fileset.d.ts +1 -1
- package/vepfs/fileset.js +1 -1
- package/vepfs/mountService.d.ts +1 -1
- package/vepfs/mountService.js +1 -1
- package/vepfs/mountServiceAttachment.d.ts +1 -1
- package/vepfs/mountServiceAttachment.js +1 -1
- package/vke/addon.d.ts +8 -2
- package/vke/addon.js +8 -2
- package/vke/addon.js.map +1 -1
- package/vke/cluster.d.ts +1 -1
- package/vke/cluster.js +1 -1
- package/vke/defaultNodePool.d.ts +1 -1
- package/vke/defaultNodePool.js +1 -1
- package/vke/kubeconfig.d.ts +1 -1
- package/vke/kubeconfig.js +1 -1
- package/vke/node.d.ts +1 -1
- package/vke/node.js +1 -1
- package/vke/nodePool.d.ts +1 -1
- package/vke/nodePool.js +1 -1
- package/vpc/haVip.d.ts +1 -1
- package/vpc/haVip.js +1 -1
- package/vpc/haVipAssociate.d.ts +1 -1
- package/vpc/haVipAssociate.js +1 -1
- package/vpc/ipv6AddressBandwidth.d.ts +1 -1
- package/vpc/ipv6AddressBandwidth.js +1 -1
- package/vpc/ipv6Gateway.d.ts +1 -1
- package/vpc/ipv6Gateway.js +1 -1
- package/vpc/networkAcl.d.ts +31 -11
- package/vpc/networkAcl.js +21 -11
- package/vpc/networkAcl.js.map +1 -1
- package/vpc/networkAclAssociate.d.ts +1 -1
- package/vpc/networkAclAssociate.js +1 -1
- package/vpc/networkAcls.d.ts +25 -0
- package/vpc/networkAcls.js +2 -0
- package/vpc/networkAcls.js.map +1 -1
- package/vpc/networkInterface.d.ts +1 -1
- package/vpc/networkInterface.js +1 -1
- package/vpc/networkInterfaceAttach.d.ts +1 -1
- package/vpc/networkInterfaceAttach.js +1 -1
- package/vpc/prefixList.d.ts +1 -1
- package/vpc/prefixList.js +1 -1
- package/vpc/routeEntry.d.ts +1 -1
- package/vpc/routeEntry.js +1 -1
- package/vpc/routeTable.d.ts +1 -1
- package/vpc/routeTable.js +1 -1
- package/vpc/routeTableAssociate.d.ts +1 -1
- package/vpc/routeTableAssociate.js +1 -1
- package/vpc/securityGroup.d.ts +1 -1
- package/vpc/securityGroup.js +1 -1
- package/vpc/securityGroupRule.d.ts +13 -13
- package/vpc/securityGroupRule.js +1 -1
- package/vpc/subnet.d.ts +1 -1
- package/vpc/subnet.js +1 -1
- package/vpc/vpc.d.ts +1 -1
- package/vpc/vpc.js +1 -1
- package/vpn/connection.d.ts +1 -1
- package/vpn/connection.js +1 -1
- package/vpn/connections.d.ts +66 -0
- package/vpn/connections.js +6 -0
- package/vpn/connections.js.map +1 -1
- package/vpn/customerGateway.d.ts +1 -1
- package/vpn/customerGateway.js +1 -1
- package/vpn/customerGateways.d.ts +9 -0
- package/vpn/customerGateways.js +1 -0
- package/vpn/customerGateways.js.map +1 -1
- package/vpn/gateway.d.ts +10 -13
- package/vpn/gateway.js +1 -1
- package/vpn/gateway.js.map +1 -1
- package/vpn/gatewayRoute.d.ts +1 -1
- package/vpn/gatewayRoute.js +1 -1
- package/vpn/gatewayRoutes.d.ts +21 -0
- package/vpn/gatewayRoutes.js +2 -0
- package/vpn/gatewayRoutes.js.map +1 -1
- package/vpn/gateways.d.ts +48 -0
- package/vpn/gateways.js +4 -0
- package/vpn/gateways.js.map +1 -1
- package/vpn/sslVpnClientCert.d.ts +1 -1
- package/vpn/sslVpnClientCert.js +1 -1
- package/vpn/sslVpnServer.d.ts +25 -1
- package/vpn/sslVpnServer.js +5 -1
- package/vpn/sslVpnServer.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -26
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a resource to manage ebs auto snapshot policy attachment
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
9
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
10
|
+
*
|
|
11
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
12
|
+
* const fooVolume = new volcengine.ebs.Volume("fooVolume", {
|
|
13
|
+
* volumeName: "acc-test-volume",
|
|
14
|
+
* volumeType: "ESSD_PL0",
|
|
15
|
+
* description: "acc-test",
|
|
16
|
+
* kind: "data",
|
|
17
|
+
* size: 500,
|
|
18
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
19
|
+
* volumeChargeType: "PostPaid",
|
|
20
|
+
* projectName: "default",
|
|
21
|
+
* });
|
|
22
|
+
* const fooAutoSnapshotPolicy = new volcengine.ebs.AutoSnapshotPolicy("fooAutoSnapshotPolicy", {
|
|
23
|
+
* autoSnapshotPolicyName: "acc-test-auto-snapshot-policy",
|
|
24
|
+
* timePoints: [
|
|
25
|
+
* "1",
|
|
26
|
+
* "5",
|
|
27
|
+
* "9",
|
|
28
|
+
* ],
|
|
29
|
+
* retentionDays: -1,
|
|
30
|
+
* repeatWeekdays: [
|
|
31
|
+
* "2",
|
|
32
|
+
* "6",
|
|
33
|
+
* ],
|
|
34
|
+
* projectName: "default",
|
|
35
|
+
* tags: [{
|
|
36
|
+
* key: "k1",
|
|
37
|
+
* value: "v1",
|
|
38
|
+
* }],
|
|
39
|
+
* });
|
|
40
|
+
* const fooAutoSnapshotPolicyAttachment = new volcengine.ebs.AutoSnapshotPolicyAttachment("fooAutoSnapshotPolicyAttachment", {
|
|
41
|
+
* autoSnapshotPolicyId: fooAutoSnapshotPolicy.id,
|
|
42
|
+
* volumeId: fooVolume.id,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* EbsAutoSnapshotPolicyAttachment can be imported using the auto_snapshot_policy_id:volume_id, e.g.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import volcengine:ebs/autoSnapshotPolicyAttachment:AutoSnapshotPolicyAttachment default resource_id
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare class AutoSnapshotPolicyAttachment extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing AutoSnapshotPolicyAttachment resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AutoSnapshotPolicyAttachmentState, opts?: pulumi.CustomResourceOptions): AutoSnapshotPolicyAttachment;
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of AutoSnapshotPolicyAttachment. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj: any): obj is AutoSnapshotPolicyAttachment;
|
|
70
|
+
/**
|
|
71
|
+
* The id of the auto snapshot policy.
|
|
72
|
+
*/
|
|
73
|
+
readonly autoSnapshotPolicyId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The id of the volume.
|
|
76
|
+
*/
|
|
77
|
+
readonly volumeId: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a AutoSnapshotPolicyAttachment resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args: AutoSnapshotPolicyAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering AutoSnapshotPolicyAttachment resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface AutoSnapshotPolicyAttachmentState {
|
|
91
|
+
/**
|
|
92
|
+
* The id of the auto snapshot policy.
|
|
93
|
+
*/
|
|
94
|
+
autoSnapshotPolicyId?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The id of the volume.
|
|
97
|
+
*/
|
|
98
|
+
volumeId?: pulumi.Input<string>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a AutoSnapshotPolicyAttachment resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface AutoSnapshotPolicyAttachmentArgs {
|
|
104
|
+
/**
|
|
105
|
+
* The id of the auto snapshot policy.
|
|
106
|
+
*/
|
|
107
|
+
autoSnapshotPolicyId: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The id of the volume.
|
|
110
|
+
*/
|
|
111
|
+
volumeId: pulumi.Input<string>;
|
|
112
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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.AutoSnapshotPolicyAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage ebs auto snapshot policy attachment
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVolume = new volcengine.ebs.Volume("fooVolume", {
|
|
19
|
+
* volumeName: "acc-test-volume",
|
|
20
|
+
* volumeType: "ESSD_PL0",
|
|
21
|
+
* description: "acc-test",
|
|
22
|
+
* kind: "data",
|
|
23
|
+
* size: 500,
|
|
24
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
25
|
+
* volumeChargeType: "PostPaid",
|
|
26
|
+
* projectName: "default",
|
|
27
|
+
* });
|
|
28
|
+
* const fooAutoSnapshotPolicy = new volcengine.ebs.AutoSnapshotPolicy("fooAutoSnapshotPolicy", {
|
|
29
|
+
* autoSnapshotPolicyName: "acc-test-auto-snapshot-policy",
|
|
30
|
+
* timePoints: [
|
|
31
|
+
* "1",
|
|
32
|
+
* "5",
|
|
33
|
+
* "9",
|
|
34
|
+
* ],
|
|
35
|
+
* retentionDays: -1,
|
|
36
|
+
* repeatWeekdays: [
|
|
37
|
+
* "2",
|
|
38
|
+
* "6",
|
|
39
|
+
* ],
|
|
40
|
+
* projectName: "default",
|
|
41
|
+
* tags: [{
|
|
42
|
+
* key: "k1",
|
|
43
|
+
* value: "v1",
|
|
44
|
+
* }],
|
|
45
|
+
* });
|
|
46
|
+
* const fooAutoSnapshotPolicyAttachment = new volcengine.ebs.AutoSnapshotPolicyAttachment("fooAutoSnapshotPolicyAttachment", {
|
|
47
|
+
* autoSnapshotPolicyId: fooAutoSnapshotPolicy.id,
|
|
48
|
+
* volumeId: fooVolume.id,
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Import
|
|
53
|
+
*
|
|
54
|
+
* EbsAutoSnapshotPolicyAttachment can be imported using the auto_snapshot_policy_id:volume_id, e.g.
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import volcengine:ebs/autoSnapshotPolicyAttachment:AutoSnapshotPolicyAttachment default resource_id
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
class AutoSnapshotPolicyAttachment extends pulumi.CustomResource {
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing AutoSnapshotPolicyAttachment resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, state, opts) {
|
|
71
|
+
return new AutoSnapshotPolicyAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of AutoSnapshotPolicyAttachment. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === AutoSnapshotPolicyAttachment.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
constructor(name, argsOrState, opts) {
|
|
84
|
+
let resourceInputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (opts.id) {
|
|
87
|
+
const state = argsOrState;
|
|
88
|
+
resourceInputs["autoSnapshotPolicyId"] = state ? state.autoSnapshotPolicyId : undefined;
|
|
89
|
+
resourceInputs["volumeId"] = state ? state.volumeId : undefined;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
const args = argsOrState;
|
|
93
|
+
if ((!args || args.autoSnapshotPolicyId === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'autoSnapshotPolicyId'");
|
|
95
|
+
}
|
|
96
|
+
if ((!args || args.volumeId === undefined) && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'volumeId'");
|
|
98
|
+
}
|
|
99
|
+
resourceInputs["autoSnapshotPolicyId"] = args ? args.autoSnapshotPolicyId : undefined;
|
|
100
|
+
resourceInputs["volumeId"] = args ? args.volumeId : undefined;
|
|
101
|
+
}
|
|
102
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
+
super(AutoSnapshotPolicyAttachment.__pulumiType, name, resourceInputs, opts);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.AutoSnapshotPolicyAttachment = AutoSnapshotPolicyAttachment;
|
|
107
|
+
/** @internal */
|
|
108
|
+
AutoSnapshotPolicyAttachment.__pulumiType = 'volcengine:ebs/autoSnapshotPolicyAttachment:AutoSnapshotPolicyAttachment';
|
|
109
|
+
//# sourceMappingURL=autoSnapshotPolicyAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoSnapshotPolicyAttachment.js","sourceRoot":"","sources":["../../ebs/autoSnapshotPolicyAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,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,4BAA4B,CAAC,YAAY,CAAC;IAC7E,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4D,CAAC;YAC3E,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAA2D,CAAC;YACzE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,oBAAoB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjE,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;aACvE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAjEL,oEAkEC;AApDG,gBAAgB;AACO,yCAAY,GAAG,0EAA0E,CAAC"}
|
package/ebs/index.d.ts
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
export { AutoSnapshotPoliciesArgs, AutoSnapshotPoliciesResult, AutoSnapshotPoliciesOutputArgs } from "./autoSnapshotPolicies";
|
|
2
|
+
export declare const autoSnapshotPolicies: typeof import("./autoSnapshotPolicies").autoSnapshotPolicies;
|
|
3
|
+
export declare const autoSnapshotPoliciesOutput: typeof import("./autoSnapshotPolicies").autoSnapshotPoliciesOutput;
|
|
4
|
+
export { AutoSnapshotPolicyArgs, AutoSnapshotPolicyState } from "./autoSnapshotPolicy";
|
|
5
|
+
export type AutoSnapshotPolicy = import("./autoSnapshotPolicy").AutoSnapshotPolicy;
|
|
6
|
+
export declare const AutoSnapshotPolicy: typeof import("./autoSnapshotPolicy").AutoSnapshotPolicy;
|
|
7
|
+
export { AutoSnapshotPolicyAttachmentArgs, AutoSnapshotPolicyAttachmentState } from "./autoSnapshotPolicyAttachment";
|
|
8
|
+
export type AutoSnapshotPolicyAttachment = import("./autoSnapshotPolicyAttachment").AutoSnapshotPolicyAttachment;
|
|
9
|
+
export declare const AutoSnapshotPolicyAttachment: typeof import("./autoSnapshotPolicyAttachment").AutoSnapshotPolicyAttachment;
|
|
10
|
+
export { SnapshotArgs, SnapshotState } from "./snapshot";
|
|
11
|
+
export type Snapshot = import("./snapshot").Snapshot;
|
|
12
|
+
export declare const Snapshot: typeof import("./snapshot").Snapshot;
|
|
13
|
+
export { SnapshotGroupArgs, SnapshotGroupState } from "./snapshotGroup";
|
|
14
|
+
export type SnapshotGroup = import("./snapshotGroup").SnapshotGroup;
|
|
15
|
+
export declare const SnapshotGroup: typeof import("./snapshotGroup").SnapshotGroup;
|
|
16
|
+
export { SnapshotGroupsArgs, SnapshotGroupsResult, SnapshotGroupsOutputArgs } from "./snapshotGroups";
|
|
17
|
+
export declare const snapshotGroups: typeof import("./snapshotGroups").snapshotGroups;
|
|
18
|
+
export declare const snapshotGroupsOutput: typeof import("./snapshotGroups").snapshotGroupsOutput;
|
|
19
|
+
export { SnapshotsArgs, SnapshotsResult, SnapshotsOutputArgs } from "./snapshots";
|
|
20
|
+
export declare const snapshots: typeof import("./snapshots").snapshots;
|
|
21
|
+
export declare const snapshotsOutput: typeof import("./snapshots").snapshotsOutput;
|
|
1
22
|
export { VolumeArgs, VolumeState } from "./volume";
|
|
2
23
|
export type Volume = import("./volume").Volume;
|
|
3
24
|
export declare const Volume: typeof import("./volume").Volume;
|
package/ebs/index.js
CHANGED
|
@@ -2,9 +2,26 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.volumesOutput = exports.volumes = exports.VolumeAttach = exports.Volume = void 0;
|
|
5
|
+
exports.volumesOutput = exports.volumes = exports.VolumeAttach = exports.Volume = exports.snapshotsOutput = exports.snapshots = exports.snapshotGroupsOutput = exports.snapshotGroups = exports.SnapshotGroup = exports.Snapshot = exports.AutoSnapshotPolicyAttachment = exports.AutoSnapshotPolicy = exports.autoSnapshotPoliciesOutput = exports.autoSnapshotPolicies = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
exports.autoSnapshotPolicies = null;
|
|
9
|
+
exports.autoSnapshotPoliciesOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["autoSnapshotPolicies", "autoSnapshotPoliciesOutput"], () => require("./autoSnapshotPolicies"));
|
|
11
|
+
exports.AutoSnapshotPolicy = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["AutoSnapshotPolicy"], () => require("./autoSnapshotPolicy"));
|
|
13
|
+
exports.AutoSnapshotPolicyAttachment = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["AutoSnapshotPolicyAttachment"], () => require("./autoSnapshotPolicyAttachment"));
|
|
15
|
+
exports.Snapshot = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["Snapshot"], () => require("./snapshot"));
|
|
17
|
+
exports.SnapshotGroup = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["SnapshotGroup"], () => require("./snapshotGroup"));
|
|
19
|
+
exports.snapshotGroups = null;
|
|
20
|
+
exports.snapshotGroupsOutput = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["snapshotGroups", "snapshotGroupsOutput"], () => require("./snapshotGroups"));
|
|
22
|
+
exports.snapshots = null;
|
|
23
|
+
exports.snapshotsOutput = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["snapshots", "snapshotsOutput"], () => require("./snapshots"));
|
|
8
25
|
exports.Volume = null;
|
|
9
26
|
utilities.lazyLoad(exports, ["Volume"], () => require("./volume"));
|
|
10
27
|
exports.VolumeAttach = null;
|
|
@@ -16,6 +33,14 @@ const _module = {
|
|
|
16
33
|
version: utilities.getVersion(),
|
|
17
34
|
construct: (name, type, urn) => {
|
|
18
35
|
switch (type) {
|
|
36
|
+
case "volcengine:ebs/autoSnapshotPolicy:AutoSnapshotPolicy":
|
|
37
|
+
return new exports.AutoSnapshotPolicy(name, undefined, { urn });
|
|
38
|
+
case "volcengine:ebs/autoSnapshotPolicyAttachment:AutoSnapshotPolicyAttachment":
|
|
39
|
+
return new exports.AutoSnapshotPolicyAttachment(name, undefined, { urn });
|
|
40
|
+
case "volcengine:ebs/snapshot:Snapshot":
|
|
41
|
+
return new exports.Snapshot(name, undefined, { urn });
|
|
42
|
+
case "volcengine:ebs/snapshotGroup:SnapshotGroup":
|
|
43
|
+
return new exports.SnapshotGroup(name, undefined, { urn });
|
|
19
44
|
case "volcengine:ebs/volume:Volume":
|
|
20
45
|
return new exports.Volume(name, undefined, { urn });
|
|
21
46
|
case "volcengine:ebs/volumeAttach:VolumeAttach":
|
|
@@ -25,6 +50,10 @@ const _module = {
|
|
|
25
50
|
}
|
|
26
51
|
},
|
|
27
52
|
};
|
|
53
|
+
pulumi.runtime.registerResourceModule("volcengine", "ebs/autoSnapshotPolicy", _module);
|
|
54
|
+
pulumi.runtime.registerResourceModule("volcengine", "ebs/autoSnapshotPolicyAttachment", _module);
|
|
55
|
+
pulumi.runtime.registerResourceModule("volcengine", "ebs/snapshot", _module);
|
|
56
|
+
pulumi.runtime.registerResourceModule("volcengine", "ebs/snapshotGroup", _module);
|
|
28
57
|
pulumi.runtime.registerResourceModule("volcengine", "ebs/volume", _module);
|
|
29
58
|
pulumi.runtime.registerResourceModule("volcengine", "ebs/volumeAttach", _module);
|
|
30
59
|
//# sourceMappingURL=index.js.map
|
package/ebs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ebs/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ebs/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage ebs snapshot
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
11
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
12
|
+
*
|
|
13
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
14
|
+
* const fooVolume = new volcengine.ebs.Volume("fooVolume", {
|
|
15
|
+
* volumeName: "acc-test-volume",
|
|
16
|
+
* volumeType: "ESSD_PL0",
|
|
17
|
+
* description: "acc-test",
|
|
18
|
+
* kind: "data",
|
|
19
|
+
* size: 500,
|
|
20
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
21
|
+
* volumeChargeType: "PostPaid",
|
|
22
|
+
* projectName: "default",
|
|
23
|
+
* });
|
|
24
|
+
* const fooSnapshot = new volcengine.ebs.Snapshot("fooSnapshot", {
|
|
25
|
+
* volumeId: fooVolume.id,
|
|
26
|
+
* snapshotName: "acc-test-snapshot",
|
|
27
|
+
* description: "acc-test",
|
|
28
|
+
* retentionDays: 3,
|
|
29
|
+
* projectName: "default",
|
|
30
|
+
* tags: [{
|
|
31
|
+
* key: "k1",
|
|
32
|
+
* value: "v1",
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ## Import
|
|
38
|
+
*
|
|
39
|
+
* EbsSnapshot can be imported using the id, e.g.
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import volcengine:ebs/snapshot:Snapshot default resource_id
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class Snapshot extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing Snapshot resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnapshotState, opts?: pulumi.CustomResourceOptions): Snapshot;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of Snapshot. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj: any): obj is Snapshot;
|
|
61
|
+
/**
|
|
62
|
+
* The creation time of the snapshot.
|
|
63
|
+
*/
|
|
64
|
+
readonly creationTime: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The description of the snapshot.
|
|
67
|
+
*/
|
|
68
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The project name of the snapshot.
|
|
71
|
+
*/
|
|
72
|
+
readonly projectName: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
|
|
75
|
+
*/
|
|
76
|
+
readonly retentionDays: pulumi.Output<number>;
|
|
77
|
+
/**
|
|
78
|
+
* The name of the snapshot.
|
|
79
|
+
*/
|
|
80
|
+
readonly snapshotName: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The type of the snapshot.
|
|
83
|
+
*/
|
|
84
|
+
readonly snapshotType: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The status of the snapshot.
|
|
87
|
+
*/
|
|
88
|
+
readonly status: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Tags.
|
|
91
|
+
*/
|
|
92
|
+
readonly tags: pulumi.Output<outputs.ebs.SnapshotTag[] | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The volume id to create snapshot.
|
|
95
|
+
*/
|
|
96
|
+
readonly volumeId: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The volume kind of the snapshot.
|
|
99
|
+
*/
|
|
100
|
+
readonly volumeKind: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The volume name of the snapshot.
|
|
103
|
+
*/
|
|
104
|
+
readonly volumeName: pulumi.Output<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The volume size of the snapshot.
|
|
107
|
+
*/
|
|
108
|
+
readonly volumeSize: pulumi.Output<number>;
|
|
109
|
+
/**
|
|
110
|
+
* The volume status of the snapshot.
|
|
111
|
+
*/
|
|
112
|
+
readonly volumeStatus: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The volume type of the snapshot.
|
|
115
|
+
*/
|
|
116
|
+
readonly volumeType: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* The zone id of the snapshot.
|
|
119
|
+
*/
|
|
120
|
+
readonly zoneId: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Create a Snapshot resource with the given unique name, arguments, and options.
|
|
123
|
+
*
|
|
124
|
+
* @param name The _unique_ name of the resource.
|
|
125
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
126
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
127
|
+
*/
|
|
128
|
+
constructor(name: string, args: SnapshotArgs, opts?: pulumi.CustomResourceOptions);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Input properties used for looking up and filtering Snapshot resources.
|
|
132
|
+
*/
|
|
133
|
+
export interface SnapshotState {
|
|
134
|
+
/**
|
|
135
|
+
* The creation time of the snapshot.
|
|
136
|
+
*/
|
|
137
|
+
creationTime?: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The description of the snapshot.
|
|
140
|
+
*/
|
|
141
|
+
description?: pulumi.Input<string>;
|
|
142
|
+
/**
|
|
143
|
+
* The project name of the snapshot.
|
|
144
|
+
*/
|
|
145
|
+
projectName?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
|
|
148
|
+
*/
|
|
149
|
+
retentionDays?: pulumi.Input<number>;
|
|
150
|
+
/**
|
|
151
|
+
* The name of the snapshot.
|
|
152
|
+
*/
|
|
153
|
+
snapshotName?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The type of the snapshot.
|
|
156
|
+
*/
|
|
157
|
+
snapshotType?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The status of the snapshot.
|
|
160
|
+
*/
|
|
161
|
+
status?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Tags.
|
|
164
|
+
*/
|
|
165
|
+
tags?: pulumi.Input<pulumi.Input<inputs.ebs.SnapshotTag>[]>;
|
|
166
|
+
/**
|
|
167
|
+
* The volume id to create snapshot.
|
|
168
|
+
*/
|
|
169
|
+
volumeId?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* The volume kind of the snapshot.
|
|
172
|
+
*/
|
|
173
|
+
volumeKind?: pulumi.Input<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The volume name of the snapshot.
|
|
176
|
+
*/
|
|
177
|
+
volumeName?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The volume size of the snapshot.
|
|
180
|
+
*/
|
|
181
|
+
volumeSize?: pulumi.Input<number>;
|
|
182
|
+
/**
|
|
183
|
+
* The volume status of the snapshot.
|
|
184
|
+
*/
|
|
185
|
+
volumeStatus?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* The volume type of the snapshot.
|
|
188
|
+
*/
|
|
189
|
+
volumeType?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* The zone id of the snapshot.
|
|
192
|
+
*/
|
|
193
|
+
zoneId?: pulumi.Input<string>;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The set of arguments for constructing a Snapshot resource.
|
|
197
|
+
*/
|
|
198
|
+
export interface SnapshotArgs {
|
|
199
|
+
/**
|
|
200
|
+
* The description of the snapshot.
|
|
201
|
+
*/
|
|
202
|
+
description?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* The project name of the snapshot.
|
|
205
|
+
*/
|
|
206
|
+
projectName?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* The retention days of the snapshot. Valid values: 1~65536. Not specifying this field means permanently preserving the snapshot.When modifying this field, the retention days only supports extension and not shortening. The value range is N+1~65536, where N is the retention days set during snapshot creation.
|
|
209
|
+
*/
|
|
210
|
+
retentionDays?: pulumi.Input<number>;
|
|
211
|
+
/**
|
|
212
|
+
* The name of the snapshot.
|
|
213
|
+
*/
|
|
214
|
+
snapshotName: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* Tags.
|
|
217
|
+
*/
|
|
218
|
+
tags?: pulumi.Input<pulumi.Input<inputs.ebs.SnapshotTag>[]>;
|
|
219
|
+
/**
|
|
220
|
+
* The volume id to create snapshot.
|
|
221
|
+
*/
|
|
222
|
+
volumeId: pulumi.Input<string>;
|
|
223
|
+
}
|
package/ebs/snapshot.js
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
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.Snapshot = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage ebs snapshot
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as volcengine from "@pulumi/volcengine";
|
|
15
|
+
* import * as volcengine from "@volcengine/pulumi";
|
|
16
|
+
*
|
|
17
|
+
* const fooZones = volcengine.ecs.Zones({});
|
|
18
|
+
* const fooVolume = new volcengine.ebs.Volume("fooVolume", {
|
|
19
|
+
* volumeName: "acc-test-volume",
|
|
20
|
+
* volumeType: "ESSD_PL0",
|
|
21
|
+
* description: "acc-test",
|
|
22
|
+
* kind: "data",
|
|
23
|
+
* size: 500,
|
|
24
|
+
* zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
|
|
25
|
+
* volumeChargeType: "PostPaid",
|
|
26
|
+
* projectName: "default",
|
|
27
|
+
* });
|
|
28
|
+
* const fooSnapshot = new volcengine.ebs.Snapshot("fooSnapshot", {
|
|
29
|
+
* volumeId: fooVolume.id,
|
|
30
|
+
* snapshotName: "acc-test-snapshot",
|
|
31
|
+
* description: "acc-test",
|
|
32
|
+
* retentionDays: 3,
|
|
33
|
+
* projectName: "default",
|
|
34
|
+
* tags: [{
|
|
35
|
+
* key: "k1",
|
|
36
|
+
* value: "v1",
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* EbsSnapshot can be imported using the id, e.g.
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import volcengine:ebs/snapshot:Snapshot default resource_id
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
class Snapshot extends pulumi.CustomResource {
|
|
50
|
+
/**
|
|
51
|
+
* Get an existing Snapshot resource's state with the given name, ID, and optional extra
|
|
52
|
+
* properties used to qualify the lookup.
|
|
53
|
+
*
|
|
54
|
+
* @param name The _unique_ name of the resulting resource.
|
|
55
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
56
|
+
* @param state Any extra arguments used during the lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, state, opts) {
|
|
60
|
+
return new Snapshot(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of Snapshot. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj) {
|
|
67
|
+
if (obj === undefined || obj === null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return obj['__pulumiType'] === Snapshot.__pulumiType;
|
|
71
|
+
}
|
|
72
|
+
constructor(name, argsOrState, opts) {
|
|
73
|
+
let resourceInputs = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
if (opts.id) {
|
|
76
|
+
const state = argsOrState;
|
|
77
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
78
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
79
|
+
resourceInputs["projectName"] = state ? state.projectName : undefined;
|
|
80
|
+
resourceInputs["retentionDays"] = state ? state.retentionDays : undefined;
|
|
81
|
+
resourceInputs["snapshotName"] = state ? state.snapshotName : undefined;
|
|
82
|
+
resourceInputs["snapshotType"] = state ? state.snapshotType : undefined;
|
|
83
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
84
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
85
|
+
resourceInputs["volumeId"] = state ? state.volumeId : undefined;
|
|
86
|
+
resourceInputs["volumeKind"] = state ? state.volumeKind : undefined;
|
|
87
|
+
resourceInputs["volumeName"] = state ? state.volumeName : undefined;
|
|
88
|
+
resourceInputs["volumeSize"] = state ? state.volumeSize : undefined;
|
|
89
|
+
resourceInputs["volumeStatus"] = state ? state.volumeStatus : undefined;
|
|
90
|
+
resourceInputs["volumeType"] = state ? state.volumeType : undefined;
|
|
91
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
if ((!args || args.snapshotName === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'snapshotName'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.volumeId === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'volumeId'");
|
|
100
|
+
}
|
|
101
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
102
|
+
resourceInputs["projectName"] = args ? args.projectName : undefined;
|
|
103
|
+
resourceInputs["retentionDays"] = args ? args.retentionDays : undefined;
|
|
104
|
+
resourceInputs["snapshotName"] = args ? args.snapshotName : undefined;
|
|
105
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
106
|
+
resourceInputs["volumeId"] = args ? args.volumeId : undefined;
|
|
107
|
+
resourceInputs["creationTime"] = undefined /*out*/;
|
|
108
|
+
resourceInputs["snapshotType"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["volumeKind"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["volumeName"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["volumeSize"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["volumeStatus"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["volumeType"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["zoneId"] = undefined /*out*/;
|
|
116
|
+
}
|
|
117
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
118
|
+
super(Snapshot.__pulumiType, name, resourceInputs, opts);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.Snapshot = Snapshot;
|
|
122
|
+
/** @internal */
|
|
123
|
+
Snapshot.__pulumiType = 'volcengine:ebs/snapshot:Snapshot';
|
|
124
|
+
//# sourceMappingURL=snapshot.js.map
|