Udostępnij za pośrednictwem


ArmNetworkModelFactory.FirewallPolicyRuleCollectionGroupDraftData Method

Definition

Initializes a new instance of FirewallPolicyRuleCollectionGroupDraftData.

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

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

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.

Returns

A new FirewallPolicyRuleCollectionGroupDraftData instance for mocking.

Applies to