New-AzWorkloadsSapLandscapeMonitorMetricThresholdsObject
Create an in-memory object for SapLandscapeMonitorMetricThresholds.
Syntax
Default (Default)
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.
Parameter properties
| Type: | Single |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
Gets or sets the name of the threshold.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Red
Gets or sets the threshold value for Red.
Parameter properties
| Type: | Single |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Yellow
Gets or sets the threshold value for Yellow.
Parameter properties
| Type: | Single |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.