Synopsis
Activate a load balancing version.
Syntax
New-CloudletLoadBalancerActivation [-OriginID] <String> [-Network] <String> [-Version] <String> [-Async]
[-DryRun] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Activates the selected load balancing version.
The -Version
parameter is an integer or the word latest
.
You can also add the -DryRun
parameter to simulate the request without activating.
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Account Switch Keys can be found using Get-AccountSwitchKey
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Async
Include this switch for policy activations on multiple properties to reduce API response time and let the policy activation continue asynchronously in the background.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-DryRun
If true
, the operation validates the configuration, but does not activate the load balancing version.
The default setting is false
.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Network
Returns only activations for the selected network, either staging
or prod
.
Note, this has no effect for Shared policies.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: STAGING, PRODUCTION
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-OriginID
Unique identifier for the origin.
Type: String
Parameter Sets: (All)
Aliases: None
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Version
Version number.
Can be an integer or the word 'latest'.
Type: String
Parameter Sets: (All)
Aliases: None
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common Parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
Outputs
System.Object