Invoke ADCAddAutoscaleaction - j81blog/J81.ADCToolkit GitHub Wiki
Add Autoscale configuration Object.
Invoke-ADCAddAutoscaleaction [-Name] <String> [-Type] <String> [-Profilename] <String> [-Parameters] <String>
[[-Vmdestroygraceperiod] <Double>] [[-Quiettime] <Double>] [-Vserver] <String> [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]
Configuration for autoscale action resource.
Invoke-ADCAddAutoscaleaction -name <string> -type <string> -profilename <string> -parameters <string> -vserver <string>
An example how to add autoscaleaction configuration Object(s).
ActionScale action name.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe type of action. Possible values = SCALE_UP, SCALE_DOWN
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseAutoScale profile name.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseParameters to use in the action.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseTime in minutes a VM is kept in inactive state before destroying.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: 10
Accept pipeline input: False
Accept wildcard characters: FalseTime in seconds no other policy is evaluated or action is taken.
Type: Double
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: 300
Accept pipeline input: False
Accept wildcard characters: FalseName of the vserver on which autoscale action has to be taken.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseReturn details about the created autoscaleaction item.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
File Name : Invoke-ADCAddAutoscaleaction Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/autoscale/autoscaleaction/ Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.