Get-AzSqlServerServiceObjective
Azure SQL Database サーバーのサービス目標を取得します。
構文
Get-AzSqlServerServiceObjective
[[-ServiceObjectiveName] <String>]
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-AzSqlServerServiceObjective
[[-ServiceObjectiveName] <String>]
[-ResourceGroupName] <String>
[-ServerName] <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
説明
Get-AzSqlServerServiceObjective コマンドレットは、Azure SQL Database サーバーで使用可能なサービス目標を取得します。
例
例 1: サービス目標を取得する
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
このコマンドは、Server01 という名前のサーバーのサービス目標を取得します。
例 2: フィルター処理を使用してサービス目標を取得する
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
このコマンドは、"System" で始まる Server01 という名前のサーバーのサービス目標を取得します。
例 3: 場所のサービス目標を取得する
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
このコマンドは、指定された Azure リージョンのサービス目標を取得します。
パラメーター
-Confirm
コマンドレットの実行前に確認を求めるメッセージが表示されます。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
サービス目標を取得する場所の名前。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
リソース グループの名前を指定します。 このコマンドレットは、このリソースに割り当てられている SQL Database サーバーのサービス目標を取得します。
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServerName
SQL Database SQL Database サーバーの名前を指定します。
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ServiceObjectiveName
Azure SQL Database サーバーのサービス目標の名前を指定します。 このパラメーターに使用できる値は、Basic、S0、S1、S2、P1、P2、P3 です。
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-WhatIf
コマンドレットの実行時に発生する内容を示します。 このコマンドレットは実行されません。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
入力
出力
AzureSqlServerServiceObjectiveModel
関連リンク
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示