Udostępnij za pośrednictwem


ArmNetworkModelFactory.AzureFirewallNetworkRuleCollectionData Method

Definition

Initializes a new instance of AzureFirewallNetworkRuleCollectionData.

public static Azure.ResourceManager.Network.Models.AzureFirewallNetworkRuleCollectionData AzureFirewallNetworkRuleCollectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, int? priority = default, Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? actionType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.AzureFirewallNetworkRule> rules = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member AzureFirewallNetworkRuleCollectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int> * Nullable<Azure.ResourceManager.Network.Models.AzureFirewallRCActionType> * seq<Azure.ResourceManager.Network.Models.AzureFirewallNetworkRule> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.AzureFirewallNetworkRuleCollectionData
Public Shared Function AzureFirewallNetworkRuleCollectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional actionType As Nullable(Of AzureFirewallRCActionType) = Nothing, Optional rules As IEnumerable(Of AzureFirewallNetworkRule) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As AzureFirewallNetworkRuleCollectionData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

priority
Nullable<Int32>

Priority of the network rule collection resource.

actionType
Nullable<AzureFirewallRCActionType>

The action type of a rule collection.

rules
IEnumerable<AzureFirewallNetworkRule>

Collection of rules used by a network rule collection.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the network rule collection resource.

Returns

A new AzureFirewallNetworkRuleCollectionData instance for mocking.

Applies to