Update-MgBetaDeviceManagementMonitoring
Update the navigation property monitoring in deviceManagement
Syntax
UpdateExpanded (Default)
Update-MgBetaDeviceManagementMonitoring
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-AlertRecords <IMicrosoftGraphDeviceManagementAlertRecord[]>]
[-AlertRules <IMicrosoftGraphDeviceManagementAlertRule[]>]
[-Id <String>]
[-Headers <IDictionary>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update
Update-MgBetaDeviceManagementMonitoring
-BodyParameter <IMicrosoftGraphDeviceManagementMonitoring>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Update the navigation property monitoring in deviceManagement
Parameters
-AdditionalProperties
Additional Parameters
Parameter properties
Type: | Hashtable |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UpdateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-AlertRecords
The collection of records of alert events. To construct, see NOTES section for ALERTRECORDS properties and create a hash table.
Parameter properties
Type: | IMicrosoftGraphDeviceManagementAlertRecord[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UpdateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-AlertRules
The collection of alert rules. To construct, see NOTES section for ALERTRULES properties and create a hash table.
Parameter properties
Type: | IMicrosoftGraphDeviceManagementAlertRule[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UpdateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-BodyParameter
monitoring To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Parameter properties
Type: | IMicrosoftGraphDeviceManagementMonitoring |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Update
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Headers
Optional headers that will be added to the request.
Parameter properties
Type: | IDictionary |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Id
The unique identifier for an entity. Read-only.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
UpdateExpanded
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | RHV |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
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.
Inputs
Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementMonitoring
System.Collections.IDictionary
Outputs
Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementMonitoring
Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
ALERTRECORDS <IMicrosoftGraphDeviceManagementAlertRecord-
[]>
: The collection of records of alert events.
[Id <String>]
: The unique identifier for an entity. Read-only.[AlertImpact <IMicrosoftGraphDeviceManagementAlertImpact>]
: alertImpact[(Any) <Object>]
: This indicates any property can be added to this object.[AggregationType <String>]
: aggregationType[AlertImpactDetails <IMicrosoftGraphKeyValuePair-
[]>]
: The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value.[Name <String>]
: Name for this key-value pair[Value <String>]
: Value for this key-value pair
[Value <Int32?>]
: The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that six Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected.
[AlertRuleId <String>]
: The corresponding ID of the alert rule.[AlertRuleTemplate <String>]
: alertRuleTemplate[DetectedDateTime <DateTime?>]
: The date and time when the alert event was detected. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.[DisplayName <String>]
: The display name of the alert record.[LastUpdatedDateTime <DateTime?>]
: The date and time when the alert record was last updated. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.[ResolvedDateTime <DateTime?>]
: The date and time when the alert event was resolved. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.[Severity <String>]
: ruleSeverityType[Status <String>]
: alertStatusType
ALERTRULES <IMicrosoftGraphDeviceManagementAlertRule-
[]>
: The collection of alert rules.
[Id <String>]
: The unique identifier for an entity. Read-only.[AlertRuleTemplate <String>]
: alertRuleTemplate[Conditions <IMicrosoftGraphDeviceManagementRuleCondition-
[]>]
: The conditions that determine when to send alerts. For example, you can configure a condition to send an alert when provisioning fails for six or more Cloud PCs.[Aggregation <String>]
: aggregationType[ConditionCategory <String>]
: conditionCategory[Operator <String>]
: operatorType[RelationshipType <String>]
: relationshipType[ThresholdValue <String>]
: The threshold value of the alert condition. The threshold value can be a number in string form or string like 'WestUS'.
[Description <String>]
: The rule description.[DisplayName <String>]
: The display name of the rule.[Enabled <Boolean?>]
: The status of the rule that indicates whether the rule is enabled or disabled. If true, the rule is enabled; otherwise, the rule is disabled.[IsSystemRule <Boolean?>]
: Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom-defined rule and can be edited. System rules are built in and only a few properties can be edited.[NotificationChannels <IMicrosoftGraphDeviceManagementNotificationChannel-
[]>]
: The notification channels of the rule selected by the user.[NotificationChannelType <String>]
: notificationChannelType[NotificationReceivers <IMicrosoftGraphDeviceManagementNotificationReceiver-
[]>]
: Information about the notification receivers, such as locale and contact information. For example, en-us for locale and serena.davis@contoso.com for contact information.[ContactInformation <String>]
: The contact information about the notification receivers, such as an email address. Currently, only email and portal notifications are supported. For portal notifications, contactInformation can be left blank. For email notifications, contactInformation consists of an email address such as serena.davis@contoso.com.[Locale <String>]
: Defines the language and format in which the notification will be sent. Supported locale values are: en-us, cs-cz, de-de, es-es, fr-fr, hu-hu, it-it, ja-jp, ko-kr, nl-nl, pl-pl, pt-br, pt-pt, ru-ru, sv-se, tr-tr, zh-cn, zh-tw.
[Severity <String>]
: ruleSeverityType[Threshold <IMicrosoftGraphDeviceManagementRuleThreshold>]
: ruleThreshold[(Any) <Object>]
: This indicates any property can be added to this object.[Aggregation <String>]
: aggregationType[Operator <String>]
: operatorType[Target <Int32?>]
: The target threshold value.
BODYPARAMETER <IMicrosoftGraphDeviceManagementMonitoring>
: monitoring
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[AlertRecords <IMicrosoftGraphDeviceManagementAlertRecord-
[]>]
: The collection of records of alert events.[Id <String>]
: The unique identifier for an entity. Read-only.[AlertImpact <IMicrosoftGraphDeviceManagementAlertImpact>]
: alertImpact[(Any) <Object>]
: This indicates any property can be added to this object.[AggregationType <String>]
: aggregationType[AlertImpactDetails <IMicrosoftGraphKeyValuePair-
[]>]
: The detail information of the impact. For example, if the Frontline Cloud PCs near concurrency limit alert is triggered, the details contain the impacted Frontline license SKU name, such as Windows 365 Frontline 2 vCPU/8GB/128GB, and the corresponding impacted value.[Name <String>]
: Name for this key-value pair[Value <String>]
: Value for this key-value pair
[Value <Int32?>]
: The number value of the impact. For the aggregation types of count and affectedCloudPcCount, the value indicates the number of affected instances. For example, 6 affectedCloudPcCount means that six Cloud PCs are affected. For the aggregation types of percentage and affectedCloudPcPercentage, the value indicates the percent of affected instances. For example, 12 affectedCloudPcPercentage means that 12% of Cloud PCs are affected.
[AlertRuleId <String>]
: The corresponding ID of the alert rule.[AlertRuleTemplate <String>]
: alertRuleTemplate[DetectedDateTime <DateTime?>]
: The date and time when the alert event was detected. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.[DisplayName <String>]
: The display name of the alert record.[LastUpdatedDateTime <DateTime?>]
: The date and time when the alert record was last updated. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.[ResolvedDateTime <DateTime?>]
: The date and time when the alert event was resolved. The Timestamp type represents date and time information using ISO 8601 format. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.[Severity <String>]
: ruleSeverityType[Status <String>]
: alertStatusType
[AlertRules <IMicrosoftGraphDeviceManagementAlertRule-
[]>]
: The collection of alert rules.[Id <String>]
: The unique identifier for an entity. Read-only.[AlertRuleTemplate <String>]
: alertRuleTemplate[Conditions <IMicrosoftGraphDeviceManagementRuleCondition-
[]>]
: The conditions that determine when to send alerts. For example, you can configure a condition to send an alert when provisioning fails for six or more Cloud PCs.[Aggregation <String>]
: aggregationType[ConditionCategory <String>]
: conditionCategory[Operator <String>]
: operatorType[RelationshipType <String>]
: relationshipType[ThresholdValue <String>]
: The threshold value of the alert condition. The threshold value can be a number in string form or string like 'WestUS'.
[Description <String>]
: The rule description.[DisplayName <String>]
: The display name of the rule.[Enabled <Boolean?>]
: The status of the rule that indicates whether the rule is enabled or disabled. If true, the rule is enabled; otherwise, the rule is disabled.[IsSystemRule <Boolean?>]
: Indicates whether the rule is a system rule. If true, the rule is a system rule; otherwise, the rule is a custom-defined rule and can be edited. System rules are built in and only a few properties can be edited.[NotificationChannels <IMicrosoftGraphDeviceManagementNotificationChannel-
[]>]
: The notification channels of the rule selected by the user.[NotificationChannelType <String>]
: notificationChannelType[NotificationReceivers <IMicrosoftGraphDeviceManagementNotificationReceiver-
[]>]
: Information about the notification receivers, such as locale and contact information. For example, en-us for locale and serena.davis@contoso.com for contact information.[ContactInformation <String>]
: The contact information about the notification receivers, such as an email address. Currently, only email and portal notifications are supported. For portal notifications, contactInformation can be left blank. For email notifications, contactInformation consists of an email address such as serena.davis@contoso.com.[Locale <String>]
: Defines the language and format in which the notification will be sent. Supported locale values are: en-us, cs-cz, de-de, es-es, fr-fr, hu-hu, it-it, ja-jp, ko-kr, nl-nl, pl-pl, pt-br, pt-pt, ru-ru, sv-se, tr-tr, zh-cn, zh-tw.
[Severity <String>]
: ruleSeverityType[Threshold <IMicrosoftGraphDeviceManagementRuleThreshold>]
: ruleThreshold[(Any) <Object>]
: This indicates any property can be added to this object.[Aggregation <String>]
: aggregationType[Operator <String>]
: operatorType[Target <Int32?>]
: The target threshold value.