Package com.pulumi.alicloud.bastionhost
Class Instance
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.alicloud.bastionhost.Instance
-
public class Instance extends com.pulumi.resources.CustomResource
## Import Yundun_bastionhost instance can be imported using the id, e.g. ```sh $ pulumi import alicloud:bastionhost/instance:Instance example bastionhost-exampe123456 ```
-
-
Constructor Summary
Constructors Constructor Description Instance(java.lang.String name)
Instance(java.lang.String name, InstanceArgs args)
Instance(java.lang.String name, InstanceArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.List<InstanceAdAuthServer>>
adAuthServers()
com.pulumi.core.Output<java.lang.String>
bandwidth()
com.pulumi.core.Output<java.lang.String>
description()
com.pulumi.core.Output<java.lang.Boolean>
enablePublicAccess()
static Instance
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, InstanceState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.List<InstanceLdapAuthServer>>
ldapAuthServers()
com.pulumi.core.Output<java.lang.String>
licenseCode()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
period()
com.pulumi.core.Output<java.lang.String>
planCode()
com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>>
publicWhiteLists()
com.pulumi.core.Output<java.lang.String>
renewalPeriodUnit()
com.pulumi.core.Output<java.lang.String>
renewalStatus()
com.pulumi.core.Output<java.util.Optional<java.lang.Integer>>
renewPeriod()
com.pulumi.core.Output<java.lang.String>
resourceGroupId()
com.pulumi.core.Output<java.util.List<java.lang.String>>
securityGroupIds()
com.pulumi.core.Output<java.lang.String>
storage()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>>
tags()
com.pulumi.core.Output<java.lang.String>
vswitchId()
-
-
-
Constructor Detail
-
Instance
public Instance(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
Instance
public Instance(java.lang.String name, InstanceArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
Instance
public Instance(java.lang.String name, InstanceArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
adAuthServers
public com.pulumi.core.Output<java.util.List<InstanceAdAuthServer>> adAuthServers()
- Returns:
- The AD auth server of the Instance. See `ad_auth_server` below.
-
bandwidth
public com.pulumi.core.Output<java.lang.String> bandwidth()
- Returns:
- 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.
-
description
public com.pulumi.core.Output<java.lang.String> description()
- Returns:
- Description of the instance. This name can have a string of 1 to 63 characters.
-
enablePublicAccess
public com.pulumi.core.Output<java.lang.Boolean> enablePublicAccess()
- Returns:
- Whether to Enable the public internet access to a specified Bastionhost instance. The valid values: `true`, `false`.
-
ldapAuthServers
public com.pulumi.core.Output<java.util.List<InstanceLdapAuthServer>> ldapAuthServers()
- Returns:
- The LDAP auth server of the Instance. See `ldap_auth_server` below.
-
licenseCode
public com.pulumi.core.Output<java.lang.String> licenseCode()
- Returns:
- The package type of Cloud Bastionhost instance. You can query more supported types through the [DescribePricingModule](https://help.aliyun.com/document_detail/96469.html).
-
period
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> period()
- Returns:
- Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. At present, the provider does not support modify "period". > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
-
planCode
public com.pulumi.core.Output<java.lang.String> planCode()
- Returns:
- The plan code of Cloud Bastionhost instance. Valid values:
-
publicWhiteLists
public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> publicWhiteLists()
-
renewPeriod
public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> renewPeriod()
- Returns:
- 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.
-
renewalPeriodUnit
public com.pulumi.core.Output<java.lang.String> renewalPeriodUnit()
- Returns:
- The unit of the auto-renewal period. Valid values: **NOTE:** The `renewal_period_unit` is required under the condition that `renewal_status` is `AutoRenewal`.
-
renewalStatus
public com.pulumi.core.Output<java.lang.String> renewalStatus()
- Returns:
- Automatic renewal status. Valid values: `AutoRenewal`, `ManualRenewal`, `NotRenewal`. From version 1.193.0, `renewal_status` can be modified.
-
resourceGroupId
public com.pulumi.core.Output<java.lang.String> resourceGroupId()
- Returns:
- The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
-
securityGroupIds
public com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds()
- Returns:
- 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.
-
storage
public com.pulumi.core.Output<java.lang.String> storage()
- Returns:
- The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>> tags()
- Returns:
- A mapping of tags to assign to the resource.
-
vswitchId
public com.pulumi.core.Output<java.lang.String> vswitchId()
- Returns:
- VSwitch ID configured to Bastionhost.
-
get
public static Instance get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable InstanceState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-