Share via


New-AzDeviceSecurityGroupAllowlistCustomAlertRuleObject

Új engedélyezési lista egyéni riasztási szabályának létrehozása az eszközbiztonsági csoporthoz (IoT Security)

Syntax

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

Description

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

Példák

1. példa

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: []

Új engedélyezési lista egyéni riasztási rull létrehozása a "LocalUserNotAllowed" típusból, és az állapot le van tiltva

Paraméterek

-AllowlistValue

Listaértékek engedélyezése.

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

-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

-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

PSAllowlistCustomAlertRule