New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject
為裝置安全組建立新的閾值自訂警示規則 (IoT 安全性)
New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject
-MinThreshold <Int32>
-MaxThreshold <Int32>
-Enabled <Boolean>
-Type <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzDeviceSecurityGroupThresholdCustomAlertRuleObject Cmdlet 會為 IoT 安全性解決方案中的裝置安全組建立新的閾值自定義警示規則清單。
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
從類型 「SomeRuleType」 建立新的閾值自定義警示規則,並針對最小值和最大閾值啟用狀態的 ant 值
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
已啟用規則。
類型: | Boolean |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
最大臨界值。
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
最小臨界值。
類型: | Int32 |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
規則類型:
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
None