你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzOperationalInsightsAvailableServiceTier

此命令获取给定工作方案的所有可用服务层级。

语法

Get-AzOperationalInsightsAvailableServiceTier
   [-ResourceGroupName] <String>
   [-WorkspaceName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

说明

此命令获取给定工作方案的所有可用服务层级。

示例

示例 1

Get-AzOperationalInsightsAvailableServiceTier -ResourceGroupName ContosoResourceGroup -WorkspaceName MyWorkspace

ServiceTier              : PerGB2018
Enabled                  : True
MinimumRetention         : 30
MaximumRetention         : 730
DefaultRetention         : 30
CapacityReservationLevel :
LastSkuUpdate            :

ServiceTier              : CapacityReservation
Enabled                  : True
MinimumRetention         : 30
MaximumRetention         : 730
DefaultRetention         : 31
CapacityReservationLevel :
LastSkuUpdate            : Tue, 16 Nov 2021 13:20:32 GMT

此命令获取给定工作方案的所有可用服务层级。

参数

-DefaultProfile

用于与 Azure 通信的凭据、帐户、租户和订阅。

类型:IAzureContextContainer
别名:AzContext, AzureRmContext, AzureCredential
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

-ResourceGroupName

资源组名称。

类型:String
Position:0
默认值:None
必需:True
接受管道输入:True
接受通配符:False

-WorkspaceName

包含表的工作区的名称。

类型:String
Position:1
默认值:None
必需:True
接受管道输入:True
接受通配符:False

输入

String

输出

PSAvailableServiceTier