VirtualMachineNetworkInterfaceIPConfiguration Class

Describes a virtual machine network profile's IP configuration.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachineNetworkInterfaceIPConfiguration

Constructor

VirtualMachineNetworkInterfaceIPConfiguration(*, name: str, subnet: _models.SubResource | None = None, primary: bool | None = None, public_ip_address_configuration: _models.VirtualMachinePublicIPAddressConfiguration | None = None, private_ip_address_version: str | _models.IPVersions | None = None, application_security_groups: List[_models.SubResource] | None = None, application_gateway_backend_address_pools: List[_models.SubResource] | None = None, load_balancer_backend_address_pools: List[_models.SubResource] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The IP configuration name. Required.

subnet

Specifies the identifier of the subnet.

primary

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

public_ip_address_configuration

The publicIPAddressConfiguration.

private_ip_address_version

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'. Known values are: "IPv4" and "IPv6".

application_security_groups

Specifies an array of references to application security group.

application_gateway_backend_address_pools

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.

load_balancer_backend_address_pools

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].

Variables

Name Description
name
str

The IP configuration name. Required.

subnet

Specifies the identifier of the subnet.

primary

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

public_ip_address_configuration

The publicIPAddressConfiguration.

private_ip_address_version

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'. Known values are: "IPv4" and "IPv6".

application_security_groups

Specifies an array of references to application security group.

application_gateway_backend_address_pools

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.

load_balancer_backend_address_pools

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].