Sdílet prostřednictvím


ArmNetworkModelFactory.AzureFirewallNatRuleCollectionData Method

Definition

Initializes a new instance of AzureFirewallNatRuleCollectionData.

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

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 NAT rule collection resource.

actionType
Nullable<AzureFirewallNatRCActionType>

The action type of a NAT rule collection.

rules
IEnumerable<AzureFirewallNatRule>

Collection of rules used by a NAT rule collection.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the NAT rule collection resource.

Returns

A new AzureFirewallNatRuleCollectionData instance for mocking.

Applies to