共用方式為


New-AzWorkloadsSapLandscapeMonitorMetricThresholdsObject

建立 SapLandscapeMonitorMetricThresholds 的記憶體內部物件。

語法

New-AzWorkloadsSapLandscapeMonitorMetricThresholdsObject
   [-Green <Single>]
   [-Name <String>]
   [-Red <Single>]
   [-Yellow <Single>]
   [<CommonParameters>]

Description

建立 SapLandscapeMonitorMetricThresholds 的記憶體內部物件。

範例

範例 1:為 SAP 橫向監視器建立新的計量閾值

New-AzWorkloadsSapLandscapeMonitorMetricThresholdsObject -Green 90 -Name X00 -Red 50 -Yellow 80

Green Name Red Yellow
----- ---- --- ------
90    X00  50  80

建立要用於建立 SAP 橫向監視器的新計量閾值物件

參數

-Green

取得或設定 Green 的臨界值。

類型:Single
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Name

取得或設定臨界值的名稱。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Red

取得或設定 Red 的臨界值。

類型:Single
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Yellow

取得或設定 Yellow 的臨界值。

類型:Single
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

SapLandscapeMonitorMetricThresholds