@pulumi/alicloud 3.6.0 → 3.8.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/alb/acl.d.ts +130 -0
- package/alb/acl.js +91 -0
- package/alb/acl.js.map +1 -0
- package/alb/getAcls.d.ts +77 -0
- package/alb/getAcls.js +48 -0
- package/alb/getAcls.js.map +1 -0
- package/alb/getHealthCheckTemplates.d.ts +64 -0
- package/alb/getHealthCheckTemplates.js +47 -0
- package/alb/getHealthCheckTemplates.js.map +1 -0
- package/alb/getListeners.d.ts +69 -0
- package/alb/getListeners.js +45 -0
- package/alb/getListeners.js.map +1 -0
- package/alb/getLoadBalancers.d.ts +111 -0
- package/alb/getLoadBalancers.js +54 -0
- package/alb/getLoadBalancers.js.map +1 -0
- package/alb/getRules.d.ts +74 -0
- package/alb/getRules.js +49 -0
- package/alb/getRules.js.map +1 -0
- package/alb/getZones.d.ts +38 -0
- package/alb/getZones.js +37 -0
- package/alb/getZones.js.map +1 -0
- package/alb/healthCheckTemplate.d.ts +220 -0
- package/alb/healthCheckTemplate.js +105 -0
- package/alb/healthCheckTemplate.js.map +1 -0
- package/alb/index.d.ts +11 -0
- package/alb/index.js +31 -0
- package/alb/index.js.map +1 -1
- package/alb/listener.d.ts +268 -0
- package/alb/listener.js +108 -0
- package/alb/listener.js.map +1 -0
- package/alb/loadBalancer.d.ts +219 -0
- package/alb/loadBalancer.js +109 -0
- package/alb/loadBalancer.js.map +1 -0
- package/alb/rule.d.ts +134 -0
- package/alb/rule.js +94 -0
- package/alb/rule.js.map +1 -0
- package/alb/serverGroup.d.ts +63 -3
- package/alb/serverGroup.js +63 -3
- package/alb/serverGroup.js.map +1 -1
- package/alikafka/instance.d.ts +4 -2
- package/alikafka/instance.js +2 -0
- package/alikafka/instance.js.map +1 -1
- package/amqp/binding.d.ts +190 -0
- package/amqp/binding.js +129 -0
- package/amqp/binding.js.map +1 -0
- package/amqp/getBindings.d.ts +50 -0
- package/amqp/getBindings.js +40 -0
- package/amqp/getBindings.js.map +1 -0
- package/amqp/index.d.ts +2 -0
- package/amqp/index.js +6 -0
- package/amqp/index.js.map +1 -1
- package/arms/dispatchRule.d.ts +187 -0
- package/arms/dispatchRule.js +144 -0
- package/arms/dispatchRule.js.map +1 -0
- package/arms/getDispatchRules.d.ts +62 -0
- package/arms/getDispatchRules.js +45 -0
- package/arms/getDispatchRules.js.map +1 -0
- package/arms/getPrometheusAlertRules.d.ts +78 -0
- package/arms/getPrometheusAlertRules.js +53 -0
- package/arms/getPrometheusAlertRules.js.map +1 -0
- package/arms/index.d.ts +4 -0
- package/arms/index.js +12 -0
- package/arms/index.js.map +1 -1
- package/arms/prometheusAlertRule.d.ts +197 -0
- package/arms/prometheusAlertRule.js +117 -0
- package/arms/prometheusAlertRule.js.map +1 -0
- package/bastionhost/getHostAccounts.d.ts +81 -0
- package/bastionhost/getHostAccounts.js +55 -0
- package/bastionhost/getHostAccounts.js.map +1 -0
- package/bastionhost/getHostGroups.d.ts +69 -0
- package/bastionhost/getHostGroups.js +51 -0
- package/bastionhost/getHostGroups.js.map +1 -0
- package/bastionhost/getHosts.d.ts +99 -0
- package/bastionhost/getHosts.js +57 -0
- package/bastionhost/getHosts.js.map +1 -0
- package/bastionhost/getInstances.d.ts +79 -0
- package/bastionhost/getInstances.js +43 -0
- package/bastionhost/getInstances.js.map +1 -0
- package/bastionhost/getUserGroups.d.ts +69 -0
- package/bastionhost/getUserGroups.js +51 -0
- package/bastionhost/getUserGroups.js.map +1 -0
- package/bastionhost/getUsers.d.ts +94 -0
- package/bastionhost/getUsers.js +56 -0
- package/bastionhost/getUsers.js.map +1 -0
- package/bastionhost/host.d.ts +206 -0
- package/bastionhost/host.js +118 -0
- package/bastionhost/host.js.map +1 -0
- package/bastionhost/hostAccount.d.ts +160 -0
- package/bastionhost/hostAccount.js +108 -0
- package/bastionhost/hostAccount.js.map +1 -0
- package/bastionhost/hostAccountUserAttachment.d.ts +139 -0
- package/bastionhost/hostAccountUserAttachment.js +123 -0
- package/bastionhost/hostAccountUserAttachment.js.map +1 -0
- package/bastionhost/hostAccountUserGroupAttachment.d.ts +135 -0
- package/bastionhost/hostAccountUserGroupAttachment.js +119 -0
- package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -0
- package/bastionhost/hostAttachment.d.ts +100 -0
- package/bastionhost/hostAttachment.js +91 -0
- package/bastionhost/hostAttachment.js.map +1 -0
- package/bastionhost/hostGroup.d.ts +109 -0
- package/bastionhost/hostGroup.js +91 -0
- package/bastionhost/hostGroup.js.map +1 -0
- package/bastionhost/hostGroupAccountUserAttachment.d.ts +143 -0
- package/bastionhost/hostGroupAccountUserAttachment.js +127 -0
- package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -0
- package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +139 -0
- package/bastionhost/hostGroupAccountUserGroupAttachment.js +123 -0
- package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -0
- package/bastionhost/index.d.ts +18 -0
- package/bastionhost/index.js +87 -0
- package/bastionhost/index.js.map +1 -0
- package/bastionhost/instance.d.ts +157 -0
- package/bastionhost/instance.js +114 -0
- package/bastionhost/instance.js.map +1 -0
- package/bastionhost/user.d.ts +281 -0
- package/bastionhost/user.js +123 -0
- package/bastionhost/user.js.map +1 -0
- package/bastionhost/userAttachment.d.ts +100 -0
- package/bastionhost/userAttachment.js +91 -0
- package/bastionhost/userAttachment.js.map +1 -0
- package/bastionhost/userGroup.d.ts +109 -0
- package/bastionhost/userGroup.js +91 -0
- package/bastionhost/userGroup.js.map +1 -0
- package/cddc/dedicatedHostGroup.d.ts +171 -0
- package/cddc/dedicatedHostGroup.js +109 -0
- package/cddc/dedicatedHostGroup.js.map +1 -0
- package/cddc/getDedicatedHostGroups.d.ts +49 -0
- package/cddc/getDedicatedHostGroups.js +41 -0
- package/cddc/getDedicatedHostGroups.js.map +1 -0
- package/cddc/index.d.ts +2 -0
- package/cddc/index.js +27 -0
- package/cddc/index.js.map +1 -0
- package/cdn/domainConfig.d.ts +21 -1
- package/cdn/domainConfig.js +9 -1
- package/cdn/domainConfig.js.map +1 -1
- package/cdn/getRealTimeLogDeliveries.d.ts +49 -0
- package/cdn/getRealTimeLogDeliveries.js +40 -0
- package/cdn/getRealTimeLogDeliveries.js.map +1 -0
- package/cdn/index.d.ts +2 -0
- package/cdn/index.js +6 -0
- package/cdn/index.js.map +1 -1
- package/cdn/realTimeLogDelivery.d.ts +123 -0
- package/cdn/realTimeLogDelivery.js +101 -0
- package/cdn/realTimeLogDelivery.js.map +1 -0
- package/clickhouse/account.d.ts +140 -0
- package/clickhouse/account.js +115 -0
- package/clickhouse/account.js.map +1 -0
- package/clickhouse/dbCluster.d.ts +270 -0
- package/clickhouse/dbCluster.js +140 -0
- package/clickhouse/dbCluster.js.map +1 -0
- package/clickhouse/getAccounts.d.ts +82 -0
- package/clickhouse/getAccounts.js +64 -0
- package/clickhouse/getAccounts.js.map +1 -0
- package/clickhouse/getDbClusters.d.ts +70 -0
- package/clickhouse/getDbClusters.js +54 -0
- package/clickhouse/getDbClusters.js.map +1 -0
- package/clickhouse/getRegions.d.ts +51 -0
- package/clickhouse/getRegions.js +43 -0
- package/clickhouse/getRegions.js.map +1 -0
- package/clickhouse/index.d.ts +5 -0
- package/clickhouse/index.js +34 -0
- package/clickhouse/index.js.map +1 -0
- package/cloudauth/faceConfig.d.ts +97 -0
- package/cloudauth/faceConfig.js +89 -0
- package/cloudauth/faceConfig.js.map +1 -0
- package/cloudauth/getFaceConfigs.d.ts +55 -0
- package/cloudauth/getFaceConfigs.js +46 -0
- package/cloudauth/getFaceConfigs.js.map +1 -0
- package/cloudauth/index.d.ts +2 -0
- package/cloudauth/index.js +27 -0
- package/cloudauth/index.js.map +1 -0
- package/cloudfirewall/controlPolicyOrder.d.ts +1 -1
- package/cloudfirewall/controlPolicyOrder.js +1 -1
- package/cloudsso/directory.d.ts +115 -0
- package/cloudsso/directory.js +86 -0
- package/cloudsso/directory.js.map +1 -0
- package/cloudsso/getDirectories.d.ts +61 -0
- package/cloudsso/getDirectories.js +48 -0
- package/cloudsso/getDirectories.js.map +1 -0
- package/cloudsso/getGroups.d.ts +71 -0
- package/cloudsso/getGroups.js +53 -0
- package/cloudsso/getGroups.js.map +1 -0
- package/cloudsso/getScimServerCredentials.d.ts +60 -0
- package/cloudsso/getScimServerCredentials.js +47 -0
- package/cloudsso/getScimServerCredentials.js.map +1 -0
- package/cloudsso/group.d.ts +97 -0
- package/cloudsso/group.js +79 -0
- package/cloudsso/group.js.map +1 -0
- package/cloudsso/index.d.ts +6 -0
- package/cloudsso/index.js +39 -0
- package/cloudsso/index.js.map +1 -0
- package/cloudsso/scimServerCredential.d.ts +85 -0
- package/cloudsso/scimServerCredential.js +74 -0
- package/cloudsso/scimServerCredential.js.map +1 -0
- package/cloudstoragegateway/gateway.d.ts +239 -0
- package/cloudstoragegateway/gateway.js +137 -0
- package/cloudstoragegateway/gateway.js.map +1 -0
- package/cloudstoragegateway/getGateways.d.ts +62 -0
- package/cloudstoragegateway/getGateways.js +44 -0
- package/cloudstoragegateway/getGateways.js.map +1 -0
- package/cloudstoragegateway/index.d.ts +2 -0
- package/cloudstoragegateway/index.js +6 -0
- package/cloudstoragegateway/index.js.map +1 -1
- package/cms/alarm.d.ts +6 -6
- package/cms/getMetricRuleTemplates.d.ts +82 -0
- package/cms/getMetricRuleTemplates.js +57 -0
- package/cms/getMetricRuleTemplates.js.map +1 -0
- package/cms/index.d.ts +2 -0
- package/cms/index.js +6 -0
- package/cms/index.js.map +1 -1
- package/cms/metricRuleTemplate.d.ts +207 -0
- package/cms/metricRuleTemplate.js +115 -0
- package/cms/metricRuleTemplate.js.map +1 -0
- package/config/vars.d.ts +6 -2
- package/config/vars.js +6 -2
- package/config/vars.js.map +1 -1
- package/cr/registryEnterpriseInstance.d.ts +42 -0
- package/cr/registryEnterpriseInstance.js +6 -0
- package/cr/registryEnterpriseInstance.js.map +1 -1
- package/cs/edgeKubernetes.d.ts +1 -1
- package/cs/getRegistryEnterpriseInstances.d.ts +5 -0
- package/cs/getRegistryEnterpriseInstances.js +1 -0
- package/cs/getRegistryEnterpriseInstances.js.map +1 -1
- package/cs/nodePool.d.ts +3 -3
- package/databasefilesystem/getInstances.d.ts +59 -0
- package/databasefilesystem/getInstances.js +46 -0
- package/databasefilesystem/getInstances.js.map +1 -0
- package/databasefilesystem/index.d.ts +2 -0
- package/databasefilesystem/index.js +27 -0
- package/databasefilesystem/index.js.map +1 -0
- package/databasefilesystem/instance.d.ts +232 -0
- package/databasefilesystem/instance.js +122 -0
- package/databasefilesystem/instance.js.map +1 -0
- package/databasegateway/gateway.d.ts +96 -0
- package/databasegateway/gateway.js +85 -0
- package/databasegateway/gateway.js.map +1 -0
- package/databasegateway/getGateways.d.ts +69 -0
- package/databasegateway/getGateways.js +48 -0
- package/databasegateway/getGateways.js.map +1 -0
- package/databasegateway/index.d.ts +2 -0
- package/databasegateway/index.js +27 -0
- package/databasegateway/index.js.map +1 -0
- package/dfs/accessGroup.d.ts +101 -0
- package/dfs/accessGroup.js +89 -0
- package/dfs/accessGroup.js.map +1 -0
- package/dfs/getAccessGroups.d.ts +62 -0
- package/dfs/getAccessGroups.js +49 -0
- package/dfs/getAccessGroups.js.map +1 -0
- package/dfs/index.d.ts +2 -0
- package/dfs/index.js +27 -0
- package/dfs/index.js.map +1 -0
- package/directmail/domain.d.ts +84 -0
- package/directmail/domain.js +83 -0
- package/directmail/domain.js.map +1 -0
- package/directmail/getDomains.d.ts +75 -0
- package/directmail/getDomains.js +54 -0
- package/directmail/getDomains.js.map +1 -0
- package/directmail/getMailAddresses.d.ts +59 -0
- package/directmail/getMailAddresses.js +43 -0
- package/directmail/getMailAddresses.js.map +1 -0
- package/directmail/index.d.ts +4 -0
- package/directmail/index.js +12 -0
- package/directmail/index.js.map +1 -1
- package/directmail/mailAddress.d.ts +126 -0
- package/directmail/mailAddress.js +98 -0
- package/directmail/mailAddress.js.map +1 -0
- package/dts/getSubscriptionJobs.d.ts +64 -0
- package/dts/getSubscriptionJobs.js +42 -0
- package/dts/getSubscriptionJobs.js.map +1 -0
- package/dts/getSynchronizationJobs.d.ts +54 -0
- package/dts/getSynchronizationJobs.js +41 -0
- package/dts/getSynchronizationJobs.js.map +1 -0
- package/dts/index.d.ts +6 -0
- package/dts/index.js +43 -0
- package/dts/index.js.map +1 -0
- package/dts/jobMonitorRule.d.ts +125 -0
- package/dts/jobMonitorRule.js +93 -0
- package/dts/jobMonitorRule.js.map +1 -0
- package/dts/subscriptionJob.d.ts +590 -0
- package/dts/subscriptionJob.js +218 -0
- package/dts/subscriptionJob.js.map +1 -0
- package/dts/synchronizationInstance.d.ts +222 -0
- package/dts/synchronizationInstance.js +123 -0
- package/dts/synchronizationInstance.js.map +1 -0
- package/dts/synchronizationJob.d.ts +548 -0
- package/dts/synchronizationJob.js +216 -0
- package/dts/synchronizationJob.js.map +1 -0
- package/eais/getInstances.d.ts +64 -0
- package/eais/getInstances.js +47 -0
- package/eais/getInstances.js.map +1 -0
- package/eais/index.d.ts +2 -0
- package/eais/index.js +27 -0
- package/eais/index.js.map +1 -0
- package/eais/instance.d.ts +119 -0
- package/eais/instance.js +84 -0
- package/eais/instance.js.map +1 -0
- package/ecs/copyImage.d.ts +3 -0
- package/ecs/copyImage.js +2 -0
- package/ecs/copyImage.js.map +1 -1
- package/ecs/image.d.ts +3 -0
- package/ecs/image.js +2 -0
- package/ecs/image.js.map +1 -1
- package/ecs/imageCopy.d.ts +3 -0
- package/ecs/imageCopy.js +2 -0
- package/ecs/imageCopy.js.map +1 -1
- package/ecs/instance.d.ts +3 -3
- package/ehpc/getJobTemplates.d.ts +48 -0
- package/ehpc/getJobTemplates.js +44 -0
- package/ehpc/getJobTemplates.js.map +1 -0
- package/ehpc/index.d.ts +2 -0
- package/ehpc/index.js +27 -0
- package/ehpc/index.js.map +1 -0
- package/ehpc/jobTemplate.d.ts +269 -0
- package/ehpc/jobTemplate.js +117 -0
- package/ehpc/jobTemplate.js.map +1 -0
- package/ens/getKeyPairs.d.ts +57 -0
- package/ens/getKeyPairs.js +42 -0
- package/ens/getKeyPairs.js.map +1 -0
- package/ens/index.d.ts +2 -0
- package/ens/index.js +27 -0
- package/ens/index.js.map +1 -0
- package/ens/keyPair.d.ts +89 -0
- package/ens/keyPair.js +87 -0
- package/ens/keyPair.js.map +1 -0
- package/ess/scalingConfiguration.d.ts +12 -0
- package/ess/scalingConfiguration.js +2 -0
- package/ess/scalingConfiguration.js.map +1 -1
- package/eventbridge/slr.d.ts +4 -4
- package/eventbridge/slr.js +1 -1
- package/expressconnect/getAccessPoints.d.ts +59 -0
- package/expressconnect/getAccessPoints.js +46 -0
- package/expressconnect/getAccessPoints.js.map +1 -0
- package/expressconnect/getPhysicalConnectionService.d.ts +43 -0
- package/expressconnect/getPhysicalConnectionService.js +38 -0
- package/expressconnect/getPhysicalConnectionService.js.map +1 -0
- package/expressconnect/getPhysicalConnections.d.ts +64 -0
- package/expressconnect/getPhysicalConnections.js +47 -0
- package/expressconnect/getPhysicalConnections.js.map +1 -0
- package/expressconnect/getVirtualBorderRouters.d.ts +46 -0
- package/expressconnect/getVirtualBorderRouters.js +29 -0
- package/expressconnect/getVirtualBorderRouters.js.map +1 -0
- package/expressconnect/index.d.ts +6 -0
- package/expressconnect/index.js +35 -0
- package/expressconnect/index.js.map +1 -0
- package/expressconnect/physicalConnection.d.ts +246 -0
- package/expressconnect/physicalConnection.js +124 -0
- package/expressconnect/physicalConnection.js.map +1 -0
- package/expressconnect/virtualBorderRouter.d.ts +303 -0
- package/expressconnect/virtualBorderRouter.js +140 -0
- package/expressconnect/virtualBorderRouter.js.map +1 -0
- package/getMscSubContacts.d.ts +52 -0
- package/getMscSubContacts.js +43 -0
- package/getMscSubContacts.js.map +1 -0
- package/getMscSubSubscriptions.d.ts +37 -0
- package/getMscSubSubscriptions.js +37 -0
- package/getMscSubSubscriptions.js.map +1 -0
- package/getZones.d.ts +0 -1
- package/gpdb/instance.d.ts +2 -2
- package/gpdb/instance.js +2 -2
- package/graphdatabase/dbInstance.d.ts +192 -0
- package/graphdatabase/dbInstance.js +128 -0
- package/graphdatabase/dbInstance.js.map +1 -0
- package/graphdatabase/getDbInstances.d.ts +69 -0
- package/graphdatabase/getDbInstances.js +53 -0
- package/graphdatabase/getDbInstances.js.map +1 -0
- package/graphdatabase/index.d.ts +2 -0
- package/graphdatabase/index.js +27 -0
- package/graphdatabase/index.js.map +1 -0
- package/hbr/ecsBackupClient.d.ts +218 -0
- package/hbr/ecsBackupClient.js +123 -0
- package/hbr/ecsBackupClient.js.map +1 -0
- package/hbr/ecsBackupPlan.d.ts +245 -0
- package/hbr/ecsBackupPlan.js +153 -0
- package/hbr/ecsBackupPlan.js.map +1 -0
- package/hbr/getBackupJobs.d.ts +47 -0
- package/hbr/getBackupJobs.js +29 -0
- package/hbr/getBackupJobs.js.map +1 -0
- package/hbr/getEcsBackupClients.d.ts +59 -0
- package/hbr/getEcsBackupClients.js +47 -0
- package/hbr/getEcsBackupClients.js.map +1 -0
- package/hbr/getEcsBackupPlans.d.ts +60 -0
- package/hbr/getEcsBackupPlans.js +43 -0
- package/hbr/getEcsBackupPlans.js.map +1 -0
- package/hbr/getNasBackupPlans.d.ts +60 -0
- package/hbr/getNasBackupPlans.js +43 -0
- package/hbr/getNasBackupPlans.js.map +1 -0
- package/hbr/getOssBackupPlans.d.ts +2 -2
- package/hbr/getRestoreJobs.d.ts +84 -0
- package/hbr/getRestoreJobs.js +50 -0
- package/hbr/getRestoreJobs.js.map +1 -0
- package/hbr/getSnapshots.d.ts +84 -0
- package/hbr/getSnapshots.js +37 -0
- package/hbr/getSnapshots.js.map +1 -0
- package/hbr/index.d.ts +10 -0
- package/hbr/index.js +26 -0
- package/hbr/index.js.map +1 -1
- package/hbr/nasBackupPlan.d.ts +232 -0
- package/hbr/nasBackupPlan.js +142 -0
- package/hbr/nasBackupPlan.js.map +1 -0
- package/hbr/ossBackupPlan.d.ts +32 -31
- package/hbr/ossBackupPlan.js +15 -5
- package/hbr/ossBackupPlan.js.map +1 -1
- package/hbr/restoreJob.d.ts +284 -0
- package/hbr/restoreJob.js +154 -0
- package/hbr/restoreJob.js.map +1 -0
- package/hbr/vault.d.ts +2 -2
- package/hbr/vault.js +2 -2
- package/imm/getProjects.d.ts +44 -0
- package/imm/getProjects.js +40 -0
- package/imm/getProjects.js.map +1 -0
- package/imm/index.d.ts +2 -0
- package/imm/index.js +27 -0
- package/imm/index.js.map +1 -0
- package/imm/project.d.ts +108 -0
- package/imm/project.js +103 -0
- package/imm/project.js.map +1 -0
- package/imp/appTemplate.d.ts +145 -0
- package/imp/appTemplate.js +100 -0
- package/imp/appTemplate.js.map +1 -0
- package/imp/getAppTemplates.d.ts +57 -0
- package/imp/getAppTemplates.js +44 -0
- package/imp/getAppTemplates.js.map +1 -0
- package/imp/index.d.ts +2 -0
- package/imp/index.js +27 -0
- package/imp/index.js.map +1 -0
- package/index.d.ts +31 -1
- package/index.js +74 -0
- package/index.js.map +1 -1
- package/iot/deviceGroup.d.ts +112 -0
- package/iot/deviceGroup.js +87 -0
- package/iot/deviceGroup.js.map +1 -0
- package/iot/getDeviceGroups.d.ts +67 -0
- package/iot/getDeviceGroups.js +43 -0
- package/iot/getDeviceGroups.js.map +1 -0
- package/iot/index.d.ts +2 -0
- package/iot/index.js +18 -0
- package/iot/index.js.map +1 -1
- package/kvstore/instance.d.ts +3 -3
- package/lindorm/getInstances.d.ts +72 -0
- package/lindorm/getInstances.js +47 -0
- package/lindorm/getInstances.js.map +1 -0
- package/lindorm/index.d.ts +2 -0
- package/lindorm/index.js +27 -0
- package/lindorm/index.js.map +1 -0
- package/lindorm/instance.d.ts +383 -0
- package/lindorm/instance.js +128 -0
- package/lindorm/instance.js.map +1 -0
- package/log/audit.d.ts +50 -0
- package/log/audit.js +40 -0
- package/log/audit.js.map +1 -1
- package/mhub/app.d.ts +153 -0
- package/mhub/app.js +104 -0
- package/mhub/app.js.map +1 -0
- package/mhub/getApps.d.ts +51 -0
- package/mhub/getApps.js +29 -0
- package/mhub/getApps.js.map +1 -0
- package/mhub/getProducts.d.ts +55 -0
- package/mhub/getProducts.js +46 -0
- package/mhub/getProducts.js.map +1 -0
- package/mhub/index.d.ts +4 -0
- package/mhub/index.js +33 -0
- package/mhub/index.js.map +1 -0
- package/mhub/product.d.ts +76 -0
- package/mhub/product.js +81 -0
- package/mhub/product.js.map +1 -0
- package/mongodb/instance.d.ts +21 -0
- package/mongodb/instance.js +2 -0
- package/mongodb/instance.js.map +1 -1
- package/mongodb/shardingInstance.d.ts +21 -0
- package/mongodb/shardingInstance.js +2 -0
- package/mongodb/shardingInstance.js.map +1 -1
- package/mscSubContract.d.ts +113 -0
- package/mscSubContract.js +97 -0
- package/mscSubContract.js.map +1 -0
- package/mscSubSubscription.d.ts +179 -0
- package/mscSubSubscription.js +102 -0
- package/mscSubSubscription.js.map +1 -0
- package/opensearch/appGroup.d.ts +190 -0
- package/opensearch/appGroup.js +117 -0
- package/opensearch/appGroup.js.map +1 -0
- package/opensearch/getAppGroups.d.ts +84 -0
- package/opensearch/getAppGroups.js +58 -0
- package/opensearch/getAppGroups.js.map +1 -0
- package/opensearch/index.d.ts +2 -0
- package/opensearch/index.js +27 -0
- package/opensearch/index.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/polardb/endpoint.d.ts +8 -1
- package/polardb/endpoint.js +7 -1
- package/polardb/endpoint.js.map +1 -1
- package/provider.d.ts +6 -2
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/pvtz/index.d.ts +1 -0
- package/pvtz/index.js +5 -0
- package/pvtz/index.js.map +1 -1
- package/pvtz/userVpcAuthorization.d.ts +100 -0
- package/pvtz/userVpcAuthorization.js +85 -0
- package/pvtz/userVpcAuthorization.js.map +1 -0
- package/quickbi/getUsers.d.ts +54 -0
- package/quickbi/getUsers.js +42 -0
- package/quickbi/getUsers.js.map +1 -0
- package/quickbi/index.d.ts +2 -0
- package/quickbi/index.js +27 -0
- package/quickbi/index.js.map +1 -0
- package/quickbi/user.d.ts +140 -0
- package/quickbi/user.js +107 -0
- package/quickbi/user.js.map +1 -0
- package/rdc/getOrganizations.d.ts +65 -0
- package/rdc/getOrganizations.js +52 -0
- package/rdc/getOrganizations.js.map +1 -0
- package/rdc/index.d.ts +2 -0
- package/rdc/index.js +27 -0
- package/rdc/index.js.map +1 -0
- package/rdc/organization.d.ts +113 -0
- package/rdc/organization.js +91 -0
- package/rdc/organization.js.map +1 -0
- package/rds/getInstanceClasses.d.ts +8 -3
- package/rds/getInstanceClasses.js +1 -0
- package/rds/getInstanceClasses.js.map +1 -1
- package/rds/getInstanceEngines.d.ts +18 -1
- package/rds/getInstanceEngines.js +2 -0
- package/rds/getInstanceEngines.js.map +1 -1
- package/rds/getInstances.d.ts +5 -0
- package/rds/getInstances.js +1 -0
- package/rds/getInstances.js.map +1 -1
- package/rds/getZones.d.ts +28 -1
- package/rds/getZones.js +6 -0
- package/rds/getZones.js.map +1 -1
- package/rds/instance.d.ts +52 -1
- package/rds/instance.js +4 -0
- package/rds/instance.js.map +1 -1
- package/sae/application.d.ts +705 -0
- package/sae/application.js +216 -0
- package/sae/application.js.map +1 -0
- package/sae/getApplications.d.ts +116 -0
- package/sae/getApplications.js +80 -0
- package/sae/getApplications.js.map +1 -0
- package/sae/getIngresses.d.ts +40 -0
- package/sae/getIngresses.js +27 -0
- package/sae/getIngresses.js.map +1 -0
- package/sae/index.d.ts +4 -0
- package/sae/index.js +12 -0
- package/sae/index.js.map +1 -1
- package/sae/ingress.d.ts +192 -0
- package/sae/ingress.js +145 -0
- package/sae/ingress.js.map +1 -0
- package/sddp/config.d.ts +113 -0
- package/sddp/config.js +85 -0
- package/sddp/config.js.map +1 -0
- package/sddp/getConfigs.d.ts +51 -0
- package/sddp/getConfigs.js +46 -0
- package/sddp/getConfigs.js.map +1 -0
- package/sddp/getInstances.d.ts +37 -0
- package/sddp/getInstances.js +37 -0
- package/sddp/getInstances.js.map +1 -0
- package/sddp/getRules.d.ts +104 -0
- package/sddp/getRules.js +58 -0
- package/sddp/getRules.js.map +1 -0
- package/sddp/index.d.ts +6 -0
- package/sddp/index.js +39 -0
- package/sddp/index.js.map +1 -0
- package/sddp/instance.d.ts +279 -0
- package/sddp/instance.js +146 -0
- package/sddp/instance.js.map +1 -0
- package/sddp/rule.d.ts +296 -0
- package/sddp/rule.js +119 -0
- package/sddp/rule.js.map +1 -0
- package/securitycenter/getGroups.d.ts +50 -0
- package/securitycenter/getGroups.js +41 -0
- package/securitycenter/getGroups.js.map +1 -0
- package/securitycenter/group.d.ts +88 -0
- package/securitycenter/group.js +80 -0
- package/securitycenter/group.js.map +1 -0
- package/securitycenter/index.d.ts +2 -0
- package/securitycenter/index.js +27 -0
- package/securitycenter/index.js.map +1 -0
- package/servicemesh/getServiceMeshes.d.ts +66 -0
- package/servicemesh/getServiceMeshes.js +52 -0
- package/servicemesh/getServiceMeshes.js.map +1 -0
- package/servicemesh/index.d.ts +2 -0
- package/servicemesh/index.js +27 -0
- package/servicemesh/index.js.map +1 -0
- package/servicemesh/serviceMesh.d.ts +144 -0
- package/servicemesh/serviceMesh.js +82 -0
- package/servicemesh/serviceMesh.js.map +1 -0
- package/simpleapplicationserver/getImages.d.ts +33 -0
- package/simpleapplicationserver/getImages.js +23 -0
- package/simpleapplicationserver/getImages.js.map +1 -0
- package/simpleapplicationserver/getInstances.d.ts +64 -0
- package/simpleapplicationserver/getInstances.js +47 -0
- package/simpleapplicationserver/getInstances.js.map +1 -0
- package/simpleapplicationserver/getServerPlans.d.ts +73 -0
- package/simpleapplicationserver/getServerPlans.js +49 -0
- package/simpleapplicationserver/getServerPlans.js.map +1 -0
- package/simpleapplicationserver/index.d.ts +4 -0
- package/simpleapplicationserver/index.js +29 -0
- package/simpleapplicationserver/index.js.map +1 -0
- package/simpleapplicationserver/instance.d.ts +171 -0
- package/simpleapplicationserver/instance.js +92 -0
- package/simpleapplicationserver/instance.js.map +1 -0
- package/slb/getTlsCipherPolicies.d.ts +72 -0
- package/slb/getTlsCipherPolicies.js +51 -0
- package/slb/getTlsCipherPolicies.js.map +1 -0
- package/slb/index.d.ts +2 -0
- package/slb/index.js +6 -0
- package/slb/index.js.map +1 -1
- package/slb/listener.d.ts +8 -5
- package/slb/listener.js +2 -2
- package/slb/listener.js.map +1 -1
- package/slb/tlsCipherPolicy.d.ts +113 -0
- package/slb/tlsCipherPolicy.js +98 -0
- package/slb/tlsCipherPolicy.js.map +1 -0
- package/types/input.d.ts +1040 -27
- package/types/output.d.ts +15106 -8672
- package/videosurveillance/getSystemGroups.d.ts +72 -0
- package/videosurveillance/getSystemGroups.js +51 -0
- package/videosurveillance/getSystemGroups.js.map +1 -0
- package/videosurveillance/index.d.ts +2 -0
- package/videosurveillance/index.js +18 -0
- package/videosurveillance/index.js.map +1 -1
- package/videosurveillance/systemGroup.d.ts +220 -0
- package/videosurveillance/systemGroup.js +125 -0
- package/videosurveillance/systemGroup.js.map +1 -0
- package/vod/domain.d.ts +231 -0
- package/vod/domain.js +122 -0
- package/vod/domain.js.map +1 -0
- package/vod/getDomains.d.ts +92 -0
- package/vod/getDomains.js +61 -0
- package/vod/getDomains.js.map +1 -0
- package/vod/index.d.ts +2 -0
- package/vod/index.js +27 -0
- package/vod/index.js.map +1 -0
- package/vpc/dhcpOptionsSet.d.ts +156 -0
- package/vpc/dhcpOptionsSet.js +95 -0
- package/vpc/dhcpOptionsSet.js.map +1 -0
- package/vpc/getDhcpOptionsSets.d.ts +87 -0
- package/vpc/getDhcpOptionsSets.js +62 -0
- package/vpc/getDhcpOptionsSets.js.map +1 -0
- package/vpc/getNatIpCidrs.d.ts +56 -0
- package/vpc/getNatIpCidrs.js +30 -0
- package/vpc/getNatIpCidrs.js.map +1 -0
- package/vpc/getNatIps.d.ts +105 -0
- package/vpc/getNatIps.js +78 -0
- package/vpc/getNatIps.js.map +1 -0
- package/vpc/index.d.ts +6 -0
- package/vpc/index.js +18 -0
- package/vpc/index.js.map +1 -1
- package/vpc/natGateway.d.ts +23 -11
- package/vpc/natGateway.js +2 -0
- package/vpc/natGateway.js.map +1 -1
- package/vpc/natIp.d.ts +190 -0
- package/vpc/natIp.js +129 -0
- package/vpc/natIp.js.map +1 -0
- package/vpc/natIpCidr.d.ts +156 -0
- package/vpc/natIpCidr.js +115 -0
- package/vpc/natIpCidr.js.map +1 -0
- package/waf/certificate.d.ts +145 -0
- package/waf/certificate.js +103 -0
- package/waf/certificate.js.map +1 -0
- package/waf/getCertificates.d.ts +62 -0
- package/waf/getCertificates.js +44 -0
- package/waf/getCertificates.js.map +1 -0
- package/waf/index.d.ts +2 -0
- package/waf/index.js +6 -0
- package/waf/index.js.map +1 -1
- package/yundun/bastionHostInstance.d.ts +0 -89
- package/yundun/bastionHostInstance.js +0 -35
- package/yundun/bastionHostInstance.js.map +1 -1
- package/yundun/getBastionHostInstances.d.ts +0 -46
- package/yundun/getBastionHostInstances.js +0 -18
- package/yundun/getBastionHostInstances.js.map +1 -1
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Bastion Host User resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about Bastion Host User and how to use it, see [What is User](https://www.alibabacloud.com/help/doc-detail/204503.htm).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available in v1.133.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 local = new alicloud.bastionhost.User("Local", {
|
|
18
|
+
* instanceId: "example_value",
|
|
19
|
+
* mobile: "13312345678",
|
|
20
|
+
* mobileCountryCode: "CN",
|
|
21
|
+
* password: "YourPassword-123",
|
|
22
|
+
* source: "Local",
|
|
23
|
+
* userName: "my-local-user",
|
|
24
|
+
* });
|
|
25
|
+
* const ram = new alicloud.bastionhost.User("Ram", {
|
|
26
|
+
* instanceId: "example_value",
|
|
27
|
+
* mobile: "13312345678",
|
|
28
|
+
* mobileCountryCode: "CN",
|
|
29
|
+
* password: "YourPassword-123",
|
|
30
|
+
* source: "Ram",
|
|
31
|
+
* sourceUserId: "1234567890",
|
|
32
|
+
* userName: "my-ram-user",
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Bastion Host User can be imported using the id, e.g.
|
|
39
|
+
*
|
|
40
|
+
* ```sh
|
|
41
|
+
* $ pulumi import alicloud:bastionhost/user:User example <instance_id>:<user_id>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare class User extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserState, opts?: pulumi.CustomResourceOptions): User;
|
|
55
|
+
/**
|
|
56
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
57
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
58
|
+
*/
|
|
59
|
+
static isInstance(obj: any): obj is User;
|
|
60
|
+
/**
|
|
61
|
+
* Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
|
|
62
|
+
*/
|
|
63
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Specify the New Created the User's Display Name. Supports up to 128 Characters.
|
|
66
|
+
*/
|
|
67
|
+
readonly displayName: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Specify the New User's Mailbox.
|
|
70
|
+
*/
|
|
71
|
+
readonly email: pulumi.Output<string | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* You Want to Query the User the Bastion Host ID of.
|
|
74
|
+
*/
|
|
75
|
+
readonly instanceId: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Specify the New of the User That Created a Different Mobile Phone Number from Your.
|
|
78
|
+
*/
|
|
79
|
+
readonly mobile: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values:
|
|
82
|
+
* * CN: Mainland China (+86)
|
|
83
|
+
* * HK: hong Kong, China (+852)
|
|
84
|
+
* * MO: Macau, China (+853)
|
|
85
|
+
* * TW: Taiwan, China (+886)
|
|
86
|
+
* * RU: Russian (+7)
|
|
87
|
+
* * SG: Singapore (+65)
|
|
88
|
+
* * MY: malaysia (+60)
|
|
89
|
+
* * ID: Indonesia (+62)
|
|
90
|
+
* * DE: Germany (+49)
|
|
91
|
+
* * AU: Australia (+61)
|
|
92
|
+
* * US: United States (+1)
|
|
93
|
+
* * AE: dubai (+971)
|
|
94
|
+
* * JP: Japan (+81) Introducing the Long-Range
|
|
95
|
+
* * GB: United Kingdom (+44)
|
|
96
|
+
* * IN: India (+91)
|
|
97
|
+
* * KR: South Korea (+82)
|
|
98
|
+
* * PH: philippines (+63)
|
|
99
|
+
* * CH: Switzerland (+41)
|
|
100
|
+
* * SE: Sweden (+46)
|
|
101
|
+
*/
|
|
102
|
+
readonly mobileCountryCode: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required.
|
|
105
|
+
*/
|
|
106
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Specify the New of the User That Created the Source. Valid Values:
|
|
109
|
+
* * Local: Local User
|
|
110
|
+
* * RAM: Ram User
|
|
111
|
+
*/
|
|
112
|
+
readonly source: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
|
|
115
|
+
*/
|
|
116
|
+
readonly sourceUserId: pulumi.Output<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* The status of the resource. Valid values: `Frozen`, `Normal`.
|
|
119
|
+
*/
|
|
120
|
+
readonly status: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The User ID.
|
|
123
|
+
*/
|
|
124
|
+
readonly userId: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
|
|
127
|
+
*/
|
|
128
|
+
readonly userName: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Create a User resource with the given unique name, arguments, and options.
|
|
131
|
+
*
|
|
132
|
+
* @param name The _unique_ name of the resource.
|
|
133
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
134
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
135
|
+
*/
|
|
136
|
+
constructor(name: string, args: UserArgs, opts?: pulumi.CustomResourceOptions);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Input properties used for looking up and filtering User resources.
|
|
140
|
+
*/
|
|
141
|
+
export interface UserState {
|
|
142
|
+
/**
|
|
143
|
+
* Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
|
|
144
|
+
*/
|
|
145
|
+
readonly comment?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Specify the New Created the User's Display Name. Supports up to 128 Characters.
|
|
148
|
+
*/
|
|
149
|
+
readonly displayName?: pulumi.Input<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Specify the New User's Mailbox.
|
|
152
|
+
*/
|
|
153
|
+
readonly email?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* You Want to Query the User the Bastion Host ID of.
|
|
156
|
+
*/
|
|
157
|
+
readonly instanceId?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Specify the New of the User That Created a Different Mobile Phone Number from Your.
|
|
160
|
+
*/
|
|
161
|
+
readonly mobile?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values:
|
|
164
|
+
* * CN: Mainland China (+86)
|
|
165
|
+
* * HK: hong Kong, China (+852)
|
|
166
|
+
* * MO: Macau, China (+853)
|
|
167
|
+
* * TW: Taiwan, China (+886)
|
|
168
|
+
* * RU: Russian (+7)
|
|
169
|
+
* * SG: Singapore (+65)
|
|
170
|
+
* * MY: malaysia (+60)
|
|
171
|
+
* * ID: Indonesia (+62)
|
|
172
|
+
* * DE: Germany (+49)
|
|
173
|
+
* * AU: Australia (+61)
|
|
174
|
+
* * US: United States (+1)
|
|
175
|
+
* * AE: dubai (+971)
|
|
176
|
+
* * JP: Japan (+81) Introducing the Long-Range
|
|
177
|
+
* * GB: United Kingdom (+44)
|
|
178
|
+
* * IN: India (+91)
|
|
179
|
+
* * KR: South Korea (+82)
|
|
180
|
+
* * PH: philippines (+63)
|
|
181
|
+
* * CH: Switzerland (+41)
|
|
182
|
+
* * SE: Sweden (+46)
|
|
183
|
+
*/
|
|
184
|
+
readonly mobileCountryCode?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required.
|
|
187
|
+
*/
|
|
188
|
+
readonly password?: pulumi.Input<string>;
|
|
189
|
+
/**
|
|
190
|
+
* Specify the New of the User That Created the Source. Valid Values:
|
|
191
|
+
* * Local: Local User
|
|
192
|
+
* * RAM: Ram User
|
|
193
|
+
*/
|
|
194
|
+
readonly source?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
|
|
197
|
+
*/
|
|
198
|
+
readonly sourceUserId?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* The status of the resource. Valid values: `Frozen`, `Normal`.
|
|
201
|
+
*/
|
|
202
|
+
readonly status?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* The User ID.
|
|
205
|
+
*/
|
|
206
|
+
readonly userId?: pulumi.Input<string>;
|
|
207
|
+
/**
|
|
208
|
+
* Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
|
|
209
|
+
*/
|
|
210
|
+
readonly userName?: pulumi.Input<string>;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* The set of arguments for constructing a User resource.
|
|
214
|
+
*/
|
|
215
|
+
export interface UserArgs {
|
|
216
|
+
/**
|
|
217
|
+
* Specify the New of the User That Created the Remark Information. Supports up to 500 Characters.
|
|
218
|
+
*/
|
|
219
|
+
readonly comment?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Specify the New Created the User's Display Name. Supports up to 128 Characters.
|
|
222
|
+
*/
|
|
223
|
+
readonly displayName?: pulumi.Input<string>;
|
|
224
|
+
/**
|
|
225
|
+
* Specify the New User's Mailbox.
|
|
226
|
+
*/
|
|
227
|
+
readonly email?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* You Want to Query the User the Bastion Host ID of.
|
|
230
|
+
*/
|
|
231
|
+
readonly instanceId: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* Specify the New of the User That Created a Different Mobile Phone Number from Your.
|
|
234
|
+
*/
|
|
235
|
+
readonly mobile?: pulumi.Input<string>;
|
|
236
|
+
/**
|
|
237
|
+
* Specify the New Create User Mobile Phone Number of the International Domain Name. The Default Value Is the CN. Valid Values:
|
|
238
|
+
* * CN: Mainland China (+86)
|
|
239
|
+
* * HK: hong Kong, China (+852)
|
|
240
|
+
* * MO: Macau, China (+853)
|
|
241
|
+
* * TW: Taiwan, China (+886)
|
|
242
|
+
* * RU: Russian (+7)
|
|
243
|
+
* * SG: Singapore (+65)
|
|
244
|
+
* * MY: malaysia (+60)
|
|
245
|
+
* * ID: Indonesia (+62)
|
|
246
|
+
* * DE: Germany (+49)
|
|
247
|
+
* * AU: Australia (+61)
|
|
248
|
+
* * US: United States (+1)
|
|
249
|
+
* * AE: dubai (+971)
|
|
250
|
+
* * JP: Japan (+81) Introducing the Long-Range
|
|
251
|
+
* * GB: United Kingdom (+44)
|
|
252
|
+
* * IN: India (+91)
|
|
253
|
+
* * KR: South Korea (+82)
|
|
254
|
+
* * PH: philippines (+63)
|
|
255
|
+
* * CH: Switzerland (+41)
|
|
256
|
+
* * SE: Sweden (+46)
|
|
257
|
+
*/
|
|
258
|
+
readonly mobileCountryCode?: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Specify the New User's Password. Supports up to 128 Characters. Description of the New User as the Source of the Local User (That Is, Source Value for Local, this Parameter Is Required.
|
|
261
|
+
*/
|
|
262
|
+
readonly password?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* Specify the New of the User That Created the Source. Valid Values:
|
|
265
|
+
* * Local: Local User
|
|
266
|
+
* * RAM: Ram User
|
|
267
|
+
*/
|
|
268
|
+
readonly source: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* Specify the Newly Created User Is Uniquely Identified. Indicates That the Parameter Is a Bastion Host Corresponding to the User with the Ram User's Unique Identifier. The Newly Created User Source Grant Permission to a RAM User (That Is, Source Used as a Ram), this Parameter Is Required. You Can Call Access Control of Listusers Interface from the Return Data Userid to Obtain the Parameters.
|
|
271
|
+
*/
|
|
272
|
+
readonly sourceUserId?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* The status of the resource. Valid values: `Frozen`, `Normal`.
|
|
275
|
+
*/
|
|
276
|
+
readonly status?: pulumi.Input<string>;
|
|
277
|
+
/**
|
|
278
|
+
* Specify the New User Name. This Parameter Is Only by Letters, Lowercase Letters, Numbers, and Underscores (_), Supports up to 128 Characters.
|
|
279
|
+
*/
|
|
280
|
+
readonly userName: pulumi.Input<string>;
|
|
281
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a Bastion Host User resource.
|
|
9
|
+
*
|
|
10
|
+
* For information about Bastion Host User and how to use it, see [What is User](https://www.alibabacloud.com/help/doc-detail/204503.htm).
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** Available in v1.133.0+.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* Basic Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
21
|
+
*
|
|
22
|
+
* const local = new alicloud.bastionhost.User("Local", {
|
|
23
|
+
* instanceId: "example_value",
|
|
24
|
+
* mobile: "13312345678",
|
|
25
|
+
* mobileCountryCode: "CN",
|
|
26
|
+
* password: "YourPassword-123",
|
|
27
|
+
* source: "Local",
|
|
28
|
+
* userName: "my-local-user",
|
|
29
|
+
* });
|
|
30
|
+
* const ram = new alicloud.bastionhost.User("Ram", {
|
|
31
|
+
* instanceId: "example_value",
|
|
32
|
+
* mobile: "13312345678",
|
|
33
|
+
* mobileCountryCode: "CN",
|
|
34
|
+
* password: "YourPassword-123",
|
|
35
|
+
* source: "Ram",
|
|
36
|
+
* sourceUserId: "1234567890",
|
|
37
|
+
* userName: "my-ram-user",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* Bastion Host User can be imported using the id, e.g.
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import alicloud:bastionhost/user:User example <instance_id>:<user_id>
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
class User extends pulumi.CustomResource {
|
|
50
|
+
constructor(name, argsOrState, opts) {
|
|
51
|
+
let inputs = {};
|
|
52
|
+
opts = opts || {};
|
|
53
|
+
if (opts.id) {
|
|
54
|
+
const state = argsOrState;
|
|
55
|
+
inputs["comment"] = state ? state.comment : undefined;
|
|
56
|
+
inputs["displayName"] = state ? state.displayName : undefined;
|
|
57
|
+
inputs["email"] = state ? state.email : undefined;
|
|
58
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
59
|
+
inputs["mobile"] = state ? state.mobile : undefined;
|
|
60
|
+
inputs["mobileCountryCode"] = state ? state.mobileCountryCode : undefined;
|
|
61
|
+
inputs["password"] = state ? state.password : undefined;
|
|
62
|
+
inputs["source"] = state ? state.source : undefined;
|
|
63
|
+
inputs["sourceUserId"] = state ? state.sourceUserId : undefined;
|
|
64
|
+
inputs["status"] = state ? state.status : undefined;
|
|
65
|
+
inputs["userId"] = state ? state.userId : undefined;
|
|
66
|
+
inputs["userName"] = state ? state.userName : undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'instanceId'");
|
|
72
|
+
}
|
|
73
|
+
if ((!args || args.source === undefined) && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'source'");
|
|
75
|
+
}
|
|
76
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'userName'");
|
|
78
|
+
}
|
|
79
|
+
inputs["comment"] = args ? args.comment : undefined;
|
|
80
|
+
inputs["displayName"] = args ? args.displayName : undefined;
|
|
81
|
+
inputs["email"] = args ? args.email : undefined;
|
|
82
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
83
|
+
inputs["mobile"] = args ? args.mobile : undefined;
|
|
84
|
+
inputs["mobileCountryCode"] = args ? args.mobileCountryCode : undefined;
|
|
85
|
+
inputs["password"] = args ? args.password : undefined;
|
|
86
|
+
inputs["source"] = args ? args.source : undefined;
|
|
87
|
+
inputs["sourceUserId"] = args ? args.sourceUserId : undefined;
|
|
88
|
+
inputs["status"] = args ? args.status : undefined;
|
|
89
|
+
inputs["userName"] = args ? args.userName : undefined;
|
|
90
|
+
inputs["userId"] = undefined /*out*/;
|
|
91
|
+
}
|
|
92
|
+
if (!opts.version) {
|
|
93
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
94
|
+
}
|
|
95
|
+
super(User.__pulumiType, name, inputs, opts);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
99
|
+
* properties used to qualify the lookup.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resulting resource.
|
|
102
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
103
|
+
* @param state Any extra arguments used during the lookup.
|
|
104
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
105
|
+
*/
|
|
106
|
+
static get(name, id, state, opts) {
|
|
107
|
+
return new User(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
111
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
112
|
+
*/
|
|
113
|
+
static isInstance(obj) {
|
|
114
|
+
if (obj === undefined || obj === null) {
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
return obj['__pulumiType'] === User.__pulumiType;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.User = User;
|
|
121
|
+
/** @internal */
|
|
122
|
+
User.__pulumiType = 'alicloud:bastionhost/user:User';
|
|
123
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../bastionhost/user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IA0G3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CA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
|
+
* Provides a Bastion Host User Attachment resource to add user to one user group.
|
|
4
|
+
*
|
|
5
|
+
* > **NOTE:** Available in v1.134.0+.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
14
|
+
*
|
|
15
|
+
* const example = new alicloud.bastionhost.UserAttachment("example", {
|
|
16
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
17
|
+
* userGroupId: "10",
|
|
18
|
+
* userId: "100",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Bastion Host User Attachment can be imported using the id, e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import alicloud:bastionhost/userAttachment:UserAttachment example <instance_id>:<user_group_id>:<user_id>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class UserAttachment extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing UserAttachment resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: UserAttachmentState, opts?: pulumi.CustomResourceOptions): UserAttachment;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of UserAttachment. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is UserAttachment;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the user group to add the user's bastion host ID of.
|
|
48
|
+
*/
|
|
49
|
+
readonly instanceId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the user group to which you want to add the user ID.
|
|
52
|
+
*/
|
|
53
|
+
readonly userGroupId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Specify that you want to add to the policy attached to the user group ID. This includes response parameters in a Json-formatted string supports up to set up 100 USER ID.
|
|
56
|
+
*/
|
|
57
|
+
readonly userId: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a UserAttachment resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name: string, args: UserAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input properties used for looking up and filtering UserAttachment resources.
|
|
69
|
+
*/
|
|
70
|
+
export interface UserAttachmentState {
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the user group to add the user's bastion host ID of.
|
|
73
|
+
*/
|
|
74
|
+
readonly instanceId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Specifies the user group to which you want to add the user ID.
|
|
77
|
+
*/
|
|
78
|
+
readonly userGroupId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Specify that you want to add to the policy attached to the user group ID. This includes response parameters in a Json-formatted string supports up to set up 100 USER ID.
|
|
81
|
+
*/
|
|
82
|
+
readonly userId?: pulumi.Input<string>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The set of arguments for constructing a UserAttachment resource.
|
|
86
|
+
*/
|
|
87
|
+
export interface UserAttachmentArgs {
|
|
88
|
+
/**
|
|
89
|
+
* Specifies the user group to add the user's bastion host ID of.
|
|
90
|
+
*/
|
|
91
|
+
readonly instanceId: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Specifies the user group to which you want to add the user ID.
|
|
94
|
+
*/
|
|
95
|
+
readonly userGroupId: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Specify that you want to add to the policy attached to the user group ID. This includes response parameters in a Json-formatted string supports up to set up 100 USER ID.
|
|
98
|
+
*/
|
|
99
|
+
readonly userId: pulumi.Input<string>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("../utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Provides a Bastion Host User Attachment resource to add user to one user group.
|
|
9
|
+
*
|
|
10
|
+
* > **NOTE:** Available in v1.134.0+.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* Basic Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as alicloud from "@pulumi/alicloud";
|
|
19
|
+
*
|
|
20
|
+
* const example = new alicloud.bastionhost.UserAttachment("example", {
|
|
21
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
22
|
+
* userGroupId: "10",
|
|
23
|
+
* userId: "100",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Bastion Host User Attachment can be imported using the id, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import alicloud:bastionhost/userAttachment:UserAttachment example <instance_id>:<user_group_id>:<user_id>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class UserAttachment extends pulumi.CustomResource {
|
|
36
|
+
constructor(name, argsOrState, opts) {
|
|
37
|
+
let inputs = {};
|
|
38
|
+
opts = opts || {};
|
|
39
|
+
if (opts.id) {
|
|
40
|
+
const state = argsOrState;
|
|
41
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
42
|
+
inputs["userGroupId"] = state ? state.userGroupId : undefined;
|
|
43
|
+
inputs["userId"] = state ? state.userId : undefined;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const args = argsOrState;
|
|
47
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'instanceId'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.userGroupId === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'userGroupId'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.userId === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'userId'");
|
|
55
|
+
}
|
|
56
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
57
|
+
inputs["userGroupId"] = args ? args.userGroupId : undefined;
|
|
58
|
+
inputs["userId"] = args ? args.userId : undefined;
|
|
59
|
+
}
|
|
60
|
+
if (!opts.version) {
|
|
61
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
62
|
+
}
|
|
63
|
+
super(UserAttachment.__pulumiType, name, inputs, opts);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get an existing UserAttachment resource's state with the given name, ID, and optional extra
|
|
67
|
+
* properties used to qualify the lookup.
|
|
68
|
+
*
|
|
69
|
+
* @param name The _unique_ name of the resulting resource.
|
|
70
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
71
|
+
* @param state Any extra arguments used during the lookup.
|
|
72
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
|
+
*/
|
|
74
|
+
static get(name, id, state, opts) {
|
|
75
|
+
return new UserAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of UserAttachment. This is designed to work even
|
|
79
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
80
|
+
*/
|
|
81
|
+
static isInstance(obj) {
|
|
82
|
+
if (obj === undefined || obj === null) {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
return obj['__pulumiType'] === UserAttachment.__pulumiType;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.UserAttachment = UserAttachment;
|
|
89
|
+
/** @internal */
|
|
90
|
+
UserAttachment.__pulumiType = 'alicloud:bastionhost/userAttachment:UserAttachment';
|
|
91
|
+
//# sourceMappingURL=userAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userAttachment.js","sourceRoot":"","sources":["../../bastionhost/userAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAiDrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC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