Class DedicatedHostState


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

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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> allocationStatus()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoRenew()  
      static DedicatedHostState.Builder builder()  
      static DedicatedHostState.Builder builder​(DedicatedHostState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> dedicatedHostGroupId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> dedicatedHostId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> hostClass()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> hostName()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageCategory()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> osPassword()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> paymentType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> period()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> usedTime()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> vswitchId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> zoneId()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • allocationStatus

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> allocationStatus()
        Returns:
        Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.
      • autoRenew

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoRenew()
        Returns:
        Specifies whether to enable the auto-renewal feature.
      • dedicatedHostGroupId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dedicatedHostGroupId()
        Returns:
        The ID of the dedicated cluster.
      • dedicatedHostId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dedicatedHostId()
        Returns:
        The ID of the host.
      • hostClass

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> hostClass()
        Returns:
        The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).
      • hostName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> hostName()
        Returns:
        The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
      • imageCategory

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageCategory()
        Returns:
        Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.
      • osPassword

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> osPassword()
        Returns:
        Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.
      • paymentType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> paymentType()
        Returns:
        The payment type of the resource. Valid values: `Subscription`.
      • period

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> period()
        Returns:
        The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked.
      • 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.
      • usedTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> usedTime()
        Returns:
        The subscription duration of the host. Valid values: * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.
      • vswitchId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> vswitchId()
        Returns:
        The ID of the vSwitch to which the host is connected.
      • zoneId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> zoneId()
        Returns:
        The ID of the zone.