Sdílet prostřednictvím


ArmNetworkModelFactory.FirewallPolicyRuleCollectionGroupData Method

Definition

Initializes a new instance of FirewallPolicyRuleCollectionGroupData.

public static Azure.ResourceManager.Network.FirewallPolicyRuleCollectionGroupData FirewallPolicyRuleCollectionGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string size = default, int? priority = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.FirewallPolicyRuleCollectionInfo> ruleCollections = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member FirewallPolicyRuleCollectionGroupData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * Nullable<int> * seq<Azure.ResourceManager.Network.Models.FirewallPolicyRuleCollectionInfo> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.FirewallPolicyRuleCollectionGroupData
Public Shared Function FirewallPolicyRuleCollectionGroupData (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 size As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional ruleCollections As IEnumerable(Of FirewallPolicyRuleCollectionInfo) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As FirewallPolicyRuleCollectionGroupData

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.

size
String

A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB).

priority
Nullable<Int32>

Priority of the Firewall Policy Rule Collection Group resource.

ruleCollections
IEnumerable<FirewallPolicyRuleCollectionInfo>

Group of Firewall Policy rule collections. Please note FirewallPolicyRuleCollectionInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include FirewallPolicyFilterRuleCollectionInfo and FirewallPolicyNatRuleCollectionInfo.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the firewall policy rule collection group resource.

Returns

A new FirewallPolicyRuleCollectionGroupData instance for mocking.

Applies to