@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,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 Host Attachment resource to add host into one host group.
|
|
9
|
+
*
|
|
10
|
+
* > **NOTE:** Available in v1.135.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.HostAttachment("example", {
|
|
21
|
+
* hostGroupId: "6",
|
|
22
|
+
* hostId: "15",
|
|
23
|
+
* instanceId: "bastionhost-cn-tl32bh0no30",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Bastion Host Host Attachment can be imported using the id, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import alicloud:bastionhost/hostAttachment:HostAttachment example <instance_id>:<host_group_id>:<host_id>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class HostAttachment extends pulumi.CustomResource {
|
|
36
|
+
constructor(name, argsOrState, opts) {
|
|
37
|
+
let inputs = {};
|
|
38
|
+
opts = opts || {};
|
|
39
|
+
if (opts.id) {
|
|
40
|
+
const state = argsOrState;
|
|
41
|
+
inputs["hostGroupId"] = state ? state.hostGroupId : undefined;
|
|
42
|
+
inputs["hostId"] = state ? state.hostId : undefined;
|
|
43
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const args = argsOrState;
|
|
47
|
+
if ((!args || args.hostGroupId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'hostGroupId'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.hostId === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'hostId'");
|
|
52
|
+
}
|
|
53
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
54
|
+
throw new Error("Missing required property 'instanceId'");
|
|
55
|
+
}
|
|
56
|
+
inputs["hostGroupId"] = args ? args.hostGroupId : undefined;
|
|
57
|
+
inputs["hostId"] = args ? args.hostId : undefined;
|
|
58
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
59
|
+
}
|
|
60
|
+
if (!opts.version) {
|
|
61
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
62
|
+
}
|
|
63
|
+
super(HostAttachment.__pulumiType, name, inputs, opts);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get an existing HostAttachment 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 HostAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of HostAttachment. 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'] === HostAttachment.__pulumiType;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.HostAttachment = HostAttachment;
|
|
89
|
+
/** @internal */
|
|
90
|
+
HostAttachment.__pulumiType = 'alicloud:bastionhost/hostAttachment:HostAttachment';
|
|
91
|
+
//# sourceMappingURL=hostAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hostAttachment.js","sourceRoot":"","sources":["../../bastionhost/hostAttachment.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,CAA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AI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IA3ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCA6EC;AA/DG,gBAAgB;AACO,2BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Bastion Host Host Group resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about Bastion Host Host Group and how to use it, see [What is Host Group](https://www.alibabacloud.com/help/en/doc-detail/204307.htm).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available in v1.134.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 example = new alicloud.bastionhost.HostGroup("example", {
|
|
18
|
+
* hostGroupName: "example_value",
|
|
19
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* Bastion Host Host Group can be imported using the id, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import alicloud:bastionhost/hostGroup:HostGroup example <instance_id>:<host_group_id>
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class HostGroup extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing HostGroup resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HostGroupState, opts?: pulumi.CustomResourceOptions): HostGroup;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of HostGroup. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is HostGroup;
|
|
47
|
+
/**
|
|
48
|
+
* Specify the New Host Group of Notes, Supports up to 500 Characters.
|
|
49
|
+
*/
|
|
50
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* Host Group ID.
|
|
53
|
+
*/
|
|
54
|
+
readonly hostGroupId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Specify the New Host Group Name, Supports up to 128 Characters.
|
|
57
|
+
*/
|
|
58
|
+
readonly hostGroupName: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Specify the New Host Group Where the Bastion Host ID of.
|
|
61
|
+
*/
|
|
62
|
+
readonly instanceId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Create a HostGroup resource with the given unique name, arguments, and options.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resource.
|
|
67
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
68
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
69
|
+
*/
|
|
70
|
+
constructor(name: string, args: HostGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Input properties used for looking up and filtering HostGroup resources.
|
|
74
|
+
*/
|
|
75
|
+
export interface HostGroupState {
|
|
76
|
+
/**
|
|
77
|
+
* Specify the New Host Group of Notes, Supports up to 500 Characters.
|
|
78
|
+
*/
|
|
79
|
+
readonly comment?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Host Group ID.
|
|
82
|
+
*/
|
|
83
|
+
readonly hostGroupId?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Specify the New Host Group Name, Supports up to 128 Characters.
|
|
86
|
+
*/
|
|
87
|
+
readonly hostGroupName?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Specify the New Host Group Where the Bastion Host ID of.
|
|
90
|
+
*/
|
|
91
|
+
readonly instanceId?: pulumi.Input<string>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* The set of arguments for constructing a HostGroup resource.
|
|
95
|
+
*/
|
|
96
|
+
export interface HostGroupArgs {
|
|
97
|
+
/**
|
|
98
|
+
* Specify the New Host Group of Notes, Supports up to 500 Characters.
|
|
99
|
+
*/
|
|
100
|
+
readonly comment?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Specify the New Host Group Name, Supports up to 128 Characters.
|
|
103
|
+
*/
|
|
104
|
+
readonly hostGroupName: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Specify the New Host Group Where the Bastion Host ID of.
|
|
107
|
+
*/
|
|
108
|
+
readonly instanceId: pulumi.Input<string>;
|
|
109
|
+
}
|
|
@@ -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 Host Group resource.
|
|
9
|
+
*
|
|
10
|
+
* For information about Bastion Host Host Group and how to use it, see [What is Host Group](https://www.alibabacloud.com/help/en/doc-detail/204307.htm).
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** Available in v1.134.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 example = new alicloud.bastionhost.HostGroup("example", {
|
|
23
|
+
* hostGroupName: "example_value",
|
|
24
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Bastion Host Host Group can be imported using the id, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import alicloud:bastionhost/hostGroup:HostGroup example <instance_id>:<host_group_id>
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class HostGroup extends pulumi.CustomResource {
|
|
37
|
+
constructor(name, argsOrState, opts) {
|
|
38
|
+
let inputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (opts.id) {
|
|
41
|
+
const state = argsOrState;
|
|
42
|
+
inputs["comment"] = state ? state.comment : undefined;
|
|
43
|
+
inputs["hostGroupId"] = state ? state.hostGroupId : undefined;
|
|
44
|
+
inputs["hostGroupName"] = state ? state.hostGroupName : undefined;
|
|
45
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const args = argsOrState;
|
|
49
|
+
if ((!args || args.hostGroupName === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'hostGroupName'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'instanceId'");
|
|
54
|
+
}
|
|
55
|
+
inputs["comment"] = args ? args.comment : undefined;
|
|
56
|
+
inputs["hostGroupName"] = args ? args.hostGroupName : undefined;
|
|
57
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
58
|
+
inputs["hostGroupId"] = undefined /*out*/;
|
|
59
|
+
}
|
|
60
|
+
if (!opts.version) {
|
|
61
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
62
|
+
}
|
|
63
|
+
super(HostGroup.__pulumiType, name, inputs, opts);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get an existing HostGroup 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 HostGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns true if the given object is an instance of HostGroup. 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'] === HostGroup.__pulumiType;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.HostGroup = HostGroup;
|
|
89
|
+
/** @internal */
|
|
90
|
+
HostGroup.__pulumiType = 'alicloud:bastionhost/hostGroup:HostGroup';
|
|
91
|
+
//# sourceMappingURL=hostGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hostGroup.js","sourceRoot":"","sources":["../../bastionhost/hostGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAqDhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,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,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CA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2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAgFC;AAlEG,gBAAgB;AACO,sBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Bastion Host Host Account Attachment resource to add list host accounts into one user and one host group.
|
|
4
|
+
*
|
|
5
|
+
* > **NOTE:** Available in v1.135.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 defaultHost = new alicloud.bastionhost.Host("defaultHost", {
|
|
16
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
17
|
+
* hostName: _var.name,
|
|
18
|
+
* activeAddressType: "Private",
|
|
19
|
+
* hostPrivateAddress: "172.16.0.10",
|
|
20
|
+
* osType: "Linux",
|
|
21
|
+
* source: "Local",
|
|
22
|
+
* });
|
|
23
|
+
* const defaultHostAccount: alicloud.bastionhost.HostAccount[];
|
|
24
|
+
* for (const range = {value: 0}; range.value < 3; range.value++) {
|
|
25
|
+
* defaultHostAccount.push(new alicloud.bastionhost.HostAccount(`defaultHostAccount-${range.value}`, {
|
|
26
|
+
* instanceId: defaultHost.instanceId,
|
|
27
|
+
* hostAccountName: `example_value-${range.value}`,
|
|
28
|
+
* hostId: defaultHost.hostId,
|
|
29
|
+
* protocolName: "SSH",
|
|
30
|
+
* password: "YourPassword12345",
|
|
31
|
+
* }));
|
|
32
|
+
* }
|
|
33
|
+
* const defaultUser = new alicloud.bastionhost.User("defaultUser", {
|
|
34
|
+
* instanceId: defaultHost.instanceId,
|
|
35
|
+
* mobileCountryCode: "CN",
|
|
36
|
+
* mobile: "13312345678",
|
|
37
|
+
* password: "YourPassword-123",
|
|
38
|
+
* source: "Local",
|
|
39
|
+
* userName: "my-local-user",
|
|
40
|
+
* });
|
|
41
|
+
* const defaultHostGroup = new alicloud.bastionhost.HostGroup("defaultHostGroup", {
|
|
42
|
+
* hostGroupName: "example_value",
|
|
43
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
44
|
+
* });
|
|
45
|
+
* const defaultHostGroupAccountUserAttachment = new alicloud.bastionhost.HostGroupAccountUserAttachment("defaultHostGroupAccountUserAttachment", {
|
|
46
|
+
* instanceId: defaultHost.instanceId,
|
|
47
|
+
* userId: defaultUser.userId,
|
|
48
|
+
* hostGroupId: defaultHostGroup.hostGroupId,
|
|
49
|
+
* hostAccountNames: defaultHostAccount.map(__item => __item.hostAccountName),
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* Bastion Host Host Account can be imported using the id, e.g.
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import alicloud:bastionhost/hostGroupAccountUserAttachment:HostGroupAccountUserAttachment example <instance_id>:<user_id>:<host_group_id>
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare class HostGroupAccountUserAttachment extends pulumi.CustomResource {
|
|
62
|
+
/**
|
|
63
|
+
* Get an existing HostGroupAccountUserAttachment resource's state with the given name, ID, and optional extra
|
|
64
|
+
* properties used to qualify the lookup.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resulting resource.
|
|
67
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
+
* @param state Any extra arguments used during the lookup.
|
|
69
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
|
+
*/
|
|
71
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HostGroupAccountUserAttachmentState, opts?: pulumi.CustomResourceOptions): HostGroupAccountUserAttachment;
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of HostGroupAccountUserAttachment. This is designed to work even
|
|
74
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
+
*/
|
|
76
|
+
static isInstance(obj: any): obj is HostGroupAccountUserAttachment;
|
|
77
|
+
/**
|
|
78
|
+
* A list names of the host account.
|
|
79
|
+
*/
|
|
80
|
+
readonly hostAccountNames: pulumi.Output<string[]>;
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the host group.
|
|
83
|
+
*/
|
|
84
|
+
readonly hostGroupId: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the Bastionhost instance where you want to authorize the user to manage the specified hosts and host accounts.
|
|
87
|
+
*/
|
|
88
|
+
readonly instanceId: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the user that you want to authorize to manage the specified hosts and host accounts.
|
|
91
|
+
*/
|
|
92
|
+
readonly userId: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a HostGroupAccountUserAttachment resource with the given unique name, arguments, and options.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resource.
|
|
97
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
98
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
99
|
+
*/
|
|
100
|
+
constructor(name: string, args: HostGroupAccountUserAttachmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Input properties used for looking up and filtering HostGroupAccountUserAttachment resources.
|
|
104
|
+
*/
|
|
105
|
+
export interface HostGroupAccountUserAttachmentState {
|
|
106
|
+
/**
|
|
107
|
+
* A list names of the host account.
|
|
108
|
+
*/
|
|
109
|
+
readonly hostAccountNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
|
+
/**
|
|
111
|
+
* The ID of the host group.
|
|
112
|
+
*/
|
|
113
|
+
readonly hostGroupId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The ID of the Bastionhost instance where you want to authorize the user to manage the specified hosts and host accounts.
|
|
116
|
+
*/
|
|
117
|
+
readonly instanceId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The ID of the user that you want to authorize to manage the specified hosts and host accounts.
|
|
120
|
+
*/
|
|
121
|
+
readonly userId?: pulumi.Input<string>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The set of arguments for constructing a HostGroupAccountUserAttachment resource.
|
|
125
|
+
*/
|
|
126
|
+
export interface HostGroupAccountUserAttachmentArgs {
|
|
127
|
+
/**
|
|
128
|
+
* A list names of the host account.
|
|
129
|
+
*/
|
|
130
|
+
readonly hostAccountNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the host group.
|
|
133
|
+
*/
|
|
134
|
+
readonly hostGroupId: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The ID of the Bastionhost instance where you want to authorize the user to manage the specified hosts and host accounts.
|
|
137
|
+
*/
|
|
138
|
+
readonly instanceId: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The ID of the user that you want to authorize to manage the specified hosts and host accounts.
|
|
141
|
+
*/
|
|
142
|
+
readonly userId: pulumi.Input<string>;
|
|
143
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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 Host Account Attachment resource to add list host accounts into one user and one host group.
|
|
9
|
+
*
|
|
10
|
+
* > **NOTE:** Available in v1.135.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 defaultHost = new alicloud.bastionhost.Host("defaultHost", {
|
|
21
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
22
|
+
* hostName: _var.name,
|
|
23
|
+
* activeAddressType: "Private",
|
|
24
|
+
* hostPrivateAddress: "172.16.0.10",
|
|
25
|
+
* osType: "Linux",
|
|
26
|
+
* source: "Local",
|
|
27
|
+
* });
|
|
28
|
+
* const defaultHostAccount: alicloud.bastionhost.HostAccount[];
|
|
29
|
+
* for (const range = {value: 0}; range.value < 3; range.value++) {
|
|
30
|
+
* defaultHostAccount.push(new alicloud.bastionhost.HostAccount(`defaultHostAccount-${range.value}`, {
|
|
31
|
+
* instanceId: defaultHost.instanceId,
|
|
32
|
+
* hostAccountName: `example_value-${range.value}`,
|
|
33
|
+
* hostId: defaultHost.hostId,
|
|
34
|
+
* protocolName: "SSH",
|
|
35
|
+
* password: "YourPassword12345",
|
|
36
|
+
* }));
|
|
37
|
+
* }
|
|
38
|
+
* const defaultUser = new alicloud.bastionhost.User("defaultUser", {
|
|
39
|
+
* instanceId: defaultHost.instanceId,
|
|
40
|
+
* mobileCountryCode: "CN",
|
|
41
|
+
* mobile: "13312345678",
|
|
42
|
+
* password: "YourPassword-123",
|
|
43
|
+
* source: "Local",
|
|
44
|
+
* userName: "my-local-user",
|
|
45
|
+
* });
|
|
46
|
+
* const defaultHostGroup = new alicloud.bastionhost.HostGroup("defaultHostGroup", {
|
|
47
|
+
* hostGroupName: "example_value",
|
|
48
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
49
|
+
* });
|
|
50
|
+
* const defaultHostGroupAccountUserAttachment = new alicloud.bastionhost.HostGroupAccountUserAttachment("defaultHostGroupAccountUserAttachment", {
|
|
51
|
+
* instanceId: defaultHost.instanceId,
|
|
52
|
+
* userId: defaultUser.userId,
|
|
53
|
+
* hostGroupId: defaultHostGroup.hostGroupId,
|
|
54
|
+
* hostAccountNames: defaultHostAccount.map(__item => __item.hostAccountName),
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* Bastion Host Host Account can be imported using the id, e.g.
|
|
61
|
+
*
|
|
62
|
+
* ```sh
|
|
63
|
+
* $ pulumi import alicloud:bastionhost/hostGroupAccountUserAttachment:HostGroupAccountUserAttachment example <instance_id>:<user_id>:<host_group_id>
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
class HostGroupAccountUserAttachment extends pulumi.CustomResource {
|
|
67
|
+
constructor(name, argsOrState, opts) {
|
|
68
|
+
let inputs = {};
|
|
69
|
+
opts = opts || {};
|
|
70
|
+
if (opts.id) {
|
|
71
|
+
const state = argsOrState;
|
|
72
|
+
inputs["hostAccountNames"] = state ? state.hostAccountNames : undefined;
|
|
73
|
+
inputs["hostGroupId"] = state ? state.hostGroupId : undefined;
|
|
74
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
75
|
+
inputs["userId"] = state ? state.userId : undefined;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
if ((!args || args.hostAccountNames === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'hostAccountNames'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.hostGroupId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'hostGroupId'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'instanceId'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.userId === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'userId'");
|
|
90
|
+
}
|
|
91
|
+
inputs["hostAccountNames"] = args ? args.hostAccountNames : undefined;
|
|
92
|
+
inputs["hostGroupId"] = args ? args.hostGroupId : undefined;
|
|
93
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
94
|
+
inputs["userId"] = args ? args.userId : undefined;
|
|
95
|
+
}
|
|
96
|
+
if (!opts.version) {
|
|
97
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
98
|
+
}
|
|
99
|
+
super(HostGroupAccountUserAttachment.__pulumiType, name, inputs, opts);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Get an existing HostGroupAccountUserAttachment resource's state with the given name, ID, and optional extra
|
|
103
|
+
* properties used to qualify the lookup.
|
|
104
|
+
*
|
|
105
|
+
* @param name The _unique_ name of the resulting resource.
|
|
106
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
107
|
+
* @param state Any extra arguments used during the lookup.
|
|
108
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
109
|
+
*/
|
|
110
|
+
static get(name, id, state, opts) {
|
|
111
|
+
return new HostGroupAccountUserAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Returns true if the given object is an instance of HostGroupAccountUserAttachment. This is designed to work even
|
|
115
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
116
|
+
*/
|
|
117
|
+
static isInstance(obj) {
|
|
118
|
+
if (obj === undefined || obj === null) {
|
|
119
|
+
return false;
|
|
120
|
+
}
|
|
121
|
+
return obj['__pulumiType'] === HostGroupAccountUserAttachment.__pulumiType;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.HostGroupAccountUserAttachment = HostGroupAccountUserAttachment;
|
|
125
|
+
/** @internal */
|
|
126
|
+
HostGroupAccountUserAttachment.__pulumiType = 'alicloud:bastionhost/hostGroupAccountUserAttachment:HostGroupAccountUserAttachment';
|
|
127
|
+
//# sourceMappingURL=hostGroupAccountUserAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hostGroupAccountUserAttachment.js","sourceRoot":"","sources":["../../bastionhost/hostGroupAccountUserAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IAqDrE,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8D,CAAC;YAC7E,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC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