Delen via


New-AzDeviceSecurityGroupAllowlistCustomAlertRuleObject

Aangepaste waarschuwingsregel voor aangepaste acceptatielijst maken voor apparaatbeveiligingsgroep (IoT-beveiliging)

Syntaxis

New-AzDeviceSecurityGroupAllowlistCustomAlertRuleObject
   -Enabled <Boolean>
   -Type <String>
   -AllowlistValue <String[]>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

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

Voorbeelden

Voorbeeld 1

New-AzDeviceSecurityGroupAllowlistCustomAlertRuleObject -Enabled $false -Type "LocalUserNotAllowed" -AllowlistValue @()

RuleType: "LocalUserNotAllowed"
DisplayName: "Login by a local user that isn't allowed"
Description: "Get an alert when a local user that isn't allowed logins to the device"
IsEnabled: false
ValueType: "String"
AllowlistValues: []

Maak een nieuwe aangepaste waarschuwingslijst van het type LocalUserNotAllowed met de status ingesteld om uit te schakelen

Parameters

-AllowlistValue

Lijstwaarden toestaan.

Type:String[]
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultProfile

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

Type:IAzureContextContainer
Aliassen:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Enabled

Is regel ingeschakeld.

Type:Boolean
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Type

Type regel.

Type:String
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

Invoerwaarden

None

Uitvoerwaarden

PSAllowlistCustomAlertRule