Update-MgBetaDeviceManagementMonitoring

Update the navigation property monitoring in deviceManagement

Syntax

Update-MgBetaDeviceManagementMonitoring
      [-ResponseHeadersVariable <String>]
      [-AdditionalProperties <Hashtable>]
      [-AlertRecords <IMicrosoftGraphDeviceManagementAlertRecord[]>]
      [-AlertRules <IMicrosoftGraphDeviceManagementAlertRule[]>]
      [-Id <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-MgBetaDeviceManagementMonitoring
      -BodyParameter <IMicrosoftGraphDeviceManagementMonitoring>
      [-ResponseHeadersVariable <String>]
      [-Headers <IDictionary>]
      [-ProgressAction <ActionPreference>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update the navigation property monitoring in deviceManagement

Parameters

-AdditionalProperties

Additional Parameters

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

-AlertRecords

The collection of records of alert events. To construct, see NOTES section for ALERTRECORDS properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementAlertRecord[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AlertRules

The collection of alert rules. To construct, see NOTES section for ALERTRULES properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementAlertRule[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

monitoring To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

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

-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

-Headers

Optional headers that will be added to the request.

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

-Id

The unique identifier for an entity. Read-only.

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

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
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

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 [email protected] 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 [email protected].
      • [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 [email protected] 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 [email protected].
        • [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.

https://learn.microsoft.com/powershell/module/microsoft.graph.beta.devicemanagement/update-mgbetadevicemanagementmonitoring