ArmNetworkModelFactory.OutboundRuleData Method

Definition

Initializes a new instance of OutboundRuleData.

public static Azure.ResourceManager.Network.OutboundRuleData OutboundRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, int? allocatedOutboundPorts = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> frontendIPConfigurations = default, Azure.Core.ResourceIdentifier backendAddressPoolId = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.LoadBalancerOutboundRuleProtocol? protocol = default, bool? enableTcpReset = default, int? idleTimeoutInMinutes = default);
static member OutboundRuleData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.LoadBalancerOutboundRuleProtocol> * Nullable<bool> * Nullable<int> -> Azure.ResourceManager.Network.OutboundRuleData
Public Shared Function OutboundRuleData (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 allocatedOutboundPorts As Nullable(Of Integer) = Nothing, Optional frontendIPConfigurations As IEnumerable(Of WritableSubResource) = Nothing, Optional backendAddressPoolId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional protocol As Nullable(Of LoadBalancerOutboundRuleProtocol) = Nothing, Optional enableTcpReset As Nullable(Of Boolean) = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing) As OutboundRuleData

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.

allocatedOutboundPorts
Nullable<Int32>

The number of outbound ports to be used for NAT.

frontendIPConfigurations
IEnumerable<WritableSubResource>

The Frontend IP addresses of the load balancer.

backendAddressPoolId
ResourceIdentifier

A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the outbound rule resource.

protocol
Nullable<LoadBalancerOutboundRuleProtocol>

The protocol for the outbound rule in load balancer.

enableTcpReset
Nullable<Boolean>

Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

idleTimeoutInMinutes
Nullable<Int32>

The timeout for the TCP idle connection.

Returns

A new OutboundRuleData instance for mocking.

Applies to