ArmComputeModelFactory.VirtualMachineNetworkInterfaceIPConfiguration 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.
public static Azure.ResourceManager.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration VirtualMachineNetworkInterfaceIPConfiguration(string name = default, bool? primary = default, Azure.ResourceManager.Compute.Models.VirtualMachinePublicIPAddressConfiguration publicIPAddressConfiguration = default, Azure.ResourceManager.Compute.Models.IPVersion? privateIPAddressVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData> applicationSecurityGroupResources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData> applicationGatewayBackendAddressPoolResources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData> loadBalancerBackendAddressPoolResources = default, Azure.Core.ResourceIdentifier subnetId = default);
static member VirtualMachineNetworkInterfaceIPConfiguration : string * Nullable<bool> * Azure.ResourceManager.Compute.Models.VirtualMachinePublicIPAddressConfiguration * Nullable<Azure.ResourceManager.Compute.Models.IPVersion> * seq<Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData> * seq<Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData> * seq<Azure.ResourceManager.Compute.Models.ComputeWriteableSubResourceData> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration
Public Shared Function VirtualMachineNetworkInterfaceIPConfiguration (Optional name As String = Nothing, Optional primary As Nullable(Of Boolean) = Nothing, Optional publicIPAddressConfiguration As VirtualMachinePublicIPAddressConfiguration = Nothing, Optional privateIPAddressVersion As Nullable(Of IPVersion) = Nothing, Optional applicationSecurityGroupResources As IEnumerable(Of ComputeWriteableSubResourceData) = Nothing, Optional applicationGatewayBackendAddressPoolResources As IEnumerable(Of ComputeWriteableSubResourceData) = Nothing, Optional loadBalancerBackendAddressPoolResources As IEnumerable(Of ComputeWriteableSubResourceData) = Nothing, Optional subnetId As ResourceIdentifier = Nothing) As VirtualMachineNetworkInterfaceIPConfiguration
Parameters
- name
- String
The IP configuration name.
Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- publicIPAddressConfiguration
- VirtualMachinePublicIPAddressConfiguration
The publicIPAddressConfiguration.
Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- applicationSecurityGroupResources
- IEnumerable<ComputeWriteableSubResourceData>
Specifies an array of references to application security group.
- applicationGatewayBackendAddressPoolResources
- IEnumerable<ComputeWriteableSubResourceData>
Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.
- loadBalancerBackendAddressPoolResources
- IEnumerable<ComputeWriteableSubResourceData>
Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].
- subnetId
- ResourceIdentifier
Resource Id.
Returns
A new VirtualMachineNetworkInterfaceIPConfiguration instance for mocking.