你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmPaloAltoNetworksNgfwModelFactory.PostRulestackRuleData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 PostRulestackRuleData 的新实例。
public static Azure.ResourceManager.PaloAltoNetworks.Ngfw.PostRulestackRuleData PostRulestackRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, string ruleName = default, int? priority = default, string description = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackStateType? ruleState = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.SourceAddressInfo source = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallBooleanType? negateSource = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.DestinationAddressInfo destination = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallBooleanType? negateDestination = default, System.Collections.Generic.IEnumerable<string> applications = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.EdlMatchCategory category = default, string protocol = default, System.Collections.Generic.IEnumerable<string> protocolPortList = default, string inboundInspectionCertificate = default, string auditComment = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackActionType? actionType = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackStateType? enableLogging = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.DecryptionRuleType? decryptionRuleType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackTagInfo> tags = default, Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallProvisioningState? provisioningState = default);
static member PostRulestackRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * Nullable<int> * string * Nullable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackStateType> * Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.SourceAddressInfo * Nullable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallBooleanType> * Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.DestinationAddressInfo * Nullable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallBooleanType> * seq<string> * Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.EdlMatchCategory * string * seq<string> * string * string * Nullable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackActionType> * Nullable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackStateType> * Nullable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.DecryptionRuleType> * seq<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.RulestackTagInfo> * Nullable<Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models.FirewallProvisioningState> -> Azure.ResourceManager.PaloAltoNetworks.Ngfw.PostRulestackRuleData
Public Shared Function PostRulestackRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional ruleName As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional description As String = Nothing, Optional ruleState As Nullable(Of RulestackStateType) = Nothing, Optional source As SourceAddressInfo = Nothing, Optional negateSource As Nullable(Of FirewallBooleanType) = Nothing, Optional destination As DestinationAddressInfo = Nothing, Optional negateDestination As Nullable(Of FirewallBooleanType) = Nothing, Optional applications As IEnumerable(Of String) = Nothing, Optional category As EdlMatchCategory = Nothing, Optional protocol As String = Nothing, Optional protocolPortList As IEnumerable(Of String) = Nothing, Optional inboundInspectionCertificate As String = Nothing, Optional auditComment As String = Nothing, Optional actionType As Nullable(Of RulestackActionType) = Nothing, Optional enableLogging As Nullable(Of RulestackStateType) = Nothing, Optional decryptionRuleType As Nullable(Of DecryptionRuleType) = Nothing, Optional tags As IEnumerable(Of RulestackTagInfo) = Nothing, Optional provisioningState As Nullable(Of FirewallProvisioningState) = Nothing) As PostRulestackRuleData
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- ruleName
- String
规则名称。
- description
- String
规则说明。
- ruleState
- Nullable<RulestackStateType>
此规则的状态。
- source
- SourceAddressInfo
源地址。
- negateSource
- Nullable<FirewallBooleanType>
cidr 不应为“any”。
- destination
- DestinationAddressInfo
目标地址。
- negateDestination
- Nullable<FirewallBooleanType>
cidr 不应为“any”。
- applications
- IEnumerable<String>
规则应用程序的数组。
- category
- EdlMatchCategory
规则类别。
- protocol
- String
any、application-default、TCP:number、UDP:number。
- protocolPortList
- IEnumerable<String>
prot 端口列表。
- inboundInspectionCertificate
- String
入站检查证书。
- auditComment
- String
规则注释。
- actionType
- Nullable<RulestackActionType>
规则操作。
- enableLogging
- Nullable<RulestackStateType>
启用或禁用日志记录。
- decryptionRuleType
- Nullable<DecryptionRuleType>
启用或禁用解密。
- tags
- IEnumerable<RulestackTagInfo>
规则的 标记。
- provisioningState
- Nullable<FirewallProvisioningState>
资源的预配状态。
返回
用于模拟的新 PostRulestackRuleData 实例。