你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzSecurityAutomationRuleSetObject

创建安全自动化规则集对象

语法

New-AzSecurityAutomationRuleSetObject
   -Rule <PSSecurityAutomationTriggeringRule[]>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

说明

创建安全自动化规则集对象

示例

示例 1

New-AzSecurityAutomationRuleSetObject -Rule $rule

创建安全自动化规则集对象

参数

-DefaultProfile

用于与 Azure 通信的凭据、帐户、租户和订阅。

类型:IAzureContextContainer
别名:AzContext, AzureRmContext, AzureCredential
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

-Rule

在事件截获时评估的规则。 通过将事件模型中的特定值与预期值进行比较来配置规则。 使用此支持的运算符集之一来完成此比较

类型:PSSecurityAutomationTriggeringRule[]
Position:Named
默认值:None
必需:True
接受管道输入:False
接受通配符:False

输入

None

输出

PSSecurityAutomationRuleSet