ArmNetworkModelFactory.FirewallPolicyRuleCollectionGroupDraftData 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 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
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).
- 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
Azure SDK for .NET