1. Packages
  2. Avi Provider
  3. API Docs
  4. getServerautoscalepolicy
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.getServerautoscalepolicy

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

    Copyright 2021 VMware, Inc.
    SPDX-License-Identifier: Mozilla Public License 2.0
    

    –>

    layout: “avi”

    page_title: “AVI: avi.Serverautoscalepolicy” sidebar_current: “docs-avi-datasource-serverautoscalepolicy” description: |- Get information of Avi ServerAutoScalePolicy.

    avi.Serverautoscalepolicy

    This data source is used to to get avi.Serverautoscalepolicy objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const fooServerautoscalepolicy = avi.getServerautoscalepolicy({
        name: "foo",
        uuid: "serverautoscalepolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });
    
    import pulumi
    import pulumi_avi as avi
    
    foo_serverautoscalepolicy = avi.get_serverautoscalepolicy(name="foo",
        uuid="serverautoscalepolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := avi.LookupServerautoscalepolicy(ctx, &avi.LookupServerautoscalepolicyArgs{
    			Name: pulumi.StringRef("foo"),
    			Uuid: pulumi.StringRef("serverautoscalepolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Avi = Pulumi.Avi;
    
    return await Deployment.RunAsync(() => 
    {
        var fooServerautoscalepolicy = Avi.GetServerautoscalepolicy.Invoke(new()
        {
            Name = "foo",
            Uuid = "serverautoscalepolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.AviFunctions;
    import com.pulumi.avi.inputs.GetServerautoscalepolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var fooServerautoscalepolicy = AviFunctions.getServerautoscalepolicy(GetServerautoscalepolicyArgs.builder()
                .name("foo")
                .uuid("serverautoscalepolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .build());
    
        }
    }
    
    variables:
      fooServerautoscalepolicy:
        fn::invoke:
          function: avi:getServerautoscalepolicy
          arguments:
            name: foo
            uuid: serverautoscalepolicy-f9cf6b3e-a411-436f-95e2-2982ba2b217b
    

    Using getServerautoscalepolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServerautoscalepolicy(args: GetServerautoscalepolicyArgs, opts?: InvokeOptions): Promise<GetServerautoscalepolicyResult>
    function getServerautoscalepolicyOutput(args: GetServerautoscalepolicyOutputArgs, opts?: InvokeOptions): Output<GetServerautoscalepolicyResult>
    def get_serverautoscalepolicy(id: Optional[str] = None,
                                  name: Optional[str] = None,
                                  tenant_ref: Optional[str] = None,
                                  uuid: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetServerautoscalepolicyResult
    def get_serverautoscalepolicy_output(id: Optional[pulumi.Input[str]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  tenant_ref: Optional[pulumi.Input[str]] = None,
                                  uuid: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetServerautoscalepolicyResult]
    func LookupServerautoscalepolicy(ctx *Context, args *LookupServerautoscalepolicyArgs, opts ...InvokeOption) (*LookupServerautoscalepolicyResult, error)
    func LookupServerautoscalepolicyOutput(ctx *Context, args *LookupServerautoscalepolicyOutputArgs, opts ...InvokeOption) LookupServerautoscalepolicyResultOutput

    > Note: This function is named LookupServerautoscalepolicy in the Go SDK.

    public static class GetServerautoscalepolicy 
    {
        public static Task<GetServerautoscalepolicyResult> InvokeAsync(GetServerautoscalepolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetServerautoscalepolicyResult> Invoke(GetServerautoscalepolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServerautoscalepolicyResult> getServerautoscalepolicy(GetServerautoscalepolicyArgs args, InvokeOptions options)
    public static Output<GetServerautoscalepolicyResult> getServerautoscalepolicy(GetServerautoscalepolicyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getServerautoscalepolicy:getServerautoscalepolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Search ServerAutoScalePolicy by name.
    TenantRef string
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Search ServerAutoScalePolicy by uuid.
    Id string
    Name string
    Search ServerAutoScalePolicy by name.
    TenantRef string
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Search ServerAutoScalePolicy by uuid.
    id String
    name String
    Search ServerAutoScalePolicy by name.
    tenantRef String
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Search ServerAutoScalePolicy by uuid.
    id string
    name string
    Search ServerAutoScalePolicy by name.
    tenantRef string
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Search ServerAutoScalePolicy by uuid.
    id str
    name str
    Search ServerAutoScalePolicy by name.
    tenant_ref str
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Search ServerAutoScalePolicy by uuid.
    id String
    name String
    Search ServerAutoScalePolicy by name.
    tenantRef String
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Search ServerAutoScalePolicy by uuid.

    getServerautoscalepolicy Result

    The following output properties are available:

    ConfigpbAttributes List<GetServerautoscalepolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DelayForServerGarbageCollection string
    Delay in minutes after which a down server will be removed from pool. Value 0 disables this functionality. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    Description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    IntelligentAutoscale string
    Use avi intelligent autoscale algorithm where autoscale is performed by comparing load on the pool against estimated capacity of all the servers. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    IntelligentScaleinMargin string
    Maximum extra capacity as percentage of load used by the intelligent scheme. Scale-in is triggered when available capacity is more than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    IntelligentScaleoutMargin string
    Minimum extra capacity as percentage of load used by the intelligent scheme. Scale-out is triggered when available capacity is less than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers List<GetServerautoscalepolicyMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MaxScaleinAdjustmentStep string
    Maximum number of servers to scale-in simultaneously. The actual number of servers to scale-in is chosen such that target number of servers is always more than or equal to the min_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MaxScaleoutAdjustmentStep string
    Maximum number of servers to scale-out simultaneously. The actual number of servers to scale-out is chosen such that target number of servers is always less than or equal to the max_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MaxSize string
    Maximum number of servers after scale-out. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MinSize string
    No scale-in happens once number of operationally up servers reach min_servers. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleinAlertconfigRefs List<string>
    Trigger scale-in when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleinCooldown string
    Cooldown period during which no new scale-in is triggered to allow previous scale-in to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleoutAlertconfigRefs List<string>
    Trigger scale-out when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleoutCooldown string
    Cooldown period during which no new scale-out is triggered to allow previous scale-out to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScheduledScalings List<GetServerautoscalepolicyScheduledScaling>
    Scheduled-based scale-in/out policy. During scheduled intervals, metrics based autoscale is not enabled and number of servers will be solely derived from schedulescale policy. Field introduced in 21.1.1. Maximum of 1 items allowed. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    UsePredictedLoad string
    Use predicted load rather than current load. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []GetServerautoscalepolicyConfigpbAttribute
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    DelayForServerGarbageCollection string
    Delay in minutes after which a down server will be removed from pool. Value 0 disables this functionality. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    Description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Id string
    IntelligentAutoscale string
    Use avi intelligent autoscale algorithm where autoscale is performed by comparing load on the pool against estimated capacity of all the servers. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    IntelligentScaleinMargin string
    Maximum extra capacity as percentage of load used by the intelligent scheme. Scale-in is triggered when available capacity is more than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    IntelligentScaleoutMargin string
    Minimum extra capacity as percentage of load used by the intelligent scheme. Scale-out is triggered when available capacity is less than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Markers []GetServerautoscalepolicyMarker
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MaxScaleinAdjustmentStep string
    Maximum number of servers to scale-in simultaneously. The actual number of servers to scale-in is chosen such that target number of servers is always more than or equal to the min_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MaxScaleoutAdjustmentStep string
    Maximum number of servers to scale-out simultaneously. The actual number of servers to scale-out is chosen such that target number of servers is always less than or equal to the max_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MaxSize string
    Maximum number of servers after scale-out. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    MinSize string
    No scale-in happens once number of operationally up servers reach min_servers. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Name string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleinAlertconfigRefs []string
    Trigger scale-in when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleinCooldown string
    Cooldown period during which no new scale-in is triggered to allow previous scale-in to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleoutAlertconfigRefs []string
    Trigger scale-out when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScaleoutCooldown string
    Cooldown period during which no new scale-out is triggered to allow previous scale-out to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ScheduledScalings []GetServerautoscalepolicyScheduledScaling
    Scheduled-based scale-in/out policy. During scheduled intervals, metrics based autoscale is not enabled and number of servers will be solely derived from schedulescale policy. Field introduced in 21.1.1. Maximum of 1 items allowed. Allowed with any value in enterprise, enterprise with cloud services edition.
    TenantRef string
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    UsePredictedLoad string
    Use predicted load rather than current load. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<GetServerautoscalepolicyConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    delayForServerGarbageCollection String
    Delay in minutes after which a down server will be removed from pool. Value 0 disables this functionality. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    description String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    intelligentAutoscale String
    Use avi intelligent autoscale algorithm where autoscale is performed by comparing load on the pool against estimated capacity of all the servers. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligentScaleinMargin String
    Maximum extra capacity as percentage of load used by the intelligent scheme. Scale-in is triggered when available capacity is more than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligentScaleoutMargin String
    Minimum extra capacity as percentage of load used by the intelligent scheme. Scale-out is triggered when available capacity is less than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<GetServerautoscalepolicyMarker>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxScaleinAdjustmentStep String
    Maximum number of servers to scale-in simultaneously. The actual number of servers to scale-in is chosen such that target number of servers is always more than or equal to the min_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxScaleoutAdjustmentStep String
    Maximum number of servers to scale-out simultaneously. The actual number of servers to scale-out is chosen such that target number of servers is always less than or equal to the max_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxSize String
    Maximum number of servers after scale-out. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    minSize String
    No scale-in happens once number of operationally up servers reach min_servers. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleinAlertconfigRefs List<String>
    Trigger scale-in when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleinCooldown String
    Cooldown period during which no new scale-in is triggered to allow previous scale-in to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleoutAlertconfigRefs List<String>
    Trigger scale-out when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleoutCooldown String
    Cooldown period during which no new scale-out is triggered to allow previous scale-out to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scheduledScalings List<GetServerautoscalepolicyScheduledScaling>
    Scheduled-based scale-in/out policy. During scheduled intervals, metrics based autoscale is not enabled and number of servers will be solely derived from schedulescale policy. Field introduced in 21.1.1. Maximum of 1 items allowed. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    usePredictedLoad String
    Use predicted load rather than current load. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes GetServerautoscalepolicyConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    delayForServerGarbageCollection string
    Delay in minutes after which a down server will be removed from pool. Value 0 disables this functionality. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    description string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id string
    intelligentAutoscale string
    Use avi intelligent autoscale algorithm where autoscale is performed by comparing load on the pool against estimated capacity of all the servers. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligentScaleinMargin string
    Maximum extra capacity as percentage of load used by the intelligent scheme. Scale-in is triggered when available capacity is more than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligentScaleoutMargin string
    Minimum extra capacity as percentage of load used by the intelligent scheme. Scale-out is triggered when available capacity is less than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers GetServerautoscalepolicyMarker[]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxScaleinAdjustmentStep string
    Maximum number of servers to scale-in simultaneously. The actual number of servers to scale-in is chosen such that target number of servers is always more than or equal to the min_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxScaleoutAdjustmentStep string
    Maximum number of servers to scale-out simultaneously. The actual number of servers to scale-out is chosen such that target number of servers is always less than or equal to the max_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxSize string
    Maximum number of servers after scale-out. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    minSize string
    No scale-in happens once number of operationally up servers reach min_servers. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleinAlertconfigRefs string[]
    Trigger scale-in when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleinCooldown string
    Cooldown period during which no new scale-in is triggered to allow previous scale-in to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleoutAlertconfigRefs string[]
    Trigger scale-out when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleoutCooldown string
    Cooldown period during which no new scale-out is triggered to allow previous scale-out to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scheduledScalings GetServerautoscalepolicyScheduledScaling[]
    Scheduled-based scale-in/out policy. During scheduled intervals, metrics based autoscale is not enabled and number of servers will be solely derived from schedulescale policy. Field introduced in 21.1.1. Maximum of 1 items allowed. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef string
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    usePredictedLoad string
    Use predicted load rather than current load. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[GetServerautoscalepolicyConfigpbAttribute]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    delay_for_server_garbage_collection str
    Delay in minutes after which a down server will be removed from pool. Value 0 disables this functionality. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    description str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id str
    intelligent_autoscale str
    Use avi intelligent autoscale algorithm where autoscale is performed by comparing load on the pool against estimated capacity of all the servers. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligent_scalein_margin str
    Maximum extra capacity as percentage of load used by the intelligent scheme. Scale-in is triggered when available capacity is more than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligent_scaleout_margin str
    Minimum extra capacity as percentage of load used by the intelligent scheme. Scale-out is triggered when available capacity is less than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers Sequence[GetServerautoscalepolicyMarker]
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    max_scalein_adjustment_step str
    Maximum number of servers to scale-in simultaneously. The actual number of servers to scale-in is chosen such that target number of servers is always more than or equal to the min_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    max_scaleout_adjustment_step str
    Maximum number of servers to scale-out simultaneously. The actual number of servers to scale-out is chosen such that target number of servers is always less than or equal to the max_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    max_size str
    Maximum number of servers after scale-out. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    min_size str
    No scale-in happens once number of operationally up servers reach min_servers. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scalein_alertconfig_refs Sequence[str]
    Trigger scale-in when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scalein_cooldown str
    Cooldown period during which no new scale-in is triggered to allow previous scale-in to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleout_alertconfig_refs Sequence[str]
    Trigger scale-out when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleout_cooldown str
    Cooldown period during which no new scale-out is triggered to allow previous scale-out to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scheduled_scalings Sequence[GetServerautoscalepolicyScheduledScaling]
    Scheduled-based scale-in/out policy. During scheduled intervals, metrics based autoscale is not enabled and number of servers will be solely derived from schedulescale policy. Field introduced in 21.1.1. Maximum of 1 items allowed. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenant_ref str
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    use_predicted_load str
    Use predicted load rather than current load. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid str
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<Property Map>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    delayForServerGarbageCollection String
    Delay in minutes after which a down server will be removed from pool. Value 0 disables this functionality. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
    description String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    id String
    intelligentAutoscale String
    Use avi intelligent autoscale algorithm where autoscale is performed by comparing load on the pool against estimated capacity of all the servers. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligentScaleinMargin String
    Maximum extra capacity as percentage of load used by the intelligent scheme. Scale-in is triggered when available capacity is more than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    intelligentScaleoutMargin String
    Minimum extra capacity as percentage of load used by the intelligent scheme. Scale-out is triggered when available capacity is less than this margin. Allowed values are 1-99. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    markers List<Property Map>
    List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxScaleinAdjustmentStep String
    Maximum number of servers to scale-in simultaneously. The actual number of servers to scale-in is chosen such that target number of servers is always more than or equal to the min_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxScaleoutAdjustmentStep String
    Maximum number of servers to scale-out simultaneously. The actual number of servers to scale-out is chosen such that target number of servers is always less than or equal to the max_size. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    maxSize String
    Maximum number of servers after scale-out. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    minSize String
    No scale-in happens once number of operationally up servers reach min_servers. Allowed values are 0-400. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    name String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleinAlertconfigRefs List<String>
    Trigger scale-in when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleinCooldown String
    Cooldown period during which no new scale-in is triggered to allow previous scale-in to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleoutAlertconfigRefs List<String>
    Trigger scale-out when alerts due to any of these alert configurations are raised. It is a reference to an object of type alertconfig. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scaleoutCooldown String
    Cooldown period during which no new scale-out is triggered to allow previous scale-out to successfully complete. Unit is sec. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    scheduledScalings List<Property Map>
    Scheduled-based scale-in/out policy. During scheduled intervals, metrics based autoscale is not enabled and number of servers will be solely derived from schedulescale policy. Field introduced in 21.1.1. Maximum of 1 items allowed. Allowed with any value in enterprise, enterprise with cloud services edition.
    tenantRef String
    It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    usePredictedLoad String
    Use predicted load rather than current load. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    GetServerautoscalepolicyConfigpbAttribute

    Version string
    Version string
    version String
    version string
    version String

    GetServerautoscalepolicyMarker

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    GetServerautoscalepolicyScheduledScaling

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware