다음을 통해 공유


New-AzDeviceSecurityGroupAllowlistCustomAlertRuleObject

디바이스 보안 그룹에 대한 새 허용 목록 사용자 지정 경고 규칙 만들기(IoT 보안)

Syntax

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

Description

New-AzDeviceSecurityGroupAllowlistCustomAlertRuleObject cmdlet은 IoT 보안 솔루션에서 디바이스 보안 그룹에 허용되는 사용자 지정 경고 규칙의 새 목록을 만듭니다.

예제

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

사용하지 않도록 설정된 상태 "LocalUserNotAllowed" 형식에서 새 허용 목록 사용자 지정 경고 rull 만들기

매개 변수

-AllowlistValue

목록 값을 허용합니다.

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

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

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

-Enabled

규칙을 사용할 수 있습니다.

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

-Type

규칙 유형.

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

입력

None

출력

PSAllowlistCustomAlertRule