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

avi.Serverautoscalepolicy

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-resource-serverautoscalepolicy” description: |- Creates and manages Avi ServerAutoScalePolicy.

    avi.Serverautoscalepolicy

    The ServerAutoScalePolicy resource allows the creation and management of Avi ServerAutoScalePolicy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const foo = new avi.Serverautoscalepolicy("foo", {tenantRef: "/api/tenant/?name=admin"});
    
    import pulumi
    import pulumi_avi as avi
    
    foo = avi.Serverautoscalepolicy("foo", tenant_ref="/api/tenant/?name=admin")
    
    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.NewServerautoscalepolicy(ctx, "foo", &avi.ServerautoscalepolicyArgs{
    			TenantRef: pulumi.String("/api/tenant/?name=admin"),
    		})
    		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 foo = new Avi.Serverautoscalepolicy("foo", new()
        {
            TenantRef = "/api/tenant/?name=admin",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.Serverautoscalepolicy;
    import com.pulumi.avi.ServerautoscalepolicyArgs;
    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) {
            var foo = new Serverautoscalepolicy("foo", ServerautoscalepolicyArgs.builder()
                .tenantRef("/api/tenant/?name=admin")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: avi:Serverautoscalepolicy
        properties:
          tenantRef: /api/tenant/?name=admin
    

    Create Serverautoscalepolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Serverautoscalepolicy(name: string, args?: ServerautoscalepolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Serverautoscalepolicy(resource_name: str,
                              args: Optional[ServerautoscalepolicyArgs] = None,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Serverautoscalepolicy(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              configpb_attributes: Optional[Sequence[ServerautoscalepolicyConfigpbAttributeArgs]] = None,
                              delay_for_server_garbage_collection: Optional[str] = None,
                              description: Optional[str] = None,
                              intelligent_autoscale: Optional[str] = None,
                              intelligent_scalein_margin: Optional[str] = None,
                              intelligent_scaleout_margin: Optional[str] = None,
                              markers: Optional[Sequence[ServerautoscalepolicyMarkerArgs]] = None,
                              max_scalein_adjustment_step: Optional[str] = None,
                              max_scaleout_adjustment_step: Optional[str] = None,
                              max_size: Optional[str] = None,
                              min_size: Optional[str] = None,
                              name: Optional[str] = None,
                              scalein_alertconfig_refs: Optional[Sequence[str]] = None,
                              scalein_cooldown: Optional[str] = None,
                              scaleout_alertconfig_refs: Optional[Sequence[str]] = None,
                              scaleout_cooldown: Optional[str] = None,
                              scheduled_scalings: Optional[Sequence[ServerautoscalepolicyScheduledScalingArgs]] = None,
                              serverautoscalepolicy_id: Optional[str] = None,
                              tenant_ref: Optional[str] = None,
                              use_predicted_load: Optional[str] = None,
                              uuid: Optional[str] = None)
    func NewServerautoscalepolicy(ctx *Context, name string, args *ServerautoscalepolicyArgs, opts ...ResourceOption) (*Serverautoscalepolicy, error)
    public Serverautoscalepolicy(string name, ServerautoscalepolicyArgs? args = null, CustomResourceOptions? opts = null)
    public Serverautoscalepolicy(String name, ServerautoscalepolicyArgs args)
    public Serverautoscalepolicy(String name, ServerautoscalepolicyArgs args, CustomResourceOptions options)
    
    type: avi:Serverautoscalepolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServerautoscalepolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServerautoscalepolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServerautoscalepolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerautoscalepolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerautoscalepolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serverautoscalepolicyResource = new Avi.Serverautoscalepolicy("serverautoscalepolicyResource", new()
    {
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.ServerautoscalepolicyConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        DelayForServerGarbageCollection = "string",
        Description = "string",
        IntelligentAutoscale = "string",
        IntelligentScaleinMargin = "string",
        IntelligentScaleoutMargin = "string",
        Markers = new[]
        {
            new Avi.Inputs.ServerautoscalepolicyMarkerArgs
            {
                Key = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        MaxScaleinAdjustmentStep = "string",
        MaxScaleoutAdjustmentStep = "string",
        MaxSize = "string",
        MinSize = "string",
        Name = "string",
        ScaleinAlertconfigRefs = new[]
        {
            "string",
        },
        ScaleinCooldown = "string",
        ScaleoutAlertconfigRefs = new[]
        {
            "string",
        },
        ScaleoutCooldown = "string",
        ScheduledScalings = new[]
        {
            new Avi.Inputs.ServerautoscalepolicyScheduledScalingArgs
            {
                AutoscalingDuration = "string",
                CronExpression = "string",
                DesiredCapacity = "string",
                Enable = "string",
                EndDate = "string",
                ScheduleMaxStep = "string",
                StartDate = "string",
            },
        },
        ServerautoscalepolicyId = "string",
        TenantRef = "string",
        UsePredictedLoad = "string",
        Uuid = "string",
    });
    
    example, err := avi.NewServerautoscalepolicy(ctx, "serverautoscalepolicyResource", &avi.ServerautoscalepolicyArgs{
    	ConfigpbAttributes: avi.ServerautoscalepolicyConfigpbAttributeArray{
    		&avi.ServerautoscalepolicyConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	DelayForServerGarbageCollection: pulumi.String("string"),
    	Description:                     pulumi.String("string"),
    	IntelligentAutoscale:            pulumi.String("string"),
    	IntelligentScaleinMargin:        pulumi.String("string"),
    	IntelligentScaleoutMargin:       pulumi.String("string"),
    	Markers: avi.ServerautoscalepolicyMarkerArray{
    		&avi.ServerautoscalepolicyMarkerArgs{
    			Key: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	MaxScaleinAdjustmentStep:  pulumi.String("string"),
    	MaxScaleoutAdjustmentStep: pulumi.String("string"),
    	MaxSize:                   pulumi.String("string"),
    	MinSize:                   pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	ScaleinAlertconfigRefs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScaleinCooldown: pulumi.String("string"),
    	ScaleoutAlertconfigRefs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScaleoutCooldown: pulumi.String("string"),
    	ScheduledScalings: avi.ServerautoscalepolicyScheduledScalingArray{
    		&avi.ServerautoscalepolicyScheduledScalingArgs{
    			AutoscalingDuration: pulumi.String("string"),
    			CronExpression:      pulumi.String("string"),
    			DesiredCapacity:     pulumi.String("string"),
    			Enable:              pulumi.String("string"),
    			EndDate:             pulumi.String("string"),
    			ScheduleMaxStep:     pulumi.String("string"),
    			StartDate:           pulumi.String("string"),
    		},
    	},
    	ServerautoscalepolicyId: pulumi.String("string"),
    	TenantRef:               pulumi.String("string"),
    	UsePredictedLoad:        pulumi.String("string"),
    	Uuid:                    pulumi.String("string"),
    })
    
    var serverautoscalepolicyResource = new Serverautoscalepolicy("serverautoscalepolicyResource", ServerautoscalepolicyArgs.builder()
        .configpbAttributes(ServerautoscalepolicyConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .delayForServerGarbageCollection("string")
        .description("string")
        .intelligentAutoscale("string")
        .intelligentScaleinMargin("string")
        .intelligentScaleoutMargin("string")
        .markers(ServerautoscalepolicyMarkerArgs.builder()
            .key("string")
            .values("string")
            .build())
        .maxScaleinAdjustmentStep("string")
        .maxScaleoutAdjustmentStep("string")
        .maxSize("string")
        .minSize("string")
        .name("string")
        .scaleinAlertconfigRefs("string")
        .scaleinCooldown("string")
        .scaleoutAlertconfigRefs("string")
        .scaleoutCooldown("string")
        .scheduledScalings(ServerautoscalepolicyScheduledScalingArgs.builder()
            .autoscalingDuration("string")
            .cronExpression("string")
            .desiredCapacity("string")
            .enable("string")
            .endDate("string")
            .scheduleMaxStep("string")
            .startDate("string")
            .build())
        .serverautoscalepolicyId("string")
        .tenantRef("string")
        .usePredictedLoad("string")
        .uuid("string")
        .build());
    
    serverautoscalepolicy_resource = avi.Serverautoscalepolicy("serverautoscalepolicyResource",
        configpb_attributes=[{
            "version": "string",
        }],
        delay_for_server_garbage_collection="string",
        description="string",
        intelligent_autoscale="string",
        intelligent_scalein_margin="string",
        intelligent_scaleout_margin="string",
        markers=[{
            "key": "string",
            "values": ["string"],
        }],
        max_scalein_adjustment_step="string",
        max_scaleout_adjustment_step="string",
        max_size="string",
        min_size="string",
        name="string",
        scalein_alertconfig_refs=["string"],
        scalein_cooldown="string",
        scaleout_alertconfig_refs=["string"],
        scaleout_cooldown="string",
        scheduled_scalings=[{
            "autoscaling_duration": "string",
            "cron_expression": "string",
            "desired_capacity": "string",
            "enable": "string",
            "end_date": "string",
            "schedule_max_step": "string",
            "start_date": "string",
        }],
        serverautoscalepolicy_id="string",
        tenant_ref="string",
        use_predicted_load="string",
        uuid="string")
    
    const serverautoscalepolicyResource = new avi.Serverautoscalepolicy("serverautoscalepolicyResource", {
        configpbAttributes: [{
            version: "string",
        }],
        delayForServerGarbageCollection: "string",
        description: "string",
        intelligentAutoscale: "string",
        intelligentScaleinMargin: "string",
        intelligentScaleoutMargin: "string",
        markers: [{
            key: "string",
            values: ["string"],
        }],
        maxScaleinAdjustmentStep: "string",
        maxScaleoutAdjustmentStep: "string",
        maxSize: "string",
        minSize: "string",
        name: "string",
        scaleinAlertconfigRefs: ["string"],
        scaleinCooldown: "string",
        scaleoutAlertconfigRefs: ["string"],
        scaleoutCooldown: "string",
        scheduledScalings: [{
            autoscalingDuration: "string",
            cronExpression: "string",
            desiredCapacity: "string",
            enable: "string",
            endDate: "string",
            scheduleMaxStep: "string",
            startDate: "string",
        }],
        serverautoscalepolicyId: "string",
        tenantRef: "string",
        usePredictedLoad: "string",
        uuid: "string",
    });
    
    type: avi:Serverautoscalepolicy
    properties:
        configpbAttributes:
            - version: string
        delayForServerGarbageCollection: string
        description: string
        intelligentAutoscale: string
        intelligentScaleinMargin: string
        intelligentScaleoutMargin: string
        markers:
            - key: string
              values:
                - string
        maxScaleinAdjustmentStep: string
        maxScaleoutAdjustmentStep: string
        maxSize: string
        minSize: string
        name: string
        scaleinAlertconfigRefs:
            - string
        scaleinCooldown: string
        scaleoutAlertconfigRefs:
            - string
        scaleoutCooldown: string
        scheduledScalings:
            - autoscalingDuration: string
              cronExpression: string
              desiredCapacity: string
              enable: string
              endDate: string
              scheduleMaxStep: string
              startDate: string
        serverautoscalepolicyId: string
        tenantRef: string
        usePredictedLoad: string
        uuid: string
    

    Serverautoscalepolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Serverautoscalepolicy resource accepts the following input properties:

    ConfigpbAttributes List<ServerautoscalepolicyConfigpbAttribute>
    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.
    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<ServerautoscalepolicyMarker>
    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<ServerautoscalepolicyScheduledScaling>
    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.
    ServerautoscalepolicyId string
    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 []ServerautoscalepolicyConfigpbAttributeArgs
    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.
    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 []ServerautoscalepolicyMarkerArgs
    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 []ServerautoscalepolicyScheduledScalingArgs
    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.
    ServerautoscalepolicyId string
    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<ServerautoscalepolicyConfigpbAttribute>
    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.
    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<ServerautoscalepolicyMarker>
    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<ServerautoscalepolicyScheduledScaling>
    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.
    serverautoscalepolicyId String
    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 ServerautoscalepolicyConfigpbAttribute[]
    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.
    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 ServerautoscalepolicyMarker[]
    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 ServerautoscalepolicyScheduledScaling[]
    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.
    serverautoscalepolicyId string
    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[ServerautoscalepolicyConfigpbAttributeArgs]
    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.
    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[ServerautoscalepolicyMarkerArgs]
    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[ServerautoscalepolicyScheduledScalingArgs]
    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.
    serverautoscalepolicy_id str
    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.
    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.
    serverautoscalepolicyId String
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Serverautoscalepolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Serverautoscalepolicy Resource

    Get an existing Serverautoscalepolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ServerautoscalepolicyState, opts?: CustomResourceOptions): Serverautoscalepolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configpb_attributes: Optional[Sequence[ServerautoscalepolicyConfigpbAttributeArgs]] = None,
            delay_for_server_garbage_collection: Optional[str] = None,
            description: Optional[str] = None,
            intelligent_autoscale: Optional[str] = None,
            intelligent_scalein_margin: Optional[str] = None,
            intelligent_scaleout_margin: Optional[str] = None,
            markers: Optional[Sequence[ServerautoscalepolicyMarkerArgs]] = None,
            max_scalein_adjustment_step: Optional[str] = None,
            max_scaleout_adjustment_step: Optional[str] = None,
            max_size: Optional[str] = None,
            min_size: Optional[str] = None,
            name: Optional[str] = None,
            scalein_alertconfig_refs: Optional[Sequence[str]] = None,
            scalein_cooldown: Optional[str] = None,
            scaleout_alertconfig_refs: Optional[Sequence[str]] = None,
            scaleout_cooldown: Optional[str] = None,
            scheduled_scalings: Optional[Sequence[ServerautoscalepolicyScheduledScalingArgs]] = None,
            serverautoscalepolicy_id: Optional[str] = None,
            tenant_ref: Optional[str] = None,
            use_predicted_load: Optional[str] = None,
            uuid: Optional[str] = None) -> Serverautoscalepolicy
    func GetServerautoscalepolicy(ctx *Context, name string, id IDInput, state *ServerautoscalepolicyState, opts ...ResourceOption) (*Serverautoscalepolicy, error)
    public static Serverautoscalepolicy Get(string name, Input<string> id, ServerautoscalepolicyState? state, CustomResourceOptions? opts = null)
    public static Serverautoscalepolicy get(String name, Output<String> id, ServerautoscalepolicyState state, CustomResourceOptions options)
    resources:  _:    type: avi:Serverautoscalepolicy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ConfigpbAttributes List<ServerautoscalepolicyConfigpbAttribute>
    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.
    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<ServerautoscalepolicyMarker>
    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<ServerautoscalepolicyScheduledScaling>
    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.
    ServerautoscalepolicyId string
    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 []ServerautoscalepolicyConfigpbAttributeArgs
    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.
    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 []ServerautoscalepolicyMarkerArgs
    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 []ServerautoscalepolicyScheduledScalingArgs
    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.
    ServerautoscalepolicyId string
    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<ServerautoscalepolicyConfigpbAttribute>
    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.
    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<ServerautoscalepolicyMarker>
    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<ServerautoscalepolicyScheduledScaling>
    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.
    serverautoscalepolicyId String
    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 ServerautoscalepolicyConfigpbAttribute[]
    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.
    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 ServerautoscalepolicyMarker[]
    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 ServerautoscalepolicyScheduledScaling[]
    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.
    serverautoscalepolicyId string
    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[ServerautoscalepolicyConfigpbAttributeArgs]
    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.
    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[ServerautoscalepolicyMarkerArgs]
    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[ServerautoscalepolicyScheduledScalingArgs]
    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.
    serverautoscalepolicy_id str
    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.
    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.
    serverautoscalepolicyId String
    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

    ServerautoscalepolicyConfigpbAttribute, ServerautoscalepolicyConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    ServerautoscalepolicyMarker, ServerautoscalepolicyMarkerArgs

    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>

    ServerautoscalepolicyScheduledScaling, ServerautoscalepolicyScheduledScalingArgs

    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