Get-AzSqlServerServiceObjective
Gets service objectives for an Azure SQL Database server.
Get-AzSqlServerServiceObjective
[[-ServiceObjectiveName] <String>]
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-AzSqlServerServiceObjective
[[-ServiceObjectiveName] <String>]
[-ResourceGroupName] <String>
[-ServerName] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Get-AzSqlServerServiceObjective cmdlet gets the available service objectives for an Azure SQL Database server.
Get-AzSqlServerServiceObjective -ResourceGroupName "ResourceGroup01" -ServerName "Server01"
serviceObjectiveName SkuName Edition Family Capacity CapacityUnit Enabled
-------------------- ------- ------- ------ -------- ------------ -------
System System System 0 DTU False
Free Free Free 5 DTU True
Basic Basic Basic 5 DTU True
S0 Standard Standard 10 DTU True
S1 Standard Standard 20 DTU True
P1 Premium Premium 125 DTU True
P2 Premium Premium 250 DTU True
DW100c DataWarehouse DataWarehouse 900 DTU False
GP_Gen4_1 GP_Gen4 GeneralPurpose Gen4 1 VCores True
GP_Gen5_2 GP_Gen5 GeneralPurpose Gen5 2 VCores True
BC_Gen4_1 BC_Gen4 BusinessCritical Gen4 1 VCores True
BC_Gen5_4 BC_Gen5 BusinessCritical Gen5 4 VCores True
This command gets the service objectives for the server named Server01.
Get-AzSqlServerServiceObjective -ResourceGroupName "ResourceGroup01" -ServerName "Server01" -ServiceObjectiveName "P*"
ServiceObjectiveName SkuName Edition Family Capacity CapacityUnit Enabled
-------------------- ------- ------- ------ -------- ------------ -------
P1 Premium Premium 125 DTU True
P2 Premium Premium 250 DTU True
This command gets the service objectives for the server named Server01 that start with "System".
Get-AzSqlServerServiceObjective -Location "west us"
serviceObjectiveName SkuName Edition Family Capacity CapacityUnit Enabled
-------------------- ------- ------- ------ -------- ------------ -------
System System System 0 DTU False
Free Free Free 5 DTU True
Basic Basic Basic 5 DTU True
S0 Standard Standard 10 DTU True
S1 Standard Standard 20 DTU True
P1 Premium Premium 125 DTU True
P2 Premium Premium 250 DTU True
DW100c DataWarehouse DataWarehouse 900 DTU False
GP_Gen4_1 GP_Gen4 GeneralPurpose Gen4 1 VCores True
GP_Gen5_2 GP_Gen5 GeneralPurpose Gen5 2 VCores True
BC_Gen4_1 BC_Gen4 BusinessCritical Gen4 1 VCores True
BC_Gen5_4 BC_Gen5 BusinessCritical Gen5 4 VCores True
This command gets the service objectives for a specified Azure region.
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The name of the Location for which to get the service objectives.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the name of a resource group. This cmdlet gets service objectives for a SQL Database server assigned to this resource.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the name of a SQL Database SQL Database server.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Specifies the name of a service objective for an Azure SQL Database server. The acceptable values for this parameter are: Basic, S0, S1, S2, P1, P2, and P3.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | True |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Azure PowerShell feedback
Azure PowerShell is an open source project. Select a link to provide feedback: