Class ElasticInstanceArgs


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

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

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

      • dbInstanceCategory

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dbInstanceCategory()
        Returns:
        The edition of the instance. Valid values: `Basic`, `HighAvailability`. Default value: `HighAvailability`.
      • dbInstanceDescription

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dbInstanceDescription()
        Returns:
        The description of ADB PG instance. It is a string of 2 to 256 characters.
      • encryptionKey

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> encryptionKey()
        Returns:
        The ID of the encryption key. **Note:** If the `encryption_type` parameter is set to `CloudDisk`, you must specify this parameter to the encryption key that is in the same region as the disk that is specified by the EncryptionType parameter. Otherwise, leave this parameter empty.
      • encryptionType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> encryptionType()
        Returns:
        The type of the encryption. Valid values: `CloudDisk`. **Note:** Disk encryption cannot be disabled after it is enabled.
      • engine

        public com.pulumi.core.Output<java.lang.String> engine()
        Returns:
        Database engine: `gpdb`.
      • engineVersion

        public com.pulumi.core.Output<java.lang.String> engineVersion()
        Returns:
        Database version. Valid value is `6.0`.
      • instanceNetworkType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> instanceNetworkType()
        Returns:
        The network type of ADB PG instance. Only `VPC` supported now.
      • instanceSpec

        public com.pulumi.core.Output<java.lang.String> instanceSpec()
        Returns:
        The specification of segment nodes. * When `db_instance_category` is `HighAvailability`, Valid values: `2C16G`, `4C32G`, `16C128G`. * When `db_instance_category` is `Basic`, Valid values: `2C8G`, `4C16G`, `8C32G`, `16C64G`.
      • paymentDuration

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> paymentDuration()
        Returns:
        The subscription period. Valid values: [1~12]. It is valid when payment_type is `Subscription`.\ **NOTE:** Will not take effect after modifying `payment_duration` for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
      • paymentDurationUnit

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> paymentDurationUnit()
        Returns:
        The unit of the subscription period. Valid values: `Month`, `Year`. It is valid when payment_type is `Subscription`.\ **NOTE:** Will not take effect after modifying `payment_duration_unit` for now, if you want to renew a PayAsYouGo instance, need to do in on aliyun console.
      • paymentType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> paymentType()
        Returns:
        Valid values are `PayAsYouGo`, `Subscription`. Default to `PayAsYouGo`.
      • securityIpLists

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> securityIpLists()
        Returns:
        List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
      • segNodeNum

        public com.pulumi.core.Output<java.lang.Integer> segNodeNum()
        Returns:
        The number of segment nodes. Minimum is `4`, max is `256`, step is `4`.
      • segStorageType

        public com.pulumi.core.Output<java.lang.String> segStorageType()
        Returns:
        The disk type of segment nodes. Valid values: `cloud_essd`, `cloud_efficiency`.
      • storageSize

        public com.pulumi.core.Output<java.lang.Integer> storageSize()
        Returns:
        The storage capacity of per segment node. Unit: GB. Minimum is `50`, max is `4000`, step is `50`.
      • 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:
        The virtual switch ID to launch ADB PG instances in one VPC.
      • zoneId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> zoneId()
        Returns:
        The Zone to launch the ADB PG instance. If specified, must be consistent with the zone where the vswitch is located.