Share via


ArmNetworkModelFactory.PrivateLinkServiceIPConfiguration Method

Definition

Initializes a new instance of PrivateLinkServiceIPConfiguration.

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

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.

privateIPAddress
String

The private IP address of the IP configuration.

privateIPAllocationMethod
Nullable<NetworkIPAllocationMethod>

The private IP address allocation method.

subnet
SubnetData

The reference to the subnet resource.

primary
Nullable<Boolean>

Whether the ip configuration is primary or not.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the private link service IP configuration resource.

privateIPAddressVersion
Nullable<NetworkIPVersion>

Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.

Returns

A new PrivateLinkServiceIPConfiguration instance for mocking.

Applies to