Share via


ArmNetworkModelFactory.VirtualNetworkGatewayIPConfiguration Method

Definition

Initializes a new instance of VirtualNetworkGatewayIPConfiguration.

public static Azure.ResourceManager.Network.Models.VirtualNetworkGatewayIPConfiguration VirtualNetworkGatewayIPConfiguration (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod? privateIPAllocationMethod = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.Core.ResourceIdentifier publicIPAddressId = default, string privateIPAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member VirtualNetworkGatewayIPConfiguration : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.VirtualNetworkGatewayIPConfiguration
Public Shared Function VirtualNetworkGatewayIPConfiguration (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 privateIPAllocationMethod As Nullable(Of NetworkIPAllocationMethod) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional publicIPAddressId As ResourceIdentifier = Nothing, Optional privateIPAddress As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As VirtualNetworkGatewayIPConfiguration

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.

privateIPAllocationMethod
Nullable<NetworkIPAllocationMethod>

The private IP address allocation method.

subnetId
ResourceIdentifier

The reference to the subnet resource.

publicIPAddressId
ResourceIdentifier

The reference to the public IP resource.

privateIPAddress
String

Private IP Address for this gateway.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the virtual network gateway IP configuration resource.

Returns

A new VirtualNetworkGatewayIPConfiguration instance for mocking.

Applies to