@volcengine/pulumi-volcenginecc 0.0.27 → 0.0.29
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 +20 -20
- package/alb/acl.js +1 -1
- package/alb/certificate.d.ts +33 -33
- package/alb/certificate.js +1 -1
- package/alb/customizedCfg.d.ts +24 -21
- package/alb/customizedCfg.js +1 -1
- package/alb/customizedCfg.js.map +1 -1
- package/alb/getAcl.d.ts +11 -11
- package/alb/getCertificate.d.ts +14 -14
- package/alb/getCustomizedCfg.d.ts +11 -10
- package/alb/getCustomizedCfg.js.map +1 -1
- package/alb/getHealthCheckTemplate.d.ts +18 -18
- package/alb/getListener.d.ts +30 -30
- package/alb/getLoadBalancer.d.ts +31 -31
- package/alb/getRule.d.ts +16 -16
- package/alb/getServerGroup.d.ts +19 -19
- package/alb/healthCheckTemplate.d.ts +49 -49
- package/alb/healthCheckTemplate.js +1 -1
- package/alb/listener.d.ts +77 -77
- package/alb/listener.js +1 -1
- package/alb/loadBalancer.d.ts +79 -79
- package/alb/loadBalancer.js +1 -1
- package/alb/rule.d.ts +42 -42
- package/alb/rule.js +1 -1
- package/alb/serverGroup.d.ts +45 -45
- package/alb/serverGroup.js +1 -1
- package/apig/customDomain.d.ts +27 -27
- package/apig/customDomain.js +1 -1
- package/apig/gateway.d.ts +45 -45
- package/apig/gateway.js +1 -1
- package/apig/gatewayService.d.ts +37 -37
- package/apig/gatewayService.js +1 -1
- package/apig/getCustomDomain.d.ts +10 -10
- package/apig/getGateway.d.ts +18 -18
- package/apig/getGatewayService.d.ts +16 -16
- package/apig/getUpstream.d.ts +14 -14
- package/apig/getUpstreamSource.d.ts +11 -11
- package/apig/upstream.d.ts +35 -35
- package/apig/upstream.js +1 -1
- package/apig/upstreamSource.d.ts +29 -29
- package/apig/upstreamSource.js +1 -1
- package/ark/endpoint.d.ts +46 -46
- package/ark/endpoint.js +1 -1
- package/ark/getEndpoint.d.ts +20 -20
- package/autoscaling/getScalingConfiguration.d.ts +28 -28
- package/autoscaling/getScalingGroup.d.ts +37 -29
- package/autoscaling/getScalingGroup.js.map +1 -1
- package/autoscaling/getScalingLifecycleHook.d.ts +7 -7
- package/autoscaling/getScalingPolicy.d.ts +11 -11
- package/autoscaling/scalingConfiguration.d.ts +71 -71
- package/autoscaling/scalingConfiguration.js +1 -1
- package/autoscaling/scalingGroup.d.ts +76 -70
- package/autoscaling/scalingGroup.js +5 -1
- package/autoscaling/scalingGroup.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +21 -21
- package/autoscaling/scalingLifecycleHook.js +1 -1
- package/autoscaling/scalingPolicy.d.ts +32 -32
- package/autoscaling/scalingPolicy.js +1 -1
- package/bmq/getGroup.d.ts +10 -10
- package/bmq/getInstance.d.ts +25 -25
- package/bmq/group.d.ts +23 -23
- package/bmq/group.js +1 -1
- package/bmq/instance.d.ts +62 -62
- package/bmq/instance.js +1 -1
- package/cbr/backupPlan.d.ts +17 -17
- package/cbr/backupPlan.js +1 -1
- package/cbr/backupPolicy.d.ts +32 -32
- package/cbr/backupPolicy.js +1 -1
- package/cbr/backupResource.d.ts +26 -26
- package/cbr/backupResource.js +1 -1
- package/cbr/getBackupPlan.d.ts +8 -8
- package/cbr/getBackupPolicy.d.ts +12 -12
- package/cbr/getBackupResource.d.ts +12 -12
- package/cbr/getVault.d.ts +6 -6
- package/cbr/vault.d.ts +13 -13
- package/cbr/vault.js +1 -1
- package/cdn/domain.d.ts +143 -145
- package/cdn/domain.js +1 -1
- package/cdn/domain.js.map +1 -1
- package/cdn/getDomain.d.ts +60 -61
- package/cdn/getDomain.js.map +1 -1
- package/cdn/getShareConfig.d.ts +11 -11
- package/cdn/shareConfig.d.ts +31 -31
- package/cdn/shareConfig.js +1 -1
- package/cen/cen.d.ts +25 -39
- package/cen/cen.js +3 -18
- package/cen/cen.js.map +1 -1
- package/cen/getCen.d.ts +14 -10
- package/cen/getCen.js.map +1 -1
- package/cen/getGrantInstance.d.ts +60 -0
- package/cen/getGrantInstance.js +28 -0
- package/cen/getGrantInstance.js.map +1 -0
- package/cen/getGrantInstances.d.ts +22 -0
- package/cen/getGrantInstances.js +24 -0
- package/cen/getGrantInstances.js.map +1 -0
- package/cen/grantInstance.d.ts +128 -0
- package/cen/grantInstance.js +98 -0
- package/cen/grantInstance.js.map +1 -0
- package/cen/index.d.ts +9 -0
- package/cen/index.js +12 -1
- package/cen/index.js.map +1 -1
- package/clb/acl.d.ts +22 -22
- package/clb/acl.js +1 -1
- package/clb/certificate.d.ts +30 -30
- package/clb/certificate.js +1 -1
- package/clb/clb.d.ts +115 -115
- package/clb/clb.js +1 -1
- package/clb/getAcl.d.ts +12 -12
- package/clb/getCertificate.d.ts +13 -13
- package/clb/getClb.d.ts +46 -46
- package/clb/getListener.d.ts +45 -45
- package/clb/getNlb.d.ts +27 -27
- package/clb/getNlbListener.d.ts +18 -18
- package/clb/getNlbSecurityPolicy.d.ts +11 -11
- package/clb/getNlbServerGroup.d.ts +27 -27
- package/clb/getRule.d.ts +9 -9
- package/clb/getServerGroup.d.ts +12 -12
- package/clb/listener.d.ts +127 -127
- package/clb/listener.js +1 -1
- package/clb/nlb.d.ts +64 -64
- package/clb/nlb.js +1 -1
- package/clb/nlbListener.d.ts +45 -45
- package/clb/nlbListener.js +1 -1
- package/clb/nlbSecurityPolicy.d.ts +25 -25
- package/clb/nlbSecurityPolicy.js +1 -1
- package/clb/nlbServerGroup.d.ts +69 -69
- package/clb/nlbServerGroup.js +1 -1
- package/clb/rule.d.ts +24 -24
- package/clb/rule.js +1 -1
- package/clb/serverGroup.d.ts +25 -25
- package/clb/serverGroup.js +1 -1
- package/cloudidentity/getGroup.d.ts +9 -9
- package/cloudidentity/getPermissionSet.d.ts +9 -9
- package/cloudidentity/getPermissionSetAssignment.d.ts +8 -8
- package/cloudidentity/getPermissionSetProvisioning.d.ts +7 -7
- package/cloudidentity/getUser.d.ts +12 -12
- package/cloudidentity/getUserProvisioning.d.ts +13 -13
- package/cloudidentity/group.d.ts +21 -21
- package/cloudidentity/group.js +1 -1
- package/cloudidentity/permissionSet.d.ts +21 -21
- package/cloudidentity/permissionSet.js +1 -1
- package/cloudidentity/permissionSetAssignment.d.ts +22 -22
- package/cloudidentity/permissionSetAssignment.js +2 -2
- package/cloudidentity/permissionSetProvisioning.d.ts +17 -17
- package/cloudidentity/permissionSetProvisioning.js +1 -1
- package/cloudidentity/user.d.ts +32 -32
- package/cloudidentity/user.js +1 -1
- package/cloudidentity/userProvisioning.d.ts +35 -35
- package/cloudidentity/userProvisioning.js +1 -1
- package/cloudmonitor/getRule.d.ts +33 -33
- package/cloudmonitor/rule.d.ts +83 -83
- package/cloudmonitor/rule.js +1 -1
- package/cr/getNameSpace.d.ts +4 -4
- package/cr/getRegistry.d.ts +11 -11
- package/cr/getRepository.d.ts +7 -7
- package/cr/nameSpace.d.ts +12 -12
- package/cr/nameSpace.js +1 -1
- package/cr/registry.d.ts +25 -25
- package/cr/registry.js +1 -1
- package/cr/repository.d.ts +20 -20
- package/cr/repository.js +1 -1
- package/directconnect/directConnectGateway.d.ts +36 -36
- package/directconnect/directConnectGateway.js +1 -1
- package/directconnect/getDirectConnectGateway.d.ts +17 -17
- package/dns/getZone.d.ts +22 -22
- package/dns/zone.d.ts +46 -46
- package/dns/zone.js +1 -1
- package/ecs/command.d.ts +41 -41
- package/ecs/command.js +1 -1
- package/ecs/deploymentSet.d.ts +28 -28
- package/ecs/deploymentSet.js +1 -1
- package/ecs/getCommand.d.ts +17 -17
- package/ecs/getDeploymentSet.d.ts +11 -11
- package/ecs/getHpcCluster.d.ts +9 -9
- package/ecs/getImage.d.ts +46 -30
- package/ecs/getImage.js.map +1 -1
- package/ecs/getInvocation.d.ts +28 -28
- package/ecs/getKeypair.d.ts +10 -10
- package/ecs/getLaunchTemplate.d.ts +11 -11
- package/ecs/getLaunchTemplate.js +2 -2
- package/ecs/getLaunchTemplateVersion.d.ts +31 -31
- package/ecs/getLaunchTemplateVersion.js +2 -2
- package/ecs/getLaunchTemplateVersions.d.ts +2 -2
- package/ecs/getLaunchTemplateVersions.js +2 -2
- package/ecs/getLaunchTemplates.d.ts +2 -2
- package/ecs/getLaunchTemplates.js +2 -2
- package/ecs/hpcCluster.d.ts +21 -21
- package/ecs/hpcCluster.js +1 -1
- package/ecs/image.d.ts +132 -64
- package/ecs/image.js +15 -7
- package/ecs/image.js.map +1 -1
- package/ecs/instance.d.ts +303 -261
- package/ecs/instance.js +1 -1
- package/ecs/instance.js.map +1 -1
- package/ecs/invocation.d.ts +65 -65
- package/ecs/invocation.js +1 -1
- package/ecs/keypair.d.ts +24 -24
- package/ecs/keypair.js +1 -1
- package/ecs/launchTemplate.d.ts +21 -21
- package/ecs/launchTemplate.js +1 -1
- package/ecs/launchTemplateVersion.d.ts +78 -78
- package/ecs/launchTemplateVersion.js +1 -1
- package/efs/fileSystem.d.ts +47 -47
- package/efs/fileSystem.js +1 -1
- package/efs/getFileSystem.d.ts +20 -20
- package/emr/cluster.d.ts +61 -61
- package/emr/cluster.js +1 -1
- package/emr/clusterUser.d.ts +25 -25
- package/emr/clusterUser.js +1 -1
- package/emr/clusterUserGroup.d.ts +13 -13
- package/emr/clusterUserGroup.js +1 -1
- package/emr/getCluster.d.ts +29 -29
- package/emr/getClusterUser.d.ts +9 -9
- package/emr/getClusterUserGroup.d.ts +4 -4
- package/emr/getNodeGroup.d.ts +117 -0
- package/emr/getNodeGroup.js +28 -0
- package/emr/getNodeGroup.js.map +1 -0
- package/emr/getNodeGroups.d.ts +22 -0
- package/emr/getNodeGroups.js +24 -0
- package/emr/getNodeGroups.js.map +1 -0
- package/emr/index.d.ts +9 -0
- package/emr/index.js +12 -1
- package/emr/index.js.map +1 -1
- package/emr/nodeGroup.d.ts +239 -0
- package/emr/nodeGroup.js +111 -0
- package/emr/nodeGroup.js.map +1 -0
- package/escloud/getInstance.d.ts +44 -44
- package/escloud/instance.d.ts +90 -90
- package/escloud/instance.js +1 -1
- package/filenas/getInstance.d.ts +18 -18
- package/filenas/getMountPoint.d.ts +15 -15
- package/filenas/getSnapshot.d.ts +14 -14
- package/filenas/instance.d.ts +46 -46
- package/filenas/instance.js +1 -1
- package/filenas/mountPoint.d.ts +34 -34
- package/filenas/mountPoint.js +1 -1
- package/filenas/snapshot.d.ts +32 -32
- package/filenas/snapshot.js +1 -1
- package/fwcenter/dnsControlPolicy.d.ts +30 -30
- package/fwcenter/dnsControlPolicy.js +1 -1
- package/fwcenter/getDnsControlPolicy.d.ts +14 -14
- package/hbase/getInstance.d.ts +36 -36
- package/hbase/instance.d.ts +90 -90
- package/hbase/instance.js +1 -1
- package/iam/accesskey.d.ts +24 -24
- package/iam/accesskey.js +1 -1
- package/iam/getAccesskey.d.ts +10 -10
- package/iam/getGroup.d.ts +9 -9
- package/iam/getPolicy.d.ts +13 -13
- package/iam/getProject.d.ts +10 -10
- package/iam/getRole.d.ts +10 -10
- package/iam/getUser.d.ts +18 -18
- package/iam/group.d.ts +18 -18
- package/iam/group.js +1 -1
- package/iam/policy.d.ts +25 -25
- package/iam/policy.js +1 -1
- package/iam/project.d.ts +25 -25
- package/iam/project.js +1 -1
- package/iam/role.d.ts +26 -26
- package/iam/role.js +1 -1
- package/iam/user.d.ts +40 -44
- package/iam/user.js +2 -2
- package/iam/user.js.map +1 -1
- package/kafka/allowList.d.ts +19 -19
- package/kafka/allowList.js +1 -1
- package/kafka/getAllowList.d.ts +8 -8
- package/kafka/getInstance.d.ts +32 -32
- package/kafka/getTopic.d.ts +15 -15
- package/kafka/instance.d.ts +79 -79
- package/kafka/instance.js +1 -1
- package/kafka/topic.d.ts +35 -35
- package/kafka/topic.js +1 -1
- package/kms/getKey.d.ts +24 -24
- package/kms/getKeyRing.d.ts +9 -9
- package/kms/key.d.ts +59 -59
- package/kms/key.js +1 -1
- package/kms/keyRing.d.ts +23 -23
- package/kms/keyRing.js +1 -1
- package/mongodb/allowList.d.ts +25 -25
- package/mongodb/allowList.js +1 -1
- package/mongodb/getAllowList.d.ts +10 -10
- package/mongodb/getInstance.d.ts +44 -44
- package/mongodb/instance.d.ts +101 -101
- package/mongodb/instance.js +1 -1
- package/natgateway/dnatentry.d.ts +29 -29
- package/natgateway/dnatentry.js +1 -1
- package/natgateway/getDnatentry.d.ts +10 -10
- package/natgateway/getNatIp.d.ts +8 -8
- package/natgateway/getNgw.d.ts +29 -29
- package/natgateway/getSnatentry.d.ts +9 -9
- package/natgateway/natIp.d.ts +21 -21
- package/natgateway/natIp.js +1 -1
- package/natgateway/ngw.d.ts +65 -65
- package/natgateway/ngw.js +1 -1
- package/natgateway/snatentry.d.ts +26 -26
- package/natgateway/snatentry.js +2 -2
- package/organization/account.d.ts +59 -59
- package/organization/account.js +1 -1
- package/organization/getAccount.d.ts +25 -25
- package/organization/getOrganization.d.ts +3 -3
- package/organization/getUnit.d.ts +12 -12
- package/organization/organization.d.ts +9 -9
- package/organization/organization.js +1 -1
- package/organization/unit.d.ts +28 -28
- package/organization/unit.js +1 -1
- package/package.json +1 -1
- package/privatelink/endpointService.d.ts +63 -63
- package/privatelink/endpointService.js +1 -1
- package/privatelink/getEndpointService.d.ts +26 -26
- package/privatezone/getRecord.d.ts +14 -14
- package/privatezone/getResolverEndpoint.d.ts +13 -13
- package/privatezone/getResolverRule.d.ts +14 -14
- package/privatezone/getUserVpcAuthorization.d.ts +52 -0
- package/privatezone/getUserVpcAuthorization.js +28 -0
- package/privatezone/getUserVpcAuthorization.js.map +1 -0
- package/privatezone/getUserVpcAuthorizations.d.ts +22 -0
- package/privatezone/getUserVpcAuthorizations.js +24 -0
- package/privatezone/getUserVpcAuthorizations.js.map +1 -0
- package/privatezone/index.d.ts +9 -0
- package/privatezone/index.js +12 -1
- package/privatezone/index.js.map +1 -1
- package/privatezone/record.d.ts +39 -39
- package/privatezone/record.js +1 -1
- package/privatezone/resolverEndpoint.d.ts +29 -29
- package/privatezone/resolverEndpoint.js +1 -1
- package/privatezone/resolverRule.d.ts +29 -29
- package/privatezone/resolverRule.js +1 -1
- package/privatezone/userVpcAuthorization.d.ts +102 -0
- package/privatezone/userVpcAuthorization.js +77 -0
- package/privatezone/userVpcAuthorization.js.map +1 -0
- package/rabbitmq/getInstance.d.ts +24 -24
- package/rabbitmq/getInstancePlugin.d.ts +9 -9
- package/rabbitmq/getPublicAddress.d.ts +23 -23
- package/rabbitmq/instance.d.ts +58 -58
- package/rabbitmq/instance.js +1 -1
- package/rabbitmq/instancePlugin.d.ts +21 -21
- package/rabbitmq/instancePlugin.js +1 -1
- package/rabbitmq/publicAddress.d.ts +45 -45
- package/rabbitmq/publicAddress.js +1 -1
- package/rdsmssql/allowList.d.ts +32 -32
- package/rdsmssql/allowList.js +1 -1
- package/rdsmssql/getAllowList.d.ts +14 -14
- package/rdsmssql/getAllowList.js +2 -2
- package/rdsmssql/getAllowLists.d.ts +2 -2
- package/rdsmssql/getAllowLists.js +2 -2
- package/rdsmssql/getInstance.d.ts +35 -35
- package/rdsmssql/instance.d.ts +81 -81
- package/rdsmssql/instance.js +1 -1
- package/rdsmysql/allowList.d.ts +46 -46
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/backup.d.ts +44 -44
- package/rdsmysql/backup.js +1 -1
- package/rdsmysql/database.d.ts +15 -15
- package/rdsmysql/database.js +1 -1
- package/rdsmysql/dbAccount.d.ts +25 -25
- package/rdsmysql/dbAccount.js +1 -1
- package/rdsmysql/endpoint.d.ts +69 -69
- package/rdsmysql/endpoint.js +1 -1
- package/rdsmysql/getAllowList.d.ts +18 -18
- package/rdsmysql/getBackup.d.ts +22 -22
- package/rdsmysql/getDatabase.d.ts +6 -6
- package/rdsmysql/getDbAccount.d.ts +11 -11
- package/rdsmysql/getEndpoint.d.ts +26 -26
- package/rdsmysql/getInstance.d.ts +70 -70
- package/rdsmysql/instance.d.ts +155 -155
- package/rdsmysql/instance.js +1 -1
- package/rdspostgresql/allowList.d.ts +35 -35
- package/rdspostgresql/allowList.js +1 -1
- package/rdspostgresql/database.d.ts +21 -21
- package/rdspostgresql/database.js +1 -1
- package/rdspostgresql/dbAccount.d.ts +19 -19
- package/rdspostgresql/dbAccount.js +1 -1
- package/rdspostgresql/dbEndpoint.d.ts +39 -39
- package/rdspostgresql/dbEndpoint.js +1 -1
- package/rdspostgresql/getAllowList.d.ts +14 -14
- package/rdspostgresql/getDatabase.d.ts +7 -7
- package/rdspostgresql/getDbAccount.d.ts +6 -6
- package/rdspostgresql/getDbEndpoint.d.ts +16 -16
- package/rdspostgresql/getSchema.d.ts +4 -4
- package/rdspostgresql/schema.d.ts +13 -13
- package/rdspostgresql/schema.js +1 -1
- package/redis/account.d.ts +18 -18
- package/redis/account.js +1 -1
- package/redis/endpointPublicAddress.d.ts +24 -24
- package/redis/endpointPublicAddress.js +1 -1
- package/redis/getAccount.d.ts +6 -6
- package/redis/getEndpointPublicAddress.d.ts +9 -9
- package/redis/getInstance.d.ts +44 -44
- package/redis/instance.d.ts +103 -103
- package/redis/instance.js +1 -1
- package/rocketmq/allowList.d.ts +25 -25
- package/rocketmq/allowList.js +1 -1
- package/rocketmq/getAllowList.d.ts +10 -10
- package/rocketmq/getGroup.d.ts +18 -18
- package/rocketmq/getInstance.d.ts +32 -32
- package/rocketmq/getTopic.d.ts +12 -12
- package/rocketmq/group.d.ts +39 -39
- package/rocketmq/group.js +1 -1
- package/rocketmq/instance.d.ts +80 -80
- package/rocketmq/instance.js +1 -1
- package/rocketmq/topic.d.ts +22 -22
- package/rocketmq/topic.js +1 -1
- package/storageebs/getSnapshot.d.ts +21 -21
- package/storageebs/getVolume.d.ts +30 -30
- package/storageebs/snapshot.d.ts +46 -46
- package/storageebs/snapshot.js +1 -1
- package/storageebs/volume.d.ts +72 -72
- package/storageebs/volume.js +1 -1
- package/tls/getIndex.d.ts +8 -8
- package/tls/getProject.d.ts +8 -8
- package/tls/getScheduleSqlTask.d.ts +21 -21
- package/tls/getTopic.d.ts +21 -21
- package/tls/index_.d.ts +17 -17
- package/tls/index_.js +1 -1
- package/tls/project.d.ts +18 -18
- package/tls/project.js +1 -1
- package/tls/scheduleSqlTask.d.ts +56 -56
- package/tls/scheduleSqlTask.js +1 -1
- package/tls/topic.d.ts +57 -57
- package/tls/topic.js +1 -1
- package/tos/bucket.d.ts +33 -33
- package/tos/bucket.js +1 -1
- package/tos/getBucket.d.ts +14 -14
- package/transitrouter/getTransitRouter.d.ts +16 -16
- package/transitrouter/getTransitRouterRouteEntry.d.ts +14 -14
- package/transitrouter/getTransitRouterRouteTable.d.ts +11 -11
- package/transitrouter/getVpcAttachment.d.ts +14 -14
- package/transitrouter/getVpnAttachment.d.ts +14 -14
- package/transitrouter/transitRouter.d.ts +34 -34
- package/transitrouter/transitRouter.js +1 -1
- package/transitrouter/transitRouterRouteEntry.d.ts +35 -35
- package/transitrouter/transitRouterRouteEntry.js +1 -1
- package/transitrouter/transitRouterRouteTable.d.ts +24 -24
- package/transitrouter/transitRouterRouteTable.js +1 -1
- package/transitrouter/vpcAttachment.d.ts +32 -32
- package/transitrouter/vpcAttachment.js +1 -1
- package/transitrouter/vpnAttachment.d.ts +34 -34
- package/transitrouter/vpnAttachment.js +1 -1
- package/types/input.d.ts +3060 -2425
- package/types/output.d.ts +6479 -5129
- package/vedbm/account.d.ts +132 -0
- package/vedbm/account.js +83 -0
- package/vedbm/account.js.map +1 -0
- package/vedbm/allowList.d.ts +25 -25
- package/vedbm/allowList.js +1 -1
- package/vedbm/backup.d.ts +35 -35
- package/vedbm/backup.js +1 -1
- package/vedbm/database.d.ts +13 -13
- package/vedbm/database.js +1 -1
- package/vedbm/getAccount.d.ts +60 -0
- package/vedbm/getAccount.js +28 -0
- package/vedbm/getAccount.js.map +1 -0
- package/vedbm/getAccounts.d.ts +22 -0
- package/vedbm/getAccounts.js +24 -0
- package/vedbm/getAccounts.js.map +1 -0
- package/vedbm/getAllowList.d.ts +10 -10
- package/vedbm/getBackup.d.ts +14 -14
- package/vedbm/getDatabase.d.ts +5 -5
- package/vedbm/getInstance.d.ts +30 -30
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +12 -1
- package/vedbm/index.js.map +1 -1
- package/vedbm/instance.d.ts +76 -76
- package/vedbm/instance.js +1 -1
- package/vefaas/function.d.ts +381 -0
- package/vefaas/function.js +120 -0
- package/vefaas/function.js.map +1 -0
- package/vefaas/getFunction.d.ts +165 -0
- package/vefaas/getFunction.js +28 -0
- package/vefaas/getFunction.js.map +1 -0
- package/vefaas/getFunctions.d.ts +22 -0
- package/vefaas/getFunctions.js +24 -0
- package/vefaas/getFunctions.js.map +1 -0
- package/vefaas/getKafkaTrigger.d.ts +16 -16
- package/vefaas/getSandbox.d.ts +20 -20
- package/vefaas/index.d.ts +9 -0
- package/vefaas/index.js +12 -1
- package/vefaas/index.js.map +1 -1
- package/vefaas/kafkaTrigger.d.ts +44 -44
- package/vefaas/kafkaTrigger.js +1 -1
- package/vefaas/sandbox.d.ts +45 -45
- package/vefaas/sandbox.js +1 -1
- package/vepfs/getInstance.d.ts +31 -31
- package/vepfs/instance.d.ts +74 -74
- package/vepfs/instance.js +1 -1
- package/vke/addon.d.ts +26 -26
- package/vke/addon.js +1 -1
- package/vke/cluster.d.ts +53 -53
- package/vke/cluster.js +1 -1
- package/vke/defaultNodePool.d.ts +26 -26
- package/vke/defaultNodePool.js +1 -1
- package/vke/getAddon.d.ts +9 -9
- package/vke/getCluster.d.ts +21 -21
- package/vke/getDefaultNodePool.d.ts +12 -12
- package/vke/getNode.d.ts +18 -18
- package/vke/getNodePool.d.ts +13 -13
- package/vke/getPermission.d.ts +18 -18
- package/vke/node.d.ts +47 -47
- package/vke/node.js +1 -1
- package/vke/nodePool.d.ts +32 -32
- package/vke/nodePool.js +1 -1
- package/vke/permission.d.ts +46 -46
- package/vke/permission.js +1 -1
- package/vmp/getWorkspace.d.ts +54 -18
- package/vmp/getWorkspace.js.map +1 -1
- package/vmp/workspace.d.ts +151 -47
- package/vmp/workspace.js +29 -7
- package/vmp/workspace.js.map +1 -1
- package/vpc/bandwidthPackage.d.ts +52 -52
- package/vpc/bandwidthPackage.js +1 -1
- package/vpc/eip.d.ts +85 -85
- package/vpc/eip.js +1 -1
- package/vpc/eni.d.ts +59 -59
- package/vpc/eni.js +1 -1
- package/vpc/flowLog.d.ts +49 -49
- package/vpc/flowLog.js +1 -1
- package/vpc/getBandwidthPackage.d.ts +22 -22
- package/vpc/getEip.d.ts +33 -33
- package/vpc/getEni.d.ts +25 -25
- package/vpc/getFlowLog.d.ts +20 -20
- package/vpc/getHaVip.d.ts +16 -16
- package/vpc/getIpv6AddressBandwidth.d.ts +20 -20
- package/vpc/getIpv6Gateway.d.ts +10 -10
- package/vpc/getNetworkAcl.d.ts +14 -14
- package/vpc/getPrefixList.d.ts +14 -14
- package/vpc/getRouteTable.d.ts +17 -17
- package/vpc/getSecurityGroup.d.ts +12 -12
- package/vpc/getSubnet.d.ts +20 -20
- package/vpc/getTrafficMirrorFilter.d.ts +9 -9
- package/vpc/getTrafficMirrorFilterRule.d.ts +12 -12
- package/vpc/getTrafficMirrorSession.d.ts +16 -16
- package/vpc/getTrafficMirrorTarget.d.ts +10 -10
- package/vpc/getVpc.d.ts +24 -24
- package/vpc/haVip.d.ts +38 -38
- package/vpc/haVip.js +1 -1
- package/vpc/ipv6AddressBandwidth.d.ts +44 -44
- package/vpc/ipv6AddressBandwidth.js +1 -1
- package/vpc/ipv6Gateway.d.ts +23 -23
- package/vpc/ipv6Gateway.js +1 -1
- package/vpc/networkAcl.d.ts +21 -21
- package/vpc/networkAcl.js +1 -1
- package/vpc/prefixList.d.ts +26 -26
- package/vpc/prefixList.js +1 -1
- package/vpc/routeTable.d.ts +37 -37
- package/vpc/routeTable.js +1 -1
- package/vpc/securityGroup.d.ts +23 -23
- package/vpc/securityGroup.js +1 -1
- package/vpc/subnet.d.ts +46 -46
- package/vpc/subnet.js +1 -1
- package/vpc/trafficMirrorFilter.d.ts +16 -16
- package/vpc/trafficMirrorFilter.js +1 -1
- package/vpc/trafficMirrorFilterRule.d.ts +35 -35
- package/vpc/trafficMirrorFilterRule.js +1 -1
- package/vpc/trafficMirrorSession.d.ts +40 -40
- package/vpc/trafficMirrorSession.js +1 -1
- package/vpc/trafficMirrorTarget.d.ts +24 -24
- package/vpc/trafficMirrorTarget.js +1 -1
- package/vpc/vpc.d.ts +57 -57
- package/vpc/vpc.js +1 -1
- package/vpn/customerGateway.d.ts +31 -31
- package/vpn/customerGateway.js +1 -1
- package/vpn/getCustomerGateway.d.ts +13 -13
- package/vpn/getVpnConnection.d.ts +177 -0
- package/vpn/getVpnConnection.js +28 -0
- package/vpn/getVpnConnection.js.map +1 -0
- package/vpn/getVpnConnections.d.ts +22 -0
- package/vpn/getVpnConnections.js +24 -0
- package/vpn/getVpnConnections.js.map +1 -0
- package/vpn/getVpnGateway.d.ts +32 -32
- package/vpn/index.d.ts +9 -0
- package/vpn/index.js +12 -1
- package/vpn/index.js.map +1 -1
- package/vpn/vpnConnection.d.ts +379 -0
- package/vpn/vpnConnection.js +132 -0
- package/vpn/vpnConnection.js.map +1 -0
- package/vpn/vpnGateway.d.ts +80 -80
- package/vpn/vpnGateway.js +1 -1
- package/waf/domain.d.ts +245 -245
- package/waf/domain.js +1 -1
- package/waf/getDomain.d.ts +90 -90
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Scaling groups are used to manage a set of cloud resource instances. You can use scaling groups to define the number/capacity of instances in the resource pool, cooldown time, load balancing, and other information.
|
|
6
6
|
*
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
|
@@ -27,110 +27,112 @@ export declare class ScalingGroup extends pulumi.CustomResource {
|
|
|
27
27
|
*/
|
|
28
28
|
static isInstance(obj: any): obj is ScalingGroup;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* ID of the scaling configuration bound to the scaling group
|
|
31
31
|
*/
|
|
32
32
|
readonly activeScalingConfigurationId: pulumi.Output<string>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Scaling group creation time
|
|
35
35
|
*/
|
|
36
36
|
readonly createdTime: pulumi.Output<string>;
|
|
37
37
|
/**
|
|
38
|
-
* RDS
|
|
38
|
+
* ID of the RDS database instance.
|
|
39
39
|
*/
|
|
40
40
|
readonly dbInstanceIds: pulumi.Output<string[]>;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
|
|
43
43
|
*/
|
|
44
44
|
readonly defaultCooldown: pulumi.Output<number>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
|
|
47
47
|
*/
|
|
48
48
|
readonly desireInstanceNumber: pulumi.Output<number>;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
|
|
51
51
|
*/
|
|
52
52
|
readonly healthCheckType: pulumi.Output<string>;
|
|
53
|
+
readonly instanceRemovePolicies: pulumi.Output<outputs.autoscaling.ScalingGroupInstanceRemovePolicy[]>;
|
|
53
54
|
/**
|
|
54
|
-
*
|
|
55
|
+
* Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
|
|
55
56
|
*/
|
|
56
57
|
readonly instanceTerminatePolicy: pulumi.Output<string>;
|
|
58
|
+
readonly instances: pulumi.Output<outputs.autoscaling.ScalingGroupInstance[]>;
|
|
57
59
|
/**
|
|
58
|
-
*
|
|
60
|
+
* Instance distribution policy.
|
|
59
61
|
*/
|
|
60
62
|
readonly instancesDistribution: pulumi.Output<outputs.autoscaling.ScalingGroupInstancesDistribution>;
|
|
61
63
|
/**
|
|
62
|
-
*
|
|
64
|
+
* Whether to enable the scaling group. true: enabled. false: stopped
|
|
63
65
|
*/
|
|
64
66
|
readonly isEnableScalingGroup: pulumi.Output<boolean>;
|
|
65
67
|
/**
|
|
66
|
-
*
|
|
68
|
+
* Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
|
|
67
69
|
*/
|
|
68
70
|
readonly launchTemplateId: pulumi.Output<string>;
|
|
69
71
|
readonly launchTemplateOverrides: pulumi.Output<outputs.autoscaling.ScalingGroupLaunchTemplateOverride[]>;
|
|
70
72
|
/**
|
|
71
|
-
*
|
|
73
|
+
* Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
|
|
72
74
|
*/
|
|
73
75
|
readonly launchTemplateVersion: pulumi.Output<string>;
|
|
74
76
|
/**
|
|
75
|
-
*
|
|
77
|
+
* Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
|
|
76
78
|
*/
|
|
77
79
|
readonly lifecycleState: pulumi.Output<string>;
|
|
78
80
|
/**
|
|
79
|
-
*
|
|
81
|
+
* Grace period for CLB health checks on scaling group instances
|
|
80
82
|
*/
|
|
81
83
|
readonly loadBalancerHealthCheckGracePeriod: pulumi.Output<number>;
|
|
82
84
|
/**
|
|
83
|
-
*
|
|
85
|
+
* Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
|
|
84
86
|
*/
|
|
85
87
|
readonly maxInstanceNumber: pulumi.Output<number>;
|
|
86
88
|
/**
|
|
87
|
-
*
|
|
89
|
+
* Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
|
|
88
90
|
*/
|
|
89
91
|
readonly minInstanceNumber: pulumi.Output<number>;
|
|
90
92
|
/**
|
|
91
|
-
*
|
|
93
|
+
* Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
|
|
92
94
|
*/
|
|
93
95
|
readonly multiAzPolicy: pulumi.Output<string>;
|
|
94
96
|
/**
|
|
95
|
-
*
|
|
97
|
+
* Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
|
|
96
98
|
*/
|
|
97
99
|
readonly projectName: pulumi.Output<string>;
|
|
98
100
|
/**
|
|
99
|
-
*
|
|
101
|
+
* Scaling group ID.
|
|
100
102
|
*/
|
|
101
103
|
readonly scalingGroupId: pulumi.Output<string>;
|
|
102
104
|
/**
|
|
103
|
-
*
|
|
105
|
+
* Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
|
|
104
106
|
*/
|
|
105
107
|
readonly scalingGroupName: pulumi.Output<string>;
|
|
106
108
|
/**
|
|
107
|
-
*
|
|
109
|
+
* Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
|
|
108
110
|
*/
|
|
109
111
|
readonly scalingMode: pulumi.Output<string>;
|
|
110
112
|
readonly serverGroupAttributes: pulumi.Output<outputs.autoscaling.ScalingGroupServerGroupAttribute[]>;
|
|
111
113
|
/**
|
|
112
|
-
*
|
|
114
|
+
* Number of instances in the scaling group that are in the disabled state.
|
|
113
115
|
*/
|
|
114
116
|
readonly stoppedInstanceCount: pulumi.Output<number>;
|
|
115
117
|
/**
|
|
116
|
-
*
|
|
118
|
+
* List of subnet IDs for the primary network interface of instances in the scaling group
|
|
117
119
|
*/
|
|
118
120
|
readonly subnetIds: pulumi.Output<string[]>;
|
|
119
121
|
/**
|
|
120
|
-
*
|
|
122
|
+
* Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
|
|
121
123
|
*/
|
|
122
124
|
readonly suspendedProcesses: pulumi.Output<string[]>;
|
|
123
125
|
readonly tags: pulumi.Output<outputs.autoscaling.ScalingGroupTag[]>;
|
|
124
126
|
/**
|
|
125
|
-
*
|
|
127
|
+
* Number of instances currently in the scaling group
|
|
126
128
|
*/
|
|
127
129
|
readonly totalInstanceCount: pulumi.Output<number>;
|
|
128
130
|
/**
|
|
129
|
-
*
|
|
131
|
+
* Scaling group update time.
|
|
130
132
|
*/
|
|
131
133
|
readonly updatedTime: pulumi.Output<string>;
|
|
132
134
|
/**
|
|
133
|
-
*
|
|
135
|
+
* VPC ID to which the scaling group belongs
|
|
134
136
|
*/
|
|
135
137
|
readonly vpcId: pulumi.Output<string>;
|
|
136
138
|
/**
|
|
@@ -147,110 +149,112 @@ export declare class ScalingGroup extends pulumi.CustomResource {
|
|
|
147
149
|
*/
|
|
148
150
|
export interface ScalingGroupState {
|
|
149
151
|
/**
|
|
150
|
-
*
|
|
152
|
+
* ID of the scaling configuration bound to the scaling group
|
|
151
153
|
*/
|
|
152
154
|
activeScalingConfigurationId?: pulumi.Input<string>;
|
|
153
155
|
/**
|
|
154
|
-
*
|
|
156
|
+
* Scaling group creation time
|
|
155
157
|
*/
|
|
156
158
|
createdTime?: pulumi.Input<string>;
|
|
157
159
|
/**
|
|
158
|
-
* RDS
|
|
160
|
+
* ID of the RDS database instance.
|
|
159
161
|
*/
|
|
160
162
|
dbInstanceIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
163
|
/**
|
|
162
|
-
*
|
|
164
|
+
* Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
|
|
163
165
|
*/
|
|
164
166
|
defaultCooldown?: pulumi.Input<number>;
|
|
165
167
|
/**
|
|
166
|
-
*
|
|
168
|
+
* Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
|
|
167
169
|
*/
|
|
168
170
|
desireInstanceNumber?: pulumi.Input<number>;
|
|
169
171
|
/**
|
|
170
|
-
*
|
|
172
|
+
* Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
|
|
171
173
|
*/
|
|
172
174
|
healthCheckType?: pulumi.Input<string>;
|
|
175
|
+
instanceRemovePolicies?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupInstanceRemovePolicy>[]>;
|
|
173
176
|
/**
|
|
174
|
-
*
|
|
177
|
+
* Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
|
|
175
178
|
*/
|
|
176
179
|
instanceTerminatePolicy?: pulumi.Input<string>;
|
|
180
|
+
instances?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupInstance>[]>;
|
|
177
181
|
/**
|
|
178
|
-
*
|
|
182
|
+
* Instance distribution policy.
|
|
179
183
|
*/
|
|
180
184
|
instancesDistribution?: pulumi.Input<inputs.autoscaling.ScalingGroupInstancesDistribution>;
|
|
181
185
|
/**
|
|
182
|
-
*
|
|
186
|
+
* Whether to enable the scaling group. true: enabled. false: stopped
|
|
183
187
|
*/
|
|
184
188
|
isEnableScalingGroup?: pulumi.Input<boolean>;
|
|
185
189
|
/**
|
|
186
|
-
*
|
|
190
|
+
* Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
|
|
187
191
|
*/
|
|
188
192
|
launchTemplateId?: pulumi.Input<string>;
|
|
189
193
|
launchTemplateOverrides?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupLaunchTemplateOverride>[]>;
|
|
190
194
|
/**
|
|
191
|
-
*
|
|
195
|
+
* Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
|
|
192
196
|
*/
|
|
193
197
|
launchTemplateVersion?: pulumi.Input<string>;
|
|
194
198
|
/**
|
|
195
|
-
*
|
|
199
|
+
* Status of the scaling group. Active: enabled. InActive: not activated. Deleting: deleting. Locked: locked. CoolingDown: cooling down. Unknown: unknown status.
|
|
196
200
|
*/
|
|
197
201
|
lifecycleState?: pulumi.Input<string>;
|
|
198
202
|
/**
|
|
199
|
-
*
|
|
203
|
+
* Grace period for CLB health checks on scaling group instances
|
|
200
204
|
*/
|
|
201
205
|
loadBalancerHealthCheckGracePeriod?: pulumi.Input<number>;
|
|
202
206
|
/**
|
|
203
|
-
*
|
|
207
|
+
* Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
|
|
204
208
|
*/
|
|
205
209
|
maxInstanceNumber?: pulumi.Input<number>;
|
|
206
210
|
/**
|
|
207
|
-
*
|
|
211
|
+
* Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
|
|
208
212
|
*/
|
|
209
213
|
minInstanceNumber?: pulumi.Input<number>;
|
|
210
214
|
/**
|
|
211
|
-
*
|
|
215
|
+
* Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
|
|
212
216
|
*/
|
|
213
217
|
multiAzPolicy?: pulumi.Input<string>;
|
|
214
218
|
/**
|
|
215
|
-
*
|
|
219
|
+
* Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
|
|
216
220
|
*/
|
|
217
221
|
projectName?: pulumi.Input<string>;
|
|
218
222
|
/**
|
|
219
|
-
*
|
|
223
|
+
* Scaling group ID.
|
|
220
224
|
*/
|
|
221
225
|
scalingGroupId?: pulumi.Input<string>;
|
|
222
226
|
/**
|
|
223
|
-
*
|
|
227
|
+
* Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
|
|
224
228
|
*/
|
|
225
229
|
scalingGroupName?: pulumi.Input<string>;
|
|
226
230
|
/**
|
|
227
|
-
*
|
|
231
|
+
* Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
|
|
228
232
|
*/
|
|
229
233
|
scalingMode?: pulumi.Input<string>;
|
|
230
234
|
serverGroupAttributes?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupServerGroupAttribute>[]>;
|
|
231
235
|
/**
|
|
232
|
-
*
|
|
236
|
+
* Number of instances in the scaling group that are in the disabled state.
|
|
233
237
|
*/
|
|
234
238
|
stoppedInstanceCount?: pulumi.Input<number>;
|
|
235
239
|
/**
|
|
236
|
-
*
|
|
240
|
+
* List of subnet IDs for the primary network interface of instances in the scaling group
|
|
237
241
|
*/
|
|
238
242
|
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
239
243
|
/**
|
|
240
|
-
*
|
|
244
|
+
* Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
|
|
241
245
|
*/
|
|
242
246
|
suspendedProcesses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
243
247
|
tags?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupTag>[]>;
|
|
244
248
|
/**
|
|
245
|
-
*
|
|
249
|
+
* Number of instances currently in the scaling group
|
|
246
250
|
*/
|
|
247
251
|
totalInstanceCount?: pulumi.Input<number>;
|
|
248
252
|
/**
|
|
249
|
-
*
|
|
253
|
+
* Scaling group update time.
|
|
250
254
|
*/
|
|
251
255
|
updatedTime?: pulumi.Input<string>;
|
|
252
256
|
/**
|
|
253
|
-
*
|
|
257
|
+
* VPC ID to which the scaling group belongs
|
|
254
258
|
*/
|
|
255
259
|
vpcId?: pulumi.Input<string>;
|
|
256
260
|
}
|
|
@@ -259,73 +263,75 @@ export interface ScalingGroupState {
|
|
|
259
263
|
*/
|
|
260
264
|
export interface ScalingGroupArgs {
|
|
261
265
|
/**
|
|
262
|
-
*
|
|
266
|
+
* ID of the scaling configuration bound to the scaling group
|
|
263
267
|
*/
|
|
264
268
|
activeScalingConfigurationId?: pulumi.Input<string>;
|
|
265
269
|
/**
|
|
266
|
-
*
|
|
270
|
+
* Cooldown period after a scaling activity (adding or removing ECS instances) completes. During the cooldown period, the scaling group does not perform other scaling activities; only scaling activities triggered by Cloud Monitoring alarms and scaling rules are effective. Value range: 5 ~ 86400 seconds. Default value: 300.
|
|
267
271
|
*/
|
|
268
272
|
defaultCooldown?: pulumi.Input<number>;
|
|
269
273
|
/**
|
|
270
|
-
*
|
|
274
|
+
* Expected number of running instances in the scaling group. 1. Must be no less than MinInstanceNumber and no greater than MaxInstanceNumber. 2. Default value: -1, which means the expected instance count feature is disabled. In this case, after the scaling group is created, scaling activities will automatically add the corresponding number of instances.
|
|
271
275
|
*/
|
|
272
276
|
desireInstanceNumber?: pulumi.Input<number>;
|
|
273
277
|
/**
|
|
274
|
-
*
|
|
278
|
+
* Health check mode for the scaling group. 1. NONE: No instance health check. 2. ECS (default): Performs health checks on ECS instances in the scaling group.
|
|
275
279
|
*/
|
|
276
280
|
healthCheckType?: pulumi.Input<string>;
|
|
281
|
+
instanceRemovePolicies?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupInstanceRemovePolicy>[]>;
|
|
277
282
|
/**
|
|
278
|
-
*
|
|
283
|
+
* Instance removal policies: 1. OldestInstance: Removes the earliest instance added to the scaling group (including both automatically created and manually added instances). 2. NewestInstance: Removes the latest instance added to the scaling group (including both automatically created and manually added instances). 3. OldestScalingConfigurationWithOldestInstance (default): Removes the earliest automatically created instance in the scaling configuration that was first associated with the scaling group. 4. OldestScalingConfigurationWithNewestInstance: Removes the latest automatically created instance in the scaling configuration that was first associated with the scaling group.
|
|
279
284
|
*/
|
|
280
285
|
instanceTerminatePolicy?: pulumi.Input<string>;
|
|
286
|
+
instances?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupInstance>[]>;
|
|
281
287
|
/**
|
|
282
|
-
*
|
|
288
|
+
* Instance distribution policy.
|
|
283
289
|
*/
|
|
284
290
|
instancesDistribution?: pulumi.Input<inputs.autoscaling.ScalingGroupInstancesDistribution>;
|
|
285
291
|
/**
|
|
286
|
-
*
|
|
292
|
+
* Whether to enable the scaling group. true: enabled. false: stopped
|
|
287
293
|
*/
|
|
288
294
|
isEnableScalingGroup?: pulumi.Input<boolean>;
|
|
289
295
|
/**
|
|
290
|
-
*
|
|
296
|
+
* Instance launch template ID. When configured, it indicates that the launch template is used as the source for the scaling configuration.
|
|
291
297
|
*/
|
|
292
298
|
launchTemplateId?: pulumi.Input<string>;
|
|
293
299
|
launchTemplateOverrides?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupLaunchTemplateOverride>[]>;
|
|
294
300
|
/**
|
|
295
|
-
*
|
|
301
|
+
* Instance launch template version. 1. A specific template version number. 2. Default: always use the default template version. 3. Latest: always use the latest template version.
|
|
296
302
|
*/
|
|
297
303
|
launchTemplateVersion?: pulumi.Input<string>;
|
|
298
304
|
/**
|
|
299
|
-
*
|
|
305
|
+
* Maximum number of instances in the scaling group. Default value: 0 ~ 100. You can adjust this in the Quota Center.
|
|
300
306
|
*/
|
|
301
307
|
maxInstanceNumber: pulumi.Input<number>;
|
|
302
308
|
/**
|
|
303
|
-
*
|
|
309
|
+
* Minimum number of instances in the scaling group. Default value: 0–100. You can adjust this in the quota center.
|
|
304
310
|
*/
|
|
305
311
|
minInstanceNumber: pulumi.Input<number>;
|
|
306
312
|
/**
|
|
307
|
-
*
|
|
313
|
+
* Scaling strategy. If you select multiple subnets, you must configure this parameter. 1. PRIORITY (default): priority strategy. 2. BALANCE: balanced distribution strategy.
|
|
308
314
|
*/
|
|
309
315
|
multiAzPolicy?: pulumi.Input<string>;
|
|
310
316
|
/**
|
|
311
|
-
*
|
|
317
|
+
* Project to which the scaling group belongs. Default is 'default'. A resource can belong to only one project. Only letters, numbers, underscores '_', dots '.', and hyphens '-' are allowed. Maximum length: 64 characters.
|
|
312
318
|
*/
|
|
313
319
|
projectName?: pulumi.Input<string>;
|
|
314
320
|
/**
|
|
315
|
-
*
|
|
321
|
+
* Scaling group name, unique within the same region. Must start with a Chinese character or letter, and can only contain Chinese characters, letters, numbers, underscores, and hyphens. Length limit: 1 ~ 128 characters. Special characters are not supported.
|
|
316
322
|
*/
|
|
317
323
|
scalingGroupName: pulumi.Input<string>;
|
|
318
324
|
/**
|
|
319
|
-
*
|
|
325
|
+
* Instance recycling mode for the scaling group. 1. release (default): Release mode. 2. recycle: Stop-and-recycle mode.
|
|
320
326
|
*/
|
|
321
327
|
scalingMode?: pulumi.Input<string>;
|
|
322
328
|
serverGroupAttributes?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupServerGroupAttribute>[]>;
|
|
323
329
|
/**
|
|
324
|
-
*
|
|
330
|
+
* List of subnet IDs for the primary network interface of instances in the scaling group
|
|
325
331
|
*/
|
|
326
332
|
subnetIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
327
333
|
/**
|
|
328
|
-
*
|
|
334
|
+
* Paused processes. If there are no paused processes, returns an empty value. ScaleIn: scale-in process. ScaleOut: scale-out process. HealthCheck: health check. AlarmNotification: alarm task. ScheduledAction: scheduled task.
|
|
329
335
|
*/
|
|
330
336
|
suspendedProcesses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
331
337
|
tags?: pulumi.Input<pulumi.Input<inputs.autoscaling.ScalingGroupTag>[]>;
|
|
@@ -6,7 +6,7 @@ exports.ScalingGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Scaling groups are used to manage a set of cloud resource instances. You can use scaling groups to define the number/capacity of instances in the resource pool, cooldown time, load balancing, and other information.
|
|
10
10
|
*
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
|
@@ -48,7 +48,9 @@ class ScalingGroup extends pulumi.CustomResource {
|
|
|
48
48
|
resourceInputs["defaultCooldown"] = state ? state.defaultCooldown : undefined;
|
|
49
49
|
resourceInputs["desireInstanceNumber"] = state ? state.desireInstanceNumber : undefined;
|
|
50
50
|
resourceInputs["healthCheckType"] = state ? state.healthCheckType : undefined;
|
|
51
|
+
resourceInputs["instanceRemovePolicies"] = state ? state.instanceRemovePolicies : undefined;
|
|
51
52
|
resourceInputs["instanceTerminatePolicy"] = state ? state.instanceTerminatePolicy : undefined;
|
|
53
|
+
resourceInputs["instances"] = state ? state.instances : undefined;
|
|
52
54
|
resourceInputs["instancesDistribution"] = state ? state.instancesDistribution : undefined;
|
|
53
55
|
resourceInputs["isEnableScalingGroup"] = state ? state.isEnableScalingGroup : undefined;
|
|
54
56
|
resourceInputs["launchTemplateId"] = state ? state.launchTemplateId : undefined;
|
|
@@ -90,7 +92,9 @@ class ScalingGroup extends pulumi.CustomResource {
|
|
|
90
92
|
resourceInputs["defaultCooldown"] = args ? args.defaultCooldown : undefined;
|
|
91
93
|
resourceInputs["desireInstanceNumber"] = args ? args.desireInstanceNumber : undefined;
|
|
92
94
|
resourceInputs["healthCheckType"] = args ? args.healthCheckType : undefined;
|
|
95
|
+
resourceInputs["instanceRemovePolicies"] = args ? args.instanceRemovePolicies : undefined;
|
|
93
96
|
resourceInputs["instanceTerminatePolicy"] = args ? args.instanceTerminatePolicy : undefined;
|
|
97
|
+
resourceInputs["instances"] = args ? args.instances : undefined;
|
|
94
98
|
resourceInputs["instancesDistribution"] = args ? args.instancesDistribution : undefined;
|
|
95
99
|
resourceInputs["isEnableScalingGroup"] = args ? args.isEnableScalingGroup : undefined;
|
|
96
100
|
resourceInputs["launchTemplateId"] = args ? args.launchTemplateId : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalingGroup.js","sourceRoot":"","sources":["../../autoscaling/scalingGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"scalingGroup.js","sourceRoot":"","sources":["../../autoscaling/scalingGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EA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c,CAAC,oCAAoC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzE,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAtOL,oCAuOC;AAzNG,gBAAgB;AACO,yBAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* After the scaling group triggers scaling rules, health checks, and instance count checks, the lifecycle hook can suspend instances that are in the 'joining', 'removing', or 'disabling' state, putting them into the joining/removing suspended state. The instances are now in a waiting state, and you can perform custom operations during this period until the lifecycle hook times out or you manually end the suspension.
|
|
6
6
|
*
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
|
@@ -27,31 +27,31 @@ export declare class ScalingLifecycleHook extends pulumi.CustomResource {
|
|
|
27
27
|
*/
|
|
28
28
|
static isInstance(obj: any): obj is ScalingLifecycleHook;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Cloud Assistant command information.
|
|
31
31
|
*/
|
|
32
32
|
readonly lifecycleCommand: pulumi.Output<outputs.autoscaling.ScalingLifecycleHookLifecycleCommand>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Lifecycle hook ID.
|
|
35
35
|
*/
|
|
36
36
|
readonly lifecycleHookId: pulumi.Output<string>;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Lifecycle hook name, cannot be modified after creation. Values: Cannot start with a digit, hyphen, or underscore. Can only contain Chinese characters, letters, digits, underscores, and hyphens. Length must be between 1 and 128 characters.
|
|
39
39
|
*/
|
|
40
40
|
readonly lifecycleHookName: pulumi.Output<string>;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Policy executed after the instance suspension ends. Values: CONTINUE: Continue execution. REJECT: Abort subsequent actions. ROLLBACK: For elastic scale-in activities, the release of ECS instances is rejected and rollback is performed; for elastic scale-out activities, the effect is the same as REJECT.
|
|
43
43
|
*/
|
|
44
44
|
readonly lifecycleHookPolicy: pulumi.Output<string>;
|
|
45
45
|
/**
|
|
46
|
-
* ECS
|
|
46
|
+
* Duration for which the ECS instance remains suspended. After timeout, the suspended state ends automatically and scaling actions continue according to the execution policy. Please evaluate the processing time for custom operations and set an appropriate timeout. Values: 30 to 21600 (6 hours), unit: s, must be an integer.
|
|
47
47
|
*/
|
|
48
48
|
readonly lifecycleHookTimeout: pulumi.Output<number>;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALE*IN: Elastic scale-in activity. SCALE*OUT: Elastic scale-out activity.
|
|
51
51
|
*/
|
|
52
52
|
readonly lifecycleHookType: pulumi.Output<string>;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Scaling group ID.
|
|
55
55
|
*/
|
|
56
56
|
readonly scalingGroupId: pulumi.Output<string>;
|
|
57
57
|
/**
|
|
@@ -68,31 +68,31 @@ export declare class ScalingLifecycleHook extends pulumi.CustomResource {
|
|
|
68
68
|
*/
|
|
69
69
|
export interface ScalingLifecycleHookState {
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Cloud Assistant command information.
|
|
72
72
|
*/
|
|
73
73
|
lifecycleCommand?: pulumi.Input<inputs.autoscaling.ScalingLifecycleHookLifecycleCommand>;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Lifecycle hook ID.
|
|
76
76
|
*/
|
|
77
77
|
lifecycleHookId?: pulumi.Input<string>;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Lifecycle hook name, cannot be modified after creation. Values: Cannot start with a digit, hyphen, or underscore. Can only contain Chinese characters, letters, digits, underscores, and hyphens. Length must be between 1 and 128 characters.
|
|
80
80
|
*/
|
|
81
81
|
lifecycleHookName?: pulumi.Input<string>;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Policy executed after the instance suspension ends. Values: CONTINUE: Continue execution. REJECT: Abort subsequent actions. ROLLBACK: For elastic scale-in activities, the release of ECS instances is rejected and rollback is performed; for elastic scale-out activities, the effect is the same as REJECT.
|
|
84
84
|
*/
|
|
85
85
|
lifecycleHookPolicy?: pulumi.Input<string>;
|
|
86
86
|
/**
|
|
87
|
-
* ECS
|
|
87
|
+
* Duration for which the ECS instance remains suspended. After timeout, the suspended state ends automatically and scaling actions continue according to the execution policy. Please evaluate the processing time for custom operations and set an appropriate timeout. Values: 30 to 21600 (6 hours), unit: s, must be an integer.
|
|
88
88
|
*/
|
|
89
89
|
lifecycleHookTimeout?: pulumi.Input<number>;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALE*IN: Elastic scale-in activity. SCALE*OUT: Elastic scale-out activity.
|
|
92
92
|
*/
|
|
93
93
|
lifecycleHookType?: pulumi.Input<string>;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Scaling group ID.
|
|
96
96
|
*/
|
|
97
97
|
scalingGroupId?: pulumi.Input<string>;
|
|
98
98
|
}
|
|
@@ -101,27 +101,27 @@ export interface ScalingLifecycleHookState {
|
|
|
101
101
|
*/
|
|
102
102
|
export interface ScalingLifecycleHookArgs {
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Cloud Assistant command information.
|
|
105
105
|
*/
|
|
106
106
|
lifecycleCommand?: pulumi.Input<inputs.autoscaling.ScalingLifecycleHookLifecycleCommand>;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Lifecycle hook name, cannot be modified after creation. Values: Cannot start with a digit, hyphen, or underscore. Can only contain Chinese characters, letters, digits, underscores, and hyphens. Length must be between 1 and 128 characters.
|
|
109
109
|
*/
|
|
110
110
|
lifecycleHookName: pulumi.Input<string>;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Policy executed after the instance suspension ends. Values: CONTINUE: Continue execution. REJECT: Abort subsequent actions. ROLLBACK: For elastic scale-in activities, the release of ECS instances is rejected and rollback is performed; for elastic scale-out activities, the effect is the same as REJECT.
|
|
113
113
|
*/
|
|
114
114
|
lifecycleHookPolicy: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
116
|
-
* ECS
|
|
116
|
+
* Duration for which the ECS instance remains suspended. After timeout, the suspended state ends automatically and scaling actions continue according to the execution policy. Please evaluate the processing time for custom operations and set an appropriate timeout. Values: 30 to 21600 (6 hours), unit: s, must be an integer.
|
|
117
117
|
*/
|
|
118
118
|
lifecycleHookTimeout: pulumi.Input<number>;
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALE*IN: Elastic scale-in activity. SCALE*OUT: Elastic scale-out activity.
|
|
121
121
|
*/
|
|
122
122
|
lifecycleHookType: pulumi.Input<string>;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* Scaling group ID.
|
|
125
125
|
*/
|
|
126
126
|
scalingGroupId: pulumi.Input<string>;
|
|
127
127
|
}
|
|
@@ -6,7 +6,7 @@ exports.ScalingLifecycleHook = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* After the scaling group triggers scaling rules, health checks, and instance count checks, the lifecycle hook can suspend instances that are in the 'joining', 'removing', or 'disabling' state, putting them into the joining/removing suspended state. The instances are now in a waiting state, and you can perform custom operations during this period until the lifecycle hook times out or you manually end the suspension.
|
|
10
10
|
*
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|