Delen via


New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject

Nieuwe aangepaste waarschuwingsregel voor drempelwaarden maken voor apparaatbeveiligingsgroep (IoT-beveiliging)

Syntax

New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject
   -MinThreshold <Int32>
   -MaxThreshold <Int32>
   -Enabled <Boolean>
   -Type <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

De cmdlet New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject maakt een nieuwe lijst met aangepaste waarschuwingsregels voor drempelwaarden voor apparaatbeveiligingsgroep in de IoT-beveiligingsoplossing.

Voorbeelden

Voorbeeld 1

New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject -MinThreshold 0 -MaxThreshold 10 -Enabled $true -Type "SomeRuleType"

RuleType: "SomeRuleType"
DisplayName: "Display name for some rule type"
Description: "Description for some rule type"
IsEnabled: false
MinThreshold: 0
MaxThreshold: 10

Nieuwe aangepaste waarschuwingsregel voor drempelwaarden maken van het type SomeRuleType met de status ingeschakelde antwaarden voor minimum- en maximumdrempelwaarde

Parameters

-DefaultProfile

De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
standaardwaarde:None
Vereist:False
Accept pipeline input:False
Accept wildcard characters:False

-Enabled

Is regel ingeschakeld.

Type:Boolean
Position:Named
standaardwaarde:None
Vereist:True
Accept pipeline input:False
Accept wildcard characters:False

-MaxThreshold

Maximumdrempel.

Type:Int32
Position:Named
standaardwaarde:None
Vereist:True
Accept pipeline input:False
Accept wildcard characters:False

-MinThreshold

Minimumdrempel.

Type:Int32
Position:Named
standaardwaarde:None
Vereist:True
Accept pipeline input:False
Accept wildcard characters:False

-Type

Type regel.

Type:String
Position:Named
standaardwaarde:None
Vereist:True
Accept pipeline input:False
Accept wildcard characters:False

Invoerwaarden

None

Uitvoerwaarden

PSThresholdCustomAlertRule