Share via


New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject

Új küszöbérték egyéni riasztási szabály létrehozása eszközbiztonsági csoporthoz (IoT Security)

Syntax

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

Description

A New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject parancsmag létrehoz egy új listát az eszközbiztonsági csoport egyéni riasztási szabályairól az IoT biztonsági megoldásban.

Példák

1. példa

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

Hozzon létre egy új küszöbérték-egyéni riasztási szabályt a "SomeRuleType" típusból az állapot által engedélyezett ant értékekkel a minimális és a maximális küszöbértékhez

Paraméterek

-DefaultProfile

Az Azure-ral való kommunikációhoz használt hitelesítő adatok, fiók, bérlő és előfizetés.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Enabled

Engedélyezve van a szabály.

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

-MaxThreshold

Maximális küszöbérték.

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

-MinThreshold

Minimális küszöbérték.

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

-Type

Szabály típusa.

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

Bevitelek

None

Kimenetek

PSThresholdCustomAlertRule