Edit

Get-AzElasticVersion

Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment.

Syntax

Default (Default)

Get-AzElasticVersion
    [-SubscriptionId <String[]>]
    -Region <String>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Retrieve a list of all available Elastic versions for a specified region, helping you choose the best version for your deployment.

Examples

Example 1: Get a list of available versions for a region.

Get-AzElasticVersion -Region westus2
version
---------
8.15.2 (Latest)
8.14.3
7.17.24

This command gets a list of available versions for a region.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Region

Region where elastic deployment will take place.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IElasticVersionListFormat