Interface ComputeRegionInstanceGroupManagerVersionTargetSize

    • Method Detail

      • getFixed

        @Stability(Stable)
        @Nullable
        default Number getFixed()
        The number of instances which are managed for this version. Conflicts with percent.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#fixed ComputeRegionInstanceGroupManager#fixed}

      • getPercent

        @Stability(Stable)
        @Nullable
        default Number getPercent()
        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 versions, one of which has a target_size.percent of 60 will create 2 instances of that version. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#percent ComputeRegionInstanceGroupManager#percent}