VirtualMachineNetworkInterfaceIPConfiguration Constructors
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.
Overloads
VirtualMachineNetworkInterfaceIPConfiguration() |
Initializes a new instance of the VirtualMachineNetworkInterfaceIPConfiguration class. |
VirtualMachineNetworkInterfaceIPConfiguration(String, SubResource, Nullable<Boolean>, VirtualMachinePublicIPAddressConfiguration, String, IList<SubResource>, IList<SubResource>, IList<SubResource>) |
Initializes a new instance of the VirtualMachineNetworkInterfaceIPConfiguration class. |
VirtualMachineNetworkInterfaceIPConfiguration()
Initializes a new instance of the VirtualMachineNetworkInterfaceIPConfiguration class.
public VirtualMachineNetworkInterfaceIPConfiguration ();
Public Sub New ()
Applies to
VirtualMachineNetworkInterfaceIPConfiguration(String, SubResource, Nullable<Boolean>, VirtualMachinePublicIPAddressConfiguration, String, IList<SubResource>, IList<SubResource>, IList<SubResource>)
Initializes a new instance of the VirtualMachineNetworkInterfaceIPConfiguration class.
public VirtualMachineNetworkInterfaceIPConfiguration (string name, Microsoft.Azure.Management.Compute.Models.SubResource subnet = default, bool? primary = default, Microsoft.Azure.Management.Compute.Models.VirtualMachinePublicIPAddressConfiguration publicIPAddressConfiguration = default, string privateIPAddressVersion = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> applicationSecurityGroups = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> applicationGatewayBackendAddressPools = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> loadBalancerBackendAddressPools = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration : string * Microsoft.Azure.Management.Compute.Models.SubResource * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.VirtualMachinePublicIPAddressConfiguration * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.SubResource> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineNetworkInterfaceIPConfiguration
Public Sub New (name As String, Optional subnet As SubResource = Nothing, Optional primary As Nullable(Of Boolean) = Nothing, Optional publicIPAddressConfiguration As VirtualMachinePublicIPAddressConfiguration = Nothing, Optional privateIPAddressVersion As String = Nothing, Optional applicationSecurityGroups As IList(Of SubResource) = Nothing, Optional applicationGatewayBackendAddressPools As IList(Of SubResource) = Nothing, Optional loadBalancerBackendAddressPools As IList(Of SubResource) = Nothing)
Parameters
- name
- String
The IP configuration name.
- subnet
- SubResource
Specifies the identifier of the subnet.
Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- publicIPAddressConfiguration
- VirtualMachinePublicIPAddressConfiguration
The publicIPAddressConfiguration.
- privateIPAddressVersion
- String
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'. Possible values include: 'IPv4', 'IPv6'
- applicationSecurityGroups
- IList<SubResource>
Specifies an array of references to application security group.
- applicationGatewayBackendAddressPools
- IList<SubResource>
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.
- loadBalancerBackendAddressPools
- IList<SubResource>
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].
Applies to
Azure SDK for .NET