@pulumi/alicloud 3.40.0 → 3.42.0
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/apigateway/api.d.ts +31 -31
- package/apigateway/api.js +7 -7
- package/apigateway/app.d.ts +1 -1
- package/apigateway/app.js +1 -1
- package/apigateway/appAttachment.d.ts +40 -4
- package/apigateway/appAttachment.js +40 -4
- package/apigateway/appAttachment.js.map +1 -1
- package/apigateway/backend.d.ts +5 -5
- package/apigateway/backend.js +5 -5
- package/apigateway/group.d.ts +1 -1
- package/apigateway/group.js +1 -1
- package/apigateway/logConfig.d.ts +38 -7
- package/apigateway/logConfig.js +38 -7
- package/apigateway/logConfig.js.map +1 -1
- package/apigateway/model.d.ts +2 -2
- package/apigateway/model.js +2 -2
- package/apigateway/plugin.d.ts +4 -4
- package/apigateway/plugin.js +4 -4
- package/apigateway/vpcAccess.d.ts +37 -3
- package/apigateway/vpcAccess.js +37 -3
- package/apigateway/vpcAccess.js.map +1 -1
- package/arms/alertContact.d.ts +2 -2
- package/arms/alertContact.js +2 -2
- package/arms/alertContactGroup.d.ts +2 -2
- package/arms/alertContactGroup.js +2 -2
- package/arms/dispatchRule.d.ts +10 -10
- package/arms/dispatchRule.js +1 -1
- package/arms/integrationExporter.d.ts +19 -10
- package/arms/integrationExporter.js +19 -10
- package/arms/integrationExporter.js.map +1 -1
- package/arms/prometheus.d.ts +19 -10
- package/arms/prometheus.js +19 -10
- package/arms/prometheus.js.map +1 -1
- package/arms/prometheusAlertRule.d.ts +7 -24
- package/arms/prometheusAlertRule.js +1 -18
- package/arms/prometheusAlertRule.js.map +1 -1
- package/arms/remoteWrite.d.ts +33 -4
- package/arms/remoteWrite.js +33 -4
- package/arms/remoteWrite.js.map +1 -1
- package/bastionhost/host.d.ts +30 -4
- package/bastionhost/host.js +30 -4
- package/bastionhost/host.js.map +1 -1
- package/bastionhost/hostAccount.d.ts +40 -6
- package/bastionhost/hostAccount.js +40 -6
- package/bastionhost/hostAccount.js.map +1 -1
- package/bastionhost/hostAccountShareKeyAttachment.d.ts +35 -11
- package/bastionhost/hostAccountShareKeyAttachment.js +35 -11
- package/bastionhost/hostAccountShareKeyAttachment.js.map +1 -1
- package/bastionhost/hostAccountUserAttachment.d.ts +40 -17
- package/bastionhost/hostAccountUserAttachment.js +40 -17
- package/bastionhost/hostAccountUserAttachment.js.map +1 -1
- package/bastionhost/hostAccountUserGroupAttachment.d.ts +39 -16
- package/bastionhost/hostAccountUserGroupAttachment.js +39 -16
- package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -1
- package/bastionhost/hostAttachment.d.ts +43 -5
- package/bastionhost/hostAttachment.js +43 -5
- package/bastionhost/hostAttachment.js.map +1 -1
- package/bastionhost/hostGroup.d.ts +30 -4
- package/bastionhost/hostGroup.js +30 -4
- package/bastionhost/hostGroup.js.map +1 -1
- package/bastionhost/hostGroupAccountUserAttachment.d.ts +46 -23
- package/bastionhost/hostGroupAccountUserAttachment.js +46 -23
- package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -1
- package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +41 -18
- package/bastionhost/hostGroupAccountUserGroupAttachment.js +41 -18
- package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -1
- package/bastionhost/hostShareKey.d.ts +32 -6
- package/bastionhost/hostShareKey.js +32 -6
- package/bastionhost/hostShareKey.js.map +1 -1
- package/bastionhost/instance.d.ts +15 -9
- package/bastionhost/instance.js.map +1 -1
- package/bastionhost/user.d.ts +46 -15
- package/bastionhost/user.js +43 -12
- package/bastionhost/user.js.map +1 -1
- package/bastionhost/userAttachment.d.ts +43 -5
- package/bastionhost/userAttachment.js +43 -5
- package/bastionhost/userAttachment.js.map +1 -1
- package/bastionhost/userGroup.d.ts +30 -4
- package/bastionhost/userGroup.js +30 -4
- package/bastionhost/userGroup.js.map +1 -1
- package/cen/bandwidthLimit.d.ts +3 -9
- package/cen/bandwidthLimit.js +3 -9
- package/cen/bandwidthLimit.js.map +1 -1
- package/cen/instanceGrant.d.ts +1 -2
- package/cen/instanceGrant.js +1 -2
- package/cen/instanceGrant.js.map +1 -1
- package/cfg/aggregateCompliancePack.d.ts +24 -29
- package/cfg/aggregateCompliancePack.js +18 -23
- package/cfg/aggregateCompliancePack.js.map +1 -1
- package/cfg/aggregateConfigRule.d.ts +21 -14
- package/cfg/aggregateConfigRule.js +19 -12
- package/cfg/aggregateConfigRule.js.map +1 -1
- package/cfg/aggregateDelivery.d.ts +2 -2
- package/cfg/aggregateDelivery.js +2 -2
- package/cfg/aggregator.d.ts +16 -10
- package/cfg/aggregator.js +13 -7
- package/cfg/aggregator.js.map +1 -1
- package/cfg/compliancePack.d.ts +20 -26
- package/cfg/compliancePack.js +14 -20
- package/cfg/compliancePack.js.map +1 -1
- package/cfg/configurationRecorder.d.ts +2 -2
- package/cfg/configurationRecorder.js +2 -2
- package/cfg/delivery.d.ts +27 -1
- package/cfg/delivery.js +27 -1
- package/cfg/delivery.js.map +1 -1
- package/cfg/remediation.d.ts +30 -6
- package/cfg/remediation.js +30 -6
- package/cfg/remediation.js.map +1 -1
- package/cfg/rule.d.ts +19 -16
- package/cfg/rule.js +19 -16
- package/cfg/rule.js.map +1 -1
- package/cloudsso/accessManagement.d.ts +1 -1
- package/cloudsso/accessManagement.js +1 -1
- package/cms/alarm.d.ts +56 -20
- package/cms/alarm.js +44 -8
- package/cms/alarm.js.map +1 -1
- package/cms/alarmContact.d.ts +6 -6
- package/cms/alarmContact.js +6 -6
- package/cms/alarmContactGroup.d.ts +3 -3
- package/cms/alarmContactGroup.js +3 -3
- package/cms/dynamicTagGroup.d.ts +5 -5
- package/cms/dynamicTagGroup.js +2 -2
- package/cms/eventRule.d.ts +9 -7
- package/cms/eventRule.js +6 -4
- package/cms/eventRule.js.map +1 -1
- package/cms/groupMetricRule.d.ts +23 -16
- package/cms/groupMetricRule.js +17 -10
- package/cms/groupMetricRule.js.map +1 -1
- package/cms/hybridMonitorFcTask.d.ts +30 -5
- package/cms/hybridMonitorFcTask.js +30 -5
- package/cms/hybridMonitorFcTask.js.map +1 -1
- package/cms/hybridMonitorSlsTask.d.ts +7 -69
- package/cms/hybridMonitorSlsTask.js +1 -63
- package/cms/hybridMonitorSlsTask.js.map +1 -1
- package/cms/metricRuleBlackList.d.ts +58 -4
- package/cms/metricRuleBlackList.js +55 -1
- package/cms/metricRuleBlackList.js.map +1 -1
- package/cms/metricRuleTemplate.d.ts +11 -9
- package/cms/metricRuleTemplate.js +8 -6
- package/cms/metricRuleTemplate.js.map +1 -1
- package/cms/monitorGroup.d.ts +4 -4
- package/cms/monitorGroup.js +4 -4
- package/cms/monitorGroupInstances.d.ts +14 -9
- package/cms/monitorGroupInstances.js +11 -6
- package/cms/monitorGroupInstances.js.map +1 -1
- package/cms/namespace.d.ts +3 -3
- package/cms/namespace.js +3 -3
- package/cms/slsGroup.d.ts +4 -25
- package/cms/slsGroup.js +1 -22
- package/cms/slsGroup.js.map +1 -1
- package/cr/endpointAclPolicy.d.ts +33 -1
- package/cr/endpointAclPolicy.js +33 -1
- package/cr/endpointAclPolicy.js.map +1 -1
- package/cs/autoscalingConfig.d.ts +4 -23
- package/cs/autoscalingConfig.js +4 -23
- package/cs/autoscalingConfig.js.map +1 -1
- package/cs/edgeKubernetes.d.ts +147 -16
- package/cs/edgeKubernetes.js +112 -2
- package/cs/edgeKubernetes.js.map +1 -1
- package/cs/kubernetes.d.ts +106 -70
- package/cs/kubernetes.js +3 -1
- package/cs/kubernetes.js.map +1 -1
- package/cs/kubernetesAddon.d.ts +3 -90
- package/cs/kubernetesAddon.js +3 -90
- package/cs/kubernetesAddon.js.map +1 -1
- package/cs/kubernetesAutoscaler.d.ts +3 -69
- package/cs/kubernetesAutoscaler.js +0 -60
- package/cs/kubernetesAutoscaler.js.map +1 -1
- package/cs/kubernetesPermission.d.ts +15 -3
- package/cs/kubernetesPermission.js +12 -0
- package/cs/kubernetesPermission.js.map +1 -1
- package/cs/managedKubernetes.d.ts +21 -21
- package/cs/nodePool.d.ts +32 -339
- package/cs/nodePool.js +0 -307
- package/cs/nodePool.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +29 -14
- package/cs/serverlessKubernetes.js +2 -2
- package/cs/serverlessKubernetes.js.map +1 -1
- package/databasefilesystem/autoSnapShotPolicy.d.ts +3 -3
- package/databasefilesystem/autoSnapShotPolicy.js +3 -3
- package/databasefilesystem/instance.d.ts +11 -8
- package/databasefilesystem/instance.js +8 -5
- package/databasefilesystem/instance.js.map +1 -1
- package/databasefilesystem/instanceAttachment.d.ts +33 -27
- package/databasefilesystem/instanceAttachment.js +33 -27
- package/databasefilesystem/instanceAttachment.js.map +1 -1
- package/databasefilesystem/serviceLinkedRole.d.ts +1 -1
- package/databasefilesystem/serviceLinkedRole.js +1 -1
- package/databasefilesystem/snapshot.d.ts +37 -33
- package/databasefilesystem/snapshot.js +37 -33
- package/databasefilesystem/snapshot.js.map +1 -1
- package/dcdn/domain.d.ts +8 -5
- package/dcdn/domain.js +5 -2
- package/dcdn/domain.js.map +1 -1
- package/dcdn/domainConfig.d.ts +14 -13
- package/dcdn/domainConfig.js +11 -10
- package/dcdn/domainConfig.js.map +1 -1
- package/dcdn/er.d.ts +12 -10
- package/dcdn/er.js +9 -7
- package/dcdn/er.js.map +1 -1
- package/dcdn/ipaDomain.d.ts +12 -12
- package/dcdn/ipaDomain.js +9 -9
- package/dcdn/kv.d.ts +13 -14
- package/dcdn/kv.js +7 -8
- package/dcdn/kv.js.map +1 -1
- package/dcdn/kvNamespace.d.ts +5 -3
- package/dcdn/kvNamespace.js +5 -3
- package/dcdn/kvNamespace.js.map +1 -1
- package/dcdn/wafDomain.d.ts +9 -5
- package/dcdn/wafDomain.js +9 -5
- package/dcdn/wafDomain.js.map +1 -1
- package/dcdn/wafPolicy.d.ts +4 -2
- package/dcdn/wafPolicy.js +4 -2
- package/dcdn/wafPolicy.js.map +1 -1
- package/dcdn/wafPolicyDomainAttachment.d.ts +16 -11
- package/dcdn/wafPolicyDomainAttachment.js +16 -11
- package/dcdn/wafPolicyDomainAttachment.js.map +1 -1
- package/dcdn/wafRule.d.ts +15 -13
- package/dcdn/wafRule.js +9 -7
- package/dcdn/wafRule.js.map +1 -1
- package/ddos/domainResource.d.ts +12 -0
- package/ddos/domainResource.js +2 -0
- package/ddos/domainResource.js.map +1 -1
- package/dfs/accessGroup.d.ts +5 -3
- package/dfs/accessGroup.js +5 -3
- package/dfs/accessGroup.js.map +1 -1
- package/dfs/accessRule.d.ts +1 -1
- package/dfs/accessRule.js +1 -1
- package/dfs/fileSystem.d.ts +2 -2
- package/dfs/fileSystem.js +2 -2
- package/dfs/mountPoint.d.ts +46 -1
- package/dfs/mountPoint.js +46 -1
- package/dfs/mountPoint.js.map +1 -1
- package/eci/containerGroup.d.ts +43 -40
- package/eci/containerGroup.js +3 -3
- package/eci/containerGroup.js.map +1 -1
- package/ecs/disk.d.ts +0 -3
- package/ecs/disk.js +0 -2
- package/ecs/disk.js.map +1 -1
- package/ecs/ecsDisk.d.ts +0 -3
- package/ecs/ecsDisk.js +0 -2
- package/ecs/ecsDisk.js.map +1 -1
- package/ecs/eipAssociation.d.ts +35 -28
- package/ecs/eipAssociation.js +35 -28
- package/ecs/eipAssociation.js.map +1 -1
- package/ecs/instance.d.ts +44 -56
- package/ecs/instance.js +6 -15
- package/ecs/instance.js.map +1 -1
- package/eipanycast/anycastEipAddress.d.ts +65 -18
- package/eipanycast/anycastEipAddress.js +19 -4
- package/eipanycast/anycastEipAddress.js.map +1 -1
- package/eipanycast/anycastEipAddressAttachment.d.ts +75 -34
- package/eipanycast/anycastEipAddressAttachment.js +11 -20
- package/eipanycast/anycastEipAddressAttachment.js.map +1 -1
- package/elasticsearch/instance.d.ts +70 -51
- package/elasticsearch/instance.js +10 -35
- package/elasticsearch/instance.js.map +1 -1
- package/ens/index.d.ts +3 -0
- package/ens/index.js +6 -1
- package/ens/index.js.map +1 -1
- package/ens/instance.d.ts +355 -0
- package/ens/instance.js +122 -0
- package/ens/instance.js.map +1 -0
- package/ess/suspendProcess.d.ts +1 -3
- package/ess/suspendProcess.js +1 -3
- package/ess/suspendProcess.js.map +1 -1
- package/eventbridge/rule.d.ts +5 -5
- package/eventbridge/rule.js +2 -2
- package/fc/index.d.ts +3 -0
- package/fc/index.js +6 -1
- package/fc/index.js.map +1 -1
- package/fc/v2function.d.ts +480 -0
- package/fc/v2function.js +231 -0
- package/fc/v2function.js.map +1 -0
- package/ga/accelerator.d.ts +78 -9
- package/ga/accelerator.js +29 -6
- package/ga/accelerator.js.map +1 -1
- package/ga/acceleratorSpareIpAttachment.d.ts +1 -1
- package/ga/acceleratorSpareIpAttachment.js +1 -1
- package/ga/accessLog.d.ts +1 -1
- package/ga/accessLog.js +1 -1
- package/ga/acl.d.ts +1 -1
- package/ga/acl.js +1 -1
- package/ga/aclAttachment.d.ts +1 -1
- package/ga/aclAttachment.js +1 -1
- package/ga/aclEntryAttachment.d.ts +1 -1
- package/ga/aclEntryAttachment.js +1 -1
- package/ga/additionalCertificate.d.ts +1 -1
- package/ga/additionalCertificate.js +1 -1
- package/ga/bandwidthPackage.d.ts +13 -1
- package/ga/bandwidthPackage.js +3 -1
- package/ga/bandwidthPackage.js.map +1 -1
- package/ga/bandwidthPackageAttachment.d.ts +1 -1
- package/ga/bandwidthPackageAttachment.js +1 -1
- package/ga/basicAccelerateIp.d.ts +1 -1
- package/ga/basicAccelerateIp.js +1 -1
- package/ga/basicAccelerateIpEndpointRelation.d.ts +1 -1
- package/ga/basicAccelerateIpEndpointRelation.js +1 -1
- package/ga/basicAccelerator.d.ts +37 -1
- package/ga/basicAccelerator.js +7 -1
- package/ga/basicAccelerator.js.map +1 -1
- package/ga/basicEndpoint.d.ts +1 -1
- package/ga/basicEndpoint.js +1 -1
- package/ga/basicEndpointGroup.d.ts +1 -1
- package/ga/basicEndpointGroup.js +1 -1
- package/ga/basicIpSet.d.ts +1 -1
- package/ga/basicIpSet.js +1 -1
- package/ga/customRoutingEndpoint.d.ts +1 -1
- package/ga/customRoutingEndpoint.js +1 -1
- package/ga/customRoutingEndpointGroup.d.ts +1 -1
- package/ga/customRoutingEndpointGroup.js +1 -1
- package/ga/customRoutingEndpointGroupDestination.d.ts +1 -1
- package/ga/customRoutingEndpointGroupDestination.js +1 -1
- package/ga/customRoutingEndpointTrafficPolicy.d.ts +1 -1
- package/ga/customRoutingEndpointTrafficPolicy.js +1 -1
- package/ga/domain.d.ts +1 -1
- package/ga/domain.js +1 -1
- package/ga/endpointGroup.d.ts +1 -1
- package/ga/endpointGroup.js +1 -1
- package/ga/forwardingRule.d.ts +111 -1
- package/ga/forwardingRule.js +111 -1
- package/ga/forwardingRule.js.map +1 -1
- package/ga/ipSet.d.ts +1 -1
- package/ga/ipSet.js +1 -1
- package/ga/listener.d.ts +1 -1
- package/ga/listener.js +1 -1
- package/kvstore/instance.d.ts +92 -91
- package/kvstore/instance.js +2 -0
- package/kvstore/instance.js.map +1 -1
- package/nas/dataFlow.d.ts +1 -1
- package/nas/dataFlow.js +1 -1
- package/nas/mountTarget.d.ts +28 -53
- package/nas/mountTarget.js +6 -51
- package/nas/mountTarget.js.map +1 -1
- package/oos/secretParameter.d.ts +1 -1
- package/oos/secretParameter.js +1 -1
- package/oss/bucket.d.ts +77 -27
- package/oss/bucket.js +30 -0
- package/oss/bucket.js.map +1 -1
- package/ots/secondaryIndex.d.ts +2 -2
- package/ots/secondaryIndex.js +2 -2
- package/package.json +2 -2
- package/polardb/cluster.d.ts +88 -85
- package/polardb/cluster.js +8 -51
- package/polardb/cluster.js.map +1 -1
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/ram/accessKey.d.ts +4 -2
- package/ram/accessKey.js +2 -0
- package/ram/accessKey.js.map +1 -1
- package/ram/accountAlias.d.ts +2 -0
- package/ram/accountAlias.js +2 -0
- package/ram/accountAlias.js.map +1 -1
- package/ram/accountPasswordPolicy.d.ts +3 -3
- package/ram/getAccountAliases.d.ts +0 -39
- package/ram/getAccountAliases.js +0 -30
- package/ram/getAccountAliases.js.map +1 -1
- package/ram/getGroups.d.ts +4 -0
- package/ram/getGroups.js +4 -0
- package/ram/getGroups.js.map +1 -1
- package/ram/getPolicies.d.ts +13 -0
- package/ram/getPolicies.js +4 -0
- package/ram/getPolicies.js.map +1 -1
- package/ram/getPolicyDocument.d.ts +8 -8
- package/ram/getPolicyDocument.js +6 -6
- package/ram/getRoles.d.ts +4 -0
- package/ram/getRoles.js +4 -0
- package/ram/getRoles.js.map +1 -1
- package/ram/getSamlProviders.d.ts +8 -2
- package/ram/getSamlProviders.js +2 -2
- package/ram/getSamlProviders.js.map +1 -1
- package/ram/getUsers.d.ts +4 -0
- package/ram/getUsers.js +4 -0
- package/ram/getUsers.js.map +1 -1
- package/ram/group.d.ts +2 -0
- package/ram/group.js +2 -0
- package/ram/group.js.map +1 -1
- package/ram/groupMembership.d.ts +2 -0
- package/ram/groupMembership.js +2 -0
- package/ram/groupMembership.js.map +1 -1
- package/ram/groupPolicyAttachment.d.ts +2 -0
- package/ram/groupPolicyAttachment.js +2 -0
- package/ram/groupPolicyAttachment.js.map +1 -1
- package/ram/loginProfile.d.ts +2 -0
- package/ram/loginProfile.js +2 -0
- package/ram/loginProfile.js.map +1 -1
- package/ram/policy.d.ts +14 -12
- package/ram/policy.js +2 -0
- package/ram/policy.js.map +1 -1
- package/ram/role.d.ts +11 -9
- package/ram/role.js +2 -0
- package/ram/role.js.map +1 -1
- package/ram/roleAttachment.d.ts +2 -0
- package/ram/roleAttachment.js +2 -0
- package/ram/roleAttachment.js.map +1 -1
- package/ram/rolePolicyAttachment.d.ts +2 -0
- package/ram/rolePolicyAttachment.js +2 -0
- package/ram/rolePolicyAttachment.js.map +1 -1
- package/ram/samlProvider.d.ts +2 -2
- package/ram/samlProvider.js +2 -2
- package/ram/securityPreference.d.ts +1 -1
- package/ram/securityPreference.js +1 -1
- package/ram/user.d.ts +2 -0
- package/ram/user.js +2 -0
- package/ram/user.js.map +1 -1
- package/ram/userPolicyAttachment.d.ts +2 -0
- package/ram/userPolicyAttachment.js +2 -0
- package/ram/userPolicyAttachment.js.map +1 -1
- package/rds/accountPrivilege.d.ts +11 -11
- package/rds/accountPrivilege.js +11 -8
- package/rds/accountPrivilege.js.map +1 -1
- package/rds/backupPolicy.d.ts +7 -5
- package/rds/backupPolicy.js +7 -5
- package/rds/backupPolicy.js.map +1 -1
- package/rds/connection.d.ts +10 -9
- package/rds/connection.js +10 -9
- package/rds/connection.js.map +1 -1
- package/rds/database.d.ts +16 -14
- package/rds/database.js +13 -8
- package/rds/database.js.map +1 -1
- package/rds/dbInstanceEndpoint.d.ts +69 -2
- package/rds/dbInstanceEndpoint.js +69 -2
- package/rds/dbInstanceEndpoint.js.map +1 -1
- package/rds/dbInstanceEndpointAddress.d.ts +2 -2
- package/rds/dbInstanceEndpointAddress.js +2 -2
- package/rds/dbNode.d.ts +22 -14
- package/rds/dbNode.js +22 -14
- package/rds/dbNode.js.map +1 -1
- package/rds/instance.d.ts +15 -3
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/rds/rdsAccount.d.ts +18 -13
- package/rds/rdsAccount.js +18 -13
- package/rds/rdsAccount.js.map +1 -1
- package/rds/rdsBackup.d.ts +2 -2
- package/rds/rdsBackup.js +2 -2
- package/rds/rdsDbProxy.d.ts +13 -11
- package/rds/rdsDbProxy.js +13 -11
- package/rds/rdsDbProxy.js.map +1 -1
- package/rds/rdsInstanceCrossBackupPolicy.d.ts +24 -13
- package/rds/rdsInstanceCrossBackupPolicy.js +24 -13
- package/rds/rdsInstanceCrossBackupPolicy.js.map +1 -1
- package/rds/rdsParameterGroup.d.ts +5 -3
- package/rds/rdsParameterGroup.js +5 -3
- package/rds/rdsParameterGroup.js.map +1 -1
- package/rds/rdsServiceLinkedRole.d.ts +1 -1
- package/rds/rdsServiceLinkedRole.js +1 -1
- package/rds/readOnlyInstance.d.ts +25 -20
- package/rds/readOnlyInstance.js +25 -20
- package/rds/readOnlyInstance.js.map +1 -1
- package/rds/readWriteSplittingConnection.d.ts +25 -22
- package/rds/readWriteSplittingConnection.js +25 -22
- package/rds/readWriteSplittingConnection.js.map +1 -1
- package/resourcemanager/controlPolicyAttachment.d.ts +7 -9
- package/resourcemanager/controlPolicyAttachment.js +7 -9
- package/resourcemanager/controlPolicyAttachment.js.map +1 -1
- package/resourcemanager/sharedResource.d.ts +7 -7
- package/resourcemanager/sharedResource.js +2 -2
- package/sddp/dataLimit.d.ts +1 -1
- package/sddp/dataLimit.js +1 -1
- package/types/input.d.ts +521 -185
- package/types/output.d.ts +524 -185
- package/vpc/gatewayEndpoint.d.ts +183 -0
- package/vpc/gatewayEndpoint.js +112 -0
- package/vpc/gatewayEndpoint.js.map +1 -0
- package/vpc/gatewayEndpointRouteTableAttachment.d.ts +111 -0
- package/vpc/gatewayEndpointRouteTableAttachment.js +102 -0
- package/vpc/gatewayEndpointRouteTableAttachment.js.map +1 -0
- package/vpc/index.d.ts +6 -0
- package/vpc/index.js +13 -3
- package/vpc/index.js.map +1 -1
- package/vpc/natGateway.d.ts +2 -2
- package/vpc/snatEntry.d.ts +46 -2
- package/vpc/snatEntry.js +44 -0
- package/vpc/snatEntry.js.map +1 -1
- package/vpc/subnet.d.ts +1 -1
- package/vpc/switch.d.ts +3 -1
- package/vpc/switch.js +2 -0
- package/vpc/switch.js.map +1 -1
- package/vpc/vbrHa.d.ts +1 -49
- package/vpc/vbrHa.js +1 -49
- package/vpc/vbrHa.js.map +1 -1
- package/vpn/gatewayVpnAttachment.d.ts +17 -20
- package/vpn/gatewayVpnAttachment.js +5 -8
- package/vpn/gatewayVpnAttachment.js.map +1 -1
|
@@ -4,7 +4,39 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* For information about CR Endpoint Acl Policy and how to use it, see [What is Endpoint Acl Policy](https://www.alibabacloud.com/help/doc-detail/145275.htm).
|
|
6
6
|
*
|
|
7
|
-
* > **NOTE:** Available
|
|
7
|
+
* > **NOTE:** Available since v1.139.0.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* Basic Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
16
|
+
*
|
|
17
|
+
* const config = new pulumi.Config();
|
|
18
|
+
* const name = config.get("name") || "tf-example";
|
|
19
|
+
* const defaultRegistryEnterpriseInstance = new alicloud.cr.RegistryEnterpriseInstance("defaultRegistryEnterpriseInstance", {
|
|
20
|
+
* paymentType: "Subscription",
|
|
21
|
+
* period: 1,
|
|
22
|
+
* renewalStatus: "ManualRenewal",
|
|
23
|
+
* instanceType: "Advanced",
|
|
24
|
+
* instanceName: name,
|
|
25
|
+
* });
|
|
26
|
+
* const defaultEndpointAclService = alicloud.cr.getEndpointAclServiceOutput({
|
|
27
|
+
* endpointType: "internet",
|
|
28
|
+
* enable: true,
|
|
29
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
30
|
+
* moduleName: "Registry",
|
|
31
|
+
* });
|
|
32
|
+
* const defaultEndpointAclPolicy = new alicloud.cr.EndpointAclPolicy("defaultEndpointAclPolicy", {
|
|
33
|
+
* instanceId: defaultEndpointAclService.apply(defaultEndpointAclService => defaultEndpointAclService.instanceId),
|
|
34
|
+
* entry: "192.168.1.0/24",
|
|
35
|
+
* description: name,
|
|
36
|
+
* moduleName: "Registry",
|
|
37
|
+
* endpointType: "internet",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
8
40
|
*
|
|
9
41
|
* ## Import
|
|
10
42
|
*
|
package/cr/endpointAclPolicy.js
CHANGED
|
@@ -10,7 +10,39 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* For information about CR Endpoint Acl Policy and how to use it, see [What is Endpoint Acl Policy](https://www.alibabacloud.com/help/doc-detail/145275.htm).
|
|
12
12
|
*
|
|
13
|
-
* > **NOTE:** Available
|
|
13
|
+
* > **NOTE:** Available since v1.139.0.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* Basic Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
+
*
|
|
23
|
+
* const config = new pulumi.Config();
|
|
24
|
+
* const name = config.get("name") || "tf-example";
|
|
25
|
+
* const defaultRegistryEnterpriseInstance = new alicloud.cr.RegistryEnterpriseInstance("defaultRegistryEnterpriseInstance", {
|
|
26
|
+
* paymentType: "Subscription",
|
|
27
|
+
* period: 1,
|
|
28
|
+
* renewalStatus: "ManualRenewal",
|
|
29
|
+
* instanceType: "Advanced",
|
|
30
|
+
* instanceName: name,
|
|
31
|
+
* });
|
|
32
|
+
* const defaultEndpointAclService = alicloud.cr.getEndpointAclServiceOutput({
|
|
33
|
+
* endpointType: "internet",
|
|
34
|
+
* enable: true,
|
|
35
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
36
|
+
* moduleName: "Registry",
|
|
37
|
+
* });
|
|
38
|
+
* const defaultEndpointAclPolicy = new alicloud.cr.EndpointAclPolicy("defaultEndpointAclPolicy", {
|
|
39
|
+
* instanceId: defaultEndpointAclService.apply(defaultEndpointAclService => defaultEndpointAclService.instanceId),
|
|
40
|
+
* entry: "192.168.1.0/24",
|
|
41
|
+
* description: name,
|
|
42
|
+
* moduleName: "Registry",
|
|
43
|
+
* endpointType: "internet",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
14
46
|
*
|
|
15
47
|
* ## Import
|
|
16
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpointAclPolicy.js","sourceRoot":"","sources":["../../cr/endpointAclPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1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AC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtFL,8CAuFC;AAzEG,gBAAgB;AACO,8BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -1,30 +1,11 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource will help you configure auto scaling for the kubernetes cluster.
|
|
3
|
+
* This resource will help you configure auto scaling for the kubernetes cluster, see [What is autoscaling config](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/api-configure-auto-scaling).
|
|
4
4
|
*
|
|
5
|
-
* > **NOTE:** Available
|
|
6
|
-
* **NOTE:** From version 1.164.0, support for specifying whether to allow the scale-in of nodes by parameter `scaleDownEnabled`.
|
|
7
|
-
* **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
|
|
8
|
-
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* If you do not have an existing cluster, you need to create an ACK cluster through alicloud.cs.ManagedKubernetes first, and then configure automatic scaling.
|
|
5
|
+
* > **NOTE:** Available since v1.127.0.
|
|
12
6
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
16
|
-
*
|
|
17
|
-
* const _default = new alicloud.cs.AutoscalingConfig("default", {
|
|
18
|
-
* clusterId: alicloud_cs_managed_kubernetes["default"][0].id,
|
|
19
|
-
* coolDownDuration: "10m",
|
|
20
|
-
* unneededDuration: "10m",
|
|
21
|
-
* utilizationThreshold: "0.5",
|
|
22
|
-
* gpuUtilizationThreshold: "0.5",
|
|
23
|
-
* scanInterval: "30s",
|
|
24
|
-
* scaleDownEnabled: true,
|
|
25
|
-
* expander: "least-waste",
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
7
|
+
* > **NOTE:** From version 1.164.0, support for specifying whether to allow the scale-in of nodes by parameter `scaleDownEnabled`.
|
|
8
|
+
* **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
|
|
28
9
|
*/
|
|
29
10
|
export declare class AutoscalingConfig extends pulumi.CustomResource {
|
|
30
11
|
/**
|
package/cs/autoscalingConfig.js
CHANGED
|
@@ -6,31 +6,12 @@ exports.AutoscalingConfig = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource will help you configure auto scaling for the kubernetes cluster.
|
|
9
|
+
* This resource will help you configure auto scaling for the kubernetes cluster, see [What is autoscaling config](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/api-configure-auto-scaling).
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:** Available
|
|
12
|
-
* **NOTE:** From version 1.164.0, support for specifying whether to allow the scale-in of nodes by parameter `scaleDownEnabled`.
|
|
13
|
-
* **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* If you do not have an existing cluster, you need to create an ACK cluster through alicloud.cs.ManagedKubernetes first, and then configure automatic scaling.
|
|
11
|
+
* > **NOTE:** Available since v1.127.0.
|
|
18
12
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* import * as alicloud from "@pulumi/alicloud";
|
|
22
|
-
*
|
|
23
|
-
* const _default = new alicloud.cs.AutoscalingConfig("default", {
|
|
24
|
-
* clusterId: alicloud_cs_managed_kubernetes["default"][0].id,
|
|
25
|
-
* coolDownDuration: "10m",
|
|
26
|
-
* unneededDuration: "10m",
|
|
27
|
-
* utilizationThreshold: "0.5",
|
|
28
|
-
* gpuUtilizationThreshold: "0.5",
|
|
29
|
-
* scanInterval: "30s",
|
|
30
|
-
* scaleDownEnabled: true,
|
|
31
|
-
* expander: "least-waste",
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
13
|
+
* > **NOTE:** From version 1.164.0, support for specifying whether to allow the scale-in of nodes by parameter `scaleDownEnabled`.
|
|
14
|
+
* **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.
|
|
34
15
|
*/
|
|
35
16
|
class AutoscalingConfig extends pulumi.CustomResource {
|
|
36
17
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"autoscalingConfig.js","sourceRoot":"","sources":["../../cs/autoscalingConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"autoscalingConfig.js","sourceRoot":"","sources":["../../cs/autoscalingConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;GAOG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;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|
-
* This resource will help you to manage a Edge Kubernetes Cluster in Alibaba Cloud Kubernetes Service.
|
|
5
|
+
* This resource will help you to manage a Edge Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is edge kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ack-edge-cluster).
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
|
|
8
8
|
* A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the
|
|
@@ -17,10 +17,120 @@ import * as outputs from "../types/output";
|
|
|
17
17
|
*
|
|
18
18
|
* > **NOTE:** If you want to manage Kubernetes, you can use Kubernetes Provider.
|
|
19
19
|
*
|
|
20
|
-
* > **NOTE:** Available
|
|
20
|
+
* > **NOTE:** Available since v1.103.0.
|
|
21
21
|
*
|
|
22
22
|
* > **NOTE:** From version 1.185.0+, support new fields `clusterSpec`, `runtime` and `loadBalancerSpec`.
|
|
23
23
|
*
|
|
24
|
+
* ## Example Usage
|
|
25
|
+
*
|
|
26
|
+
* Basic Usage
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
31
|
+
*
|
|
32
|
+
* const config = new pulumi.Config();
|
|
33
|
+
* const name = config.get("name") || "tf-example";
|
|
34
|
+
* const defaultZones = alicloud.getZones({
|
|
35
|
+
* availableResourceCreation: "VSwitch",
|
|
36
|
+
* });
|
|
37
|
+
* const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
|
|
38
|
+
* availabilityZone: defaultZones.zones?.[0]?.id,
|
|
39
|
+
* cpuCoreCount: 4,
|
|
40
|
+
* memorySize: 8,
|
|
41
|
+
* kubernetesNodeRole: "Master",
|
|
42
|
+
* }));
|
|
43
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
44
|
+
* vpcName: name,
|
|
45
|
+
* cidrBlock: "10.4.0.0/16",
|
|
46
|
+
* });
|
|
47
|
+
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
48
|
+
* vswitchName: name,
|
|
49
|
+
* cidrBlock: "10.4.0.0/24",
|
|
50
|
+
* vpcId: defaultNetwork.id,
|
|
51
|
+
* zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
52
|
+
* });
|
|
53
|
+
* const defaultEdgeKubernetes = new alicloud.cs.EdgeKubernetes("defaultEdgeKubernetes", {
|
|
54
|
+
* workerVswitchIds: [defaultSwitch.id],
|
|
55
|
+
* workerInstanceTypes: [defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id)],
|
|
56
|
+
* version: "1.20.11-aliyunedge.1",
|
|
57
|
+
* workerNumber: 1,
|
|
58
|
+
* password: "Test12345",
|
|
59
|
+
* podCidr: "10.99.0.0/16",
|
|
60
|
+
* serviceCidr: "172.16.0.0/16",
|
|
61
|
+
* workerInstanceChargeType: "PostPaid",
|
|
62
|
+
* newNatGateway: true,
|
|
63
|
+
* nodeCidrMask: 24,
|
|
64
|
+
* installCloudMonitor: true,
|
|
65
|
+
* slbInternetEnabled: true,
|
|
66
|
+
* isEnterpriseSecurityGroup: true,
|
|
67
|
+
* workerDataDisks: [{
|
|
68
|
+
* category: "cloud_ssd",
|
|
69
|
+
* size: "200",
|
|
70
|
+
* encrypted: "false",
|
|
71
|
+
* }],
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* You could create a professional kubernetes edge cluster now.
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
80
|
+
*
|
|
81
|
+
* const config = new pulumi.Config();
|
|
82
|
+
* const name = config.get("name") || "tf_example";
|
|
83
|
+
* const defaultZones = alicloud.getZones({
|
|
84
|
+
* availableResourceCreation: "VSwitch",
|
|
85
|
+
* });
|
|
86
|
+
* const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
|
|
87
|
+
* availabilityZone: defaultZones.zones?.[0]?.id,
|
|
88
|
+
* cpuCoreCount: 4,
|
|
89
|
+
* memorySize: 8,
|
|
90
|
+
* kubernetesNodeRole: "Master",
|
|
91
|
+
* }));
|
|
92
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
93
|
+
* vpcName: name,
|
|
94
|
+
* cidrBlock: "10.4.0.0/16",
|
|
95
|
+
* });
|
|
96
|
+
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
97
|
+
* vswitchName: name,
|
|
98
|
+
* cidrBlock: "10.4.0.0/24",
|
|
99
|
+
* vpcId: defaultNetwork.id,
|
|
100
|
+
* zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
101
|
+
* });
|
|
102
|
+
* const defaultEdgeKubernetes = new alicloud.cs.EdgeKubernetes("defaultEdgeKubernetes", {
|
|
103
|
+
* workerVswitchIds: [defaultSwitch.id],
|
|
104
|
+
* workerInstanceTypes: [defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id)],
|
|
105
|
+
* version: "1.20.11-aliyunedge.1",
|
|
106
|
+
* clusterSpec: "ack.pro.small",
|
|
107
|
+
* workerNumber: 1,
|
|
108
|
+
* password: "Test12345",
|
|
109
|
+
* podCidr: "10.99.0.0/16",
|
|
110
|
+
* serviceCidr: "172.16.0.0/16",
|
|
111
|
+
* workerInstanceChargeType: "PostPaid",
|
|
112
|
+
* newNatGateway: true,
|
|
113
|
+
* nodeCidrMask: 24,
|
|
114
|
+
* loadBalancerSpec: "slb.s2.small",
|
|
115
|
+
* installCloudMonitor: true,
|
|
116
|
+
* slbInternetEnabled: true,
|
|
117
|
+
* isEnterpriseSecurityGroup: true,
|
|
118
|
+
* addons: [{
|
|
119
|
+
* name: "alibaba-log-controller",
|
|
120
|
+
* config: "{\"IngressDashboardEnabled\":\"false\"}",
|
|
121
|
+
* }],
|
|
122
|
+
* workerDataDisks: [{
|
|
123
|
+
* category: "cloud_ssd",
|
|
124
|
+
* size: "200",
|
|
125
|
+
* encrypted: "false",
|
|
126
|
+
* }],
|
|
127
|
+
* runtime: {
|
|
128
|
+
* name: "containerd",
|
|
129
|
+
* version: "1.5.10",
|
|
130
|
+
* },
|
|
131
|
+
* });
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
24
134
|
* ## Import
|
|
25
135
|
*
|
|
26
136
|
* Kubernetes edge cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.
|
|
@@ -46,7 +156,7 @@ export declare class EdgeKubernetes extends pulumi.CustomResource {
|
|
|
46
156
|
*/
|
|
47
157
|
static isInstance(obj: any): obj is EdgeKubernetes;
|
|
48
158
|
/**
|
|
49
|
-
* The addon you want to install in cluster.
|
|
159
|
+
* The addon you want to install in cluster. See `addons` below.
|
|
50
160
|
*/
|
|
51
161
|
readonly addons: pulumi.Output<outputs.cs.EdgeKubernetesAddon[] | undefined>;
|
|
52
162
|
/**
|
|
@@ -54,7 +164,7 @@ export declare class EdgeKubernetes extends pulumi.CustomResource {
|
|
|
54
164
|
*/
|
|
55
165
|
readonly availabilityZone: pulumi.Output<string>;
|
|
56
166
|
/**
|
|
57
|
-
*
|
|
167
|
+
* Nested attribute containing certificate authority data for your cluster.
|
|
58
168
|
*/
|
|
59
169
|
readonly certificateAuthority: pulumi.Output<outputs.cs.EdgeKubernetesCertificateAuthority>;
|
|
60
170
|
/**
|
|
@@ -67,6 +177,8 @@ export declare class EdgeKubernetes extends pulumi.CustomResource {
|
|
|
67
177
|
readonly clientKey: pulumi.Output<string | undefined>;
|
|
68
178
|
/**
|
|
69
179
|
* The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
180
|
+
*
|
|
181
|
+
* *Removed params*
|
|
70
182
|
*/
|
|
71
183
|
readonly clusterCaCert: pulumi.Output<string | undefined>;
|
|
72
184
|
/**
|
|
@@ -107,12 +219,13 @@ export declare class EdgeKubernetes extends pulumi.CustomResource {
|
|
|
107
219
|
readonly kubeConfig: pulumi.Output<string | undefined>;
|
|
108
220
|
/**
|
|
109
221
|
* The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
110
|
-
*
|
|
111
222
|
* ->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
|
|
223
|
+
*
|
|
224
|
+
* *Worker params*
|
|
112
225
|
*/
|
|
113
226
|
readonly loadBalancerSpec: pulumi.Output<string>;
|
|
114
227
|
/**
|
|
115
|
-
* A list of one element containing information about the associated log store.
|
|
228
|
+
* A list of one element containing information about the associated log store. See `logConfig` below.
|
|
116
229
|
*
|
|
117
230
|
* @deprecated Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
|
|
118
231
|
*/
|
|
@@ -198,7 +311,7 @@ export declare class EdgeKubernetes extends pulumi.CustomResource {
|
|
|
198
311
|
*/
|
|
199
312
|
readonly vpcId: pulumi.Output<string>;
|
|
200
313
|
/**
|
|
201
|
-
* The data disk configurations of worker nodes, such as the disk type and disk size.
|
|
314
|
+
* The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
|
|
202
315
|
*/
|
|
203
316
|
readonly workerDataDisks: pulumi.Output<outputs.cs.EdgeKubernetesWorkerDataDisk[] | undefined>;
|
|
204
317
|
/**
|
|
@@ -215,6 +328,10 @@ export declare class EdgeKubernetes extends pulumi.CustomResource {
|
|
|
215
328
|
readonly workerDiskSize: pulumi.Output<number | undefined>;
|
|
216
329
|
/**
|
|
217
330
|
* Worker node system disk auto snapshot policy.
|
|
331
|
+
*
|
|
332
|
+
* *Computed params*
|
|
333
|
+
*
|
|
334
|
+
* You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `alicloud.cs.getClusterCredential` is recommended to manage cluster's kube_config.
|
|
218
335
|
*/
|
|
219
336
|
readonly workerDiskSnapshotPolicyId: pulumi.Output<string | undefined>;
|
|
220
337
|
/**
|
|
@@ -255,7 +372,7 @@ export declare class EdgeKubernetes extends pulumi.CustomResource {
|
|
|
255
372
|
*/
|
|
256
373
|
export interface EdgeKubernetesState {
|
|
257
374
|
/**
|
|
258
|
-
* The addon you want to install in cluster.
|
|
375
|
+
* The addon you want to install in cluster. See `addons` below.
|
|
259
376
|
*/
|
|
260
377
|
addons?: pulumi.Input<pulumi.Input<inputs.cs.EdgeKubernetesAddon>[]>;
|
|
261
378
|
/**
|
|
@@ -263,7 +380,7 @@ export interface EdgeKubernetesState {
|
|
|
263
380
|
*/
|
|
264
381
|
availabilityZone?: pulumi.Input<string>;
|
|
265
382
|
/**
|
|
266
|
-
*
|
|
383
|
+
* Nested attribute containing certificate authority data for your cluster.
|
|
267
384
|
*/
|
|
268
385
|
certificateAuthority?: pulumi.Input<inputs.cs.EdgeKubernetesCertificateAuthority>;
|
|
269
386
|
/**
|
|
@@ -276,6 +393,8 @@ export interface EdgeKubernetesState {
|
|
|
276
393
|
clientKey?: pulumi.Input<string>;
|
|
277
394
|
/**
|
|
278
395
|
* The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
396
|
+
*
|
|
397
|
+
* *Removed params*
|
|
279
398
|
*/
|
|
280
399
|
clusterCaCert?: pulumi.Input<string>;
|
|
281
400
|
/**
|
|
@@ -316,12 +435,13 @@ export interface EdgeKubernetesState {
|
|
|
316
435
|
kubeConfig?: pulumi.Input<string>;
|
|
317
436
|
/**
|
|
318
437
|
* The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
319
|
-
*
|
|
320
438
|
* ->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
|
|
439
|
+
*
|
|
440
|
+
* *Worker params*
|
|
321
441
|
*/
|
|
322
442
|
loadBalancerSpec?: pulumi.Input<string>;
|
|
323
443
|
/**
|
|
324
|
-
* A list of one element containing information about the associated log store.
|
|
444
|
+
* A list of one element containing information about the associated log store. See `logConfig` below.
|
|
325
445
|
*
|
|
326
446
|
* @deprecated Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
|
|
327
447
|
*/
|
|
@@ -407,7 +527,7 @@ export interface EdgeKubernetesState {
|
|
|
407
527
|
*/
|
|
408
528
|
vpcId?: pulumi.Input<string>;
|
|
409
529
|
/**
|
|
410
|
-
* The data disk configurations of worker nodes, such as the disk type and disk size.
|
|
530
|
+
* The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
|
|
411
531
|
*/
|
|
412
532
|
workerDataDisks?: pulumi.Input<pulumi.Input<inputs.cs.EdgeKubernetesWorkerDataDisk>[]>;
|
|
413
533
|
/**
|
|
@@ -424,6 +544,10 @@ export interface EdgeKubernetesState {
|
|
|
424
544
|
workerDiskSize?: pulumi.Input<number>;
|
|
425
545
|
/**
|
|
426
546
|
* Worker node system disk auto snapshot policy.
|
|
547
|
+
*
|
|
548
|
+
* *Computed params*
|
|
549
|
+
*
|
|
550
|
+
* You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `alicloud.cs.getClusterCredential` is recommended to manage cluster's kube_config.
|
|
427
551
|
*/
|
|
428
552
|
workerDiskSnapshotPolicyId?: pulumi.Input<string>;
|
|
429
553
|
/**
|
|
@@ -456,7 +580,7 @@ export interface EdgeKubernetesState {
|
|
|
456
580
|
*/
|
|
457
581
|
export interface EdgeKubernetesArgs {
|
|
458
582
|
/**
|
|
459
|
-
* The addon you want to install in cluster.
|
|
583
|
+
* The addon you want to install in cluster. See `addons` below.
|
|
460
584
|
*/
|
|
461
585
|
addons?: pulumi.Input<pulumi.Input<inputs.cs.EdgeKubernetesAddon>[]>;
|
|
462
586
|
/**
|
|
@@ -473,6 +597,8 @@ export interface EdgeKubernetesArgs {
|
|
|
473
597
|
clientKey?: pulumi.Input<string>;
|
|
474
598
|
/**
|
|
475
599
|
* The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
|
|
600
|
+
*
|
|
601
|
+
* *Removed params*
|
|
476
602
|
*/
|
|
477
603
|
clusterCaCert?: pulumi.Input<string>;
|
|
478
604
|
/**
|
|
@@ -509,12 +635,13 @@ export interface EdgeKubernetesArgs {
|
|
|
509
635
|
kubeConfig?: pulumi.Input<string>;
|
|
510
636
|
/**
|
|
511
637
|
* The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
|
|
512
|
-
*
|
|
513
638
|
* ->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
|
|
639
|
+
*
|
|
640
|
+
* *Worker params*
|
|
514
641
|
*/
|
|
515
642
|
loadBalancerSpec?: pulumi.Input<string>;
|
|
516
643
|
/**
|
|
517
|
-
* A list of one element containing information about the associated log store.
|
|
644
|
+
* A list of one element containing information about the associated log store. See `logConfig` below.
|
|
518
645
|
*
|
|
519
646
|
* @deprecated Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
|
|
520
647
|
*/
|
|
@@ -584,7 +711,7 @@ export interface EdgeKubernetesArgs {
|
|
|
584
711
|
*/
|
|
585
712
|
version?: pulumi.Input<string>;
|
|
586
713
|
/**
|
|
587
|
-
* The data disk configurations of worker nodes, such as the disk type and disk size.
|
|
714
|
+
* The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
|
|
588
715
|
*/
|
|
589
716
|
workerDataDisks?: pulumi.Input<pulumi.Input<inputs.cs.EdgeKubernetesWorkerDataDisk>[]>;
|
|
590
717
|
/**
|
|
@@ -601,6 +728,10 @@ export interface EdgeKubernetesArgs {
|
|
|
601
728
|
workerDiskSize?: pulumi.Input<number>;
|
|
602
729
|
/**
|
|
603
730
|
* Worker node system disk auto snapshot policy.
|
|
731
|
+
*
|
|
732
|
+
* *Computed params*
|
|
733
|
+
*
|
|
734
|
+
* You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `alicloud.cs.getClusterCredential` is recommended to manage cluster's kube_config.
|
|
604
735
|
*/
|
|
605
736
|
workerDiskSnapshotPolicyId?: pulumi.Input<string>;
|
|
606
737
|
/**
|
package/cs/edgeKubernetes.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.EdgeKubernetes = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource will help you to manage a Edge Kubernetes Cluster in Alibaba Cloud Kubernetes Service.
|
|
9
|
+
* This resource will help you to manage a Edge Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is edge kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ack-edge-cluster).
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster.
|
|
12
12
|
* A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the
|
|
@@ -21,10 +21,120 @@ const utilities = require("../utilities");
|
|
|
21
21
|
*
|
|
22
22
|
* > **NOTE:** If you want to manage Kubernetes, you can use Kubernetes Provider.
|
|
23
23
|
*
|
|
24
|
-
* > **NOTE:** Available
|
|
24
|
+
* > **NOTE:** Available since v1.103.0.
|
|
25
25
|
*
|
|
26
26
|
* > **NOTE:** From version 1.185.0+, support new fields `clusterSpec`, `runtime` and `loadBalancerSpec`.
|
|
27
27
|
*
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* Basic Usage
|
|
31
|
+
*
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
35
|
+
*
|
|
36
|
+
* const config = new pulumi.Config();
|
|
37
|
+
* const name = config.get("name") || "tf-example";
|
|
38
|
+
* const defaultZones = alicloud.getZones({
|
|
39
|
+
* availableResourceCreation: "VSwitch",
|
|
40
|
+
* });
|
|
41
|
+
* const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
|
|
42
|
+
* availabilityZone: defaultZones.zones?.[0]?.id,
|
|
43
|
+
* cpuCoreCount: 4,
|
|
44
|
+
* memorySize: 8,
|
|
45
|
+
* kubernetesNodeRole: "Master",
|
|
46
|
+
* }));
|
|
47
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
48
|
+
* vpcName: name,
|
|
49
|
+
* cidrBlock: "10.4.0.0/16",
|
|
50
|
+
* });
|
|
51
|
+
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
52
|
+
* vswitchName: name,
|
|
53
|
+
* cidrBlock: "10.4.0.0/24",
|
|
54
|
+
* vpcId: defaultNetwork.id,
|
|
55
|
+
* zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
56
|
+
* });
|
|
57
|
+
* const defaultEdgeKubernetes = new alicloud.cs.EdgeKubernetes("defaultEdgeKubernetes", {
|
|
58
|
+
* workerVswitchIds: [defaultSwitch.id],
|
|
59
|
+
* workerInstanceTypes: [defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id)],
|
|
60
|
+
* version: "1.20.11-aliyunedge.1",
|
|
61
|
+
* workerNumber: 1,
|
|
62
|
+
* password: "Test12345",
|
|
63
|
+
* podCidr: "10.99.0.0/16",
|
|
64
|
+
* serviceCidr: "172.16.0.0/16",
|
|
65
|
+
* workerInstanceChargeType: "PostPaid",
|
|
66
|
+
* newNatGateway: true,
|
|
67
|
+
* nodeCidrMask: 24,
|
|
68
|
+
* installCloudMonitor: true,
|
|
69
|
+
* slbInternetEnabled: true,
|
|
70
|
+
* isEnterpriseSecurityGroup: true,
|
|
71
|
+
* workerDataDisks: [{
|
|
72
|
+
* category: "cloud_ssd",
|
|
73
|
+
* size: "200",
|
|
74
|
+
* encrypted: "false",
|
|
75
|
+
* }],
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* You could create a professional kubernetes edge cluster now.
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
84
|
+
*
|
|
85
|
+
* const config = new pulumi.Config();
|
|
86
|
+
* const name = config.get("name") || "tf_example";
|
|
87
|
+
* const defaultZones = alicloud.getZones({
|
|
88
|
+
* availableResourceCreation: "VSwitch",
|
|
89
|
+
* });
|
|
90
|
+
* const defaultInstanceTypes = defaultZones.then(defaultZones => alicloud.ecs.getInstanceTypes({
|
|
91
|
+
* availabilityZone: defaultZones.zones?.[0]?.id,
|
|
92
|
+
* cpuCoreCount: 4,
|
|
93
|
+
* memorySize: 8,
|
|
94
|
+
* kubernetesNodeRole: "Master",
|
|
95
|
+
* }));
|
|
96
|
+
* const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
|
|
97
|
+
* vpcName: name,
|
|
98
|
+
* cidrBlock: "10.4.0.0/16",
|
|
99
|
+
* });
|
|
100
|
+
* const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
|
|
101
|
+
* vswitchName: name,
|
|
102
|
+
* cidrBlock: "10.4.0.0/24",
|
|
103
|
+
* vpcId: defaultNetwork.id,
|
|
104
|
+
* zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
|
|
105
|
+
* });
|
|
106
|
+
* const defaultEdgeKubernetes = new alicloud.cs.EdgeKubernetes("defaultEdgeKubernetes", {
|
|
107
|
+
* workerVswitchIds: [defaultSwitch.id],
|
|
108
|
+
* workerInstanceTypes: [defaultInstanceTypes.then(defaultInstanceTypes => defaultInstanceTypes.instanceTypes?.[0]?.id)],
|
|
109
|
+
* version: "1.20.11-aliyunedge.1",
|
|
110
|
+
* clusterSpec: "ack.pro.small",
|
|
111
|
+
* workerNumber: 1,
|
|
112
|
+
* password: "Test12345",
|
|
113
|
+
* podCidr: "10.99.0.0/16",
|
|
114
|
+
* serviceCidr: "172.16.0.0/16",
|
|
115
|
+
* workerInstanceChargeType: "PostPaid",
|
|
116
|
+
* newNatGateway: true,
|
|
117
|
+
* nodeCidrMask: 24,
|
|
118
|
+
* loadBalancerSpec: "slb.s2.small",
|
|
119
|
+
* installCloudMonitor: true,
|
|
120
|
+
* slbInternetEnabled: true,
|
|
121
|
+
* isEnterpriseSecurityGroup: true,
|
|
122
|
+
* addons: [{
|
|
123
|
+
* name: "alibaba-log-controller",
|
|
124
|
+
* config: "{\"IngressDashboardEnabled\":\"false\"}",
|
|
125
|
+
* }],
|
|
126
|
+
* workerDataDisks: [{
|
|
127
|
+
* category: "cloud_ssd",
|
|
128
|
+
* size: "200",
|
|
129
|
+
* encrypted: "false",
|
|
130
|
+
* }],
|
|
131
|
+
* runtime: {
|
|
132
|
+
* name: "containerd",
|
|
133
|
+
* version: "1.5.10",
|
|
134
|
+
* },
|
|
135
|
+
* });
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
28
138
|
* ## Import
|
|
29
139
|
*
|
|
30
140
|
* Kubernetes edge cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.
|