avi.Serverautoscalepolicy
Explore with Pulumi AI
<!–
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:
- Configpb
Attributes List<ServerautoscalepolicyConfigpb Attribute> - 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 stringServer Garbage Collection - 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.
- Intelligent
Autoscale 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.
- Intelligent
Scalein stringMargin - 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 stringMargin - 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<Serverautoscalepolicy
Marker> - 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 stringAdjustment Step - 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 stringAdjustment Step - 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 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.
- Min
Size 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.
- Scalein
Alertconfig List<string>Refs - 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 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.
- Scaleout
Alertconfig List<string>Refs - 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 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.
- Scheduled
Scalings List<ServerautoscalepolicyScheduled Scaling> - 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 string - Tenant
Ref string - 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 stringLoad - 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 []ServerautoscalepolicyConfigpb Attribute Args - 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 stringServer Garbage Collection - 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.
- Intelligent
Autoscale 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.
- Intelligent
Scalein stringMargin - 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 stringMargin - 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
[]Serverautoscalepolicy
Marker Args - 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 stringAdjustment Step - 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 stringAdjustment Step - 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 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.
- Min
Size 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.
- Scalein
Alertconfig []stringRefs - 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 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.
- Scaleout
Alertconfig []stringRefs - 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 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.
- Scheduled
Scalings []ServerautoscalepolicyScheduled Scaling Args - 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 string - Tenant
Ref string - 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 stringLoad - 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 List<ServerautoscalepolicyConfigpb Attribute> - 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 StringServer Garbage Collection - 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.
- intelligent
Autoscale 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.
- intelligent
Scalein StringMargin - 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 StringMargin - 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<Serverautoscalepolicy
Marker> - 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 StringAdjustment Step - 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 StringAdjustment Step - 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 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.
- min
Size 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.
- scalein
Alertconfig List<String>Refs - 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 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.
- scaleout
Alertconfig List<String>Refs - 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 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.
- scheduled
Scalings List<ServerautoscalepolicyScheduled Scaling> - 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 String - tenant
Ref String - 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 StringLoad - 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 ServerautoscalepolicyConfigpb Attribute[] - 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 stringServer Garbage Collection - 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.
- intelligent
Autoscale 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.
- intelligent
Scalein stringMargin - 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 stringMargin - 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
Serverautoscalepolicy
Marker[] - 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 stringAdjustment Step - 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 stringAdjustment Step - 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 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.
- min
Size 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.
- scalein
Alertconfig string[]Refs - 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 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.
- scaleout
Alertconfig string[]Refs - 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 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.
- scheduled
Scalings ServerautoscalepolicyScheduled Scaling[] - 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 string - tenant
Ref string - 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 stringLoad - 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[ServerautoscalepolicyConfigpb Attribute Args] - 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_ strserver_ garbage_ collection - 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_ strmargin - 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_ strmargin - 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[Serverautoscalepolicy
Marker Args] - 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_ stradjustment_ step - 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_ stradjustment_ step - 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_ Sequence[str]refs - 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_ Sequence[str]refs - 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[ServerautoscalepolicyScheduled Scaling Args] - 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_ strload - 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.
- configpb
Attributes 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.
- delay
For StringServer Garbage Collection - 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.
- intelligent
Autoscale 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.
- intelligent
Scalein StringMargin - 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 StringMargin - 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.
- max
Scalein StringAdjustment Step - 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 StringAdjustment Step - 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 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.
- min
Size 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.
- scalein
Alertconfig List<String>Refs - 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 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.
- scaleout
Alertconfig List<String>Refs - 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 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.
- scheduled
Scalings 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.
- serverautoscalepolicy
Id String - tenant
Ref String - 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 StringLoad - 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.
- Configpb
Attributes List<ServerautoscalepolicyConfigpb Attribute> - 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 stringServer Garbage Collection - 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.
- Intelligent
Autoscale 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.
- Intelligent
Scalein stringMargin - 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 stringMargin - 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<Serverautoscalepolicy
Marker> - 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 stringAdjustment Step - 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 stringAdjustment Step - 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 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.
- Min
Size 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.
- Scalein
Alertconfig List<string>Refs - 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 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.
- Scaleout
Alertconfig List<string>Refs - 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 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.
- Scheduled
Scalings List<ServerautoscalepolicyScheduled Scaling> - 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 string - Tenant
Ref string - 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 stringLoad - 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 []ServerautoscalepolicyConfigpb Attribute Args - 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 stringServer Garbage Collection - 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.
- Intelligent
Autoscale 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.
- Intelligent
Scalein stringMargin - 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 stringMargin - 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
[]Serverautoscalepolicy
Marker Args - 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 stringAdjustment Step - 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 stringAdjustment Step - 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 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.
- Min
Size 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.
- Scalein
Alertconfig []stringRefs - 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 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.
- Scaleout
Alertconfig []stringRefs - 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 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.
- Scheduled
Scalings []ServerautoscalepolicyScheduled Scaling Args - 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 string - Tenant
Ref string - 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 stringLoad - 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 List<ServerautoscalepolicyConfigpb Attribute> - 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 StringServer Garbage Collection - 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.
- intelligent
Autoscale 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.
- intelligent
Scalein StringMargin - 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 StringMargin - 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<Serverautoscalepolicy
Marker> - 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 StringAdjustment Step - 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 StringAdjustment Step - 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 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.
- min
Size 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.
- scalein
Alertconfig List<String>Refs - 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 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.
- scaleout
Alertconfig List<String>Refs - 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 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.
- scheduled
Scalings List<ServerautoscalepolicyScheduled Scaling> - 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 String - tenant
Ref String - 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 StringLoad - 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 ServerautoscalepolicyConfigpb Attribute[] - 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 stringServer Garbage Collection - 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.
- intelligent
Autoscale 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.
- intelligent
Scalein stringMargin - 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 stringMargin - 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
Serverautoscalepolicy
Marker[] - 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 stringAdjustment Step - 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 stringAdjustment Step - 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 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.
- min
Size 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.
- scalein
Alertconfig string[]Refs - 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 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.
- scaleout
Alertconfig string[]Refs - 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 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.
- scheduled
Scalings ServerautoscalepolicyScheduled Scaling[] - 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 string - tenant
Ref string - 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 stringLoad - 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[ServerautoscalepolicyConfigpb Attribute Args] - 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_ strserver_ garbage_ collection - 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_ strmargin - 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_ strmargin - 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[Serverautoscalepolicy
Marker Args] - 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_ stradjustment_ step - 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_ stradjustment_ step - 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_ Sequence[str]refs - 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_ Sequence[str]refs - 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[ServerautoscalepolicyScheduled Scaling Args] - 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_ strload - 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.
- configpb
Attributes 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.
- delay
For StringServer Garbage Collection - 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.
- intelligent
Autoscale 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.
- intelligent
Scalein StringMargin - 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 StringMargin - 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.
- max
Scalein StringAdjustment Step - 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 StringAdjustment Step - 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 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.
- min
Size 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.
- scalein
Alertconfig List<String>Refs - 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 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.
- scaleout
Alertconfig List<String>Refs - 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 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.
- scheduled
Scalings 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.
- serverautoscalepolicy
Id String - tenant
Ref String - 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 StringLoad - 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 str
- version String
ServerautoscalepolicyMarker, ServerautoscalepolicyMarkerArgs
ServerautoscalepolicyScheduledScaling, ServerautoscalepolicyScheduledScalingArgs
- Autoscaling
Duration string - Cron
Expression string - Desired
Capacity string - Enable string
- End
Date string - Schedule
Max stringStep - Start
Date string
- Autoscaling
Duration string - Cron
Expression string - Desired
Capacity string - Enable string
- End
Date string - Schedule
Max stringStep - Start
Date string
- autoscaling
Duration String - cron
Expression String - desired
Capacity String - enable String
- end
Date String - schedule
Max StringStep - start
Date String
- autoscaling
Duration string - cron
Expression string - desired
Capacity string - enable string
- end
Date string - schedule
Max stringStep - start
Date string
- autoscaling_
duration str - cron_
expression str - desired_
capacity str - enable str
- end_
date str - schedule_
max_ strstep - start_
date str
- autoscaling
Duration String - cron
Expression String - desired
Capacity String - enable String
- end
Date String - schedule
Max StringStep - start
Date String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.