你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Update-AzWorkloadsSapLandscapeMonitor
Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor name.
Syntax
Update-AzWorkloadsSapLandscapeMonitor
-MonitorName <String>
-ResourceGroupName <String>
[-SubscriptionId <String>]
[-GroupingLandscape <ISapLandscapeMonitorSidMapping[]>]
[-GroupingSapApplication <ISapLandscapeMonitorSidMapping[]>]
[-TopMetricsThreshold <ISapLandscapeMonitorMetricThresholds[]>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzWorkloadsSapLandscapeMonitor
-InputObject <IMonitorsIdentity>
[-GroupingLandscape <ISapLandscapeMonitorSidMapping[]>]
[-GroupingSapApplication <ISapLandscapeMonitorSidMapping[]>]
[-TopMetricsThreshold <ISapLandscapeMonitorMetricThresholds[]>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor name.
Examples
Example 1: Update SAP Landscape Monitor
New-AzWorkloadsSapLandscapeMonitor -MonitorName suha-0202-ams9 -ResourceGroupName suha-0802-rg1 -SubscriptionId 49d64d54-e966-4c46-a868-1999802b762c -GroupingLandscape '{"name":"Prod","topSid":["SID1","SID2"]}' -GroupingSapApplication '{"name":"ERP1","topSid":["SID1","SID2"]}' -TopMetricsThreshold '{"name":"Instance Availability","green":90,"yellow":75,"red":50}'
GroupingLandscape : {{
"name": "Prod",
"topSid": [ "SID1", "SID2" ]
}}
GroupingSapApplication : {{
"name": "ERP1",
"topSid": [ "SID1", "SID2" ]
}}
Id : /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/suha-0802-rg1/providers/Microsoft.
Workloads/monitors/suha-0202-ams9/sapLandscapeMonitor/default
Name : default
ProvisioningState : Succeeded
ResourceGroupName : suha-0802-rg1
SystemData : {
"createdBy": "",
"createdByType": "User",
"createdAt": "2023-04-06T05:30:54.9427030Z",
"lastModifiedBy": "",
"lastModifiedByType": "User",
"lastModifiedAt": "2023-04-06T05:31:18.7873209Z"
}
SystemDataCreatedAt : 06-04-2023 05:30:54
SystemDataCreatedBy :
SystemDataCreatedByType : User
SystemDataLastModifiedAt : 06-04-2023 05:31:18
SystemDataLastModifiedBy :
SystemDataLastModifiedByType : User
TopMetricsThreshold : {{
"name": "Instance Availability",
"green": 90,
"yellow": 75,
"red": 50
}}
Type : microsoft.workloads/monitors/saplandscapemonitor
Update the SAP landscape monitor for an AMS instance
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GroupingLandscape
Gets or sets the list of landscape to SID mappings. To construct, see NOTES section for GROUPINGLANDSCAPE properties and create a hash table.
Type: | ISapLandscapeMonitorSidMapping[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GroupingSapApplication
Gets or sets the list of Sap Applications to SID mappings. To construct, see NOTES section for GROUPINGSAPAPPLICATION properties and create a hash table.
Type: | ISapLandscapeMonitorSidMapping[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IMonitorsIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-MonitorName
Name of the SAP monitor resource.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TopMetricsThreshold
Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard To construct, see NOTES section for TOPMETRICSTHRESHOLD properties and create a hash table.
Type: | ISapLandscapeMonitorMetricThresholds[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |