ArmPaloAltoNetworksNgfwModelFactory.LocalRulestackRuleData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LocalRulestackRuleData.
public static Azure.ResourceManager.PaloAltoNetworks.Ngfw.LocalRulestackRuleData LocalRulestackRuleData(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 LocalRulestackRuleData : 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.LocalRulestackRuleData
Public Shared Function LocalRulestackRuleData (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 LocalRulestackRuleData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- ruleName
- String
rule name.
- description
- String
rule description.
- ruleState
- Nullable<RulestackStateType>
state of this rule.
- source
- SourceAddressInfo
source address.
- negateSource
- Nullable<FirewallBooleanType>
cidr should not be 'any'.
- destination
- DestinationAddressInfo
destination address.
- negateDestination
- Nullable<FirewallBooleanType>
cidr should not be 'any'.
- applications
- IEnumerable<String>
array of rule applications.
- category
- EdlMatchCategory
rule category.
- protocol
- String
any, application-default, TCP:number, UDP:number.
- protocolPortList
- IEnumerable<String>
prot port list.
- inboundInspectionCertificate
- String
inbound Inspection Certificate.
- auditComment
- String
rule comment.
- actionType
- Nullable<RulestackActionType>
rule action.
- enableLogging
- Nullable<RulestackStateType>
enable or disable logging.
- decryptionRuleType
- Nullable<DecryptionRuleType>
enable or disable decryption.
- tags
- IEnumerable<RulestackTagInfo>
tag for rule.
- provisioningState
- Nullable<FirewallProvisioningState>
Provisioning state of the resource.
Returns
A new LocalRulestackRuleData instance for mocking.
Applies to
Azure SDK for .NET