Class InstanceArgs


  • public final class InstanceArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  InstanceArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Detail

      • adAuthServers

        public java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceAdAuthServerArgs>>> 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 java.util.Optional<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 java.util.Optional<com.pulumi.core.Output<java.util.List<InstanceLdapAuthServerArgs>>> 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 java.util.Optional<com.pulumi.core.Output<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 java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> publicWhiteLists()
      • renewPeriod

        public java.util.Optional<com.pulumi.core.Output<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 java.util.Optional<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 java.util.Optional<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 java.util.Optional<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 java.util.Optional<com.pulumi.core.Output<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.