InstanceArgs

data class InstanceArgs(val adAuthServers: Output<List<InstanceAdAuthServerArgs>>? = null, val bandwidth: Output<String>? = null, val description: Output<String>? = null, val enablePublicAccess: Output<Boolean>? = null, val ldapAuthServers: Output<List<InstanceLdapAuthServerArgs>>? = null, val licenseCode: Output<String>? = null, val period: Output<Int>? = null, val planCode: Output<String>? = null, val publicWhiteLists: Output<List<String>>? = null, val renewPeriod: Output<Int>? = null, val renewalPeriodUnit: Output<String>? = null, val renewalStatus: Output<String>? = null, val resourceGroupId: Output<String>? = null, val securityGroupIds: Output<List<String>>? = null, val storage: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<InstanceArgs>

Import

Yundun_bastionhost instance can be imported using the id, e.g.

$ pulumi import alicloud:bastionhost/instance:Instance example bastionhost-exampe123456

Constructors

Link copied to clipboard
constructor(adAuthServers: Output<List<InstanceAdAuthServerArgs>>? = null, bandwidth: Output<String>? = null, description: Output<String>? = null, enablePublicAccess: Output<Boolean>? = null, ldapAuthServers: Output<List<InstanceLdapAuthServerArgs>>? = null, licenseCode: Output<String>? = null, period: Output<Int>? = null, planCode: Output<String>? = null, publicWhiteLists: Output<List<String>>? = null, renewPeriod: Output<Int>? = null, renewalPeriodUnit: Output<String>? = null, renewalStatus: Output<String>? = null, resourceGroupId: Output<String>? = null, securityGroupIds: Output<List<String>>? = null, storage: Output<String>? = null, tags: Output<Map<String, String>>? = null, vswitchId: Output<String>? = null)

Properties

Link copied to clipboard

The AD auth server of the Instance. See ad_auth_server below.

Link copied to clipboard
val bandwidth: Output<String>? = null

The bandwidth of Cloud Bastionhost instance. If China-Site Account, its valid values: 0 to 150. Unit: Mbit/s. The value must be a multiple of 5. If International-Site Account, its valid values: 0 to 200. Unit: Mbit/s. The value must be a multiple of 10.

Link copied to clipboard
val description: Output<String>? = null

Description of the instance. This name can have a string of 1 to 63 characters.

Link copied to clipboard
val enablePublicAccess: Output<Boolean>? = null

Whether to Enable the public internet access to a specified Bastionhost instance. The valid values: true, false.

Link copied to clipboard

The LDAP auth server of the Instance. See ldap_auth_server below.

Link copied to clipboard
val licenseCode: Output<String>? = null

The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.

Link copied to clipboard
val period: Output<Int>? = null

Duration for initially producing the instance. Valid values: 1~9, 12, 24, 36. At present, the provider does not support modify "period".

Link copied to clipboard
val planCode: Output<String>? = null

The plan code of Cloud Bastionhost instance. Valid values:

Link copied to clipboard
val publicWhiteLists: Output<List<String>>? = null
Link copied to clipboard
val renewalPeriodUnit: Output<String>? = null

The unit of the auto-renewal period. Valid values: NOTE: The renewal_period_unit is required under the condition that renewal_status is AutoRenewal.

Link copied to clipboard
val renewalStatus: Output<String>? = null

Automatic renewal status. Valid values: AutoRenewal, ManualRenewal, NotRenewal. From version 1.193.0, renewal_status can be modified.

Link copied to clipboard
val renewPeriod: Output<Int>? = null

Automatic renewal period. Valid values: 1 to 9, 12, 24, 36. NOTE: The renew_period is required under the condition that renewal_status is AutoRenewal. From version 1.193.0, renew_period can be modified.

Link copied to clipboard
val resourceGroupId: Output<String>? = null

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

Link copied to clipboard
val securityGroupIds: Output<List<String>>? = null

security group IDs configured to Bastionhost. NOTE: There is a potential diff error because of the order of security_group_ids values indefinite. So, from version 1.160.0, security_group_ids type has been updated as set from list, and you can use tolist to convert it to a list.

Link copied to clipboard
val storage: Output<String>? = null

The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val vswitchId: Output<String>? = null

VSwitch ID configured to Bastionhost.

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs