@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,206 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Bastion Host Host resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about Bastion Host Host and how to use it, see [What is Host](https://www.alibabacloud.com/help/en/doc-detail/201330.htm).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available in v1.135.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.Host("example", {
|
|
18
|
+
* activeAddressType: "Private",
|
|
19
|
+
* hostName: "example_value",
|
|
20
|
+
* hostPrivateAddress: "172.16.0.10",
|
|
21
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
22
|
+
* osType: "Linux",
|
|
23
|
+
* source: "Local",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Bastion Host Host can be imported using the id, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import alicloud:bastionhost/host:Host example <instance_id>:<host_id>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare class Host extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing Host resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HostState, opts?: pulumi.CustomResourceOptions): Host;
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of Host. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj: any): obj is Host;
|
|
51
|
+
/**
|
|
52
|
+
* Specify the new create a host of address types. Valid values: Public: the IP address of a Public network Private: Private network address.
|
|
53
|
+
*/
|
|
54
|
+
readonly activeAddressType: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Specify a host of notes, supports up to 500 characters.
|
|
57
|
+
*/
|
|
58
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* The host ID.
|
|
61
|
+
*/
|
|
62
|
+
readonly hostId: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Specify the new create a host name of the supports up to 128 characters.
|
|
65
|
+
*/
|
|
66
|
+
readonly hostName: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Specify the new create a host of the private network address, it is possible to use the domain name or IP ADDRESS.
|
|
69
|
+
*/
|
|
70
|
+
readonly hostPrivateAddress: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Specify the new create a host of the IP address of a public network, it is possible to use the domain name or IP ADDRESS.
|
|
73
|
+
*/
|
|
74
|
+
readonly hostPublicAddress: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Specify the new create a host where the Bastion host ID of.
|
|
77
|
+
*/
|
|
78
|
+
readonly instanceId: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The instance region id.
|
|
81
|
+
*/
|
|
82
|
+
readonly instanceRegionId: pulumi.Output<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Specify the new create the host's operating system. Valid values: Linux Windows.
|
|
85
|
+
*/
|
|
86
|
+
readonly osType: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Specify the new create a host of source. Valid values:
|
|
89
|
+
* * Local: localhost
|
|
90
|
+
* * Ecs:ECS instance
|
|
91
|
+
* * Rds:RDS exclusive cluster host.
|
|
92
|
+
*/
|
|
93
|
+
readonly source: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Specify the newly created ECS instance ID or dedicated cluster host ID.
|
|
96
|
+
*/
|
|
97
|
+
readonly sourceInstanceId: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a Host resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: HostArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering Host resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface HostState {
|
|
111
|
+
/**
|
|
112
|
+
* Specify the new create a host of address types. Valid values: Public: the IP address of a Public network Private: Private network address.
|
|
113
|
+
*/
|
|
114
|
+
readonly activeAddressType?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Specify a host of notes, supports up to 500 characters.
|
|
117
|
+
*/
|
|
118
|
+
readonly comment?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The host ID.
|
|
121
|
+
*/
|
|
122
|
+
readonly hostId?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Specify the new create a host name of the supports up to 128 characters.
|
|
125
|
+
*/
|
|
126
|
+
readonly hostName?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Specify the new create a host of the private network address, it is possible to use the domain name or IP ADDRESS.
|
|
129
|
+
*/
|
|
130
|
+
readonly hostPrivateAddress?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Specify the new create a host of the IP address of a public network, it is possible to use the domain name or IP ADDRESS.
|
|
133
|
+
*/
|
|
134
|
+
readonly hostPublicAddress?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Specify the new create a host where the Bastion host ID of.
|
|
137
|
+
*/
|
|
138
|
+
readonly instanceId?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The instance region id.
|
|
141
|
+
*/
|
|
142
|
+
readonly instanceRegionId?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specify the new create the host's operating system. Valid values: Linux Windows.
|
|
145
|
+
*/
|
|
146
|
+
readonly osType?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Specify the new create a host of source. Valid values:
|
|
149
|
+
* * Local: localhost
|
|
150
|
+
* * Ecs:ECS instance
|
|
151
|
+
* * Rds:RDS exclusive cluster host.
|
|
152
|
+
*/
|
|
153
|
+
readonly source?: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Specify the newly created ECS instance ID or dedicated cluster host ID.
|
|
156
|
+
*/
|
|
157
|
+
readonly sourceInstanceId?: pulumi.Input<string>;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* The set of arguments for constructing a Host resource.
|
|
161
|
+
*/
|
|
162
|
+
export interface HostArgs {
|
|
163
|
+
/**
|
|
164
|
+
* Specify the new create a host of address types. Valid values: Public: the IP address of a Public network Private: Private network address.
|
|
165
|
+
*/
|
|
166
|
+
readonly activeAddressType: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Specify a host of notes, supports up to 500 characters.
|
|
169
|
+
*/
|
|
170
|
+
readonly comment?: pulumi.Input<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Specify the new create a host name of the supports up to 128 characters.
|
|
173
|
+
*/
|
|
174
|
+
readonly hostName: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Specify the new create a host of the private network address, it is possible to use the domain name or IP ADDRESS.
|
|
177
|
+
*/
|
|
178
|
+
readonly hostPrivateAddress?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Specify the new create a host of the IP address of a public network, it is possible to use the domain name or IP ADDRESS.
|
|
181
|
+
*/
|
|
182
|
+
readonly hostPublicAddress?: pulumi.Input<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Specify the new create a host where the Bastion host ID of.
|
|
185
|
+
*/
|
|
186
|
+
readonly instanceId: pulumi.Input<string>;
|
|
187
|
+
/**
|
|
188
|
+
* The instance region id.
|
|
189
|
+
*/
|
|
190
|
+
readonly instanceRegionId?: pulumi.Input<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Specify the new create the host's operating system. Valid values: Linux Windows.
|
|
193
|
+
*/
|
|
194
|
+
readonly osType: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Specify the new create a host of source. Valid values:
|
|
197
|
+
* * Local: localhost
|
|
198
|
+
* * Ecs:ECS instance
|
|
199
|
+
* * Rds:RDS exclusive cluster host.
|
|
200
|
+
*/
|
|
201
|
+
readonly source: pulumi.Input<string>;
|
|
202
|
+
/**
|
|
203
|
+
* Specify the newly created ECS instance ID or dedicated cluster host ID.
|
|
204
|
+
*/
|
|
205
|
+
readonly sourceInstanceId?: pulumi.Input<string>;
|
|
206
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 resource.
|
|
9
|
+
*
|
|
10
|
+
* For information about Bastion Host Host and how to use it, see [What is Host](https://www.alibabacloud.com/help/en/doc-detail/201330.htm).
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** Available in v1.135.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.Host("example", {
|
|
23
|
+
* activeAddressType: "Private",
|
|
24
|
+
* hostName: "example_value",
|
|
25
|
+
* hostPrivateAddress: "172.16.0.10",
|
|
26
|
+
* instanceId: "bastionhost-cn-tl3xxxxxxx",
|
|
27
|
+
* osType: "Linux",
|
|
28
|
+
* source: "Local",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* Bastion Host Host can be imported using the id, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import alicloud:bastionhost/host:Host example <instance_id>:<host_id>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class Host extends pulumi.CustomResource {
|
|
41
|
+
constructor(name, argsOrState, opts) {
|
|
42
|
+
let inputs = {};
|
|
43
|
+
opts = opts || {};
|
|
44
|
+
if (opts.id) {
|
|
45
|
+
const state = argsOrState;
|
|
46
|
+
inputs["activeAddressType"] = state ? state.activeAddressType : undefined;
|
|
47
|
+
inputs["comment"] = state ? state.comment : undefined;
|
|
48
|
+
inputs["hostId"] = state ? state.hostId : undefined;
|
|
49
|
+
inputs["hostName"] = state ? state.hostName : undefined;
|
|
50
|
+
inputs["hostPrivateAddress"] = state ? state.hostPrivateAddress : undefined;
|
|
51
|
+
inputs["hostPublicAddress"] = state ? state.hostPublicAddress : undefined;
|
|
52
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
53
|
+
inputs["instanceRegionId"] = state ? state.instanceRegionId : undefined;
|
|
54
|
+
inputs["osType"] = state ? state.osType : undefined;
|
|
55
|
+
inputs["source"] = state ? state.source : undefined;
|
|
56
|
+
inputs["sourceInstanceId"] = state ? state.sourceInstanceId : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
if ((!args || args.activeAddressType === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'activeAddressType'");
|
|
62
|
+
}
|
|
63
|
+
if ((!args || args.hostName === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'hostName'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'instanceId'");
|
|
68
|
+
}
|
|
69
|
+
if ((!args || args.osType === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'osType'");
|
|
71
|
+
}
|
|
72
|
+
if ((!args || args.source === undefined) && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'source'");
|
|
74
|
+
}
|
|
75
|
+
inputs["activeAddressType"] = args ? args.activeAddressType : undefined;
|
|
76
|
+
inputs["comment"] = args ? args.comment : undefined;
|
|
77
|
+
inputs["hostName"] = args ? args.hostName : undefined;
|
|
78
|
+
inputs["hostPrivateAddress"] = args ? args.hostPrivateAddress : undefined;
|
|
79
|
+
inputs["hostPublicAddress"] = args ? args.hostPublicAddress : undefined;
|
|
80
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
81
|
+
inputs["instanceRegionId"] = args ? args.instanceRegionId : undefined;
|
|
82
|
+
inputs["osType"] = args ? args.osType : undefined;
|
|
83
|
+
inputs["source"] = args ? args.source : undefined;
|
|
84
|
+
inputs["sourceInstanceId"] = args ? args.sourceInstanceId : undefined;
|
|
85
|
+
inputs["hostId"] = undefined /*out*/;
|
|
86
|
+
}
|
|
87
|
+
if (!opts.version) {
|
|
88
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
89
|
+
}
|
|
90
|
+
super(Host.__pulumiType, name, inputs, opts);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Get an existing Host resource's state with the given name, ID, and optional extra
|
|
94
|
+
* properties used to qualify the lookup.
|
|
95
|
+
*
|
|
96
|
+
* @param name The _unique_ name of the resulting resource.
|
|
97
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
98
|
+
* @param state Any extra arguments used during the lookup.
|
|
99
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
+
*/
|
|
101
|
+
static get(name, id, state, opts) {
|
|
102
|
+
return new Host(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns true if the given object is an instance of Host. This is designed to work even
|
|
106
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
+
*/
|
|
108
|
+
static isInstance(obj) {
|
|
109
|
+
if (obj === undefined || obj === null) {
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
return obj['__pulumiType'] === Host.__pulumiType;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
exports.Host = Host;
|
|
116
|
+
/** @internal */
|
|
117
|
+
Host.__pulumiType = 'alicloud:bastionhost/host:Host';
|
|
118
|
+
//# sourceMappingURL=host.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host.js","sourceRoot":"","sources":["../../bastionhost/host.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAoF3C,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,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,MAAM,CAAC,mBA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AC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxC;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,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IApID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;;AA1BL,oBAsIC;AAxHG,gBAAgB;AACO,iBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Bastion Host Host Account resource.
|
|
4
|
+
*
|
|
5
|
+
* For information about Bastion Host Host Account and how to use it, see [What is Host Account](https://www.alibabacloud.com/help/en/doc-detail/204377.htm).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Available in v1.135.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.HostAccount("example", {
|
|
18
|
+
* hostAccountName: "example_value",
|
|
19
|
+
* hostId: "15",
|
|
20
|
+
* instanceId: "bastionhost-cn-tl32bh0no30",
|
|
21
|
+
* password: "YourPassword12345",
|
|
22
|
+
* protocolName: "SSH",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Bastion Host Host Account can be imported using the id, e.g.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import alicloud:bastionhost/hostAccount:HostAccount example <instance_id>:<host_account_id>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class HostAccount extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing HostAccount resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: HostAccountState, opts?: pulumi.CustomResourceOptions): HostAccount;
|
|
45
|
+
/**
|
|
46
|
+
* Returns true if the given object is an instance of HostAccount. This is designed to work even
|
|
47
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
48
|
+
*/
|
|
49
|
+
static isInstance(obj: any): obj is HostAccount;
|
|
50
|
+
/**
|
|
51
|
+
* Hosting account ID.
|
|
52
|
+
*/
|
|
53
|
+
readonly hostAccountId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The name of the host account. The name can be up to 128 characters in length.
|
|
56
|
+
*/
|
|
57
|
+
readonly hostAccountName: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of the host for which you want to create an account.
|
|
60
|
+
*/
|
|
61
|
+
readonly hostId: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The ID of the Bastionhost instance where you want to create an account for the host.
|
|
64
|
+
*/
|
|
65
|
+
readonly instanceId: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The passphrase of the private key for the host account. **NOTE:** It is valid when the attribute `protocolName` is `SSH`.
|
|
68
|
+
*/
|
|
69
|
+
readonly passPhrase: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* The password of the host account.
|
|
72
|
+
*/
|
|
73
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* The private key of the host account. The value is a Base64-encoded string. **NOTE:** It is valid when the attribute `protocolName` is `SSH`
|
|
76
|
+
*/
|
|
77
|
+
readonly privateKey: pulumi.Output<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* The protocol used by the host account. Valid values: SSH,RDP
|
|
80
|
+
*/
|
|
81
|
+
readonly protocolName: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Create a HostAccount resource with the given unique name, arguments, and options.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resource.
|
|
86
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
87
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
88
|
+
*/
|
|
89
|
+
constructor(name: string, args: HostAccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Input properties used for looking up and filtering HostAccount resources.
|
|
93
|
+
*/
|
|
94
|
+
export interface HostAccountState {
|
|
95
|
+
/**
|
|
96
|
+
* Hosting account ID.
|
|
97
|
+
*/
|
|
98
|
+
readonly hostAccountId?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the host account. The name can be up to 128 characters in length.
|
|
101
|
+
*/
|
|
102
|
+
readonly hostAccountName?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the host for which you want to create an account.
|
|
105
|
+
*/
|
|
106
|
+
readonly hostId?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* The ID of the Bastionhost instance where you want to create an account for the host.
|
|
109
|
+
*/
|
|
110
|
+
readonly instanceId?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The passphrase of the private key for the host account. **NOTE:** It is valid when the attribute `protocolName` is `SSH`.
|
|
113
|
+
*/
|
|
114
|
+
readonly passPhrase?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The password of the host account.
|
|
117
|
+
*/
|
|
118
|
+
readonly password?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The private key of the host account. The value is a Base64-encoded string. **NOTE:** It is valid when the attribute `protocolName` is `SSH`
|
|
121
|
+
*/
|
|
122
|
+
readonly privateKey?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The protocol used by the host account. Valid values: SSH,RDP
|
|
125
|
+
*/
|
|
126
|
+
readonly protocolName?: pulumi.Input<string>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The set of arguments for constructing a HostAccount resource.
|
|
130
|
+
*/
|
|
131
|
+
export interface HostAccountArgs {
|
|
132
|
+
/**
|
|
133
|
+
* The name of the host account. The name can be up to 128 characters in length.
|
|
134
|
+
*/
|
|
135
|
+
readonly hostAccountName: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The ID of the host for which you want to create an account.
|
|
138
|
+
*/
|
|
139
|
+
readonly hostId: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* The ID of the Bastionhost instance where you want to create an account for the host.
|
|
142
|
+
*/
|
|
143
|
+
readonly instanceId: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The passphrase of the private key for the host account. **NOTE:** It is valid when the attribute `protocolName` is `SSH`.
|
|
146
|
+
*/
|
|
147
|
+
readonly passPhrase?: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* The password of the host account.
|
|
150
|
+
*/
|
|
151
|
+
readonly password?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The private key of the host account. The value is a Base64-encoded string. **NOTE:** It is valid when the attribute `protocolName` is `SSH`
|
|
154
|
+
*/
|
|
155
|
+
readonly privateKey?: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The protocol used by the host account. Valid values: SSH,RDP
|
|
158
|
+
*/
|
|
159
|
+
readonly protocolName: pulumi.Input<string>;
|
|
160
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 resource.
|
|
9
|
+
*
|
|
10
|
+
* For information about Bastion Host Host Account and how to use it, see [What is Host Account](https://www.alibabacloud.com/help/en/doc-detail/204377.htm).
|
|
11
|
+
*
|
|
12
|
+
* > **NOTE:** Available in v1.135.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.HostAccount("example", {
|
|
23
|
+
* hostAccountName: "example_value",
|
|
24
|
+
* hostId: "15",
|
|
25
|
+
* instanceId: "bastionhost-cn-tl32bh0no30",
|
|
26
|
+
* password: "YourPassword12345",
|
|
27
|
+
* protocolName: "SSH",
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* Bastion Host Host Account can be imported using the id, e.g.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import alicloud:bastionhost/hostAccount:HostAccount example <instance_id>:<host_account_id>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class HostAccount extends pulumi.CustomResource {
|
|
40
|
+
constructor(name, argsOrState, opts) {
|
|
41
|
+
let inputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (opts.id) {
|
|
44
|
+
const state = argsOrState;
|
|
45
|
+
inputs["hostAccountId"] = state ? state.hostAccountId : undefined;
|
|
46
|
+
inputs["hostAccountName"] = state ? state.hostAccountName : undefined;
|
|
47
|
+
inputs["hostId"] = state ? state.hostId : undefined;
|
|
48
|
+
inputs["instanceId"] = state ? state.instanceId : undefined;
|
|
49
|
+
inputs["passPhrase"] = state ? state.passPhrase : undefined;
|
|
50
|
+
inputs["password"] = state ? state.password : undefined;
|
|
51
|
+
inputs["privateKey"] = state ? state.privateKey : undefined;
|
|
52
|
+
inputs["protocolName"] = state ? state.protocolName : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.hostAccountName === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'hostAccountName'");
|
|
58
|
+
}
|
|
59
|
+
if ((!args || args.hostId === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'hostId'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'instanceId'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.protocolName === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'protocolName'");
|
|
67
|
+
}
|
|
68
|
+
inputs["hostAccountName"] = args ? args.hostAccountName : undefined;
|
|
69
|
+
inputs["hostId"] = args ? args.hostId : undefined;
|
|
70
|
+
inputs["instanceId"] = args ? args.instanceId : undefined;
|
|
71
|
+
inputs["passPhrase"] = args ? args.passPhrase : undefined;
|
|
72
|
+
inputs["password"] = args ? args.password : undefined;
|
|
73
|
+
inputs["privateKey"] = args ? args.privateKey : undefined;
|
|
74
|
+
inputs["protocolName"] = args ? args.protocolName : undefined;
|
|
75
|
+
inputs["hostAccountId"] = undefined /*out*/;
|
|
76
|
+
}
|
|
77
|
+
if (!opts.version) {
|
|
78
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
79
|
+
}
|
|
80
|
+
super(HostAccount.__pulumiType, name, inputs, opts);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Get an existing HostAccount resource's state with the given name, ID, and optional extra
|
|
84
|
+
* properties used to qualify the lookup.
|
|
85
|
+
*
|
|
86
|
+
* @param name The _unique_ name of the resulting resource.
|
|
87
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
88
|
+
* @param state Any extra arguments used during the lookup.
|
|
89
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
90
|
+
*/
|
|
91
|
+
static get(name, id, state, opts) {
|
|
92
|
+
return new HostAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Returns true if the given object is an instance of HostAccount. This is designed to work even
|
|
96
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
97
|
+
*/
|
|
98
|
+
static isInstance(obj) {
|
|
99
|
+
if (obj === undefined || obj === null) {
|
|
100
|
+
return false;
|
|
101
|
+
}
|
|
102
|
+
return obj['__pulumiType'] === HostAccount.__pulumiType;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.HostAccount = HostAccount;
|
|
106
|
+
/** @internal */
|
|
107
|
+
HostAccount.__pulumiType = 'alicloud:bastionhost/hostAccount:HostAccount';
|
|
108
|
+
//# sourceMappingURL=hostAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hostAccount.js","sourceRoot":"","sources":["../../bastionhost/hostAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAqElD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,K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