Class InstanceGroupManagerVersionTargetSizeArgs.Builder

    • Method Detail

      • fixed

        public InstanceGroupManagerVersionTargetSizeArgs.Builder fixed​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> fixed)
        Parameters:
        fixed - , The number of instances which are managed for this version. Conflicts with `percent`.
        Returns:
        builder
      • percent

        public InstanceGroupManagerVersionTargetSizeArgs.Builder percent​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.Integer> percent)
        Parameters:
        percent - , The number of instances (calculated as percentage) which are managed for this version. Conflicts with `fixed`. Note that when using `percent`, rounding will be in favor of explicitly set `target_size` values; a managed instance group with 2 instances and 2 `version`s, one of which has a `target_size.percent` of `60` will create 2 instances of that `version`.
        Returns:
        builder
      • percent

        public InstanceGroupManagerVersionTargetSizeArgs.Builder percent​(java.lang.Integer percent)
        Parameters:
        percent - , The number of instances (calculated as percentage) which are managed for this version. Conflicts with `fixed`. Note that when using `percent`, rounding will be in favor of explicitly set `target_size` values; a managed instance group with 2 instances and 2 `version`s, one of which has a `target_size.percent` of `60` will create 2 instances of that `version`.
        Returns:
        builder