New-AzWorkloadsSapLandscapeMonitorMetricThresholdsObject

Create an in-memory object for SapLandscapeMonitorMetricThresholds.

Syntax

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

Description

Create an in-memory object for SapLandscapeMonitorMetricThresholds.

Examples

Example 1: Create a new Metrics Threshold for SAP Landscape Monitor

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

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

Create a new Metrics Threshold object to be used for creating a SAP Landscape Monitor

Parameters

-Green

Gets or sets the threshold value for Green.

Type:Single
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Gets or sets the name of the threshold.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Red

Gets or sets the threshold value for Red.

Type:Single
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Yellow

Gets or sets the threshold value for Yellow.

Type:Single
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

SapLandscapeMonitorMetricThresholds